Move define-obsolete-variable-alias before the var's definition.
[emacs.git] / lisp / ChangeLog
blobc12bf63824334676f6f3a5f5558fef170c95e4f9
1 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3         Move define-obsolete-variable-alias before the var's definition.
4         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5         * tooltip.el (tooltip-hook):
6         * textmodes/reftex-toc.el (reftex-toc-map):
7         * textmodes/reftex-sel.el (reftex-select-label-map)
8         (reftex-select-bib-map):
9         * textmodes/reftex-index.el (reftex-index-map)
10         (reftex-index-phrases-map):
11         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12         * progmodes/meta-mode.el (meta-mode-map):
13         * novice.el (disabled-command-hook):
14         * loadhist.el (unload-hook-features-list):
15         * frame.el (blink-cursor):
16         * files.el (find-file-not-found-hooks, write-file-hooks)
17         (write-contents-hooks):
18         * emulation/tpu-edt.el (GOLD-map):
19         * emacs-lock.el (emacs-lock-from-exiting):
20         * emacs-lisp/generic.el (generic-font-lock-defaults):
21         * emacs-lisp/chart.el (chart-map):
22         * dos-fns.el (register-name-alist):
23         * dired-x.el (dired-omit-files-p):
24         * desktop.el (desktop-enable):
25         * cus-edit.el (custom-mode-hook):
26         * buff-menu.el (buffer-menu-mode-hook):
27         * bookmark.el (bookmark-read-annotation-text-func)
28         (bookmark-exit-hooks):
29         * allout.el (allout-mode-deactivate-hook)
30         (allout-exposure-change-hook, allout-structure-added-hook)
31         (allout-structure-deleted-hook, allout-structure-shifted-hook):
32         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
33         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
34         comes before the corresponding variable's definition.
36 2012-05-12  Chong Yidong  <cyd@gnu.org>
38         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
39         (Buffer-menu-mouse-select): Restore function (Bug#11459).
40         (Buffer-menu-mode-map): Bind it.
41         (Buffer-menu--pretty-name): Add a mouse-face property.
43 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
45         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
46         (prolog-upper-case-string, prolog-lower-case-string)
47         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
48         (prolog-use-smie, prolog-smie-grammar): New vars.
49         (prolog-smie-forward-token, prolog-smie-backward-token)
50         (prolog-smie-rules): New funs.
51         (prolog-comment-indent): Remove.
52         (prolog-mode-variables): Use default comment indentation instead.
53         Setup SMIE.
54         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
55         (prolog-mode): Don't call them any more.
56         (prolog-electric-colon, prolog-electric-dash)
57         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
59         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
61         * minibuffer.el (completion--twq-all): Again, allow case differences.
63         * term.el: Move keymap initialization code to be more idiomatic.
64         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
65         (term-terminal-menu): Move initialization into declaration.
66         (term-escape-char): Let the user set it in her .emacs.
68         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
69         Provide SMIE-based indentation (not enabled by default yet).
70         (sh-mode-map): Don't bind electric keys.
71         Use electric-pair-mode instead of skeleton-pair.
72         (sh-assignment-regexp): Fit within 80 columns.
73         (sh-indent-supported): Specify actual shell name instead of boolean.
74         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
75         (sh-maybe-here-document): Use it.  Make obsolete.
76         (sh-electric-here-document-mode) New minor mode.
77         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
78         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
79         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
80         (sh-smie-rc-grammar, sh-use-smie): New vars.
81         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
82         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
83         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
84         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
85         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
86         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
87         (sh-set-shell): Use smie-setup if requested.
89         * term.el (term-set-escape-char): Properly set term-escape-char.
90         See http://stackoverflow.com/questions/10524656.
92 2012-05-10  Chong Yidong  <cyd@gnu.org>
94         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
95         Use url-generic-parse-url, and handle host names and Windows
96         filenames properly.
97         (ffap-url-unwrap-remote): Use url-generic-parse-url.
98         (ffap-url-unwrap-remote): Accept list values, specifying a list of
99         URL schemes to work on.
100         (ffap--toggle-read-only): New function.
101         (ffap-read-only, ffap-read-only-other-window)
102         (ffap-read-only-other-frame): Use it.
103         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
104         necessary for ffap-url-unwrap-remote.
106 2012-05-10  Dave Abrahams  <dave@boostpro.com>
108         * cus-start.el (create-lockfiles): Add it.
110 2012-05-09  Chong Yidong  <cyd@gnu.org>
112         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
113         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
115 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
117         * shell.el (shell-completion-vars): Fix last change (bug#11348).
119 2012-05-09  Chong Yidong  <cyd@gnu.org>
121         * ansi-color.el (ansi-color-process-output): Check for validity of
122         comint-last-output-start before using it.  This avoids a bad
123         interaction with gdb-mi's input/output buffer.
125 2012-05-09  Glenn Morris  <rgm@gnu.org>
127         * files.el (dir-locals-read-from-file):
128         Mention dir-locals in any error message.
130 2012-05-09  Chong Yidong  <cyd@gnu.org>
132         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
133         package (Bug#11410).
135         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
136         variables into description.
138 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
140         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
141         shell-delimiter-argument-list (bug#11348).
142         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
144 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
146         * textmodes/rst.el: Silence byte-compiler warnings.
147         (rst-re-alist, rst-reset-section-caches): Move around.
148         (rst-re): Use `characterp', not `char-valid-p'.
149         (font-lock-beg, font-lock-end): Declare.
151         * progmodes/idlw-shell.el (specs): Remove reference to deleted
152         variable `idlwave-shell-activate-alt-keybindings' and simplify.
154         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
156 2012-05-08  Glenn Morris  <rgm@gnu.org>
158         * files.el (auto-mode-alist): Treat ".make" like ".mk".
160 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
162         * vc/log-edit.el: Add GNU coding standards highlighting.
163         (log-edit-font-lock-gnu-style)
164         (log-edit-font-lock-gnu-keywords): New vars.
165         (log-edit-font-lock-keywords): New fun.
166         (log-edit-mode): Don't fold case in font-lock.
167         (log-edit-font-lock-keywords): Do not assume case-folding.
169         * imenu.el: Misc cleanup.  Make docstrings out of comments.
170         Use lexical-binding.
171         (imenu--index-alist, imenu--last-menubar-index-alist)
172         (imenu-menubar-modified-tick): Use defvar-local.
173         (imenu--split-menu): Remove unused var.
174         (imenu--cleanup-seen): Declare as global.
175         (imenu--cleanup): Use dolist.
177         * subr.el (defvar-local): Add debug spec and doc-string position.
179 2012-05-08  Glenn Morris  <rgm@gnu.org>
181         * lisp/language/burmese.el, language/cham.el, language/czech.el:
182         * language/english.el, language/georgian.el, language/greek.el:
183         * language/japanese.el, language/khmer.el, language/korean.el:
184         * language/lao.el, language/misc-lang.el, language/romanian.el:
185         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
186         * language/thai.el, language/utf-8-lang.el:
187         Remove no-byte-compile setting.
189         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
191 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
193         * progmodes/make-mode.el (makefile-browse):
194         Remove unnecessary interactive.  (Bug#11324)
196 2012-05-07  Glenn Morris  <rgm@gnu.org>
198         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
200         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
202 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
204         * loadup.el: Preload newcomment.el.
205         * newcomment.el: Move autoload-only code to toplevel.
207         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
208         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
209         Handle new :right-align column property.
210         (tabulated-list-print-col): Idem, plus use `display' text-property to
211         try and preserve alignment for variable pitch fonts.
213 2012-05-07  Chong Yidong  <cyd@gnu.org>
215         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
216         (tabulated-list-use-header-line): New var.
217         (tabulated-list-init-header): Use it.
218         (tabulated-list-print-fake-header): New function.
219         (tabulated-list-print): Use it.
220         (tabulated-list-sort-button-map): Add non-header-line commands.
221         (tabulated-list-init-header): Add column name property to basic
222         labels as well.
223         (tabulated-list-col-sort): Handle non-header-line button case.
224         (tabulated-list--sort-by-column-name): Fix a corner case.
226         * buff-menu.el (list-buffers--refresh):
227         Handle Buffer-menu-use-header-line.
229 2012-05-06  Chong Yidong  <cyd@gnu.org>
231         * buff-menu.el: Convert to Tabulated List mode.
232         (Buffer-menu-buffer+size-width): Make obsolete.
233         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
234         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
235         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
236         documentation into docstring of buffer-menu.
237         (Buffer-menu-toggle-files-only): Add an informative message.
238         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
239         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
240         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
241         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
242         (Buffer-menu-execute, Buffer-menu-select)
243         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
244         (Buffer-menu-bury): Use Tabulated List machinery.
245         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
246         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
247         Delete.
248         (list-buffers--refresh): New function.
249         (list-buffers-noselect): Use it.
250         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
251         (Buffer-menu--pretty-file-name): New helper functions.
253         * loadup.el: Preload tabulated-list.
255         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
256         tabulated-list-sort-column.
257         (tabulated-list-init-header): Add the initial aligning space even
258         if tabulated-list-padding is zero.
260 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
262         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
263         whose cdr is not a cons cell correctly (bug#11038).
265 2012-05-06  Chong Yidong  <cyd@gnu.org>
267         * emacs-lisp/tabulated-list.el (tabulated-list-format):
268         Accept additional plist in column descriptors.
269         (tabulated-list-init-header): Obey it.
270         (tabulated-list-get-entry): New function.
271         (tabulated-list-put-tag): Use it.  Use string-width instead of
272         length.
273         (tabulated-list--column-number): New function.
274         (tabulated-list-print): Use it.
275         (tabulated-list-print-col): New function.
276         Set `tabulated-list-column-name' property on each column's text.
277         (tabulated-list-print-entry): Use it.
278         (tabulated-list-delete-entry, tabulated-list-set-col):
279         New functions.
280         (tabulated-list-sort-column): New command (Bug#11337).
282         * buff-menu.el (list-buffers): Move C-x C-b binding from
283         buff-menu.el to bindings.el.
285         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
286         :advertised-binding feature.
288 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
290         * progmodes/compile.el (compilation-internal-error-properties):
291         Calculate start position correctly when end-col is set but
292         end-line is not (Bug#11382).
294 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
296         * man.el (Man-unindent): Use text-property-default-nonsticky to
297         prevent untabify from inheriting face properties (Bug#11408).
299 2012-05-05  Glenn Morris  <rgm@gnu.org>
301         * calendar/cal-html.el: Optionally include holidays in the output.
302         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
303         (cal-html-holidays): New option.
304         (cal-html-css-default): Add holiday entry.
305         (holiday-in-range): Autoload it.
306         (cal-html-htmlify-entry): Add optional class argument.
307         (cal-html-htmlify-list): Add optional holidays argument.
308         (cal-html-insert-agenda-days): Include holidays in the output.
309         (cal-html-one-month): Maybe include holidays.
311         * calendar/holidays.el (holiday-in-range):
312         Move here from cal-tex-list-holidays.
313         * calendar/cal-tex.el (cal-tex-list-holidays):
314         Make it an obsolete alias for holiday-in-range.  Update all callers.
316 2012-05-05  Chong Yidong  <cyd@gnu.org>
318         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
319         Nextstep.
321 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
323         * files.el (file-auto-mode-skip): New var.
324         (set-auto-mode-1): Use it.
326 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
328         * repeat.el: Use lexical-binding.
329         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
330         (repeat-undo-count): Remove.
331         (repeat):
332         * progmodes/octave-mod.el (octave-abbrev-start):
333         * progmodes/f90.el (f90-abbrev-start):
334         * face-remap.el (text-scale-adjust):
335         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
337         * emacs-lisp/pcase.el (pcase--let*): New function.
338         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
339         a bit more.
340         (pcase--split-pred): Be more clever about ruling out overlap between
341         a predicate and some constant pattern.
342         (pcase--q1): Use `null' instead of (eq foo nil).
344         * subr.el (setq-local, defvar-local): New macros.
345         (kbd): Redefine as an alias.
346         (with-selected-window): Leave unrelated frames alone.
347         (set-temporary-overlay-map): New function.
349 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
351         * subr.el (user-error): New function.
352         * window.el (switch-to-buffer):
353         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
354         (smerge-match-conflict):
355         * simple.el (previous-matching-history-element)
356         (next-matching-history-element, goto-history-element, undo-more)
357         (undo-start):
358         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
359         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
360         (next-file, tags-loop-scan, list-tags, complete-tag):
361         * progmodes/compile.el (compilation-loop):
362         * mouse.el (mouse-minibuffer-check):
363         * man.el (Man-bgproc-sentinel, Man-goto-page):
364         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
365         (Info-history-forward, Info-follow-reference, Info-menu)
366         (Info-extract-menu-item, Info-extract-menu-counting)
367         (Info-forward-node, Info-backward-node, Info-next-menu-item)
368         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
369         (Info-next-reference, Info-prev-reference, Info-index)
370         (Info-index-next, Info-follow-nearest-node)
371         (Info-copy-current-node-name):
372         * imenu.el (imenu--make-index-alist)
373         (imenu-default-create-index-function, imenu-add-to-menubar):
374         * files.el (basic-save-buffer, recover-file):
375         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
376         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
377         (checkdoc-message-text, checkdoc-defun):
378         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
379         * cus-edit.el (customize-changed-options, customize-rogue)
380         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
381         (custom-variable-mark-to-reset-standard)
382         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
383         (custom-file):
384         * completion.el (check-completion-length):
385         * comint.el (comint-search-arg)
386         (comint-previous-matching-input-string-position)
387         (comint-previous-matching-input)
388         (comint-replace-by-expanded-history-before-point, comint-send-input)
389         (comint-copy-old-input, comint-backward-matching-input)
390         (comint-goto-process-mark, comint-set-process-mark):
391         * calendar/calendar.el (calendar-cursor-to-date): Use it.
392         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
394 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
396         * dabbrev.el (dabbrev--ignore-case-p): New function.
397         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
398         Use it.
400         * files.el (automount-dir-prefix): Mark as obsolete.
402 2012-05-04  Glenn Morris  <rgm@gnu.org>
404         * patcomp.el, play/bruce.el: Move to obsolete/.
406 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
408         Fix minor Y10k bugs.
409         * arc-mode.el (archive-unixdate):
410         * autoinsert.el (auto-insert-alist):
411         * calc/calc-forms.el (math-this-year):
412         * emacs-lisp/copyright.el (copyright-current-year)
413         (copyright-update-year, copyright):
414         * tar-mode.el (tar-clip-time-string):
415         * time.el (display-time-update):
416         Don't assume years have 4 digits.
418 2012-05-04  Chong Yidong  <cyd@gnu.org>
420         * dos-w32.el (file-name-buffer-file-type-alist)
421         (direct-print-region-use-command-dot-com):
422         * ffap.el (ffap-menu-regexp):
423         * find-file.el (ff-special-constructs):
424         * follow.el (follow-debug):
425         * forms.el (forms--debug):
426         * iswitchb.el (iswitchb-all-frames):
427         * ido.el (ido-all-frames):
428         * emacs-lisp/timer.el (timer-max-repeats):
429         * mail/feedmail.el (feedmail-mail-send-hook)
430         (feedmail-mail-send-hook-queued):
431         * mail/footnote.el (footnote-signature-separator):
432         * mail/mailabbrev.el (mail-alias-separator-string)
433         (mail-abbrev-mode-regexp):
434         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
435         * progmodes/idlwave.el (idlwave-libinfo-file)
436         (idlwave-default-completion-case-is-down)
437         (idlwave-library-routines): Convert defvars to defcustoms.
439         * mail/rmail.el (rmail-decode-mime-charset):
440         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
441         (idlwave-shell-fix-inserted-breaks)
442         (idlwave-shell-activate-alt-keybindings)
443         (idlwave-shell-use-breakpoint-glyph):
444         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
446 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
448         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
450 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
452         * progmodes/verilog-mode.el (font-lock-keywords):
453         Fix mis-highligting auto.  Reported by Craig Barner.
454         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
455         defines from global name space. Reported by Dan Dever.
456         (verilog-auto-reset, verilog-auto-reset-widths)
457         (verilog-auto-tieoff): Support using unbased numbers for
458         AUTORESET and AUTOTIEOFF.
459         (verilog-submit-bug-report): Update variable list.
460         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
461         parenthesis from not matching. Reported by Michael Rytting.
462         (verilog-auto-template-lint): Fix hash error when linting modules
463         with no used templates.
464         (verilog-warn, verilog-warn-error)
465         (verilog-warn-fatal): When non-interactive report multiple
466         warnings before exiting.  Suggested by Brad Dobbie.
467         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
468         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
469         to report unused template errors.  Reported by Brad Dobbie.
470         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
471         nets, bug438. Reported by Vns Blore.
472         (verilog-auto-inout-module, verilog-auto-reg)
473         (verilog-read-decls, verilog-read-sub-decls-sig)
474         (verilog-signals-edit-wire-reg, verilog-signals-with):
475         Fix passing of Verilog data types in ANSI input/output ports
476         such as "output logic" into the AUTOs. Special case "wire" and
477         "reg" for backwards compatibility presuming Verilog 2001.
478         (verilog-auto-ascii-enum): Add "auto enum" as alias.
479         (verilog-preprocess): Fix replication of preprocess output.
480         Reported by Brad Dobbie.
481         (verilog-auto-inst-interfaced-ports):
482         Create verilog-auto-inst-interfaced-ports, bug429.
483         Reported by Julian Gorfajn.
484         (verilog-after-save-font-hook)
485         (verilog-before-save-font-hook): New variable.
486         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
487         (verilog-save-font-mods): Wrap disabling fontification, reported
488         by David Rogoff.
489         (verilog-do-indent, verilog-pretty-declarations-auto)
490         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
491         Reported by Pierre-David Pfister.
492         (verilog-set-auto-endcomments): Fix endtask auto comments outside
493         of class declarations, bug292.  Reported by Kevin Heilman.
494         (verilog-read-decls): Fix 'parameter type' not appearing in
495         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
496         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
497         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
498         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
499         Reported by David Kravitz.
501 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
503         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
504         assignment with tests in ifs and for loops.
505         (verilog-extended-complete-re, verilog-complete-reg): Change so
506         that DPI inport functions don't look like fuction declarations.
507         (verilog-pretty-expr): Don't line up assignment
508         operations to the test and increment in if and for loops
509         (verilog-extended-complete-re, verilog-complete-reg): Change so
510         that DPI inport functions don't look like fuction declarations
512 2012-05-03  Kenichi Handa  <handa@m17n.org>
514         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
515         decoding, and show a warning message without signalling an error
516         (Bug#11282).
518 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
520         * emacs-lisp/bytecomp.el
521         (byte-compile-file-form-custom-declare-variable): Compile all elements,
522         since cconv.el might have introduced :fun-body, internal-make-closure,
523         and friends for bytecomp to handle (bug#11391).
524         * custom.el (defcustom): Avoid ((λ ..) ..).
526 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
528         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
530 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
532         * notifications.el (dbus-debug):
533         * term/linux.el (gpm-mouse-enable):
534         * term/screen.el (xterm-register-default-colors): Declare.
536 2012-05-02  Chong Yidong  <cyd@gnu.org>
538         * cus-start.el (gc-cons-percentage, exec-suffixes)
539         (dos-display-scancodes, dos-hyper-key, dos-super-key)
540         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
541         (make-cursor-line-fully-visible, void-text-area-pointer)
542         (font-list-limit): Add customization data.
544         * allout.el (allout-exposure-change-functions)
545         (allout-structure-added-functions)
546         (allout-structure-deleted-functions)
547         (allout-structure-shifted-functions): Rename abnormal hooks from
548         *-hook, and convert to defcustoms.
549         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
550         Convert to defcustoms.
551         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
553         * allout-widgets.el: Hook callers changed.
555 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
557         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
558         the yanked message in preference to the default value of
559         buffer-file-coding-system.
561 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
563         * window.el (display-buffer--action-function-custom-type):
564         Fix entry.
566 2012-05-02  Alan Mackenzie  <acm@muc.de>
568         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
570 2012-05-01  Glenn Morris  <rgm@gnu.org>
572         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
574         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
576         * cus-edit.el (custom-variable-documentation): Simplify with format.
578 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
579             Stefan Monnier  <monnier@iro.umontreal.ca>
581         * simple.el (suggest-key-bindings, execute-extended-command):
582         Move from keyboard.c.
584 2012-05-01  Chong Yidong  <cyd@gnu.org>
586         * follow.el: Eliminate advice.
587         (set-process-filter, process-filter, sit-for): Advice deleted.
588         (follow-mode-off-hook): Obsolete hook removed.
589         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
590         Vars deleted.
591         (follow-auto): Use a :set function.
592         (follow-mode): Rewritten.  Don't advise process filters.
593         (follow-switch-to-current-buffer-all, follow-scroll-up)
594         (follow-scroll-down): Assume follow-mode is bound.
595         (follow-comint-scroll-to-bottom)
596         (follow-align-compilation-windows): New functions.
597         (follow--window-sorter): New function.
598         (follow-all-followers): Use it to explicitly sort windows by their
599         positions; don't make assumptions about next-window order.
600         (follow-windows-start-end, follow-delete-other-windows-and-split)
601         (follow-calc-win-start): Doc fix.
602         (follow-windows-aligned-p, follow-select-if-visible): Don't call
603         vertical-motion unnecessarily.
604         (follow-adjust-window): New function.
605         (follow-post-command-hook): Use it.
606         (follow-call-set-process-filter, follow-call-process-filter)
607         (follow-intercept-process-output, follow-tidy-process-filter-alist)
608         (follow-stop-intercept-process-output, follow-generic-filter):
609         Functions deleted.
610         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
611         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
612         New functions, replacing advice on scroll-bar-* commands.
613         (follow-mwheel-scroll): New function (Bug#4112).
615         * comint.el (comint-adjust-point): New function.
616         (comint-postoutput-scroll-to-bottom): Use it.
617         Call follow-comint-scroll-to-bottom for Follow mode buffers.
619 2012-05-01  Glenn Morris  <rgm@gnu.org>
621         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
622         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
623         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
624         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
625         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
626         Remove no-byte-compile setting.
628 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
630         * minibuffer.el (completion-table-with-quoting): Fix compatibility
631         all-completions code to not return a number in the last cdr.
633 2012-04-30  Leo Liu  <sdl.web@gmail.com>
635         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
636         read-only error.
638 2012-04-29  Chong Yidong  <cyd@gnu.org>
640         * follow.el (follow-calc-win-end): Rewrite to handle partial
641         screen lines correctly (Bug#8390).
642         (follow-avoid-tail-recenter): Minor cleanup.
644 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
646         Avoid the obsolete `assoc' package.
647         * speedbar.el (speedbar-refresh): Avoid adelete.
648         (speedbar-file-lists): Simplify and avoid aput.
649         * man.el (Man--sections, Man--refpages): New vars, replacing
650         Man-sections-alist and Man-refpages-alist.
651         (Man-build-section-alist, Man-build-references-alist):
652         Use them; avoid aput.
653         (Man--last-section, Man--last-refpage): New vars.
654         (Man-follow-manual-reference): Use them.
655         Use the `default' arg of completing-read.
656         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
658 2012-04-27  Chong Yidong  <cyd@gnu.org>
660         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
662         * startup.el (x-apply-session-resources): New function.
664         * term/ns-win.el (ns-initialize-window-system):
665         * term/w32-win.el (w32-initialize-window-system):
666         * term/x-win.el (x-initialize-window-system): Use it to properly
667         set menu-bar-mode and other vars from X resources, even if the
668         initial frame is not a window-system frame (Bug#2299).
670         * subr.el (read-key): Avoid running filter function when setting
671         up temporary tool bar entries (Bug#9922).
673 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
675         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
676         (Bug#11344)
678 2012-04-27  Chong Yidong  <cyd@gnu.org>
680         * select.el (xselect--encode-string): New function, split from
681         xselect-convert-to-string.
682         (xselect-convert-to-string): Use it.
683         (xselect-convert-to-filename, xselect-convert-to-os)
684         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
685         returned strings are properly encoded (Bug#11315).
687 2012-04-27  Chong Yidong  <cyd@gnu.org>
689         * simple.el (delete-active-region): Move to killing custom group.
691 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
693         * progmodes/which-func.el (which-func-current): Quote %
694         characters for mode-line processing.
696 2012-04-27  Chong Yidong  <cyd@gnu.org>
698         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
699         reaching eob (Bug#11286).
701 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
703         * progmodes/gdb-mi.el (gdb-control-level): New variable.
704         (gdb): Make it buffer-local and init to zero.
705         (gdb-control-commands-regexp): New variable.
706         (gdb-send): Don't wrap in "-interpreter-exec console" if
707         gdb-control-level is positive.  Increment gdb-control-level
708         whenever the command matches gdb-control-commands-regexp, and
709         decrement it each time the command is "end".  (Bug#11279)
711 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
713         * window.el (adjust-window-trailing-edge, enlarge-window)
714         (shrink-window, window-resize):
715         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
716         windows (Bug#11276).
718 2012-04-27  Chong Yidong  <cyd@gnu.org>
720         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
721         fix "missing prefix" warning.  All callers changed.
723 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
725         * emacs-lisp/assoc.el: Move to obsolete/.
727 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
729         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
731         * term/ns-win.el (ns-define-service):
732         * progmodes/pascal.el (pascal-goto-defun):
733         * progmodes/js.el (js--read-tab):
734         * progmodes/etags.el (tags-lazy-completion-table):
735         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
736         * emacs-lisp/ewoc.el (ewoc--wrap):
737         * emacs-lisp/assoc.el (aput, adelete, amake):
738         * doc-view.el (doc-view-convert-current-doc):
739         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
741 2012-04-26  Chong Yidong  <cyd@gnu.org>
743         * image.el (image-type-from-buffer): Only return supported image
744         type (Bug#9045).
746         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
747         value, for symmetry with diff-end-of-hunk.
748         (diff-split-hunk, diff-find-source-location)
749         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
750         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
751         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
752         compute the relevant hunk or file properly (Bug#6005).
753         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
755 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
757         * vc/vc-mtn.el:
758         * vc/vc-hg.el:
759         * vc/vc-git.el:
760         * vc/vc-dir.el:
761         * vc/vc-cvs.el:
762         * vc/vc-bzr.el:
763         * vc/vc-arch.el:
764         * vc/vc.el: Replace lexical-let by lexical-binding.
765         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
766         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
767         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
769 2012-04-26  Chong Yidong  <cyd@gnu.org>
771         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
772         (diff-mode-shared-map): Bind it to / and [remap undo].
774         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
775         (ediff-window-setup-function): Use it as the default, to set up
776         windows based on whether the current frame is graphical (Bug#2138).
777         (ediff-choose-window-setup-function-automatically): Make obsolete.
779         * vc/ediff-init.el: Always define ediff-pixel-width/height.
781 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
783         * ffap.el: Remove old code for obsolete package.
784         (ffap-complete-as-file-p): Remove.
786         Use completion-table-with-quoting for comint and pcomplete.
787         * comint.el (comint--unquote&requote-argument)
788         (comint--unquote-argument, comint--requote-argument): New functions.
789         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
790         (comint-quote-filename): Use regexp-opt-charset.
791         (comint--common-suffix, comint--common-quoted-suffix)
792         (comint--table-subvert): Remove.
793         (comint-unquote-function, comint-requote-function): New vars.
794         (comint--complete-file-name-data): Use them with
795         completion-table-with-quoting.
796         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
797         * pcomplete.el (pcomplete-arg-quote-list)
798         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
799         (pcomplete-unquote-argument-function): Default to non-nil.
800         (pcomplete-unquote-argument): Simplify.
801         (pcomplete--common-quoted-suffix): Remove.
802         (pcomplete-requote-argument-function): New var.
803         (pcomplete--common-suffix): New function.
804         (pcomplete-completions-at-point): Use completion-table-with-quoting
805         and completion-table-subvert.
807         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
808         (minibuffer--double-dollars): Preserve properties.
809         (completion--sifn-requote): New function.
810         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
812         * minibuffer.el: Add support for completion of quoted/escaped data.
813         (completion-table-with-quoting, completion-table-subvert): New funs.
814         (completion--twq-try, completion--twq-all): New functions.
815         (completion--nth-completion): New function.
816         (completion-try-completion, completion-all-completions): Use it.
818 2012-04-25  Leo Liu  <sdl.web@gmail.com>
820         * progmodes/python.el (python-pdbtrack-get-source-buffer):
821         Use compilation-message if available to find real filename.
823 2012-04-25  Chong Yidong  <cyd@gnu.org>
825         * vc/diff-mode.el (diff-setup-whitespace): New function.
826         (diff-mode): Use it.
828         * vc/diff.el (diff-sentinel):
829         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
830         Whitespace mode variables based on diff style (Bug#8612).
832 2012-04-25  Leo Liu  <sdl.web@gmail.com>
834         * progmodes/python.el (python-send-region): Add suffix .py to the
835         temp file.
837         * files.el (auto-mode-alist): Use javascript-mode instead.
839 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
841         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
843         * soap-client.el (soap-resolve-references-for-sequence-type)
844         (soap-resolve-references-for-array-type): Hack to prevent self
845         references, see Bug#9.
846         (soap-parse-envelope): Report the contents of the 'detail' node
847         when receiving a fault reply.
848         (soap-parse-envelope): Report the contents of the entire 'detail' node.
850         * soap-inspect.el (soap-sample-value-for-simple-type)
851         (soap-inspect-simple-type): New function.
853         * soap-client.el (soap-simple-type): New struct.
854         (soap-default-xsd-types, soap-default-soapenc-types)
855         (soap-decode-basic-type, soap-encode-basic-type):
856         support unsignedInt and double basic types.
857         (soap-resolve-references-for-simple-type)
858         (soap-parse-simple-type, soap-encode-simple-type): New function.
859         (soap-parse-schema): Parse xsd:simpleType declarations.
861         * soap-client.el (soap-default-xsd-types)
862         (soap-default-soapenc-types): Add integer, byte and anyURI types.
863         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
864         the local name of "soapenc:Array".
865         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
866         decoding integer, byte and anyURI xsd types.
868 2012-04-25  Chong Yidong  <cyd@gnu.org>
870         * cus-edit.el (custom-buffer-create-internal): Update header text.
872 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
874         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
875         settings on 'system-type', not on 'window-system'.  On MS-Windows,
876         set interactive-mode on in GDB.
878 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
880         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
881         (ruby-syntax-propertize-regexp): Remove.
882         (ruby-syntax-propertize-function): Split regexp into chunks.
883         Match following code directly.
885 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
887         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
888         (ruby-syntax-propertize-regexp): New function.
889         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
890         by a special keyword.
892         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
893         (ruby-syntax-general-delimiters-goto-beg)
894         (ruby-syntax-propertize-general-delimiters): New functions.
895         (ruby-syntax-propertize-function): Use them to handle GDL.
896         (ruby-font-lock-keywords): Move old handling of GDL...
897         (ruby-font-lock-syntactic-keywords): .. to here.
898         (ruby-calculate-indent): Adjust indentation for GDL.
900 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
902         * notifications.el (top): Remove unneeded declarations.
903         (notifications-specification-version): Change to "1.2".
904         (notifications-interface, notifications-notify-method)
905         (notifications-close-notification-method): Fix docstring.
906         (notifications-get-capabilities-method): New defconst.
907         (notifications-notify): Add :action-items, :resident and
908         :transient hints.  Change "image_data" to "image-data" and
909         "image_path" to "image-path".
910         (notifications-get-capabilities): New defun.
912 2012-04-24  Leo Liu  <sdl.web@gmail.com>
914         * progmodes/python.el: Move hideshow setup to the end.
916 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
918         * window.el (handle-select-window): Clear echo area since this is
919         no more done by read_char (Bug#11304).
921 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
923         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
924         and `/ M' to filter-derived-mode.
925         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
926         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
927         (ibuffer-mark-by-mode): Use default rather than initial-input.
928         (ibuffer-filter-by-derived-mode): Autoload and require-match.
930 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
932         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
933         (ibuffer-filter-by-derived-mode): New filter.
934         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
936 2012-04-23  Andreas Politz  <politza@fh-trier.de>
938         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
940 2012-04-23  Chong Yidong  <cyd@gnu.org>
942         * cus-edit.el (customize-apropos, customize-apropos-options):
943         Disable matching of non-option variables (Bug#11176).
944         (customize-option, customize-option-other-window)
945         (customize-changed-options): Doc fix.
946         (customize-apropos-options, customize-apropos-faces)
947         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
949         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
950         Fix word list splitting (Bug#11132).
951         (apropos-symbol, apropos-keybinding, apropos-label)
952         (apropos-property, apropos-function-button)
953         (apropos-variable-button, apropos-misc-button): New faces.
954         (apropos-symbol-face, apropos-keybinding-face)
955         (apropos-label-face, apropos-property-face, apropos-match-face):
956         Variables removed (Bug#8396).
957         (apropos-library-button, apropos-format-plist, apropos-print)
958         (apropos-print-doc, apropos-describe-plist): Callers changed.
960 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
962         * net/xesam.el (xesam-mode-map): Use let-bound map in
963         initialization.  (Bug#11292)
965 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
967         Preserve ispell session localwords when switching back to
968         original buffer.
970         * ispell.el (ispell-buffer-session-localwords): New buffer-local
971         variable to hold buffer session localwords.
972         (ispell-kill-ispell): add option 'clear to delete session
973         localwords.
974         (ispell-command-loop, ispell-change-dictionary)
975         (ispell-buffer-local-words): Preserve session localwords when
976         needed.
978         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
979         Preserve session localwords when needed.
981 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
983         * ispell.el (ispell-insert-word) Remove unneeded function using
984         obsolete `translation-table-for-input'.
985         (ispell-word, ispell-process-line, ispell-complete-word):
986         Use plain `insert' instead of removed `ispell-insert-word'.
988 2012-04-22  Chong Yidong  <cyd@gnu.org>
990         * cus-edit.el (custom-variable-menu)
991         (custom-variable-reset-saved, custom-face-menu)
992         (custom-face-reset-saved): If there is no saved value, make the
993         "reset-saved" operation bring back the default (Bug#9509).
994         (custom-face-state): Properly detect themed faces.
996         * faces.el (face-spec-set): Stop supporting deprecated form of
997         third arg.
999 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
1001         Move functions from C to Lisp.  Make non-blocking method calls
1002         the default.  Implement further D-Bus standard interfaces.
1004         * net/dbus.el (dbus-message-internal): Declare function.
1005         Remove unneeded function declarations.
1006         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1007         (dbus-message-type-method-return, dbus-message-type-error)
1008         (dbus-message-type-signal): Declare variables.  Remove local
1009         definitions.
1010         (dbus-interface-dbus, dbus-interface-peer)
1011         (dbus-interface-introspectable, dbus-interface-properties)
1012         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1013         Adapt docstring.
1014         (dbus-interface-objectmanager): New defconst.
1015         (dbus-call-method, dbus-call-method-asynchronously)
1016         (dbus-send-signal, dbus-method-return-internal)
1017         (dbus-method-error-internal, dbus-register-service)
1018         (dbus-register-signal, dbus-register-method): New defuns, moved
1019         from dbusbind.c
1020         (dbus-call-method-handler, dbus-setenv)
1021         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1022         New defuns.
1023         (dbus-call-method-non-blocking): Make it an obsolete function.
1024         (dbus-unregister-object, dbus-unregister-service)
1025         (dbus-handle-event, dbus-register-property)
1026         (dbus-property-handler): Obey the new structure of
1027         `bus-registered-objects'.
1028         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
1029         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1030         Use `dbus-call-method'.
1032 2012-04-22  Chong Yidong  <cyd@gnu.org>
1034         * cus-edit.el (custom-commands, custom-reset-menu)
1035         (Custom-reset-standard): Tweak labels.
1036         (custom-reset-button-menu): Change default to t.
1037         (custom-buffer-create-internal): For the custom-reset-button-menu
1038         case, put the revert button first.
1039         (custom-group-subtitle): New face.
1040         (custom-group-value-create): Align docstring to a specific column.
1042         * wid-edit.el (widget-documentation-link-add): Don't handle
1043         indentation in this function.
1044         (widget-documentation-string-indent-to): New function.
1045         (widget-documentation-string-value-create): Use it.
1047         * autorevert.el (auto-revert):
1048         * epg-config.el (epg):
1049         * ibuffer.el (ibuffer):
1050         * mpc.el (mpc):
1051         * ses.el (ses):
1052         * eshell/eshell.el (eshell):
1053         * net/ange-ftp.el (ange-ftp):
1054         * progmodes/ebnf2ps.el (postscript):
1055         * progmodes/flymake.el (flymake):
1056         * progmodes/prolog.el (prolog):
1057         * progmodes/verilog-mode.el (verilog-mode):
1058         * progmodes/which-func.el (which-func):
1059         * term/xterm.el (xterm):
1060         * textmodes/picture.el (picture):
1061         * textmodes/tildify.el (tildify):
1062         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1063         customization buffers.
1065 2012-04-22  Alan Mackenzie  <acm@muc.de>
1067         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1068         Adding a ) can hide the resulting (..) from searches.  Fix it.
1069         Bound the backward search to the position of the existing (.
1071 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
1073         * progmodes/verilog-mode.el (verilog-mode): Check whether
1074         which-func-modes is t before adding verilog-mode.
1075         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1077 2012-04-21  Leo Liu  <sdl.web@gmail.com>
1079         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1081 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
1083         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1084         filling of the last column of a table (Bug#5635).
1085         (woman-find-next-control-line): New arg, specifying an additional
1086         regexp component for the control line.
1087         (woman2-roff-buffer): Use it.
1088         (woman-break-table): New function.
1089         (woman2-TS): Use it.
1091 2012-04-21  Chong Yidong  <cyd@gnu.org>
1093         * woman.el (woman-set-buffer-display-table, woman-decode-region)
1094         (woman-horizontal-escapes, woman-negative-vertical-space)
1095         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1096         (WoMan-warn-ignored): Use ?\s instead of ?\ .
1098 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1100         * minibuffer.el (completion-file-name-table): Complete user names.
1102 2012-04-20  Leo Liu  <sdl.web@gmail.com>
1104         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1105         and pcase-let*.
1107 2012-04-20  Chong Yidong  <cyd@gnu.org>
1109         * server.el (server-execute): Respect initial-buffer-choice if it
1110         is a string and there are no files to open (Bug#2825).
1111         (server-create-window-system-frame, server-create-tty-frame):
1112         Don't switch buffers here.
1113         (server-process-filter): Only try to open a window system frame if
1114         compiled with graphical support (Bug#8314).
1116 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
1118         * battery.el (battery-echo-area-format): Display remaining time
1119         for sysfs backend too (Bug#11269).
1120         (battery-linux-sysfs): Fix conditional for the charge.
1122 2012-04-20  Chong Yidong  <cyd@gnu.org>
1124         * progmodes/gdb-mi.el (gdb): Revert previous change.
1125         (gdb-inferior-io--init-proc): New function.
1126         (gdb-init-1): Use it.
1127         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1128         responsible for allocating a new pty and hooking it to gdb when
1129         the old pty gets an EIO due to process exit.
1130         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
1131         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1132         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1134 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
1136         * window.el (window-min-size, window-sizable, window-min-delta)
1137         (window-max-delta, window--resizable, window-resizable)
1138         (window-total-size, window-full-height-p, window-full-width-p)
1139         (window-in-direction, window--resize-mini-window, window-resize)
1140         (window--resize-child-windows-normal)
1141         (window--resize-child-windows, window--resize-siblings)
1142         (window--resize-this-window, adjust-window-trailing-edge)
1143         (enlarge-window, shrink-window): Doc fixes.
1145 2012-04-20  Chong Yidong  <cyd@gnu.org>
1147         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1148         New function to call delete-process on the gdb-inferior buffer's pty.
1149         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1150         pty process (Bug#11273).
1151         (gdb-update): New arg to suppress talking to the gdb process.
1152         (gdb-done-or-error): Use it.
1153         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1154         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1155         sentinel not being called.
1157         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1159         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1161 2012-04-20  Glenn Morris  <rgm@gnu.org>
1163         * net/network-stream.el (open-network-stream): Doc fix.
1165 2012-04-20  Chong Yidong  <cyd@gnu.org>
1167         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1169 2012-04-20  Alan Mackenzie  <acm@muc.de>
1171         Ensure searching for keywords is case sensitive.
1173         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1174         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1175         (c-defun-name, c-mark-function, c-cpp-define-name)
1176         (c-comment-indent, c-scan-conditionals, c-indent-defun)
1177         (c-context-line-break): Bind case-fold-search to nil.
1179         * progmodes/cc-mode.el (c-font-lock-fontify-region):
1180         Bind case-fold-search to nil.
1182 2012-04-20  Chong Yidong  <cyd@gnu.org>
1184         * mail/sendmail.el (mail-bury): Call return action with the right
1185         Rmail buffer (Bug#11242).
1187         * server.el (server-process-filter): Handle corner case where both
1188         tty and nowait options are present (Bug#11102).
1190 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
1192         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1193         (top level): Put into the executable the ident-style '$Id:' tag on
1194         windows-nt as well.
1196 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1198         * electric.el (electric-indent-post-self-insert-function): Check that
1199         electric-indent-mode is enabled in current buffer.
1201 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
1203         * imenu.el (imenu-progress-message): Restore; it is "used" in
1204         erc/erc-imenu.el and net/snmp-mode.el.
1206 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
1208         * avoid.el (mouse-avoidance-mode): Mark unused arg.
1209         (mouse-avoidance-nudge-mouse): Remove unused binding.
1211         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1213         * descr-text.el (describe-char):
1214         * progmodes/python.el (python-describe-symbol):
1215         Don't call `toggle-read-only', set `buffer-read-only'.
1217         * imenu.el (imenu-default-goto-function): Mark unused args.
1218         (imenu-progress-message): Remove obsolete macro; all callers changed.
1220         * subr.el (keymap-canonicalize): Remove unused binding.
1221         (read-passwd): Mark unused arg.
1223         * tutorial.el (tutorial--display-changes): Remove unused binding.
1224         (tutorial--save-tutorial-to): Remove unused variable.
1226         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1227         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1228         (package-generate-autoloads, package-menu--generate)
1229         (package-menu--find-upgrades): Remove unused bindings.
1231         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1232         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
1233         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1234         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1235         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1236         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1237         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1238         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1239         (cua-delete-char-rectangle): Mark unused args.
1240         (cua-align-rectangle): Remove unused binding.
1242         * mail/rmail.el (compilation--message->loc)
1243         (epa--find-coding-system-for-mime-charset): Declare.
1245         * net/dbus.el (dbus-register-service): Declare.
1246         (dbus-name-owner-changed-handler): Remove unused binding.
1248         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1249         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1250         (nxml-scan-backward-within): Mark unused arg.
1251         (nxml-dynamic-markup-word): Remove unused binding.
1253         * mouse.el (mouse-menu-major-mode-map):
1254         * emacs-lisp/authors.el (authors-scan-change-log)
1255         (authors-add-to-author-list):
1256         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1257         * emacs-lisp/smie.el (smie-auto-fill):
1258         * mail/sendmail.el (mail-bury):
1259         * mail/unrmail.el (unrmail):
1260         * net/tls.el (open-tls-stream):
1261         * textmodes/picture.el (picture-mouse-set-point):
1262         Remove unused bindings.
1264 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
1266         * net/tramp.el (tramp-action-password): Let-bind
1267         `enable-recursive-minibuffers' to t.
1269 2012-04-18  Sam Steingold  <sds@gnu.org>
1271         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1272         instead of 'string to accommodate values like [f11].
1273         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1274         * progmodes/gdb-mi.el: Likewise.
1276 2012-04-18  Leo Liu  <sdl.web@gmail.com>
1278         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1279         current buffer.
1280         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1281         LOCAL is nil.
1283 2012-04-18  Chong Yidong  <cyd@gnu.org>
1285         * simple.el (line-move): Use forward-line if in batch mode
1286         (Bug#11053).
1288 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
1290         * files.el (after-find-file): Do not try to add a final newline if
1291         the buffer is read-only (Bug#11156).
1293 2012-04-17  Richard Stallman  <rms@gnu.org>
1295         * mail/rmail.el (rmail-start-mail):
1296         Pass (rmail-mail-return...) for the return-action.
1297         Pass (rmail-yank-current-message...) for the yank-action.
1298         (rmail-yank-current-message): New function.
1299         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1300         (rmail-reply): Likewise.
1301         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1303         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1304         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
1305         buffer, not newbuf.
1307 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
1309         * server.el (server-ensure-safe-dir): Simplify.
1311 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1313         * emacs-lisp/smie.el: Provide smarter auto-filling.
1314         (smie-auto-fill): New function.
1315         (smie-setup): Use it.
1317         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1319 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
1321         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1322         (comment-indent): Use it.
1324 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1326         * ses.el: The overall change is to add cell renaming, that is
1327         setting fancy names for cell symbols other than name matching
1328         "\\`[A-Z]+[0-9]+\\'" regexp .
1329         (ses-localvars): Add ses--renamed-cell-symb-list.
1330         (ses-create-cell-variable): New defun.
1331         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1332         (ses-relocate-formula): Relocate formulas only for cells the
1333         symbols of which are not renamed, i.e. symbols whose names do not
1334         match regexp "\\`[A-Z]+[0-9]+\\'".
1335         (ses-relocate-all): Relocate values only for cells the symbols of
1336         which are not renamed.
1337         (ses-load): Create cells variables as the (ses-cell ...) are read,
1338         in order to check row col consistency with cell symbol name only
1339         for cells that are not renamed.
1340         (ses-replace-name-in-formula): New defun.
1341         (ses-rename-cell): New defun.
1343 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
1345         * progmodes/perl-mode.el (perl-indent-parens-as-block):
1346         New option (bug#11118).
1347         (perl-calculate-indent): Respect it.
1349 2012-04-17  Glenn Morris  <rgm@gnu.org>
1351         * dired-aux.el (dired-mark-read-string): Doc fix.
1353 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
1355         * dired-aux.el (dired-mark-read-string): Offer optional completion.
1356         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
1358 2012-04-17  Glenn Morris  <rgm@gnu.org>
1360         * mouse.el (mouse-drag-track):
1361         * speedbar.el (speedbar-frame-mode):
1362         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1364 2012-04-16  Leo Liu  <sdl.web@gmail.com>
1366         * progmodes/python.el: Trivial cleanup.
1368 2012-04-16  Glenn Morris  <rgm@gnu.org>
1370         * vc/vc.el (vc-string-prefix-p):
1371         * vc/pcvs-util.el (cvs-string-prefix-p):
1372         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1373         * mpc.el (mpc-string-prefix-p):
1374         Make all of these into obsolete aliases for string-prefix-p.
1375         Update callers.
1376         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1378         * textmodes/two-column.el: Move custom options to the start.
1379         (frame-width): Remove compat definition.
1380         (2C-associate-buffer, 2C-dissociate):
1381         Use with-current-buffer rather than save-excursion.
1382         (2C-dissociate): Force a mode-line update.
1383         (2C-autoscroll): Use ignore-errors.
1385         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1386         Autoload trivia.
1388         * emacs-lisp/cl-extra.el (*random-state*):
1389         Remove unnecessary declaration.
1391         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1393         * play/cookie1.el (cookie-snarf):
1394         Give an explicit error if input file cannot be read.
1396         * play/yow.el (yow-file): Use expand-file-name rather than concat.
1398         * progmodes/perl-mode.el (c-macro-expand):
1399         Remove unnecessary autoload (it is in loaddefs.el).
1401         * textmodes/picture.el (picture-desired-column)
1402         (picture-update-desired-column): Convert comments to doc-strings.
1403         (picture-substitute): Remove function.
1404         (picture-mode-map): Initialize in the defvar.
1406         * woman.el: Remove eval-after-load for tar-mode.
1407         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1408         (woman-tar-extract-file): Autoload it.
1410         * frame.el (automatic-hscrolling): Make this alias obsolete.
1412 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1414         * ispell.el (ispell-set-spellchecker-params): Post-process
1415         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1416         (ispell-dictionary-base-alist): Revert to original XEmacs
1417         friendly version for default.  [:alpha:] will be added in
1418         `ispell-set-spellchecker-params' if needed
1420 2012-04-16  Chong Yidong  <cyd@gnu.org>
1422         * image.el (imagemagick--extension-regexp): New variable.
1423         (imagemagick-register-types): Use it.
1424         (imagemagick-types-inhibit): Add :set function.  Allow new value
1425         of t to inhibit all types.
1427         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1428         so we can preload it.
1430         * loadup.el (fboundp): Preload regexp-opt, needed by
1431         imagemagick-register-types.
1433 2012-04-15  Chong Yidong  <cyd@gnu.org>
1435         * frame.el (scrolling): Remove nearly unused customization group.
1437         * scroll-all.el (scroll-all-mode): Move to windows group.
1439 2012-04-15  Chong Yidong  <cyd@gnu.org>
1441         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1443 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1445         Avoid the use of ((lambda ...) ...) in lexical-binding code.
1446         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1448 2012-04-15  Glenn Morris  <rgm@gnu.org>
1450         * simple.el (process-file-side-effects): Doc fix.
1452 2012-04-15  Glenn Morris  <rgm@gnu.org>
1454         * international/mule-cmds.el (set-language-environment): Doc fix.
1456 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
1458         * server.el (server-auth-key, server-generate-key): Doc fixes.
1459         (server-get-auth-key): Doc fix.  Use `string-match-p'.
1460         (server-start): Reflow docstring.
1462 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
1464         * server.el (server-generate-key): `called-interactively-p'
1465         requires a parameter.
1467 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
1469         * server.el (server-auth-key): New variable.
1470         (server-generate-key, server-get-auth-key): New function.
1471         (server-start): Use the new variable and functions to allow
1472         setting a permanent server key (bug#9423).
1474 2012-04-14  Leo Liu  <sdl.web@gmail.com>
1476         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1478 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
1480         Spelling fixes.
1481         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1482         Emacs uses American spelling.
1484 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
1486         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1487         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
1488         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1489         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
1491 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1493         * progmodes/which-func.el (which-func-modes): Change default.
1495 2012-04-14  Kim F. Storm  <storm@cua.dk>
1497         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1498         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1500 2012-04-14  Chong Yidong  <cyd@gnu.org>
1502         * custom.el (custom-theme-set-variables): Doc fix.
1504 2012-04-14  Glenn Morris  <rgm@gnu.org>
1506         * international/mule.el (set-auto-coding-for-load): Doc fix.
1508 2012-04-14  Alan Mackenzie  <acm@muc.de>
1510         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1511         imenu work again for Objective C Mode.  Correct the *-index values,
1512         these having been disturbed by a previous change in 2011-08.
1514         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1515         Correct two search limits.
1517 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1519         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1521 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
1523         * international/characters.el: Fix sorting.
1525 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1527         * international/characters.el: Add more missing Latin case pairs.
1529 2012-04-14  Glenn Morris  <rgm@gnu.org>
1531         * files.el (dir-locals-set-class-variables): Doc fix.
1533 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1535         * international/characters.el: Add set-case-syntax-pair call for
1536         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1537         counterpart.  (Bug#11209)
1539         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
1541 2012-04-14  Glenn Morris  <rgm@gnu.org>
1543         * calendar/holidays.el (calendar-check-holidays): Doc fix.
1545 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1547         * textmodes/ispell.el (ispell-dictionary-base-alist):
1548         Add data for Hebrew.
1550 2012-04-14  Chong Yidong  <cyd@gnu.org>
1552         * net/rcirc.el (rcirc-cmd-quit):
1553         Revert 2012-03-18 change (Bug#11192).
1555 2012-04-14  Glenn Morris  <rgm@gnu.org>
1557         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1559 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1561         * minibuffer.el (completion-in-region-mode-map):
1562         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
1564 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
1566         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1568 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
1570         * minibuffer.el (minibuffer-local-filename-syntax): New variable
1571         to allow `C-M-f' and `C-M-b' to move to the nearest path
1572         separator (bug#9511).
1574 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
1576         * avoid.el: Require cl when compiling.  And also move the
1577         `provide' to the end.
1579 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1581         * avoid.el (mouse-avoidance-banish-position): New variable.
1582         (mouse-avoidance-banish-destination): Use it (bug#10165).
1584 2012-04-13  Leo Liu  <sdl.web@gmail.com>
1586         * progmodes/which-func.el (which-func-modes): Add objc-mode.
1588 2012-04-13  Ken Brown  <kbrown@cornell.edu>
1590         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1591         this is no longer needed now that cygstart understands file:// URLs.
1592         (browse-url-filename-alist): For the same reason, don't modify
1593         file:// URLs on Cygwin.
1595 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1597         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1598         the region on shift if the binding is already shifted (bug#11221).
1600 2012-04-12  Glenn Morris  <rgm@gnu.org>
1602         * mail/mailpost.el: Move to obsolete/.
1604 2012-04-12  Drew Adams  <drew.adams@oracle.com>
1606         * imenu.el (imenu--generic-function): Ignore invisible definitions
1607         (bug#10123).
1609 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
1611         * hexl.el (hexl-bits): New variable.
1612         (hexl-options): Mention the variable in the doc string.
1613         (hexl-rulerise, hexl-line-displen): New functions.
1614         (hexl-mode): Mention the new variable.
1615         (hexl-mode, hexl-current-address, hexl-current-address):
1616         Use the displen.
1617         (hexl-ascii-start-column): New function.
1618         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1619         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1621 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1623         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1624         '("-i" ENCODING), in 2 separate command-line arguments, to specify
1625         the encoding, as expected by hunspell.
1627 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1629         * battery.el (battery--linux-sysfs-regexp): New const.
1630         (battery-status-function): Use it.  Remove yeeloong special case.
1631         (battery-yeeloong-sysfs): Remove.
1632         (battery-echo-area-format): Remove yeeloong special case.
1634 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1636         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1637         Reported by Noah Friedman.
1639         * subr.el (read-passwd): Use read-string.
1641 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1643         * vcursor.el (vcursor-move): Increase the priority of the overlay
1644         (bug#9663).
1646 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1648         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1649         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1651 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
1653         * textmodes/artist.el (artist-mode): Convert artist-mode to use
1654         define-minor-mode (bug#10760).
1656 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
1658         * progmodes/grep.el (rgrep): Tweak the find command line so
1659         that directories matching `grep-find-ignored-files' won't be
1660         pruned (bug#10351).
1662 2012-04-11  Chong Yidong  <cyd@gnu.org>
1664         * startup.el (command-line): Remove support for long-obsolete
1665         variable font-lock-face-attributes.
1667 2012-04-11  Glenn Morris  <rgm@gnu.org>
1669         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1671 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1673         * window.el (window--state-get-1): Obey window-point-insertion-type.
1675 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
1677         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1678         to previous function when point is on the first character of a
1679         function.  Take care of that in `narrow-to-defun' (bug#6157).
1681 2012-04-11  Glenn Morris  <rgm@gnu.org>
1683         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1684         not just file-errors.
1686         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1687         (vc-bzr-sha1): Use internal sha1.
1689 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1691         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1693 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
1695         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1696         that start in the middle of the line (bug#10496).
1698 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
1700         * battery.el (battery-linux-proc-acpi): Only one battery is
1701         discharged at a time, but that seems to confuse battery.el when
1702         computing `rate-type' for the battery not being discharged
1703         (bug#10332).
1705 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1707         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1709         * international/quail.el: Use dolist and simplify.
1710         (quail-define-package, quail-update-keyboard-layout)
1711         (quail-define-rules): Use dolist.
1712         (quail-insert-kbd-layout, quail-get-translation): CSE.
1714         * tmm.el: Use dolist, remove left over hook.
1715         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1716         Use dolist.
1717         (calendar-load-hook): Don't mess with it.
1719         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1720         Use derived-mode-p.  Run the diff asynchronously.
1722 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1724         * obsolete/mouse-sel.el: Add an Obsolete-since header.
1726 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
1728         * misc.el: Display absolute path of loaded DLLs (bug#10424).
1729         (list-dynamic-libraries--loaded): New function.
1730         (list-dynamic-libraries--refresh): Use it.
1732 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
1734         * progmodes/python.el (python-fill-paragraph):
1735         Make python-fill-region in a multiline string work when font-lock is
1736         disabled (bug#7018).
1738 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
1740         * language/european.el (cp775): Add oem/legacy (en)coding on
1741         DOS/MS Windows for the Baltic languages.  There are still plenty
1742         of texts written in this encoding/codepage (bug#6519).
1744 2012-04-10  Glenn Morris  <rgm@gnu.org>
1746         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1747         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1749 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
1751         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1752         next-line "n" and previous-line "p" in order to make recentf more
1753         consistent with ibuffer, dired or org-mode (bug#9387).
1755 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1757         * image.el (put-image): Return the overlay created instead of the
1758         optional input string (bug#7834).  Note that this may break code
1759         that is (for some reason or other) depending on `put-image'
1760         returning the string.
1762         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1764         * simple.el (zap-to-char): Allow zapping using input methods
1765         (bug#1580).
1767         * textmodes/fill.el (fill-region): Leave point and mark where they
1768         were before filling (bug#5399).
1770 2012-04-09  Glenn Morris  <rgm@gnu.org>
1772         * version.el (emacs-bzr-get-version):
1773         Handle lightweight checkouts of local branches.
1775 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
1777         * international/characters.el: Recover lost case pairs.  (Bug#11209)
1779 2012-04-09  Chong Yidong  <cyd@gnu.org>
1781         * custom.el (custom-variable-p): Return nil for non-symbol
1782         arguments instead of signaling an error.
1783         (user-variable-p): Obsolete alias for custom-variable-p.
1785         * apropos.el (apropos-variable):
1786         * files-x.el (read-file-local-variable):
1787         * simple.el (set-variable):
1788         * woman.el (woman-mini-help):
1789         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1791 2012-04-09  Glenn Morris  <rgm@gnu.org>
1793         * startup.el (normal-top-level): Don't look for leim-list.el
1794         in places where it will not be found.  (Bug#910)
1796         * international/mule-cmds.el (set-default-coding-systems):
1797         * files.el (normal-mode):
1798         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
1799         This function was removed with ucs-tables.el in 2008.
1801 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
1803         * textmodes/ispell.el (ispell-check-version): For hunspell, set
1804         ispell-encoding8-command to "-i", without a trailing space.
1805         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1806         separate command-line arguments, to specify the encoding, since
1807         that's how hunspell expects it.
1809 2012-04-08  Glenn Morris  <rgm@gnu.org>
1811         * loadup.el: Load bindings before cus-start.
1812         This reduces somewhat the number of "rogue" settings in emacs -Q.
1814 2012-04-07  Glenn Morris  <rgm@gnu.org>
1816         * version.el (emacs-bzr-get-version): New function.
1817         (emacs-bzr-version): New variable.
1818         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
1819         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1821 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1823         * international/uni-bidi.el, international/uni-category.el:
1824         * international/uni-combining.el, international/uni-decimal.el:
1825         * international/uni-decomposition.el, international/uni-digit.el:
1826         * international/uni-lowercase.el, international/uni-mirrored.el:
1827         * international/uni-name.el, international/uni-numeric.el:
1828         * international/uni-titlecase.el, international/uni-uppercase.el:
1829         Update for Unicode 6.1.
1831 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1833         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1835 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1837         * window.el (shrink-window): Mention the `window-min-height'
1838         variable in the doc string.
1840 2012-04-05  Bastien Guerry  <bzg@altern.org>
1842         * color.el (color-lighten-name): Fix typo.
1844 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1846         * server.el (server--on-display-p): New function.
1847         (server--on-display-p): Use it.
1849 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
1851         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1852         (bug#11145).
1854 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1856         * comint.el (comint--common-quoted-suffix): Check string boundary
1857         before comparing (bug#11158).
1858         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1860 2012-04-04  Chong Yidong  <cyd@gnu.org>
1862         * minibuffer.el (completion-extra-properties): Doc fix.
1864         * subr.el (delayed-warnings-hook): Doc fix.
1866 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
1868         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1869         selection (Bug#11159).
1870         (epa-insert-keys): Inform that the default public key will be
1871         exported if no key is selected.
1873 2012-04-04  Richard Stallman  <rms@gnu.org>
1875         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1877 2012-04-03  Chong Yidong  <cyd@gnu.org>
1879         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1880         mail-insert-file, not its obsolete alias mail-attach-file.
1882 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
1884         * notifications.el (notifications-notify): Fix docstring.
1886 2012-04-02  Glenn Morris  <rgm@gnu.org>
1888         * emacs-lisp/authors.el (authors-aliases): Another addition.
1890 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
1892         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1893         `tramp-compat-call-process' instead of `tramp-local-call-process'.
1894         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1896 2012-04-01  Chong Yidong  <cyd@gnu.org>
1898         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1899         Handle root directory properly.
1900         (copy-directory): Caller changed.
1902         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1903         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1905 2012-03-31  Glenn Morris  <rgm@gnu.org>
1907         * term/xterm.el (xterm-extra-capabilities): Doc fix.
1909         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
1911         * calendar/calendar.el (calendar-window-list)
1912         (calendar-hide-window): Restore.  (Bug#11140)
1913         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1915         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1917 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1919         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1920         Check if file is a symlink (Bug#10489).
1922         * files.el (copy-directory): Likewise.
1924 2012-03-30  Chong Yidong  <cyd@gnu.org>
1926         * image.el (imagemagick-types-inhibit)
1927         (imagemagick-register-types): Doc fix.
1929 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1931         * ispell.el (ispell-get-extended-character-mode):
1932         Disable extended-char-mode for hunspell.  hunspell does not support it
1933         and treats ~word as ordinary words in pipe mode.
1935 2012-03-30  Glenn Morris  <rgm@gnu.org>
1937         * tutorial.el (help-with-tutorial): Ensure local variables don't
1938         happen to make the buffer read-only.  (Bug#11127)
1940 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1942         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1943         (perl-calculate-indent): Return `noindent' in strings.
1945 2012-03-28  Sam Steingold  <sds@gnu.org>
1947         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1948         instead of the broken adhockery which does not prevent calendar
1949         buffers from being displayed at random after exit.
1950         (calendar-window-list, calendar-hide-window): Remove the broken
1951         adhockery.
1953 2012-03-28  Glenn Morris  <rgm@gnu.org>
1955         * replace.el (query-replace-map): Doc fix.
1957 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
1959         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1960         contents.  (Bug#11109)
1962 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1964         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1965         (bug#11077).
1966         (avl-tree--check, avl-tree--check-node): New funs.
1968 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
1970         * window.el (switch-to-visible-buffer): New option.
1971         (switch-to-prev-buffer, switch-to-next-buffer):
1972         Observe switch-to-visible-buffer.  Make sure that checking for a window
1973         showing a buffer already is done on the same frame.
1975 2012-03-27  Glenn Morris  <rgm@gnu.org>
1977         * startup.el (mail-host-address): Doc fix.
1979 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1981         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1982         than 197 variables.
1984 2012-03-26  Ami Fischman  <ami@fischman.org>
1986         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1988 2012-03-26  Glenn Morris  <rgm@gnu.org>
1990         * files.el (save-buffers-kill-emacs): Doc fix.
1992         * startup.el (normal-top-level, command-line, command-line-1):
1993         Give them doc strings.
1995 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1997         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1998         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2000 2012-03-25  Chong Yidong  <cyd@gnu.org>
2002         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2003         theme if it was previously enabled before (Bug#11031).
2005         * cus-theme.el (custom-theme-write-faces): Retrieve current face
2006         spec with custom-face-get-current-spec if its :shown-value is not
2007         determined yet (Bug#9337).
2008         (customize-create-theme, custom-theme-revert): Doc fixes.
2010         * button.el (button-at): Minor addition to docstring.
2012 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
2014         * vc/vc.el (vc-merge): Fix a prompt.
2016 2012-03-24  Chong Yidong  <cyd@gnu.org>
2018         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2019         point (Bug#9623).
2021         * button.el (button-at): Minor addition to docstring.
2023 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2025         * newcomment.el (comment-choose-indent): No space after BOL.
2027 2012-03-22  Sam Steingold  <sds@gnu.org>
2029         * window.el (switch-to-prev-buffer): Revert last patch because the
2030         bug turned out to be an advertised feature (Elisp manual 28.14).
2032 2012-03-22  Glenn Morris  <rgm@gnu.org>
2034         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
2035         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2037 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2039         * net/network-stream.el (network-stream-open-starttls): Make error
2040         message under Windows be less misleading.
2042 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
2044         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2045         understands (bug#9942).
2047 2012-03-22  Chong Yidong  <cyd@gnu.org>
2049         * simple.el (end-of-visible-line): Handle return value of
2050         next-single-property-change properly (Bug#9371).
2052 2012-03-22  Kenichi Handa  <handa@m17n.org>
2054         * international/quail.el (quail-insert-kbd-layout): Fix previous
2055         change.  To avoid unwanted bidi reordering, use
2056         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2058 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
2060         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2061         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2062         (ruby-beginning-of-indent): Be more careful with the difference
2063         between word-boundary and symbol boundary.
2064         (ruby-mode-syntax-table): Make : a symbol constituent.
2066 2012-03-21  Andreas Politz  <politza@fh-trier.de>
2068         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2070 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2072         * progmodes/etags.el (tags-completion-at-point-function):
2073         Improve last fix.
2075         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2077 2012-03-21  Sam Steingold  <sds@gnu.org>
2079         * progmodes/etags.el (tags-completion-at-point-function):
2080         Avoid the error when point is inside the pattern.
2082 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
2084         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2085         line (Bug#10855).
2087 2012-03-21  Drew Adams  <drew.adams@oracle.com>
2089         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2091 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
2093         * ido.el (ido-set-current-directory, ido-read-internal)
2094         (ido-choose-completion-string, ido-completion-help): Handle nil
2095         value of ido-completion-buffer (Bug#11008).
2097 2012-03-21  Sam Steingold  <sds@gnu.org>
2099         * window.el (switch-to-prev-buffer): Do not switch to a visible
2100         window previous buffer, just like with the frame previous buffers.
2102 2012-03-21  Chong Yidong  <cyd@gnu.org>
2104         * faces.el (make-face, make-empty-face, copy-face):
2105         * face-remap.el (face-remap-add-relative, face-remap-set-base):
2106         Doc fixes.
2108 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2110         * wid-edit.el (widget-complete-field): Remove (bug#11051).
2111         (widget-complete): Remove broken use of it.
2113 2012-03-20  Chong Yidong  <cyd@gnu.org>
2115         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2116         Use string-width and truncate-string-width to handle arbitrary
2117         characters.
2119 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
2121         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2122         to draw rectangles, not squares.  (Regression introduced by revno
2123         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2125 2012-03-18  Chong Yidong  <cyd@gnu.org>
2127         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2128         it is not yet defined (for temacs).
2130 2012-03-18  Leo Liu  <sdl.web@gmail.com>
2132         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2134 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
2136         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2137         (ispell-choices-win-default-height, ispell-silently-savep)
2138         (ispell-dictionary-alist, ispell-encoding8-command)
2139         (ispell-check-version, ispell-aspell-find-dictionary)
2140         (ispell-valid-dictionary-list, ispell-words-keyword)
2141         (ispell-get-word, ispell-internal-change-dictionary)
2142         (ispell-region, ispell-skip-region-list)
2143         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2144         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2145         (ispell-message-text-end, ispell-message)
2146         (ispell-buffer-local-parsing): Doc fix.
2148 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
2150         * htmlfontify.el: Add support for code block fontification for ODT
2151         export (Bug #9914).
2152         (hfy-optimisations): Define new option
2153         `body-text-only'
2154         (hfy-fontify-buffer): Honor above setting.
2155         (hfy-begin-span, hfy-end-span): New routines factored out form
2156         `hfy-fontify-buffer'.
2157         (hfy-begin-span-handler, hfy-end-span-handler): New variables
2158         that permit insertion of custom tags.
2159         (hfy-fontify-buffer): Use above handlers.
2160         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2161         (hfy-face-to-css): Re-defined to be a variable.
2162         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
2163         over multiple runs.  This is made possible by having the caller let
2164         bind a special variable `hfy-user-sheet-assoc'.
2165         (htmlfontify-string): New defun.
2166         (hfy-compile-face-map): Make sure that the last char in the
2167         buffer is correctly fontified.
2168         (hfy-face-resolve-face): Whitespace only change.
2170 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
2172         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2173         message more clear.
2175 2012-03-16  Leo Liu  <sdl.web@gmail.com>
2177         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2179 2012-03-16  Alan Mackenzie  <acm@muc.de>
2181         Further optimise the handling of large macros.
2183         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2184         limit to a call of `c-literal-limits'.
2185         (c-determine-+ve-limit): New function.
2186         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2187         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2188         In CASE 5B, restrict a search limit to 500.
2189         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2191         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2192         Restrict macro bounds to +-500 from after-change's BEG END.
2194 2012-03-16  Leo Liu  <sdl.web@gmail.com>
2196         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2198 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
2200         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2201         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
2203 2012-03-16  Glenn Morris  <rgm@gnu.org>
2205         * view.el (view-buffer, view-buffer-other-window)
2206         (view-buffer-other-frame): Doc fixes re special mode-class.
2208         * subr.el (eval-after-load): If named feature is provided not from
2209         a file, run after-load forms.  (Bug#10946)
2211         * calendar/calendar.el (calendar-insert-at-column):
2212         Handle non-unit-width characters a bit better.  (Bug#10978)
2214 2012-03-15  Chong Yidong  <cyd@gnu.org>
2216         * emacs-lisp/ring.el (ring-extend): New function.
2217         (ring-insert+extend): Extend the ring correctly (Bug#11019).
2219         * comint.el (comint-read-input-ring)
2220         (comint-add-to-input-history): Grow comint-input-ring lazily.
2222 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2224         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2225         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2227         * imenu.el: Fix multiple inheritance breakage (bug#9199).
2228         (imenu-add-to-menubar): Don't add a redundant index.
2229         (imenu-update-menubar): Handle a dynamically composed keymap.
2231 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2233         * mail/sendmail.el (mail-encode-header):
2234         Bind rfc2047-encode-encoded-words to nil.
2236 2012-03-13  Glenn Morris  <rgm@gnu.org>
2238         * calendar/calendar.el (calendar-string-spread):
2239         Handle non-unit-width characters a bit better.  (Bug#10978)
2241 2012-03-13  Leo Liu  <sdl.web@gmail.com>
2243         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2244         directory and file as argument (Bug#10822).
2246 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
2248         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2249         For dynamically generated code, follow $PC.
2250         (gdb-disassembly-handler-custom): Handle no function name case.
2252 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
2254         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2255         * emulation/ws-mode.el (ws-query-replace):
2256         * sort.el (sort-regexp-fields):
2257         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
2259 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2261         * dabbrev.el: Fix cycle completion order (bug#10963).
2262         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2263         (dabbrev-completion): Don't use an obarray; provide
2264         a cycle-sort-function.
2266 2012-03-12  Leo Liu  <sdl.web@gmail.com>
2268         * simple.el (kill-new): Use equal-including-properties for comparison.
2269         (kill-do-not-save-duplicates): Doc fix.
2271 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2273         * dabbrev.el: Fix cycle completion (bug#10963).
2274         Use lexical binding and wrap to 80 columns.
2275         (dabbrev-completion): Delay computing the list of completions.
2277 2012-03-12  Kenichi Handa  <handa@m17n.org>
2279         * international/quail.el (quail-insert-kbd-layout): Surround each
2280         row by LRO and PDF instead of inserting many LRMs.  Pad the left
2281         and right of each non-spacing marks.  Insert invisible space
2282         between lower and upper characters to prevent composition.
2284 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2286         * minibuffer.el (minibuffer-complete): Don't get confused when the
2287         function is run twice via different commands (bug#10958).
2288         (complete-with-action): Fix docstring.
2290 2012-03-12  Chong Yidong  <cyd@gnu.org>
2292         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2293         (nxml-completion-at-point-function): New function.
2294         (nxml-mode): Use it.
2295         (nxml-bind-meta-tab-to-complete-flag): Default to t.
2297         * emacs-lisp/package.el (package-unpack, package-unpack-single):
2298         Load generated autoloads file before byte compiling (Bug#10970).
2299         (package--make-autoloads-and-compile): New helper fun.
2301 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
2303         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2305 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
2307         * autorevert.el (auto-revert-handler): Ensure, that
2308         file-readable-p is applied only for local files or in
2309         auto-revert-tail-mode.
2311 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
2313         * server.el (server-eval-at): Handle non-tcp connections.
2314         Decode result string.
2316         * server.el (server-msg-size): New constant.
2317         (server-reply-print): New function.
2318         (server-eval-and-print): Use it.
2319         (server-eval-at): Use server-quote-arg and server-unquote-arg.
2320         Handle -print-nonl.
2322 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
2324         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2325         (Bug#10987).
2327 2012-03-11  Chong Yidong  <cyd@gnu.org>
2329         * simple.el (goto-line): Doc fix (Bug#9938).
2331         * subr.el (save-window-excursion): Doc fix (Bug#9979).
2333         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2334         when finished (Bug#10963).
2336 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
2338         * window.el (split-window-below): Fix bug in case where
2339         split-window-keep-point is nil (Bug#10971).
2341 2012-03-11  Juri Linkov  <juri@jurta.org>
2343         * replace.el (replace-highlight): Set isearch-word to nil
2344         unconditionally.  (Bug#10887)
2346 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
2348         * net/mairix.el (mairix-replace-invalid-chars): Rename from
2349         mairix-replace-illegal-chars; all callers changed.  Don't remove
2350         ^, ~, and = characters: they are meaningful in mairix search specs.
2351         (mairix-widget-create-query): Add usage information about mairix
2352         search forms: negating words, searching for substrings, etc.
2354 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
2356         * international/fontset.el (font-encoding-alist): Add an entry for
2357         ksx1001 (Bug#5667).
2359 2012-03-10  Richard Stallman  <rms@gnu.org>
2361         * mail/sendmail.el (mail-encode-header):
2362         Set rfc2047-encode-encoded-words.
2364         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2366         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2367         view buffer means not swapped.
2368         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2369         (rmail-write-region-annotate): Error if real text has disappeared.
2371         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2373 2012-03-10  Chong Yidong  <cyd@gnu.org>
2375         * emulation/cua-rect.el (cua--init-rectangles):
2376         * emulation/cua-base.el (cua--init-keymaps):
2377         Add delete-forward-char to remappings (Bug#9666).
2379 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
2381         * speedbar.el (speedbar-unhighlight-one-tag-line):
2382         Avoid unhighlighting due to frame switching (Bug#10275).
2384 2012-03-10  Chong Yidong  <cyd@gnu.org>
2386         * minibuffer.el (completion-in-region, completion-help-at-point):
2387         Give the completion field overlay a high priority (Bug#6830).
2389         * dired.el (dired-goto-file): Recognize absolute file name
2390         listings (Bug#7126).
2391         (dired-goto-file-1): New helper function.
2392         (dired-toggle-read-only): Inhibit warnings.
2394 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
2396         * net/dbus.el (dbus-property-handler): Return empty array if
2397         there are no properties.
2399 2012-03-09  Leo Liu  <sdl.web@gmail.com>
2401         * savehist.el (savehist-printable): Stricter check for string
2402         value (Bug#10937).
2404 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
2406         * mail/smtpmail.el (smtpmail-send-it):
2407         Bind coding-system-for-write to *-unix, so that FCC files are kept in
2408         valid mbox format.
2410 2012-03-09  Glenn Morris  <rgm@gnu.org>
2412         * files.el (dir-locals-find-file):
2413         Don't check result is regular, readable.
2414         (dir-locals-read-from-file): Demote errors.
2416 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
2418         * international/quail.el (quail-insert-kbd-layout):
2419         Insert invisible LRM characters before each character in a keyboard
2420         layout cell, to prevent their reordering by bidi display engine.
2421         For details, see the discussion in
2422         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2424 2012-03-08  Alan Mackenzie  <acm@muc.de>
2426         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2427         the starting position; make it extend the marked region when
2428         invoked repeatedly - all under appropriate circumstances.
2429         Fixes bugs #5525, #10906.
2431 2012-03-08  Glenn Morris  <rgm@gnu.org>
2433         * files.el (locate-dominating-file, dir-locals-find-file):
2434         Undo 2012-03-06 change.
2436 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
2438         * international/quail.el (quail-help):
2439         Force bidi-paragraph-direction be left-to-right.  See discussion in
2440         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2441         for the reason.
2443 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
2445         Avoid superfluous registering of signals.  (Bug#10807)
2447         * notifications.el (notifications-on-action-object)
2448         (notifications-on-close-object): New defvars.
2449         (notifications-on-action-signal, notifications-on-closed-signal):
2450         Unregister the signal if not needed any longer.
2451         (notifications-notify): Register `notifications-action-signal' or
2452         `notifications-closed-signal', if :on-action or :on-close has been
2453         passed as argument.
2455 2012-03-07  Chong Yidong  <cyd@gnu.org>
2457         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2458         non-X platforms.
2460 2012-03-06  Glenn Morris  <rgm@gnu.org>
2462         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2463         (x-disown-selection-internal, x-get-selection-internal):
2464         Doc fix (add arglist signatures).  (Bug#10783)
2466 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
2468         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2469         Handle breakpoints with no "type".
2471 2012-03-06  Glenn Morris  <rgm@gnu.org>
2473         * files.el (locate-dominating-file): Add optional predicate argument.
2474         (dir-locals-find-file): Make use of above change.
2476 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
2478         * info.el (Info-insert-dir): Also try "dir.gz".
2480 2012-03-06  Glenn Morris  <rgm@gnu.org>
2482         * files.el (dir-locals-find-file):
2483         Ignore non-readable or non-regular files.  (Bug#10928)
2485         * files.el (locate-dominating-file): Doc fix.
2487 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
2489         * calendar/calendar.el (calendar-set-mode-line):
2490         `getenv' returns a string.  (Bug#10951)
2492 2012-03-05  Leo Liu  <sdl.web@gmail.com>
2494         * simple.el (backward-delete-char-untabify): Constrain point to
2495         field (Bug#10939).
2497         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2499 2012-03-05  Chong Yidong  <cyd@gnu.org>
2501         * simple.el (count-words): If called from Lisp, return the word
2502         count, for symmetry with `count-lines'.  Arglist changed.
2503         (count-words--message): Args changed.  Consolidate counting code
2504         from count-words and count-words-region.
2505         (count-words-region): Caller changed.
2506         (count-lines-region): Make it an obsolete alias.
2508 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
2510         * saveplace.el (save-place-to-alist)
2511         (save-place-ignore-files-regexp): Allow value nil to disable this
2512         feature.
2514 2012-03-04  Chong Yidong  <cyd@gnu.org>
2516         * faces.el (face-spec-reset-face): For the default face, reset the
2517         attributes to default values (Bug#10748).
2519 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2521         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2522         previous patch: Check `message-send-mail-function', and not the
2523         default function (bug#10897).
2525 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
2527         * notifications.el (notifications-on-action-signal)
2528         (notifications-on-closed-signal): Check for unique service name of
2529         incoming event.  Fix error in removing entry.
2530         (top): Register for signals with wildcard service name.
2531         (notifications-notify): Use daemon unique service name for map entries.
2533 2012-03-04  Chong Yidong  <cyd@gnu.org>
2535         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2537 2012-03-04  Glenn Morris  <rgm@gnu.org>
2539         * abbrev.el (copy-abbrev-table, abbrev-table-p)
2540         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2541         (expand-abbrev, define-abbrev-table): Doc fixes.
2543 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2545         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2546         `message-default-send-mail-function' and not `send-mail-function'
2547         when doing the prompting for `sendmail-query-once' before sending
2548         in Message buffers (bug#10897).
2550         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2551         This is inconsistent with all the other stream functions, which leave
2552         the setting up to the higher levels (if so wanted) (bug#10931).
2554 2012-03-02  Alan Mackenzie  <acm@muc.de>
2556         Depessimize the handling of very large macros.
2558         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2559         (c-macro-cache-syntactic): New variables to implement a one
2560         element macro cache.
2561         (c-invalidate-macro-cache): New function.
2562         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2563         Adapt to use the new cache.
2564         (c-state-safe-place): Use better the cache of safe positions.
2565         (c-state-semi-nonlit-pos-cache)
2566         (c-state-semi-nonlit-pos-cache-limit):
2567         New variables for...
2568         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
2569         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2570         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2571         Use c-state-semi-safe-place.
2573         * progmodes/cc-langs.el (c-get-state-before-change-functions):
2574         Add c-invalidate-macro-cache to the C, C++, Obj entries.
2576 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
2578         * jka-compr.el (jka-compr-call-process):
2579         Apply `file-accessible-directory-p' only when the default directory is
2580         not remote.
2582 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
2584         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
2585         access of FILE2, if FILE1 does not exist.
2587         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2588         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2590         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2591         Add "PAGER=" to `process-environment'.
2593 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
2595         * progmodes/sql.el: Bug fix
2596         (sql-get-login-ext): Save login values in globals.
2597         (sql-get-login): Use new version of `sql-get-login-ext'.
2598         (sql-interactive-mode): Set global `sql-connection' to nil.
2599         (sql-connect): Set global values for connection.
2600         (sql-product-interactive): Save global values as buffer local.
2602 2012-02-29  Leo Liu  <sdl.web@gmail.com>
2604         * abbrev.el (define-abbrevs): Reset sys to nil.
2606 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2608         * files.el (file-equal-p): Rename from `files-equal-p'.
2609         Return nil when one or both files don't exist.
2610         (file-subdir-of-p): Now only top directory must exists,
2611         return nil if it doesn't.
2612         (copy-directory): No need to test with `file-subdir-of-p' after
2613         creating dir.
2614         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2615         to `file-equal-p'.
2617 2012-02-28  Glenn Morris  <rgm@gnu.org>
2619         * shell.el (shell-mode):
2620         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2621         * play/landmark.el (landmark-font-lock-face-O):
2622         * play/handwrite.el (handwrite):
2623         * play/gomoku.el (gomoku-O):
2624         * net/browse-url.el (browse-url-browser-display):
2625         * international/mule.el (define-charset):
2626         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2627         * filesets.el (filesets-find-file-delay):
2628         * eshell/em-xtra.el (eshell-xtra):
2629         * eshell/em-unix.el (eshell-grep):
2630         * emulation/viper.el (viper-mode):
2631         * emacs-lisp/regexp-opt.el (regexp-opt-group):
2632         * emacs-lisp/easymenu.el (easy-menu-define):
2633         * calendar/timeclock.el (timeclock-use-display-time):
2634         * bs.el (bs-mode):
2635         * bookmark.el (bookmark-save-flag):
2636         Doc fix (standardize possessive apostrophe usage).
2638 2012-02-27  Chong Yidong  <cyd@gnu.org>
2640         * emulation/viper-cmd.el (viper-intercept-ESC-key):
2641         Fix key-binding lookup for ESC key (Bug#9146).
2643         * font-lock.el (font-lock-specified-p): Rename from
2644         font-lock-spec-present.  Callers changed.
2646 2012-02-27  Daniel Hackney  <dan@haxney.org>
2648         * emacs-lisp/package.el (package-compute-transaction):
2649         Handle holding a package version to t in package-load-list.
2651 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
2653         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2654         (tramp-get-inode, tramp-get-device): Use cached values.
2656 2012-02-26  Alan Mackenzie  <acm@muc.de>
2658         Check there is a font-lock specification before doing initial
2659         fontification.
2661         * font-core.el (font-lock-mode): Move the conditional from
2662         :after-hook to font-lock-initial-fontify.
2663         (font-lock-default-function): Move the check for a specification
2664         to font-lock-spec-present.
2666         * font-lock.el (font-lock-initial-fontify): Call ...
2667         (font-lock-spec-present): New function.
2669 2012-02-26  Jim Blandy  <jimb@red-bean.com>
2671         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2672         (gdb-send): Apply it to the operand of the '-interpreter-exec
2673         console' command, so that we can pass arguments with (say) quotes
2674         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
2676 2012-02-26  Chong Yidong  <cyd@gnu.org>
2678         * help-fns.el (describe-function-1): Clarify description of
2679         remapping (Bug#10844).
2681         * files.el (files-equal-p): Doc fix.
2682         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
2683         and quit the loop once a mismatch is found.
2685 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
2687         * bs.el (bs--show-with-configuration): Don't throw an error
2688         if the window cannot be split; otherwise, subsequent calls to
2689         bs-show fail, restoring a stale window config.  (Bug#10882)
2691 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
2693         * term/ns-win.el (global-map): Bind ns-drag-file to
2694         ns-find-file (Bug#5855, Bug#10050).
2696 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
2698         * calendar/parse-time.el (parse-time-string): Allow extractor to
2699         return nil.
2701 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
2703         * net/tramp.el (tramp-file-name-for-operation):
2704         Add `files-equal-p' and `file-subdir-of-p'.
2706         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2707         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2708         Add COPY-CONTENTS argument.
2710 2012-02-25  Chong Yidong  <cyd@gnu.org>
2712         Add custom groups for VC backends, for consistency with vc-bzr.
2714         * vc/vc-arch.el (vc-arch):
2715         * vc/vc-cvs.el (vc-cvs):
2716         * vc/vc-git.el (vc-git):
2717         * vc/vc-hg.el (vc-hg):
2718         * vc/vc-mtn.el (vc-mtn):
2719         * vc/vc-rcs.el (vc-rcs):
2720         * vc/vc-sccs.el (vc-sccs):
2721         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2722         All relevant defcustoms reassigned.
2724 2012-02-25  Chong Yidong  <cyd@gnu.org>
2726         * newcomment.el (comment-styles): Add autoload (Bug#10868).
2728         * term/x-win.el (x-initialize-window-system): Reduce default for
2729         x-selection-timeout to 5 seconds (Bug#8869).
2731 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2733         * files.el (files-equal-p, file-subdir-of-p): New functions.
2734         (copy-directory): Error when trying to copy a directory on itself.
2735         Add missing copy-contents arg to tramp handler.
2736         * dired-aux.el (dired-copy-file-recursive): Same.
2737         (dired-create-files): Modify destination when source is equal to
2738         dest when copying files.
2739         Return also when dest is a subdir of source.  (Bug#10489)
2741 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
2743         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2744         (Bug#10874)
2746 2012-02-23  Alan Mackenzie  <acm@muc.de>
2748         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2749         parameter "after-hook:" to allow the expansion to run code after
2750         the execution of the mode hooks.
2752         * font-lock.el (font-lock-initial-fontify): New function extracted
2753         from font-lock-mode-internal.
2755         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2756         :after-hook.
2758 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2760         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2761         (completion--cache-all-sorted-completions): New function.
2762         (completion-all-sorted-completions): Use it.
2763         (completion--do-completion, minibuffer-force-complete):
2764         Use it to re-instate the flush hook.
2766         * icomplete.el (icomplete-completions): Replace last fix with a better
2767         one (bug#10850).
2769 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
2771         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2772         when it might call us back infinitely (bug#10797).
2774 2012-02-23  Glenn Morris  <rgm@gnu.org>
2776         * minibuffer.el (completion-category-overrides): Doc fix.
2778 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2780         * minibuffer.el (completion-table-with-context): Fix inf-loop.
2781         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2783 2012-02-23  Glenn Morris  <rgm@gnu.org>
2785         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2786         (authors-obsolete-files-regexps, authors-ignored-files)
2787         (authors-ambiguous-files, authors-renamed-files-alist):
2788         Add more entries.
2790 2012-02-23  Juri Linkov  <juri@jurta.org>
2792         * isearch.el (isearch-occur): Sync interactive spec with occur's
2793         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
2795         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2797 2012-02-22  Juri Linkov  <juri@jurta.org>
2799         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2800         (ucs-insert): Doc fix.  Check for hex digits in the string.
2801         Don't display `nil' in the error message.  (Bug#10857)
2803 2012-02-22  Alan Mackenzie  <acm@muc.de>
2805         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2807 2012-02-22  Glenn Morris  <rgm@gnu.org>
2809         * ffap.el (ffap-c-path):
2810         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
2812 2012-02-22  Chong Yidong  <cyd@gnu.org>
2814         * custom.el (load-theme): Doc fix.
2816 2012-02-22  Glenn Morris  <rgm@gnu.org>
2818         * dired-x.el (dired-guess-shell-alist-default):
2819         Remove escape sequences from nroff output.  (Bug#172)
2821 2012-02-21  Glenn Morris  <rgm@gnu.org>
2823         * vc/emerge.el (emerge-defvar-local):
2824         Set `permanent-local' property rather than unused `preserved'.
2826         * textmodes/picture.el (picture-delete-char): New alias.
2827         (picture-mode-map): Use it.  (Bug#10860)
2828         (picture-mode): Doc fix.
2830 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
2832         * newcomment.el (uncomment-region-default): Remove unused binding.
2834 2012-02-21  Glenn Morris  <rgm@gnu.org>
2836         * textmodes/picture.el (picture-motion, picture-motion-reverse)
2837         (picture-self-insert, picture-tab-chars): Doc fix.
2838         (picture-mode-map): Fix C-a, C-e.
2840 2012-02-20  Glenn Morris  <rgm@gnu.org>
2842         * emacs-lisp/authors.el (authors-aliases): Add another entry.
2844 2012-02-20  Leo Liu  <sdl.web@gmail.com>
2846         * icomplete.el (icomplete-completions): Check FROM arg before
2847         passing to substring (Bug#10850).
2849 2012-02-19  Chong Yidong  <cyd@gnu.org>
2851         * comint.el: Require ansi-color.
2852         (comint-output-filter-functions): Add ansi-color-process-output.
2854         * ansi-color.el: Don't set comint-output-filter-functions; it is
2855         now in the initial value defined in comint.el.
2856         (ansi-color-apply-face-function): New variable.
2857         (ansi-color-apply-on-region): Use it.
2858         (ansi-color-apply-overlay-face): New function.
2860         * shell.el (shell): No need to require ansi-color.
2861         (shell-mode): Use ansi-color-apply-face-function to highlight
2862         color escapes using font-lock-face property (Bug#10835).
2864 2012-02-19  Chong Yidong  <cyd@gnu.org>
2866         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2867         mode-line formats (Bug#10839).
2869 2012-02-18  Glenn Morris  <rgm@gnu.org>
2871         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2873         * mail/undigest.el (unforward-rmail-message): Doc fix.
2875         * saveplace.el (save-place-ignore-files-regexp): Add :version.
2877 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
2879         * international/characters.el (script-list): Sync with the latest
2880         Unicode Character Database.
2882 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
2884         * international/titdic-cnv.el: Remove duplicate coding tag.
2885         * language/cham.el: Likewise.
2886         * language/tai-viet.el: Likewise.
2888 2012-02-18  Glenn Morris  <rgm@gnu.org>
2890         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2891         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2892         (calendar-bahai-all-holidays-flag, calendar-other-dates):
2893         * calendar/diary-lib.el (diary-abbreviated-year-flag):
2894         * calendar/holidays.el (holiday-bahai-holidays)
2895         (calendar-holidays, list-holidays):
2896         Use utf-8 Bahá'í in doc-strings, menus, etc.
2898 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
2900         * saveplace.el (save-place-ignore-files-regexp): New variable
2901         allowing for excluding files from saving their location of point.
2902         The default value matches the temporary commit message editing
2903         files from Git, SVN, Bazaar, and Mercurial.
2904         (save-place-to-alist): Use it.
2906 2012-02-17  Lawrence Mitchell <wence@gmx.li>
2907             Stefan Monnier  <monnier@iro.umontreal.ca>
2909         * newcomment.el (uncomment-region-default): Don't leave extra space
2910         when an arg is provided (bug#8150).
2912 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
2914         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2916 2012-02-17  Glenn Morris  <rgm@gnu.org>
2918         * net/socks.el: Require network-stream.  (Bug#10599)
2920 2012-02-17  Kenichi Handa  <handa@m17n.org>
2922         * international/charprop.el:
2923         * international/uni-name.el:
2924         * international/uni-old-name.el:
2925         * international/uni-comment.el: Regenerate.
2927 2012-02-16  Glenn Morris  <rgm@gnu.org>
2929         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2930         Interactively in calendar buffer, give an error if not on a date.
2932 2012-02-15  Glenn Morris  <rgm@gnu.org>
2934         * shell.el (shell-delimiter-argument-list):
2935         Revert 2011-02-17 change.  (Bug#8027)
2937 2012-02-15  Chong Yidong  <cyd@gnu.org>
2939         * minibuffer.el (completion-at-point-functions): Doc fix.
2941         * custom.el (defcustom): Doc fix; note use of defvar.
2943 2012-02-15  Glenn Morris  <rgm@gnu.org>
2945         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2946         Doc fixes.
2948 2012-02-14  Glenn Morris  <rgm@gnu.org>
2950         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2952 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
2954         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2955         way the ports list is computed.
2956         (smtpmail-query-smtp-server): Prompt the user for a port number if
2957         we can't connect to any of the standard ports (bug#10810).
2959 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
2961         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2963 2012-02-13  Glenn Morris  <rgm@gnu.org>
2965         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
2967 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
2969         * net/gnutls.el (gnutls-trustfiles): New variable.
2970         (gnutls-negotiate): Use it.
2972 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
2974         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2975         does its stuff if Gnus is running.
2977 2012-02-13  Alan Mackenzie  <acm@muc.de>
2979         Fix a loop in c-set-fl-decl-start.
2981         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2982         c-backward-syntactic-ws actually moves backwards.
2984 2012-02-13  Leo Liu  <sdl.web@gmail.com>
2986         * net/rcirc.el (rcirc-markup-attributes): Move point to the
2987         beginning so that all \C-o chars are removed.
2989 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
2991         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2993 2012-02-12  Alan Mackenzie  <acm@muc.de>
2995         Fix infinite loop with long macros.
2996         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2998 2012-02-12  Chong Yidong  <cyd@gnu.org>
3000         * window.el (display-buffer): Doc fix (Bug#10785).
3002 2012-02-12  Glenn Morris  <rgm@gnu.org>
3004         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3005         (x-disown-selection-internal, x-get-selection-internal):
3006         Sync docs with the xselect.c versions.
3008         * allout-widgets.el: Add missing license notice.
3010 2012-02-11  Glenn Morris  <rgm@gnu.org>
3012         * select.el (x-get-selection-internal, x-own-selection-internal)
3013         (x-disown-selection-internal):
3014         * x-dnd.el (x-get-selection-internal): Update declarations.
3016         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3018         * window.el (window-sides-slots):
3019         * tool-bar.el (tool-bar-position):
3020         * term/xterm.el (xterm-extra-capabilities):
3021         * ses.el (ses-self-reference-early-detection):
3022         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3023         (verilog-auto-wire-type)
3024         (verilog-auto-delete-trailing-whitespace)
3025         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3026         (verilog-auto-tieoff-declaration):
3027         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3028         (sql-oracle-statement-starters, sql-oracle-scan-on):
3029         * progmodes/prolog.el (prolog-align-comments-flag)
3030         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3031         (prolog-left-indent-regexp, prolog-paren-indent-p)
3032         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3033         (prolog-types, prolog-mode-specificators)
3034         (prolog-determinism-specificators, prolog-directives)
3035         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3036         (prolog-electric-dot-flag)
3037         (prolog-electric-dot-full-predicate-template)
3038         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3039         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3040         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3041         (prolog-program-switches, prolog-prompt-regexp)
3042         (prolog-debug-on-string, prolog-debug-off-string)
3043         (prolog-trace-on-string, prolog-trace-off-string)
3044         (prolog-zip-on-string, prolog-zip-off-string)
3045         (prolog-use-standard-consult-compile-method-flag)
3046         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3047         (prolog-imenu-max-lines, prolog-info-predicate-index)
3048         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3049         (prolog-char-quote-workaround):
3050         * progmodes/cc-vars.el (c-defun-tactic):
3051         * net/tramp.el (tramp-encoding-command-interactive)
3052         (tramp-local-end-of-line):
3053         * net/soap-client.el (soap-client):
3054         * net/netrc.el (netrc-file):
3055         * net/gnutls.el (gnutls):
3056         * minibuffer.el (completion-category-overrides)
3057         (completion-cycle-threshold)
3058         (completion-pcm-complete-word-inserts-delimiters):
3059         * man.el (Man-name-local-regexp):
3060         * mail/feedmail.el (feedmail-display-full-frame):
3061         * international/characters.el (glyphless-char-display-control):
3062         * eshell/em-ls.el (eshell-ls-date-format):
3063         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3064         (lisp-lambda-list-keyword-parameter-indentation)
3065         (lisp-lambda-list-keyword-parameter-alignment):
3066         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3067         * dired-x.el (dired-omit-verbose):
3068         * cus-theme.el (custom-theme-allow-multiple-selections):
3069         * calc/calc.el (calc-highlight-selections-with-faces)
3070         (calc-lu-field-reference, calc-lu-power-reference)
3071         (calc-note-threshold):
3072         * battery.el (battery-mode-line-limit):
3073         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3074         (archive-7z-update):
3075         * allout.el (allout-prefixed-keybindings)
3076         (allout-unprefixed-keybindings)
3077         (allout-inhibit-auto-fill-on-headline)
3078         (allout-flattened-numbering-abbreviation):
3079         * allout-widgets.el (allout-widgets-auto-activation)
3080         (allout-widgets-icons-dark-subdir)
3081         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3082         (allout-widgets-theme-dark-background)
3083         (allout-widgets-theme-light-background)
3084         (allout-widgets-item-image-properties-emacs)
3085         (allout-widgets-item-image-properties-xemacs)
3086         (allout-widgets-run-unit-tests-on-load)
3087         (allout-widgets-time-decoration-activity)
3088         (allout-widgets-hook-error-post-time)
3089         (allout-widgets-track-decoration):
3090         Add missing :version tags to new defcustoms and defgroups.
3092         * progmodes/sql.el (sql-ansi-statement-starters)
3093         (sql-oracle-statement-starters): Add custom type.
3095         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3096         (prolog-system-version): Give it a type.
3098 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
3100         * term/pc-win.el (x-select-text, x-selection-owner-p)
3101         (x-own-selection-internal, x-disown-selection-internal)
3102         (x-get-selection-internal): Sync doc strings and argument lists
3103         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
3105 2012-02-11  Leo Liu  <sdl.web@gmail.com>
3107         * progmodes/python.el (python-end-of-statement): Fix infinite
3108         loop.  (Bug#10788)
3110 2012-02-10  Glenn Morris  <rgm@gnu.org>
3112         * international/mule-cmds.el (unify-8859-on-encoding-mode)
3113         (unify-8859-on-decoding-mode): Properly mark as obsolete.
3115 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
3117         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3118         about SMTP before checking the From header.
3120         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3121         into own function for reuse by emacsbug.el.
3123 2012-02-10  Leo Liu  <sdl.web@gmail.com>
3125         * subr.el (condition-case-unless-debug): Rename from
3126         condition-case-no-debug.  All callers changed.
3127         (with-demoted-errors): Fix caller.
3129         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3130         * nxml/rng-valid.el (rng-do-some-validation):
3131         * emacs-lisp/package.el (package-refresh-contents)
3132         (package-menu-execute):
3133         * desktop.el (desktop-create-buffer):
3134         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3136 2012-02-10  Glenn Morris  <rgm@gnu.org>
3138         * textmodes/bibtex.el:
3139         Add missing :version tags for new/changed defcustoms.
3141         * files.el (remote-file-name-inhibit-cache): Doc fixes.
3143 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
3145         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3146         (smtpmail-via-smtp): Use it, or fall back on the From address.
3147         (smtpmail-send-it): Ditto.
3149 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3151         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3152         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
3153         (byte-compile-tmp-var): New const.
3154         (byte-compile-defvar): Use it to minimize .elc size.
3155         Just use `defvar' rather than simulate it (bug#10761).
3157 2012-02-09  Glenn Morris  <rgm@gnu.org>
3159         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
3161         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3162         Add :version tags.
3164         * progmodes/compile.el (compilation-error-screen-columns)
3165         (compilation-first-column, compilation-filter-start): Doc fixes.
3167         * vc/log-view.el (log-view-toggle-entry-display):
3168         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3170         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3171         (report-emacs-bug-can-use-xdg-email):
3172         (report-emacs-bug-insert-to-mailer): Doc fixes.
3173         (report-emacs-bug): Message fix.
3175         * net/browse-url.el (browse-url-can-use-xdg-open)
3176         (browse-url-xdg-open): Doc fixes.
3178         * electric.el (electric-indent-mode, electric-pair-mode)
3179         (electric-layout-rules, electric-layout-mode): Doc fixes.
3180         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3182 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
3184         * server.el (server-unselect-display): Don't inadvertently kill
3185         the current buffer.  (Bug#10729)
3187 2012-02-08  Glenn Morris  <rgm@gnu.org>
3189         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3190         (sql-list-table): Doc fixes.
3192         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3193         Comment out (does nothing).
3195         * completion.el (dynamic-completion-mode):
3196         * dirtrack.el (dirtrack-debug-mode):
3197         * electric.el (electric-layout-mode):
3198         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3199         * face-remap.el (text-scale-mode, buffer-face-mode):
3200         * iimage.el (iimage-mode):
3201         * image-mode.el (image-transform-mode):
3202         * minibuffer.el (completion-in-region-mode):
3203         * scroll-lock.el (scroll-lock-mode):
3204         * simple.el (next-error-follow-minor-mode):
3205         * tar-mode.el (tar-subfile-mode):
3206         * tooltip.el (tooltip-mode):
3207         * vcursor.el (vcursor-use-vcursor-map):
3208         * wid-browse.el (widget-minor-mode):
3209         * emulation/tpu-edt.el (tpu-edt-mode):
3210         * emulation/tpu-extras.el (tpu-cursor-free-mode):
3211         * international/iso-ascii.el (iso-ascii-mode):
3212         * language/thai-util.el (thai-word-mode):
3213         * mail/supercite.el (sc-minor-mode):
3214         * net/goto-addr.el (goto-address-mode):
3215         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3216         * progmodes/cwarn.el (cwarn-mode):
3217         * progmodes/flymake.el (flymake-mode):
3218         * progmodes/glasses.el (glasses-mode):
3219         * progmodes/hideshow.el (hs-minor-mode):
3220         * progmodes/pascal.el (pascal-outline-mode):
3221         * textmodes/enriched.el (enriched-mode):
3222         * vc/smerge-mode.el (smerge-mode):
3223         Doc fixes (minor mode argument).
3225 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
3227         * ls-lisp.el (ls-lisp-sanitize): New function.
3228         (ls-lisp-insert-directory): Use it to fix or remove any elements
3229         in file-alist with missing attributes.  (Bug#4673)
3231 2012-02-07  Alan Mackenzie  <acm@muc.de>
3233         Fix spurious recognition of c-in-knr-argdecl.
3235         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3236         putative K&R region.
3238 2012-02-07  Alan Mackenzie  <acm@muc.de>
3240         * progmodes/cc-engine.el (c-forward-objc-directive):
3241         Prevent looping in "#pragma mark @implementation".
3243 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
3245         * notifications.el (notifications-on-closed-signal): Make `reason'
3246         optional.  (Bug#10744)
3248 2012-02-07  Glenn Morris  <rgm@gnu.org>
3250         * emacs-lisp/easy-mmode.el (define-minor-mode):
3251         Doc fixes for the macro and the mode it defines.
3253         * image.el (imagemagick-types-inhibit): Doc fix.
3255         * cus-start.el (imagemagick-render-type): Add it.
3257 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
3259         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3260         Set the default at load time, too, so that `font-lock-fontify-buffer'
3261         can be called without setting up the entire mode first.  This fixes
3262         a bug in `mm-inline-text' with C MIME parts.
3264 2012-02-06  Chong Yidong  <cyd@gnu.org>
3266         * simple.el (list-processes--refresh): Delete exited processes
3267         (Bug#8094).
3269         * comint.el (comint-next-prompt): next-single-char-property-change
3270         and prev-single-char-property-change never return nil (Bug#8657).
3272         * custom.el (defcustom): Doc fix (Bug#9711).
3274 2012-02-05  Chong Yidong  <cyd@gnu.org>
3276         * cus-edit.el (custom-variable-reset-backup): Quote the value
3277         before storing it in the customized-value property (Bug#6712).
3278         (custom-display): Add a customization type tag.
3279         (custom-buffer-create-internal): Improve tooltip message.
3281         * wid-edit.el (widget-field-value-get): New optional arg to
3282         suppress trailing whitespace truncation.
3283         (character): Use it (Bug#2689).
3285 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
3287         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3288         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3290 2012-02-05  Chong Yidong  <cyd@gnu.org>
3292         * cus-edit.el (custom-variable-value-create): For mismatched
3293         types, show the current value (Bug#7600).
3295         * custom.el (defcustom): Doc fix.
3297 2012-02-05  Glenn Morris  <rgm@gnu.org>
3299         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3301 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
3303         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3304         (pp-buffer): Use `ignore-errors', `looking-at-p'.
3305         (pp-last-sexp): Use `looking-at-p'.
3307 2012-02-04  Glenn Morris  <rgm@gnu.org>
3309         * files.el (revert-buffer):
3310         Doc fix (mention revert-buffer-in-progress-p).
3312         * emacs-lisp/ert-x.el (ert-simulate-command):
3313         Check deferred-action-list (which is obsolete) is bound.
3315         * subr.el (with-wrapper-hook): Doc fixes.
3317         * simple.el (filter-buffer-substring-functions)
3318         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3320 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
3322         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3323         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
3325 2012-02-04  Leo Liu  <sdl.web@gmail.com>
3327         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3329 2012-02-04  Glenn Morris  <rgm@gnu.org>
3331         * image.el (image-extension-data): Add obsolete alias.
3333         * isearch.el (isearch-update): Doc fix.
3335         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3337         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3339 2012-02-03  Glenn Morris  <rgm@gnu.org>
3341         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
3342         (image-animate-timeout): Doc fix.
3344         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3346 2012-02-02  Glenn Morris  <rgm@gnu.org>
3348         * server.el (server-auth-dir): Doc fix.
3349         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
3351         * subr.el (run-mode-hooks): Doc fix.
3353 2012-02-02  Juri Linkov  <juri@jurta.org>
3355         * image-mode.el (image-toggle-display-image): Remove tautological
3356         `major-mode' from the `derived-mode-p' test.
3358 2012-02-02  Kenichi Handa  <handa@m17n.org>
3360         * composite.el (compose-region): Cancel previous change.
3362 2012-02-02  Kenichi Handa  <handa@m17n.org>
3364         * composite.el (compose-region, compose-string): Signal error for
3365         a null string component (Bug#6988).
3367 2012-02-01  Chong Yidong  <cyd@gnu.org>
3369         * view.el (view-buffer-other-window, view-buffer-other-frame):
3370         Handle special modes like view-buffer (Bug#10650).
3371         (view-buffer): Simplify.
3373         * frame.el (set-frame-font): Tweak meaning of third argument.
3375         * dynamic-setting.el (font-setting-change-default-font):
3376         Use set-frame-font (Bug#9982).
3378 2012-02-01  Glenn Morris  <rgm@gnu.org>
3380         * progmodes/compile.el (compilation-internal-error-properties):
3381         Respect compilation-first-column in the "*compilation*" buffer.
3383         * emacs-lisp/easy-mmode.el (define-minor-mode):
3384         Relax :variable's test for a named function.
3386 2012-01-31  Alan Mackenzie  <acm@muc.de>
3388         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3389         off by one error.
3391 2012-01-31  Chong Yidong  <cyd@gnu.org>
3393         * frame.el (set-frame-font): New arg ALL-FRAMES.
3395         * menu-bar.el (menu-set-font): Use set-frame-font.
3397         * faces.el (face-spec-reset-face): Don't apply unspecified
3398         attribute values to the default face.
3400 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
3402         * progmodes/cwarn.el (cwarn): Remove dead link.
3403         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3404         Remove * from defcustom docstrings.
3405         (turn-on-cwarn-mode): Make obsolete.
3406         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3407         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3409 2012-01-31  Glenn Morris  <rgm@gnu.org>
3411         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3412         Fix :variable handling of mode a symbol not equal to modefun.
3413         Allow named functions to be used as the cdr of :variable.
3415 2012-01-30  Glenn Morris  <rgm@gnu.org>
3417         * emacs-lisp/authors.el (authors-fixed-entries):
3418         Remove reference to deleted file rnewspost.el.
3420 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
3422         * window.el (window-with-parameter): Remove unused variable `windows'.
3423         (window--side-check): Remove unused variable `code'.
3424         (window--resize-siblings): Remove unused variable `first'.
3425         (adjust-window-trailing-edge): Remove unused variable `failed'.
3426         (window-deletable-p, window--delete): Remove unused variable `buffer'.
3427         Use `let', not `let*'.
3428         (balance-windows-2): Remove unused variable `found'.
3429         (window--state-put-2): Remove unused variable `splits'.
3430         (window-state-put): Remove unused variable `selected'.
3431         (same-window-p): Use `string-match-p'.
3432         (display-buffer-assq-regexp): Remove unused variable `value'.
3433         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3434         Mark argument ALIST as ignored.
3435         (pop-to-buffer): Remove unused variable `old-window'.
3437 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
3439         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3440         and .lzma compressed files.
3442 2012-01-29  Chong Yidong  <cyd@gnu.org>
3444         * frame.el (window-system-default-frame-alist): Doc fix.
3446         * dynamic-setting.el (font-setting-change-default-font): Don't
3447         change the default face if SET-FONT argument is non-nil (Bug#9982).
3449 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
3451         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3453 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
3455         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3456         breakpoints in files outside current directory (Bug#6098).
3458 2012-01-29  Chong Yidong  <cyd@gnu.org>
3460         * progmodes/python.el: Require ansi-color at top-level.
3462         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3463         Define and use in Emacs Lisp mode (Bug#9360).
3464         (lisp-mode-abbrev-table): Add doc.
3465         (lisp-mode-variables): Don't set local-abbrev-table.
3466         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3468 2012-01-28  Roland Winkler  <winkler@gnu.org>
3470         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3472 2012-01-28  Roland Winkler  <winkler@gnu.org>
3474         * textmodes/bibtex.el (bibtex-entry-alist): New function.
3475         (bibtex-set-dialect): Use it.  Either set global values of
3476         dialect-dependent variables or bind these variables buffer-locally
3477         (Bug#10254).
3478         (bibtex-mode): Call bibtex-set-dialect via
3479         hack-local-variables-hook.
3480         (bibtex-dialect): Update docstring.
3481         Add safe-local-variable predicate.
3482         (bibtex-entry-alist, bibtex-field-alist): Initialize via
3483         bibtex-set-dialect.
3484         (bibtex-mode-map): Define menu for each dialect.
3485         (bibtex-entry): Fix docstring.
3487 2012-01-28  Chong Yidong  <cyd@gnu.org>
3489         * eshell/esh-arg.el (eshell-quote-argument): New function.
3491         * eshell/esh-ext.el (eshell-invoke-batch-file):
3492         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3493         first arg to eshell-parse-command (Bug#10523).
3495 2012-01-28  Drew Adams  <drew.adams@oracle.com>
3497         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3498         `default-directory' is non-nil.
3500 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
3502         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3503         line that displays system-configuration-options.  (Bug#9924)
3505 2012-01-28  Drew Adams  <drew.adams@oracle.com>
3507         * descr-text.el (describe-char): Show information about POS, in
3508         addition to information about the character at POS.  Improve and
3509         update the doc string.  Change "code point" to "code point in
3510         charset", to avoid confusion with the character's Unicode code
3511         point shown above that.  (Bug#10129)
3513 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
3515         * descr-text.el (describe-char): Show the raw character, not only
3516         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
3517         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3518         for the reasons.
3520 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
3522         * emacs-lisp/package.el (package-install):
3523         Run package-refresh-contents if there is no archive yet (Bug#9798).
3525 2012-01-28  Chong Yidong  <cyd@gnu.org>
3527         * emacs-lisp/package.el (package-maybe-load-descriptor):
3528         New function, split from package-maybe-load-descriptor.
3529         (package-maybe-load-descriptor): Use it.
3530         (package-download-transaction): Fully load required packages
3531         inside the loop, so that `require' calls work (Bug#10593).
3532         (package-install): No need to call package-initialize now.
3534 2012-01-28  Chong Yidong  <cyd@gnu.org>
3536         * simple.el (deactivate-mark): Doc fix (Bug#8614).
3538         * tooltip.el (tooltip-mode): Doc fix.
3539         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3541         * frame.el (set-cursor-color): Doc fix (Bug#352).
3543         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3544         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3546         * cus-edit.el (custom-buffer-create-internal): Fix search button
3547         action (Bug#10542).
3548         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3550 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
3552         * dired.el (dired-mark-files-regexp):
3553         Include any subdirectory components.  (Bug#10445)
3555 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
3557         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3558         Handle [host]:port syntax.  (Bug#10533)
3560 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
3562         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3564 2012-01-26  Glenn Morris  <rgm@gnu.org>
3566         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3567         * term.el (term-raw-escape-map): Use Control-X-prefix.
3568         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
3570 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
3572         * window.el (window-state-get, window--state-get-1): Don't deal
3573         with fixed-sizeness of windows.  Simplify code.
3575 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
3577         * window.el (window--state-get-1, window--state-put-2):
3578         Don't save and restore the mark.
3580 2012-01-25  Chong Yidong  <cyd@gnu.org>
3582         * custom.el (custom-variable-p): Doc fix.
3584 2012-01-25  Glenn Morris  <rgm@gnu.org>
3586         * dired.el (dired-goto-file): Handle some of the more common
3587         characters that `ls -b' escapes.  (Bug#10596)
3589         * progmodes/compile.el (compilation-next-error-function):
3590         Respect compilation-first-column in the "*compilation*" buffer.
3591         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
3593         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
3595 2012-01-24  Glenn Morris  <rgm@gnu.org>
3597         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
3599 2012-01-24  Julien Danjou  <julien@danjou.info>
3601         * color.el (color-rgb-to-hsl): Fix value computing.
3602         (color-hue-to-rgb): New function.
3603         (color-hsl-to-rgb): New function.
3604         (color-clamp, color-saturate-hsl, color-saturate-name)
3605         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3606         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3608 2012-01-24  Glenn Morris  <rgm@gnu.org>
3610         * vc/vc-rcs.el (vc-rcs-create-tag):
3611         * vc/vc-sccs.el (vc-sccs-create-tag):
3612         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
3614 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
3616         * eshell/esh-util.el (eshell-read-hosts-file):
3617         Skip comment lines.  (Bug#10549)
3619         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
3621 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
3623         * subr.el (display-delayed-warnings): Doc fix.
3624         (collapse-delayed-warnings): New function to collapse identical
3625         adjacent warnings.
3626         (delayed-warnings-hook): Add it.
3628 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
3630         * net/tramp.el (tramp-action-login): Set connection property "login-as".
3632         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3633         properties, when "login-as" is set.
3635         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3636         (tramp-default-user-alist): Don't add "pscp".
3637         (tramp-do-copy-or-rename-file-out-of-band): Use connection
3638         property "login-as", if set.  (Bug#10530)
3640 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
3642         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3643         "plink1" and "psftp".  (Bug#10530)
3645 2012-01-21  Kenichi Handa  <handa@m17n.org>
3647         * international/mule-cmds.el (prefer-coding-system): Show a
3648         warning message if the default value of file-name-coding-system
3649         was not changed.
3651 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
3653         * windmove.el (windmove-reference-loc):
3654         Fix windmove-reference-loc miscalculation.
3656 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
3658         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3659         default unit.
3661 2012-01-21  Glenn Morris  <rgm@gnu.org>
3663         * international/mule.el (auto-coding-alist): Add .tbz.
3665         * files.el (local-enable-local-variables): Doc fix.
3666         (inhibit-local-variables-regexps): Rename from
3667         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
3668         Doc fix.  Add some extensions from auto-coding-alist.
3669         (inhibit-local-variables-suffixes):
3670         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
3671         (inhibit-local-variables-p):
3672         New function, extracted from set-auto-mode-1.
3673         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
3674         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
3675         (hack-local-variables): Doc fix.  Make the mode-only case
3676         respect enable-local-variables and friends.
3677         Respect inhibit-local-variables-regexps for file-locals, but
3678         not for directory-locals.
3679         (set-visited-file-name):
3680         Take account of inhibit-local-variables-regexps.
3681         Whether it applies may change as the file name is changed.
3682         * jka-cmpr-hook.el (jka-compr-install):
3683         * jka-compr.el (jka-compr-uninstall):
3684         Update for inhibit-first-line-modes-suffixes name change.
3686 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
3688         * help-macro.el (make-help-screen): Temporarily restore original
3689         binding for minor-mode-map-alist (Bug#10454).
3691 2012-01-19  Julien Danjou  <julien@danjou.info>
3693         * color.el (color-name-to-rgb): Use the white color to find the max
3694         color component value and return correctly computed values.
3695         (color-name-to-rgb): Add missing float conversion for max value.
3697 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
3699         * window.el (window--state-get-1, window-state-get): Do not use
3700         special state value for window-persistent-parameters.
3701         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
3702         (window--state-put-2): Reset all window parameters to nil before
3703         assigning values of persistent parameters.
3705 2012-01-18  Alan Mackenzie  <acm@muc.de>
3707         Eliminate sluggishness and hangs in fontification of "semicolon
3708         deserts".
3710         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3711         Change value 10000 -> 3000.
3712         (c-state-safe-place): Reformulate so it doesn't stack up an
3713         infinite number of wrong entries in c-state-nonlit-pos-cache.
3714         (c-determine-limit-get-base, c-determine-limit): New functions to
3715         determine backward search limits disregarding literals.
3716         (c-find-decl-spots): Amend commenting.
3717         (c-cheap-inside-bracelist-p): New function which detects "={".
3719         * progmodes/cc-fonts.el
3720         (c-make-font-lock-BO-decl-search-function): Give a limit to a
3721         backward search.
3722         (c-font-lock-declarations): Fix an occurrence of point being
3723         undefined.  Check additionally for point being in a bracelist or
3724         near a macro invocation without a semicolon so as to avoid a
3725         fruitless time consuming search for a declarator.  Give a more
3726         precise search limit for declarators using the new
3727         c-determine-limit.
3729 2012-01-18  Glenn Morris  <rgm@gnu.org>
3731         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3732         (set-auto-mode): Doc fixes.
3734 2012-01-17  Glenn Morris  <rgm@gnu.org>
3736         * isearch.el (search-nonincremental-instead): Fix doc typo.
3738         * dired.el (dired-insert-directory): Handle newlines in directory name.
3739         (dired-build-subdir-alist): Unescape newlines in directory name.
3741 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
3743         * net/tramp.el (tramp-local-end-of-line): New defcustom.
3744         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3745         (tramp-action-terminal): Use it.  (Bug#10530)
3747 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3749         * minibuffer.el (completion--replace): Strip properties (bug#10062).
3751 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
3753         * window.el (window-state-ignored-parameters): Remove variable.
3754         (window--state-get-1): Rename argument MARKERS to IGNORE.
3755         Handle persistent window parameters.  Make copy of clone-of
3756         parameter only if requested.  (Bug#10348)
3757         (window--state-put-2): Install a window parameter only if it has
3758         a non-nil value or an existing parameter shall be overwritten.
3760 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
3762         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3764 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
3766         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3767         don't pass the (nil) value of `upnode' to string-match.
3769 2012-01-14  Chong Yidong  <cyd@gnu.org>
3771         * startup.el (command-line): Fix X resource class for cursorColor.
3772         Fix values recognized by the cursorBlink resource.
3774 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
3776         * epg.el (epg--make-temp-file): Avoid permission race condition
3777         when running on old Emacs versions (bug#10403).
3779 2012-01-14  Glenn Morris  <rgm@gnu.org>
3781         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3783 2012-01-13  Alan Mackenzie  <acm@muc.de>
3785         Fix filling for when filladapt mode is enabled.
3787         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3788         c-mask-paragraph, pass in `fill-paragraph' rather than
3789         `fill-region-as-paragraph'.  (This is a reversion of a previous
3790         change.)
3791         * progmodes/cc-mode.el (c-basic-common-init):
3792         Make fill-paragraph-handle-comment buffer local and set it to nil.
3794 2012-01-13  Glenn Morris  <rgm@gnu.org>
3796         * dired.el (dired-switches-escape-p): New function.
3797         (dired-insert-directory): Use dired-switches-escape-p.
3798         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
3800         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
3802 2012-01-12  Glenn Morris  <rgm@gnu.org>
3804         * mail/sendmail.el (mail-mode): Update paragraph-separate for
3805         changes in adaptive-fill-regexp.  (Bug#10276)
3807 2012-01-11  Alan Mackenzie  <acm@muc.de>
3809         Fix Emacs bug #10463 - put `widen's around the critical spots.
3811         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3812         widen around each invocation of c-state-pp-to-literal.  Remove an
3813         unused let variable.
3815 2012-01-11  Glenn Morris  <rgm@gnu.org>
3817         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
3818         Doc fix.
3820 2012-01-10  Chong Yidong  <cyd@gnu.org>
3822         * net/network-stream.el (network-stream-open-starttls):
3823         Avoid emitting a confusing error message when the server gives a bad
3824         response to the capability command.
3826 2012-01-10  Glenn Morris  <rgm@gnu.org>
3828         * mail/unrmail.el (unrmail): Tweak previous change.
3830 2012-01-09  Chong Yidong  <cyd@gnu.org>
3832         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3834 2012-01-08  Alan Mackenzie  <acm@muc.de>
3836         Optimise font locking in long enum definitions.
3838         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3839         arm to a cond form to handle enums.
3840         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3841         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3843 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3845         * files.el (move-file-to-trash): Preserve default file modes on error.
3846         (Bug#10401)
3848 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3850         * faces.el (set-face-attribute): Clarify the meaning of the nil
3851         frame (bug#10294).
3853         * subr.el (with-selected-frame): Mention that the selected frame
3854         is restored (bug#9980).
3856         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3857         (bug#9759).
3859         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3860         (password-read): Don't autoload unused function.
3862 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
3864         * progmodes/which-func.el (which-func-mode): Turn into a
3865         non-interactive function and mark as obsolete (bug#10428).
3867 2012-01-06  Chong Yidong  <cyd@gnu.org>
3869         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3870         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3871         functions, along with 1 and -1.
3873 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
3875         * time.el (display-time-load-average)
3876         (display-time-default-load-average): Doc fixes.  See the thread
3877         starting at
3878         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3879         for the details.
3881 2012-01-06  Glenn Morris  <rgm@gnu.org>
3883         * mail/unrmail.el (unrmail): Give an explicit error if the input file
3884         has no messages.  (Bug#10377)
3886         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3887         than Info-edit.  (Bug#10385)
3889         * time.el (display-time-load-average, display-time-next-load-average):
3890         Doc fixes.
3892         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3893         local setting of buffer-read-only to the input buffer.  (Bug#10419)
3895         * calendar/calendar.el (calendar-mode):
3896         Locally set scroll-margin to 0.  (Bug#10379)
3898 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
3900         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
3902 2012-01-05  Glenn Morris  <rgm@gnu.org>
3904         * eshell/em-unix.el (diff-no-select): Autoload it.
3905         (eshell/diff): Use diff-no-select.  (Bug#10420)
3907 2012-01-05  Chong Yidong  <cyd@gnu.org>
3909         * shell.el (shell-dynamic-complete-functions): Revert last change.
3910         (shell-command-completion-function): New function.
3911         (shell-completion-vars): Use it to implement
3912         shell-completion-execonly (Bug#10417).
3914         * custom.el (enable-theme): Don't set custom-safe-themes.
3916         * cus-theme.el (custom-theme-merge-theme):
3917         Ignore custom-enabled-themes and custom-safe-themes.
3919 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
3921         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3922         first prompt in `sql-interacive-mode'.
3923         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3924         keywords.
3925         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3926         (sql-product-interactive): Bug fix: Set `sql-buffer' in
3927         context of original buffer.  Invoke `sql-login-hook'.
3929 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
3931         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3932         letters in cite-prefix.
3934 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3936         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3938 2012-01-03  Chong Yidong  <cyd@gnu.org>
3940         * shell.el (shell-dynamic-complete-functions):
3941         Put pcomplete-completions-at-point, so as to try
3942         comint-filename-completion first (Bug#10417).
3944 2012-01-02  Richard Stallman  <rms@gnu.org>
3946         * battery.el (battery-status-function):
3947         Detect when to use battery-yeeloong-sysfs.
3948         (battery-echo-area-format): Add string for Yeeloong.
3949         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3950         (battery-yeeloong-sysfs): New function.
3952 2012-01-02  Chong Yidong  <cyd@gnu.org>
3954         * dirtrack.el (dirtrack-list): Eliminate unused third element.
3955         (dirtrack): Merge code for handling relative filenames in prompt
3956         from shell-dir-cookie-watcher.
3957         (dirtrack-debug-message): New arg to avoid excess format calls.
3959         * shell.el (shell-dir-cookie-re): Variable deleted.
3960         (shell-dir-cookie-watcher): Function deleted.
3961         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3962         with dirtrack-mode.
3964 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
3966         * term/w32-win.el (dynamic-library-alist) <gnutls>:
3967         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3968         libgnutls-26.dll.
3970 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
3972         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3974 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
3976         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3977         headers of non-MIME messages, when rmail-enable-mime is non-nil.
3979 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
3981         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3982         also for alternative shells.
3983         (tramp-open-connection-setup-interactive-shell): Check, whether
3984         the shell is a busybox.
3985         (tramp-send-command): Don't suppress multiple prompts for
3986         busyboxes, it hurts.
3988 2011-12-28  Chong Yidong  <cyd@gnu.org>
3990         * progmodes/gdb-mi.el (gdb-get-source-file-list)
3991         (gdb-get-source-file): Move mode line update to
3992         gdb-get-source-file (Bug#10087).
3994 2011-12-25  Chong Yidong  <cyd@gnu.org>
3996         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3997         gud-gdb-marker-filter without taking it as an argument.
3998         (gud-gdb-run-command-fetch-lines): Caller changed.
3999         (gud-gdb-completion-function): New variable.
4000         (gud-gdb-completion-at-point): Use it.
4001         (gud-gdb-completions-1): Split from gud-gdb-completions.
4003         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4004         function as separate arguments.
4005         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4006         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4007         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4008         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4009         (gdb-stopped, def-gdb-auto-update-trigger)
4010         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4011         (gdb-get-changed-registers, gdb-get-main-selected-frame):
4012         Callers changed.
4013         (gud-gdbmi-completions): New function.
4014         (gdb): Use it for generating the completion table.
4016 2011-12-24  Alan Mackenzie  <acm@muc.de>
4018         Introduce a mechanism to widen the region used in context font
4019         locking.  Use this to protect declarations from losing their contexts.
4021         * progmodes/cc-langs.el (c-before-font-lock-functions):
4022         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4023         (c-before-context-fontification-functions): New defvar, a list of
4024         functions to be run just before context (etc.) font locking.
4026         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4027         New, functionality extracted from
4028         c-neutralize-syntax-in-and-mark-CPP.
4029         (c-in-after-change-fontification): New variable.
4030         (c-after-change): Set c-in-after-change-fontification.
4031         (c-set-fl-decl-start): Rejig its interface, so it can be called
4032         from both after-change and context fontifying.
4033         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4034         New functions.
4035         (c-standard-font-lock-fontify-region-function): New variable.
4036         (c-font-lock-fontify-region): New function.
4038 2011-12-24  Juri Linkov  <juri@jurta.org>
4040         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4041         (Bug#10348)
4043 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
4045         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4046         existence of source file.  (Bug#10325)
4048 2011-12-23  Alan Mackenzie  <acm@muc.de>
4050         Fix unstable fontification inside templates.
4052         * progmodes/cc-langs.el (c-before-font-lock-functions):
4053         Newly created from the singular version.  The (c c++ objc) entry now
4054         additionally has c-set-fl-decl-start.  The other languages (apart
4055         from AWK) have that as a single entry.
4057         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4058         The functionality for "local" declarations has been extracted to
4059         c-set-fl-decl-start.
4061         * progmodes/cc-mode.el (c-common-init, c-after-change):
4062         Changes due to pluralisation of c-before-font-lock-functions.
4063         (c-set-fl-decl-start): New function, extracted from
4064         c-font-lock-enclosing-decls and enhanced.
4066 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
4068         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4070 2011-12-22  Juri Linkov  <juri@jurta.org>
4072         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
4074 2011-12-22  Chong Yidong  <cyd@gnu.org>
4076         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4078 2011-12-21  Drew Adams  <drew.adams@oracle.com>
4080         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
4082 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
4084         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4086 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
4088         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
4089         highlighting and support.  Fix up comments for capitalization.
4090         (cfengine-mode-debug): New var.
4091         (cfengine3-mode): Change the modeline indicator to "CFE3".
4092         (cfengine3-font-lock-keywords): Improve defun highlighting.
4093         (cfengine2-actions): Rename from `cfengine-actions'.
4094         (cfengine2-font-lock-keywords): Rename from
4095         `cfengine-font-lock-keywords'.
4096         (cfengine2-imenu-expression): Rename from
4097         `cfengine-imenu-expression'.
4098         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4099         (cfengine2-beginning-of-defun): Rename from
4100         `cfengine-beginning-of-defun'.
4101         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4102         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4103         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
4104         modeline indicator to "CFE2".
4105         (cfengine-mode): Defalias to `cfengine-auto-mode'.
4106         (cfengine-mode-abbrevs): Mark obsolete.
4108 2011-12-21  Chong Yidong  <cyd@gnu.org>
4110         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4111         filename argument.
4113 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
4115         * window.el (window-normalize-buffer-to-display): Remove.
4116         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4118 2011-12-19  Chong Yidong  <cyd@gnu.org>
4120         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4121         Don't signal an error in a predicate function; return non-nil.
4122         (vc-dir-mark-file): Move the error here.
4123         (vc-dir-mark-unmark): If acting on the region, keep going if one
4124         of the entries cannot be marked/unmarked.
4125         (vc-dir-mark-all-files): If current entry is a directory, mark
4126         only child files, as documented.
4128 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4130         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4131         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4132         addition.
4134 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
4136         * term/ns-win.el (ns-get-selection-internal)
4137         (ns-store-selection-internal): Declare.
4138         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4139         Declare as obsolete.
4140         (ns-get-pasteboard, ns-paste-secondary):
4141         Use ns-get-selection-internal.
4142         (ns-set-pasteboard,  ns-copy-including-secondary):
4143         Use ns-store-selection-internal.
4145 2011-12-17  Chong Yidong  <cyd@gnu.org>
4147         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4148         (vc-deduce-fileset): Doc fix.
4150 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
4152         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4154 2011-12-13  Sam Steingold  <sds@gnu.org>
4156         * man.el (Man-getpage-in-background): When running under a
4157         window-system, ignore $MANWIDTH and $COLUMNS.
4159 2011-12-15  Kenichi Handa  <handa@m17n.org>
4161         * language/ethio-util.el: Change coding tag to utf-8-emacs.
4162         (setup-ethiopic-environment-internal): Comment out key-binding for
4163         ethio-toggle-punctuation.
4165 2011-12-13  Alan Mackenzie  <acm@muc.de>
4167         Add the switch statement to AWK Mode.
4169         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4170         "default" to the keywords regexp.
4172         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4173         expression as the rest.
4174         (c-nonlabel-token-key): Allow string literals for AWK.
4175         Refactor for the other modes.
4177         Large brace-block initialisation makes CC Mode slow: Fix.
4178         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4179         routines.  Limit backward searching in c-font-lock-enclosing.decl.
4181         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4182         pp-state and literal type in addition to the limits.
4183         (c-state-safe-place): New defun, extracted from c-state-literal-at.
4184         (c-state-literal-at): Use the above new defun.
4185         (c-slow-in-literal, c-fast-in-literal): Remove.
4186         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4188         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4189         being in a literal.  Add a limit for backward searching.
4191         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4192         c-slow-in-literal.
4194 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4196         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4198 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
4200         * window.el (delete-other-windows): Use correct frame in call to
4201         window-with-parameter.
4203 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
4205         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4206         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4207         (makefile-gmake-statements, makefile-makepp-statements):
4208         Use it and add new makepp keywords.
4209         (makefile-makepp-font-lock-keywords): Add new patterns.
4210         (makefile-match-function-end): Match new [...] and [[...]].
4212 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
4214         * ses.el (ses-call-printer-return, ses-cell-property-get)
4215         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4216         (ses-create-cell-variable, ses-reset-header-string)
4217         (ses-cell-set-formula, ses-repair-cell-reference-all)
4218         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4219         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4220         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4221         (ses-aset-with-undo, ses-load, ses-truncate-cell)
4222         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4223         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4224         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4225         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4226         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4227         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4228         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4229         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4231 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4233         * ses.el: The overall change is to add cell renaming, that is
4234         setting fancy names for cell symbols other than name matching
4235         "\\`[A-Z]+[0-9]+\\'" regexp .
4236         (ses-create-cell-variable): New defun.
4237         (ses-relocate-formula): Relocate formulas only for cells the
4238         symbols of which are not renamed, i.e. symbols whose names do not
4239         match regexp "\\`[A-Z]+[0-9]+\\'".
4240         (ses-relocate-all): Relocate values only for cells the symbols of
4241         which are not renamed.
4242         (ses-load): Create cells variables as the (ses-cell ...) are read,
4243         in order to check row col consistency with cell symbol name only
4244         for cells that are not renamed.
4245         (ses-replace-name-in-formula): New defun.
4246         (ses-rename-cell): New defun.
4248 2011-12-11  Chong Yidong  <cyd@gnu.org>
4250         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4251         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4253 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
4255         * window.el (other-window): Fix docstring.
4257 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
4259         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4260         `from' or `to' address before taking its substring.
4261         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4262         encoded name is chopped in the middle of the encoded string, and
4263         thus displayed encoded.
4265 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
4267         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4269 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
4271         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
4272         to use texinfo-update-node and commands that call it if the
4273         Texinfo file uses @node lines without next/prev/up pointers.
4274         Correct outdated description about texinfo-master-menu.
4275         (texinfo-all-menus-update, texinfo-master-menu)
4276         (texinfo-update-node, texinfo-every-node-update)
4277         (texinfo-multiple-files-update): Doc fix.  Warn against updating
4278         all the @node lines.
4279         (texinfo-master-menu): Only call texinfo-update-node if the prefix
4280         argument is numeric.  Explain better in the doc string what the
4281         function really does.
4282         (texinfo-insert-master-menu-list): Improve the error message
4283         displayed if there's no menu in the Top node.
4284         (Bug#2975)  See also this thread:
4285         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4287 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
4289         * speedbar.el (speedbar-supported-extension-expressions):
4290         Add .adb and .ads, commonly used for Ada source code (bug#10256).
4292 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
4294         * printing.el (pr-mode-alist):
4295         * simple.el (filter-buffer-substring-functions)
4296         (completion-list-insert-choice-function):
4297         * window.el (window-with-parameter, window-atom-root)
4298         (window-sides-slots, window-size-fixed, window-min-delta)
4299         (window-max-delta, window--resize-mini-window)
4300         (window--resize-child-windows-normal, window-tree)
4301         (delete-other-windows, quit-window, split-window)
4302         (display-buffer-record-window, special-display-buffer-names)
4303         (special-display-regexps, special-display-popup-frame)
4304         (same-window-p, split-window-sensibly)
4305         (display-buffer-overriding-action, display-buffer-alist)
4306         (display-buffer-base-action, display-buffer, switch-to-buffer)
4307         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4308         (fit-window-to-buffer, recenter-positions)
4309         (mouse-autoselect-window-state, mouse-autoselect-window-select):
4310         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4311         and remove unneeded backslashes in docstrings.
4313 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4315         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4317         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4318         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4319         end in ".mk".
4320         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4321         when reading the makefile (bug#10116).
4323 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4325         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4326         (bug#10116).
4328 2011-12-06  Glenn Morris  <rgm@gnu.org>
4330         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4332 2011-12-06  Chong Yidong  <cyd@gnu.org>
4334         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4336 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
4338         * textmodes/table.el (table-shorten-cell): Fix typo.
4340 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
4342         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4344 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
4346         * descr-text.el (describe-char): Fix display of strong
4347         right-to-left characters and directional embeddings and overrides.
4349         * simple.el (what-cursor-position): Fix display of codepoints of
4350         strong right-to-left characters.
4352 2011-12-05  Chong Yidong  <cyd@gnu.org>
4354         * faces.el (read-color): Doc fix.
4356 2011-12-05  Glenn Morris  <rgm@gnu.org>
4358         * align.el (align--set-marker): Add doc-string.
4359         Don't try to move something that is not a marker.  (Bug#10216)
4361 2011-12-04  Glenn Morris  <rgm@gnu.org>
4363         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4364         overly zealous deletion of trailing whitespace.
4366 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
4368         * server.el (server-delete-client): On Windows, do not try to delete
4369         the only terminal.
4370         (server-process-filter): On Windows, treat requests for a tty frame as
4371         if they were for a GUI frame if the running server is in GUI mode.
4373 2011-12-03  Glenn Morris  <rgm@gnu.org>
4375         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
4377 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4379         * electric.el: Streamline electric-indent's hook.
4380         (electric-indent-chars): Revert to simple list.
4381         (electric-indent-functions): New var.
4382         (electric-indent-post-self-insert-function): Use it.
4384         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4385         there's no inferior buffer (bug#10196).
4386         (prolog-consult-compile): Don't use toggle-read-only.
4388 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
4390         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4391         interrupt.  (Bug#10187)
4393 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4395         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4396         (bug#9160).
4398         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4399         (bug#10191).
4401 2011-12-02  Juri Linkov  <juri@jurta.org>
4403         * info.el (Info-search): Display "end of manual" when Isearch
4404         reaches the end of single-file Info manual.  (Bug#9918)
4406 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
4408         * isearch.el (isearch-message-prefix): Run the input method part
4409         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
4411 2011-12-02  Juri Linkov  <juri@jurta.org>
4413         * isearch.el (isearch-occur): Use `word-search-regexp' for
4414         `isearch-word'.
4415         (isearch-search-and-update): Add condition for `isearch-word' and
4416         call `word-search-regexp'.  (Bug#10145)
4418 2011-12-01  Glenn Morris  <rgm@gnu.org>
4420         * eshell/em-hist.el (eshell-hist-initialize):
4421         Handle eshell-history-size nil and HISTSIZE set or unset.
4422         (eshell-history-file-name, eshell-history-size): Fix custom type.
4424 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4426         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4428 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
4430         * progmodes/verilog-mode.el (verilog-pretty-expr):
4431         Rework verilog-pretty-expr to handle new assignment operators in system
4432         verilog, such as += *= and the like.
4433         (verilog-assignment-operator-re): Regular expression to find the
4434         assigment operator in a verilog assignment.
4435         (verilog-assignment-operation-re): Regular expression to find an
4436         assignment statement for pretty-expr.
4437         (verilog-in-attribute-p): Query returns true if point is in an
4438         attribute context; used to skip these for expression line up from
4439         pretty-expr.
4440         (verilog-in-parameter-p): Query returns true if point is in an
4441         parameter definition context; used to skip these for expression
4442         line up from pretty-expr.
4443         (verilog-in-parenthesis-p): Query returns true if point is in a
4444         parenthetical expression, specifically ( ) but not [ ] or { };
4445         used by pretty-expr.
4446         (verilog-just-one-space): If there is no space, don't add one.
4447         (verilog-get-lineup-indent-2): Specifically skip just attribute
4448         contexts for expression lineup, rather than skipping all
4449         parenthetical expressions.
4450         (verilog-calculate-indent): Fix comment, and fix indent.
4451         (verilog-do-indent): Indent declarations in lists (suggested by
4452         Joachim Lechner).
4453         (verilog-mode-abbrev-table): Populate abbrev mode with the various
4454         skeleton items.
4455         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4456         by Alain Mellan).
4458 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
4460         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4461         parameters with embedded comments.  Reported by Ray Stevens.
4462         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4463         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4464         Reported by Tim Holt.
4465         (verilog-auto): Fix AUTOing a upper module then AUTOing module
4466         instantiated by upper module causing wrong expansion until AUTOed a
4467         second time.  Reported by K C Buckenmaier.
4468         (verilog-diff-auto): Fix showing .* as a difference when
4469         `verilog-auto-star-save' off.  Reported by Dan Dever.
4470         (verilog-auto-reset, verilog-read-always-signals)
4471         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4472         temporary signals in reset list if
4473         verilog-auto-reset-blocking-in-non is nil, and match assignment
4474         style to each signal's assignment type, bug381.
4475         Reported by Thomas Esposito.
4476         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4477         (verilog-uvm-statement-re): Support UVM indentation and
4478         highlighting, with old OVM keywords only.
4479         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4480         Support AUTOTIEOFF creating non-wire data types.
4481         Suggested by Jonathan Greenlaw.
4482         (verilog-auto-insert-lisp, verilog-delete-to-paren)
4483         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4484         (verilog-inject-sense, verilog-read-inst-pins)
4485         (verilog-read-sub-decls, verilog-read-sub-decls-line):
4486         Fix mismatching parenthesis inside commented out code when deleting
4487         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
4488         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4489         non-numeric vector width.  Reported by Alex Reed.
4490         (verilog-auto-ascii-enum): Add "onehot" option to work around not
4491         detecting signals with parameter widths.  Reported by Alex Reed.
4492         (verilog-auto-delete-trailing-whitespace):
4493         With `verilog-auto-delete-trailing-whitespace' remove trailing
4494         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
4495         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4496         Fix verilog-scan-cache corruption when running user AUTO expansion
4497         hooks that call indentation routines.
4498         (verilog-simplify-range-expression): Fix typo ignoring lower case
4499         identifiers.
4500         (verilog-delete-auto): Fix delete-autos to also remove user created
4501         automatics, as long as they start with AUTO.
4502         (verilog-batch-diff-auto, verilog-diff-auto)
4503         (verilog-diff-function): Add `verilog-diff-auto' and bind to
4504         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
4505         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4506         (verilog-in-paren-quick, verilog-re-search-backward-quick)
4507         (verilog-re-search-forward-quick, verilog-syntax-ppss):
4508         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4509         is disabled and its cache will get corrupt, causing AUTOS not to
4510         expand.  Instead use only -quick functions.
4511         (verilog-scan-region): Fix scanning over escaped quotes.
4512         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4513         (verilog-re-search-backward-quick)
4514         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4515         related functions now ignore strings, to fix misparsing of strings
4516         with magic comments embedded in them.
4517         (verilog-read-auto-template):
4518         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4519         Reported by Brad Dobbie.
4520         (verilog-read-auto-template):
4521         Fix 'verilog-auto-inst-template-numbers' with comments.
4522         Reported by Brad Dobbie.
4523         (verilog-auto-inst, verilog-auto-inst-param)
4524         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4525         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
4526         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4527         debugging templates without merge conflicts, bug357.
4528         Reported by Brad Dobbie.
4529         (verilog-read-auto-template):
4530         Fix verilog-auto-inst-template-numbers with multiple templates.
4531         Reported by Brad Dobbie.
4532         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4533         abbrevs so user won't be asked to save.
4534         (verilog-read-auto-lisp-present): Fix to start at beginning of
4535         buffer in case called outside of verilog-auto.
4536         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4537         to "X-2".  Reported by Matthew Myers.
4538         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4539         all inputs from module templates.  Reported by Leith Johnson.
4540         (verilog-module-inside-filename-p): Fix locating programs as with
4541         modules.
4542         (verilog-auto-inst-port): Fix vl-width expressions when using
4543         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
4544         (verilog-decls-get-regs, verilog-decls-get-signals,
4545         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4546         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4547         verilog-read-decls): Combine reg and wire structures into one var
4548         structure to represent SystemVerilog concepts.
4549         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4550         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4551         (verilog-auto-wire-type, verilog-insert-definition):
4552         Add verilog-auto-wire-type and AUTOLOGIC to support using
4553         SystemVerilog "logic" keyword instead of "wire"/"reg".
4554         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4555         to declares outputs that also have assignments (presumably in an
4556         ifdef or generate if so there's not a driver conflict).
4557         Reported by Matthew Myers.
4558         (verilog-auto-declare-nettype, verilog-insert-definition):
4559         Add verilog-auto-declare-nettype to fix declarations using
4560         `default_nettype none.  Reported by Julian Gorfajn.
4561         (verilog-read-always-signals-recurse, verilog-read-decls)
4562         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4563         malformed end statement, bug325.  Reported by Joshua Wise and
4564         Andrew Drake.
4565         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4566         (verilog-inst-comment-re): Fix not deleting Interfaced comment
4567         when expanding .* in interfaces, bug320.
4568         Reported by Pierre-David Pfister.
4569         (verilog-read-module-name): Fix import statements between module
4570         name and open parenthesis, bug317.
4571         Reported by Pierre-David Pfister.
4572         (verilog-simplify-range-expression): Fix simplification of
4573         multiplications inside AUTOWIRE connections, bug303.
4574         (verilog-auto-inst-port): Support parameter expansion in
4575         multidimensional arrays.
4576         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4577         after "assert property".  Reported by Julian Gorfajn.
4578         (verilog-simplify-range-expression): Fix "couldn't merge" errors
4579         with multiplication, bug303.
4580         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4581         Reported by Jan Frode Lonnum.
4583 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
4585         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4586         (hfy-shell-file-name, hfy-shell):
4587         * international/fontset.el (x-decompose-font-name): Fix typos.
4589 2011-11-29  Ken Brown  <kbrown@cornell.edu>
4591         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4592         (gdb-version): Remove defvar.
4593         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4594         (gdb-gud-context-command, gdb-non-stop-handler)
4595         (gdb-current-context-command, gdb-stopped): Use it.
4596         (gdb-init-1): Enable pretty printing here.
4597         (gdb-non-stop-handler): Don't enable pretty-printing here.
4598         Check to see if the target supports non-stop mode; if not, turn off
4599         non-stop mode.  Use the following.
4600         (gdb-check-target-async): New defun.
4601         (gud-watch, gdb-stopped): Fix whitespace.
4602         (gdb-get-source-file): Don't try to display the source file if
4603         `gdb-main-file' is nil.
4605 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4607         * align.el: Try to generate fewer markers (bug#10047).
4608         (align--set-marker): New macro.
4609         (align-region): Use it.
4611 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4613         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4615 2011-11-29  Chong Yidong  <cyd@gnu.org>
4617         * indent.el (indent-for-tab-command, indent-according-to-mode):
4618         Doc fix.
4619         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
4621 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
4623         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4624         aware of remote file names.  (Bug#10124)
4626 2011-11-29  Chong Yidong  <cyd@gnu.org>
4628         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4630 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4632         * files.el (find-file): Don't use force-same-window (bug#10144).
4633         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4634         use pop-to-buffer if the selected window can't be used.
4635         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4637 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
4639         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4640         special-mode-map.
4642 2011-11-28  Chong Yidong  <cyd@gnu.org>
4644         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4646 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
4648         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4649           gdb-get-source-file-list on gdb-create-source-file-list.
4651 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
4653         * whitespace.el (whitespace-newline): Use a different foreground
4654         color for 16-color light-background displays.
4656 2011-11-24  Chong Yidong  <cyd@gnu.org>
4658         * window.el (display-buffer--special-action): Doc fix.
4660 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
4662         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4663         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4664         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4665         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4666         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4667         (avl-tree-stack-first):
4668         * emacs-lisp/cconv.el (cconv--analyse-use):
4669         * net/gnutls.el (gnutls-negotiate): Fix typos.
4671 2011-11-24  Glenn Morris  <rgm@gnu.org>
4673         * lpr.el (lpr-windows-system, lpr-lp-system):
4674         * mail/binhex.el (binhex-begin-line):
4675         * progmodes/grep.el (grep-history, grep-find-history):
4676         * textmodes/flyspell.el:
4677         * vc/pcvs-defs.el (cvs-global-menu):
4678         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4679         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4680         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4682         * net/tls.el: Fix case of "GnuTLS".
4684         * paths.el (rmail-file-name): Format doc-string for make-docfile.
4686         * version.el (emacs-build-system): Give it a doc-string.
4688 2011-11-24  Juri Linkov  <juri@jurta.org>
4690         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4692 2011-11-24  Glenn Morris  <rgm@gnu.org>
4694         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4695         if called on a non-mime message just toggle the headers.  (Bug#8006)
4697 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
4699         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4700         (allout-lead-with-comment-string, allout-structure-deleted-hook)
4701         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4702         (allout-rebullet-heading, allout-open-sibtopic)
4703         (allout-toggle-current-subtree-encryption)
4704         (allout-toggle-subtree-encryption, allout-encrypt-string)
4705         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4706         (allout-distinctive-bullets-string, allout-auto-activation):
4707         * window.el (window-normalize-buffer-to-display):
4708         * progmodes/verilog-mode.el (verilog-batch-indent):
4709         * textmodes/bibtex.el (bibtex-field-braces-opt)
4710         (bibtex-field-strings-opt):
4711         * vc/cvs-status.el (cvs-tree-merge):
4712         Fix typos.
4714 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
4716         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4717         `non-essential' to t, in order to avoid remote connections.
4719 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
4721         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4722         On MS-DOS and MS-Windows, compare with loaddefs.el
4723         case-insensitively.
4725 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4727         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
4729 2011-11-23  Glenn Morris  <rgm@gnu.org>
4731         * paths.el (rmail-file-name): Reformat the doc-string so that it
4732         is picked up.
4734         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4735         (rmail-auto-file): Ignore case in the "special" field names,
4736         as mail-fetch-field does for all others.
4738         * mail/rmail.el (rmail-forward):
4739         * mail/rmailkwd.el (rmail-set-label):
4740         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4741         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
4743         * mail/rmail.el (rmail-current-message): Doc fix.
4745         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
4747 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4749         * server.el (server-eval-and-print): Allow C-g (bug#6585).
4751 2011-11-22  Glenn Morris  <rgm@gnu.org>
4753         * mail/rmailmm.el (test-rmail-mime-handler)
4754         (test-rmail-mime-bulk-handler)
4755         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4757 2011-11-21  Juri Linkov  <juri@jurta.org>
4759         * calc/calc.el (calc-read-key-sequence):
4760         Let-bind `input-method-function' to nil.  (Bug#10018)
4762 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4764         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4765         Tell the caller that the next line needs recomputation, even
4766         though it doesn't start a sexp (bug#10094).
4768 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4770         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4772 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4774         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4775         Use force-same-window.
4777 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
4779         * descr-text.el (describe-char-unicode-data):
4780         * json.el (json-string-escape):
4781         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4782         (Footnote-unicode, Footnote-style-p):
4783         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4785 2011-11-20  Chong Yidong  <cyd@gnu.org>
4787         * window.el (replace-buffer-in-windows): Restore interactive spec.
4789 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4791         * electric.el (electric-indent-mode): Fix last change (too optimistic).
4793         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4794         (byte-compile-global-not-obsolete-vars): New var.
4795         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4796         Use it.
4797         (byte-compile-warn-obsolete): Align text with the one in *Help*.
4799 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
4801         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4802         * progmodes/pascal.el (electric-pascal-equal):
4803         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4804         * xml.el (xml-substitute-special): Fix typos.
4806 2011-11-20  Glenn Morris  <rgm@gnu.org>
4808         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4809         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4810         Doc fixes.
4811         (rmail-decode-mime-charset): Mark as obsolete.
4813         * mail/rmailsum.el (rmail-message-regexp-p-1):
4814         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4815         Before using mime functions, check they are set.  (Bug#10077)
4817 2011-11-19  Juri Linkov  <juri@jurta.org>
4819         * info.el (Info-finder-find-node): Use `package--builtins' instead
4820         of `package-alist'.  Use node names formed by the pattern "Keyword "
4821         and the keyword name.
4823 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4825         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4827 2011-11-19  Juri Linkov  <juri@jurta.org>
4829         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4830         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
4831         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4832         `old-history', `old-history-forward'.  Add let-binding
4833         `window-selected'.  Remove calls to `kill-buffer',
4834         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
4835         before calling `Info-find-node', so `Info-find-node-2' will reread
4836         the Info file.  Restore window positions only when `window-selected'
4837         is non-nil.
4839 2011-11-19  Juri Linkov  <juri@jurta.org>
4841         * isearch.el (isearch-lazy-highlight-new-loop):
4842         Remove condition `(not isearch-error)'.  (Bug#9918)
4844         * misearch.el (multi-isearch-search-fun): Add condition
4845         `(not bound)' to ignore lazy-highlighting search.
4846         Add the search-failed message "end of multi" when the end of
4847         multi-sequence is reached.  Uncapitalize the search-failed
4848         message "Repeat for next buffer".
4850         * info.el (Info-search): Add the search-failed message
4851         "end of the manual" when the end of the manual is reached
4852         in Isearch mode.
4854 2011-11-19  Juri Linkov  <juri@jurta.org>
4856         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4857         Use non-destructive `remove' instead of `delete' because
4858         `Info-history-list' stored to `Info-isearch-initial-history-list' in
4859         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4861 2011-11-19  Juri Linkov  <juri@jurta.org>
4863         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4864         to nil instead of binding `search-ring' and `regexp-search-ring'.
4865         (Bug#9185)
4867 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4869         * simple.el (line-move): Force movement by logical lines for any
4870         hscrolled window, not only when auto-hscroll-mode is on.
4871         (line-move-visual): Update doc string to that effect.  (Bug#10076)
4873 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4875         * language/european.el (macintosh): Define as alias for mac-roman.
4877 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4879         * mail/rmailmm.el (rmail-mime-display-header)
4880         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4881         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4882         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4883         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4884         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4885         of a raw aref.
4886         (rmail-mime-entity-segment): To get past the tagline, move forward
4887         2 more lines, to account for the 2 empty lines that precede and
4888         follow the line with the buttons.
4889         (rmail-mime-update-tagline): Move one more line, to get past the
4890         empty line that follows the buttons in the tagline.  (Bug#9520)
4892 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
4894         * window.el (window-max-delta-1, window-min-delta-1)
4895         (window-min-size-1, window-state-get-1, window-state-put-1)
4896         (window-state-put-2): Use "window--" prefix.
4898 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4900         * emacs-lisp/smie.el: Improve warnings and conflict detection.
4901         (smie-warning-count): New var.
4902         (smie-set-prec2tab): Use it.
4903         (smie-bnf->prec2): Improve warnings.  Add docstring.
4904         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4905         (smie-bnf--set-class): New function.
4906         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
4907         corner case.
4909         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4910         (compilation-error-properties, compilation-move-to-column):
4911         Handle compilation-first-column while in the target buffer.
4913         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4914         Don't hardcode point-min==1.
4916         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4917         (eshell-rewrite-for-command): Remove workaround.
4918         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4919         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4920         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4922         * files-x.el (modify-file-local-variable): Obey commenting conventions.
4924 2011-11-17  Glenn Morris  <rgm@gnu.org>
4926         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4927         Ignore buffer-local generated-autoload-file if it is the same
4928         as the global value.  (Bug#10049)
4930 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
4932         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4933         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4934         (reftex-toc-previous-heading, reftex-toc-max-level)
4935         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4936         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4937         (reftex-toc-do-promote, reftex-toc-promote-prepare)
4938         (reftex-toc-promote-action, reftex-toc-extract-section-number)
4939         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4940         (reftex-toc-rename-label, reftex-toc-visit-location)
4941         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4942         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4943         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4944         leaving "*toc*" only for references to the buffer.
4946 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
4948         * window.el (window-resize, delete-window, split-window):
4949         Replace window-splits by window-combination-resize.
4950         * cus-start.el (window-splits): Replace by window-combination-resize.
4952 2011-11-17  Glenn Morris  <rgm@gnu.org>
4954         * progmodes/sh-script.el (sh-font-lock-keywords-var):
4955         Make bash entry derive from sh entry, not shell entry.
4957 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
4959         * net/tramp-cache.el (tramp-flush-file-property): Flush also
4960         properties of linked files.  (Bug#9879)
4962         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4963         local file name.
4965 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4967         * menu-bar.el (menu-bar-file-menu):
4968         * printing.el (pr-ps-utility):
4969         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4970         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4971         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4972         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4973         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4974         (icalendar--convert-cyclic-to-ical)
4975         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4976         (icalendar--convert-ical-to-diary)
4977         (icalendar--convert-recurring-to-diary)
4978         (icalendar--convert-non-recurring-all-day-to-diary)
4979         (icalendar-import-format-sample):
4980         * progmodes/idlw-shell.el (idlwave-shell-mode):
4981         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4982         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4983         (vhdl-ps-print-init): Fix typos.
4985 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
4987         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4988         FSF and collapse date sequence, obscure author/maintainer email address
4989         better, remove extra version line, track relocation of author's webpage.
4991         * progmodes/python.el (python-pdbtrack-input-prompt)
4992         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4993         regular python pdb prompts.  Adjustments shamelessly taken exactly as
4994         suggested in EmacsWiki page (tiny change):
4995         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4997 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4999         * expand.el (expand-pos, expand-index, expand-point):
5000         Remove redundant info from docstring.
5001         (expand-add-abbrevs): Doc fix.
5002         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5003         (expand-sample-perl-mode-expand-list): Fix typos.
5005         * net/dbus.el (dbus-event-member-name):
5006         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5007         * term/pc-win.el (msdos-create-frame-with-faces):
5008         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5010 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
5012         * window.el (split-window, window-state-get-1)
5013         (window-state-put-1, window-state-put-2): Rename occurrences of
5014         window-nest to window-combination-limit.
5015         * cus-start.el (window-nest): Rename to window-combination-limit.
5017 2011-11-16  Chong Yidong  <cyd@gnu.org>
5019         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5020         regexp (Bug#10033).
5022 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5024         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5025         `completing-read' will remove *Completions* and will preserve
5026         current-buffer for us.
5027         (tmm-add-prompt): Users of *Completions* will always (re)set its
5028         major mode.
5029         (tmm-old-comp-map): Remove.
5031 2011-11-16  Glenn Morris  <rgm@gnu.org>
5033         * mail/rmailedit.el: Require rmailmm when compiling.
5034         (rmail-old-mime-state): New declaration.
5035         (rmail-edit-current-message): If editing a mime message,
5036         edit the "raw" message from the mbox buffer.
5037         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
5039 2011-11-15  Glenn Morris  <rgm@gnu.org>
5041         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5042         which wasn't being used.  Add optional arg to force given state.
5043         (rmail-mime): Add optional arg to force given state.
5045 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
5047         * allout.el (allout-encryption-plaintext-sanitization-regexps):
5048         * frame.el (display-mm-dimensions-alist):
5049         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5050         (outline-move-subtree-down):
5051         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5052         (newsticker--treeview-do-get-node):
5053         * net/quickurl.el (quickurl-list-buffer-name):
5054         * progmodes/dcl-mode.el (dcl-mode):
5055         * progmodes/gdb-mi.el (gdb-mapcar*):
5056         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5058 2011-11-15  Glenn Morris  <rgm@gnu.org>
5060         * mail/rmail.el (rmail-file-coding-system): It's only ever used
5061         in a boolean sense, so just make it a boolean, and fix the doc.
5062         (rmail-show-mime-function, rmail-mime-feature)
5063         (rmail-require-mime-maybe): Doc fixes.
5064         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5066         * mail/rmailmm.el (rmail-show-mime): Doc fix.
5068 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
5070         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5071         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5072         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5073         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5075 2011-11-15  Glenn Morris  <rgm@gnu.org>
5077         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5078         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5079         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5080         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5081         (rmail-mime, rmail-show-mime): Doc fixes.
5083         * term/ns-win.el (mode-line-frame-identification):
5084         Leave it alone.  (Bug#10051)
5086         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
5088         * mail/rmailout.el (rmail-output-to-rmail-buffer):
5089         Handle empty buffers.  (Bug#9978)
5091 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
5093         * international/mule.el (define-charset):
5094         * mail/rmailmm.el (rmail-mime-find-header-encoding):
5095         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5096         * progmodes/verilog-mode.el (verilog-backward-token):
5097         * textmodes/ispell.el (lookup-words):
5098         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5100 2011-11-14  Glenn Morris  <rgm@gnu.org>
5102         * progmodes/executable.el
5103         (executable-make-buffer-file-executable-if-script-p):
5104         Handle file-modes returning nil.
5106         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5107         message - not necessary, and causes problems.  (Bug#9831)
5109         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5111         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5113         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5114         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
5115         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5117 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
5119         * window.el (window-resize, delete-window): Use window-splits
5120         variable instead of function.
5121         (window-state-get-1, window-state-put-2, window-state-put):
5122         Don't deal with windows' splits status.
5124 2011-11-12  Glenn Morris  <rgm@gnu.org>
5126         * apropos.el (apropos-do-all, apropos-library, apropos-value)
5127         (apropos-documentation): Doc fixes.
5129 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
5131         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5132         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5134 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5136         * electric.el (electric-indent-post-self-insert-function): Make it
5137         possible for a char to only indent in some circumstances.
5138         (electric-indent-mode): Simplify.
5140 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
5142         * window.el (windows-with-parameter): Remove unused function.
5143         (windows-at-side): Rename to window-at-side-list.
5144         (window-check, window-atom-check, window-atom-check-1)
5145         (window-side-check, window-size-ignore, window-size-fixed-1)
5146         (window-in-direction-2): Prefix with "window--".
5147         (window-tree-1): Rename to window--subtree, fix doc-string.
5149 2011-11-11  Glenn Morris  <rgm@gnu.org>
5151         * subr.el (eval-after-load): If FILE is already loaded,
5152         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
5154 2011-11-10  Glenn Morris  <rgm@gnu.org>
5156         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5157         Call svn via vc-svn-command rather than vc-do-command.
5158         (vc-svn-command): Add --non-interactive.  (Bug#9993)
5159         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5161         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5162         Add toggle-read-only.  (Bug#7292)
5163         * files.el (toggle-read-only): Mention that it should only
5164         be used interactively.  (Bug#10006)
5166 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5168         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5169         Adjust regexp for OCaml warnings.
5171         * electric.el (electric-pair-post-self-insert-function): Let user
5172         turn it off buffer-locally (bug#9932).
5174         * progmodes/python.el (python-beginning-of-statement):
5175         Rewrite (bug#2703).
5177         * progmodes/compile.el: Better handle TABs (bug#9749).
5178         (compilation-internal-error-properties)
5179         (compilation-next-error-function): Obey the target buffer's
5180         compilation-error-screen-columns.
5182 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
5184         * progmodes/meta-mode.el: Remove obsolete comments.
5185         (meta-right-comment-regexp, meta-ignore-comment-regexp):
5186         Fix typos in docstrings.
5188 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
5190         * window.el (window-size-fixed-p): Rewrite doc-string.
5191         (window-resizable-p): Rename to window--resizable-p.  Update callers.
5192         (window--resizable): New function.  Make all callers of
5193         window-resizable call window--resizable instead.
5194         (window-resizable): Rewrite in terms of window--resizable.
5196 2011-11-08  Glenn Morris  <rgm@gnu.org>
5198         * progmodes/delphi.el (delphi-mode-syntax-table):
5199         Let define-derived-mode define a proper syntax table.  (Bug#9994)
5201 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5203         * window.el: Stay away from defsubst.
5204         (window-list-no-nils): Remove.
5205         (window-state-get-1, window-state-get): Use backquote instead.
5207 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5209         * emacs-lisp/find-func.el (find-function-read):
5210         Fix incorrect use of default argument in `completing-read'.
5212 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
5214         * window.el (display-buffer-function, special-display-function):
5215         Mention display-buffer-record-window but do not mention
5216         help-setup parameter in doc-strings.
5217         (window-min-delta): Fix doc-string typo.
5219 2011-11-08  Chong Yidong  <cyd@gnu.org>
5221         * window.el (window-total-height, window-total-width): Doc fix.
5222         (window-body-size): Move from C.
5223         (window-body-height, window-body-width): Move to C.
5225 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5227         * window.el: Make special-display like display-buffer-alist (bug#9532).
5228         (display-buffer--special-action): New function, morphed
5229         from display-buffer--special.
5230         (display-buffer): Use it to handle special-display-buffers at higher
5231         priority (just after display-buffer-alist).
5232         (display-buffer-fallback-action, display-buffer--other-frame-action)
5233         (pop-to-buffer-same-window): Remove display-buffer--special.
5235 2011-11-07  Glenn Morris  <rgm@gnu.org>
5237         * calendar/cal-menu.el (cal-menu-set-date-title):
5238         Do nothing if not in a calendar.  (Bug#9976)
5240 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5242         * files.el (find-file): Always use selected-window.
5244 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
5246         * window.el (window-combinations): Make WINDOW argument
5247         mandatory.  Rewrite doc-string.
5248         (walk-window-subtree, window-atom-check, window-min-delta)
5249         (window-max-delta, window--resize-this-window)
5250         (window--resize-root-window-vertically, window-tree)
5251         (balance-windows, window-state-put): Rewrite doc-strings as to
5252         not mention the term "subwindow".
5253         (window--resize-subwindows-skip-p): Rename to
5254         window--resize-child-windows-skip-p.
5255         (window--resize-subwindows-normal): Rename to
5256         window--resize-child-windows-normal.
5257         (window--resize-subwindows): Rename to
5258         window--resize-child-windows.
5259         (window-or-subwindow-p): Rename to window--in-subtree-p.
5261 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5263         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5264         Ensure that mbox format messages end in two newlines (Bug#9974).
5266 2011-11-06  Chong Yidong  <cyd@gnu.org>
5268         * window.el (window-combination-p): Function deleted; its
5269         side-effect is not used in any existing code.
5270         (window-combinations, window-combined-p): Call window-*-child
5271         directly.
5273 2011-11-05  Chong Yidong  <cyd@gnu.org>
5275         * window.el (window-valid-p): Rename from window-any-p.
5276         (window-size-ignore, window-state-get): Callers changed.
5277         (window-normalize-window): Rename from window-normalize-any-window.
5278         New arg LIVE-ONLY, replacing window-normalize-live-window.
5279         (window-normalize-live-window): Delete.
5280         (window-combination-p, window-combined-p, window-combinations)
5281         (walk-window-subtree, window-atom-root, window-min-size)
5282         (window-sizable, window-sizable-p, window-size-fixed-p)
5283         (window-min-delta, window-max-delta, window-resizable)
5284         (window-resizable-p, window-full-height-p, window-full-width-p)
5285         (window-current-scroll-bars, window-point-1, set-window-point-1)
5286         (window-at-side-p, window-in-direction, window-resize)
5287         (adjust-window-trailing-edge, maximize-window, minimize-window)
5288         (window-deletable-p, delete-window, delete-other-windows)
5289         (record-window-buffer, unrecord-window-buffer)
5290         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5291         (quit-window, split-window, window-state-put)
5292         (set-window-text-height, fit-window-to-buffer)
5293         (shrink-window-if-larger-than-buffer): Callers changed.
5295 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
5297         * mail/rmail.el (rmail-simplified-subject): Decode subject with
5298         rfc2047-decode-string.
5299         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5300         warnings.
5302         * window.el (window-body-height, window-body-width): Mention in
5303         the doc string that the return values are in frame's canonical
5304         units.  (Bug#9949)
5306 2011-11-03  Alan Mackenzie  <acm@muc.de>
5308         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5309         change in cc-engine.el.
5311 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5313         * window.el (switch-to-buffer): Use `force-same-window' interactively.
5315 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
5317         * window.el (quit-window): Call unrecord-window-buffer after
5318         showing another buffer in the window.  (Bug#9937)
5319         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5321 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
5323         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5324         Accept status with more than 9 shelves.  (Bug#9935)
5325         Reported by Colin D Bennett <colin@gibibit.com>.
5327 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
5329         * help.el (with-help-window): Don't reference
5330         temp-buffer-show-specifiers in doc-string.
5332 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5334         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5335         menu-item.
5337 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5339         * whitespace.el: New version 13.2.2.
5340         (whitespace-newline-mode): Disable properly.  Reported by Sarah
5341         <EmacsWiki>.
5343 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
5345         * net/newst-treeview.el: Remove "Time-stamp".
5346         (newsticker--group-manage-orphan-feeds): Do not call
5347         newsticker--treeview-tree-update.
5348         (newsticker-treeview-update, newsticker-treeview):
5349         Call newsticker--treeview-tree-update if necessary.
5351 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
5353         * window.el (window-iso-combination-p, window-iso-combined-p)
5354         (window-iso-combinations): Remove "iso-" infix.
5355         Suggested by Chong Yidong.
5356         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5357         (window-max-delta-1, window-resize, window--resize-siblings)
5358         (window--resize-this-window, adjust-window-trailing-edge)
5359         (split-window, balance-windows-1)
5360         (shrink-window-if-larger-than-buffer):
5361         * calendar/calendar.el (calendar-generate-window):
5362         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5364 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5366         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5367         in place (bug#9907).
5368         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5369         (eshell-rewrite-if-command, eshell-rewrite-for-command)
5370         (eshell-structure-basic-command, eshell-rewrite-while-command)
5371         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5372         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5373         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5374         (eshell-do-pipelines-synchronously, eshell-eval-command):
5375         Use backquotes and prefer setq to set.
5376         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5377         (eshell-macrop): Use functionp.
5378         (eshell-do-eval): Handle multiple expressions in `while' body.
5380 2011-10-30  Chong Yidong  <cyd@gnu.org>
5382         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5383         instead of set-mark (Bug#9810).
5385 2011-10-30  Chong Yidong  <cyd@gnu.org>
5387         * window.el (split-window-below, split-window-right): Rename from
5388         split-window-above-each-other and split-window-side-by-side
5389         respectively.  All callers changed.
5390         (split-window-sensibly, split-window-sensibly): Use them.
5391         (split-window-keep-point): Doc fix.
5393         * isearch.el: Add isearch-scroll property to split-window-below
5394         and split-window-right.
5396         * follow.el (follow-mode):
5397         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5398         * progmodes/ada-xref.el (ada-gdb-application):
5399         * emulation/vip.el (vip-buffer-in-two-windows):
5400         * image-dired.el (image-dired-dired-with-window-configuration):
5401         * dired-x.el (dired-do-find-marked-files):
5402         * dired.el (dired-pop-to-buffer):
5403         * bs.el (bs--show-with-configuration):
5404         * vc/emerge.el (emerge-setup-windows):
5405         * textmodes/two-column.el (2C-two-columns):
5406         * textmodes/reftex-toc.el (reftex-toc):
5407         * progmodes/gdb-mi.el (gdb-setup-windows):
5408         * progmodes/fortran.el (fortran-window-create):
5409         * net/newst-treeview.el (newsticker--treeview-window-init):
5410         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5411         * emulation/tpu-edt.el (tpu-gold-map):
5412         * emulation/crisp.el (crisp-mode-map):
5413         * calendar/calendar.el (calendar-basic-setup): Callers changed.
5415 2011-10-29  Chong Yidong  <cyd@gnu.org>
5417         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5419         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5421         * textmodes/flyspell.el (flyspell-word): Fix char offset for
5422         forged Ispell output (Bug#7904).
5424         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5426 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5428         * doc-view.el: Avoid ugly errors about not finding nil.
5429         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5430         (doc-view-dvipdf-program, doc-view-unoconv-program)
5431         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5432         Avoid nil or absolute file name as default value.
5433         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5435 2011-10-28  Alan Mackenzie  <acm@muc.de>
5437         * progmodes/cc-defs.el (c-version): -> 5.32.2.
5439 2011-10-28  Alan Mackenzie  <acm@muc.de>
5441         Amend the handling of c-beginning/end-of-defun in nested declaration
5442         scopes.
5444         * progmodes/cc-vars.el (c-defun-tactic): Move here from
5445         cc-langs.el.  Change it to a defcustom.
5447         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5448         cc-vars.el.
5450         * progmodes/cc-engine.el (c-beginning-of-statement-1):
5451         Prevent "class foo : bar" being spuriously recognized as a label.
5453         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5454         Add parameter `inclusive' (to include enclosing braces in the region).
5455         (c-widen-to-enclosing-decl-scope): New function.
5456         (c-while-widening-to-decl-block): New macro.
5457         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5458         outward for defun boundaries, and correspondingly change symbol
5459         `respect-enclosure' to `go-outward'.
5460         (c-declaration-limits): Change algorithm to report only the "innermost"
5461         defun's boundaries.
5463 2011-10-28  Deniz Dogan  <deniz@dogan.se>
5465         * net/rcirc.el (rcirc-mode): Use hard newlines.
5467 2011-10-28  Alan Mackenzie  <acm@muc.de>
5469         Amend to indent and fontify macros "which include their own semicolon"
5470         correctly, using the "virtual semicolon" mechanism.
5472         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5474         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5475         Recode to scan one line at a time rather than having \n and \r
5476         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5477         (c-forward-label): Amend for virtual semicolons.
5478         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5480         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5481         of the new C macros.
5483         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5484         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5485         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5486         (c-opt-cpp-macro-define): Make into a full language variable.
5487         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5488         AWK Mode (including \n, \r) removed, no longer needed.
5490         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5491         Invoke c-make-macro-with-semi-re.
5493         * progmodes/cc-vars.el (c-macro-with-semi-re):
5494         (c-macro-names-with-semicolon): New variables.
5495         (c-make-macro-with-semi-re): New function.
5497 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5499         * vc/log-edit.el: Fill empty field rather than adding new one.
5500         (log-edit-add-field): New function.
5501         (log-edit-insert-changelog): Use it.
5503 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5505         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5507 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5509         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5510         (gdb--check-interpreter): New function.
5511         (gdb): Use it.
5513 2011-10-27  Glenn Morris  <rgm@gnu.org>
5515         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5516         (least-positive-float, least-negative-float)
5517         (least-positive-normalized-float, least-negative-normalized-float)
5518         (float-epsilon, float-negative-epsilon):
5519         Remove unnecessary declarations.
5521         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5522         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5523         (least-positive-float, least-negative-float)
5524         (least-positive-normalized-float, least-negative-normalized-float)
5525         (float-epsilon, float-negative-epsilon): Add doc-strings,
5526         based on those in cl.texi.
5528         * files.el (set-visited-file-name): If the major-mode changed,
5529         reload the local variables.  (Bug#9796)
5531 2011-10-27  Chong Yidong  <cyd@gnu.org>
5533         * subr.el (change-major-mode-after-body-hook): New hook.
5534         (run-mode-hooks): Run it.
5536         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5537         Use change-major-mode-before-body-hook.
5539         * simple.el (fundamental-mode):
5540         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5541         change introducing fundamental-mode-hook.
5543 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
5545         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5547 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
5549         * ido.el (ido-file-name-all-completions-1): Do not require
5550         tramp.el explicitly.  (Bug#7583)
5552 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5554         * progmodes/octave-mod.el:
5555         * progmodes/octave-inf.el: Update maintainer.
5557 2011-10-26  Chong Yidong  <cyd@gnu.org>
5559         * subr.el (with-wrapper-hook): Rewrite doc.
5561 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
5563         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5564         filenames "/method:foo:".  (Bug#9793)
5566 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5568         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5569         (bug#9865).
5571 2011-10-24  Glenn Morris  <rgm@gnu.org>
5573         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
5575 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
5577         * notifications.el: Add the requirement of a running D-Bus session
5578         bus to the Commentary.
5580 2011-10-24  Juri Linkov  <juri@jurta.org>
5582         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5583         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5584         (Bug#9364)
5586 2011-10-24  Juri Linkov  <juri@jurta.org>
5588         * info.el (Info-following-node-name-re): Add newline to the list
5589         of allowed characters for leading space.  (Bug#9824)
5591 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5593         * progmodes/octave-inf.el (inferior-octave-mode-map):
5594         Fix C-c C-h binding.
5595         * progmodes/octave-mod.el (octave-help): Remove.
5597 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
5599         Sync with Tramp 2.2.3.
5601         * net/tramp-cache.el (top): Pacify byte-compiler using
5602         `init-file-user' and `site-run-file'.
5604         * net/trampver.el: Update release number.
5606 2011-10-23  Chong Yidong  <cyd@gnu.org>
5608         * files.el (toggle-read-only): Remove obsolete comment about
5609         version control.
5611         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5612         for toggle-read-only.  Note that this hasn't called vc-next-action
5613         since 2008-05-02, though it wasn't documented at the time.
5615         * vc/ediff-init.el (ediff-toggle-read-only-function):
5616         Use toggle-read-only.
5618 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
5620         Fix bug #9560, sporadic wrong indentation; improve instrumentation
5621         of c-parse-state.
5623         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5624         correct faulty logical expression.
5625         (c-parse-state-state, c-record-parse-state-state):
5626         (c-replay-parse-state-state): New defvar/defuns.
5627         (c-debug-parse-state): Use new functions.
5629 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
5631         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5632         last fix.  Use window-in-direction correctly.
5634 2011-10-21  Chong Yidong  <cyd@gnu.org>
5636         * progmodes/idlwave.el (idlwave-mode):
5637         * progmodes/vera-mode.el (vera-mode): No need to set
5638         require-final-newline; that's done in prog-mode.
5639         Suggested by Stefan Monnier.
5641 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
5643         * mouse.el (mouse-drag-window-above)
5644         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5645         (mouse-drag-mode-line-1, mouse-drag-header-line)
5646         (mouse-drag-vertical-line-rightward-window): Remove.
5647         (mouse-drag-line): New function.
5648         (mouse-drag-mode-line, mouse-drag-header-line)
5649         (mouse-drag-vertical-line): Call mouse-drag-line.
5650         * window.el (window-at-side-p, windows-at-side): New functions.
5652 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
5654         * tar-mode.el (tar-grind-file-mode):
5655         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
5657 2011-10-21  Chong Yidong  <cyd@gnu.org>
5659         * progmodes/idlwave.el (idlwave-mode):
5660         * progmodes/vera-mode.el (vera-mode):
5661         Use mode-require-final-newline.
5663 2011-10-20  Glenn Morris  <rgm@gnu.org>
5665         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
5667 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
5669         * emulation/cua-base.el (cua-set-mark): Fix case of string.
5671 2011-10-20  Chong Yidong  <cyd@gnu.org>
5673         * emulation/cua-base.el (cua-mode):
5674         * mail/footnote.el (footnote-mode):
5675         * mail/mailabbrev.el (mail-abbrevs-mode):
5676         * net/xesam.el (xesam-minor-mode):
5677         * progmodes/bug-reference.el (bug-reference-mode):
5678         * progmodes/cap-words.el (capitalized-words-mode):
5679         * progmodes/compile.el (compilation-minor-mode)
5680         (compilation-shell-minor-mode):
5681         * progmodes/gud.el (gud-tooltip-mode):
5682         * progmodes/hideif.el (hide-ifdef-mode):
5683         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5684         * progmodes/subword.el (subword-mode):
5685         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5686         * progmodes/which-func.el (which-function-mode):
5687         * term/tvi970.el (tvi970-set-keypad-mode):
5688         * term/vt100.el (vt100-wide-mode):
5689         * textmodes/flyspell.el (flyspell-mode):
5690         * textmodes/ispell.el (ispell-minor-mode):
5691         * textmodes/nroff-mode.el (nroff-electric-mode):
5692         * textmodes/paragraphs.el (use-hard-newlines):
5693         * textmodes/refill.el (refill-mode):
5694         * textmodes/reftex.el (reftex-mode):
5695         * textmodes/rst.el (rst-minor-mode):
5696         * textmodes/sgml-mode.el (html-autoview-mode)
5697         (sgml-electric-tag-pair-mode):
5698         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5699         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5700         * emulation/crisp.el (crisp-mode):
5701         * emacs-lisp/eldoc.el (eldoc-mode):
5702         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5703         minor mode behavior.
5705 2011-10-19  Juri Linkov  <juri@jurta.org>
5707         * descr-text.el (describe-char): Add #x2010 and #x2011 to
5708         the list of hard-coded chars with escape-glyph face.
5710 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5712         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5714 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
5716         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5717         running process.
5719 2011-10-19  Glenn Morris  <rgm@gnu.org>
5721         * vc/vc-bzr.el (vc-bzr-after-dir-status):
5722         Ignore ignored files.  (Bug#9726)
5724 2011-10-19  Chong Yidong  <cyd@gnu.org>
5726         Doc fix for minor modes, stating that an omitted argument enables
5727         the mode unconditionally when called from Lisp.
5729         * abbrev.el (abbrev-mode):
5730         * allout.el (allout-mode):
5731         * autoinsert.el (auto-insert-mode):
5732         * autoarg.el (autoarg-mode, autoarg-kp-mode):
5733         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5734         (global-auto-revert-mode):
5735         * battery.el (display-battery-mode):
5736         * composite.el (global-auto-composition-mode)
5737         (auto-composition-mode):
5738         * delsel.el (delete-selection-mode):
5739         * desktop.el (desktop-save-mode):
5740         * dired-x.el (dired-omit-mode):
5741         * dirtrack.el (dirtrack-mode):
5742         * doc-view.el (doc-view-minor-mode):
5743         * double.el (double-mode):
5744         * electric.el (electric-indent-mode, electric-pair-mode):
5745         * emacs-lock.el (emacs-lock-mode):
5746         * epa-hook.el (auto-encryption-mode):
5747         * follow.el (follow-mode):
5748         * font-core.el (font-lock-mode):
5749         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5750         * help.el (temp-buffer-resize-mode):
5751         * hilit-chg.el (highlight-changes-mode)
5752         (highlight-changes-visible-mode):
5753         * hi-lock.el (hi-lock-mode):
5754         * hl-line.el (hl-line-mode, global-hl-line-mode):
5755         * icomplete.el (icomplete-mode):
5756         * ido.el (ido-everywhere):
5757         * image-file.el (auto-image-file-mode):
5758         * image-mode.el (image-minor-mode):
5759         * iswitchb.el (iswitchb-mode):
5760         * jka-cmpr-hook.el (auto-compression-mode):
5761         * linum.el (linum-mode):
5762         * longlines.el (longlines-mode):
5763         * master.el (master-mode):
5764         * mb-depth.el (minibuffer-depth-indicate-mode):
5765         * menu-bar.el (menu-bar-mode):
5766         * minibuf-eldef.el (minibuffer-electric-default-mode):
5767         * mouse-sel.el (mouse-sel-mode):
5768         * msb.el (msb-mode):
5769         * mwheel.el (mouse-wheel-mode):
5770         * outline.el (outline-minor-mode):
5771         * paren.el (show-paren-mode):
5772         * recentf.el (recentf-mode):
5773         * reveal.el (reveal-mode, global-reveal-mode):
5774         * rfn-eshadow.el (file-name-shadow-mode):
5775         * ruler-mode.el (ruler-mode):
5776         * savehist.el (savehist-mode):
5777         * scroll-all.el (scroll-all-mode):
5778         * scroll-bar.el (scroll-bar-mode):
5779         * server.el (server-mode):
5780         * shell.el (shell-dirtrack-mode):
5781         * simple.el (auto-fill-mode, transient-mark-mode)
5782         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5783         (line-number-mode, column-number-mode, size-indication-mode)
5784         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5785         * strokes.el (strokes-mode):
5786         * time.el (display-time-mode):
5787         * t-mouse.el (gpm-mouse-mode):
5788         * tool-bar.el (tool-bar-mode):
5789         * tooltip.el (tooltip-mode):
5790         * type-break.el (type-break-mode-line-message-mode)
5791         (type-break-query-mode):
5792         * view.el (view-mode):
5793         * whitespace.el (whitespace-mode, whitespace-newline-mode)
5794         (global-whitespace-mode, global-whitespace-newline-mode):
5795         * xt-mouse.el (xterm-mouse-mode): Doc fix.
5797         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5798         Fix autogenerated docstring.
5800 2011-10-19  Juri Linkov  <juri@jurta.org>
5802         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5803         by checking environment variables "DESKTOP_SESSION" and
5804         "XDG_CURRENT_DESKTOP".  (Bug#9779)
5806 2011-10-19  Juri Linkov  <juri@jurta.org>
5808         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5809         (browse-url-chromium-program, browse-url-chromium-arguments):
5810         New defcustoms.
5811         (browse-url-default-browser): Check for `browse-url-chromium' and
5812         call `browse-url-chromium-program'.
5813         (browse-url-chromium): New command.  (Bug#9779)
5815 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
5817         * facemenu.el (list-colors-duplicates): On Windows, detect more
5818         duplicates by assuming that only colors matching "^System" are
5819         special "system colors".  (Bug#9722)
5821 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5823         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5824         to distinguish the author from the committer.
5826 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
5828         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5830 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
5832         * international/mule.el (sgml-html-meta-auto-coding-function):
5833         Add support for detecting encoding in HTML5 specified only as
5834         <meta charset="UTF-8">.  Implementation just makes http-equiv and
5835         content-type parts from HTML4 encoding string optional.  (Bug#9716)
5837 2011-10-18  Glenn Morris  <rgm@gnu.org>
5839         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
5841 2011-10-18  Chong Yidong  <cyd@gnu.org>
5843         * faces.el (cursor): Doc fix.
5845 2011-10-17  Chong Yidong  <cyd@gnu.org>
5847         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5849 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
5851         * dirtrack.el (dirtrack): Support shell buffers with path
5852         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
5854 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
5856         * json.el: Bump version to 1.3 and note change in History.
5857         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5859 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5861         * comint.el (comint-insert-input, comint-send-input)
5862         (comint-get-old-input-default, comint-backward-matching-input)
5863         (comint-next-prompt): Use nil instead of `input' for field property of
5864         past user input (bug#114).
5866         * minibuffer.el (completion--replace): Inherit surrounding properties
5867         (bug#114).
5868         (minibuffer-complete-and-exit): Use it.
5870         * comint.el (comint--table-subvert): Quote the all-completions output
5871         (bug#9160).
5873 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
5875         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5877         * menu-bar.el (menu-bar-file-menu): Add entry for making new
5878         window on right of selected.  (Bug#9350) Reword other window
5879         entries and separate them from frame entries.
5881 2011-10-15  Glenn Morris  <rgm@gnu.org>
5883         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5884         Doc fixes.
5886 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
5888         * net/network-stream.el (network-stream-open-starttls):
5889         Improve detection of failure due to lack of TLS support.
5891         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5892         putting the input text in front and in bold.
5894 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5896         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5898         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5899         empty buffer.
5901         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5902         unread-command-events rather than pushing yet-another event.
5904 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
5906         * mail/sendmail.el (sendmail-query-once): Improve the wording of
5907         the explanation of the possible choices.  Make the options passed
5908         to completing-read shorter.
5910 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5912         * textmodes/flyspell.el (flyspell-large-region): Make sure
5913         extended character mode is used if defined (Bug#1339).
5915 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
5917         * simple.el (what-cursor-position): Fix the display of the
5918         character info for LRE, LRO, RLE, and RLO characters by appending
5919         an invisible PDF.
5921 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5923         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5924         even in case of error; add debug spec; simplify data flow.
5925         (with-timeout-handler): Remove.
5927 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
5929         Fix Bug#6019, Bug#9315.
5931         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5932         complete `buffer-file-name', the local file name part could look
5933         remotely (for example on VMS).
5935         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5936         `tramp-run-real-handler'.
5937         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5938         already quoted by '"'.
5940         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5941         Let `file-name-handler-alist' be nil, the local file name part
5942         could look remotely (for example on VMS).
5944 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5946         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5947         from here...
5948         (flyspell-post-command-hook): ...to here.
5950 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5952         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5953         if not needed.
5954         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
5955         using completion.  Protect against "slow" callers.
5956         Remove the "message hack".
5958 2011-10-11  Juri Linkov  <juri@jurta.org>
5960         * isearch.el (isearch-lazy-highlight-word): New variable.
5961         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5962         Use it.  (Bug#9727)
5964 2011-10-11  Glenn Morris  <rgm@gnu.org>
5966         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5967         like f90-previous-statement does.
5969 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5971         * eshell/eshell.el (eshell-command): History should be saved
5972         only in interactive use, to avoid error.
5974 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5976         * minibuffer.el (completion-file-name-table): Fix last change,
5977         i.e. ignore normal errors but not the other ones.
5979 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
5981         * window.el (special-display-buffer-names)
5982         (special-display-regexps): Remove some remnants of earlier
5983         changes from doc-strings.
5984         (quit-windows-on): New function.
5986         * vc/vc.el (vc-revert, vc-rollback):
5987         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5988         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
5989         (Bug#6183) (Bug#7074) (Bug#7447)
5991 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
5993         * window.el (frame-auto-hide-function): Add version tag.
5994         (Bug#9699)
5996 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
5998         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5999         condition.
6001 2011-10-09  Leo Liu  <sdl.web@gmail.com>
6003         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6004         (Bug#9701)
6006 2011-10-08  Glenn Morris  <rgm@gnu.org>
6008         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6009         before the first code statement zero indent.  (Bug#9690)
6011 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
6013         * simple.el (count-words-region): Always count in the region.
6014         Report the number of lines and characters too.
6015         (count-words): New command, which counts in the buffer if the
6016         region is inactive, as count-words-region used to.
6017         (count-words--message): New function.  Handle plurals.
6018         (count-lines-region): Make it an alias for count-words-region.
6020         * bindings.el (esc-map): Replace count-lines-region with
6021         count-words-region.
6023 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
6025         * window.el (window--delete): Delete dedicated frame
6026         unconditionally when argument KILL is non-nil.  (Bug#9699)
6027         (switch-to-buffer): Fix doc-string typo.
6029 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6031         * eshell/eshell.el (eshell-command): Avoid using hooks.
6033 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
6035         * bindings.el ([M-left],[M-right]): Bind to left-word and
6036         right-word respectively.
6038 2011-10-07  Glenn Morris  <rgm@gnu.org>
6040         * cus-start.el (debug-on-quit): Fix custom type.
6042 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6044         * subr.el (define-key-after): Clarify that the function is not
6045         useful for non-menu keymaps.
6047         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6049 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6051         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6052         in current minibuffer (Fix bug with recursive minibuffers).
6054 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
6056         * progmodes/gdb-mi.el (gdb): Doc fix.
6058 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
6060         * window.el (frame-auto-hide-function): New option replacing
6061         frame-auto-delete.  Suggested by Stefan Monnier.
6062         (window--delete): Call frame-auto-hide-function instead of
6063         investigating frame-auto-delete.
6064         (window-point-1, set-window-point-1): New functions.
6065         (window-in-direction, record-window-buffer, window-state-get-1)
6066         (display-buffer-record-window): Use window-point-1 instead of
6067         window-point.
6068         (set-window-buffer-start-and-point): Use set-window-point-1.
6070 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6072         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6074 2011-10-05  Glenn Morris  <rgm@gnu.org>
6076         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6077         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
6079 2011-10-05  Leo Liu  <sdl.web@gmail.com>
6081         * subr.el (read-char-choice): Fix argument to buffer-live-p which
6082         works with buffer object.
6084 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6086         * mpc.el (mpc-tool-bar-map): Add labels.
6088 2011-10-04  Glenn Morris  <rgm@gnu.org>
6090         * calendar/holidays.el (calendar-check-holidays): Doc fix.
6092 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
6094         * window.el (window--delete): New function.
6095         (frame-auto-delete): Resuscitate option.
6096         (bury-buffer, replace-buffer-in-windows)
6097         (quit-window): Rewrite using window--delete.
6098         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6099         Pass display-buffer-mark-dedicated to window--display-buffer-2
6100         (Bug#9639).
6102 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6104         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6105         returns a list (bug#9554).  Add remote file name completion.
6106         * comint.el (comint--table-subvert): Curry and get quote&unquote
6107         functions as arguments.
6108         (comint--complete-file-name-data): Adjust call accordingly.
6109         * pcomplete.el (pcomplete--table-subvert): Remove.
6110         (pcomplete-completions-at-point): Use comint--table-subvert instead.
6112         * minibuffer.el (completion-table-case-fold): Use currying.
6113         (completion--styles-type, completion--cycling-threshold-type):
6114         New constants.
6115         (completion-styles, completion-category-overrides)
6116         (completion-cycle-threshold): Use them.
6117         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6118         completion-table-case-fold.
6120 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
6122         * minibuffer.el (completion-category-overrides): Fix type of styles
6123         and add more user friendly tags (bug#9660).
6125 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6127         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6128         (mule-input-method-string): New widget.
6129         (default-input-method, language-info-custom-alist): Use it.
6131 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6133         * pcomplete.el: Require comint.
6134         (pcomplete--common-suffix): Remove.
6135         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6136         (pcomplete--table-subvert): Sync with comint--table-subvert.
6137         (pcomplete--entries): Use comint-completion-file-name-table.
6138         * comint.el (comint-unquote-filename): Simplify.
6139         (comint-completion-file-name-table): New function (bug#9616).
6140         (comint--complete-file-name-data): Use it.
6142         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6143         (pcmpl-gnu-tar-buffer): Remove.
6144         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6145         around.  Make sure pcomplete-suffix-list is only changed temporarily.
6146         Don't look inside the tar's file if it's too large.
6148 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
6150         * cus-edit.el (custom-mode-map):
6151         * epa.el (epa-key-list-mode-map):
6152         * man.el (Man-mode-map):
6153         * startup.el (splash-screen-keymap):
6154         * simple.el (special-mode-map): Use scroll-up-command and
6155         scroll-down-command.
6157         * progmodes/idlw-help.el (idlwave-help-mode-map):
6158         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6159         * net/newst-plainview.el (newsticker-mode-map):
6160         * emulation/ws-mode.el (wordstar-mode-map):
6161         * emulation/vi.el (vi-com-map):
6162         * calc/calc-graph.el (calc-graph-show-dumb):
6163         * term/sun.el (terminal-init-sun):
6164         * term/ns-win.el (global-map):
6165         * progmodes/grep.el (grep-mode-map):
6166         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6167         * mail/rmail.el (rmail-mode-map):
6168         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6170         * custom.el (custom-safe-themes, load-theme): Treat value of t for
6171         custom-safe-themes as special.
6173 2011-10-01  Julien Danjou  <julien@danjou.info>
6175         * notifications.el (notifications-notify): Fix docstring.
6177 2011-10-01  Per Starbäck  <per@starback.se>
6179         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
6181 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
6183         * startup.el (command-line-1): Fix last fix by inserting
6184         initial-scratch-message into *scratch* before displaying it.
6185         (Bug#9605) and (Bug#9636)
6187 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
6189         * simple.el (line-move): If auto-hscroll-mode is disabled and the
6190         window is hscrolled, move by logical lines.  (Bug#9607)
6191         (line-move-visual): Update the doc string to the above effect.
6193 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
6195         * window.el (display-buffer-record-window): When WINDOW is the
6196         selected window use `point' instead of `window-point'.  (Bug#9626)
6198         * startup.el (command-line-1): Use insert-before-markers when
6199         inserting initial-scratch-message.  (Bug#9605)
6201         * help.el (help-window): Remove variable.
6203 2011-09-29  Glenn Morris  <rgm@gnu.org>
6205         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6207 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
6209         * descr-text.el (describe-char-categories): Accept category
6210         descriptions more than one line long.
6212 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6214         * simple.el (delete-trailing-whitespace): Fix last change.
6216         * progmodes/perl-mode.el (perl-syntax-propertize-function):
6217         Don't confuse "y => 3" as the beginning of a `y' operation.
6219         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6220         object has more than 4 slots (bug#9613).
6222 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
6224         * subr.el (with-output-to-temp-buffer):
6225         * net/quickurl.el (quickurl, quickurl-browse-url):
6226         Fix typos in docstrings.
6228 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
6230         * minibuffer.el (completion-styles)
6231         (completion-category-overrides): Cross reference each other in doc
6232         strings.
6234 2011-09-27  Glenn Morris  <rgm@gnu.org>
6236         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6237         to split-string.  (Bug#9606)
6239 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6241         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6242         (bug#9615).
6244 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
6246         * emacs-lisp/package.el (list-packages): Fix echo area message.
6248 2011-09-27  Leo Liu  <sdl.web@gmail.com>
6250         * ido.el (ido-read-internal): Accept cons cell HIST arg.
6252 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
6254         * net/dbus.el (dbus-unregister-object): Don't release services for
6255         registered signals.  (Bug#9581)
6257 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
6259         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6260         function that picks between cfengine 2 and 3 support
6261         automatically.  Update docs accordingly.
6263 2011-09-22  Kenichi Handa  <handa@m17n.org>
6265         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6266         ZERO.
6267         (indian-itrans-v5-table-for-tamil): New variable.
6268         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6270 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
6272         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6273         that's true if the current command involved collapsing of text.
6274         It's reset to false at the beginning of the next command.
6275         (allout-post-command-business): Move the cursor to the beginning
6276         of entry if the cursor is hidden and collapsing activity just
6277         happened.
6279 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
6281         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6282         tracking (Bug#9541).
6284 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
6286         * net/newst-reader.el (newsticker-html-renderer)
6287         (newsticker-show-news): Automatically load html rendering package
6288         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
6289         because w3m-fill-column is let-bound" and the error "Symbol's value
6290         as variable is void: w3m-fill-column".
6292 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
6294         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6295         Release services only if they are defined.  (Bug#9581)
6297 2011-09-23  Richard Stallman  <rms@gnu.org>
6299         * textmodes/paragraphs.el (forward-sentence): For backwards case,
6300         distinguish start of paragraph from start of its text.
6302         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6304         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6305         (rmail-generate-viewer-buffer): Put that hook on view buffer.
6306         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6308 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
6310         * international/mule-diag.el (mule-diag): Insert a newline after
6311         each fontset description.
6313 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6315         * simple.el (delete-trailing-whitespace):
6316         Document last change; simplify.
6318 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
6320         * simple.el (delete-trailing-whitespace): Also delete
6321         extra newlines at the end of the buffer.
6323         * textmodes/picture.el: Make motion commands obey shift-select-mode.
6324         (picture-newline): Use forward-line so as to ignore fields.
6326 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6328         * subr.el (with-wrapper-hook): Fix edebug spec.
6330 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6332         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6333         (bug#4538).
6335 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
6337         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6338         Fix nasty bug using wrong cached values.
6340 2011-09-23  Alan Mackenzie  <acm@muc.de>
6342         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6344 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
6346         * window.el (pop-to-buffer): Ensure right window is selected if we
6347         chose another frame.
6349 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
6351         * simple.el (what-cursor-position): Use get-char-property-change
6352         and next-single-char-property-change, to be able to show display
6353         properties that come from overlays as well as text properties.
6355 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
6357         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6359         * cmuscheme.el (run-scheme, switch-to-scheme):
6360         * cus-edit.el (customize-group, custom-buffer-create)
6361         (customize-browse):
6362         * info.el (info):
6363         * shell.el (shell):
6364         * mail/sendmail.el (mail):
6365         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6367 2011-09-22  Richard Stallman  <rms@gnu.org>
6369         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6370         move back only to line beg, don't move back over blank lines.
6372 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
6374         * files.el (copy-directory): Set directory attributes only in case
6375         they could be retrieved from the source directory.  (Bug#9565)
6377 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
6379         * progmodes/hideshow.el (hs-looking-at-block-start-p)
6380         (hs-find-block-beginning, hs-hide-level-recursive):
6381         Ignore strings as well as comments.  (Bug#9502)
6383 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
6385         * progmodes/sql.el (sql-comint-postgres):
6386         Convert port number to a string.  (Bug#9566)
6388 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
6390         * window.el (quit-window): Undedicate window when switching to
6391         previous buffer.  Reported by Thierry Volpiatto
6392         <thierry.volpiatto@gmail.com>.
6393         (special-display-popup-frame): When popping up a new frame reset
6394         its previous buffers to nil.  Simplify code.
6396 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
6398         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6399         and process filter, as done also in `shell-command'.
6401 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
6403         * window.el (set-window-buffer-start-and-point):
6404         Call set-window-start with NOFORCE argument t.
6405         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6406         (quit-window): Reword doc-string.  Handle new format of
6407         quit-restore parameter.  Don't delete window if it has a
6408         previous buffer we can show instead of the present one.
6409         (display-buffer-record-window): Rewrite using a new format for
6410         the quit-restore window parameter
6411         (special-display-popup-frame, display-buffer-same-window)
6412         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6413         (display-buffer-pop-up-window, display-buffer-use-some-window):
6414         Adapt symbol passed to display-buffer-record-window.
6415         * help.el (help-window-setup): Handle new format of quit-restore
6416         parameter.
6418 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6420         * faces.el (face-list): Fix docstring (bug#9564).
6422         * window.el (display-buffer--action-function-custom-type):
6423         Don't include internal functions in the Custom interface.
6425 2011-09-20  Juri Linkov  <juri@jurta.org>
6427         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6428         (Info-forward-node, Info-backward-node, Info-next-preorder)
6429         (Info-last-preorder): Use it.  (Bug#9528)
6431 2011-09-20  Juri Linkov  <juri@jurta.org>
6433         * info.el (Info-last-preorder): Visit last menu item only when
6434         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6436 2011-09-20  Julien Danjou  <julien@danjou.info>
6438         * password-cache.el (password-cache-remove): Remove entries even if the
6439         value is nil, so that password with a nil value (negative caching) is
6440         possible to invalidate.
6442 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
6444         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6445         all whitespace around breakpoint.  (Bug#9553)
6446         (f90-find-breakpoint): Only break at whitespace inside a comment.
6448 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6450         * minibuffer.el (completion-file-name-table): Keep track of errors.
6451         (completion-table-with-predicate): Handle the case where pred1 is nil.
6452         * pcomplete.el (pcomplete-completions-at-point): Simplify.
6454 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6456         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6457         (debugger-return-value): Signal an error if the debugging context does
6458         not await any return value.
6460         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6461         * image-mode.el (image-toggle-display-text)
6462         (image-toggle-display-image): Stay away from evil `intangible'.
6464 2011-09-19  Leo Liu  <sdl.web@gmail.com>
6466         * replace.el (occur-revert-arguments): Make it permanent-local.
6467         (occur-mode): Don't call font-lock-defontify.
6469 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
6471         * net/ldap.el (ldap-search-internal): Don't push empty search
6472         result (Bug#9508).
6474 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6476         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6478 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
6480         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6481         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6483 2011-09-18  Juri Linkov  <juri@jurta.org>
6485         * buff-menu.el (Buffer-menu-mode-map):
6486         * dired.el (dired-mode-map):
6487         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6488         (lisp-interaction-mode-map):
6489         * emacs-lisp/package.el (package-menu-mode-map):
6490         * epa.el (epa-key-list-mode-map):
6491         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6492         (menu-bar-options-menu):
6493         * outline.el (outline-mode-menu-bar-map):
6494         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6495         * vc/vc-dir.el (vc-dir-menu-map):
6496         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6497         Capitalize non-function content words in menu item strings.
6499         * dired.el (dired-mode-map): Add menu item for
6500         `image-dired-dired-toggle-marked-thumbs'.
6502 2011-09-18  Juri Linkov  <juri@jurta.org>
6504         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6505         to `isearch-case-fold-search' and restore its original value
6506         after the `isearch-mode' call.
6508 2011-09-18  Juri Linkov  <juri@jurta.org>
6510         * progmodes/grep.el (grep-process-setup): Don't check code for 1
6511         because `zgrep' returns 1 for successful matches (bug#9226).
6513 2011-09-18  Juri Linkov  <juri@jurta.org>
6515         * info.el (Info-extract-menu-node-name): Check the second match
6516         for empty string (second test-case of bug#9528).
6517         (Info-last-preorder): Let-bind `Info-history' to nil to not add
6518         intermediate nodes to the history (first test-case of bug#9528).
6520 2011-09-18  Juri Linkov  <juri@jurta.org>
6522         * info.el (Info-mode-syntax-table): New variable.
6523         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6525 2011-09-18  Juri Linkov  <juri@jurta.org>
6527         * info.el (Info-file-supports-index-cookies):
6528         Increment line-beginning-position's arg from 3 to 4 because makeinfo
6529         outputs one more line for long file names (bug#4142).
6531 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
6533         * newcomment.el (comment-normalize-vars): If prompting for
6534         comment-start, set comment-start-skip too (Bug#8424).
6536 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
6538         * icomplete.el: Fix previous fix of Bug#5849.
6539         (icomplete-mode): Don't set completion-show-inline-help.
6540         (icomplete-minibuffer-setup): Set completion-show-inline-help
6541         locally during icompletion.
6543 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
6545         * woman.el (woman2-process-escapes): Don't delete unrecognized
6546         escapes (Bug#7843).
6548         * files.el (inhibit-first-line-modes-regexps): Add image files.
6549         (hack-local-variables-prop-line): Return nil for malformed
6550         prop-lines (Bug#9044).
6552 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
6554         * net/tramp.el (top): Don't require 'shell.
6555         (tramp-methods): Fix docstring.
6556         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6557         Return complete remote file name.  Handle "smb" case.
6558         Use `tramp-tmpdir', if defined for the respective method.
6559         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6561         * net/tramp-compat.el (top): Require 'shell.
6563         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6564         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6565         `tramp-current-host'.
6566         (tramp-get-remote-tmpdir): Remove.
6568         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6569         `tramp-tmpdir' entries.
6570         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6571         (tramp-smb-handle-file-attributes): Ignore errors.
6572         (tramp-smb-wait-for-output): Check also for process end.
6574 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6576         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6577         when sending QUIT (bug#9312).
6579 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
6581         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6582         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6583         occur-mode-display-occurrence.
6584         (occur-edit-mode): Add usage message.
6585         (occur-cease-edit): New command.
6586         (occur-after-change-function): Use text properties to find the
6587         position of the prefix text.
6588         (occur-engine): Set stickiness of prefix text properties.
6590 2011-09-17  Glenn Morris  <rgm@gnu.org>
6592         * progmodes/etags.el (complete-tag):
6593         Fix call to completion-in-region.  (Bug#9526)
6595 2011-09-17  Juri Linkov  <juri@jurta.org>
6597         * textmodes/ispell.el (ispell-word): Add to the error message
6598         the word, ispell program name and current dictionary (bug#9121).
6599         (ispell-tex-arg-end): Capitalize "error" in the error message.
6601 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
6603         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6604         check.  (Bug#4251)
6606 2011-09-17  Juri Linkov  <juri@jurta.org>
6608         * window.el (window-safe-min-height, window-safe-min-width):
6609         Fix typos (followup to bug#9522).
6611 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
6613         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6615 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
6617         * simple.el (line-move): If goal-column is set, move by logical
6618         lines, not by display lines.  (Bug#971)
6619         (next-line, previous-line, goal-column, line-move-visual): Doc fix
6620         to reflect the above change.
6622 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6624         * image.el (imagemagick-register-types): Use regexp-opt.
6626 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
6628         * window.el (display-buffer-base-action): Rename from
6629         display-buffer-default-action.  Make default value empty.
6630         (display-buffer-overriding-action): Convert to defvar.
6631         (display-buffer-fallback-action): New var.
6633 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
6635         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6636         declaration.
6637         (package--add-to-archive-contents): If there is a duplicate entry
6638         with an older version, remove it.
6639         (package-menu-mark-delete, package-menu-mark-install)
6640         (package-menu-mark-unmark): Make unused args optional.
6641         (package-menu-mark-obsolete-for-deletion):
6642         Use package-menu-get-status instead of a regexp search.
6643         (package-menu-get-status): Use tabulated-list-entry.
6644         (package-menu-mark-upgrades): New command.
6645         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
6646         (package-menu-execute): Do installation before deletion.
6647         (package-menu-refresh, package-menu-execute): Use derived-mode-p
6648         instead of checking major-mode.
6649         (package-menu--find-upgrades): New function.
6651 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6653         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6654         passwords in the log buffer.
6655         (smtpmail-process-filter): Update the process marker so that the
6656         "broken by peer" status message is inserted in the right place.
6658 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6660         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6661         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6662         bibtex-completion-at-point-function.
6663         (bibtex-completion-at-point-function): Use them.
6665         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6667         * mpc.el (mpc-constraints-tag-lookup): New function.
6668         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6669         also to browser "album|playlist".
6671 2011-09-14  Juri Linkov  <juri@jurta.org>
6673         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
6674         (isearch-edit-string): Use length of `isearch-string' when
6675         `isearch-fail-pos' returns nil.
6676         (isearch-message): Remove duplicate code and call
6677         `isearch-fail-pos' with arg `t'.
6679 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
6681         * replace.el (occur-mode-goto-occurrence): Don't force using other
6682         window (Bug#9499).
6684         * dired-aux.el (dired-do-chmod): Don't provide initial input.
6686 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
6688         * window.el (display-buffer-window): Remove.
6689         (display-buffer-record-window): Use help-setup window parameter
6690         instead of variable display-buffer-window.
6691         (display-buffer-function, special-display-buffer-names)
6692         (special-display-function): Mention help-setup parameter instead
6693         of display-buffer-window in doc-string.
6694         * help.el (help-window-setup): New argument help-window.
6695         Use help-window-setup parameter instead of display-buffer-window.
6696         Reword some messages.
6697         (with-help-window): Pass window used for displaying the buffer
6698         to help-window-setup.  Don't set display-buffer-window.
6700 2011-09-13  Glenn Morris  <rgm@gnu.org>
6702         * emacs-lisp/debug.el (debugger-make-xrefs):
6703         Preserve point.  (Bug#9462)
6705 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
6707         * window.el (window-deletable-p): Use next-frame.
6709 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
6711         * window.el (window-auto-delete): Remove.
6712         (window-deletable-p): Remove argument FORCE.  Don't deal with
6713         dedication and previous buffers.
6714         (switch-to-prev-buffer): Don't delete window.
6715         (delete-windows-on): Delete a window's frame if and only if the
6716         window is dedicated.
6717         (replace-buffer-in-windows): Delete buffer's window or frame if
6718         and only if window is dedicated.
6719         (quit-window): Handle quit-restore as before last change.
6720         (bury-buffer): Delete window only if window-deletable-p returns t.
6722 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
6724         * window.el (window-deletable-p): Never delete the last frame on a
6725         given terminal.
6727 2011-09-13  Glenn Morris  <rgm@gnu.org>
6729         * help.el (describe-key-briefly): Copy previous standard-output change.
6731 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
6733         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
6735 2011-09-13  Glenn Morris  <rgm@gnu.org>
6737         * emacs-lisp/lisp-mode.el (lisp-indent-function):
6738         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6740 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
6742         * dired-aux.el (dired-mark-read-string): Don't return default
6743         value on empty input (Bug#9361).
6744         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6745         Omit initial minibuffer contents.
6746         (dired-do-chmod): Signal an error on empty input.
6747         (dired-mark-read-string): Don't return default on empty input.
6749         * files.el (file-modes-symbolic-to-number): Doc fix.
6751 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6753         * international/mule-cmds.el (ucs-completions): Remove.
6754         (read-char-by-name): Use complete-with-action instead; add metadata.
6756 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
6758         * window.el (display-buffer--action-function-custom-type)
6759         (display-buffer--action-custom-type): New vars.
6760         (display-buffer-alist, display-buffer-default-action)
6761         (display-buffer-overriding-action): Add defcustom types.
6763         * frame.el (delete-other-frames): Doc fix (Bug#276).
6765 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6767         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6769 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
6771         Change modes that used same-window-* vars to use switch-to-buffer.
6773         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6774         Use switch-to-buffer.
6776         * cus-edit.el (customize-group, custom-buffer-create)
6777         (customize-browse, custom-buffer-create-other-window):
6778         Use switch-to-buffer or switch-to-buffer-other-window.
6780         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6781         (Info-prev, Info-up, Info-speedbar-goto-node)
6782         (info-display-manual): Use switch-to-buffer.
6783         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6785         * mail/sendmail.el (mail): Use switch-to-buffer.
6786         (mail-recover): Use switch-to-buffer-other-window.
6788         * cmuscheme.el (run-scheme, switch-to-scheme):
6789         * ielm.el (ielm):
6790         * shell.el (shell):
6791         * net/rlogin.el (rlogin):
6792         * net/telnet.el (telnet, rsh):
6793         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6795 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
6797         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6799 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6801         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6802         so don't mention it (bug#9301).
6803         (dired-sort-toggle-or-edit): Clarify string further.
6805         * faces.el (face-spec-set-match-display): Make `(type graphic)'
6806         match `x', `w32' and `ns', like the manual says (bug#9029).
6808         * subr.el (eval-after-load): Doc string clarification (bug#9125).
6809         (process-kill-buffer-query-function): Mention the buffer name in
6810         the query.
6812         * image-mode.el (image-next-line): The line parameter is mandatory
6813         (bug#9258).
6815         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6816         which can be useful (bug#9301).
6818         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6820         * subr.el (match-string): Mention that the current buffer should
6821         be the same as the search was done in (bug#9282).
6823         * facemenu.el: Disable the remove-* commands if the mark isn't
6824         active (bug#9162).
6826 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
6828         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6829         of display-buffer.
6830         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6832         * replace.el (occur-mode-goto-occurrence)
6833         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6834         and display-buffer.
6836         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6837         display-buffer.
6839         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6840         special-display and same-window variables.
6841         (mail-other-window): Use switch-to-buffer-other-window.
6842         (mail-other-frame): USe switch-to-buffer-other-frame.
6844         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6845         Use display-buffer-other-frame.
6846         (gdb-display-gdb-buffer): Use pop-to-buffer.
6848         * progmodes/gud.el (gud-goto-info): Use info-other-window.
6850         * progmodes/python.el: Don't set same-window-buffer-names.
6852         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6854         * window.el (display-buffer-alist): Add *Python*.
6856 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
6858         * window.el (display-buffer-alist): Add entry for buffers
6859         previously handled same-window-*.
6860         (display-buffer-alist, display-buffer-default-action)
6861         (display-buffer-overriding-action): Mark as risky.
6862         (display-buffer-alist): Document action function changes.
6863         (display-buffer--same-window-action)
6864         (display-buffer--other-frame-action): New variables.
6865         (switch-to-buffer, display-buffer-other-frame): Use them.
6866         (display-buffer): Rename reuse-frame entry to reusable-frames.
6867         (display-buffer-reuse-selected-window): Function deleted.
6868         (display-buffer-reuse-window): Handle reusable-frames alist entry.
6869         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6870         (display-buffer-special): New function.
6871         (display-buffer--maybe-pop-up-frame-or-window): Rename from
6872         display-buffer-reuse-or-pop-window.  Split off special-display
6873         part into display-buffer-special.
6874         (display-buffer-use-some-window): Don't perform any special
6875         pop-up-frames handling.
6876         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6877         (display-buffer--maybe-same-window): Rename from
6878         display-buffer-maybe-same-window.
6880         * info.el: Don't set same-window-regexps.
6881         (info-setup): New function.
6882         (info-other-window, info): Call it.
6884         * cus-edit.el: Don't set same-window-regexps.
6885         (customize-group): New argument.
6886         (customize-group-other-window): Use it.
6887         (customize-face, customize-face-other-window): Likewise.
6888         (custom-buffer-create-other-window): Use pop-to-buffer directly.
6890         * net/rlogin.el:
6891         * net/telnet.el:
6892         * progmodes/gud.el: Don't set same-window-regexps.
6894         * cmuscheme.el:
6895         * ielm.el:
6896         * shell.el:
6897         * mail/sendmail.el:
6898         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6900 2011-09-10  Juri Linkov  <juri@jurta.org>
6902         * isearch.el (isearch-edit-string): Remove obsolete mention of
6903         `C-w' (`isearch-yank-word-or-char') from docstring.
6904         (isearch-query-replace): Fix typo in docstring (bug#9466).
6906 2011-09-10  Juri Linkov  <juri@jurta.org>
6908         * paren.el (show-paren-function): Don't show escaped parens.
6909         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
6911 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
6913         * mail/sendmail.el (mml-to-mime, mml-attach-file)
6914         (mm-default-file-encoding): Remove autoload forms, they are
6915         replaced with autoload cookies in mml.el and mm-encode.el.
6916         (mail-add-attachment): New command.
6917         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6918         (mail-mode): Mention mail-insert-file and mail-add-attachment in
6919         the doc string.
6920         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6922 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
6924         * simple.el (count-words-region): Use buffer if there's no region
6925         (bug#9429).
6927 2011-09-09  Juri Linkov  <juri@jurta.org>
6929         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6930         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6931         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
6933 2011-09-09  Alan Mackenzie  <acm@muc.de>
6935         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6936         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
6938 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
6940         Fix for Savannah bug#9392.
6941         * simple.el (mail-encode-mml): New defvar.
6943         * mail/rmail.el (mail-encode-mml): Add a defvar.
6944         (rmail-enable-mime-composing): Default to t.
6945         (rmail-forward): Use MIME method of forwarding only if both
6946         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6947         Set mail-encode-mml non-nil if the MIME method was used.
6949         * mail/sendmail.el (mml-to-mime): Add autoload form.
6950         (mail-encode-mml): Add a defvar.
6951         (mail-mode): Make mail-encode-mml buffer-local and initialize it
6952         to nil.
6953         (mail-send): If mail-encode-mml is non-nil, run the outgoing
6954         message through mml-to-mime, and reset mail-encode-mml to nil.
6956 2011-09-09  Glenn Morris  <rgm@gnu.org>
6958         * woman.el (woman-if-body): When processing an .el block,
6959         do not delete the next .el block as well.  (Bug#9447)
6960         (woman-special-characters): Add oq, cq, and hy characters.
6962 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6964         * window.el (window-deletable-p): Make sure window is live before
6965         invoking window-prev-buffers.
6967 2011-09-08  Leo Liu  <sdl.web@gmail.com>
6969         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
6971 2011-09-08  Juri Linkov  <juri@jurta.org>
6973         * progmodes/compile.el (compilation-environment): Make it
6974         a defcustom (bug#8340).
6976 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6978         * window.el (frame-auto-delete): Rename to window-auto-delete.
6979         Make it control auto-deletion of windows and/or frames.
6980         (window-deletable-p): New argument FORCE.  Rewrite conditions
6981         for deleting window/frame.  (Bug#9419)
6982         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6983         Rewrite handling of case when window/frame can be deleted.
6984         (delete-windows-on): Call window-deletable-p with new FORCE
6985         argument t.  (Bug#9456)
6987 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
6989         * help-mode.el (help-mode): Restore autoload.
6991 2011-09-07  Juri Linkov  <juri@jurta.org>
6993         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6994         `compilation-environment'.  Set buffer-local
6995         `compilation-environment' to `thisenv' later after (funcall mode).
6996         (Bug#8340)
6998         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
6999         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7000         instead of replacing its value.  (Bug#8340)
7002 2011-09-07  Juri Linkov  <juri@jurta.org>
7004         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7005         based on text properties put by `grep-filter' instead of matching
7006         escape sequences.
7007         (grep-mode): Set buffer-local `compilation-error-screen-columns'
7008         to the value of `grep-error-screen-columns' (bug#9438).
7010 2011-09-07  Juri Linkov  <juri@jurta.org>
7012         * simple.el (next-error-highlight, next-error-highlight-no-select):
7013         Doc fix (bug#9432).
7015 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
7017         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7018         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
7020 2011-09-07  Leo Liu  <sdl.web@gmail.com>
7022         * net/rcirc.el (rcirc-mode): Conditionally initialize
7023         rcirc-input-ring.
7025 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7027         * emacs-lisp/find-func.el (find-function-C-source): Only set
7028         find-function-C-source-directory after checking that we found a source
7029         file there (bug#9440).
7031 2011-09-06  Alan Mackenzie  <acm@muc.de>
7033         * isearch.el (isearch-other-meta-char): Wherever a key list is
7034         unread, "unread" the prefix arg, too.  This fixes bug #8901.
7036 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
7038         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7040 2011-09-05  Juri Linkov  <juri@jurta.org>
7042         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7044 2011-09-05  Juri Linkov  <juri@jurta.org>
7046         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7047         keeping point where processing of grep matches begins, and
7048         continue to delete remaining escape sequences from the same point.
7049         (grep-filter): Make leading zero optional in "0?1;31m" because
7050         git-grep emits "\033[1;31m" escape sequences unlike expected
7051         "\033[01;31m" as GNU Grep does (bug#9408).
7052         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7054 2011-09-05  Juri Linkov  <juri@jurta.org>
7056         * subr.el (y-or-n-p): Capitalize "yes".
7058 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
7060         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
7061         `tramp-cache-unload-hook' where appropriate.
7062         (tramp-methods): Rename `tramp-remote-sh' to
7063         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
7064         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7066         * net/tramp-sh.el (top): Don't require 'shell.
7067         (tramp-methods): Add `tramp-remote-shell' and
7068         `tramp-remote-shell-args' entries.
7069         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7070         (tramp-sh-handle-shell-command): Remove.
7071         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7072         Use `tramp-remote-shell'.
7074 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
7076         * mail/sendmail.el (sendmail-query-once-function): Delete.
7077         (sendmail-query-once): Save directly to send-mail-function.
7078         Update message-send-mail-function too.
7080         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7082 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
7084         * progmodes/python.el (python-mode-map): Use correct function to
7085         start python interpreter from menu-bar (as reported by Geert
7086         Kloosterman).
7087         (inferior-python-mode-map): Fix typo.
7088         (python-shell-map): Remove.
7090 2011-09-03  Deniz Dogan  <deniz@dogan.se>
7092         * net/rcirc.el (rcirc-print): Simplify code for
7093         rcirc-scroll-show-maximum-output.  There is no need to walk
7094         through all windows to find the right one.
7096 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
7098         * help.el (help-return-method): Doc fix.
7100 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
7102         * window.el (window-deletable-p): Don't return a non-nil value
7103         when there's a buffer that was shown in the window before.
7104         (Bug#9419)
7105         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7106         Set window's previous buffers to nil.
7108 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
7110         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7111         newline before and after the tag line, so it doesn't interfere
7112         with determining the paragraph direction of bidirectional text.
7114 2011-09-03  Leo Liu  <sdl.web@gmail.com>
7116         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
7118 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
7120         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7121         (pop-to-buffer): Change interactive spec.  Pass second argument
7122         directly to display-buffer.
7123         (display-buffer): Fix interactive spec.  Use functionp to
7124         distinguish between a function and a list of functions.
7126         * abbrev.el (edit-abbrevs):
7127         * arc-mode.el (archive-extract):
7128         * autoinsert.el (auto-insert):
7129         * bookmark.el (bookmark-bmenu-list):
7130         * files.el (find-file):
7131         * view.el (view-buffer):
7132         * progmodes/compile.el (compilation-goto-locus):
7133         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7135 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
7137         * window.el (display-buffer-alist): Doc fix.
7138         (display-buffer): Add docstring.  Don't treat
7139         display-buffer-default specially.
7140         (display-buffer-reuse-selected-window)
7141         (display-buffer-same-window, display-buffer-maybe-same-window)
7142         (display-buffer-reuse-window, display-buffer-pop-up-frame)
7143         (display-buffer-pop-up-window)
7144         (display-buffer-reuse-or-pop-window)
7145         (display-buffer-use-some-window): New functions.
7146         (display-buffer-default-action): Use them.
7147         (display-buffer-default): Delete.
7148         (pop-to-buffer-1): Fix choice of actions.
7150 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7152         * minibuffer.el (completion--insert-strings): Don't get confused by
7153         completion entries that end with an LF char.
7155 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
7157         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7159 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
7161         * window.el (display-buffer): Restore interactive spec.
7162         (display-buffer-same-window, display-buffer-other-window):
7163         New functions.
7164         (pop-to-buffer-1): New function.  Use the above.
7165         (pop-to-buffer, pop-to-buffer-same-window): Use it.
7166         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7168         * view.el (view-buffer-other-window, view-buffer-other-frame):
7169         Just use pop-to-buffer.
7171 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7173         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
7175 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
7177         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
7179 2011-08-31  Richard Stallman  <rms@gnu.org>
7181         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7182         of the separation of rmail-view-buffer from rmail-buffer.
7183         If you say no to "replace original", the decrypt is in the
7184         view buffer.  If you say yes, the decrypt goes into the
7185         rmail buffer also.
7187 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
7189         * window.el (display-buffer-window): Rewrite doc-string.
7190         (display-buffer-record-window): New function.
7191         (display-buffer-macro-specifiers)
7192         (display-buffer-even-window-sizes, display-buffer-set-height)
7193         (display-buffer-set-width, display-buffer-in-window)
7194         (display-buffer-reuse-window, display-buffer-split-specifiers)
7195         (display-buffer-side-specifiers, display-buffer-split-window-1)
7196         (display-buffer-split-window, display-buffer-split-atom-window)
7197         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7198         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7199         (display-buffer-other-window-means-other-frame)
7200         (display-buffer-normalize-special)
7201         (display-buffer-normalize-default)
7202         (display-buffer-normalize-argument)
7203         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7204         (display-buffer-normalize-specifiers, display-buffer-frame)
7205         (display-buffer-same-window, display-buffer-same-frame)
7206         (display-buffer-other-window)
7207         (display-buffer-same-frame-other-window)
7208         (display-buffer-other-frame, pop-to-buffer-same-window)
7209         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7210         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7211         (switch-to-buffer-same-frame)
7212         (switch-to-buffer-other-window-same-frame)
7213         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7214         (display-buffer-alist-set-1, display-buffer-alist-set-2)
7215         (display-buffer-alist-set): Remove.
7216         (display-buffer-function, special-display-buffer-names)
7217         (special-display-regexps, special-display-function):
7218         In doc-string refer to display-buffer-window and quit-restore
7219         parameter.
7220         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7221         (special-display-frame-alist, special-display-popup-frame)
7222         (same-window-buffer-names, same-window-regexps, same-window-p)
7223         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7224         (split-window-preferred-function, split-height-threshold)
7225         (split-width-threshold, window-splittable-p)
7226         (split-window-sensibly, window--try-to-split-window)
7227         (window--frame-usable-p, even-window-heights)
7228         (window--even-window-heights, window--display-buffer-1)
7229         (window--display-buffer-2, display-buffer-other-frame):
7230         Restore old Emacs 23 code, order and doc-strings where applicable.
7231         (display-buffer-default, display-buffer-assq-regexp): New functions.
7232         (display-buffer-alist): Rewrite doc-string.
7233         (display-buffer-default-action)
7234         (display-buffer-overriding-action): New variables.
7235         (display-buffer, switch-to-buffer): Rewrite.
7236         (pop-to-buffer): Restore Emacs 23 behavior but use
7237         window-normalize-buffer-to-display.
7238         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7239         Restore Emacs 23 behavior but use
7240         window-normalize-buffer-to-switch-to.
7241         (pop-to-buffer-same-window): Rewrite.
7242         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7243         Rewrite using Emacs 23 options.
7245 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
7247         * net/tramp.el (tramp-root-regexp): Remove.
7248         (tramp-completion-file-name-regexp-unified)
7249         (tramp-completion-file-name-regexp-separate)
7250         (tramp-completion-file-name-regexp-url): Don't use leading volume
7251         letter on win32 systems.  (Bug#5303, Bug#9311)
7252         (tramp-drop-volume-letter): Simplify definition.
7253         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7255 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7257         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7258         (bug#9356).
7260 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
7262         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7264 2011-08-29  Juri Linkov  <juri@jurta.org>
7266         * isearch.el (isearch-done): Don't display message "Mark saved"
7267         when arg `edit' is non-nil to prevent its flicker in the echo area.
7269 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
7271         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7272         obsolete packages for deletion.
7274 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
7276         * help-mode.el (help-mode-map): Add special-mode-map to parent.
7277         (help-mode): Derive help-mode from special-mode.  Don't invoke
7278         view-mode from help-mode.
7279         (help-xref-override-view-map): Remove.
7280         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7281         view-mode is not used anymore.
7283 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
7285         * server.el (server-port): Doc fix.
7287         * cus-theme.el (custom-theme-choose-mode): Inherit from
7288         special-mode (Bug#9124).
7289         (custom-theme-choose-mode-map): Add special-mode to parent.
7291 2011-08-28  Alan Mackenzie  <acm@muc.de>
7293         * progmodes/cc-fonts.el
7294         (c-make-font-lock-BO-decl-search-function): New function.
7295         (c-basic-matchers-after - "Fontify the clauses after various
7296         keywords"): Extract the three keyword lists for the 3 erroneous
7297         constructs from the list of four, and use the new function above
7298         in place of an old one.
7300 2011-08-28  Deniz Dogan  <deniz@dogan.se>
7302         * net/rcirc.el (rcirc-insert-prev-input)
7303         (rcirc-insert-next-input): Remove unused argument.
7305 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7307         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7309 2011-08-27  Alan Mackenzie  <acm@muc.de>
7311         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7312         handle function pointer parameters properly.
7314 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
7316         * window.el (display-buffer-reuse-window): Fix case where
7317         selected window was reused with non-nil OTHER-WINDOW argument.
7318         (Bug#9381)
7320 2011-08-27  Deniz Dogan  <deniz@dogan.se>
7322         * net/rcirc.el (rcirc-check-auth-status): Adding support for
7323         oftc's NickServ messages.
7325 2011-08-27  Glenn Morris  <rgm@gnu.org>
7327         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
7329 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
7331         * emacs-lisp/package.el (package-install): Call package-initialize
7332         if called interactively.
7334 2011-08-26  Leo Liu  <sdl.web@gmail.com>
7336         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
7338 2011-08-25  Juri Linkov  <juri@jurta.org>
7340         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7341         `search-whitespace-regexp' (bug#9364).
7343 2011-08-25  Juri Linkov  <juri@jurta.org>
7345         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7346         `regexp-search-ring' to their global values to protect from
7347         updating by `read-from-minibuffer' (bug#9185).
7349 2011-08-25  Juri Linkov  <juri@jurta.org>
7351         * textmodes/ispell.el (ispell-command-loop): Add newline
7352         at the end of the "Use option `i'..." line.
7354 2011-08-25  Juri Linkov  <juri@jurta.org>
7356         * battery.el (display-battery-mode): If `battery-status-function'
7357         or `battery-mode-line-format' is nil, display the message and set
7358         `display-battery-mode' to nil (bug#9363).
7360 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
7362         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7363         bidi-string-mark-left-to-right; they are unnecessary now.
7365 2011-08-25  Deniz Dogan  <deniz@dogan.se>
7367         * net/quickurl.el: Documentation typo fixes.
7369 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
7371         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7373 2011-08-25  Glenn Morris  <rgm@gnu.org>
7375         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7377         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7378         (smtpmail-via-smtp): Handle nil response from smtp.
7380 2011-08-24  Juri Linkov  <juri@jurta.org>
7382         * proced.el (proced-marked): Inherit from `error' instead of
7383         `font-lock-warning-face'.
7385         * ibuffer.el (ibuffer-marked-face): Change default face from
7386         `font-lock-warning-face' to `warning'.
7387         (ibuffer-deletion-face): Change default face from
7388         `font-lock-type-face' to `error'.
7390         * battery.el (battery-update): Use the face `error' instead of
7391         `font-lock-warning-face' (bug#6117).
7393 2011-08-24  Juri Linkov  <juri@jurta.org>
7395         * faces.el (success): Change face color from "Green3" to
7396         "ForestGreen" on light background (bug#9353).
7398 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
7400         * window.el (quit-window): Rename from quit-restore-window.
7401         Use same arglist as old quit-window.
7402         (frame-auto-delete): Doc fix.
7404         * view.el (view-mode-exit): Use quit-window.
7406 2011-08-24  Juri Linkov  <juri@jurta.org>
7408         * isearch.el (isearch-ring-adjust1): Start visiting previous
7409         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7410         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7411         for empty search string (when the last search string is reused
7412         automatically) to adjust the isearch ring to the last element and
7413         prepare the correct index for further M-p commands (bug#9185).
7415 2011-08-24  Kenichi Handa  <handa@m17n.org>
7417         * international/ucs-normalize.el: If decomposition property of
7418         CHAR is the default one (i.e. a list of CHAR itself), treat it as
7419         nil.
7420         (nfd, nfkd): Likewise.
7422 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7424         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7425         from process filters aren't reliably transmitted to the surrounding
7426         accept-process-output.
7427         (mpc-proc-check): New function.
7428         (mpc-proc-sync): Use it (bug#8293)
7430 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7432         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7433         Add compatibility functions (bug#9313).
7435 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
7437         * cus-start.el (all): Add entry for bidi-paragraph-direction.
7439         * international/uni-bidi.el: Regenerate.
7441 2011-08-23  Kenichi Handa  <handa@m17n.org>
7443         * international/charprop.el:
7444         * international/uni-bidi.el:
7445         * international/uni-category.el:
7446         * international/uni-combining.el:
7447         * international/uni-comment.el:
7448         * international/uni-decimal.el:
7449         * international/uni-decomposition.el:
7450         * international/uni-digit.el:
7451         * international/uni-lowercase.el:
7452         * international/uni-mirrored.el:
7453         * international/uni-name.el:
7454         * international/uni-numeric.el:
7455         * international/uni-old-name.el:
7456         * international/uni-titlecase.el:
7457         * international/uni-uppercase.el: Regenerate.
7459 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
7461         * help.el (help-window-setup): Fix message displayed when other
7462         window is reused.  (Bug#9341)
7464 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7466         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7467         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7469         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7470         Mark obsolete.
7471         * shell.el (shell-parse-pcomplete-arguments): New function.
7472         (shell-completion-vars): Use it instead (bug#9160).
7474 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7476         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7477         strings and comments (bug#9333).
7479         * emacs-lisp/debug.el (debug-arglist): New function.
7480         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
7481         (debug-on-entry-1): Handle interpreted closures (bug#9120).
7483 2011-08-22  Juri Linkov  <juri@jurta.org>
7485         * progmodes/compile.el (compilation-mode-font-lock-keywords):
7486         Revert regexp that highlights output switches to its old
7487         pre-2010-10-28 value and remove one `?' from it (bug#9319).
7489         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7490         to check for empty output (bug#9226).
7492 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
7494         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7495         symbol-constituent as the default, as that stops font-lock from
7496         working properly (Bug#8843).
7498 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7500         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7501         `coding-system-for-*' around the process open call to avoid
7502         auth-source side effects.
7503         (smtpmail-try-auth-methods): Expand the secret password.
7504         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7505         probe hangs.
7507 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
7509         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7511         * emacs-lisp/find-func.el (find-function-noselect): New arg
7512         lisp-only.
7514         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7515         signal an error for built-in functions (Bug#6664).
7517 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7519         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7520         (smtpmail-try-auth-methods): Use it.
7522 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
7524         * font-lock.el (font-lock-fontify-region)
7525         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7526         (font-lock-default-unfontify-buffer)
7527         (font-lock-default-fontify-region)
7528         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7530         * progmodes/compile.el (compilation-error-properties):
7531         Fix confusion between file struct and message struct (Bug#9319).
7532         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7533         `ant' regexp.
7535         * net/browse-url.el (browse-url-firefox): Don't call
7536         browse-url-firefox-sentinel unless using -remote (Bug#9328).
7538 2011-08-20  Glenn Morris  <rgm@gnu.org>
7540         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7542         * tutorial.el (tutorial--default-keys): Update some default bindings.
7544         * files.el (hack-local-variables): Fully ignore case for "mode:".
7546 2011-08-20  Alan Mackenzie  <acm@muc.de>
7548         Resolve invalid use of a regexp in regexp-opt.
7550         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7551         detection for a java annotation.
7553         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7554         detection for a java annotation.
7556         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7557         handling for java.
7558         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7560 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
7562         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7563         (Bug#9274).
7565 2011-08-20  Alan Mackenzie  <acm@muc.de>
7567         Fontify CPP expressions correctly when starting in the middle of
7568         such a construct.  Mainly for when jit-lock etc. starts a chunk
7569         here.
7571         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7572         variable.
7573         (c-make-font-lock-search-form): New function, extracted from
7574         c-make-font-lock-search-function.
7575         (c-make-font-lock-search-function): Use the above function.
7576         (c-make-font-lock-context-search-function): New function.
7577         (c-cpp-matchers): Enhance the preprocessor expression case with
7578         the above function
7579         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7580         which takes an expression.
7582         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7584 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
7586         * window.el (display-buffer-reuse-window)
7587         (display-buffer-pop-up-window): Don't reuse or split a side
7588         window.
7590 2011-08-19  Glenn Morris  <rgm@gnu.org>
7592         * files.el (hack-local-variables-prop-line, hack-local-variables):
7593         Downcase "Mode:".  (Bug#9331)
7595 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
7597         * international/characters.el: Add L and R categories.
7599         * subr.el (bidi-string-mark-left-to-right): Rename from
7600         string-mark-left-to-right.  Use category search.
7602         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7604 2011-08-18  Juri Linkov  <juri@jurta.org>
7606         * faces.el (error, warning, success): New faces with definitions
7607         copied from old default values of `font-lock-warning-face',
7608         `compilation-warning', `compilation-info' (bug#6117).
7610         * font-lock.el (font-lock-warning-face): Inherit from `error'.
7612         * progmodes/compile.el (compilation-error): Inherit from `error'.
7613         (compilation-warning): Inherit from `warning'.
7614         (compilation-info): Inherit from `success'.
7616         * dired.el (dired-marked): Inherit from `warning'.
7617         (dired-flagged): Inherit from `error'.
7619 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7621         * mail/smtpmail.el (auth-source): Require to avoid problems with
7622         binding variables (bug#9298).  Also clean up some unused
7623         autoloads.
7625         * net/network-stream.el (network-stream-open-starttls):
7626         Support using starttls.el without using gnutls-cli.
7628 2011-08-17  Juri Linkov  <juri@jurta.org>
7630         * progmodes/grep.el (rgrep): Handle the case when
7631         `grep-find-command' is a cons cell (bug#9278).
7633 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
7635         * window.el (display-buffer-pop-up-frame): Run frame creation
7636         function with BUFFER current (as special-display-popup-frame
7637         does).  Reported by Drew Adams.
7639 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
7641         * epa-mail.el: Simplify GnuPG group expansion using
7642         epg-expand-group.
7643         (epa-mail-group-alist, epa-mail-group-modtime)
7644         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7645         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7646         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7647         Remove.
7649 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
7651         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7653 2011-08-16  Alan Mackenzie  <acm@muc.de>
7655         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7656         Correct, to avoid the inside of macros.
7658 2011-08-16  Richard Stallman  <rms@gnu.org>
7660         * epa-mail.el: Handle GnuPG group definitions.
7661         (epa-mail-group-alist, epa-mail-group-modtime)
7662         (epa-mail-gnupg-conf-file): New variables.
7663         (epa-mail-parse-groups, epa-mail-sync-groups)
7664         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7665         (epa-mail-expand-recipients): New functions.
7666         (epa-mail-encrypt): Call epa-mail-expand-recipients.
7668         * mail/rmail.el (rmail-epa-decrypt): New command.
7670         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7671         Don't bind buffer-read-only, just inhibit-read-only.
7672         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7673         (epa-decrypt-armor-in-region): Make error message clearer.
7675 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7677         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7678         and "a2b" to "ab" for `prefix'.
7680 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
7682         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7683         filter groups.
7684         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
7685         Fourquet (Bug#8804).
7687 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
7689         * startup.el (argi): Declare as global variable (bug#9275).
7691 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
7693         * subr.el (string-mark-left-to-right): Search the entire string
7694         for RTL script, not just the terminating character.  Doc fix.
7696 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7698         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7699         New function.
7700         (js--regexp-literal, js-syntax-propertize-function): Remove.
7701         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7702         (js-mode-map): Don't rebind electric keys.
7703         (js-insert-and-indent): Remove.
7704         (js-mode): Setup electric-layout and electric-indent instead.
7706         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7708 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
7710         * epa.el (epa-progress-callback-function): Fix the logic of
7711         displaying progress.
7712         * epa-file.el (epa-file-insert-file-contents): Make progress
7713         display more user-friendly.
7714         (epa-file-write-region): Ditto.
7716 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
7718         * subr.el (string-mark-left-to-right): New function.
7720         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7721         Use string-mark-left-to-right.
7722         (list-buffers-noselect): Caller changed.
7724         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7725         Use string-mark-left-to-right.
7726         (tabulated-list-print): Recenter after moving point.
7728 2011-08-10  Juri Linkov  <juri@jurta.org>
7730         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7731         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7732         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7734 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
7736         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7737         (Bug#7554).
7739 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7741         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7742         character.  (Bug#6594)
7744 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
7746         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7747         (image-dired--with-db-file): New macro.
7748         (image-dired-write-tags, image-dired-remove-tag)
7749         (image-dired-create-gallery-lists, image-dired-write-comments)
7750         (image-dired-get-comment, image-dired-mark-tagged-files)
7751         (image-dired-list-tags, image-dired-gallery-generate): Use it.
7752         (image-dired-gallery-generate): Use insert-file-contents.
7754         * time.el (display-time-world-list, display-time-world-display):
7755         * time-stamp.el (time-stamp-string):
7756         * vc/add-log.el (add-change-log-entry): Use setenv instead of
7757         set-time-zone-rule (Bug#7337).
7759 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
7761         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7762         (epg-error-to-string, epg-errors-to-string): New function.
7763         (epg-wait-for-completion): Reverse errors list.
7764         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7765         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7766         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7767         (epg-sign-keys, epg-generate-key-from-file)
7768         (epg-generate-key-from-string): Format errors by using
7769         epg-errors-to-string (bug#9255).
7770         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7772 2011-08-07  Juri Linkov  <juri@jurta.org>
7774         * faces.el (list-faces-display): Remove extra angle bracket
7775         from `help-mode-map'.
7777         * info.el (Info-history-toc-nodes): Doc fix.
7779         * longlines.el (longlines-mode): Doc fix.
7781 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7783         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7784         of statements and in a few more cases (bug#9183).
7786         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7787         New functions.
7788         (cl-transform-lambda): Use them (bug#9239).
7790 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
7792         * window.el (display-buffer-same-window)
7793         (display-buffer-same-frame, display-buffer-other-window)
7794         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7795         (pop-to-buffer-other-window)
7796         (pop-to-buffer-same-frame-other-window)
7797         (pop-to-buffer-other-frame): Make them defuns.
7798         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7800 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7802         * subr.el (make-composed-keymap): Move from C.  Change calling
7803         convention, and improve docstring to bring attention to a subtle point.
7804         * minibuffer.el (completing-read-default): Adjust accordingly.
7806 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
7808         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7809         (tramp-open-shell): Use `tramp-shell-quote-argument'.
7811         * net/trampver.el: Update release number.
7813 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7815         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7816         "in" (bug#9190).
7818 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7820         * mail/sendmail.el (sendmail-query-once): Restore the current
7821         buffer after querying (bug#9074).
7823         * dired.el (dired-flagged): Use different faces for marked and
7824         flagged files (bug#6117).
7826         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7827         (bug#4433).
7829         * ido.el (ido-mode): Switch off the message if called
7830         non-interactively.
7832         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7833         before 587, since it appears that that's more likely to work for
7834         more people.
7836         * cus-edit.el (custom-file): When running under emacs -q, always
7837         refuse to save the customizations, even if the .emacs file doesn't
7838         exist.
7840         * info.el: Remove the `Info-beginning-of-buffer' function
7841         (bug#8325).
7843         * net/network-stream.el (network-stream-open-starttls):
7844         Use `starttls-available-p' to see whether starttls.el can be used.
7846 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
7848         * window.el (display-buffer-in-window): Don't set dedicated status
7849         of window here (Bug#9215).
7850         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7851         (display-buffer-pop-up-side-window)
7852         (display-buffer-in-side-window): Set dedicated status of window here.
7854 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7856         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7857         before binding generated-autoload-file.
7859 2011-08-01  Deniz Dogan  <deniz@dogan.se>
7861         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7863 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
7865         Sync with Tramp 2.2.2.
7867         * net/trampver.el: Update release number.
7869 2011-07-30  Juri Linkov  <juri@jurta.org>
7871         * dired-aux.el (dired-touch-initial): Remove function.
7872         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7873         current time, and `default' to the last modification time of the
7874         current marked file (bug#6887).
7876 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
7878         * simple.el (goto-line): Use string-to-number to provide a
7879         numeric argument to read-number (bug#9163).
7881 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
7883         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7884         connection process, it could be nil.
7886 2011-07-27  Leo Liu  <sdl.web@gmail.com>
7888         Simplify url handling in rcirc-mode.
7890         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7891         (rcirc-browse-url-at-mouse): Remove.
7892         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7894 2011-07-26  Alan Mackenzie  <acm@muc.de>
7896         Fontify bitfield declarations properly.
7898         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7899         (c-symbol-chars): Now exported as a lang variable.
7900         (c-not-primitive-type-keywords): New lang variable.
7902         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7903         QT keyword "more" to prevent "more slots: ...." being spuriously
7904         parsed as a bitfield declaration.
7906         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7907         Refactor and enhance to handle bitfield declarations.
7908         (c-punctuation-in): New function.
7909         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7910         declarations properly.
7912 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
7914         * calendar/icalendar.el (icalendar--all-events): Take care of
7915         multiple vcalendars in a single file.
7916         (icalendar--convert-float-to-ical): Checkdoc fixes.
7918 2011-07-25  Deniz Dogan  <deniz@dogan.se>
7920         * image.el (insert-image): Clarifying docstring.
7922 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
7924         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7925         `tramp-send-command-and-check' if there is no error.
7926         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7928 2011-07-22  Alan Mackenzie  <acm@muc.de>
7930         Prevent cc-langs.elc being loaded at run time.
7932         * progmodes/cc-mode.el: Remove two autoload forms which loaded
7933         cc-langs.
7935         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7936         "(require 'cc-langs)".  Quote a form so it will evaluate at
7937         (cc-mode's) compilation time.
7939 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
7941         * net/tramp.el (tramp-file-name-handler): Avoid recursive
7942         loading.  (Bug#9114)
7944 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
7946         * window.el (display-buffer-pop-up-window)
7947         (display-buffer-pop-up-side-window)
7948         (display-buffer-in-side-window): Call display-buffer-set-height
7949         and display-buffer-set-width after setting the new window's
7950         buffer so `fit-window-to-buffer' and friends work on the right buffer.
7952 2011-07-20  Sam Steingold  <sds@gnu.org>
7954         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7955         (etags-tags-included-tables): Call `convert-standard-filename' on
7956         the file names contained in TAGS so that windows Emacs can handle
7957         TAGS files created by cygwin ctags.
7959 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7961         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7962         which apparently didn't work.
7964 2011-07-19  Roland Winkler  <winkler@gnu.org>
7966         * proced.el (proced-send-signal): For *Marked Processes* buffer
7967         put point at beginning of buffer.
7969 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
7971         * proced.el (proced-format): Make header lines align with the text
7972         (bug#1779).
7974 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7976         * view.el (view-buffer): Allow running in `special' modes if we're
7977         visiting a file (bug#8615).
7979 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
7981         * window.el (display-buffer-alist-of-strings-p)
7982         (display-buffer-alist-set-1, display-buffer-alist-set-2):
7983         New functions.
7984         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7985         more accurately.
7987 2011-07-18  Alan Mackenzie  <acm@muc.de>
7989         Fontify declarators properly when, e.g., a jit-lock chunk begins
7990         inside a declaration.
7992         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7994         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7995         New function.
7996         (c-complex-decl-matchers): Insert reference to
7997         c-font-lock-enclosing-decls.
7999         * progmodes/cc-engine.el (c-backward-single-comment):
8000         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8001         to nil around calls to (forward-comment -1).
8003 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8005         * image.el (put-image): Doc typo fix.
8007         * progmodes/etags.el (tags-search): Doc typo fix.
8009         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8010         password if we get errors 550 to 554.
8012 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8014         * net/gnutls.el (gnutls-log-level): Remove.
8016         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8017         indentation character (bug#6380).
8019         * files.el (buffer-offer-save): Made permanently local (bug#6241).
8021         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8022         to clarify what the problem is (bug#4291).
8024         * simple.el (current-kill): Clarify what
8025         `interprogram-paste-function' does (bug#7500).
8026         (auto-fill-mode): Document `auto-fill-function' in relation to
8027         `auto-fill-mode' (bug#2470).
8029 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
8031         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8032         method if slot is read-only (bug#9035).
8034 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
8036         * frame.el (select-frame-set-input-focus): New argument NORECORD.
8037         * window.el (pop-to-buffer): Select window used even if it was
8038         selected before, see discussion of (Bug#8615), (Bug#6954).
8039         Pass argument NORECORD on to select-frame-set-input-focus.
8041 2011-07-15  Glenn Morris  <rgm@gnu.org>
8043         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
8044         Respect help-form.
8046 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
8048         * net/gnutls.el (gnutls-min-prime-bits): New variable.
8049         (gnutls-negotiate): Use it.
8051 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8053         * net/gnutls.el (gnutls-negotiate):
8054         Upcase `gnutls-algorithm-priority'.
8056 2011-07-15  Glenn Morris  <rgm@gnu.org>
8058         * jka-compr.el (jka-compr-verbose): Move from here...
8059         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
8060         Add missing :version tag.
8061         * info.el: No need to require jka-compr when compiling.
8063 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8065         * net/gnutls.el (gnutls-algorithm-priority): New variable.
8066         (gnutls-negotiate): Use it.
8068         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8070         * info.el (Info-beginning-of-buffer): New command.
8071         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8072         announcing `b' as the key (bug#8325).
8073         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8075         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8077         * international/mule-cmds.el
8078         (describe-specified-language-support): Make the error message
8079         clearer (bug#8905).
8081         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8083         * isearch.el (isearch-barrier): Add a doc string, since it's
8084         mentioned in a function doc string (bug#8678).
8086 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
8088         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8089         buffer argument (Bug#9083) and self-identifying label argument.
8091 2011-07-15  Glenn Morris  <rgm@gnu.org>
8093         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
8095 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8097         * man.el (Man-fontify-manpage): Fix message when formatting the
8098         man page (bug#7929).
8100 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
8102         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8103         argument LRM; if non-nil, append an invisible LRM character to the
8104         buffer name.
8105         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8106         last argument non-nil, when formatting buffer names.
8107         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8108         paragraph direction.
8110 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8112         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8113         the man page name (bug#7929).
8115         * image.el (put-image): Mention the `put-image' overlay property
8116         (bug#7834).
8118         * scroll-bar.el (set-scroll-bar-mode): Mention that
8119         `scroll-bar-mode' lists the values (bug#7772).
8121         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8122         command (bug#7729).
8124         * rect.el (apply-on-rectangle): Return the point after the last
8125         operation.
8126         (string-rectangle): Go to the point after the last operation
8127         (bug#7522).
8129         * printing.el (pr-toggle-region): Clarify the documentation
8130         slightly (bug#7493).
8132         * time.el (display-time-update):
8133         Allow `display-time-mail-function' to return nil (bug#7158).
8134         Fix suggested by Detlev Zundel.
8136         * vc/diff.el (diff): Clarify the order the file names are read
8137         (bug#7111).
8139         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8140         the doc string (bug#7015).
8142         * font-lock.el (font-lock-maximum-decoration): Mention what
8143         numeric levels mean (bug#6935).
8145         * startup.el (initial-buffer-choice): Don't mention the `none'
8146         selection, which is against policy.
8148 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
8150         * window.el (display-buffer-normalize-special):
8151         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8153 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
8155         * subr.el (version<, version<=, version=): Mention "-CVS" and
8156         "-12345" alpha version numbers.
8158 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
8160         * bindings.el: Add advertised binding for set-mark-command
8161         (Bug#5772).
8163 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
8165         * bindings.el (mode-line-other-buffer):
8166         * bookmark.el (bookmark-bmenu-2-window):
8167         * bs.el (bs-cycle-next, bs-cycle-previous):
8168         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8169         switch-to-buffer.
8171         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8172         Delete.
8174 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
8176         * follow.el (follow-debug-message, follow-redisplay):
8177         * jka-cmpr-hook.el (with-auto-compression-mode):
8178         Fix typos in docstrings.
8180 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8182         * subr.el (with-silent-modifications): Clarify somewhat what the
8183         macro inhibits (bug#6525).
8185         * simple.el (eval-expression): Note what it does if called
8186         interactively (bug#6495).
8188 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
8190         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8191         Use pop-to-buffer buffer-or-name if it is nil.
8193         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8194         Remove switch-to-buffer.
8196 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8198         * files.el (make-directory): Clarify that an error will be raised
8199         if there's an error (bug#6397).
8201         * startup.el (initial-buffer-choice): Add `none' as a choice
8202         (bug#6234).
8204         * subr.el (add-hook): Clarify section about buffer-local hooks
8205         (bug#6218).
8207         * dired.el (dired-flagged): Clarify doc string (bug#6117).
8209 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
8211         * tabify.el (untabify): Preserve the current column so that point
8212         doesn't move (bug#6032).
8214 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8216         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8217         Rewrite to avoid awkward possessive "s" (bug#5986).
8219 2011-07-13  Glenn Morris  <rgm@gnu.org>
8221         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
8222         (dired-insert-directory): Give a message the first time
8223         if ls is found not to support --dired.
8225 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8227         * simple.el (toggle-truncate-lines): Clarify what is toggled
8228         (bug#5580).  Text by Drew Adams.
8230 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
8232         * simple.el (blink-matching-open): Make the error message from the
8233         last change less verbose.
8235 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
8237         * font-lock.el (font-lock-comment-face): Use the high contrast
8238         "yellow" color for font-lock-comment-face on low color terminals
8239         using a dark background color (bug#4221).
8241 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8243         * dired.el (dired-insert-set-properties): Make the doc string
8244         reflect what it does now (bug#5325).
8246         * simple.el (blink-matching-open): Say that we were unable to find
8247         the match within the limit, if we're limited (bug#5122).
8249         * international/mule-cmds.el (prefer-coding-system): Add an
8250         example (bug#4869).
8252         * progmodes/etags.el (tags-search): Document `file-list-form'
8253         (bug#4731).
8255 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
8257         * net/browse-url.el (browse-url-default-browser)
8258         (browse-url-browser-function): Make the default browser choice a
8259         bit more logical (bug#4300).  Also clean up the doc string.
8261 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
8263         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8264         binary endings (bug#4440).
8266 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8268         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8269         which can be pretty annoying (bug#8971).
8271         * jka-compr.el (jka-compr-verbose): New variable, and use
8272         throughout (bug#8971).
8274         * info.el (Info-find-file): Fall back on the installation
8275         directory if we can't find the info node anywhere else.
8277 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
8279         * vc/vc.el (vc-revert-file):
8280         Don't set file time-stamp in the past.  (Bug#5181)
8282 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8284         * files.el (after-find-file): Give a better error message when
8285         trying to find a symlink that points to a file that doesn't exist
8286         (bug#4398).
8288         * progmodes/cc-vars.el: Remove (probably) misleading comment
8289         (bug#4396).
8291 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
8293         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8295 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
8297         * mouse-sel.el: Hack restoring functionality, while keeping
8298         compatibility with 2010-07-03 changes to mouse selection.
8299         (mouse-sel-primary-overlay): New var.
8300         (mouse-sel-selection-alist): Use it.
8301         (mouse-sel-mode): Doc fix; remove points that are default features
8302         of mouse.el.
8304 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
8306         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8307         Fix previous fix (bug#2490).
8309 2011-07-12  Roland Winkler  <winkler@gnu.org>
8311         * textmodes/bibtex.el (bibtex-initialize):
8312         Use pop-to-buffer-same-window.
8313         (bibtex-search-entries): Fix interactive call.
8315 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8317         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8318         Fontise bytecomp Error lines more correctly (bug#2490).
8319         Fix suggested by Johan BockgÃ¥rd.
8321         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8323         * dired-x.el (dired-guess-default): Use `delete-dups'.
8325 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
8327         * dired.el (dired-mark-prompt):
8328         * dired-aux.el (dired-read-shell-command): Doc fix.
8330 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8332         * mail/sendmail.el (sendmail-query-once):
8333         Use `customize-save-variable' unconditionally, now that it works under
8334         emacs -Q.
8336         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8338         * cus-edit.el (custom-file): Take an optional no-error variable.
8339         (customize-save-variable): Set the variable, and give a warning if
8340         running under "emacs -q".
8342 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
8344         * loadhist.el (unload-feature-special-hooks):
8345         Add `auto-coding-functions', `fill-nobreak-predicate' and
8346         `find-directory-functions' (bug#5327).
8348 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8350         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8352         * cus-edit.el (custom-guess-name-alist): -alist variables should
8353         use the `alist' type (bug#3120).  Suggested by Drew Adams.
8355         * printing.el: Add documentation to all the `pr-toggle-' commands.
8357 2011-07-11  Leo Liu  <sdl.web@gmail.com>
8359         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8360         backends where it makes sense (bug#2623).
8362 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8364         * dired-x.el (dired-guess-default): Remove duplicate shell command
8365         entries (bug#2028).
8366         (dired-guess-default): Fix grammar in doc string (bug#2028).
8367         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8369         * subr.el (remove-duplicates): New conveniency function.
8371 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8373         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8374         (bug#1526).
8376 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
8378         * window.el (display-buffer-normalize-default): Don't invert
8379         meaning of even-window-heights.  Reported by Eli Zaretskii
8380         <eliz@gnu.org>.
8382 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
8384         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8386 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
8388         * window.el (display-buffer): Fix arguments to
8389         display-buffer-reuse-window in last change.
8391         * faces.el (link): Use a less saturated blue on light backgrounds.
8393         * startup.el (fancy-startup-text, fancy-about-text)
8394         (fancy-startup-tail): Use font-lock faces, for background safety.
8396 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
8398         * emulation/viper-cmd.el (viper-change-state-to-vi):
8399         Limit triggering of abbrev expansion (Bug#9038).
8401 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
8403         * window.el (display-buffer-default-specifiers): Remove.
8404         (display-buffer-macro-specifiers): Remove default specifiers.
8405         (display-buffer-alist): Default to nil.
8406         (display-buffer-reuse-window): New optional argument other-window.
8407         (display-buffer-pop-up-window): Allow splitting internal
8408         windows.  Check whether a live window was created.
8409         (display-buffer-other-window-means-other-frame)
8410         (display-buffer-normalize-arguments): Rename to
8411         display-buffer-normalize-argument and rewrite.  Set the
8412         other-window specifier.
8413         (display-buffer-normalize-special): New function.
8414         (display-buffer-normalize-options): Rename to
8415         display-buffer-normalize-default and rewrite.
8416         (display-buffer-normalize-options-inhibit): Remove.
8417         (display-buffer-normalize-specifiers): Rewrite.
8418         (display-buffer): Process other-window specifier and call
8419         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
8420         more faithfully.
8421         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8422         (display-buffer-alist-set): Don't handle 'unset default values.
8423         (display-buffer-in-window, display-buffer-alist-set):
8424         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
8425         <tassilo@member.fsf.org>.
8427 2011-07-09  Leo Liu  <sdl.web@gmail.com>
8429         * register.el (insert-register): Restore accidental change on
8430         2011-06-26.  (Bug#9028)
8432 2011-07-09  Glenn Morris  <rgm@gnu.org>
8434         * subr.el (remq): Handle the empty list.  (Bug#9024)
8436 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
8438         * mail/sendmail.el (send-mail-function): No longer delay custom
8439         initialization.
8440         * custom.el (custom-initialize-delay): Doc fix.
8442 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8444         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8446 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
8448         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8449         human-friendly prompt.
8451 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8453         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8454         provided by a particular plugin.
8456 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8458         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8459         save customizations (with "emacs -Q"), just set the variable
8460         instead of erroring out.
8462         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8464 2011-07-08  Juri Linkov  <juri@jurta.org>
8466         * arc-mode.el (archive-zip-expunge, archive-zip-update)
8467         (archive-zip-update-case): Use 7z if found by `executable-find'.
8468         The order of searching the available programs is the same as in
8469         `archive-zip-extract' (bug#8968).
8471 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8473         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8474         (menu-bar-options-menu): Tweak descriptions.
8476 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8478         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8479         menu items into verb phrases (bug#1421).  Also refill to fit under
8480         80 columns.
8482 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8484         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8485         (Info-read-node-name): Doc fix (Bug#1084).
8487         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8488         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8489         (end-of-sexp, beginning-of-sexp)
8490         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8491         (forward-symbol, forward-same-syntax, word-at-point)
8492         (sentence-at-point): Doc fix (Bug#1144).
8494 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8496         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8497         should cover it (bug#1281).
8499         * cus-edit.el (custom-show): Mark as obsolete.
8501         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8502         negotiation fails, then possibly try again with a non-encrypted
8503         connection (bug#9017).
8505         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8506         be used.
8508 2011-07-07  Richard Stallman  <rms@gnu.org>
8510         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8511         property, and handle its changed format.
8512         Look for the correct line number.
8513         Use file's line contents (but not past first =) to find
8514         correct line in message.
8516 2011-07-07  Kenichi Handa  <handa@m17n.org>
8518         * international/characters.el (build-unicode-category-table):
8519         Delete it.
8520         (unicode-category-table): Set it by unicode-property-table-internal.
8522         * international/mule-cmds.el (char-code-property-alist): Move to
8523         to src/chartab.c.
8524         (get-char-code-property): Call unicode-property-table-internal to
8525         load a file.  Call get-unicode-property-internal where necessary.
8526         (put-char-code-property): Call unicode-property-table-internal to
8527         load a file.  Call put-unicode-property-internal where necessary.
8528         put-unicode-property-internal where necessary.
8529         (char-code-property-description):
8530         Call unicode-property-table-internal to load a file.
8532         * international/charprop.el:
8533         * international/uni-bidi.el:
8534         * international/uni-category.el:
8535         * international/uni-combining.el:
8536         * international/uni-comment.el:
8537         * international/uni-decimal.el:
8538         * international/uni-decomposition.el:
8539         * international/uni-digit.el:
8540         * international/uni-lowercase.el:
8541         * international/uni-mirrored.el:
8542         * international/uni-name.el:
8543         * international/uni-numeric.el:
8544         * international/uni-old-name.el:
8545         * international/uni-titlecase.el:
8546         * international/uni-uppercase.el: Regenerate.
8548         * loadup.el: Load international/charprop.el before
8549         international/characters.
8551 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8553         * window.el (next-buffer, previous-buffer): Signal an error if
8554         called from a minibuffer window.
8556         * bindings.el: Revert 2011-07-04 change.
8558 2011-07-06  Richard Stallman  <rms@gnu.org>
8560         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8561         (rmail-mime-insert-bulk, rmail-mime-insert-text):
8562         Treat markers like ints.
8563         (rmail-mime-entity): Doc fix.
8565 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8567         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8568         defcustom again for backwards compatibility.
8570         * simple.el (shell-command-on-region): Fill.
8572         * dired-aux.el (dired-kill-line): Add a doc string.
8574         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8575         to "\\sw\\|\\s_" (bug#358).
8577         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8578         (dired-unmark-backward): Ditto.
8579         (dired-flag-backup-files): Ditto.
8581         * dired-x.el (dired-mark-sexp): Ditto.
8583 2011-07-06  Richard Stallman  <rms@gnu.org>
8585         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8586         (rmail-mime-entity): New arg TRUNCATED.
8587         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8588         New functions.
8589         (rmail-mime-save): Warn if entity is truncated.
8590         (rmail-mime-toggle-hidden): Likewise, for showing.
8591         (rmail-mime-process-multipart): Record when an entity is truncated.
8593         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8594         if ENTITY is a string.
8596 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8598         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8599         of faces when `M-C-x'-ing their definitions (bug#8378).
8600         Also clean up the code slightly.
8602         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8603         because that makes the colors go away.
8605         * mail/sendmail.el (send-mail-function): Change the default to
8606         `sendmail-query-once'.
8607         (sendmail-query-once): Add an autoload cookie.
8609         * net/network-stream.el (network-stream-open-starttls): Try using
8610         a plain connection even if the server offered STARTTLS, and we
8611         kinda wanted to use it, if Emacs doesn't have any STARTTLS
8612         capability.  This should make smtpmail.el work in slightly more
8613         configurations.
8615 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
8617         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8618         New defun.
8619         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8621 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
8623         * progmodes/sql.el: Version 3.0
8624         (sql-product-alist): Add product :completion-object,
8625         :completion-column, and :statement attributes.
8626         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8627         (sql-mode-syntax-table): Mark all punctuation.
8628         (sql-font-lock-keywords-builder): Temporarily remove fallback on
8629         ansi keywords.
8630         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8631         (sql-mode-oracle-font-lock-keywords): Improve.
8632         (sql-oracle-show-reserved-words): New function for development.
8633         (sql-product-font-lock): Simplify for source code buffers.
8634         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8635         New functions.
8636         (sql-highlight-product): Set product specific syntax table.
8637         (sql-mode-map): Add statement movement functions.
8638         (sql-ansi-statement-starters, sql-oracle-statement-starters):
8639         New variable.
8640         (sql-statement-regexp, sql-beginning-of-statement)
8641         (sql-end-of-statement, sql-signum): New functions.
8642         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8643         (sql-show-sqli-buffer): Bug fix.
8644         (sql-interactive-mode): Store connection data as buffer local.
8645         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
8646         with sql-interactive-mode.
8647         (sql-save-connection): Save buffer local settings.
8648         (sql-connection-menu-filter): Change menu entry name.
8649         (sql-product-interactive): Bug fix.
8650         (sql-preoutput-hold): New variable.
8651         (sql-interactive-remove-continuation-prompt): Bug fixes.
8652         (sql-debug-redirect): New variable.
8653         (sql-str-literal): New function.
8654         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8655         Redesign.
8656         (sql-oracle-save-settings, sql-oracle-restore-settings)
8657         (sql-oracle-list-all, sql-oracle-list-table): New functions.
8658         (sql-completion-object, sql-completion-column)
8659         (sql-completion-sqlbuf): New variables.
8660         (sql-build-completions-1, sql-build-completions)
8661         (sql-try-completion): New functions.
8662         (sql-read-table-name): Use them.
8663         (sql-contains-names): New buffer local variable.
8664         (sql-list-all, sql-list-table): Use it.
8665         (sql-oracle-completion-types): New variable.
8666         (sql-oracle-completion-object, sql-sqlite-completion-object)
8667         (sql-postgres-completion-object): New functions.
8669 2011-07-06  Glenn Morris  <rgm@gnu.org>
8671         * window.el (pop-to-buffer): Doc fix.
8673 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
8675         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8677 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
8679         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8681         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8683 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
8685         * button.el (button): Inherit from link face.  Suggested by Dan
8686         Nicolaescu.
8688 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8690         * progmodes/gdb-mi.el: Fit in 80 columns.
8691         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8692         switch-to-buffer.
8694         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8695         if imenu is simply not configured (bug#8941).
8697 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
8699         * allout.el (allout-post-undo-hook): New allout outline-change
8700         event hook to signal undo activity.
8701         (allout-post-command-business): Run allout-post-undo-hook if an
8702         undo just occurred.
8703         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8704         * allout-widgets.el (allout-widgets-after-undo-function):
8705         Ensure the integrity of the current item's decoration after it has been
8706         in the vicinity of an undo.
8707         (allout-widgets-mode): Include allout-widgets-after-undo-function
8708         on the new allout-post-undo-hook.
8710 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8712         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8713         Let define-derived-mode define it.
8714         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8715         cycles of abbrev-table inheritance (bug#8998).
8717 2011-07-05  Roland Winkler  <winkler@gnu.org>
8719         * textmodes/bibtex.el: Add support for biblatex.
8720         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8721         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8722         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8723         (bibtex-entry-alist, bibtex-field-alist): New variables.
8724         (bibtex-entry-field-alist): Obsolete alias for
8725         bibtex-BibTeX-entry-alist.
8726         (bibtex-entry-alist, bibtex-field-alist): New widgets.
8727         (bibtex-set-dialect): New command.
8728         (bibtex-entry-type, bibtex-entry-head)
8729         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8730         Bind via bibtex-set-dialect.
8731         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8732         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8733         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8734         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8735         Define via bibtex-set-dialect.
8736         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8737         Obey bibtex-no-opt-remove-re.
8738         (bibtex-vec-push, bibtex-vec-incr): New functions.
8739         (bibtex-format-entry, bibtex-field-list)
8740         (bibtex-print-help-message, bibtex-validate)
8741         (bibtex-search-entries): Use new format of bibtex-entry-alist.
8743 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8745         * progmodes/compile.el (compilation-goto-locus):
8746         * net/tramp-cmds.el (tramp-append-tramp-buffers):
8747         * bs.el (bs-cycle-next, bs-cycle-previous):
8748         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8749         * bindings.el (mode-line-other-buffer):
8750         * autoinsert.el (auto-insert):
8751         * arc-mode.el (archive-extract):
8752         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8754 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8756         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8757         Fix check of `emacs-lock-unlockable-modes'.
8758         Coerce true values of `emacs-lock--try-unlocking' to t.
8760 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8762         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8763         * emacs-lock.el: New file.
8765 2011-07-05  Julien Danjou  <julien@danjou.info>
8767         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8768         than `boundp' to check if face is set.
8770 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8772         * register.el (registerv-make):
8773         * window.el (window-min-height): Fix typos in docstrings.
8775 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
8777         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8778         Update doc string.
8780 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8782         * server.el (server-execute): Catch quit and call
8783         `server-return-error' to pass the error back to emacsclient and
8784         close the connection (bug#8942).
8786 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
8788         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8789         insecure exception for current topic.  Also note that auto-saves
8790         are handled differently.
8792         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8793         State variables for tracking auto-save inhibition situation.
8795         (allout-write-contents-hook-handler): Rename from
8796         'allout-write-file-hook-handler', and describe how it depends on
8797         write-contents-functions sensitivity to non-nil value to prevent
8798         file write.
8800         (allout-auto-save-hook-handler): Remove.  auto-save does not check
8801         this in individual buffers, only in the starting buffer, so this
8802         is not the right way for us to inhibit auto-save in a buffer
8803         according to its condition.
8805         (allout-mode): Use new allout-write-contents-hook-handler, and
8806         only with write-contents-functions.  Remove auto-save provisions -
8807         they're implemented elsewhere.
8809         (allout-before-change-handler): If undo is in progress, note that
8810         for attention of allout-post-command-business.
8812         (allout-post-command-business): If the command we're following was
8813         an undo, check for change in the status of encrypted items and
8814         adjust auto-save inhibitions accordingly.
8816         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8817         according to whether there are or aren't any plain-text topics
8818         pending encryption.
8820         (allout-inhibit-auto-save-info-for-decryption):
8821         Adjust buffer-saved-size and some allout state to inhibit auto-saves
8822         if there are plain-text topics pending encryption.
8824         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8825         buffer-saved-size and some allout state to not inhibit auto-saves
8826         if there are no longer any plain-text topics pending encryption.
8828         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8829         No longer provide for exemption of the current topic.
8831 2011-07-04  Juri Linkov  <juri@jurta.org>
8833         Add 7z operations to delete and save changed members (bug#8968).
8834         * arc-mode.el (archive-7z-expunge, archive-7z-update):
8835         New defcustoms.
8836         (archive-7z-write-file-member): New function.
8837         (archive-7z-summarize): Fix the number of dashes in the
8838         listing output.
8840 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8842         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8843         (bug#8958).
8845 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
8847         * bindings.el: Ignore next-buffer and previous-buffer in
8848         minibuffer-local-map.
8850         * font-lock.el (font-lock-builtin-face): Change light background
8851         color to dark slate blue (Bug#6693).
8853 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
8855         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8857 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8859         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8860         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8861         Add switch-to-buffer.
8863 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8865         * isearch.el (isearch-search-fun-function): Clarify further the
8866         meaning of the function returned.
8868 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
8870         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8872         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8873         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8874         Use it.
8875         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
8876         `tramp-default-remote-path' does not exist.
8877         (tramp-send-command-and-read): New optional argument NOERROR.
8878         (tramp-open-connection-setup-interactive-shell)
8879         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8880         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8881         (tramp-process-sentinel): Flush also process' connection property.
8882         (tramp-sh-handle-start-file-process): Do not set process
8883         sentinel.  It is done now ...
8884         (tramp-maybe-open-connection): ... here.  (Bug#8929)
8886 2011-07-04  MON KEY  <monkey@sandpframing.com>
8888         * play/animate.el (animate-string): Doc fixes and allow changing
8889         the buffer name (bug#5417).
8891 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8893         * play/animate.el (animation-buffer-name): Rename from *animate*.
8895 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
8897         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8898         This is simpler and helps future-proof the code.
8899         (timer-until): Use time-subtract and float-time.
8900         (timer--time-less-p): Use time-less-p.
8902 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8904         * type-break.el (timep): Use the value of `float-time' to avoid a
8905         byte-compiler warning.
8907         * server.el (server-eval-and-print): Return any result, even nil.
8909 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
8911         * type-break.el: Accept time formats that the builtins accept.
8912         (timep, type-break-time-difference): Accept any format that
8913         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8914         This is simpler and helps future-proof the code.
8915         (type-break-time-difference): Round rather than ignoring
8916         subseconds components.
8918 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8920         * info.el (Info-apropos-matches): Make non-interactive, since it
8921         doesn't seem to do anything useful as a command (bug#8829).
8923 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
8925         * frame.el (frame-background-mode, frame-set-background-mode):
8926         Move from faces.el.
8927         (frame-default-terminal-background): New function.
8929         * custom.el (custom-push-theme): Don't record faces in `changed'
8930         theme; this doesn't work correctly for per-frame face settings.
8931         (disable-theme): Use face-set-after-frame-default to reset faces.
8932         (custom--frame-color-default): New function.
8934 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8936         * dired.el (dired-flagging-regexp): Remove unused variable
8937         (bug#8769).
8939 2011-03-29  Kevin Ryde  <user42@zip.com.au>
8941         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8942         `perl-Test2' extend to match possible "fail #N" rep count
8943         (bug#8377).
8945 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8947         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8948         `smtpmail-via-smtp' now returns the error instead of nil.
8950         * isearch.el (isearch-search-fun-function): Clarify the doc string
8951         (bug#8101).
8953 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
8955         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8956         unnecessary spaces (bug#8987).
8958 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8960         * net/network-stream.el (open-network-stream): Use the
8961         :end-of-capability command thoughout.
8963 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8965         * net/network-stream.el (open-network-stream): Add the
8966         :end-of-capability command parameter, used by pop3.el.
8968 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8970         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8972         * fringe.el (fringe-query-style): Remove redundant text " (type ?
8973         for list)" (bug#6475).
8975         * files.el (file-expand-wildcards): Ignore non-readable
8976         sub-directories while trying to find matches instead of signaling
8977         an error (bug#6297).
8979         * man.el (Man-reference-regexp): Allow matching possible
8980         word-wrapped references (bug#6289).
8982         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8983         for consistency with the other vc buffers (bug#6197).
8984         (vc-checkin): Ditto.
8986         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8988         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8990 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8992         * custom.el (defcustom): Clarify that :set is only used in the
8993         Customize user interface (bug#6089).
8995         * progmodes/flymake.el (flymake-mode): If the buffer isn't
8996         associated with a file, refuse to run instead of erroring out
8997         (bug#6084).
8999         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9000         the doc string, since it appears that using `fill-column' always
9001         controls the width (bug#7845).
9003         * simple.el (shell-command-on-region): Say where the error output
9004         went if `shell-command-default-error-buffer' is set (bug#6857).
9006 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
9008         * allout.el (allout-yank-processing): Adjust cursor position for
9009         backwards-deleted space.
9011         (allout-rebullet-heading): Register changes with
9012         allout-exposure-changed-hook, so the modified topic is properly
9013         decorated.
9015 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9017         * minibuffer.el (completion-in-region): Document PREDICATE
9018         (bug#7136).
9020         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9021         of keyword/argument pairs (bug#6904).
9023         * replace.el (multi-occur):
9024         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9026 2011-07-02  Drew Adams  <drew.adams@oracle.com>
9028         * dired.el (dired-mark-if): Make the message about whether it's
9029         marking or unmarking clearer (bug#8523).
9031 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9033         * disp-table.el (display-table-print-array): New function.
9034         (describe-display-table): Use it to print the vectors more pretty
9035         (Bug#8859).
9037 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
9039         * window.el (window-state-get-1): Don't assign clone numbers.
9040         Add clone-of item to list of window parameters.
9041         (window-state-put-2): Don't process clone numbers.
9042         (display-buffer-alist): Fix doc-string.
9044 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9046         * subr.el (remq): Don't allocate if it's not needed.
9047         (keymap--menu-item-binding, keymap--menu-item-with-binding)
9048         (keymap--merge-bindings): New functions.
9049         (keymap-canonicalize): Use them to refine the canonicalization.
9050         * minibuffer.el (minibuffer-local-completion-map)
9051         (minibuffer-local-must-match-map): Move initialization from C.
9052         (minibuffer-local-filename-completion-map): Move initialization from C;
9053         don't inherit from anything here.
9054         (minibuffer-local-filename-must-match-map): Make obsolete.
9055         (completing-read-default): Use make-composed-keymap to combine
9056         minibuffer-local-filename-completion-map with either
9057         minibuffer-local-must-match-map or
9058         minibuffer-local-filename-completion-map.
9060 2011-07-01  Glenn Morris  <rgm@gnu.org>
9062         * type-break.el (type-break-time-sum): Use dolist.
9064         * textmodes/flyspell.el (flyspell-word-search-backward):
9065         Replace CL function.
9067 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9069         * mouse.el (mouse--strip-first-event): New function.
9070         (function-key-map): Use it to map fringe clicks to normal clicks
9071         by default.
9073         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9074         (vc-bzr-revision-completion-table): Add support for annotate and date.
9076         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9077         inherit from parent.
9079 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9081         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9082         (dired-show-file-type): Doc fixup (bug#8818).
9084         * dired.el (dired-mode): Fix up the doc string as suggested by
9085         Drew Adams (bug#8817).
9087         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9088         cookie, since the manual says that it should be possible to add
9089         this function to `find-file-hook' (bug#8709).
9091 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
9093         * progmodes/cfengine.el: Moved all cfengine3.el functionality
9094         here.  Noted Ted Zlatanov as the maintainer.
9095         (cfengine-common-settings, cfengine-common-syntax): New functions
9096         to set up common things between `cfengine-mode' and
9097         `cfengine3-mode'.
9098         (cfengine3-mode): New mode.
9099         (cfengine3-defuns cfengine3-defuns-regex
9100         (cfengine3-class-selector-regex cfengine3-category-regex)
9101         (cfengine3-vartypes cfengine3-font-lock-keywords)
9102         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9103         (cfengine3-indent-line): Add from cfengine3.el.
9105 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
9107         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9109         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9111 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
9113         * window.el (same-window-buffer-names, same-window-regexps)
9114         (same-window-p, special-display-frame-alist)
9115         (special-display-popup-frame, special-display-function)
9116         (special-display-buffer-names, special-display-regexps)
9117         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9118         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9119         (split-window-preferred-function, split-height-threshold)
9120         (split-width-threshold, even-window-heights)
9121         (display-buffer-mark-dedicated, window-splittable-p)
9122         (split-window-sensibly, window-safely-shrinkable-p):
9123         Un-obsolete.
9124         (display-buffer): Don't spread args with function specifier
9125         because special-display-popup-frame won't like it.
9127 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
9129         Time-stamp simplifications and fixes.
9130         These improve accuracy slightly, and future-proof the code
9131         against some potential changes to current-time format.
9133         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9134         by using time-since and float-time.
9136         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9137         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
9138         + NNN microseconds".
9140         * type-break.el (type-break-time-sum): Rewrite using time-add.
9142         * play/hanoi.el (hanoi-current-time-float): Remove.
9143         All uses replaced by float-time.
9145         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9146         This yields a more-accurate answer.
9147         (rng-time-to-float): Remove; no longer needed.
9149         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9151         * calendar/timeclock.el (timeclock-seconds-to-time):
9152         Defalias to seconds-to-time, since they're the same thing.
9154         * emacs-lisp/elp.el (elp-elapsed-time):
9155         * emacs-lisp/benchmark.el (benchmark-elapse):
9156         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9158 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9160         * window.el (bury-buffer): Don't iconify the only frame.
9161         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9162         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
9164 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
9166         * eshell/em-smart.el (eshell-smart-display-navigate-list):
9167         Add mouse-yank-primary.
9169 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
9171         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9173 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9175         * emacs-lisp/find-func.el (find-library--load-name): New fun.
9176         (find-library-name): Use it to find relative load names when provided
9177         absolute file name (bug#8803).
9179 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9181         * textmodes/flyspell.el (flyspell-word): Consider words that
9182         differ only in case as potential doublons (bug#5687).
9184         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9185         Remove two rather uninteresting debugging-like messages to make
9186         debbugs.el more silent.
9188         * comint.el (comint-password-prompt-regexp): Accept "Response" as
9189         a password-like phrase.
9191 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
9193         * progmodes/cc-guess.el: New file.
9195         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9197         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9198         derived from `c-basic-common-init'.
9200         * progmodes/cc-mode.el (top-level): Require cc-guess.
9201         (c-basic-common-init): Use `cc-choose-style-for-mode'.
9203 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
9205         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9207 2011-06-30  Alan Mackenzie  <acm@muc.de>
9209         * progmodes/cc-engine.el (c-guess-continued-construct):
9210         Correct the handling of template-args-cont, particularly for when font
9211         lock is disabled.  Name this case as "CASE G".
9213 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
9215         * allout.el (allout-yank-processing): Fix injection of extra space
9216         between bullet and non-whitespace character in first topic when
9217         pasting, ensuring that the actual spacing in the pasted topic
9218         following the bullet char is preserved.  This extra space was
9219         causing pasted encrypted topics to get a decrypted status even
9220         when the content was actually still encrypted.  Now the decryption
9221         status from before the paste is preserved.
9223         (allout-flag-region): Set all allout overlays so they evaporate
9224         when reduced to zero length (evanescent), to prevent overlay
9225         leakage.
9227 2011-06-30  Glenn Morris  <rgm@gnu.org>
9229         * w32-fns.el (w32-charset-info-alist): Declare.
9231         * find-dired.el (find-grep-options): Simplify.
9233         * term/ns-win.el (ns-set-resource): Declare.
9235         * ses.el (row, col): Declare dynamic variables honestly.
9237         * textmodes/reftex-parse.el (index-tags): Declare.
9239 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
9241         * cus-edit.el (customize-push-and-save): New function.
9243         * files.el (hack-local-variables-confirm): Use it.
9245         * custom.el (load-theme): New arg NO-CONFIRM.
9246         Use customize-push-and-save (Bug#8720).
9247         (custom-enabled-themes): Doc fix.
9249         * cus-theme.el (customize-create-theme)
9250         (custom-theme-merge-theme): Callers to load-theme changed.
9252 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9254         * thingatpt.el (thing-at-point-short-url-regexp): Require that
9255         short URLs have at least one dot in them (bug #7614).
9257         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9258         nil, because using a pty is apparently too slow (bug #895).
9260 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9262         * mail/sendmail.el (sendmail-query-once): New function.
9263         (sendmail-query-once-function): New variable.
9265 2011-06-29  Glenn Morris  <rgm@gnu.org>
9267         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9269         * ses.el (top-level): Require cl when compiling.
9270         (ses-set-localvars): Fix error statement.
9271         Call it at compile time to silence a storm of warnings.
9273 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
9275         * window.el (normalize-live-buffer): Rename to
9276         window-normalize-buffer.
9277         (normalize-live-frame): Rename to window-normalize-frame.
9278         (normalize-any-window): Rename to window-normalize-any-window.
9279         (normalize-live-window): Rename to window-normalize-live-window.
9280         (make-window-atom): Rename to window-make-atom.
9281         (window-resize-reset): Rename to window--resize-reset.
9282         (window-resize-reset-1): Rename to window--resize-reset-1.
9283         (resize-mini-window): Rename to window--resize-mini-window.
9284         (resize-subwindows-skip-p): Rename to
9285         window--resize-subwindows-skip-p.
9286         (resize-subwindows-normal): Rename to
9287         window--resize-subwindows-normal.
9288         (resize-subwindows): Rename to window--resize-subwindows.
9289         (resize-other-windows): Rename to window--resize-siblings.
9290         (resize-this-window): Rename to window--resize-this-window.
9291         (resize-root-window): Rename to window--resize-root-window.
9292         (resize-root-window-vertically): Rename to
9293         window--resize-root-window-vertically.
9294         (normalize-buffer-to-display): Rename to
9295         window-normalize-buffer-to-display.
9296         (normalize-buffer-to-switch-to): Rename to
9297         window-normalize-buffer-to-switch-to.
9298         Correspondingly update all callers of the functions listed
9299         above.
9300         (display-buffer-alist, display-buffer-normalize-arguments)
9301         (display-buffer-normalize-options, display-buffer)
9302         (display-buffer-alist-set): Use "function" instead of
9303         "fun-with-args".
9305 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
9307         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9308         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
9309         debbugs.gnu.org.  Mention acknowledgment email.
9311 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9313         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9314         buffer multibyteness, since it shouldn't matter.
9316 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
9318         * window.el (display-buffer-in-side-window): Handle dedicated
9319         windows as in display-buffer-reuse-window.
9320         (display-buffer-normalize-alist): Use value of override
9321         specifier.
9322         (display-buffer-normalize-specifiers): Use value of
9323         other-window-means-other-frame specifier.
9324         (display-buffer-alist): Rewrite some texts in widgets.
9325         (display-buffer): Spread arguments when calling function
9326         specified by fun-with-args.
9328 2011-06-28  Deniz Dogan  <deniz@dogan.se>
9330         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9331         Unnest `let'.
9333         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9334         selectors (Bug#5732).
9335         (css-proprietary-nmstart-re): Use `regexp-opt'.
9337 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
9339         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9340         (eshell-ls-date-format): New defcustom.
9341         (eshell-ls-file): Use it.
9343 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9345         * help-fns.el (describe-variable): Fix message for terminal-local vars.
9347 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
9349         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9350         (ange-ftp-make-tmp-name): New arg.
9351         (ange-ftp-file-local-copy): Use it.
9353 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
9355         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9356         no-conversion (Bug#8870).
9358 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
9360         * window.el (window-right, window-left, window-child)
9361         (window-child-count, window-last-child)
9362         (window-iso-combination-p, walk-window-tree-1)
9363         (window-atom-check-1, window-tree-1, delete-window)
9364         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9365         new naming conventions - window-vchild, window-hchild,
9366         window-next and window-prev are now called window-top-child,
9367         window-left-child, window-next-sibling and window-prev-sibling
9368         respectively.
9369         (resize-window-reset): Rename to window-resize-reset.
9370         (resize-window-reset-1): Rename to window-resize-reset-1.
9371         (resize-window): Rename to window-resize.
9372         (window-min-height, window-min-width)
9373         (resize-mini-window, resize-this-window, resize-root-window)
9374         (resize-root-window-vertically, adjust-window-trailing-edge)
9375         (enlarge-window, shrink-window, maximize-window)
9376         (minimize-window, delete-window, quit-restore-window)
9377         (split-window, balance-windows, balance-windows-area-adjust)
9378         (balance-windows-area, window-state-put-2)
9379         (display-buffer-even-window-sizes, display-buffer-set-height)
9380         (display-buffer-set-width, set-window-text-height)
9381         (fit-window-to-buffer): Rename all "resize-window" prefixed
9382         calls to use the "window-resize" prefix convention.
9383         (display-buffer-alist): Fix symbol for label specifier.
9384         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9385         corresponding specifier.
9386         Reported by Juanma Barranquero <lekktu@gmail.com>.
9388 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9390         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9391         convention.
9392         (ses-call-printer): Does not pass an empty string to formatter when the
9393         cell is empty to keep from barking printer Calc math-format-value.
9395 2011-06-27  Richard Stallman  <rms@gnu.org>
9397         * battery.el (battery-mode-line-limit): New variable.
9398         (battery-update): Handle it.
9400         * mail/rmailmm.el (rmail-mime-process-multipart):
9401         Handle truncated messages.
9403 2011-06-27  Glenn Morris  <rgm@gnu.org>
9405         * progmodes/flymake.el (flymake-err-line-patterns):
9406         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
9408 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9410         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9411         (ses--clean-!, ses--clean-_): New functions.
9412         (ses-range): Add configurability of readout order, and conversion
9413         to Calc vector.
9415         * ses.el (ses-repair-cell-reference-all): New function.
9416         (ses-cell-symbol): Set macro as safe, so that it can be used in
9417         formulas.
9419         * ses.el: Update cycle detection algorithm.
9420         (ses-localvars): Add ses--Dijkstra-attempt-nb and
9421         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9422         (ses-set-localvars): New function.
9423         (ses-make-cell): Add property-list as a cell element.
9424         (ses-cell-property-get-fun, ses-cell-property-get)
9425         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9426         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9427         New functions.
9428         (ses-cell-property-set, ses-cell-property-pop)
9429         (ses-cell-property-get-handle): New macro.
9430         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9431         New aliases, used for code readability.
9432         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9433         cycle detection.
9434         (ses-self-reference-early-detection): New defcustom.
9435         (ses-formula-references): Robustify against self-referring cells.
9436         (ses-mode): Use ses-set-localvars.
9437         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9438         before lauching the update processing.
9439         (ses-initialize-Dijkstra-attempt): New function.
9440         (ses-recalculate-cell): Update for cycle detection based on
9441         Dijkstra algorithm.
9443         * ses.el: Fix commenting and indenting convention.
9445 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9447         * bs.el (bs-cycle-next): Complete last change.
9449 2011-06-27  Drew Adams  <drew.adams@oracle.com>
9451         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9453 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9455         * net/network-stream.el (network-stream-open-starttls):
9456         Don't re-get capabilities unless we've reestablished connection.
9457         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9459         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9460         to binary to possibly avoid line encoding issues on Windows (among
9461         other things).
9463 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9465         * net/network-stream.el (open-network-stream): Return an :error
9466         saying what the problem was, if possible.
9468         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9469         server.
9471         * net/network-stream.el (network-stream-open-starttls): If we
9472         wanted to use STARTTLS, and the server offered it, but we weren't
9473         able to because we had no STARTTLS support, then close the connection.
9474         (open-network-stream): Return an :error element, if present.
9476 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
9478         * hl-line.el (hl-line-sticky-flag): Doc fix.
9479         (global-hl-line-sticky-flag): New option (Bug#8323).
9480         (global-hl-line-highlight): Obey it.
9482         * vc/vc.el (vc-revert-show-diff): Default to t.
9484 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
9486         * allout-widgets.el (allout-widgets-post-command-business):
9487         Stop decorating intermediate isearch matches.  They're not being
9488         undecorated when an isearch is continued past, and isearch
9489         automatically collapses them.  This leads to "widget leaks", where
9490         decorated items accumulate in collapsed areas.  Lines with lots of
9491         hidden widgets can slow down cursor travel, substantially.
9492         Too much complicated machinery would be needed to ensure undecoration,
9493         so we're doing without this nicety.
9495         (allout-widgets-tally-string): Don't try to do a hash-table-count
9496         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
9497         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9498         *Messages* when allout-widgets-maintain-tally is t.
9500 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
9502         * window.el (display-buffer-normalize-argument): Rename to
9503         display-buffer-normalize-arguments.  Handle special meaning of
9504         LABEL argument.  Respect special-display-function when popping up
9505         a new frame.  Fix code searching for a window showing the buffer
9506         on another frame.
9507         (display-buffer-normalize-specifiers):
9508         Call display-buffer-normalize-arguments.
9509         (display-buffer-in-window): Don't undedicate the window if its
9510         buffer remains the same.
9511         Reported by Drew Adams <drew.adams@oracle.com>.
9512         (display-buffer-alist): Add choice for same-window macro
9513         specfier.
9514         (display-buffer): Mention special meaning of LABEL argument in
9515         doc-string.  Fix quoting.  Don't pop up a new frame even as
9516         fallback.
9518 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
9520         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9521         avoid deleting the current window in some cases (bug#8911).
9523 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
9525         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9526         (Bug#8934)
9528 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9530         * net/network-stream.el (network-stream-open-starttls):
9531         Use built-in TLS support if `gnutls-available-p' is true.
9532         (network-stream-open-tls): Ditto.
9534 2011-06-26  Leo Liu  <sdl.web@gmail.com>
9536         * register.el (registerv): New struct.
9537         (registerv-make): New function.
9538         (jump-to-register, describe-register-1, insert-register):
9539         Support the jump-func, print-func and insert-func slot of a registerv
9540         struct.  (Bug#8415)
9542 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
9544         * vc/vc.el (vc-revert-show-diff): New defcustom.
9545         (vc-diff-internal): New arg specifying diff buffer.
9546         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
9547         reuse an existing *vc-diff* buffer (Bug#8927).
9549         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9551 2011-06-26  Glenn Morris  <rgm@gnu.org>
9553         * progmodes/f90.el (f90-critical-indent): New option.
9554         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9555         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9556         (f90-mode): Doc fix.
9557         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9558         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9559         (f90-beginning-of-block, f90-next-block, f90-indent-region)
9560         (f90-match-end): Handle block, critical.
9562 2011-06-25  Glenn Morris  <rgm@gnu.org>
9564         * calendar/diary-lib.el (diary-included-files): Doc fix.
9565         (diary-include-files): New function, extracted from
9566         diary-include-other-diary-files and diary-mark-included-diary-files.
9567         (diary-include-other-diary-files, diary-mark-included-diary-files):
9568         Just call diary-include-files.
9569         (diary-mark-entries): Reset diary-included-files on first call.
9571         * calendar/diary-lib.el (diary-mark-entries)
9572         (diary-mark-included-diary-files):
9573         Visit included diary-files in temp buffers.
9575         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9576         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9577         (f90-start-block-re, f90-imenu-generic-expression)
9578         (f90-looking-at-program-block-start, f90-no-block-limit):
9579         Add support for submodules.
9581         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9582         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9584 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
9586         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9587         buffer-file-type before setting its value, to avoid disastrous
9588         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
9590 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
9592         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9594         * ses.el (ses-unload-function):
9595         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9597         * proced.el (proced-unload-function):
9598         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9600 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
9602         * server.el (server-create-window-system-frame): Add parameters arg.
9603         (server-process-filter): Doc fix.  Handle frame-parameters.
9605 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
9607         Fix bug#8730, bug#8781.
9609         * loadhist.el (unload--set-major-mode): New function.
9610         (unload-feature): Use it.
9612         * progmodes/python.el (python-after-info-look): Add autoload cookie.
9613         (python-unload-function): New function.
9615 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9617         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9619 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
9621         * net/browse-url.el (browse-url-firefox-program): Add icecat to
9622         the candidates list.
9624 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
9626         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9628 2011-06-23  Richard Stallman  <rms@gnu.org>
9630         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9631         (rmail-variables): Set next-error-move-function.
9632         (rmail-what-message): Take argument POS.
9633         (rmail-next-error-move): New function.
9635 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9637         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9638         messages for adjacent non-terminals.
9640 2011-06-23  Richard Stallman  <rms@gnu.org>
9642         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9643         (rmail-show-message-1): Preserve buffer modified flag.
9644         (rmail-start-mail): Don't specify use of rmail-mail-return;
9645         that's done by mail-bury now.
9646         (rmail-mail-return): Handle arg NEWBUF.
9648 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
9650         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9651         SIZE is a number.
9653 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
9655         * window.el (get-lru-window, get-mru-window)
9656         (get-largest-window): Never return a minibuffer window.
9657         (display-buffer-pop-up-window): Fix a bug that could lead to
9658         reusing the minibuffer window.
9659         (display-buffer): Pass original specifier argument to
9660         display-buffer-function instead of the normalized one.
9661         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9663 2011-06-22  Leo Liu  <sdl.web@gmail.com>
9665         * minibuffer.el (completing-read-function)
9666         (completing-read-default): Move from minibuf.c
9668 2011-06-22  Richard Stallman  <rms@gnu.org>
9670         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9671         to Rmail even if not started by a special Rmail command.
9673         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9674         Copy the buffer currently showing just one message.
9676 2011-06-22  Roland Winkler  <winkler@gnu.org>
9678         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9679         (bibtex-clean-entry): First delete the old key so that a
9680         customized algorithm for generating the new key does not get
9681         confused by the old key.
9682         (bibtex-url): Obey regexp of first step.
9683         (bibtex-search-entries): Do not use add-to-list with local
9684         list-var.
9686 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9688         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9689         stored a user name, then query for the password first, instead of
9690         waiting for SMTP to give an error message and the trying again.
9692 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
9694         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9695         BUFFER in call-process.
9697 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9699         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9700         QUIT twice.
9701         (smtpmail-try-auth-methods): Require user name and password from
9702         auth-source.
9704 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
9706         * window.el (display-buffer-default-specifiers)
9707         (display-buffer-alist): Remove entries for pop-up-frame-alist.
9708         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9709         (split-window): Normalize SIDE argument (Bug#8916).
9711         * frame.el (pop-up-frame-alist, pop-up-frame-function)
9712         (special-display-frame-alist, special-display-popup-frame):
9713         Remove duplicate declarations.  These are now in window.el.
9715 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9717         * mail/smtpmail.el (smtpmail-via-smtp):
9718         Set :use-starttls-if-possible so that we always use STARTTLS if the
9719         server supports it.  SMTP servers that support STARTTLS commonly
9720         require it.
9722         * net/network-stream.el (network-stream-open-starttls): Support
9723         upgrading to STARTTLS always, even if we don't have built-in support.
9724         (open-network-stream): Add the :always-query-capabilities keyword.
9726         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9727         upgrades with `open-network-stream', and rely solely on
9728         auth-source for all credentials.  Big changes throughout the file,
9729         but in particular:
9730         (smtpmail-auth-credentials): Remove.
9731         (smtpmail-starttls-credentials): Remove.
9732         (smtpmail-via-smtp): Check for servers saying they want AUTH after
9733         MAIL FROM, too.
9735         * net/network-stream.el (network-stream-open-starttls):
9736         Provide support for client certificates both for external and built-in
9737         STARTTLS.
9738         (auth-source): Require.
9739         (open-network-stream): Document the :client-certificate keyword.
9740         (network-stream-certificate): Change cert-cert to cert and
9741         cert-key to key.
9743 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
9745         * net/tramp-cache.el (top): Don't load the persistency file when
9746         "emacs -Q" has been called.
9748 2011-06-21  Tim Harper  <timcharper@gmail.com>
9750         * term/ns-win.el (ns-initialize-window-system):
9751         Set application-specific `ApplePressAndHoldEnabled' system
9752         resource to NO as it is not yet supported by the NS port.
9754 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
9756         * misc.el (list-dynamic-libraries--refresh): Compute header here...
9757         (list-dynamic-libraries): ...not here.
9759 2011-06-21  Leo Liu  <sdl.web@gmail.com>
9761         * subr.el (sha1): Implement sha1 using secure-hash.
9763 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
9765         * window.el (display-buffer-alist): In default value do not
9766         enforce searching a window on any but the selected frame.
9767         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9768         (display-buffer-select-window): Remove function.
9769         (display-buffer-in-window): When a window on another frame gets
9770         reused, do not select it any more but just raise its frame if
9771         necessary (Bug#8851) and (Bug#8856).
9772         (display-buffer-normalize-options): Handle pop-up-frames related
9773         options more faithfully.
9774         (pop-to-buffer): Don't rely on `display-buffer' selecting the
9775         window if it is on another frame.
9776         (display-buffer-alist, display-buffer-default-specifiers):
9777         Don't make new frame unsplittable by default.
9778         (display-buffer-normalize-argument): Fix doc-string typo and use
9779         'same-frame-other-window instead of 'other-window when associating
9780         with display-buffer-macro-specifiers.
9782 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
9784         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9785         New functions.
9786         (5x5-mode-map, 5x5-mode-menu): Bind them.
9787         (5x5-draw-grid): Tweak the solver's rendering.
9789 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9791         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9792         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9794 2011-06-21  Drew Adams  <drew.adams@oracle.com>
9796         * menu-bar.el: Use function variable instead of switch-to-buffer.
9797         (menu-bar-select-buffer-function): New variable.
9798         (menu-bar-update-buffers): Use it (bug#8876).
9800 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9802         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9803         variable's status.
9805 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
9807         * x-dnd.el (x-dnd-version-from-flags)
9808         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9809         and long as number (Bug#8899).
9810         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9812 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9814         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9815         (completion-try-completion, completion-all-completions): Compute the
9816         metadata argument if it's missing; make it optional (bug#8795).
9818         * wid-edit.el: Use lex-bind and move towards completion-at-point.
9819         (widget-complete): Use new :completion-function property.
9820         (widget-completions-at-point): New function.
9821         (default): Use :completion-function instead of :complete.
9822         (widget-default-completions): Rename from widget-default-complete;
9823         Rewrite.
9824         (widget-string-complete, widget-file-complete, widget-color-complete):
9825         Remove functions.
9826         (file, symbol, function, variable, coding-system, color):
9827         * international/mule-cmds.el (default-input-method, charset)
9828         (language-info-custom-alist):
9829         * cus-edit.el (face): Use new property :completions.
9831         * progmodes/pascal.el (pascal-completions-at-point): New function.
9832         (pascal-mode): Use it.
9833         (pascal-mode-map): Use completion-at-point.
9834         (pascal-toggle-completions): Make obsolete.
9835         (pascal-complete-word, pascal-show-completions):
9836         * progmodes/octave-mod.el (octave-complete-symbol):
9837         Redefine as obsolete alias.
9838         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9839         Signal absence of completion info for old Octave,
9840         (inferior-octave-complete): Redefine as obsolete alias.
9841         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9842         (meta-completions-at-point): Rename from meta-complete-symbol and
9843         adapt it for use on completion-at-point-functions.
9844         (meta-common-mode): Use it.
9845         (meta-looking-at-backward, meta-match-buffer): Remove.
9846         (meta-complete-symbol): Redefine as obsolete alias.
9847         (meta-common-mode-map): Use completion-at-point.
9848         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9849         (makefile-mode-map): Use completion-at-point.
9850         (makefile-completions-at-point): Rename from makefile-complete and
9851         adapt it for use on completion-at-point-functions.
9852         (makefile-mode): Use it.
9853         (makefile-complete): Redefine as obsolete alias.
9855 2011-06-20  Deniz Dogan  <deniz@dogan.se>
9857         * net/rcirc.el: Delete trailing whitespaces once and for all.
9859 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
9861         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9863 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
9865         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9867         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9869 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
9871         * window.el (display-buffer-other-window-means-other-frame):
9872         Call display-buffer-normalize-alist.
9873         (display-buffer-normalize-specifiers-1): Rename to
9874         display-buffer-normalize-argument.  New argument other-frame.
9875         Rewrite.
9876         (display-buffer-normalize-specifiers-2): Rename to
9877         display-buffer-normalize-options.
9878         (display-buffer-normalize-alist-1): New function.
9879         (display-buffer-normalize-specifiers-3): Rename to
9880         display-buffer-normalize-alist.
9881         Call display-buffer-normalize-alist-1.
9882         (display-buffer-normalize-options-inhibit): New variable.
9883         (display-buffer-normalize-specifiers): Rewrite calling
9884         display-buffer-normalize-alist,
9885         display-buffer-normalize-argument, and
9886         display-buffer-normalize-options.  Don't call the latter if
9887         display-buffer-normalize-options-inhibit is non-nil.
9888         (frame-auto-delete): New option.
9889         (window-deletable-p): Use frame-auto-delete.
9890         (window-list-no-nils, window-state-ignored-parameters)
9891         (window-state-get-1, window-state-get, window-state-put-list)
9892         (window-state-put-1, window-state-put-2, window-state-put):
9893         New functions.
9894         (display-buffer-normalize-options): Move special-display-p group
9895         after pop-up-frame group (Bug#8851) and (Bug#8856).
9897 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
9899         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9900         groups (Bug#8776).
9901         (rx-submatch-n): New function.
9902         (rx): Document it.
9904         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9905         (Bug#8768).
9907         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9909         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9911         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9912         anytime existing face settings are present (Bug#8889).
9914         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9915         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9916         Remove unused argument.
9918 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
9920         * window.el (display-buffer-default-specifiers):
9921         Remove pop-up-frame.  Add pop-up-window-min-height,
9922         pop-up-window-min-width, and another reuse-window specifier
9923         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
9924         (display-buffer-normalize-specifiers-2):
9925         Handle split-height-threshold and split-width-threshold also when
9926         pop-up-windows is unset.  Add a reuse-window specifier for the
9927         case popping up a new window fails.
9928         (special-display-popup-frame): Remove double quoting.
9929         (display-buffer-normalize-specifiers-1): Fix thinko.
9931 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9933         * shell.el (shell-completion-vars): Set pcomplete-termination-string
9934         according to comint-completion-addsuffix.
9936         * pcomplete.el: Convert to lexical binding and fix bug#8819.
9937         (pcomplete-suffix-list): Mark as obsolete.
9938         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9939         pcomplete-seen in the closure.
9940         (pcomplete-comint-setup): Setup completion-at-point as well.
9941         (pcomplete--entries): New function.
9942         (pcomplete--env-regexp): New var.
9943         (pcomplete-entries): Rewrite to work with partial-completion and
9944         without relying on pcomplete-suffix-list.
9945         (pcomplete-pare-list): Remove, unused.
9947 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9949         * window.el (display-buffer-alist): Set pop-up-window-min-height
9950         and pop-up-window-min-width in default value.  Reported by
9951         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
9952         other-window-means-other-frame.
9953         (display-buffer-macro-specifiers): Comment out entry for
9954         other-window specifier.
9955         (display-buffer-other-window-means-other-frame): New function.
9956         (display-buffer-normalize-specifiers-1): New arguments
9957         buffer-name and label.  Treat other-window case specially.
9958         (display-buffer-normalize-specifiers-2): Treat other-window case
9959         specially.
9960         (display-buffer-normalize-specifiers-3): New function.
9961         (display-buffer-normalize-specifiers):
9962         Call display-buffer-normalize-specifiers-3.
9964 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9966         * window.el (same-window-p): Fix two typos introduced when
9967         adding with-no-warnings.
9968         (display-buffer-normalize-specifiers-1): Don't check
9969         pop-up-frames for 'unset initialization.
9970         (display-buffer-normalize-specifiers-2): Major rewrite using
9971         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9972         (pop-up-frames, display-buffer-reuse-frames)
9973         (display-buffer-mark-dedicated): Don't initialize to 'unset.
9974         Suggested by David Engster <deng@randomsample.de>.
9975         (even-window-heights): Initialize to 'unset.
9976         (display-buffer-alist-set): Handle new 'unset initializations.
9977         (display-buffer-macro-specifiers): Don't pop up a new frame in the
9978         other window case.
9980 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
9982         * window.el (display-buffer-normalize-specifiers-1):
9983         Respect current value of pop-up-frames for most reasonable values of
9984         second argument of display-buffer (Bug#8865).
9985         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9986         (switch-to-buffer-other-window-same-frame)
9987         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
9988         Adams (Bug#8875).
9989         (display-buffer): Don't check noninteractive when calling
9990         display-buffer-pop-up-frame.
9991         (display-buffer-pop-up-frame): Never pop up a frame in
9992         noninteractive mode (Bug#8857).
9993         (enlarge-window, shrink-window): Don't report an error when the
9994         window can't be resized as requested (Bug#8862).
9996 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9998         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10000         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10002         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10004 2011-06-15  Alan Mackenzie  <acm@muc.de>
10006         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10007         for declarators, disable knr checking to speed up for normal files.
10008         2: Refactor, replacing a sequence of nested if forms by a cond form.
10010 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10012         * net/network-stream.el (open-network-stream): Add the keyword
10013         :always-query-capabilities for the case where you want to force a
10014         `plain' network connection, but the protocol still requires the
10015         capabilitiy command (i.e., SMTP and EHLO).
10017         * subr.el (process-live-p): Rename from `process-alive-p' for
10018         consistency with other `-live-p' functions.
10020 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10022         * window.el (same-window-buffer-names, same-window-regexps)
10023         (special-display-frame-alist, special-display-popup-frame)
10024         (special-display-function, special-display-buffer-names)
10025         (special-display-regexps, pop-up-frame-alist)
10026         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10027         (pop-up-windows, split-window-preferred-function)
10028         (split-height-threshold, split-width-threshold, even-window-heights)
10029         (display-buffer-mark-dedicated): Don't encourage the use of
10030         display-buffer-alist from Elisp code.
10032 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
10034         * progmodes/python.el (python-mode): Derive from prog-mode.
10035         * progmodes/ps-mode.el (ps-mode):
10036         * progmodes/mixal-mode.el (mixal-mode):
10037         * progmodes/cfengine.el (cfengine-mode):
10038         * progmodes/ld-script.el (ld-script-mode): Likewise.
10040 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
10042         * window.el (display-buffer-alist): Trim default value to avoid
10043         popping up a new frame (Bug#8857) or reusing an arbitrary window
10044         on another frame.
10045         (display-buffer): Do not fall back on popping up a new frame in
10046         batch mode (Bug#8857).
10048 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
10050         * cus-theme.el (describe-theme-1): Use custom-theme-p.
10051         (custom-theme-summary): New function.
10052         (customize-themes): Use it.
10054 2011-06-13  Glenn Morris  <rgm@gnu.org>
10056         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10058 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
10060         * help.el (help-window): Remove variable.
10061         (help-window-point-marker, temp-buffer-max-height)
10062         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10063         (help-print-return-message): Don't set help-window.
10064         (resize-temp-buffer-window): Rewrite cod eand doc-string.
10065         (help-window-setup-finish): Remove.
10066         (help-window-display-message, help-window-setup)
10067         (with-help-window): Major rewrite based on new
10068         display-buffer-window variable.
10070         * help-mode.el (help-mode-finish): Remove help-window related
10071         code.
10073         * view.el (view-exits-all-viewing-windows): Remove reference to
10074         view-return-to-alist in doc-string.
10075         (view-return-to-alist): Make obsolete.
10076         (view-buffer): Call pop-to-buffer-same-window and remove
10077         undo-window code.
10078         (view-buffer-other-window): Call pop-to-buffer-other-window and
10079         simplify code.  Ignore second argument.
10080         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10081         simplify code.  Ignore second argument.
10082         (view-return-to-alist-update): Make obsolete.
10083         (view-mode-enter): Rename second argument to QUIT-RESTORE.
10084         Rewrite using quit-restore window parameters.
10085         (view-mode-exit): Rename second argument to EXIT-ONLY.
10086         Rewrite using quit-restore-window.
10087         (View-exit, View-exit-and-edit, View-leave, View-quit)
10088         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10089         appropriate arguments.
10090         (view-end-message): Use quit-restore window parameter.
10092         * window.el (display-buffer-function): Rewrite doc-string.
10093         (display-buffer-window, display-buffer-alist): New variables.
10094         (display-buffer-split-specifiers)
10095         (display-buffer-side-specifiers)
10096         (display-buffer-macro-specifiers): New constants.
10097         (display-buffer-even-window-sizes, display-buffer-set-height)
10098         (display-buffer-set-width, display-buffer-select-window)
10099         (display-buffer-in-window, display-buffer-reuse-window)
10100         (display-buffer-split-window-1, display-buffer-split-window)
10101         (display-buffer-split-atom-window, display-buffer-pop-up-window)
10102         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10103         (display-buffer-in-side-window, normalize-buffer-to-display)
10104         (display-buffer-normalize-specifiers-1)
10105         (display-buffer-normalize-specifiers-2)
10106         (display-buffer-normalize-specifiers, display-buffer-frame):
10107         New functions.
10108         (display-buffer): Major rewrite.
10109         (display-buffer-other-window, display-buffer-other-frame)
10110         (pop-to-buffer, switch-to-buffer-other-window)
10111         (switch-to-buffer-other-frame): Rewrite.
10112         (display-buffer-same-window, display-buffer-same-frame)
10113         (display-buffer-same-frame-other-window)
10114         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10115         (pop-to-buffer-other-window)
10116         (pop-to-buffer-same-frame-other-window)
10117         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10118         (switch-to-buffer-other-window-same-frame): New functions.
10119         (same-window-p, special-display-p): Rewrite disabling warnings.
10120         Make obsolete.
10121         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10122         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10123         Make obsolete
10124         (same-window-buffer-names, same-window-regexps)
10125         (special-display-frame-alist, special-display-popup-frame)
10126         (special-display-function, special-display-buffer-names)
10127         (special-display-regexps, pop-up-frame-alist)
10128         (pop-up-frame-function, split-window-preferred-function)
10129         (split-height-threshold, split-width-threshold)
10130         (even-window-heights): Make obsolete.
10132 2011-06-12  Glenn Morris  <rgm@gnu.org>
10134         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
10135         Misc simplifications.
10137 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
10139         * window.el (window-safely-shrinkable-p): Restore function which
10140         was inadvertently removed in change from 2011-06-11.  Declare as
10141         obsolete.
10143         * calendar/calendar.el (calendar-generate-window):
10144         Use window-iso-combined-p instead of combination of one-window-p and
10145         window-safely-shrinkable-p.
10147 2011-06-12  Glenn Morris  <rgm@gnu.org>
10149         * progmodes/fortran.el (fortran-mode-syntax-table):
10150         * progmodes/f90.el (f90-mode-syntax-table):
10151         Set % to punctuation.  (Bug#8820)
10152         (f90-find-tag-default): Remove, no longer needed.
10154 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
10156         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10158 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
10160         * image.el (image-animated-p): Return animation delay in seconds.
10161         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10162         (image-animate-timeout): Remove DELAY argument.  Don't assume
10163         every subimage has the same delay; get it from image-animated-p.
10164         (image-animate): Caller changed.
10166 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
10168         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10169         to ignored backtrace functions.
10171 2011-06-11  Glenn Morris  <rgm@gnu.org>
10173         * calendar/appt.el (appt-disp-window-function): Doc fix.
10174         (appt-check): Handle overlapping appointments.  (Bug#8337)
10176 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
10178         * window.el (window-tree-1, window-tree): New functions, moving
10179         the latter to window.el.
10180         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10181         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10182         (bw-refresh-edges): Remove.
10183         (balance-windows-1, balance-windows-2): New functions.
10184         (balance-windows): Rewrite in terms of window tree functions,
10185         balance-windows-1 and balance-windows-2.
10186         (bw-adjust-window): Remove.
10187         (balance-windows-area-adjust): New function with functionality of
10188         bw-adjust-window but using resize-window.
10189         (set-window-text-height): Rewrite doc-string.
10190         Use normalize-live-window and resize-window.
10191         (enlarge-window-horizontally, shrink-window-horizontally):
10192         Rename argument to DELTA.
10193         (window-buffer-height): New function.
10194         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10195         Rewrite using new window resize routines.
10196         (kill-buffer-and-window, mouse-autoselect-window-select):
10197         Use ignore-errors instead of condition-case.
10198         (quit-window): Call delete-frame instead of delete-windows-on
10199         for the only buffer on frame.
10201 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
10203         * loadup.el (top-level): Load window before files for the sake
10204         of replace-buffer-in-windows.
10206         * files.el (read-buffer-to-switch)
10207         (switch-to-buffer-other-window)
10208         (switch-to-buffer-other-frame, display-buffer-other-frame):
10209         Move to window.el.
10211         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10212         (previous-buffer): Move to window.el.
10214         * bindings.el (unbury-buffer): Move to window.el.
10216         * window.el (delete-other-windows-vertically): Move after
10217         definition of delete-other-windows.
10218         (other-window, delete-windows-on, replace-buffer-in-windows):
10219         Move here from window.c.
10220         (record-window-buffer, unrecord-window-buffer)
10221         (set-window-buffer-start-and-point, switch-to-prev-buffer)
10222         (switch-to-next-buffer): New functions.
10223         (get-next-valid-buffer, last-buffer, next-buffer): Move here
10224         from simple.el.  Call switch-to-next-buffer.
10225         (previous-buffer): Move here from simple.el.
10226         Call switch-to-prev-buffer.
10227         (bury-buffer): Move here from buffer.c.  Switch to previous
10228         buffer when window cannot be deleted.
10229         (unbury-buffer): Move here from bindings.el.
10230         (ctl-x-map): Move binding for other-window from window.c to
10231         here.
10232         (read-buffer-to-switch, switch-to-buffer-other-window)
10233         (switch-to-buffer-other-frame): Move here from files.el.
10234         (normalize-buffer-to-switch-to): New functions.
10235         (switch-to-buffer): Move here from buffer.c.
10236         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10238 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
10240         * window.el (window-min-height, window-min-width): Move here
10241         from window.c.  Add defcustoms and rewrite doc-strings.
10242         (resize-mini-window, resize-window): New functions.
10243         (adjust-window-trailing-edge, enlarge-window, shrink-window):
10244         Move here from window.c.
10245         (maximize-window, minimize-window): New functions.
10246         (delete-window, delete-other-windows, split-window): Move here
10247         from window.c.
10248         (window-split-min-size): New function.
10249         (split-window-keep-point): Mention split-window-above-each-other
10250         instead of split-window-vertically.
10251         (split-window-above-each-other, split-window-vertically):
10252         Rename split-window-vertically to split-window-above-each-other
10253         and provide defalias for old definition.
10254         (split-window-side-by-side, split-window-horizontally):
10255         Rename split-window-horizontally to split-window-side-by-side
10256         and provide defalias for the old definition.
10257         (ctl-x-map): Move bindings for delete-window,
10258         delete-other-windows and enlarge-window here from window.c.
10259         Replace bindings for split-window-vertically and
10260         split-window-horizontally by bindings for
10261         split-window-above-each-other and split-window-side-by-side.
10263         * cus-start.el (all): Remove entries for window-min-height and
10264         window-min-width.  Add entries for window-splits and
10265         window-nest.
10267 2011-06-09  Glenn Morris  <rgm@gnu.org>
10269         * calendar/appt.el (appt-mode-line): New function.
10270         (appt-check, appt-disp-window): Use it.
10272         * files.el (hack-one-local-variable-eval-safep):
10273         Allow minor-modes with explicit +/-1 arguments.
10275 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
10277         * term/xterm.el (xterm): Add defgroup.
10278         (xterm-extra-capabilities): Add defcustom to supply known xterm
10279         capabilities, skip querying them, or query them (default).
10280         (terminal-init-xterm): Use it.
10281         (terminal-init-xterm-modify-other-keys): New function to set up
10282         modifyOtherKeys support to simplify `terminal-init-xterm'.
10284 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
10286         * window.el (resize-window-reset, resize-window-reset-1)
10287         (resize-subwindows-skip-p, resize-subwindows-normal)
10288         (resize-subwindows, resize-other-windows, resize-this-window)
10289         (resize-root-window, resize-root-window-vertically)
10290         (window-deletable-p, window-or-subwindow-p)
10291         (frame-root-window-p): New functions.
10293 2011-06-09  Glenn Morris  <rgm@gnu.org>
10295         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10296         (ange-ftp-get-files): Use it.
10298 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10300         * mail/sendmail.el (mail-recover-1, mail-recover):
10301         * files.el (recover-file, recover-session):
10302         Handle dired-listing-switches not being just a single short option.
10304 2011-06-09  Glenn Morris  <rgm@gnu.org>
10306         * calendar/appt.el (appt-display-message, appt-disp-window):
10307         Handle lists of appointments.
10309 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
10311         * window.el (one-window-p): Move down in code.
10312         Rewrite doc-string.
10313         (window-current-scroll-bars): Rewrite doc-string.
10314         Normalize live window argument.
10315         (walk-windows, get-window-with-predicate, count-windows):
10316         Rewrite doc-string.  Use window-list-1.
10317         (window-in-direction-2, window-in-direction, get-mru-window):
10318         New functions.
10320 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
10322         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10323         Doc fix (Bug#8713).
10325 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
10327         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10329 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
10331         * loadhist.el (unload-feature-special-hooks):
10332         Add `comint-output-filter-functions'.
10334 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
10336         * calendar/appt.el (appt-check): Move some initializations into the let.
10338 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
10340         * window.el (window-height): Defalias to window-total-height.
10341         (window-width): Defalias to window-body-width.
10343 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
10345         * image-mode.el (image-toggle-animation): New command.
10346         (image-mode-map): Bind it to RET.
10347         (image-mode): Update message.
10348         (image-toggle-display-image): Avoid a spurious cache flush.
10349         (image-transform-rotation): Doc fix.
10350         (image-transform-properties): Return quickly in the normal case.
10351         (image-animate-loop): Rename from image-animate-max-time.
10353         * image.el (image-animate-max-time): Move to image-mode.el.
10354         (create-animated-image): Remove unnecessary function.
10355         (image-animate): Rename from image-animate-start.  New arg.
10356         (image-animate-stop): Remove; just use image-animate-timer.
10357         (image-animate-timer): Use car-safe.
10358         (image-animate-timeout): Rename argument.
10360 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
10362         * window.el (get-lru-window, get-largest-window): Move here from
10363         window.c.  Rename first argument to ALL-FRAMES.
10364         Rephrase doc-strings.
10365         (get-buffer-window-list): Rewrite using window-list-1.
10366         Rephrase doc-string.
10367         (window-safe-min-height, window-safe-min-width): New constants.
10368         (window-size-ignore, window-min-size, window-min-size-1)
10369         (window-sizable, window-sizable-p, window-size-fixed-1)
10370         (window-size-fixed-p, window-min-delta-1, window-min-delta)
10371         (window-max-delta-1, window-max-delta, window-resizable)
10372         (window-resizable-p, window-total-height, window-total-width)
10373         (window-body-width): New functions.
10374         (window-full-height-p, window-full-width-p): Rewrite using
10375         window-total-size.
10376         (window-body-height): Rewrite using window-body-size.
10378 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
10380         * window.el (window-right, window-left, window-child)
10381         (window-child-count, window-last-child, window-any-p)
10382         (normalize-live-buffer, normalize-live-frame)
10383         (normalize-any-window, normalize-live-window)
10384         (window-iso-combination-p, window-iso-combined-p)
10385         (window-iso-combinations)
10386         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10387         (windows-with-parameter, window-with-parameter)
10388         (window-atom-root, make-window-atom, window-atom-check-1)
10389         (window-atom-check, window-side-check, window-check):
10390         New functions.
10391         (ignore-window-parameters, window-sides, window-sides-vertical)
10392         (window-sides-slots): New variables.
10393         (window-size-fixed): Move down in code.  Minor doc-string fix.
10395 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
10397         * comint.el (comint-dynamic-complete-as-filename)
10398         (comint-dynamic-complete-filename): Correctly call
10399         completion-in-region.
10401 2011-06-05  Deniz Dogan  <deniz@dogan.se>
10403         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10404         in last change.
10406 2011-06-05  Deniz Dogan  <deniz@dogan.se>
10408         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10409         (rcirc): Use it to prompt for encryption.
10411 2011-06-05  Roland Winkler  <winkler@gnu.org>
10413         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10414         (bibtex-search-entries): New command bound to C-c C-a.
10415         (bibtex-display-entries): New function.
10417 2011-06-05  Roland Winkler  <winkler@gnu.org>
10419         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10420         (bibtex-insert-kill): After yanking insert newline if necessary.
10421         (bibtex-initialize): Call bibtex-string-files-init only once.
10422         (bibtex-mode): Do not call easy-menu-add.
10423         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10424         (bibtex-yank): Set arg properly if nil.
10426 2011-06-05  Roland Winkler  <winkler@gnu.org>
10428         * textmodes/bibtex.el (bibtex-search-entry-globally):
10429         New variable.
10430         (bibtex-search-entry): Use it.
10432 2011-06-05  Roland Winkler  <winkler@gnu.org>
10434         * textmodes/bibtex.el (bibtex-entry-format): New option
10435         sort-fields.
10436         (bibtex-format-entry, bibtex-reformat): Honor this option.
10437         (bibtex-parse-entry): Return fields in proper order.
10439 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
10441         * doc-view.el (doc-view-remove-if): Move computation of result out
10442         of `dolist' to silence misleading lexical-binding warning.
10444 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
10446         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10447         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10449 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
10451         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10452         "SunOS 5.10".
10454 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
10456         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10457         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10458         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10459         (tramp-parse-putty):
10460         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10461         (tramp-completion-function-alist-ssh)
10462         (tramp-completion-function-alist-telnet)
10463         (tramp-completion-function-alist-su)
10464         (tramp-completion-function-alist-putty): Set `tramp-autoload'
10465         cookie.
10467         * net/tramp-ftp.el:
10468         * net/tramp-sh.el:
10469         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10470         load "tramp.el" `tramp-set-completion-function'.
10472 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10474         * shell.el: Require and use pcomplete.
10475         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10476         (shell-completion-vars): Set pcomplete-default-completion-function.
10478 2011-06-04  Deniz Dogan  <deniz@dogan.se>
10480         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10481         `memq' (Bug#8799).
10483 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10485         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10487 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
10489         * bs.el (bs--mark-unmark, bs--nth-wrapper):
10490         * mpc.el (mpc-select-extend, mpc-songpointer-context):
10491         * vc/log-view.el (log-view-beginning-of-defun):
10492         * vc/smerge-mode.el (smerge-apply-resolution-patch)
10493         (smerge-refine-forward, smerge-refine-chopup-region):
10494         Silence warning for unused `dotimes' counter variables.
10496 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10498         * net/tramp.el (tramp-with-progress-reporter): Rename from
10499         with-progress-reporter.  Use `declare'.
10500         * net/tramp-smb.el:
10501         * net/tramp-sh.el:
10502         * net/tramp-gvfs.el: Update all uses.
10504 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
10506         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10507         buffer isn't killed before making it current.
10509 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10511         Silence various byte-compiler warnings.
10512         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10513         `access-type' and new obsolescence format.
10514         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10515         new format.
10516         (byte-compile-check-variable): New `access-type' argument.
10517         Only warn if the access-type is obsolete.
10518         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10519         (byte-compile-variable-set): Adjust callers.
10520         * help-fns.el (describe-variable): Adjust to new obsolescence format.
10521         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10522         setting it as obsolete.
10523         * simple.el (minibuffer-completing-symbol):
10524         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10525         access as obsolete.
10526         * minibuffer.el (minibuffer-completing-file-name): Don't make it
10527         obsolete yet.
10528         * international/quail.el (quail-mouse-choose-completion): Remove unused
10529         code referring to obsolete var.
10530         (quail-choose-completion-string): Remove.
10531         * server.el (server-clients-with, server-kill-buffer-query-function)
10532         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10533         * proced.el (proced-send-signal):
10534         * emacs-lisp/lisp.el (lisp-complete-symbol):
10535         Replace completion-annotate-function with completion-extra-properties.
10537 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10539         * simple.el (goto-line): Use read-number.
10540         (overriding-map-is-bound): Remove.
10541         (saved-overriding-map): Change default.
10542         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10543         Take the map as argument.
10544         (universal-argument, negative-argument, digit-argument): Use it.
10545         (restore-overriding-map): Adjust.
10546         (do-auto-fill): Use fill-forward-paragraph.
10547         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10549         * minibuffer.el (minibuffer-inactive-mode-map): New var.
10550         (minibuffer-inactive-mode): New major mode.
10551         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10552         the *Messages* buffer" hack.
10553         (mouse-popup-menubar): Don't burp if the event is a normal key.
10555         Miscellaneous tweaks.
10556         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10557         lexical scoping as in subr.el's dolist and dotimes.
10558         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10559         Silence compiler warning.
10560         * thingatpt.el (forward-whitespace): Trivial coding style fix.
10561         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10562         * international/ccl.el (ccl-compile): Trivial simplification.
10563         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10564         * emacs-lisp/testcover.el (testcover-end): Remove spurious
10565         `printflag' argument.
10566         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10567         Purecopy the whole obsolescence data.
10569 2011-06-01  Leo Liu  <sdl.web@gmail.com>
10571         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10572         improve doc-string as suggested by Marco Pessotto
10573         <melmothx@gmail.com>.
10574         (rcirc-print): Fix last change.
10576 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10578         * minibuffer.el (complete-with-action): Return nil for the metadata and
10579         boundaries of non-functional tables.
10580         (completion-table-dynamic): Return nil for the metadata.
10581         (completion-table-with-terminator): Add default case, using
10582         complete-with-action.
10583         (completion--metadata): New function.
10584         (completion-all-sorted-completions, minibuffer-completion-help): Use it
10585         to try and avoid pathological performance problems.
10586         (completion--embedded-envvar-table): Return `category' metadata.
10588 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10590         * subr.el (process-alive-p): New tiny convenience function.
10592 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10594         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10595         content but also its previous major mode.
10597 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
10599         * emacs-lisp/debug.el (debug): Restore the previous content of the
10600         *Backtrace* buffer when we exit with C-M-c.
10602 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10604         * minibuffer.el: Add metadata method to completion tables.
10605         (completion-category-overrides): New defcustom.
10606         (completion-metadata, completion--field-metadata)
10607         (completion-metadata-get, completion--styles)
10608         (completion--cycle-threshold): New functions.
10609         (completion-try-completion, completion-all-completions):
10610         Add `metadata' argument to choose completion-styles.
10611         (completion--do-completion): Use metadata to choose cycling.
10612         (completion-all-sorted-completions): Use metadata for sorting.
10613         Remove :completion-cycle-penalty which is not needed any more.
10614         (completion--try-word-completion): Add `metadata' argument.
10615         (minibuffer-completion-help): Check metadata for annotation function
10616         and sorting.
10617         (completion-file-name-table): Return `category' metadata.
10618         (minibuffer-completing-file-name): Make obsolete.
10619         * simple.el (minibuffer-completing-symbol): Make obsolete.
10620         * icomplete.el (icomplete-completions): Pass new `metadata' param to
10621         completion-try-completion.
10623 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10625         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10627 2011-05-30  Leo Liu  <sdl.web@gmail.com>
10629         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10630         (rcirc-print): Decode all incoming messages (bug#8744).
10631         (rcirc-decode-coding-system): Allow value nil for automatic coding
10632         system detection.
10634 2011-06-01  Glenn Morris  <rgm@gnu.org>
10636         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10638 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10640         * image.el (image-animate-max-time): Allow nil and t values.
10641         Default to nil.
10642         (create-animated-image): Doc fix.
10643         (image-animate-start): Remove second arg; just use
10644         image-animate-max-time.
10645         (image-animate-timeout): Doc fix.  Args changed.
10647         * image-mode.el (image-toggle-display-image): Ensure that the
10648         image spec passed to the animate timer is the same object as in
10649         the buffer's display property (Bug#6981).
10650         (image-transform-properties): Doc fix.
10652         * image.el (image-animate-max-time): Default to nil.
10654 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
10656         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10657         entire buffer list (Bug#8184).
10659 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10661         * image.el (imagemagick-types-inhibit)
10662         (imagemagick-register-types): Doc fix.
10664 2011-05-29  Deniz Dogan  <deniz@dogan.se>
10666         * net/rcirc.el (rcirc): Use the user's stored encryption method by
10667         default.
10669 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10671         * select.el: Don't perform clipboard-manager saving in hooks;
10672         leave the hooks empty.
10674 2011-05-28  Leo Liu  <sdl.web@gmail.com>
10676         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10677         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
10678         (occur-edit-mode): New major mode (Bug#8463).
10679         (occur-after-change-function): New function.
10680         (occur-engine): Give Occur tags a read-only property.
10682 2011-05-28  Kevin Ryde  <user42@zip.com.au>
10684         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10686 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10688         * bindings.el (help-echo): Make the initial non-indicator dash
10689         empty on graphical terminals (Bug#7295).
10691         * files.el (auto-mode-alist): Move config rule after the
10692         in-stripping one (Bug#8547).
10694         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10696         * startup.el (normal-splash-screen): Remove gratuitous mode-line
10697         setting (Bug#8740).
10699 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
10701         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10702         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10703         (Bug#8539).
10705 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10707         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10709 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
10711         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10712         (hs-hide-block-at-point, hs-find-block-beginning)
10713         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10714         (Bug#8279).
10716 2011-05-28  Glenn Morris  <rgm@gnu.org>
10718         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
10720 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10722         * help-fns.el (describe-function-1): If the function is a derived
10723         major mode, print the parent mode.
10725         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10726         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10728 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10730         * minibuffer.el (completion--capf-wrapper): Check applicability before
10731         returning non-nil for non-exclusive completion data.
10732         * progmodes/etags.el (tags-completion-at-point-function):
10733         * info-look.el (info-lookup-completions-at-point): Mark as
10734         non-exclusive.
10735         (info-complete): Adjust accordingly.
10737         * info-look.el: Convert to lexical-binding and completion-at-point.
10738         (info-lookup-completions-at-point): New function.
10739         (info-complete): Use it and completion-in-region.
10741 2011-05-28  Drew Adams  <drew.adams@oracle.com>
10743         * isearch.el: Let M-e start with point at the first mismatched char.
10744         (isearch-fail-pos): New function.
10745         (isearch-edit-string): Use it.
10747 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
10749         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10751 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
10753         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
10754         traversal functions for avl-trees.
10755         (avl-tree--stack): New struct.
10756         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10757         (avl-tree-enter): Add optional `updatefun' arg.
10758         (avl-tree--do-enter): Add optional `updatefun' arg.
10759         Change return value.
10760         (avl-tree-delete): Add optional `test' and `nilflag' args.
10761         (avl-tree--do-delete): Add `test' and `nilflag' args.
10762         Change return value.
10763         (avl-tree-member): Add optional `nilflag'
10764         (avl-tree-member-p): New function.
10765         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10766         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10767         (avl-tree-stack-empty-p): New functions.
10769         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10770         avl-tree--del-balance1 and make it work both ways.
10771         (avl-tree--del-balance2): Remove.
10772         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10773         make it work both ways.
10774         (avl-tree--enter-balance2): Remove.
10775         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10776         New macros.
10777         (avl-tree--mapc, avl-tree-map): Add direction argument.
10779 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
10781         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10783 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
10785         * select.el: Support clipboard managers with built-in function
10786         x-clipboard-manager-save, via delete-frame-functions and
10787         kill-emacs-hook.
10788         (xselect-convert-to-targets): Add MULTIPLE target to list.
10789         (xselect-convert-to-save-targets): New function.
10791 2011-05-27  Kenichi Handa  <handa@m17n.org>
10793         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10794         let-binding rfc2047-encode-encoded-words to nil.
10796 2011-05-27  Glenn Morris  <rgm@gnu.org>
10798         * mail/emacsbug.el: Don't require url-util.
10800         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
10802         * files.el (set-auto-mode):
10803         Also respect mode: entries at the end of the file.  (Bug#8586)
10805 2011-05-26  Glenn Morris  <rgm@gnu.org>
10807         * files.el (hack-local-variables-prop-line, hack-local-variables):
10808         Downcase mode names, as seems to be traditional.
10809         (hack-local-variables, hack-local-variables-apply): Doc fixes.
10811         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10812         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
10814 2011-05-25  Julien Danjou  <julien@danjou.info>
10816         * textmodes/rst.el (rst-define-level-faces): Do not define face
10817         symbol if it is already defined.
10819 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10821         * play/5x5.el (5x5-new-game, 5x5-randomize):
10822         Reset 5x5-solver-output to nil when a new grid is cast.
10823         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10824         these debugging traces, as defmacro breaks the compiled code.
10826 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
10828         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10830 2011-05-24  Leo Liu  <sdl.web@gmail.com>
10832         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10833         (vc-bzr-sha1): Adapt.
10835         * sha1.el: Remove.  Function `sha1' is now builtin.
10837         * bindings.el: Provide sha1 feature.
10839 2011-05-24  Kenichi Handa  <handa@m17n.org>
10841         * mail/sendmail.el: Require `rfc2047'.
10842         (mail-insert-from-field): Do not perform RFC2047 encoding.
10843         (mail-encode-header): New function.
10844         (sendmail-send-it): Set buffer-file-coding-system of the work
10845         buffer to the return value of select-message-coding-system.
10846         Call mail-encode-header.
10848         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10850 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
10852         * mail/supercite.el (sc-default-cite-frame):
10853         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10855 2011-05-24  Glenn Morris  <rgm@gnu.org>
10857         * progmodes/python.el (brm-menu): Declare.
10859         * emulation/viper.el (viper-set-hooks): Declare.
10861         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10862         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10863         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10864         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10865         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10866         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10868 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10870         Add an :exit-function for completion-at-point.
10872         * minibuffer.el (completion--done): New fun.
10873         (completion--do-completion): Use it.  New arg `expect-exact'.
10874         (minibuffer-complete, minibuffer-complete-word): Don't output message,
10875         since completion--do-completion does it for us now.
10876         (minibuffer-force-complete): Use completion--done and
10877         completion--replace.  Handle sole-completion case with more care.
10878         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10879         (completion-extra-properties): New var.
10880         (completion-annotate-function): Make obsolete.
10881         (minibuffer-completion-help): Adjust accordingly.
10882         Use completion-list-insert-choice-function.
10883         (completion-at-point, completion-help-at-point):
10884         Bind completion-extra-properties.
10885         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10886         * simple.el (completion-list-insert-choice-function): New var.
10887         (completion-setup-function): Preserve it.
10888         (choose-completion): Pay attention to it, shuffle the code a bit.
10889         (choose-completion-string): New arg `insert-function'.
10891         * textmodes/bibtex.el: Convert to lexical binding.
10892         (bibtex-mode-map): Use completion-at-point.
10893         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10894         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10895         (bibtex-complete): Define as obsolete alias.
10896         (bibtex-complete-internal): Remove.
10897         (bibtex-format-entry): Remove unused sub-group in regexp.
10898         * shell.el (shell--command-completion-data)
10899         (shell-environment-variable-completion):
10900         * pcomplete.el (pcomplete-completions-at-point):
10901         * comint.el (comint--complete-file-name-data): Use :exit-function
10902         instead of completion-table-with-terminator so it also works for
10903         choose-completion.
10905 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10907         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10909         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10910         (bug#8710).
10912         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10914 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
10916         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10917         customization variable and implement: If non-nil, auto-fill will
10918         be inhibited while on topic's header line.
10920 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10922         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10923         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
10924         always have a solution in grid size = 5 cases.
10925         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10926         (5x5-solver-output, 5x5-log-buffer): New vars.
10927         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10928         Make these variables buffer local to achieve 5x5 multi-session-ness.
10929         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10930         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10931         (5x5-solve-suggest): New funs.
10932         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10933         randomize a grid so that we ensure that there is always a solution.
10934         (5x5-make-random-grid): Allow other movement than flipping.
10936 2011-05-23  Kevin Ryde  <user42@zip.com.au>
10938         * emacs-lisp/advice.el (ad-read-advised-function):
10939         Use `function-called-at-point' as the default, if it has
10940         advice and passes PREDICATE.
10942 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10944         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10945         byte-compile-lambda if it's actually a lambda.
10947         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10948         Fix function quoting.  Use backquote better.
10950 2011-05-22  Yuanle Song  <sylecn@gmail.com>
10952         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10953         matching (Bug#8516).
10955 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
10957         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10958         different face (Bug#8178).
10960 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
10962         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10963         defface (Bug#8144).
10965 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10967         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10968         funcall as well (bug#8712).  Warn when performing those conversions.
10969         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10971         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10973 2011-05-22  Glenn Morris  <rgm@gnu.org>
10975         * files.el (hack-local-variables-prop-line): Small simplifications.
10976         (hack-local-variables, hack-local-variables-prop-line):
10977         If MODE-ONLY, return the mode, rather than just `t'.
10979 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10981         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10983 2011-05-21  Glenn Morris  <rgm@gnu.org>
10985         * files.el (hack-local-variables-prop-line, hack-local-variables):
10986         If only interested in the mode, don't bother doing the other stuff.
10988         * image-mode.el (image-after-revert-hook):
10989         Redraw all frames on which the image is visible.  (Bug#8567)
10991         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
10993         * wid-edit.el (widget-checklist-match-inline):
10994         Fix 2011-04-19 change.  (Bug#8649)
10996 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10998         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10999         Also allow singlespace after single-letter capitals followed by a dot.
11001         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11002         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11004 2011-05-20  Nix  <nix@esperi.org.uk>
11006         * files.el (basic-save-buffer-2):
11007         Fix handling of break-hardlink-on-save with non-existent files.
11009 2011-05-19  Deniz Dogan  <deniz@dogan.se>
11011         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11012         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11014 2011-05-19  Glenn Morris  <rgm@gnu.org>
11016         * progmodes/f90.el (f90-type-def-re):
11017         Handle "type, bind(c)".  (Bug#8691)
11019         * emacs-lisp/autoload.el (batch-update-autoloads):
11020         Set autoload-excludes by parsing loadup.el rather than Makefiles.
11022 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
11024         * net/tramp.el (tramp-process-actions): Set "first-password-request"
11025         property for the correct connection in case of multihops.
11027 2011-05-18  Glenn Morris  <rgm@gnu.org>
11029         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11030         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11032         Rationalize calendar handling of day and month abbrev-arrays.
11033         * calendar/calendar.el (calendar-customized-p): New function.
11034         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11035         (calendar-day-name-array, calendar-month-name-array): Doc fix.
11036         Add :set function.
11037         (calendar-abbrev-length, calendar-day-abbrev-array)
11038         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11039         (calendar-day-abbrev-array, calendar-month-abbrev-array):
11040         Elements may no longer be nil.
11041         (calendar-day-name, calendar-month-name):
11042         Update for changed nature of abbrev arrays.
11043         * calendar/diary-lib.el (diary-name-pattern):
11044         Update for changed nature of abbrev arrays.
11045         (diary-mark-entries-1): Update calendar-make-alist calls.
11046         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11047         * calendar/cal-html.el (cal-html-day-abbrev-array):
11048         Simply inherit from calendar-day-abbrev-array.
11050 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11052         * progmodes/grep.el (grep-mode): Disable default
11053         compilation-directory-matcher setting (bug#8684).
11055 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
11057         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11058         instead of "head" and "tail".  There were problems with SunOS 5.9,
11059         and it performs better.
11061 2011-05-17  Glenn Morris  <rgm@gnu.org>
11063         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11065         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11066         Replace obsolete function.
11068         * shell.el (pcomplete-parse-arguments-function): Declare.
11070         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11071         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11072         (appt-check): Doc fixes.
11073         (appt-disp-window-function, appt-delete-window-function):
11074         Remove needless special case in custom :type.
11075         (appt-display-count): Default to 0, not nil.
11076         (appt-check): Reset appt-display-count to 0, not nil.
11078 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
11080         * progmodes/python.el (python-font-lock-keywords):
11081         Add the Python 3.X keyword "nonlocal" (bug#8639).
11083 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11085         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11087 2011-05-16  Kevin Ryde  <user42@zip.com.au>
11089         * info-look.el (makefile-automake-mode): New setups, looking in
11090         automake manual, then makefile-mode.
11091         (makefile-mode): Remove automake manual, have it just in
11092         makefile-automake-mode since there's various things different or
11093         not relevant to plain make.
11094         (makefile-mode): Remove "other-modes" non-existent automake-mode,
11095         believe a hypothetical automake-mode would go to makefile-mode,
11096         not the other way around.
11098 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
11100         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11101         hunk-end tags (Bug#8672).
11103         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11104         vc-annotate-show-diff-revision-at-line (Bug#8671).
11106 2011-05-14  Glenn Morris  <rgm@gnu.org>
11108         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11109         in the middle of an existing one with multiple authors.  (Bug#8645)
11110         (change-log-font-lock-keywords): Also handle multiple author lines
11111         with leading tabs.  (Bug#8644)
11113         * calendar/appt.el (appt-check): Rename some local variables.
11114         Some simplification/reordering.
11116         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11117         (feedmail-sendmail-f-doesnt-sell-me-out)
11118         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11119         (feedmail-debug-sit-for, feedmail-queue-express-hook)
11120         (feedmail-queue-runner-message-sender): Set :version.
11121         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11122         (bbdb-dwim-net-address, vm-mail): Declare.
11123         (feedmail-binmail-gnulinuxish-template):
11124         Rename from feedmail-binmail-linuxish-template.
11125         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11126         Use insert-buffer-substring.
11128 2011-05-14  Bill Carpenter  <bill@carpenter.org>
11130         * mail/feedmail.el (feedmail-patch-level): Increase.
11131         (feedmail-debug): New custom group.
11132         (feedmail-confirm-outgoing-timeout)
11133         (feedmail-sendmail-f-doesnt-sell-me-out)
11134         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11135         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11136         (feedmail-sender-line, feedmail-from-line)
11137         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11138         (feedmail-spray-this-address)
11139         (feedmail-spray-address-fiddle-plex-list)
11140         (feedmail-queue-use-send-time-for-date)
11141         (feedmail-queue-use-send-time-for-message-id)
11142         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11143         (feedmail-buffer-eating-function):
11144         Doc fixes.
11145         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11146         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11147         (feedmail-message-action-scroll-down): New functions.
11148         (feedmail-queue-directory, feedmail-queue-draft-directory):
11149         Use expand-file-name.
11150         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11151         Remove C-v help entry.
11152         (feedmail-queue-buffer-file-name): New variable.
11153         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11154         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11155         (feedmail-message-action-send-strong, feedmail-message-action-edit)
11156         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11157         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11158         (feedmail-message-action-toggle-spray)
11159         (feedmail-run-the-queue-no-prompts)
11160         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11161         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11162         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11163         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11164         (feedmail-envelope-deducer, feedmail-fiddle-from)
11165         (feedmail-fiddle-sender, feedmail-default-date-generator)
11166         (feedmail-fiddle-date, feedmail-fiddle-message-id)
11167         (feedmail-fiddle-spray-address)
11168         (feedmail-fiddle-list-of-spray-fiddle-plexes)
11169         (feedmail-fiddle-list-of-fiddle-plexes)
11170         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11171         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11172         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11173         Change default.  Doc fix.
11174         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11175         (feedmail-binmail-linuxish-template): New constant.
11176         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
11177         Respect feedmail-sendmail-f-doesnt-sell-me-out.
11178         (feedmail-send-it): Add debug call.
11179         Use feedmail-queue-buffer-file-name, and
11180         feedmail-send-it-immediately-wrapper.
11181         (feedmail-message-action-send): Add debug call.
11182         Use feedmail-send-it-immediately-wrapper.
11183         (feedmail-queue-express-to-queue): Add debug call.
11184         Run feedmail-queue-express-hook.
11185         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
11186         (feedmail-message-action-help-blat):
11187         Rename from feedmail-queue-send-edit-prompt-help-first.
11188         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
11189         Check line-endings.  Handle errors better.
11190         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11191         Doc fix.  Add debug call.
11192         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
11193         Use feedmail-queue-send-edit-prompt-inner.
11194         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11195         (feedmail-queue-send-edit-prompt-inner): New function, extracted
11196         from feedmail-queue-send-edit-prompt.
11197         (feedmail-queue-send-edit-prompt-help)
11198         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11199         (feedmail-tidy-up-slug): Add debug call.
11200         Respect feedmail-queue-slug-suspect-regexp.
11201         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11202         (feedmail-dump-message-to-queue): Add debug call.
11203         Expand queue-directory.
11204         (feedmail-dump-message-to-queue): Change message slightly.
11205         Use feedmail-say-chatter.
11206         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
11207         (feedmail-send-it-immediately-wrapper): New function.
11208         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
11209         Insert empty string rather than newline.  Handle full-frame case.
11210         Use catch/throw.  Use feedmail-say-chatter.
11211         (feedmail-fiddle-from): Try mail-host-address.
11212         (feedmail-default-message-id-generator): Doc fix.
11213         Bind system-time-locale.  Handle missing end.
11214         (feedmail-fiddle-x-mailer): Add debug call.
11215         Handle feedmail-x-mailer-line being nil.
11216         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11217         Add debug call.  Use buffer-substring-no-properties.
11218         (feedmail-say-debug, feedmail-say-chatter): New functions.
11219         (feedmail-find-eoh): Give an explicit error.
11221 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
11223         * net/newst-treeview.el (newsticker-treeview-face): Change default
11224         family from helvetica to sans.
11225         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11226         etc/images/newsticker.
11228         * net/newst-reader.el (newsticker-feed-face): Change default
11229         family from helvetica to sans.
11231         * net/newst-plainview.el (newsticker-new-item-face)
11232         (newsticker-old-item-face, newsticker-immortal-item-face)
11233         (newsticker-obsolete-item-face, newsticker-date-face)
11234         (newsticker-statistics-face): Change default family from
11235         helvetica to sans.
11236         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11237         etc/images/newsticker.
11239         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11240         (newsticker--process-auto-mark-filter-match): Tell user about
11241         auto-marking.
11243 2011-05-13  Didier Verna  <didier@xemacs.org>
11245         Common Lisp indentation improvements on defmethod and lambda-lists.
11246         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11247         TODO entries.
11248         (lisp-lambda-list-keyword-parameter-indentation)
11249         (lisp-lambda-list-keyword-parameter-alignment)
11250         (lisp-lambda-list-keyword-alignment): New customizable user options.
11251         (lisp-indent-defun-method): Improve docstring.
11252         (extended-loop-p): Fix comment.
11253         (lisp-indent-lambda-list-keywords-regexp): New variable.
11254         (lisp-indent-lambda-list): New function.
11255         (lisp-indent-259): Use it.
11256         (lisp-indent-defmethod): Support for more than one
11257         method qualifier and properly indent methods lambda-lists.
11258         (defgeneric): Provide a missing common-lisp-indent-function property.
11260 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11262         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11263         bounds for the empty string (bug#8667).
11265 2011-05-13  Glenn Morris  <rgm@gnu.org>
11267         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11269         * mail/sendmail.el (sendmail-program): Try executable-find first.
11270         (sendmail-send-it): `sendmail-program' cannot be unbound.
11272         * calendar/appt.el (appt-make-list): Simplify.
11273         (appt-time-msg-list): Doc fix.
11274         (appt-check): Change mode-line message at the time of the appointment.
11276 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
11278         * progmodes/ld-script.el (ld-script-keywords)
11279         (ld-script-builtins): Update keywords list.
11281 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11283         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11285         * shell.el (shell-completion-vars): New function.
11286         (shell-mode):
11287         * simple.el (read-shell-command): Use it.
11288         (blink-matching-open): No need for " [...]" in minibuffer-message.
11290 2011-05-12  Glenn Morris  <rgm@gnu.org>
11292         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11293         (appt-check): Simplify.
11295 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
11297         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11298         literal "/dev/null".
11300 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11302         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11303         Fix typo.
11305 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
11307         * progmodes/which-func.el (which-function):
11308         Use add-log-current-defun instead of add-log-current-defun-function,
11309         which might not be defined (Bug#8260).
11311 2011-05-12  Glenn Morris  <rgm@gnu.org>
11313         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11314         Let byte-compile-initial-macro-environment always take precedence.
11316 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11318         * net/rcirc.el: Add support for SSL/TLS connections.
11319         (rcirc-server-alist): New field `encryption'.
11320         (rcirc): Check `encryption' settings.
11321         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
11322         Merge make-local-variable into `set'.
11323         (rcirc--connection-open-p): New function.
11324         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11325         the process is not a network process (e.g. running gnutls-cli).
11326         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11327         Make rcirc-(en|de)code-coding-system local here.
11328         (rcirc-mode): Merge make-local-variable into `set'.
11329         (rcirc-parent-buffer): Make permanent buffer-local.
11330         (rcirc-multiline-minor-mode): Don't do it here.
11331         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11332         there's no server buffer.
11334 2011-05-11  Glenn Morris  <rgm@gnu.org>
11336         * newcomment.el (comment-kill): Prefix "unused" local.
11338         * term/w32console.el (get-screen-color): Declare.
11340         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11341         Handle symbol elements of byte-compile-initial-macro-environment.
11343 2011-05-10  Leo Liu  <sdl.web@gmail.com>
11345         * bookmark.el (bookmark-bmenu-mode-map):
11346         Bind bookmark-bmenu-search to `/'.
11348         * mail/footnote.el: Convert to utf-8 encoding.
11349         (footnote-unicode-string, footnote-unicode-regexp): New variable.
11350         (Footnote-unicode): New function.
11351         (footnote-style-alist): Add unicode style to the list.
11352         (footnote-style): Doc fix.
11354 2011-05-10  Jim Meyering  <meyering@redhat.com>
11356         Fix doubled-word typos.
11357         * international/quail.el (quail-insert-kbd-layout): and and -> and
11358         * kermit.el: and and -> and
11359         * net/ldap.el (ldap-search-internal): to to -> to
11360         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11361         * progmodes/js.el (js-mode): and and -> and
11362         * textmodes/artist.el (artist-move-to-xy): at at -> at
11363         (artist-draw-region-trim-line-endings): if if -> if
11364         And Safetyc -> Safety.
11365         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11367 2011-05-10  Glenn Morris  <rgm@gnu.org>
11368             Stefan Monnier  <monnier@iro.umontreal.ca>
11370         * files.el (hack-one-local-variable-eval-safep):
11371         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
11373 2011-05-10  Glenn Morris  <rgm@gnu.org>
11375         * calendar/diary-lib.el (diary-list-entries-hook)
11376         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11377         (diary-nongregorian-marking-hook, diary-list-entries)
11378         (diary-include-other-diary-files, diary-mark-entries)
11379         (diary-mark-included-diary-files): Doc fixes.
11381 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
11383         * misc.el: Require tabulated-list.el during compilation.
11385 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
11387         * progmodes/compile.el (compilation-start):
11388         Run compilation-filter-hook for the async case too.
11389         (compilation-filter-hook): Doc fix.
11391 2011-05-09  Deniz Dogan  <deniz@dogan.se>
11393         * wdired.el: Remove outdated installation comment.  Fix usage
11394         comment.
11396 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
11398         * misc.el: Implement new command `list-dynamic-libraries'.
11399         (list-dynamic-libraries--loaded-only-p): New variable.
11400         (list-dynamic-libraries--refresh): New function.
11401         (list-dynamic-libraries): New command.
11403 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
11405         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11406         Fix the ant regexp to handle end-line and end-column info from jikes.
11407         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
11408         higher priority to avoid clobbering by gnu.
11410 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
11412         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11413         if the face has existing theme settings (Bug#8454).
11415 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
11417         * progmodes/perl-mode.el (perl-imenu-generic-expression):
11418         Only match variables declared via `my' or `our' (Bug#8261).
11420         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11421         special file names `.' and `..' (Bug#8259).
11423 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
11425         * progmodes/grep.el (grep-mode-font-lock-keywords):
11426         Remove buffer-changing entries.
11427         (grep-filter): New function.
11428         (grep-mode): Add it to compilation-filter-hook.
11430         * progmodes/compile.el (compilation-filter-hook)
11431         (compilation-filter-start): New defvars.
11432         (compilation-filter): Call compilation-filter-hook prior to
11433         updating the process mark.
11435 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11437         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11439 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
11441         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11442         mailclient-send-it even if window-system is nil.  (Bug#8595)
11444         * term/w32console.el (terminal-init-w32console):
11445         Call get-screen-color and use its output to set the frame
11446         background-mode.  (Bug#8597)
11448 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11450         Make bytecomp.el understand that defmethod defines funs (bug#8631).
11451         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11452         New functions.
11453         (defgeneric, eieio--defmethod): Use them.
11454         (eieio-defgeneric): Remove.
11455         (defmethod): Call defgeneric in a way visible to the byte-compiler.
11457 2011-05-07  Glenn Morris  <rgm@gnu.org>
11459         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11460         Use let rather than let*.
11461         (timeclock-find-discrep): Remove unused local.
11463         * calendar/diary-lib.el (diary-comment-start): Doc fix.
11465         * calendar/appt.el (appt-time-msg-list): Doc fix.
11467 2011-05-06  Noah Friedman  <friedman@splode.com>
11469         * apropos.el (apropos-print-doc): Only use
11470         emacs-lisp-docstring-fill-column when it is bound to an integer,
11471         per that variable's documentation.
11473 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11475         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11476         and warnings are not silently discarded (e.g. use -d instead of -P).
11478 2011-05-06  Glenn Morris  <rgm@gnu.org>
11480         * calendar/appt.el (appt-message-warning-time): Doc fix.
11481         (appt-warning-time-regexp): New option.
11482         (appt-make-list): Respect appt-message-warning-time.
11484         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11485         New options.
11486         (diary-add-to-list): Strip comments from the displayed string.
11487         (diary-mode): Set comment-start and comment-end.
11489         * vc/diff-mode.el (smerge-refine-subst): Declare.
11490         (diff-refine-hunk): Don't require smerge-mode when compiling.
11492 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
11494         * simple.el (list-processes): Return nil as the docstring says.
11496 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
11498         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11499         to "".
11500         (ange-ftp-write-region, ange-ftp-insert-file-contents)
11501         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11502         determining of binary transfer.  (Bug#7383)
11504 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
11506         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11507         Fix port computation bug.  (Bug#8618)
11509 2011-05-05  Glenn Morris  <rgm@gnu.org>
11511         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11513         * simple.el (shell-dynamic-complete-functions)
11514         (comint-dynamic-complete-functions): Declare.
11516         * net/network-stream.el (gnutls-negotiate):
11517         * simple.el (tabulated-list-print): Fix declarations.
11519         * progmodes/gud.el (syntax-symbol, syntax-point):
11520         Remove unnecessary and incorrect declarations.
11522         * emacs-lisp/check-declare.el (check-declare-scan):
11523         Handle byte-compile-initial-macro-environment in bytecomp.el
11525 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11527         Fix earlier half-done eieio-defmethod change (bug#8338).
11528         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11529         Streamline and change calling convention.
11530         (defmethod): Adjust accordingly and simplify.
11531         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11532         new eieio--defmethod.
11533         (slot-boundp): Minor CSE simplification.
11535 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
11537         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11538         (glasses-make-readable): Use glasses-separate-capital-groups.
11540 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
11542         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11543         (warning-series): Doc fix.
11544         (display-warning): Don't try to create the buffer if we just found it.
11546 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
11548         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11549         (autoload-find-generated-file): New function.
11550         (generate-file-autoloads): Bind generated-autoload-file to
11551         buffer-file-name.
11552         (update-file-autoloads, update-directory-autoloads):
11553         Use autoload-find-generated-file.  If called interactively, prompt for
11554         output file (Bug#7989).
11555         (batch-update-autoloads): Doc fix.
11557 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
11559         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11561 2011-05-04  Glenn Morris  <rgm@gnu.org>
11563         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11564         function, so it follows changes in calendar-date-style.
11565         (diary-fancy-date-matcher): New function.
11566         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11567         (diary-fancy-font-lock-fontify-region-function):
11568         Use diary-fancy-date-pattern as a function.
11570         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11571         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
11573 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
11575         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11576         instead of positional arguments.  Allow :keylist and :crlfiles
11577         arguments.
11578         (open-gnutls-stream): Call it.
11580         * net/network-stream.el (network-stream-open-starttls): Adjust to
11581         call `gnutls-negotiate' with :process and :hostname arguments.
11583 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11585         * minibuffer.el (completion--message): New function.
11586         (completion--do-completion, minibuffer-complete)
11587         (minibuffer-force-complete, minibuffer-complete-word): Use it.
11588         (completion--do-completion): Don't ignore completion-auto-help when in
11589         icomplete-mode.
11591         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11592         internal encoding (e.g. tibetan zero is not whitespace).
11593         (global-whitespace-mode): Prefer save-current-buffer.
11594         (whitespace-trailing-regexp): Remove useless save-match-data.
11595         (whitespace-empty-at-bob-regexp): Minor simplification.
11597 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
11599         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11601 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11603         * textmodes/ispell.el (ispell-add-per-file-word-list):
11604         Use `concat' to create string for insertion.
11606 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11608         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11609         Avoid open-line which runs post-self-insert-hook.
11610         (bibtex-fill-entry): Remove unused `end' var.
11612 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
11614         * textmodes/ispell.el (ispell-add-per-file-word-list):
11615         Protect against `nil' value of `comment-start' (Bug#8579).
11617 2011-05-03  Leo Liu  <sdl.web@gmail.com>
11619         * isearch.el (isearch-yank-pop): New command.
11620         (isearch-mode-map): Bind it to `M-y'.
11621         (isearch-forward): Mention it.
11623 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11625         * simple.el (minibuffer-complete-shell-command): Remove.
11626         (minibuffer-local-shell-command-map): Use completion-at-point.
11627         (read-shell-command): Setup completion vars here instead.
11628         (read-expression-map): Bind TAB to symbol completion.
11630         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11631         error directly rather via storing it into `results'.
11633 2011-05-02  Leo Liu  <sdl.web@gmail.com>
11635         * vc/diff.el: Fix description.
11637 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11639         * server.el (server-eval-at): New function.
11641 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11643         * net/network-stream.el (open-network-stream): Take a :nowait
11644         parameter and pass it on to `make-network-process'.
11645         (network-stream-open-plain): Ditto.
11647 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11649         * faces.el (face-spec-set-match-display): Don't match toolkit
11650         options on terminal frames.
11652 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11654         * progmodes/pascal.el: Use lexical binding.
11655         (pascal-mode-map): Remove author preferences.
11657         * pcomplete.el (pcomplete-std-complete): Don't abuse
11658         completion-at-point.
11660 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
11662         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11663         removing code that has been dead since 1991 or so.
11665         * startup.el (command-line): When warning about "_emacs", use a
11666         delayed warning to allow the user to filter it out.
11668 2011-04-28  Deniz Dogan  <deniz@dogan.se>
11670         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11671         user has not joined.
11673 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11675         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11676         aren't any completions at point.
11678 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
11680         * subr.el (display-delayed-warnings): New function.
11681         (delayed-warnings-hook): New variable.
11683 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11685         * minibuffer.el (completion-at-point, completion-help-at-point):
11686         Don't presume that a given completion-at-point-function will always
11687         use the same calling convention.
11689         * pcomplete.el (pcomplete-completions-at-point):
11690         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
11691         pcomplete-seen is non-nil.
11692         (pcomplete-comint-setup): Also recognize the new comint/shell
11693         completion functions.
11694         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11695         pcomplete-seen is non-nil.
11697 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
11699         * calendar/icalendar.el (diary-lib): Add require statement.
11700         (icalendar--create-uid): Read out a uid from a text-property on
11701         the first character in the entry.  This allows for code to add its
11702         own uid to the entry.
11703         (icalendar--convert-float-to-ical): Add export of
11704         `diary-float'-entries save for those with the optional DAY
11705         argument.
11707 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
11709         * subr.el (shell-quote-argument): Use alternate escaping strategy
11710         when we spot a variable reference in a string.
11712 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
11714         * cus-start.el (all): Define customization for debug-on-event.
11716 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
11718         * subr.el (shell-quote-argument): Escape correctly under Windows.
11720 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11722         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11724 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
11726         * net/tramp.el (tramp-process-actions): Add POS argument.
11727         Delete region between POS and (pos).
11729         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11730         Use `nil' position in `tramp-process-actions' call.
11731         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11733         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11734         position in `tramp-process-actions' call.
11736         * net/trampver.el: Update release number.
11738 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11740         * custom.el (defcustom): Obey lexical-binding.
11742         Fix octave-inf completion problems reported by Alexander Klimov.
11743         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11744         Inherit from octave-mode-syntax-table.
11745         (inferior-octave-mode): Set info-lookup-mode.
11746         (inferior-octave-completion-at-point): New function.
11747         (inferior-octave-complete): Use it and completion-in-region.
11748         (inferior-octave-dynamic-complete-functions): Use it as well, and use
11749         comint-filename-completion.
11750         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11751         symbol elements which shouldn't be word elements.
11752         (octave-font-lock-keywords, octave-beginning-of-defun)
11753         (octave-function-header-regexp): Adjust regexps accordingly.
11754         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11756 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
11758         * net/gnutls.el (gnutls-errorp): Declare before first use.
11760 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
11762         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11763         verify-error, and verify-hostname-error parameters.  Check whether
11764         default trustfile exists before going to use it.  Add missing
11765         argument to gnutls-message-maybe call.  Return value.
11766         Reported by Claudio Bley <claudio.bley@gmail.com>.
11767         (open-gnutls-stream): Add usage example.
11769         * net/network-stream.el (network-stream-open-starttls): Give host
11770         parameter to `gnutls-negotiate'.
11771         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11772         * subr.el (shell-quote-argument): Escape correctly under Windows.
11774 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
11776         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11777         Use correct match group (bug#8438).
11779 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
11781         * emacs-lisp/package.el (package-built-in-p): Fix typo.
11782         (package-menu--generate): New arg specifying packages to show.
11783         (package-menu-refresh, package-menu-execute, list-packages):
11784         Callers changed.
11785         (package-show-package-list): New function, replacing deleted
11786         package--list-packages (renamed because it is non-internal).
11788         * finder.el (finder-list-matches): Use package-show-package-list
11789         instead of deleted package--list-packages.
11791         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11792         Based on a previous implementation by Juanma Barranquero (Bug#8366).
11793         (vc-annotate-mode-map): Bind it to RET.
11795 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
11797         * progmodes/etags.el (next-file): Don't use set-buffer to change
11798         buffers (Bug#8478).
11800 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
11802         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11804         * apropos.el (apropos-label-face): Avoid variable-pitch face.
11805         (apropos-accumulator): Doc fix.
11806         (apropos-function, apropos-macro, apropos-command)
11807         (apropos-variable, apropos-face, apropos-group, apropos-widget)
11808         (apropos-plist): Add face property.
11809         (apropos-symbols-internal): Fix indentation.
11810         (apropos-print): Simplify help, and recognize apropos-multi-type.
11811         (apropos-print-doc): Use button-type-get to extract the button's
11812         face property.  Fill docstring (Bug#8352).
11814 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
11816         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11818         * play/mpuz.el (mpuz-silent): Doc fix.
11819         (mpuz-mode-map): Use mapc.
11820         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11821         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11822         Fix typos in docstrings.
11824         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11825         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11827         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11829 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
11831         * minibuffer.el (completion--do-completion): Avoid the "Next char
11832         not unique" prompt if icomplete-mode is enabled (Bug#5849).
11834         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11835         mouse-2 into unread-command-events, it is interpreted correctly.
11837         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11838         (image-toggle-display): Doc fix.
11840 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
11842         * textmodes/page.el (what-page): Use line-number-at-pos to
11843         calculate line number (Bug#6825).
11845 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
11847         * eshell/esh-mode.el (find-tag-interactive): Declare function.
11848         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11849         Pass argument NO-DEFAULT to `find-tag-interactive'.
11851 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
11853         Lexical-binding cleanup.
11855         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11856         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11857         * progmodes/ada-prj.el (ada-prj-initialize-values)
11858         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11859         (ada-prj-show-value):
11860         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11861         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11862         (antlr-invalidate-context-cache, antlr-options-menu-filter)
11863         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11864         * progmodes/bug-reference.el (bug-reference-push-button):
11865         * progmodes/fortran.el (fortran-line-length):
11866         * progmodes/glasses.el (glasses-change):
11867         * progmodes/octave-mod.el (octave-fill-paragraph):
11868         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11869         (python-pdbtrack-grub-for-buffer, python-sentinel):
11870         * progmodes/sql.el (sql-save-connection):
11871         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11872         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11873         Mark unused parameters.
11875         * progmodes/compile.el (compilation--flush-directory-cache)
11876         (compilation--flush-parse, compile-internal): Mark unused parameters.
11877         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11878         (compilation-next-error-function): Remove unused variable `timestamp'.
11880         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11881         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11883         * progmodes/dcl-mode.el (dcl-end-of-command):
11884         Remove unused variable `start'.
11885         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11886         (dcl-option-value-basic, dcl-option-value-offset)
11887         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11888         Mark unused parameters.
11889         (dcl-save-local-variable): Remove unused variable `val'.
11890         (mode): Declare.
11892         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11893         Mark unused parameters.
11894         (delphi-ignore-changes): Move before first use.
11895         (delphi-charset-token-at): Remove unused variable `start'.
11896         (delphi-else-start): Remove unused variable `if-count'.
11897         (delphi-comment-block-start, delphi-comment-block-end):
11898         Remove unused variable `kind'.
11899         (delphi-indent-line): Remove unused variable `new-point'.
11901         * progmodes/ebrowse.el (ebrowse-files-list)
11902         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11903         Mark unused parameters.  Don't quote `lambda'.
11904         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11905         Don't quote `lambda'.
11906         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11907         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11908         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11909         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11910         Use `ignore-errors'.
11911         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11912         (ebrowse-view/find-file-and-search-pattern)
11913         (ebrowse-view/find-member-declaration/definition):
11914         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11915         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11916         Rename parameter PREFIX-ARG to PREFIX.
11917         (ebrowse-tags-read-name): Remove unused variables `start' and
11918         `member-info'.
11919         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11920         to `tags-file'.
11922         * progmodes/etags.el (local-find-tag-hook): Declare.
11923         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11924         Mark unused parameters.
11926         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11927         (executable-interpret): Mark unused parameter.
11929         * progmodes/flymake.el (flymake-process-sentinel)
11930         (flymake-after-change-function)
11931         (flymake-create-temp-with-folder-structure)
11932         (flymake-get-include-dirs-dot): Mark unused parameters.
11933         (flymake-safe-delete-directory): Remove unused variable `err'.
11935         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11936         (speedbar-timer-fn, speedbar-line-text)
11937         (speedbar-change-expand-button-char, speedbar-delete-subblock)
11938         (speedbar-center-buffer-smartly): Declare functions.
11939         (gdb-find-watch-expression): Remove unused variable `array'.
11940         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11941         (gdb-starting): Mark unused parameters.
11942         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11943         (gdb-table-string): Remove unused variable `res'.
11944         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11945         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11946         (gdb-display-buffer): Remove unused variable `cur-size'.
11948         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11949         allow lexical-binding compilation.
11950         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11951         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11952         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11953         Mark unused parameters.
11954         (gud-gdb-marker-filter): Remove unused variable `match'.
11955         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11956         lambda expressions and funcall them, instead of using `fset'.
11958         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11959         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11961         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11962         variable `header-beg'; use `let'.
11964         * progmodes/icon.el (indent-icon-exp): Remove unused variables
11965         `restart', `last-sexp' and `at-do'.
11967         * progmodes/js.el (js--debug): Mark unused parameter.
11968         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11969         (js--splice-into-items): Remove unused variable `item'.
11970         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11972         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11973         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11974         (makefile-complete): Remove unused variable `try'.
11975         (makefile-fill-paragraph, makefile-match-function-end):
11976         Mark unused parameters.
11978         * progmodes/octave-inf.el (inferior-octave-complete):
11979         Remove unused variable `proc'.
11980         (inferior-octave-output-digest): Mark unused parameter.
11982         * progmodes/perl-mode.el (perl-calculate-indent):
11983         Remove unused variable `err'.
11985         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11986         (prolog-indent-line): Mark unused parameters.
11987         (prolog-indent-line): Remove unused variable `beg'.
11989         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11990         (reporter-dont-compact-list): Declare.
11992         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11993         Remove unused variable `char'.
11994         (sh-debug): Mark unused parameter.
11995         (sh-get-indent-info): Remove unused variable `start'.
11996         (sh-calculate-indent): Remove unused variable `var'.
11998         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11999         (simula-electric-keyword): Remove unused variable `null'.
12000         (simula-search-backward, simula-search-forward): Remove unused
12001         variables `begin' and `end'.
12003         * progmodes/vera-mode.el (vera-guess-basic-syntax):
12004         Remove unused variable `pos'.
12005         (vera-electric-tab, vera-comment-uncomment-region):
12006         Mark unused parameters.
12007         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12009 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
12011         * emacs-lisp/package.el (package--builtins, package-alist)
12012         (package-load-descriptor, package-built-in-p, package-activate)
12013         (define-package, package-installed-p)
12014         (package-compute-transaction, package-buffer-info)
12015         (package--push): Doc fix.  Distinguish more clearly between
12016         version strings and version lists.
12018 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
12020         Lexical-binding cleanup.
12022         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12023         (5x5-make-mutate-best):
12024         * play/fortune.el (fortune-in-buffer):
12025         * play/gomoku.el (gomoku-init-display):
12026         * play/solitaire.el (solitaire, solitaire-do-check):
12027         * play/tetris.el (tetris-default-update-speed-function):
12028         Mark unused parameters.
12030         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12031         (bubbles--shift): Remove unused variable `char-org'.
12032         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
12033         (bubbles--show-images): Remove unused variable `char'.
12035         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12036         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12037         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12038         (decipher-analyze-buffer): Use ?\s.
12039         (decipher-make-checkpoint): Remove unused variable `mapping'.
12041         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12043         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12044         Remove unused variable `result'; use `let'.
12046         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12047         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12048         (gametree-children-shown-p, gametree-compute-reduced-score):
12049         Use `ignore-errors'.
12051         * play/handwrite.el (ps-lpr-switches): Declare.
12052         (handwrite): Remove unused variables `pmin' and `lastp'.
12054         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12056         * play/landmark.el (landmark-init-display)
12057         (landmark-update-naught-weights): Mark unused parameters.
12058         (landmark-y): Remove unused variable `noise'.  Simplify.
12059         (landmark-human-plays): Remove unused variable `score'.
12061         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12062         (mpuz-try-proposal): Remove unused variable `game'.
12064         * play/zone.el (life-patterns): Declare.
12066 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
12068         * vc/vc.el (ediff-vc-internal): Declare function.
12070 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12072         * shell.el: Use lexical-binding and std completion UI.
12073         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12074         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12075         comint-preoutput-filter-functions rather than on
12076         comint-output-filter-functions.
12077         (shell-command-completion, shell--command-completion-data)
12078         (shell-filename-completion, shell-environment-variable-completion)
12079         (shell-c-a-p-replace-by-expanded-directory): New functions.
12080         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12081         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12082         (shell-dynamic-complete-environment-variable): Use them.
12083         (shell-dynamic-complete-as-environment-variable)
12084         (shell-dynamic-complete-as-command): Remove.
12085         (shell-match-partial-variable): Match past point.
12086         * comint.el: Clean up use of completion-at-point-functions.
12087         (comint-completion-at-point): New function.
12088         (comint-mode): Use it completion-at-point-functions.
12089         (comint-dynamic-complete): Make it obsolete.
12090         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12091         (comint-c-a-p-replace-by-expanded-history): New function.
12092         (comint-dynamic-complete-functions)
12093         (comint-replace-by-expanded-history): Use it.
12094         * minibuffer.el (completion-table-with-terminator): Allow dynamic
12095         termination strings.  Try harder to avoid second try-completion.
12096         (completion-in-region-mode-map): Disable bindings that don't work yet.
12098         * comint.el: Use lexical-binding.  Require CL.
12099         (comint-dynamic-complete-functions): Use comint-filename-completion.
12100         (comint-completion-addsuffix): Tweak custom type.
12101         (comint-filename-completion, comint--common-suffix)
12102         (comint--common-quoted-suffix, comint--table-subvert)
12103         (comint--complete-file-name-data): New functions.
12104         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12105         (comint-dynamic-list-filename-completions): Use them.
12106         (comint-dynamic-simple-complete): Make obsolete.
12108         * minibuffer.el (completion-in-region-mode):
12109         Keep completion-in-region-mode--predicate global.
12110         (completion-in-region--postch):
12111         Assume completion-in-region-mode--predicate is not null.
12113         * progmodes/flymake.el (flymake-start-syntax-check-process):
12114         Obey `dir'.  Simplify.
12116         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12117         we're in VC after all.
12119 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
12121         * vc/vc.el (vc-diff-build-argument-list-internal)
12122         (vc-version-ediff, vc-ediff): New commands.
12123         (vc-version-diff): Use vc-diff-build-argument-list-internal.
12125 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12127         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12128         add sanity check.
12130         * obsolete/erc-hecomplete.el: Make obsolete.
12131         * obsolete/: Standardize obsolescence info in the header.
12133 2011-04-20  Glenn Morris  <rgm@gnu.org>
12135         * calendar/solar.el (solar-horizontal-coordinates):
12136         Use the longitude argument rather than `calendar-longitude'.
12137         (solar-date-next-longitude): Remove unused locals.
12139 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12141         * whitespace.el: New version 13.2.1.
12143 2011-04-20  felix  <EmacsWiki>  (tiny change)
12145         * whitespace.el (global-whitespace-mode): Keep highlight when
12146         switching between major modes on a file.
12148 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12150         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12151         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12152         multi-line comments as well.
12154 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
12156         Lexical-binding cleanup.
12158         * arc-mode.el (archive-mode-revert):
12159         * cmuscheme.el (scheme-interactively-start-process):
12160         * custom.el (custom-initialize-delay):
12161         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12162         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12163         * emacs-lock.el (emacs-lock-clear-sentinel):
12164         * ezimage.el (defezimage):
12165         * follow.el (follow-avoid-tail-recenter):
12166         * fringe.el (set-fringe-mode-1):
12167         * generic-x.el (bat-generic-mode-compile):
12168         * help-mode.el (help-info-variable, help-do-xref)
12169         (help-mode-revert-buffer):
12170         * help.el (view-emacs-todo):
12171         * iswitchb.el (iswitchb-completion-help):
12172         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12173         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12174         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12175         * locate.el (locate-update):
12176         * longlines.el (longlines-encode-region)
12177         (longlines-after-change-function):
12178         * outline.el (outline-isearch-open-invisible):
12179         * ps-def.el (declare-function, charset-dimension, char-width)
12180         (encode-char):
12181         * ps-mule.el (ps-mule-plot-string):
12182         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12183         (recentf-edit-list-select, recentf-edit-list-validate)
12184         (recentf-open-files-action):
12185         * rect.el (delete-whitespace-rectangle-line)
12186         (rectangle-number-line-callback):
12187         * register.el (window-configuration-to-register)
12188         (frame-configuration-to-register):
12189         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12190         * select.el (xselect-convert-to-string, xselect-convert-to-length)
12191         (xselect-convert-to-targets, xselect-convert-to-delete)
12192         (xselect-convert-to-filename, xselect-convert-to-charpos)
12193         (xselect-convert-to-lineno, xselect-convert-to-colno)
12194         (xselect-convert-to-os, xselect-convert-to-host)
12195         (xselect-convert-to-user, xselect-convert-to-class)
12196         (xselect-convert-to-name, xselect-convert-to-integer)
12197         (xselect-convert-to-atom, xselect-convert-to-identity):
12198         * subr.el (declare, ignore, process-kill-without-query)
12199         (text-clone-maintain):
12200         * terminal.el (te-get-char, te-tic-sentinel):
12201         * tool-bar.el (tool-bar-make-keymap):
12202         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12203         * type-break.el (type-break-mode, type-break-noninteractive-query):
12204         * view.el (View-back-to-mark):
12205         * wid-browse.el (widget-browse-action, widget-browse-widget)
12206         (widget-browse-widgets, widget-browse-sexp):
12207         * widget.el (define-widget-keywords):
12208         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12209         Mark unused parameters.
12211         * align.el (align-adjust-col-for-rule): Mark unused parameter.
12212         (align-areas): Remove unused variable `look'.
12213         (align-region): Remove unused variables `real-end' and `pos-list'.
12215         * apropos.el (apropos-score-doc): Remove unused variable `i'.
12217         * bindings.el (mode-line-modified, mode-line-remote):
12218         Mark unused parameters.
12219         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12221         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12222         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12224         * comint.el (comint-history-isearch-pop-state)
12225         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12226         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12227         (comint-substitute-in-file-name): Doc fix.
12229         * completion.el (cmpl-statistics-block): Mark unused parameter.
12230         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12231         (save-completions-to-file, load-completions-from-file):
12232         Remove unused local variable `e'.
12234         * composite.el (compose-chars): Remove unused variable `len'.
12235         (lgstring-insert-glyph): Remove unused variable `g'.
12236         (compose-glyph-string): Remove unused variables `ascent',
12237         `descent', `lbearing' and `rbearing'.
12238         (compose-glyph-string-relative): Remove unused variables
12239         `lbearing', `rbearing' and `wadjust'.
12240         (compose-gstring-for-graphic): Remove unused variables `header',
12241         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
12242         (compose-gstring-for-terminal): Remove unused variables `header'
12243         and `nchars'.  Use `let', not `let*'.
12245         * cus-edit.el (Custom-set, Custom-save, custom-reset)
12246         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12247         (Custom-buffer-done, custom-buffer-create-internal)
12248         (custom-browse-visibility-action, custom-browse-group-tag-action)
12249         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12250         (widget-magic-mouse-down-action, custom-toggle-parent)
12251         (custom-add-parent-links, custom-toggle-hide-variable)
12252         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12253         (custom-toggle-hide-face, face, hook, custom-group-link-action)
12254         (custom-face-menu-create, custom-variable-menu-create, get)
12255         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12256         (custom-reset-standard-save-and-update): Remove unused variable `value'.
12257         (customize-apropos): Remove unused variable `tests'.
12258         (custom-group-value-create): Remove unused variable `hidden-p'.
12259         (sort-fold-case): Declare.
12261         * cus-theme.el (custom-reset-standard-faces-list)
12262         (custom-reset-standard-variables-list): Declare.
12263         (customize-create-theme, custom-theme-revert, custom-theme-write)
12264         (custom-theme-choose-mode, customize-themes, custom-theme-save):
12265         Mark unused parameters.
12267         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12269         * delim-col.el (delimit-columns-max): Move defvar before first use.
12271         * descr-text.el (describe-char-categories): Don't quote `lambda'.
12272         (describe-char): Don't quote `lambda'.  Mark unused parameter.
12274         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12275         (auto-insert): Declare.
12276         (desktop-restore-file-buffer): Rename desktop-* parameters;
12277         mark unused ones.
12278         (desktop-create-buffer): Rename desktop-* parameters and bind them.
12279         (desktop-buffer): Rename desktop-* parameters.
12281         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12282         (dframe-reposition-frame-xemacs, dframe-help-echo)
12283         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12284         Mark unused parameters.
12286         * dired-aux.el (backup-extract-version-start, overwrite-query)
12287         (overwrite-backup-query, rename-regexp-query)
12288         (rename-non-directory-query): Declare.
12289         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12290         (dired-add-entry): Remove unused variable `orig-file-name'.
12291         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12292         Use parameter PRESERVE-TIME instead of accessing dynamic variable
12293         `dired-copy-preserve-time' directly.
12294         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12295         (dired-insert-subdir-newpos): Rename unused variable `pos'.
12297         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12298         (dired-virtual-revert, dired-make-relative-symlink):
12299         Mark unused parameters.
12300         (manual-program): Declare.
12301         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12302         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12303         wrapped in `with-no-warnings' to avoid replacing one warning by another.
12305         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12307         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12309         * echistory.el (electric-history-in-progress, Helper-return-blurb):
12310         Declare.
12312         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12314         * electric.el (Electric-command-loop): Rename parameter
12315         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12317         * expand.el (expand-in-literal): Remove unused variable `here'.
12319         * facemenu.el (facemenu-add-new-color):
12320         Remove unused variable `docstring'.
12322         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12323         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12324         (face-attr-construct): Mark unused parameter.  Doc fix.
12325         (read-color): Remove unused variable `hex-string'.
12327         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12328         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12329         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12330         (display-buffer-other-frame): Remove unused variable `old-window'.
12331         (kill-buffer-hook): Declare.
12332         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12333         Mark unused parameters.
12334         (after-find-file): Pass 1 to `auto-save-mode', not t.
12336         * files-x.el (auto-insert): Declare.
12337         (modify-file-local-variable-prop-line): Remove unused variable `val'.
12339         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12340         variable `buf'.  Mark unused parameter.
12341         (find-lisp-insert-directory): Mark unused parameter.
12343         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12344         (format-encode-region): Remove unused variables `cur-buf' and `result'.
12345         (format-common-tail): Remove, unused.
12346         (format-deannotate-region): Remove unused variable `loc'.
12347         (format-annotate-region): Remove unused variable `p'.
12348         (format-annotate-single-property-change): Remove unused variables
12349         `default' and `tail'.
12351         * forms.el (read-file-filter): Declare.
12352         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12354         * frame.el (frame-creation-function-alist): Mark unused parameter.
12355         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12357         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12358         Remove unused parameters.
12359         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12360         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12362         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12363         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12364         (hfy-prepare-tag-map): Mark unused parameters.
12365         (htmlfontify-buffer): Use `called-interactively-p'.
12367         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12368         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12369         (ibuffer-do-occur): Mark unused parameters.
12370         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12371         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12373         * ibuffer.el: Don't quote `lambda'.
12374         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12375         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12376         Mark unused parameters.
12378         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12379         (ido-completing-read): Mark unused parameters.
12380         (ido-copy-current-word): Mark unused parameters;
12381         remove unused variable `name'.
12382         (ido-sort-merged-list): Remove unused parameter `dirs'.
12384         * ielm.el (ielm-input-sender): Mark unused parameter.
12385         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12386         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12387         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12388         `ielm-string' as a dynamic variable accessible from the IELM prompt.
12389         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
12391         * image-dired.el (image-dired-display-thumbs): Remove unused
12392         variables `curr-file' and `count'.
12393         (image-dired-remove-tag): Remove unused variable `start'.
12394         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12395         variable `curr-file'
12396         (image-dired-rotate-original): Remove unused variable `temp-file'.
12397         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12398         Remove unused variable `file'.
12399         (image-dired-gallery-generate): Remove unused variable `curr'.
12400         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12402         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12404         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12406         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12408         * isearch.el (minibuffer-history-symbol): Declare.
12409         (isearch-edit-string): Remove unused variable `err'.
12410         (isearch-message-prefix, isearch-message-suffix):
12411         Mark unused parameters.
12413         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12415         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12417         * makesum.el (double-column): Remove unused variable `cnt'.
12419         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12420         (ido-ignore-item-temp-list): Declare.
12422         * mouse-drag.el (mouse-drag-throw): Remove unused variables
12423         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12424         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12425         (mouse-drag-drag): Remove unused variables `mouse-delta' and
12426         `mouse-col-delta'.
12428         * mouse-sel.el (mouse-extend-internal):
12429         Remove unused variable `orig-window-frame'.
12431         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12432         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12433         Move declarations before first use.
12434         (pcomplete-opt): Mark unused parameters; doc fix.
12436         * proced.el (proced-revert): Mark unused parameter.
12437         (proced-send-signal): Remove unused variable `err'.
12439         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12440         Rename parameter PREFIX-ARG to ARG.
12441         (ps-basic-plot-string, ps-basic-plot-whitespace):
12442         Mark unused parameters.
12444         * replace.el (replace-count): Define.
12445         (occur-revert-function): Mark unused parameters.
12446         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12447         (isearch-case-fold-search, isearch-string): Declare.
12448         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12449         bind `case-fold-search'.  Remove unused variables `beg' and `end',
12450         and simplify.
12451         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12452         COUNT and bind `replace-count'.
12453         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12454         to COUNT.
12456         * savehist.el (print-readably, print-string-length): Declare.
12458         * shadowfile.el (shadow-expand-cluster-in-file-name):
12459         Remove unused variable `cluster'.
12460         (shadow-copy-file): Remove unused variable `i'.
12461         (shadow-noquery, shadow-clusters, shadow-site-cluster)
12462         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12463         (shadow-define-literal-group, shadow-define-regexp-group)
12464         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12466         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12467         (shell): Use `called-interactively-p'.
12468         (shell-directory-tracker): Remove unused variable `chdir-failure'.
12470         * simple.el (compilation-context-lines, comint-file-name-quote-list)
12471         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12472         (delete-backward-char): Remove unused variable `ocol'.
12473         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12474         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12475         (event-apply-hyper-modifier, event-apply-shift-modifier)
12476         (event-apply-control-modifier, event-apply-meta-modifier):
12477         Mark unused parameters.
12478         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12479         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12481         * speedbar.el (speedbar-ignored-directory-expressions)
12482         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12483         (speedbar-find-file, speedbar-dir-follow)
12484         (speedbar-directory-buttons-follow, speedbar-tag-find)
12485         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12486         (speedbar-buffers-line-directory, speedbar-buffer-click):
12487         Mark unused parameters.
12488         (speedbar-tag-file): Remove unused variable `mode'.
12489         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12491         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12493         * talk.el (talk): Remove unused variable `display'.
12495         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12496         (tar-write-region-annotate): Mark unused parameter.
12498         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12499         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12500         Declare them, wrapped in `with-no-warnings' to avoid replacing one
12501         warning by another.
12503         * time-stamp.el (time-stamp-string-preprocess):
12504         Remove unused variable `require-padding'.
12506         * tree-widget.el (widget-glyph-enable): Declare.
12507         (tree-widget-action): Mark unused parameter.
12509         * w32-fns.el (x-get-selection): Mark unused parameter.
12510         (autoload-make-program, generated-autoload-file): Declare.
12512         * wdired.el (wdired-revert): Mark unused parameters.
12513         (wdired-xcase-word): Remove unused variable `err'.
12515         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12516         (whitespace-help-scroll): Remove unused variable `data-help'.
12518         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12519         (widget-image-insert, widget-after-change, default)
12520         (widget-default-format-handler, widget-default-notify)
12521         (widget-default-prompt-value, widget-info-link-action)
12522         (widget-url-link-action, widget-function-link-action)
12523         (widget-variable-link-action, widget-file-link-action)
12524         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12525         (widget-field-prompt-internal, widget-field-action, widget-field-match)
12526         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12527         (widget-insert-button-action, widget-delete-button-action, visibility)
12528         (widget-documentation-link-action, widget-documentation-string-action)
12529         (widget-const-prompt-value, widget-regexp-match, symbol)
12530         (widget-coding-system-prompt-value)
12531         (widget-key-sequence-value-to-external, sexp)
12532         (widget-sexp-value-to-internal, character, vector, cons)
12533         (widget-choice-prompt-value, widget-boolean-prompt-value)
12534         (widget-color--choose-action): Mark unused parameters.
12535         (widget-item-match-inline, widget-choice-match-inline)
12536         (widget-checklist-match, widget-checklist-match-inline)
12537         (widget-group-match): Rename parameter VALUES to VALS.
12538         (widget-field-value-set): Remove unused variable `size'.
12539         (widget-color-action): Remove unused variables `value' and `start'.
12541         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12542         variable `dir'.  Doc fix.
12543         (windmove-find-other-window): Don't pass it.
12545         * window.el (count-windows): Mark unused parameter.
12546         (bw-adjust-window): Remove unused variable `err'.
12548         * woman.el (woman-file-name): Remove unused variable `default'.
12549         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12550         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12551         (global-font-lock-mode): Declare.
12552         (woman-decode-region): Mark unused parameter.
12553         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12555         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12556         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12557         (x-dnd-handle-moz-url): Remove unused variable `title'.
12558         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12560         * xml.el (xml-parse-tag, xml-parse-attlist):
12561         Remove unused variable `pos'.
12563 2011-04-19  Glenn Morris  <rgm@gnu.org>
12565         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12566         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12567         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12568         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12569         * calendar/cal-html.el (cal-html-insert-minical):
12570         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12571         (calendar-mark-date-pattern):
12572         Prefix "unused" locals.
12574         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12575         optional argument `style'.
12577         * calendar/appt.el (appt-make-list):
12578         * calendar/cal-china.el (calendar-chinese-date-string):
12579         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12580         (diary-hebrew-yahrzeit):
12581         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12582         * calendar/calendar.el (calendar-generate-window):
12583         * calendar/time-date.el (time-to-days):
12584         Remove unused local variables.
12586 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
12588         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12589         glyphless-char-display table.
12590         (tabulated-list-glyphless-char-display): New var.
12592 2011-04-18  Sam Steingold  <sds@gnu.org>
12594         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12595         to acknowledgments.
12597 2011-04-17  Glenn Morris  <rgm@gnu.org>
12599         * calendar/diary-lib.el (diary-sexp-entry):
12600         * calendar/holidays.el (holiday-sexp):
12601         Set debug-on-error rather than the removed stack-trace-on-error.
12603 2011-04-16  Glenn Morris  <rgm@gnu.org>
12605         * progmodes/f90.el: Use lexical-binding.
12606         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12608 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12610         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12611         (mail-mode): Setup mailalias completion here instead.
12612         * mail/mailalias.el: Use lexical-binding.
12613         (pattern, mailalias-done): Declare dynamic.
12614         (mail-completion-at-point-function): New function, from mail-complete.
12615         (mail-complete): Use it.
12616         (mail-completion-expand): New function.
12617         (mail-get-names): Use it.
12618         (mail-directory, mail-directory-process, mail-directory-stream):
12619         Don't use `pattern' for lexically bound arg.
12621         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12623         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12624         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12625         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12627         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12628         (byte-save-window-excursion, byte-temp-output-buffer-setup)
12629         (byte-interactive-p): Define them again, for use when inlining
12630         old code.
12632 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
12634         * loadup.el: Use `string-to-number', not `string-to-int'.
12636 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12638         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12639         gud-gdb-complete-command.
12640         (gud-gdb-completions): New function, from gud-gdb-complete-command.
12641         (gud-gdb-completion-at-point): New function.
12642         (gud-gdb-completions): Remove.
12644 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
12646         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12647         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
12648         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12649         whether `executable-find' is bound.
12651         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12653 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12655         * minibuffer.el (completion-in-region-mode-predicate)
12656         (completion-in-region-mode--predicate): New vars.
12657         (completion-in-region, completion-in-region--postch)
12658         (completion-in-region-mode): Use them.
12659         (completion--capf-wrapper): Also return the hook function.
12660         (completion-at-point, completion-help-at-point):
12661         Adjust and provide a predicate.
12663         Preserve arg names for advice of subr and lexical functions (bug#8457).
12664         * help-fns.el (help-function-arglist): Consolidate the subr and
12665         new-byte-code cases.  Add argument `preserve-names' to extract names
12666         from the docstring when needed.
12667         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12668         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12669         (ad-arglist): Use help-function-arglist's new arg.
12670         (ad-definition-type): Use cond.
12672 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
12674         * autorevert.el (auto-revert-handler):
12675         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12676         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12677         Don't quote lambda.
12679         * image-mode.el (image-transform-set-scale):
12680         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12682 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12684         * net/network-stream.el (network-stream-open-starttls): Only do
12685         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12686         Upgrades via gnutls-cli are too slow to be done opportunistically.
12688 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
12690         * dframe.el (dframe-current-frame): Remove spurious quote.
12692 2011-04-12  Glenn Morris  <rgm@gnu.org>
12694         * calendar/cal-tex.el (cal-tex-end-document):
12695         Try to automatically use latin1 input if needed.
12697         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12698         Don't try to cons a mark onto an empty element.
12700 2011-04-11  Leo Liu  <sdl.web@gmail.com>
12702         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12703         buffers.
12704         (ido-kill-buffer-at-head): Support killing virtual buffers.
12706 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
12708         * minibuffer.el (completion-show-inline-help): New var.
12709         (completion--do-completion, minibuffer-complete)
12710         (minibuffer-force-complete, minibuffer-complete-word):
12711         Inhibit minibuffer messages if completion-show-inline-help is nil.
12713         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12714         to avoid interference from inline help (Bug#5849).
12716 2011-04-10  Leo Liu  <sdl.web@gmail.com>
12718         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12719         Fix typo.
12721 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
12723         * image-mode.el (image-toggle-display-image): Signal an error if
12724         not in Image mode.
12725         (image-transform-mode, image-transform-resize)
12726         (image-transform-set-rotation): Doc fix.
12727         (image-transform-set-resize): Delete.
12728         (image-transform-set-scale, image-transform-fit-to-height)
12729         (image-transform-fit-to-width): Handle image-toggle-display-image
12730         and image-transform-resize directly.
12732 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
12734         * doc-view.el (doc-view-fit-width-to-window)
12735         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12736         New functions for fitting the shown image to the Emacs window size.
12737         (doc-view-mode-map): Add bindings for the new functions.
12739 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
12741         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12742         Fix typo in docstring.
12744 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
12746         * files.el (file-size-human-readable): Produce one digit after
12747         decimal, like "ls -lh" does.
12749         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12750         the file size representation.
12752         * simple.el (list-processes): If async subprocesses are not
12753         available, error out with a clear error message.
12755 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
12757         * help.el (help-form-show): New function, to be called from C.
12758         Put help-form output in a buffer named differently than *Help*.
12760 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
12762         * files.el (file-size-human-readable): New function.
12764         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12765         computing the representation inline.  Don't require `cl'.
12767 2011-04-08  Glenn Morris  <rgm@gnu.org>
12769         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12771         * net/browse-url.el (browse-url-firefox):
12772         Test system-type, not system-configuration.
12774         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12775         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12776         Use log-edit-empty-buffer-p.  (Bug#7598)
12778         * net/rlogin.el (rlogin-process-connection-type): Simplify.
12779         (rlogin-mode-map): Initialize in the defvar.
12780         (rlogin): Use ignore-errors.
12782         * replace.el (occur-mode-map): Some fixes for menu items.
12784 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12786         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
12788 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
12790         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12791         issuing unused warnings.
12793         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12794         macro directly.
12796         * simple.el: Lisp reimplement of list-processes.  Based on an
12797         earlier reimplementation by Leo Liu, but using tabulated-list.el.
12798         (process-menu-mode): New major mode.
12799         (list-processes--refresh, list-processes):
12800         (process-menu-visit-buffer): New functions.
12802         * files.el (save-buffers-kill-emacs): Don't assume any return
12803         value of list-processes, which is undocumented anyway.
12805 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
12807         * emacs-lisp/tabulated-list.el: New file.
12809         * emacs-lisp/package.el: Use Tabulated List mode.
12810         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12811         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
12812         table format using Tabulated List mode variables.
12813         (package--push): New macro, replacing package-list-maybe-add.
12814         (package-menu--generate): Use package--push.  Renamed from
12815         package--generate-package-list.
12816         (package-menu-refresh, list-packages): Use it.
12817         (package-menu--print-info): Rename from package-print-package.
12818         Return insertion data instead of inserting it directly.
12819         (package-menu-describe-package, package-menu-execute):
12820         Use tabulated-list-get-id.
12821         (package-menu-mark-delete, package-menu-mark-install)
12822         (package-menu-mark-unmark, package-menu-backup-unmark)
12823         (package-menu-mark-obsolete-for-deletion):
12824         Use tabulated-list-put-tag.
12825         (package--list-packages, package-menu-revert)
12826         (package-menu-get-package, package-menu-get-version)
12827         (package-menu-sort-by-column): Functions deleted.
12828         (package-menu-package-list, package-menu-sort-key): Vars deleted.
12829         (package-menu--status-predicate, package-menu--version-predicate)
12830         (package-menu--name-predicate)
12831         (package-menu--description-predicate): Handle arguments in the
12832         Tabulated List format.
12833         (package-list-packages-no-fetch): Call list-packages.
12835 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
12837         * files.el (after-find-file-from-revert-buffer): Remove variable.
12838         (after-find-file): Don't bind it.
12839         (revert-buffer-in-progress-p): New variable.
12840         (revert-buffer): Bind it.
12841         Pass nil for `after-find-file-from-revert-buffer'.
12843         * saveplace.el (save-place-find-file-hook): Use new variable
12844         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12846 2011-04-06  Glenn Morris  <rgm@gnu.org>
12848         * Makefile.in (AUTOGEN_VCS): New variable.
12849         (autoloads): Use $AUTOGEN_VCS.
12851         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12852         * calendar/calendar.el (calendar-mode-map):
12853         Check for toolkit scroll bars.  (Bug#8305)
12855 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12857         * minibuffer.el (completion-in-region--postch)
12858         (completion-in-region-mode): Remove unnecessary messages.
12860 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
12862         * font-lock.el (font-lock-refresh-defaults):
12863         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12864         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12866         * info.el (Info-directory-list, Info-read-node-name-2)
12867         (Info-split-parameter-string): Doc fixes.
12868         (Info-virtual-nodes): Reflow docstring.
12869         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12870         (Info-apropos-toc-nodes, info-finder, Info-get-token)
12871         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12872         Fix typos in docstrings.
12873         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12874         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12875         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12876         (Info-restore-desktop-buffer): Mark unused parameters.
12877         (Info-directory-find-file, Info-directory-find-node)
12878         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12879         (Info-virtual-index-find-node, Info-apropos-find-file)
12880         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12881         Mark unused parameters; fix typos in docstrings.
12882         (Info-virtual-index): Remove unused local variable `nodename'.
12884 2011-04-05  Deniz Dogan  <deniz@dogan.se>
12886         * net/rcirc.el: Update my e-mail address.
12887         (rcirc-mode-map): Remove M-o binding.
12889 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12891         * startup.el (command-line): Save the cursor's theme-face
12892         directly, instead of using face-override-spec.
12894         * custom.el (load-theme): Minor optimization in assigning faces.
12896 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12898         * help-fns.el (describe-variable): Complete all variables having
12899         documentation, including keywords.
12900         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12902 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12904         Convert to lexical-binding.
12906         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12907         (bs--get-marked-string, bs--get-modified-string)
12908         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12909         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12910         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12912         * ehelp.el (electric-help-execute-extended)
12913         (electric-help-ctrl-x-prefix):
12914         * hexl.el (hexl-revert-buffer-function):
12915         * linum.el (linum-after-change, linum-after-scroll):
12916         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12918         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12920 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
12922         * epa-dired.el:
12923         * epa-mail.el:
12924         * epa-hook.el:
12925         * epa-file.el:
12926         * epa.el:
12927         * epg.el: Use lexical binding.
12929 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
12931         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12933         * textmodes/flyspell.el (flyspell-word): Recognize default
12934         dictionary case for flyspell-mark-duplications-exceptions.
12935         Use regexp matching for languages.
12936         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12937         default dictionary (Bug#7926).
12939 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
12941         * emacs-lisp/package.el (package--with-work-buffer):
12942         Recognize https URLs.
12944         * net/network-stream.el: Move from gnus/proto-stream.el.
12945         Change prefix to network-stream throughout.
12946         (open-protocol-stream): Merge into open-network-stream, leaving
12947         open-protocol-stream as an alias.  Handle nil BUFFER args.
12949         * subr.el (open-network-stream): Move to net/network-stream.el.
12951 2011-04-02  Glenn Morris  <rgm@gnu.org>
12953         * find-dired.el (find-exec-terminator): New option.
12954         (find-ls-option): Test for -ls support.
12955         (find-ls-subdir-switches): Test for -b in find-ls-option.
12956         (find-dired, find-grep-dired): Doc fixes.
12957         (find-dired): Use find-exec-terminator.
12959         * find-dired.el (find-ls-option, find-ls-subdir-switches)
12960         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12961         (find-name-arg): Remove purecopy.
12963         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12964         (grep-compute-defaults): Check for `-exec COMMAND +' support.
12965         Set grep-find-use-xargs, grep-find-command, and grep-find-template
12966         accordingly.  Don't add the null-device if not needed.
12968         * files.el (save-some-buffers): Doc fix.
12970 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
12972         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12974 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
12976         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12977         Use `dolist' rather than `mapcar'.
12979 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12981         Add lexical binding.
12983         * subr.el (apply-partially): Use new closures rather than CL.
12984         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12985         (dolist, dotimes): Use slightly different expansion for lexical code.
12986         (functionp): Move to C.
12987         (letrec): New macro.
12988         (with-wrapper-hook): Use it and apply-partially instead of CL.
12989         (eval-after-load): Preserve lexical-binding.
12990         (save-window-excursion, with-output-to-temp-buffer): Turn them
12991         into macros.
12993         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12995         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12996         than the arglist.
12997         (help-add-fundoc-usage): Don't add `Not documented'.
12998         (help-function-arglist): Handle closures, subroutines, and new
12999         byte-code-functions.
13000         (help-make-usage): Remove leading underscores.
13001         (describe-function-1): Handle closures.
13002         (describe-variable): Use special-variable-p for completion.
13004         * files.el (lexical-binding): Declare safe.
13006         * emacs-lisp/pcase.el: Don't use destructuring-bind.
13007         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
13008         (pcase): Add `let' pattern.
13009         Change memoization so it actually works.
13010         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13011         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13012         <let>: New case.
13014         * emacs-lisp/macroexp.el: Use lexical binding.
13015         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
13016         Don't convert ' to #' without checking that it's indeed quoting
13017         a lambda.
13019         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13020         Use eval-sexp-add-defvars.
13021         (eval-sexp-add-defvars): New fun.
13023         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13025         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13026         Don't autoload.
13027         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13028         than the internal `byte-compile-lambda'.
13029         (defmethod): Don't hide code under quotes.
13030         (eieio-defmethod): New `code' argument.
13032         * emacs-lisp/eieio-comp.el: Remove.
13034         * emacs-lisp/edebug.el (edebug-eval-defun)
13035         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13036         (edebug-toggle): Avoid `eval'.
13038         * emacs-lisp/disass.el (disassemble-internal): Handle new
13039         `closure' objects.
13040         (disassemble-1): Handle new byte codes.
13042         * emacs-lisp/cl.el (pushnew): Silence warning.
13044         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13045         (cl-byte-compile-throw): Remove.
13046         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13048         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13049         closures.
13051         * emacs-lisp/cconv.el: New file.
13053         * emacs-lisp/bytecomp.el: Use lexical binding instead of
13054         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
13055         (byte-compile-initial-macro-environment):
13056         Handle declare-function here.
13057         (byte-compile--lexical-environment): New var.
13058         (byte-stack-ref, byte-stack-set, byte-discardN)
13059         (byte-discardN-preserve-tos): New lap codes.
13060         (byte-interactive-p): Don't use any more.
13061         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13062         New macros.
13063         (byte-compile-lapcode): Use them and handle new lap codes.
13064         (byte-compile-obsolete): Remove.
13065         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13066         (byte-compile-arglist-warn): Check late def of inlinable funs.
13067         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13068         since they should have been expanded by now.
13069         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13070         (byte-compile-from-buffer): Remove unused second arg.
13071         (byte-compile-preprocess): New function.
13072         (byte-compile-toplevel-file-form): New function to distinguish
13073         file-form calls from outside from file-form calls from hunk-handlers.
13074         (byte-compile-file-form): Simplify.
13075         (byte-compile-file-form-defsubst): Remove.
13076         (byte-compile-file-form-defmumble): Simplify now that
13077         byte-compile-lambda always returns a byte-code-function.
13078         (byte-compile): Preprocess.
13079         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13080         Remove, not used any more.
13081         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13082         (byte-compile-make-args-desc): New funs.
13083         (byte-compile-lambda): Handle lexical functions.  Always return
13084         a byte-code-function.
13085         (byte-compile-reserved-constants): New var, to make up room for
13086         closed-over variables.
13087         (byte-compile-constants-vector): Obey it.
13088         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13089         (byte-compile-macroexpand-declare-function): New function.
13090         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13091         byte-code-functions.
13092         (byte-compile-form): Check obsolescence here.
13093         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13094         (byte-compile-variable-ref): Remove.
13095         (byte-compile-dynamic-variable-op): New fun.
13096         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13097         (byte-compile-variable-set): New funs.
13098         (byte-compile-discard): Add 2 args.
13099         (byte-compile-stack-ref, byte-compile-stack-set)
13100         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13101         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13102         macroexpand-all instead.
13103         (byte-compile-quote-form): Remove.
13104         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13105         (byte-compile-bind, byte-compile-unbind): New funs.
13106         (byte-compile-let): Handle let* and lexical binding.
13107         (byte-compile-let*): Remove.
13108         (byte-compile-catch, byte-compile-unwind-protect)
13109         (byte-compile-track-mouse, byte-compile-condition-case):
13110         Handle a new :fun-body form, used for lexical scoping.
13111         (byte-compile-save-window-excursion)
13112         (byte-compile-with-output-to-temp-buffer): Remove.
13113         (byte-compile-defun): Simplify.
13114         (byte-compile-stack-adjustment): New fun.
13115         (byte-compile-out): Use it.
13116         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13118         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13119         handler any more.
13121         * emacs-lisp/byte-opt.el: Use lexical binding.
13122         (byte-inline-lapcode): Remove (to bytecomp).
13123         (byte-compile-inline-expand): Pay attention to inlining to/from
13124         lexically bound code.
13125         (byte-compile-unfold-lambda): Don't handle byte-code-functions
13126         any more.
13127         (byte-optimize-form-code-walker): Don't handle save-window-excursion
13128         any more and don't call compiler-macros.
13129         (byte-compile-splice-in-already-compiled-code): Remove.
13130         (byte-code): Don't inline any more.
13131         (disassemble-offset): Receive `bytes' as argument rather than via
13132         dynamic scoping.
13133         (byte-compile-tag-number): Declare before first use.
13134         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13135         `return' even if make-spliceable.
13136         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13137         obsolete interactive-p.
13138         (byte-optimize-lapcode): Optimize new lap-codes.
13139         Don't trip up on new form of `byte-constant' lap code.
13141         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13143         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13145         * custom.el (custom-initialize-default, custom-declare-variable):
13146         Use `defvar'.
13148         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13149         New variables.
13150         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13151         (COMPILE_FIRST): Add macroexp and cconv.
13152         * makefile.w32-in: Mirror changes in Makefile.in.
13154         * vc/cvs-status.el:
13155         * vc/diff-mode.el:
13156         * vc/log-edit.el:
13157         * vc/log-view.el:
13158         * vc/smerge-mode.el:
13159         * textmodes/bibtex-style.el:
13160         * textmodes/css.el:
13161         * startup.el:
13162         * uniquify.el:
13163         * minibuffer.el:
13164         * newcomment.el:
13165         * reveal.el:
13166         * server.el:
13167         * mpc.el:
13168         * emacs-lisp/smie.el:
13169         * doc-view.el:
13170         * dired.el:
13171         * abbrev.el: Use lexical binding.
13173 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
13175         * info.el (info-display-manual): New function.
13177 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13179         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13181 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
13183         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13184         an entry for that server in rcirc-authinfo.  (Bug#8385)
13186 2011-03-31  Glenn Morris  <rgm@gnu.org>
13188         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13190         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13192 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
13194         * progmodes/python.el (python-default-interpreter)
13195         (python-python-command-args, python-jython-command-args)
13196         (python-which-shell, python-which-args, python-which-bufname)
13197         (python-file-queue, python-comint-output-filter-function)
13198         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13199         variables and functions.
13201 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13203         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13204         (completion-in-region-mode): New minor mode.
13205         (completion-in-region): Use it.
13206         (completion-in-region--data, completion-in-region-mode-map): New vars.
13207         (completion-in-region--postch): New function.
13208         (completion--capf-misbehave-funs, completion--capf-safe-funs):
13209         New vars.
13210         (completion--capf-wrapper): New function.
13211         (completion-at-point): Use it to track well-behavedness of
13212         hook functions.
13213         (completion-help-at-point): New command.
13215 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
13217         * vc/add-log.el (add-change-log-entry): Don't use whitespace
13218         syntax class to search for whitespace on a single line
13219         (Message-ID: <4D938140.4030905@redhat.com>).
13221 2011-03-30  Leo Liu  <sdl.web@gmail.com>
13223         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13224         New commands.
13225         (edit-abbrevs-map): Bind them here.
13226         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
13228 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
13230         * allout.el (allout-hide-by-annotation, allout-flag-region):
13231         Reduce possibility of overlay leakage by making them volatile.
13233         * allout-widgets.el (allout-widgets-tally): Define as nil so the
13234         hash is not shared between buffers.  Mode initialization is
13235         responsible for giving it a useful starting value.
13236         (allout-item-span): Reduce possibility of overlay leakage by
13237         making them volatile.
13238         (allout-widgets-count-buttons-in-region): Add diagnostic function
13239         for tracking down button overlay leaks.
13241 2011-03-29  Leo Liu  <sdl.web@gmail.com>
13243         * ido.el (ido-read-internal): Use the default history var
13244         minibuffer-history if no HISTORY is specified.
13246 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
13248         * net/imap.el (imap-shell-open, imap-process-connection-type):
13249         Use imap-process-connection-type for 'shell' streams as well as
13250         Kerberos, SSL, other subprocesses.
13252 2011-03-28  Leo Liu  <sdl.web@gmail.com>
13254         * abbrev.el (abbrev-table-empty-p): New function.
13255         (prepare-abbrev-list-buffer): Place empty abbrev tables after
13256         nonempty ones.  (Bug#5937)
13258 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
13260         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13262 2011-03-27  Leo Liu  <sdl.web@gmail.com>
13264         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13265         for foreground and background colors.
13266         (ansi-color-make-color-map): Adapt.
13268 2011-03-25  Leo Liu  <sdl.web@gmail.com>
13270         * midnight.el (midnight-time-float): Remove.  Note it calculates
13271         the microsecond component incorrectly and seconds-to-time does the
13272         same job.
13273         Remove redundant (require 'timer).
13275         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13276         (ido-completions): Remove unused arguments.  (Bug#8329)
13278 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13280         * minibuffer.el (completion--flush-all-sorted-completions):
13281         Remove itself from hook.
13282         (completion-at-point): Let the functions perform the completion
13283         immediately and return nil or t.
13284         * comint.el (comint-dynamic-complete-functions): Now identical to
13285         completion-at-point-functions.
13286         (comint-dynamic-list-input-ring): Remove unused var `index'.
13287         (comint--match-partial-filename, comint--unquote&expand-filename):
13288         New funs, split from comint-match-partial-filename.
13289         (comint-dynamic-complete): Use completion-at-point.
13290         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13292 2011-03-24  Drew Adams  <drew.adams@oracle.com>
13294         * thingatpt.el: Support `defun'.
13296 2011-03-23  Leo Liu  <sdl.web@gmail.com>
13298         * abbrevlist.el: Move to obsolete/abbrevlist.el.
13300         * help-mode.el (help-mode-finish): Tweak regexp.
13302 2011-03-23  Glenn Morris  <rgm@gnu.org>
13304         * eshell/esh-opt.el (eshell-eval-using-options):
13305         Do not bind unused local variable `eshell-option-stub'.
13307         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13309 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
13311         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13312         keymap variable in `with-no-warnings' to avoid a warning when the
13313         keymap has been already `defconst'ed.
13315 2011-03-22  Leo Liu  <sdl.web@gmail.com>
13317         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13318         encode all chars in abbrevs; otherwise use emacs-mule or
13319         utf-8-emacs.  (Bug#8308)
13321 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
13323         * simple.el (backward-delete-char-untabify):
13324         Avoid warning about using `delete-backward-char'.
13326         * image.el (image-type-file-name-regexps): Make it variable.
13327         `imagemagick-register-types' modifies it, and the user may want
13328         to add new extensions for known image types.
13329         (imagemagick-register-types): Throw error if not using ImageMagick.
13331 2011-03-22  Leo Liu  <sdl.web@gmail.com>
13333         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13334         located before rcirc-prompt-end-marker.
13335         (rcirc-complete): Error if point is not after rcirc prompt.
13336         Handle the case when table is nil.
13337         (rcirc-user-authenticated): Define to fix compiler warning.
13339 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
13341         * custom.el (custom--inhibit-theme-enable): Make it affect only
13342         custom-theme-set-variables and custom-theme-set-faces.
13343         (provide-theme): Ignore custom--inhibit-theme-enable.
13344         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13345         (custom-enabling-themes): Delete variable.
13346         (enable-theme): Accept only loaded themes as arguments.
13347         Ignore the special custom-enabled-themes variable.
13348         (custom-enabled-themes): Forbid themes from setting this.
13349         Eliminate use of custom-enabling-themes.
13350         (custom-push-theme): Quote "changed" custom var entry.
13352 2011-03-21  Leo Liu  <sdl.web@gmail.com>
13354         * ido.el (ido-read-internal): Add ido-selected to history instead
13355         of user input.
13357 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13359         * subr.el (deferred-action-list, deferred-action-function):
13360         Mark obsolete.
13362 2011-03-21  Leo Liu  <sdl.web@gmail.com>
13364         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13365         change on 2011-02-13 (bug#8309).
13367         * minibuffer.el (read-file-name-function): Change default value.
13368         (read-file-name--defaults): Rename from read-file-name-defaults.
13369         (read-file-name-default): Rename from read-file-name.
13370         (read-file-name): Call read-file-name-function.
13372 2011-03-21  Glenn Morris  <rgm@gnu.org>
13374         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13375         Doc fixes.
13377 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
13379         * cus-theme.el: Add missing provide statement.
13380         (customize-create-theme): Extract theme value correctly.
13381         (custom-theme-visit-theme): Autoload.
13382         (customize-create-theme): Prompt before inserting default faces.
13384 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
13386         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13387         units and musical notes.
13389 2011-03-20  Leo Liu  <sdl.web@gmail.com>
13391         * ido.el (ido-read-internal): Use completing-read-default.
13392         (ido-completing-read): Fix compatibility with completing-read.
13394 2011-03-20  Christian Ohler  <ohler@gnu.org>
13396         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13397         (ert-delete-all-tests): Use `called-interactively-p' rather than
13398         `interactive-p'.
13399         (ert--make-xrefs-region): Respect END.
13401 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
13403         * dired-aux.el (dired-create-directory): Signal an error if the
13404         directory already exists (Bug#8246).
13406         * facemenu.el (list-colors-display): Call list-faces-display
13407         inside with-help-window.
13408         (list-colors-print): Use display property to align the final
13409         column, instead of checking window-width.
13411 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
13413         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13414         windows-nt systems.
13415         (emerge-protect-metachars): Quote correctly for ms-dos and
13416         windows-nt systems.
13418 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
13420         * info.el (info-initialize): Replace all uses of `:' with
13421         path-separator for compatibility with non-Unix systems.
13422         Cache quoting of path-separator.  (Bug#8258)
13424 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
13426         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13427         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13428         (mouse-avoidance-mode): Fix typos in docstrings.
13430 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
13432         * startup.el (package-subdirectory-regexp): Move from package.el.
13433         Omit \\` and \\', and let callers add them.
13435         * emacs-lisp/package.el (package-strip-version)
13436         (package-load-all-descriptors): Add \\` and \\' to
13437         package-subdirectory-regexp before using it.
13438         (package-untar-buffer): New arg DIR; ensure that file untars only
13439         into this expected directory.  Remove superfluous delete-region.
13440         (package-unpack): Caller changed.
13441         (package-tar-file-info): Use package-subdirectory-regexp.
13443 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13445         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13446         diff-mode-shared-map (bug#8284).
13447         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13449 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13451         * calendar/time-date.el (format-seconds): Use assoc instead of
13452         assoc-string, since assoc-string doesn't exist in XEmacs.
13454 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
13456         * custom.el (custom-known-themes): Reflow docstring.
13457         (custom-theme-load-path): Fix typo in docstring.
13458         (load-theme): Fix typo in error message.
13459         (custom-available-themes, custom-variable-theme-value):
13460         Use `let', not `let*'.
13462 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
13464         * calc/README: Mention inclusion of musical notes.
13466         * calc/calc-units.el (calc-lu-quant): Rename from
13467         `calc-logunits-quantity'.
13468         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13469         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13470         (calc-db): Rename from `calc-dblevel'.
13471         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13472         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13473         (calc-np): Rename from `calc-nplevel'.
13474         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13475         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13476         (calc-lu-plus): Rename from `calc-logunits-add'.
13477         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13478         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13479         (calc-lu-minus): Rename from `calc-logunits-sub'.
13480         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13481         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13482         (calc-lu-times): Rename from `calc-logunits-mul'.
13483         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13484         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13485         (calc-lu-divide): Rename from `calc-logunits-div'.
13486         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13487         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13489         * calc/calc-ext.el (calc-init-extensions): Update the names of the
13490         functions being autoloaded.
13492         * calc/calc.el (calc-lu-power-reference): Rename from
13493         `calc-logunits-power-reference'.
13494         (calc-lu-field-reference): Rename from
13495         `calc-logunits-field-reference'.
13497         * calc/calc-help.el (calc-l-prefix-help):
13498         Mention musical note functions.
13500 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13502         * minibuffer.el (completion-all-sorted-completions):
13503         Use :completion-cycle-penalty text property if present.
13505 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
13507         * allout.el (allout-yank-processing): Adjust for new rebulleting
13508         regime so bullet being yanked is used without prompting the user
13509         for a choice.
13511 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
13513         * startup.el (command-line): Warn the user that _emacs is deprecated.
13515 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
13517         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13518         (delphi-verbose, delphi-comment-face, delphi-string-face)
13519         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13520         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13521         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13522         (delphi-new-comment-line, delphi-font-lock-defaults)
13523         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13524         Fix typos in docstrings.
13526 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
13528         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13529         Invert the roles of character and string values for INSTEAD, so a
13530         string is used for the more common case of a defaulting prompt.
13532 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13534         * progmodes/ruby-mode.el (ruby-backward-sexp):
13535         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13536         * play/gamegrid.el (gamegrid-make-face):
13537         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13538         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13539         * notifications.el (notifications-notify):
13540         * net/xesam.el (xesam-search-engines):
13541         * net/quickurl.el (quickurl-list-insert):
13542         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13544 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
13546         * startup.el (command-line): Update package subdirectory regexp.
13548 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13550         * allout.el (allout-abbreviate-flattened-numbering)
13551         (allout-mode-deactivate-hook): Fix up obsolescence "date".
13553         * subr.el (read-char-choice): Only show the cursor after the prompt,
13554         not after the answer.
13556 2011-03-15  Kevin Ryde  <user42@zip.com.au>
13558         * help-fns.el (variable-at-point): Skip leading quotes, if any
13559         (bug#8253).
13561 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13563         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13564         warning message.
13566 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
13568         * shell.el (shell): When called interactively, offer to change the
13569         shell file name on remote hosts.
13571 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
13573         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13574         integration for LDAP parameters.  The host, base, user or binddn,
13575         and secret tokens can be specified in a netrc file, for instance.
13576         This is optional because an `auth-source' parameter must be
13577         specified in the search attributes.
13579 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
13581         * help.el (describe-mode): Link to the mode's definition (bug#8185).
13583 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13585         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13586         into declaration.  Remove redundant and harmful binding.
13588 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
13590         * files.el (file-ownership-preserved-p): Pass `integer' as an
13591         explicit 2nd argument to `file-attributes'.  If the file's owner
13592         is the Administrators group on Windows, and the current user is
13593         Administrator, consider that a match.
13595         * server.el (server-ensure-safe-dir): Consider server directory
13596         safe on MS-Windows if its owner is the Administrators group while
13597         the current Emacs user is Administrator.  Use `=' to compare
13598         numerical UIDs, since they could be integers or floats.
13600 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
13602         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13604 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
13606         Sync with Tramp 2.2.1.
13608         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13610         * net/trampver.el: Update release number.
13612 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13614         * progmodes/compile.el (compilation--previous-directory): Fix up
13615         various nil/dead-marker mismatches (bug#8014).
13616         (compilation-directory-properties, compilation-error-properties):
13617         Don't call it at a position past the one we're about to change.
13619         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13620         Disable obsolescence warnings in the file that declares it.
13622 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
13624         * allout-widgets.el (allout-widgets-tally):
13625         Initialize allout-widgets-tally as a hash table rather than nil to
13626         prevent mode-line redisplay warnings.  Also, clarify the module
13627         description and fix a comment typo.
13629 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
13631         * help-fns.el (describe-variable): Don't complete keywords.
13632         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13634 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
13636         * emacs-lisp/package.el (package-version-join): Impose a standard
13637         string representation for pre/alpha/beta version lists.
13638         (package-unpack-single): Standardize the directory name by passing
13639         it through package-version-join.
13640         (package-strip-rcs-id): Accept any version string that does not
13641         signal an error in version-to-list.
13643 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
13645         * simple.el (delete-trailing-whitespace): Return nil for the
13646         benefit of `write-file-functions'.
13648 2011-03-10  Glenn Morris  <rgm@gnu.org>
13650         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13652         * vc/vc-git.el (vc-git-program): New option.
13653         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13654         (vc-git--call): Use it.
13656         * eshell/esh-util.el (eshell-condition-case): Doc fix.
13658         * cus-edit.el (Custom-newline): If no button at point, look
13659         for a subgroup button at start-of-line.  (Bug#2298)
13661         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13663 2011-03-10  Julien Danjou  <julien@danjou.info>
13665         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13666         `cursor-type' is nil.
13668 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
13670         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13672 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
13674         * allout.el: Change so yank of distinctive-bullet items
13675         preserves the existing header prefix, rebulleting it if necessary,
13676         rather than replacing it.  This is necessary for proper operation
13677         of cooperative addons like allout-widgets.
13678         (allout-make-topic-prefix, allout-rebullet-heading):
13679         Change SOLICIT arg to INSTEAD, and interpret additionally a string
13680         value as alternate bullet to be used, instead of prompting the user
13681         for a bullet character.
13683 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
13685         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13686         Do not use `tramp-file-name-port', because this returns also
13687         `tramp-default-port'.
13689 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
13691         * net/rcirc.el (rcirc-handler-001): Remove useless
13692         with-rcirc-process-buffer.
13693         (rcirc-check-auth-status): Swap arguments to string-match.
13695 2011-03-09  Glenn Morris  <rgm@gnu.org>
13697         * shell.el (shell-mode):
13698         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
13700         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13701         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
13703 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
13705         * emacs-lisp/package.el (package-refresh-contents)
13706         (package-menu-execute): Use condition-case-no-debug.
13708 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
13710         * simple.el (shell-command-to-string): Use `process-file'.
13712         * emacs-lisp/package.el (package-tar-file-info): Handle also
13713         remote files.
13715         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13716         Use `equal' for upload base check.
13718 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
13720         * textmodes/texinfo.el (texinfo-environments):
13721         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
13723 2011-03-08  Glenn Morris  <rgm@gnu.org>
13725         * cus-start.el (cursor-in-non-selected-windows):
13726         Fix :set quoting oddness.  (Bug#8192)
13728         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13729         in some setf expressions.  (Bug#2159)
13731 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
13733         * custom.el (custom-available-themes): Return themes in
13734         alphabetical order.
13736 See ChangeLog.15 for earlier changes.
13738 ;; Local Variables:
13739 ;; coding: utf-8
13740 ;; End:
13742   Copyright (C) 2011-2012  Free Software Foundation, Inc.
13744   This file is part of GNU Emacs.
13746   GNU Emacs is free software: you can redistribute it and/or modify
13747   it under the terms of the GNU General Public License as published by
13748   the Free Software Foundation, either version 3 of the License, or
13749   (at your option) any later version.
13751   GNU Emacs is distributed in the hope that it will be useful,
13752   but WITHOUT ANY WARRANTY; without even the implied warranty of
13753   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13754   GNU General Public License for more details.
13756   You should have received a copy of the GNU General Public License
13757   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.