* lisp/minibuffer.el (completion--sifn-requote): Handle sifn's truncation
[emacs.git] / lisp / ChangeLog
blobac2aff0d9c7133037375940742b27d65e5dd52a1
1 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4         behavior.
5         (completion--string-equal-p): New function.
6         (completion--twq-all): Use it to get better assertion failure data.
8         Only handle ".." and '..' quoting in shell-mode (bug#11466).
9         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10         (shell--requote-argument): New functions.
11         (shell-completion-vars): Use them.
12         (shell--parse-pcomplete-arguments): Rename from
13         shell-parse-pcomplete-arguments.
14         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
15         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
16         Obey comint-file-name-quote-list.
18         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
19         (smie-indent-keyword): Use it.
21 2012-05-14  Stefan Merten  <smerten@oekonux.de>
23         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
25 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
27         * net/rlogin.el (rlogin-mode-map): Fix last change.
29 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
31         * mail/smtpmail.el (smtpmail-send-command): Send the command and
32         the following \r\n using a single `process-send-string', since the
33         Lotus SMTP server refuses to accept any commands if they are sent
34         with two `process-send-string's (Bug#11444).
36 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
38         * shell.el (shell-parse-pcomplete-arguments):
39         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
41 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
43         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
44         (image-transform-scale, image-transform-right-angle-fudge): New vars.
45         (image-transform-width, image-transform-fit-width): New functions.
46         (image-transform-properties): Use them.
47         (image-transform-check-size): New function.
48         (image-toggle-display-image): Use it (for testing).
49         (image-transform-set-rotation): Reduce angle mod 360.
50         Delete obsolete comment.
52 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
54         * image-mode.el: Fix scaling (bug#11399).
55         (image-transform-resize): Doc fix.
56         (image-transform-properties): Default scale is 1 and height should
57         be an integer.
59 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
61         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
62         than hard-coding `car', to fix misbehavior when moving forward.
64 2012-05-13  Chong Yidong  <cyd@gnu.org>
66         * emacs-lisp/tabulated-list.el (tabulated-list-format)
67         (tabulated-list-entries, tabulated-list-padding)
68         (tabulated-list-sort-key): Make permanent-local.
70         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
71         (electric-buffer-list): Put electric buffer menu
72         command descriptions in this docstring, instead of the docstring
73         of electric-buffer-menu-mode.  Code cleanups.
74         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
75         Electric-buffer-menu-mode.
76         (electric-buffer-update-highlight): Minor code cleanup.
78 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
80         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
81         (Bug#11447)
83 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
85         Move define-obsolete-variable-alias before the var's definition.
86         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
87         * tooltip.el (tooltip-hook):
88         * textmodes/reftex-toc.el (reftex-toc-map):
89         * textmodes/reftex-sel.el (reftex-select-label-map)
90         (reftex-select-bib-map):
91         * textmodes/reftex-index.el (reftex-index-map)
92         (reftex-index-phrases-map):
93         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
94         * progmodes/meta-mode.el (meta-mode-map):
95         * novice.el (disabled-command-hook):
96         * loadhist.el (unload-hook-features-list):
97         * frame.el (blink-cursor):
98         * files.el (find-file-not-found-hooks, write-file-hooks)
99         (write-contents-hooks):
100         * emulation/tpu-edt.el (GOLD-map):
101         * emacs-lock.el (emacs-lock-from-exiting):
102         * emacs-lisp/generic.el (generic-font-lock-defaults):
103         * emacs-lisp/chart.el (chart-map):
104         * dos-fns.el (register-name-alist):
105         * dired-x.el (dired-omit-files-p):
106         * desktop.el (desktop-enable):
107         * cus-edit.el (custom-mode-hook):
108         * buff-menu.el (buffer-menu-mode-hook):
109         * bookmark.el (bookmark-read-annotation-text-func)
110         (bookmark-exit-hooks):
111         * allout.el (allout-mode-deactivate-hook)
112         (allout-exposure-change-hook, allout-structure-added-hook)
113         (allout-structure-deleted-hook, allout-structure-shifted-hook):
114         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
115         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
116         comes before the corresponding variable's definition.
118 2012-05-12  Chong Yidong  <cyd@gnu.org>
120         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
121         (Buffer-menu-mouse-select): Restore function (Bug#11459).
122         (Buffer-menu-mode-map): Bind it.
123         (Buffer-menu--pretty-name): Add a mouse-face property.
125 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
127         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
128         (prolog-upper-case-string, prolog-lower-case-string)
129         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
130         (prolog-use-smie, prolog-smie-grammar): New vars.
131         (prolog-smie-forward-token, prolog-smie-backward-token)
132         (prolog-smie-rules): New funs.
133         (prolog-comment-indent): Remove.
134         (prolog-mode-variables): Use default comment indentation instead.
135         Setup SMIE.
136         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
137         (prolog-mode): Don't call them any more.
138         (prolog-electric-colon, prolog-electric-dash)
139         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
141         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
143         * minibuffer.el (completion--twq-all): Again, allow case differences.
145         * term.el: Move keymap initialization code to be more idiomatic.
146         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
147         (term-terminal-menu): Move initialization into declaration.
148         (term-escape-char): Let the user set it in her .emacs.
150         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
151         Provide SMIE-based indentation (not enabled by default yet).
152         (sh-mode-map): Don't bind electric keys.
153         Use electric-pair-mode instead of skeleton-pair.
154         (sh-assignment-regexp): Fit within 80 columns.
155         (sh-indent-supported): Specify actual shell name instead of boolean.
156         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
157         (sh-maybe-here-document): Use it.  Make obsolete.
158         (sh-electric-here-document-mode) New minor mode.
159         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
160         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
161         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
162         (sh-smie-rc-grammar, sh-use-smie): New vars.
163         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
164         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
165         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
166         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
167         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
168         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
169         (sh-set-shell): Use smie-setup if requested.
171         * term.el (term-set-escape-char): Properly set term-escape-char.
172         See http://stackoverflow.com/questions/10524656.
174 2012-05-10  Chong Yidong  <cyd@gnu.org>
176         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
177         Use url-generic-parse-url, and handle host names and Windows
178         filenames properly.
179         (ffap-url-unwrap-remote): Use url-generic-parse-url.
180         (ffap-url-unwrap-remote): Accept list values, specifying a list of
181         URL schemes to work on.
182         (ffap--toggle-read-only): New function.
183         (ffap-read-only, ffap-read-only-other-window)
184         (ffap-read-only-other-frame): Use it.
185         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
186         necessary for ffap-url-unwrap-remote.
188 2012-05-10  Dave Abrahams  <dave@boostpro.com>
190         * cus-start.el (create-lockfiles): Add it.
192 2012-05-09  Chong Yidong  <cyd@gnu.org>
194         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
195         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
197 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
199         * shell.el (shell-completion-vars): Fix last change (bug#11348).
201 2012-05-09  Chong Yidong  <cyd@gnu.org>
203         * ansi-color.el (ansi-color-process-output): Check for validity of
204         comint-last-output-start before using it.  This avoids a bad
205         interaction with gdb-mi's input/output buffer.
207 2012-05-09  Glenn Morris  <rgm@gnu.org>
209         * files.el (dir-locals-read-from-file):
210         Mention dir-locals in any error message.
212 2012-05-09  Chong Yidong  <cyd@gnu.org>
214         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
215         package (Bug#11410).
217         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
218         variables into description.
220 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
222         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
223         shell-delimiter-argument-list (bug#11348).
224         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
226 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
228         * textmodes/rst.el: Silence byte-compiler warnings.
229         (rst-re-alist, rst-reset-section-caches): Move around.
230         (rst-re): Use `characterp', not `char-valid-p'.
231         (font-lock-beg, font-lock-end): Declare.
233         * progmodes/idlw-shell.el (specs): Remove reference to deleted
234         variable `idlwave-shell-activate-alt-keybindings' and simplify.
236         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
238 2012-05-08  Glenn Morris  <rgm@gnu.org>
240         * files.el (auto-mode-alist): Treat ".make" like ".mk".
242 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
244         * vc/log-edit.el: Add GNU coding standards highlighting.
245         (log-edit-font-lock-gnu-style)
246         (log-edit-font-lock-gnu-keywords): New vars.
247         (log-edit-font-lock-keywords): New fun.
248         (log-edit-mode): Don't fold case in font-lock.
249         (log-edit-font-lock-keywords): Do not assume case-folding.
251         * imenu.el: Misc cleanup.  Make docstrings out of comments.
252         Use lexical-binding.
253         (imenu--index-alist, imenu--last-menubar-index-alist)
254         (imenu-menubar-modified-tick): Use defvar-local.
255         (imenu--split-menu): Remove unused var.
256         (imenu--cleanup-seen): Declare as global.
257         (imenu--cleanup): Use dolist.
259         * subr.el (defvar-local): Add debug spec and doc-string position.
261 2012-05-08  Glenn Morris  <rgm@gnu.org>
263         * lisp/language/burmese.el, language/cham.el, language/czech.el:
264         * language/english.el, language/georgian.el, language/greek.el:
265         * language/japanese.el, language/khmer.el, language/korean.el:
266         * language/lao.el, language/misc-lang.el, language/romanian.el:
267         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
268         * language/thai.el, language/utf-8-lang.el:
269         Remove no-byte-compile setting.
271         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
273 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
275         * progmodes/make-mode.el (makefile-browse):
276         Remove unnecessary interactive.  (Bug#11324)
278 2012-05-07  Glenn Morris  <rgm@gnu.org>
280         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
282         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
284 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
286         * loadup.el: Preload newcomment.el.
287         * newcomment.el: Move autoload-only code to toplevel.
289         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
290         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
291         Handle new :right-align column property.
292         (tabulated-list-print-col): Idem, plus use `display' text-property to
293         try and preserve alignment for variable pitch fonts.
295 2012-05-07  Chong Yidong  <cyd@gnu.org>
297         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
298         (tabulated-list-use-header-line): New var.
299         (tabulated-list-init-header): Use it.
300         (tabulated-list-print-fake-header): New function.
301         (tabulated-list-print): Use it.
302         (tabulated-list-sort-button-map): Add non-header-line commands.
303         (tabulated-list-init-header): Add column name property to basic
304         labels as well.
305         (tabulated-list-col-sort): Handle non-header-line button case.
306         (tabulated-list--sort-by-column-name): Fix a corner case.
308         * buff-menu.el (list-buffers--refresh):
309         Handle Buffer-menu-use-header-line.
311 2012-05-06  Chong Yidong  <cyd@gnu.org>
313         * buff-menu.el: Convert to Tabulated List mode.
314         (Buffer-menu-buffer+size-width): Make obsolete.
315         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
316         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
317         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
318         documentation into docstring of buffer-menu.
319         (Buffer-menu-toggle-files-only): Add an informative message.
320         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
321         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
322         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
323         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
324         (Buffer-menu-execute, Buffer-menu-select)
325         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
326         (Buffer-menu-bury): Use Tabulated List machinery.
327         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
328         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
329         Delete.
330         (list-buffers--refresh): New function.
331         (list-buffers-noselect): Use it.
332         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
333         (Buffer-menu--pretty-file-name): New helper functions.
335         * loadup.el: Preload tabulated-list.
337         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
338         tabulated-list-sort-column.
339         (tabulated-list-init-header): Add the initial aligning space even
340         if tabulated-list-padding is zero.
342 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
344         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
345         whose cdr is not a cons cell correctly (bug#11038).
347 2012-05-06  Chong Yidong  <cyd@gnu.org>
349         * emacs-lisp/tabulated-list.el (tabulated-list-format):
350         Accept additional plist in column descriptors.
351         (tabulated-list-init-header): Obey it.
352         (tabulated-list-get-entry): New function.
353         (tabulated-list-put-tag): Use it.  Use string-width instead of
354         length.
355         (tabulated-list--column-number): New function.
356         (tabulated-list-print): Use it.
357         (tabulated-list-print-col): New function.
358         Set `tabulated-list-column-name' property on each column's text.
359         (tabulated-list-print-entry): Use it.
360         (tabulated-list-delete-entry, tabulated-list-set-col):
361         New functions.
362         (tabulated-list-sort-column): New command (Bug#11337).
364         * buff-menu.el (list-buffers): Move C-x C-b binding from
365         buff-menu.el to bindings.el.
367         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
368         :advertised-binding feature.
370 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
372         * progmodes/compile.el (compilation-internal-error-properties):
373         Calculate start position correctly when end-col is set but
374         end-line is not (Bug#11382).
376 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
378         * man.el (Man-unindent): Use text-property-default-nonsticky to
379         prevent untabify from inheriting face properties (Bug#11408).
381 2012-05-05  Glenn Morris  <rgm@gnu.org>
383         * calendar/cal-html.el: Optionally include holidays in the output.
384         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
385         (cal-html-holidays): New option.
386         (cal-html-css-default): Add holiday entry.
387         (holiday-in-range): Autoload it.
388         (cal-html-htmlify-entry): Add optional class argument.
389         (cal-html-htmlify-list): Add optional holidays argument.
390         (cal-html-insert-agenda-days): Include holidays in the output.
391         (cal-html-one-month): Maybe include holidays.
393         * calendar/holidays.el (holiday-in-range):
394         Move here from cal-tex-list-holidays.
395         * calendar/cal-tex.el (cal-tex-list-holidays):
396         Make it an obsolete alias for holiday-in-range.  Update all callers.
398 2012-05-05  Chong Yidong  <cyd@gnu.org>
400         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
401         Nextstep.
403 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
405         * files.el (file-auto-mode-skip): New var.
406         (set-auto-mode-1): Use it.
408 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
410         * repeat.el: Use lexical-binding.
411         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
412         (repeat-undo-count): Remove.
413         (repeat):
414         * progmodes/octave-mod.el (octave-abbrev-start):
415         * progmodes/f90.el (f90-abbrev-start):
416         * face-remap.el (text-scale-adjust):
417         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
419         * emacs-lisp/pcase.el (pcase--let*): New function.
420         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
421         a bit more.
422         (pcase--split-pred): Be more clever about ruling out overlap between
423         a predicate and some constant pattern.
424         (pcase--q1): Use `null' instead of (eq foo nil).
426         * subr.el (setq-local, defvar-local): New macros.
427         (kbd): Redefine as an alias.
428         (with-selected-window): Leave unrelated frames alone.
429         (set-temporary-overlay-map): New function.
431 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
433         * subr.el (user-error): New function.
434         * window.el (switch-to-buffer):
435         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
436         (smerge-match-conflict):
437         * simple.el (previous-matching-history-element)
438         (next-matching-history-element, goto-history-element, undo-more)
439         (undo-start):
440         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
441         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
442         (next-file, tags-loop-scan, list-tags, complete-tag):
443         * progmodes/compile.el (compilation-loop):
444         * mouse.el (mouse-minibuffer-check):
445         * man.el (Man-bgproc-sentinel, Man-goto-page):
446         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
447         (Info-history-forward, Info-follow-reference, Info-menu)
448         (Info-extract-menu-item, Info-extract-menu-counting)
449         (Info-forward-node, Info-backward-node, Info-next-menu-item)
450         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
451         (Info-next-reference, Info-prev-reference, Info-index)
452         (Info-index-next, Info-follow-nearest-node)
453         (Info-copy-current-node-name):
454         * imenu.el (imenu--make-index-alist)
455         (imenu-default-create-index-function, imenu-add-to-menubar):
456         * files.el (basic-save-buffer, recover-file):
457         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
458         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
459         (checkdoc-message-text, checkdoc-defun):
460         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
461         * cus-edit.el (customize-changed-options, customize-rogue)
462         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
463         (custom-variable-mark-to-reset-standard)
464         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
465         (custom-file):
466         * completion.el (check-completion-length):
467         * comint.el (comint-search-arg)
468         (comint-previous-matching-input-string-position)
469         (comint-previous-matching-input)
470         (comint-replace-by-expanded-history-before-point, comint-send-input)
471         (comint-copy-old-input, comint-backward-matching-input)
472         (comint-goto-process-mark, comint-set-process-mark):
473         * calendar/calendar.el (calendar-cursor-to-date): Use it.
474         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
476 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
478         * dabbrev.el (dabbrev--ignore-case-p): New function.
479         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
480         Use it.
482         * files.el (automount-dir-prefix): Mark as obsolete.
484 2012-05-04  Glenn Morris  <rgm@gnu.org>
486         * patcomp.el, play/bruce.el: Move to obsolete/.
488 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
490         Fix minor Y10k bugs.
491         * arc-mode.el (archive-unixdate):
492         * autoinsert.el (auto-insert-alist):
493         * calc/calc-forms.el (math-this-year):
494         * emacs-lisp/copyright.el (copyright-current-year)
495         (copyright-update-year, copyright):
496         * tar-mode.el (tar-clip-time-string):
497         * time.el (display-time-update):
498         Don't assume years have 4 digits.
500 2012-05-04  Chong Yidong  <cyd@gnu.org>
502         * dos-w32.el (file-name-buffer-file-type-alist)
503         (direct-print-region-use-command-dot-com):
504         * ffap.el (ffap-menu-regexp):
505         * find-file.el (ff-special-constructs):
506         * follow.el (follow-debug):
507         * forms.el (forms--debug):
508         * iswitchb.el (iswitchb-all-frames):
509         * ido.el (ido-all-frames):
510         * emacs-lisp/timer.el (timer-max-repeats):
511         * mail/feedmail.el (feedmail-mail-send-hook)
512         (feedmail-mail-send-hook-queued):
513         * mail/footnote.el (footnote-signature-separator):
514         * mail/mailabbrev.el (mail-alias-separator-string)
515         (mail-abbrev-mode-regexp):
516         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
517         * progmodes/idlwave.el (idlwave-libinfo-file)
518         (idlwave-default-completion-case-is-down)
519         (idlwave-library-routines): Convert defvars to defcustoms.
521         * mail/rmail.el (rmail-decode-mime-charset):
522         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
523         (idlwave-shell-fix-inserted-breaks)
524         (idlwave-shell-activate-alt-keybindings)
525         (idlwave-shell-use-breakpoint-glyph):
526         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
528 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
530         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
532 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
534         * progmodes/verilog-mode.el (font-lock-keywords):
535         Fix mis-highligting auto.  Reported by Craig Barner.
536         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
537         defines from global name space. Reported by Dan Dever.
538         (verilog-auto-reset, verilog-auto-reset-widths)
539         (verilog-auto-tieoff): Support using unbased numbers for
540         AUTORESET and AUTOTIEOFF.
541         (verilog-submit-bug-report): Update variable list.
542         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
543         parenthesis from not matching. Reported by Michael Rytting.
544         (verilog-auto-template-lint): Fix hash error when linting modules
545         with no used templates.
546         (verilog-warn, verilog-warn-error)
547         (verilog-warn-fatal): When non-interactive report multiple
548         warnings before exiting.  Suggested by Brad Dobbie.
549         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
550         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
551         to report unused template errors.  Reported by Brad Dobbie.
552         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
553         nets, bug438. Reported by Vns Blore.
554         (verilog-auto-inout-module, verilog-auto-reg)
555         (verilog-read-decls, verilog-read-sub-decls-sig)
556         (verilog-signals-edit-wire-reg, verilog-signals-with):
557         Fix passing of Verilog data types in ANSI input/output ports
558         such as "output logic" into the AUTOs. Special case "wire" and
559         "reg" for backwards compatibility presuming Verilog 2001.
560         (verilog-auto-ascii-enum): Add "auto enum" as alias.
561         (verilog-preprocess): Fix replication of preprocess output.
562         Reported by Brad Dobbie.
563         (verilog-auto-inst-interfaced-ports):
564         Create verilog-auto-inst-interfaced-ports, bug429.
565         Reported by Julian Gorfajn.
566         (verilog-after-save-font-hook)
567         (verilog-before-save-font-hook): New variable.
568         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
569         (verilog-save-font-mods): Wrap disabling fontification, reported
570         by David Rogoff.
571         (verilog-do-indent, verilog-pretty-declarations-auto)
572         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
573         Reported by Pierre-David Pfister.
574         (verilog-set-auto-endcomments): Fix endtask auto comments outside
575         of class declarations, bug292.  Reported by Kevin Heilman.
576         (verilog-read-decls): Fix 'parameter type' not appearing in
577         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
578         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
579         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
580         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
581         Reported by David Kravitz.
583 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
585         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
586         assignment with tests in ifs and for loops.
587         (verilog-extended-complete-re, verilog-complete-reg): Change so
588         that DPI inport functions don't look like fuction declarations.
589         (verilog-pretty-expr): Don't line up assignment
590         operations to the test and increment in if and for loops
591         (verilog-extended-complete-re, verilog-complete-reg): Change so
592         that DPI inport functions don't look like fuction declarations
594 2012-05-03  Kenichi Handa  <handa@m17n.org>
596         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
597         decoding, and show a warning message without signalling an error
598         (Bug#11282).
600 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
602         * emacs-lisp/bytecomp.el
603         (byte-compile-file-form-custom-declare-variable): Compile all elements,
604         since cconv.el might have introduced :fun-body, internal-make-closure,
605         and friends for bytecomp to handle (bug#11391).
606         * custom.el (defcustom): Avoid ((λ ..) ..).
608 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
610         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
612 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
614         * notifications.el (dbus-debug):
615         * term/linux.el (gpm-mouse-enable):
616         * term/screen.el (xterm-register-default-colors): Declare.
618 2012-05-02  Chong Yidong  <cyd@gnu.org>
620         * cus-start.el (gc-cons-percentage, exec-suffixes)
621         (dos-display-scancodes, dos-hyper-key, dos-super-key)
622         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
623         (make-cursor-line-fully-visible, void-text-area-pointer)
624         (font-list-limit): Add customization data.
626         * allout.el (allout-exposure-change-functions)
627         (allout-structure-added-functions)
628         (allout-structure-deleted-functions)
629         (allout-structure-shifted-functions): Rename abnormal hooks from
630         *-hook, and convert to defcustoms.
631         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
632         Convert to defcustoms.
633         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
635         * allout-widgets.el: Hook callers changed.
637 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
639         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
640         the yanked message in preference to the default value of
641         buffer-file-coding-system.
643 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
645         * window.el (display-buffer--action-function-custom-type):
646         Fix entry.
648 2012-05-02  Alan Mackenzie  <acm@muc.de>
650         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
652 2012-05-01  Glenn Morris  <rgm@gnu.org>
654         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
656         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
658         * cus-edit.el (custom-variable-documentation): Simplify with format.
660 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
661             Stefan Monnier  <monnier@iro.umontreal.ca>
663         * simple.el (suggest-key-bindings, execute-extended-command):
664         Move from keyboard.c.
666 2012-05-01  Chong Yidong  <cyd@gnu.org>
668         * follow.el: Eliminate advice.
669         (set-process-filter, process-filter, sit-for): Advice deleted.
670         (follow-mode-off-hook): Obsolete hook removed.
671         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
672         Vars deleted.
673         (follow-auto): Use a :set function.
674         (follow-mode): Rewritten.  Don't advise process filters.
675         (follow-switch-to-current-buffer-all, follow-scroll-up)
676         (follow-scroll-down): Assume follow-mode is bound.
677         (follow-comint-scroll-to-bottom)
678         (follow-align-compilation-windows): New functions.
679         (follow--window-sorter): New function.
680         (follow-all-followers): Use it to explicitly sort windows by their
681         positions; don't make assumptions about next-window order.
682         (follow-windows-start-end, follow-delete-other-windows-and-split)
683         (follow-calc-win-start): Doc fix.
684         (follow-windows-aligned-p, follow-select-if-visible): Don't call
685         vertical-motion unnecessarily.
686         (follow-adjust-window): New function.
687         (follow-post-command-hook): Use it.
688         (follow-call-set-process-filter, follow-call-process-filter)
689         (follow-intercept-process-output, follow-tidy-process-filter-alist)
690         (follow-stop-intercept-process-output, follow-generic-filter):
691         Functions deleted.
692         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
693         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
694         New functions, replacing advice on scroll-bar-* commands.
695         (follow-mwheel-scroll): New function (Bug#4112).
697         * comint.el (comint-adjust-point): New function.
698         (comint-postoutput-scroll-to-bottom): Use it.
699         Call follow-comint-scroll-to-bottom for Follow mode buffers.
701 2012-05-01  Glenn Morris  <rgm@gnu.org>
703         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
704         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
705         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
706         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
707         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
708         Remove no-byte-compile setting.
710 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
712         * minibuffer.el (completion-table-with-quoting): Fix compatibility
713         all-completions code to not return a number in the last cdr.
715 2012-04-30  Leo Liu  <sdl.web@gmail.com>
717         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
718         read-only error.
720 2012-04-29  Chong Yidong  <cyd@gnu.org>
722         * follow.el (follow-calc-win-end): Rewrite to handle partial
723         screen lines correctly (Bug#8390).
724         (follow-avoid-tail-recenter): Minor cleanup.
726 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
728         Avoid the obsolete `assoc' package.
729         * speedbar.el (speedbar-refresh): Avoid adelete.
730         (speedbar-file-lists): Simplify and avoid aput.
731         * man.el (Man--sections, Man--refpages): New vars, replacing
732         Man-sections-alist and Man-refpages-alist.
733         (Man-build-section-alist, Man-build-references-alist):
734         Use them; avoid aput.
735         (Man--last-section, Man--last-refpage): New vars.
736         (Man-follow-manual-reference): Use them.
737         Use the `default' arg of completing-read.
738         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
740 2012-04-27  Chong Yidong  <cyd@gnu.org>
742         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
744         * startup.el (x-apply-session-resources): New function.
746         * term/ns-win.el (ns-initialize-window-system):
747         * term/w32-win.el (w32-initialize-window-system):
748         * term/x-win.el (x-initialize-window-system): Use it to properly
749         set menu-bar-mode and other vars from X resources, even if the
750         initial frame is not a window-system frame (Bug#2299).
752         * subr.el (read-key): Avoid running filter function when setting
753         up temporary tool bar entries (Bug#9922).
755 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
757         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
758         (Bug#11344)
760 2012-04-27  Chong Yidong  <cyd@gnu.org>
762         * select.el (xselect--encode-string): New function, split from
763         xselect-convert-to-string.
764         (xselect-convert-to-string): Use it.
765         (xselect-convert-to-filename, xselect-convert-to-os)
766         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
767         returned strings are properly encoded (Bug#11315).
769 2012-04-27  Chong Yidong  <cyd@gnu.org>
771         * simple.el (delete-active-region): Move to killing custom group.
773 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
775         * progmodes/which-func.el (which-func-current): Quote %
776         characters for mode-line processing.
778 2012-04-27  Chong Yidong  <cyd@gnu.org>
780         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
781         reaching eob (Bug#11286).
783 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
785         * progmodes/gdb-mi.el (gdb-control-level): New variable.
786         (gdb): Make it buffer-local and init to zero.
787         (gdb-control-commands-regexp): New variable.
788         (gdb-send): Don't wrap in "-interpreter-exec console" if
789         gdb-control-level is positive.  Increment gdb-control-level
790         whenever the command matches gdb-control-commands-regexp, and
791         decrement it each time the command is "end".  (Bug#11279)
793 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
795         * window.el (adjust-window-trailing-edge, enlarge-window)
796         (shrink-window, window-resize):
797         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
798         windows (Bug#11276).
800 2012-04-27  Chong Yidong  <cyd@gnu.org>
802         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
803         fix "missing prefix" warning.  All callers changed.
805 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
807         * emacs-lisp/assoc.el: Move to obsolete/.
809 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
811         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
813         * term/ns-win.el (ns-define-service):
814         * progmodes/pascal.el (pascal-goto-defun):
815         * progmodes/js.el (js--read-tab):
816         * progmodes/etags.el (tags-lazy-completion-table):
817         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
818         * emacs-lisp/ewoc.el (ewoc--wrap):
819         * emacs-lisp/assoc.el (aput, adelete, amake):
820         * doc-view.el (doc-view-convert-current-doc):
821         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
823 2012-04-26  Chong Yidong  <cyd@gnu.org>
825         * image.el (image-type-from-buffer): Only return supported image
826         type (Bug#9045).
828         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
829         value, for symmetry with diff-end-of-hunk.
830         (diff-split-hunk, diff-find-source-location)
831         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
832         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
833         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
834         compute the relevant hunk or file properly (Bug#6005).
835         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
837 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
839         * vc/vc-mtn.el:
840         * vc/vc-hg.el:
841         * vc/vc-git.el:
842         * vc/vc-dir.el:
843         * vc/vc-cvs.el:
844         * vc/vc-bzr.el:
845         * vc/vc-arch.el:
846         * vc/vc.el: Replace lexical-let by lexical-binding.
847         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
848         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
849         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
851 2012-04-26  Chong Yidong  <cyd@gnu.org>
853         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
854         (diff-mode-shared-map): Bind it to / and [remap undo].
856         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
857         (ediff-window-setup-function): Use it as the default, to set up
858         windows based on whether the current frame is graphical (Bug#2138).
859         (ediff-choose-window-setup-function-automatically): Make obsolete.
861         * vc/ediff-init.el: Always define ediff-pixel-width/height.
863 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
865         * ffap.el: Remove old code for obsolete package.
866         (ffap-complete-as-file-p): Remove.
868         Use completion-table-with-quoting for comint and pcomplete.
869         * comint.el (comint--unquote&requote-argument)
870         (comint--unquote-argument, comint--requote-argument): New functions.
871         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
872         (comint-quote-filename): Use regexp-opt-charset.
873         (comint--common-suffix, comint--common-quoted-suffix)
874         (comint--table-subvert): Remove.
875         (comint-unquote-function, comint-requote-function): New vars.
876         (comint--complete-file-name-data): Use them with
877         completion-table-with-quoting.
878         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
879         * pcomplete.el (pcomplete-arg-quote-list)
880         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
881         (pcomplete-unquote-argument-function): Default to non-nil.
882         (pcomplete-unquote-argument): Simplify.
883         (pcomplete--common-quoted-suffix): Remove.
884         (pcomplete-requote-argument-function): New var.
885         (pcomplete--common-suffix): New function.
886         (pcomplete-completions-at-point): Use completion-table-with-quoting
887         and completion-table-subvert.
889         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
890         (minibuffer--double-dollars): Preserve properties.
891         (completion--sifn-requote): New function.
892         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
894         * minibuffer.el: Add support for completion of quoted/escaped data.
895         (completion-table-with-quoting, completion-table-subvert): New funs.
896         (completion--twq-try, completion--twq-all): New functions.
897         (completion--nth-completion): New function.
898         (completion-try-completion, completion-all-completions): Use it.
900 2012-04-25  Leo Liu  <sdl.web@gmail.com>
902         * progmodes/python.el (python-pdbtrack-get-source-buffer):
903         Use compilation-message if available to find real filename.
905 2012-04-25  Chong Yidong  <cyd@gnu.org>
907         * vc/diff-mode.el (diff-setup-whitespace): New function.
908         (diff-mode): Use it.
910         * vc/diff.el (diff-sentinel):
911         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
912         Whitespace mode variables based on diff style (Bug#8612).
914 2012-04-25  Leo Liu  <sdl.web@gmail.com>
916         * progmodes/python.el (python-send-region): Add suffix .py to the
917         temp file.
919         * files.el (auto-mode-alist): Use javascript-mode instead.
921 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
923         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
925         * soap-client.el (soap-resolve-references-for-sequence-type)
926         (soap-resolve-references-for-array-type): Hack to prevent self
927         references, see Bug#9.
928         (soap-parse-envelope): Report the contents of the 'detail' node
929         when receiving a fault reply.
930         (soap-parse-envelope): Report the contents of the entire 'detail' node.
932         * soap-inspect.el (soap-sample-value-for-simple-type)
933         (soap-inspect-simple-type): New function.
935         * soap-client.el (soap-simple-type): New struct.
936         (soap-default-xsd-types, soap-default-soapenc-types)
937         (soap-decode-basic-type, soap-encode-basic-type):
938         support unsignedInt and double basic types.
939         (soap-resolve-references-for-simple-type)
940         (soap-parse-simple-type, soap-encode-simple-type): New function.
941         (soap-parse-schema): Parse xsd:simpleType declarations.
943         * soap-client.el (soap-default-xsd-types)
944         (soap-default-soapenc-types): Add integer, byte and anyURI types.
945         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
946         the local name of "soapenc:Array".
947         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
948         decoding integer, byte and anyURI xsd types.
950 2012-04-25  Chong Yidong  <cyd@gnu.org>
952         * cus-edit.el (custom-buffer-create-internal): Update header text.
954 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
956         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
957         settings on 'system-type', not on 'window-system'.  On MS-Windows,
958         set interactive-mode on in GDB.
960 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
962         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
963         (ruby-syntax-propertize-regexp): Remove.
964         (ruby-syntax-propertize-function): Split regexp into chunks.
965         Match following code directly.
967 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
969         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
970         (ruby-syntax-propertize-regexp): New function.
971         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
972         by a special keyword.
974         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
975         (ruby-syntax-general-delimiters-goto-beg)
976         (ruby-syntax-propertize-general-delimiters): New functions.
977         (ruby-syntax-propertize-function): Use them to handle GDL.
978         (ruby-font-lock-keywords): Move old handling of GDL...
979         (ruby-font-lock-syntactic-keywords): .. to here.
980         (ruby-calculate-indent): Adjust indentation for GDL.
982 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
984         * notifications.el (top): Remove unneeded declarations.
985         (notifications-specification-version): Change to "1.2".
986         (notifications-interface, notifications-notify-method)
987         (notifications-close-notification-method): Fix docstring.
988         (notifications-get-capabilities-method): New defconst.
989         (notifications-notify): Add :action-items, :resident and
990         :transient hints.  Change "image_data" to "image-data" and
991         "image_path" to "image-path".
992         (notifications-get-capabilities): New defun.
994 2012-04-24  Leo Liu  <sdl.web@gmail.com>
996         * progmodes/python.el: Move hideshow setup to the end.
998 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
1000         * window.el (handle-select-window): Clear echo area since this is
1001         no more done by read_char (Bug#11304).
1003 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1005         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1006         and `/ M' to filter-derived-mode.
1007         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1008         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1009         (ibuffer-mark-by-mode): Use default rather than initial-input.
1010         (ibuffer-filter-by-derived-mode): Autoload and require-match.
1012 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
1014         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1015         (ibuffer-filter-by-derived-mode): New filter.
1016         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1018 2012-04-23  Andreas Politz  <politza@fh-trier.de>
1020         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1022 2012-04-23  Chong Yidong  <cyd@gnu.org>
1024         * cus-edit.el (customize-apropos, customize-apropos-options):
1025         Disable matching of non-option variables (Bug#11176).
1026         (customize-option, customize-option-other-window)
1027         (customize-changed-options): Doc fix.
1028         (customize-apropos-options, customize-apropos-faces)
1029         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1031         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1032         Fix word list splitting (Bug#11132).
1033         (apropos-symbol, apropos-keybinding, apropos-label)
1034         (apropos-property, apropos-function-button)
1035         (apropos-variable-button, apropos-misc-button): New faces.
1036         (apropos-symbol-face, apropos-keybinding-face)
1037         (apropos-label-face, apropos-property-face, apropos-match-face):
1038         Variables removed (Bug#8396).
1039         (apropos-library-button, apropos-format-plist, apropos-print)
1040         (apropos-print-doc, apropos-describe-plist): Callers changed.
1042 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
1044         * net/xesam.el (xesam-mode-map): Use let-bound map in
1045         initialization.  (Bug#11292)
1047 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1049         Preserve ispell session localwords when switching back to
1050         original buffer.
1052         * ispell.el (ispell-buffer-session-localwords): New buffer-local
1053         variable to hold buffer session localwords.
1054         (ispell-kill-ispell): add option 'clear to delete session
1055         localwords.
1056         (ispell-command-loop, ispell-change-dictionary)
1057         (ispell-buffer-local-words): Preserve session localwords when
1058         needed.
1060         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1061         Preserve session localwords when needed.
1063 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1065         * ispell.el (ispell-insert-word) Remove unneeded function using
1066         obsolete `translation-table-for-input'.
1067         (ispell-word, ispell-process-line, ispell-complete-word):
1068         Use plain `insert' instead of removed `ispell-insert-word'.
1070 2012-04-22  Chong Yidong  <cyd@gnu.org>
1072         * cus-edit.el (custom-variable-menu)
1073         (custom-variable-reset-saved, custom-face-menu)
1074         (custom-face-reset-saved): If there is no saved value, make the
1075         "reset-saved" operation bring back the default (Bug#9509).
1076         (custom-face-state): Properly detect themed faces.
1078         * faces.el (face-spec-set): Stop supporting deprecated form of
1079         third arg.
1081 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
1083         Move functions from C to Lisp.  Make non-blocking method calls
1084         the default.  Implement further D-Bus standard interfaces.
1086         * net/dbus.el (dbus-message-internal): Declare function.
1087         Remove unneeded function declarations.
1088         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1089         (dbus-message-type-method-return, dbus-message-type-error)
1090         (dbus-message-type-signal): Declare variables.  Remove local
1091         definitions.
1092         (dbus-interface-dbus, dbus-interface-peer)
1093         (dbus-interface-introspectable, dbus-interface-properties)
1094         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1095         Adapt docstring.
1096         (dbus-interface-objectmanager): New defconst.
1097         (dbus-call-method, dbus-call-method-asynchronously)
1098         (dbus-send-signal, dbus-method-return-internal)
1099         (dbus-method-error-internal, dbus-register-service)
1100         (dbus-register-signal, dbus-register-method): New defuns, moved
1101         from dbusbind.c
1102         (dbus-call-method-handler, dbus-setenv)
1103         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1104         New defuns.
1105         (dbus-call-method-non-blocking): Make it an obsolete function.
1106         (dbus-unregister-object, dbus-unregister-service)
1107         (dbus-handle-event, dbus-register-property)
1108         (dbus-property-handler): Obey the new structure of
1109         `bus-registered-objects'.
1110         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
1111         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1112         Use `dbus-call-method'.
1114 2012-04-22  Chong Yidong  <cyd@gnu.org>
1116         * cus-edit.el (custom-commands, custom-reset-menu)
1117         (Custom-reset-standard): Tweak labels.
1118         (custom-reset-button-menu): Change default to t.
1119         (custom-buffer-create-internal): For the custom-reset-button-menu
1120         case, put the revert button first.
1121         (custom-group-subtitle): New face.
1122         (custom-group-value-create): Align docstring to a specific column.
1124         * wid-edit.el (widget-documentation-link-add): Don't handle
1125         indentation in this function.
1126         (widget-documentation-string-indent-to): New function.
1127         (widget-documentation-string-value-create): Use it.
1129         * autorevert.el (auto-revert):
1130         * epg-config.el (epg):
1131         * ibuffer.el (ibuffer):
1132         * mpc.el (mpc):
1133         * ses.el (ses):
1134         * eshell/eshell.el (eshell):
1135         * net/ange-ftp.el (ange-ftp):
1136         * progmodes/ebnf2ps.el (postscript):
1137         * progmodes/flymake.el (flymake):
1138         * progmodes/prolog.el (prolog):
1139         * progmodes/verilog-mode.el (verilog-mode):
1140         * progmodes/which-func.el (which-func):
1141         * term/xterm.el (xterm):
1142         * textmodes/picture.el (picture):
1143         * textmodes/tildify.el (tildify):
1144         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1145         customization buffers.
1147 2012-04-22  Alan Mackenzie  <acm@muc.de>
1149         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1150         Adding a ) can hide the resulting (..) from searches.  Fix it.
1151         Bound the backward search to the position of the existing (.
1153 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
1155         * progmodes/verilog-mode.el (verilog-mode): Check whether
1156         which-func-modes is t before adding verilog-mode.
1157         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1159 2012-04-21  Leo Liu  <sdl.web@gmail.com>
1161         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1163 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
1165         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1166         filling of the last column of a table (Bug#5635).
1167         (woman-find-next-control-line): New arg, specifying an additional
1168         regexp component for the control line.
1169         (woman2-roff-buffer): Use it.
1170         (woman-break-table): New function.
1171         (woman2-TS): Use it.
1173 2012-04-21  Chong Yidong  <cyd@gnu.org>
1175         * woman.el (woman-set-buffer-display-table, woman-decode-region)
1176         (woman-horizontal-escapes, woman-negative-vertical-space)
1177         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1178         (WoMan-warn-ignored): Use ?\s instead of ?\ .
1180 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1182         * minibuffer.el (completion-file-name-table): Complete user names.
1184 2012-04-20  Leo Liu  <sdl.web@gmail.com>
1186         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1187         and pcase-let*.
1189 2012-04-20  Chong Yidong  <cyd@gnu.org>
1191         * server.el (server-execute): Respect initial-buffer-choice if it
1192         is a string and there are no files to open (Bug#2825).
1193         (server-create-window-system-frame, server-create-tty-frame):
1194         Don't switch buffers here.
1195         (server-process-filter): Only try to open a window system frame if
1196         compiled with graphical support (Bug#8314).
1198 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
1200         * battery.el (battery-echo-area-format): Display remaining time
1201         for sysfs backend too (Bug#11269).
1202         (battery-linux-sysfs): Fix conditional for the charge.
1204 2012-04-20  Chong Yidong  <cyd@gnu.org>
1206         * progmodes/gdb-mi.el (gdb): Revert previous change.
1207         (gdb-inferior-io--init-proc): New function.
1208         (gdb-init-1): Use it.
1209         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1210         responsible for allocating a new pty and hooking it to gdb when
1211         the old pty gets an EIO due to process exit.
1212         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
1213         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1214         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1216 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
1218         * window.el (window-min-size, window-sizable, window-min-delta)
1219         (window-max-delta, window--resizable, window-resizable)
1220         (window-total-size, window-full-height-p, window-full-width-p)
1221         (window-in-direction, window--resize-mini-window, window-resize)
1222         (window--resize-child-windows-normal)
1223         (window--resize-child-windows, window--resize-siblings)
1224         (window--resize-this-window, adjust-window-trailing-edge)
1225         (enlarge-window, shrink-window): Doc fixes.
1227 2012-04-20  Chong Yidong  <cyd@gnu.org>
1229         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1230         New function to call delete-process on the gdb-inferior buffer's pty.
1231         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1232         pty process (Bug#11273).
1233         (gdb-update): New arg to suppress talking to the gdb process.
1234         (gdb-done-or-error): Use it.
1235         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1236         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1237         sentinel not being called.
1239         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1241         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1243 2012-04-20  Glenn Morris  <rgm@gnu.org>
1245         * net/network-stream.el (open-network-stream): Doc fix.
1247 2012-04-20  Chong Yidong  <cyd@gnu.org>
1249         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1251 2012-04-20  Alan Mackenzie  <acm@muc.de>
1253         Ensure searching for keywords is case sensitive.
1255         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1256         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1257         (c-defun-name, c-mark-function, c-cpp-define-name)
1258         (c-comment-indent, c-scan-conditionals, c-indent-defun)
1259         (c-context-line-break): Bind case-fold-search to nil.
1261         * progmodes/cc-mode.el (c-font-lock-fontify-region):
1262         Bind case-fold-search to nil.
1264 2012-04-20  Chong Yidong  <cyd@gnu.org>
1266         * mail/sendmail.el (mail-bury): Call return action with the right
1267         Rmail buffer (Bug#11242).
1269         * server.el (server-process-filter): Handle corner case where both
1270         tty and nowait options are present (Bug#11102).
1272 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
1274         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1275         (top level): Put into the executable the ident-style '$Id:' tag on
1276         windows-nt as well.
1278 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1280         * electric.el (electric-indent-post-self-insert-function): Check that
1281         electric-indent-mode is enabled in current buffer.
1283 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
1285         * imenu.el (imenu-progress-message): Restore; it is "used" in
1286         erc/erc-imenu.el and net/snmp-mode.el.
1288 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
1290         * avoid.el (mouse-avoidance-mode): Mark unused arg.
1291         (mouse-avoidance-nudge-mouse): Remove unused binding.
1293         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1295         * descr-text.el (describe-char):
1296         * progmodes/python.el (python-describe-symbol):
1297         Don't call `toggle-read-only', set `buffer-read-only'.
1299         * imenu.el (imenu-default-goto-function): Mark unused args.
1300         (imenu-progress-message): Remove obsolete macro; all callers changed.
1302         * subr.el (keymap-canonicalize): Remove unused binding.
1303         (read-passwd): Mark unused arg.
1305         * tutorial.el (tutorial--display-changes): Remove unused binding.
1306         (tutorial--save-tutorial-to): Remove unused variable.
1308         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1309         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1310         (package-generate-autoloads, package-menu--generate)
1311         (package-menu--find-upgrades): Remove unused bindings.
1313         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1314         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
1315         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1316         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1317         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1318         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1319         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1320         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1321         (cua-delete-char-rectangle): Mark unused args.
1322         (cua-align-rectangle): Remove unused binding.
1324         * mail/rmail.el (compilation--message->loc)
1325         (epa--find-coding-system-for-mime-charset): Declare.
1327         * net/dbus.el (dbus-register-service): Declare.
1328         (dbus-name-owner-changed-handler): Remove unused binding.
1330         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1331         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1332         (nxml-scan-backward-within): Mark unused arg.
1333         (nxml-dynamic-markup-word): Remove unused binding.
1335         * mouse.el (mouse-menu-major-mode-map):
1336         * emacs-lisp/authors.el (authors-scan-change-log)
1337         (authors-add-to-author-list):
1338         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1339         * emacs-lisp/smie.el (smie-auto-fill):
1340         * mail/sendmail.el (mail-bury):
1341         * mail/unrmail.el (unrmail):
1342         * net/tls.el (open-tls-stream):
1343         * textmodes/picture.el (picture-mouse-set-point):
1344         Remove unused bindings.
1346 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
1348         * net/tramp.el (tramp-action-password): Let-bind
1349         `enable-recursive-minibuffers' to t.
1351 2012-04-18  Sam Steingold  <sds@gnu.org>
1353         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1354         instead of 'string to accommodate values like [f11].
1355         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1356         * progmodes/gdb-mi.el: Likewise.
1358 2012-04-18  Leo Liu  <sdl.web@gmail.com>
1360         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1361         current buffer.
1362         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1363         LOCAL is nil.
1365 2012-04-18  Chong Yidong  <cyd@gnu.org>
1367         * simple.el (line-move): Use forward-line if in batch mode
1368         (Bug#11053).
1370 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
1372         * files.el (after-find-file): Do not try to add a final newline if
1373         the buffer is read-only (Bug#11156).
1375 2012-04-17  Richard Stallman  <rms@gnu.org>
1377         * mail/rmail.el (rmail-start-mail):
1378         Pass (rmail-mail-return...) for the return-action.
1379         Pass (rmail-yank-current-message...) for the yank-action.
1380         (rmail-yank-current-message): New function.
1381         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1382         (rmail-reply): Likewise.
1383         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1385         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1386         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
1387         buffer, not newbuf.
1389 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
1391         * server.el (server-ensure-safe-dir): Simplify.
1393 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1395         * emacs-lisp/smie.el: Provide smarter auto-filling.
1396         (smie-auto-fill): New function.
1397         (smie-setup): Use it.
1399         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1401 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
1403         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1404         (comment-indent): Use it.
1406 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1408         * ses.el: The overall change is to add cell renaming, that is
1409         setting fancy names for cell symbols other than name matching
1410         "\\`[A-Z]+[0-9]+\\'" regexp .
1411         (ses-localvars): Add ses--renamed-cell-symb-list.
1412         (ses-create-cell-variable): New defun.
1413         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1414         (ses-relocate-formula): Relocate formulas only for cells the
1415         symbols of which are not renamed, i.e. symbols whose names do not
1416         match regexp "\\`[A-Z]+[0-9]+\\'".
1417         (ses-relocate-all): Relocate values only for cells the symbols of
1418         which are not renamed.
1419         (ses-load): Create cells variables as the (ses-cell ...) are read,
1420         in order to check row col consistency with cell symbol name only
1421         for cells that are not renamed.
1422         (ses-replace-name-in-formula): New defun.
1423         (ses-rename-cell): New defun.
1425 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
1427         * progmodes/perl-mode.el (perl-indent-parens-as-block):
1428         New option (bug#11118).
1429         (perl-calculate-indent): Respect it.
1431 2012-04-17  Glenn Morris  <rgm@gnu.org>
1433         * dired-aux.el (dired-mark-read-string): Doc fix.
1435 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
1437         * dired-aux.el (dired-mark-read-string): Offer optional completion.
1438         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
1440 2012-04-17  Glenn Morris  <rgm@gnu.org>
1442         * mouse.el (mouse-drag-track):
1443         * speedbar.el (speedbar-frame-mode):
1444         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1446 2012-04-16  Leo Liu  <sdl.web@gmail.com>
1448         * progmodes/python.el: Trivial cleanup.
1450 2012-04-16  Glenn Morris  <rgm@gnu.org>
1452         * vc/vc.el (vc-string-prefix-p):
1453         * vc/pcvs-util.el (cvs-string-prefix-p):
1454         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1455         * mpc.el (mpc-string-prefix-p):
1456         Make all of these into obsolete aliases for string-prefix-p.
1457         Update callers.
1458         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1460         * textmodes/two-column.el: Move custom options to the start.
1461         (frame-width): Remove compat definition.
1462         (2C-associate-buffer, 2C-dissociate):
1463         Use with-current-buffer rather than save-excursion.
1464         (2C-dissociate): Force a mode-line update.
1465         (2C-autoscroll): Use ignore-errors.
1467         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1468         Autoload trivia.
1470         * emacs-lisp/cl-extra.el (*random-state*):
1471         Remove unnecessary declaration.
1473         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1475         * play/cookie1.el (cookie-snarf):
1476         Give an explicit error if input file cannot be read.
1478         * play/yow.el (yow-file): Use expand-file-name rather than concat.
1480         * progmodes/perl-mode.el (c-macro-expand):
1481         Remove unnecessary autoload (it is in loaddefs.el).
1483         * textmodes/picture.el (picture-desired-column)
1484         (picture-update-desired-column): Convert comments to doc-strings.
1485         (picture-substitute): Remove function.
1486         (picture-mode-map): Initialize in the defvar.
1488         * woman.el: Remove eval-after-load for tar-mode.
1489         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1490         (woman-tar-extract-file): Autoload it.
1492         * frame.el (automatic-hscrolling): Make this alias obsolete.
1494 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1496         * ispell.el (ispell-set-spellchecker-params): Post-process
1497         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1498         (ispell-dictionary-base-alist): Revert to original XEmacs
1499         friendly version for default.  [:alpha:] will be added in
1500         `ispell-set-spellchecker-params' if needed
1502 2012-04-16  Chong Yidong  <cyd@gnu.org>
1504         * image.el (imagemagick--extension-regexp): New variable.
1505         (imagemagick-register-types): Use it.
1506         (imagemagick-types-inhibit): Add :set function.  Allow new value
1507         of t to inhibit all types.
1509         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1510         so we can preload it.
1512         * loadup.el (fboundp): Preload regexp-opt, needed by
1513         imagemagick-register-types.
1515 2012-04-15  Chong Yidong  <cyd@gnu.org>
1517         * frame.el (scrolling): Remove nearly unused customization group.
1519         * scroll-all.el (scroll-all-mode): Move to windows group.
1521 2012-04-15  Chong Yidong  <cyd@gnu.org>
1523         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1525 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1527         Avoid the use of ((lambda ...) ...) in lexical-binding code.
1528         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1530 2012-04-15  Glenn Morris  <rgm@gnu.org>
1532         * simple.el (process-file-side-effects): Doc fix.
1534 2012-04-15  Glenn Morris  <rgm@gnu.org>
1536         * international/mule-cmds.el (set-language-environment): Doc fix.
1538 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
1540         * server.el (server-auth-key, server-generate-key): Doc fixes.
1541         (server-get-auth-key): Doc fix.  Use `string-match-p'.
1542         (server-start): Reflow docstring.
1544 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
1546         * server.el (server-generate-key): `called-interactively-p'
1547         requires a parameter.
1549 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
1551         * server.el (server-auth-key): New variable.
1552         (server-generate-key, server-get-auth-key): New function.
1553         (server-start): Use the new variable and functions to allow
1554         setting a permanent server key (bug#9423).
1556 2012-04-14  Leo Liu  <sdl.web@gmail.com>
1558         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1560 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
1562         Spelling fixes.
1563         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1564         Emacs uses American spelling.
1566 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
1568         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1569         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
1570         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1571         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
1573 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1575         * progmodes/which-func.el (which-func-modes): Change default.
1577 2012-04-14  Kim F. Storm  <storm@cua.dk>
1579         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1580         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1582 2012-04-14  Chong Yidong  <cyd@gnu.org>
1584         * custom.el (custom-theme-set-variables): Doc fix.
1586 2012-04-14  Glenn Morris  <rgm@gnu.org>
1588         * international/mule.el (set-auto-coding-for-load): Doc fix.
1590 2012-04-14  Alan Mackenzie  <acm@muc.de>
1592         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1593         imenu work again for Objective C Mode.  Correct the *-index values,
1594         these having been disturbed by a previous change in 2011-08.
1596         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1597         Correct two search limits.
1599 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1601         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1603 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
1605         * international/characters.el: Fix sorting.
1607 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1609         * international/characters.el: Add more missing Latin case pairs.
1611 2012-04-14  Glenn Morris  <rgm@gnu.org>
1613         * files.el (dir-locals-set-class-variables): Doc fix.
1615 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1617         * international/characters.el: Add set-case-syntax-pair call for
1618         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1619         counterpart.  (Bug#11209)
1621         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
1623 2012-04-14  Glenn Morris  <rgm@gnu.org>
1625         * calendar/holidays.el (calendar-check-holidays): Doc fix.
1627 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1629         * textmodes/ispell.el (ispell-dictionary-base-alist):
1630         Add data for Hebrew.
1632 2012-04-14  Chong Yidong  <cyd@gnu.org>
1634         * net/rcirc.el (rcirc-cmd-quit):
1635         Revert 2012-03-18 change (Bug#11192).
1637 2012-04-14  Glenn Morris  <rgm@gnu.org>
1639         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1641 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1643         * minibuffer.el (completion-in-region-mode-map):
1644         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
1646 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
1648         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1650 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
1652         * minibuffer.el (minibuffer-local-filename-syntax): New variable
1653         to allow `C-M-f' and `C-M-b' to move to the nearest path
1654         separator (bug#9511).
1656 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
1658         * avoid.el: Require cl when compiling.  And also move the
1659         `provide' to the end.
1661 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1663         * avoid.el (mouse-avoidance-banish-position): New variable.
1664         (mouse-avoidance-banish-destination): Use it (bug#10165).
1666 2012-04-13  Leo Liu  <sdl.web@gmail.com>
1668         * progmodes/which-func.el (which-func-modes): Add objc-mode.
1670 2012-04-13  Ken Brown  <kbrown@cornell.edu>
1672         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1673         this is no longer needed now that cygstart understands file:// URLs.
1674         (browse-url-filename-alist): For the same reason, don't modify
1675         file:// URLs on Cygwin.
1677 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1679         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1680         the region on shift if the binding is already shifted (bug#11221).
1682 2012-04-12  Glenn Morris  <rgm@gnu.org>
1684         * mail/mailpost.el: Move to obsolete/.
1686 2012-04-12  Drew Adams  <drew.adams@oracle.com>
1688         * imenu.el (imenu--generic-function): Ignore invisible definitions
1689         (bug#10123).
1691 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
1693         * hexl.el (hexl-bits): New variable.
1694         (hexl-options): Mention the variable in the doc string.
1695         (hexl-rulerise, hexl-line-displen): New functions.
1696         (hexl-mode): Mention the new variable.
1697         (hexl-mode, hexl-current-address, hexl-current-address):
1698         Use the displen.
1699         (hexl-ascii-start-column): New function.
1700         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1701         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1703 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1705         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1706         '("-i" ENCODING), in 2 separate command-line arguments, to specify
1707         the encoding, as expected by hunspell.
1709 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1711         * battery.el (battery--linux-sysfs-regexp): New const.
1712         (battery-status-function): Use it.  Remove yeeloong special case.
1713         (battery-yeeloong-sysfs): Remove.
1714         (battery-echo-area-format): Remove yeeloong special case.
1716 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1718         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1719         Reported by Noah Friedman.
1721         * subr.el (read-passwd): Use read-string.
1723 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1725         * vcursor.el (vcursor-move): Increase the priority of the overlay
1726         (bug#9663).
1728 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1730         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1731         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1733 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
1735         * textmodes/artist.el (artist-mode): Convert artist-mode to use
1736         define-minor-mode (bug#10760).
1738 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
1740         * progmodes/grep.el (rgrep): Tweak the find command line so
1741         that directories matching `grep-find-ignored-files' won't be
1742         pruned (bug#10351).
1744 2012-04-11  Chong Yidong  <cyd@gnu.org>
1746         * startup.el (command-line): Remove support for long-obsolete
1747         variable font-lock-face-attributes.
1749 2012-04-11  Glenn Morris  <rgm@gnu.org>
1751         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1753 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1755         * window.el (window--state-get-1): Obey window-point-insertion-type.
1757 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
1759         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1760         to previous function when point is on the first character of a
1761         function.  Take care of that in `narrow-to-defun' (bug#6157).
1763 2012-04-11  Glenn Morris  <rgm@gnu.org>
1765         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1766         not just file-errors.
1768         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1769         (vc-bzr-sha1): Use internal sha1.
1771 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1773         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1775 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
1777         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1778         that start in the middle of the line (bug#10496).
1780 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
1782         * battery.el (battery-linux-proc-acpi): Only one battery is
1783         discharged at a time, but that seems to confuse battery.el when
1784         computing `rate-type' for the battery not being discharged
1785         (bug#10332).
1787 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1789         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1791         * international/quail.el: Use dolist and simplify.
1792         (quail-define-package, quail-update-keyboard-layout)
1793         (quail-define-rules): Use dolist.
1794         (quail-insert-kbd-layout, quail-get-translation): CSE.
1796         * tmm.el: Use dolist, remove left over hook.
1797         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1798         Use dolist.
1799         (calendar-load-hook): Don't mess with it.
1801         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1802         Use derived-mode-p.  Run the diff asynchronously.
1804 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1806         * obsolete/mouse-sel.el: Add an Obsolete-since header.
1808 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
1810         * misc.el: Display absolute path of loaded DLLs (bug#10424).
1811         (list-dynamic-libraries--loaded): New function.
1812         (list-dynamic-libraries--refresh): Use it.
1814 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
1816         * progmodes/python.el (python-fill-paragraph):
1817         Make python-fill-region in a multiline string work when font-lock is
1818         disabled (bug#7018).
1820 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
1822         * language/european.el (cp775): Add oem/legacy (en)coding on
1823         DOS/MS Windows for the Baltic languages.  There are still plenty
1824         of texts written in this encoding/codepage (bug#6519).
1826 2012-04-10  Glenn Morris  <rgm@gnu.org>
1828         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1829         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1831 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
1833         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1834         next-line "n" and previous-line "p" in order to make recentf more
1835         consistent with ibuffer, dired or org-mode (bug#9387).
1837 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1839         * image.el (put-image): Return the overlay created instead of the
1840         optional input string (bug#7834).  Note that this may break code
1841         that is (for some reason or other) depending on `put-image'
1842         returning the string.
1844         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1846         * simple.el (zap-to-char): Allow zapping using input methods
1847         (bug#1580).
1849         * textmodes/fill.el (fill-region): Leave point and mark where they
1850         were before filling (bug#5399).
1852 2012-04-09  Glenn Morris  <rgm@gnu.org>
1854         * version.el (emacs-bzr-get-version):
1855         Handle lightweight checkouts of local branches.
1857 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
1859         * international/characters.el: Recover lost case pairs.  (Bug#11209)
1861 2012-04-09  Chong Yidong  <cyd@gnu.org>
1863         * custom.el (custom-variable-p): Return nil for non-symbol
1864         arguments instead of signaling an error.
1865         (user-variable-p): Obsolete alias for custom-variable-p.
1867         * apropos.el (apropos-variable):
1868         * files-x.el (read-file-local-variable):
1869         * simple.el (set-variable):
1870         * woman.el (woman-mini-help):
1871         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1873 2012-04-09  Glenn Morris  <rgm@gnu.org>
1875         * startup.el (normal-top-level): Don't look for leim-list.el
1876         in places where it will not be found.  (Bug#910)
1878         * international/mule-cmds.el (set-default-coding-systems):
1879         * files.el (normal-mode):
1880         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
1881         This function was removed with ucs-tables.el in 2008.
1883 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
1885         * textmodes/ispell.el (ispell-check-version): For hunspell, set
1886         ispell-encoding8-command to "-i", without a trailing space.
1887         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1888         separate command-line arguments, to specify the encoding, since
1889         that's how hunspell expects it.
1891 2012-04-08  Glenn Morris  <rgm@gnu.org>
1893         * loadup.el: Load bindings before cus-start.
1894         This reduces somewhat the number of "rogue" settings in emacs -Q.
1896 2012-04-07  Glenn Morris  <rgm@gnu.org>
1898         * version.el (emacs-bzr-get-version): New function.
1899         (emacs-bzr-version): New variable.
1900         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
1901         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1903 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1905         * international/uni-bidi.el, international/uni-category.el:
1906         * international/uni-combining.el, international/uni-decimal.el:
1907         * international/uni-decomposition.el, international/uni-digit.el:
1908         * international/uni-lowercase.el, international/uni-mirrored.el:
1909         * international/uni-name.el, international/uni-numeric.el:
1910         * international/uni-titlecase.el, international/uni-uppercase.el:
1911         Update for Unicode 6.1.
1913 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1915         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1917 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1919         * window.el (shrink-window): Mention the `window-min-height'
1920         variable in the doc string.
1922 2012-04-05  Bastien Guerry  <bzg@altern.org>
1924         * color.el (color-lighten-name): Fix typo.
1926 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1928         * server.el (server--on-display-p): New function.
1929         (server--on-display-p): Use it.
1931 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
1933         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1934         (bug#11145).
1936 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1938         * comint.el (comint--common-quoted-suffix): Check string boundary
1939         before comparing (bug#11158).
1940         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1942 2012-04-04  Chong Yidong  <cyd@gnu.org>
1944         * minibuffer.el (completion-extra-properties): Doc fix.
1946         * subr.el (delayed-warnings-hook): Doc fix.
1948 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
1950         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1951         selection (Bug#11159).
1952         (epa-insert-keys): Inform that the default public key will be
1953         exported if no key is selected.
1955 2012-04-04  Richard Stallman  <rms@gnu.org>
1957         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1959 2012-04-03  Chong Yidong  <cyd@gnu.org>
1961         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1962         mail-insert-file, not its obsolete alias mail-attach-file.
1964 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
1966         * notifications.el (notifications-notify): Fix docstring.
1968 2012-04-02  Glenn Morris  <rgm@gnu.org>
1970         * emacs-lisp/authors.el (authors-aliases): Another addition.
1972 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
1974         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1975         `tramp-compat-call-process' instead of `tramp-local-call-process'.
1976         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1978 2012-04-01  Chong Yidong  <cyd@gnu.org>
1980         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1981         Handle root directory properly.
1982         (copy-directory): Caller changed.
1984         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1985         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1987 2012-03-31  Glenn Morris  <rgm@gnu.org>
1989         * term/xterm.el (xterm-extra-capabilities): Doc fix.
1991         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
1993         * calendar/calendar.el (calendar-window-list)
1994         (calendar-hide-window): Restore.  (Bug#11140)
1995         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1997         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1999 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2001         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2002         Check if file is a symlink (Bug#10489).
2004         * files.el (copy-directory): Likewise.
2006 2012-03-30  Chong Yidong  <cyd@gnu.org>
2008         * image.el (imagemagick-types-inhibit)
2009         (imagemagick-register-types): Doc fix.
2011 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2013         * ispell.el (ispell-get-extended-character-mode):
2014         Disable extended-char-mode for hunspell.  hunspell does not support it
2015         and treats ~word as ordinary words in pipe mode.
2017 2012-03-30  Glenn Morris  <rgm@gnu.org>
2019         * tutorial.el (help-with-tutorial): Ensure local variables don't
2020         happen to make the buffer read-only.  (Bug#11127)
2022 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2024         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2025         (perl-calculate-indent): Return `noindent' in strings.
2027 2012-03-28  Sam Steingold  <sds@gnu.org>
2029         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2030         instead of the broken adhockery which does not prevent calendar
2031         buffers from being displayed at random after exit.
2032         (calendar-window-list, calendar-hide-window): Remove the broken
2033         adhockery.
2035 2012-03-28  Glenn Morris  <rgm@gnu.org>
2037         * replace.el (query-replace-map): Doc fix.
2039 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
2041         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2042         contents.  (Bug#11109)
2044 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2046         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2047         (bug#11077).
2048         (avl-tree--check, avl-tree--check-node): New funs.
2050 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
2052         * window.el (switch-to-visible-buffer): New option.
2053         (switch-to-prev-buffer, switch-to-next-buffer):
2054         Observe switch-to-visible-buffer.  Make sure that checking for a window
2055         showing a buffer already is done on the same frame.
2057 2012-03-27  Glenn Morris  <rgm@gnu.org>
2059         * startup.el (mail-host-address): Doc fix.
2061 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2063         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2064         than 197 variables.
2066 2012-03-26  Ami Fischman  <ami@fischman.org>
2068         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2070 2012-03-26  Glenn Morris  <rgm@gnu.org>
2072         * files.el (save-buffers-kill-emacs): Doc fix.
2074         * startup.el (normal-top-level, command-line, command-line-1):
2075         Give them doc strings.
2077 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
2079         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2080         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2082 2012-03-25  Chong Yidong  <cyd@gnu.org>
2084         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2085         theme if it was previously enabled before (Bug#11031).
2087         * cus-theme.el (custom-theme-write-faces): Retrieve current face
2088         spec with custom-face-get-current-spec if its :shown-value is not
2089         determined yet (Bug#9337).
2090         (customize-create-theme, custom-theme-revert): Doc fixes.
2092         * button.el (button-at): Minor addition to docstring.
2094 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
2096         * vc/vc.el (vc-merge): Fix a prompt.
2098 2012-03-24  Chong Yidong  <cyd@gnu.org>
2100         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2101         point (Bug#9623).
2103         * button.el (button-at): Minor addition to docstring.
2105 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2107         * newcomment.el (comment-choose-indent): No space after BOL.
2109 2012-03-22  Sam Steingold  <sds@gnu.org>
2111         * window.el (switch-to-prev-buffer): Revert last patch because the
2112         bug turned out to be an advertised feature (Elisp manual 28.14).
2114 2012-03-22  Glenn Morris  <rgm@gnu.org>
2116         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
2117         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2119 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2121         * net/network-stream.el (network-stream-open-starttls): Make error
2122         message under Windows be less misleading.
2124 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
2126         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2127         understands (bug#9942).
2129 2012-03-22  Chong Yidong  <cyd@gnu.org>
2131         * simple.el (end-of-visible-line): Handle return value of
2132         next-single-property-change properly (Bug#9371).
2134 2012-03-22  Kenichi Handa  <handa@m17n.org>
2136         * international/quail.el (quail-insert-kbd-layout): Fix previous
2137         change.  To avoid unwanted bidi reordering, use
2138         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2140 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
2142         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2143         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2144         (ruby-beginning-of-indent): Be more careful with the difference
2145         between word-boundary and symbol boundary.
2146         (ruby-mode-syntax-table): Make : a symbol constituent.
2148 2012-03-21  Andreas Politz  <politza@fh-trier.de>
2150         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2152 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2154         * progmodes/etags.el (tags-completion-at-point-function):
2155         Improve last fix.
2157         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2159 2012-03-21  Sam Steingold  <sds@gnu.org>
2161         * progmodes/etags.el (tags-completion-at-point-function):
2162         Avoid the error when point is inside the pattern.
2164 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
2166         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2167         line (Bug#10855).
2169 2012-03-21  Drew Adams  <drew.adams@oracle.com>
2171         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2173 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
2175         * ido.el (ido-set-current-directory, ido-read-internal)
2176         (ido-choose-completion-string, ido-completion-help): Handle nil
2177         value of ido-completion-buffer (Bug#11008).
2179 2012-03-21  Sam Steingold  <sds@gnu.org>
2181         * window.el (switch-to-prev-buffer): Do not switch to a visible
2182         window previous buffer, just like with the frame previous buffers.
2184 2012-03-21  Chong Yidong  <cyd@gnu.org>
2186         * faces.el (make-face, make-empty-face, copy-face):
2187         * face-remap.el (face-remap-add-relative, face-remap-set-base):
2188         Doc fixes.
2190 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2192         * wid-edit.el (widget-complete-field): Remove (bug#11051).
2193         (widget-complete): Remove broken use of it.
2195 2012-03-20  Chong Yidong  <cyd@gnu.org>
2197         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2198         Use string-width and truncate-string-width to handle arbitrary
2199         characters.
2201 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
2203         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2204         to draw rectangles, not squares.  (Regression introduced by revno
2205         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2207 2012-03-18  Chong Yidong  <cyd@gnu.org>
2209         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2210         it is not yet defined (for temacs).
2212 2012-03-18  Leo Liu  <sdl.web@gmail.com>
2214         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2216 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
2218         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2219         (ispell-choices-win-default-height, ispell-silently-savep)
2220         (ispell-dictionary-alist, ispell-encoding8-command)
2221         (ispell-check-version, ispell-aspell-find-dictionary)
2222         (ispell-valid-dictionary-list, ispell-words-keyword)
2223         (ispell-get-word, ispell-internal-change-dictionary)
2224         (ispell-region, ispell-skip-region-list)
2225         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2226         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2227         (ispell-message-text-end, ispell-message)
2228         (ispell-buffer-local-parsing): Doc fix.
2230 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
2232         * htmlfontify.el: Add support for code block fontification for ODT
2233         export (Bug #9914).
2234         (hfy-optimisations): Define new option
2235         `body-text-only'
2236         (hfy-fontify-buffer): Honor above setting.
2237         (hfy-begin-span, hfy-end-span): New routines factored out form
2238         `hfy-fontify-buffer'.
2239         (hfy-begin-span-handler, hfy-end-span-handler): New variables
2240         that permit insertion of custom tags.
2241         (hfy-fontify-buffer): Use above handlers.
2242         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2243         (hfy-face-to-css): Re-defined to be a variable.
2244         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
2245         over multiple runs.  This is made possible by having the caller let
2246         bind a special variable `hfy-user-sheet-assoc'.
2247         (htmlfontify-string): New defun.
2248         (hfy-compile-face-map): Make sure that the last char in the
2249         buffer is correctly fontified.
2250         (hfy-face-resolve-face): Whitespace only change.
2252 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
2254         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2255         message more clear.
2257 2012-03-16  Leo Liu  <sdl.web@gmail.com>
2259         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2261 2012-03-16  Alan Mackenzie  <acm@muc.de>
2263         Further optimise the handling of large macros.
2265         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2266         limit to a call of `c-literal-limits'.
2267         (c-determine-+ve-limit): New function.
2268         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2269         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2270         In CASE 5B, restrict a search limit to 500.
2271         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2273         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2274         Restrict macro bounds to +-500 from after-change's BEG END.
2276 2012-03-16  Leo Liu  <sdl.web@gmail.com>
2278         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2280 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
2282         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2283         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
2285 2012-03-16  Glenn Morris  <rgm@gnu.org>
2287         * view.el (view-buffer, view-buffer-other-window)
2288         (view-buffer-other-frame): Doc fixes re special mode-class.
2290         * subr.el (eval-after-load): If named feature is provided not from
2291         a file, run after-load forms.  (Bug#10946)
2293         * calendar/calendar.el (calendar-insert-at-column):
2294         Handle non-unit-width characters a bit better.  (Bug#10978)
2296 2012-03-15  Chong Yidong  <cyd@gnu.org>
2298         * emacs-lisp/ring.el (ring-extend): New function.
2299         (ring-insert+extend): Extend the ring correctly (Bug#11019).
2301         * comint.el (comint-read-input-ring)
2302         (comint-add-to-input-history): Grow comint-input-ring lazily.
2304 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2306         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2307         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2309         * imenu.el: Fix multiple inheritance breakage (bug#9199).
2310         (imenu-add-to-menubar): Don't add a redundant index.
2311         (imenu-update-menubar): Handle a dynamically composed keymap.
2313 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2315         * mail/sendmail.el (mail-encode-header):
2316         Bind rfc2047-encode-encoded-words to nil.
2318 2012-03-13  Glenn Morris  <rgm@gnu.org>
2320         * calendar/calendar.el (calendar-string-spread):
2321         Handle non-unit-width characters a bit better.  (Bug#10978)
2323 2012-03-13  Leo Liu  <sdl.web@gmail.com>
2325         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2326         directory and file as argument (Bug#10822).
2328 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
2330         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2331         For dynamically generated code, follow $PC.
2332         (gdb-disassembly-handler-custom): Handle no function name case.
2334 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
2336         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2337         * emulation/ws-mode.el (ws-query-replace):
2338         * sort.el (sort-regexp-fields):
2339         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
2341 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2343         * dabbrev.el: Fix cycle completion order (bug#10963).
2344         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2345         (dabbrev-completion): Don't use an obarray; provide
2346         a cycle-sort-function.
2348 2012-03-12  Leo Liu  <sdl.web@gmail.com>
2350         * simple.el (kill-new): Use equal-including-properties for comparison.
2351         (kill-do-not-save-duplicates): Doc fix.
2353 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2355         * dabbrev.el: Fix cycle completion (bug#10963).
2356         Use lexical binding and wrap to 80 columns.
2357         (dabbrev-completion): Delay computing the list of completions.
2359 2012-03-12  Kenichi Handa  <handa@m17n.org>
2361         * international/quail.el (quail-insert-kbd-layout): Surround each
2362         row by LRO and PDF instead of inserting many LRMs.  Pad the left
2363         and right of each non-spacing marks.  Insert invisible space
2364         between lower and upper characters to prevent composition.
2366 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2368         * minibuffer.el (minibuffer-complete): Don't get confused when the
2369         function is run twice via different commands (bug#10958).
2370         (complete-with-action): Fix docstring.
2372 2012-03-12  Chong Yidong  <cyd@gnu.org>
2374         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2375         (nxml-completion-at-point-function): New function.
2376         (nxml-mode): Use it.
2377         (nxml-bind-meta-tab-to-complete-flag): Default to t.
2379         * emacs-lisp/package.el (package-unpack, package-unpack-single):
2380         Load generated autoloads file before byte compiling (Bug#10970).
2381         (package--make-autoloads-and-compile): New helper fun.
2383 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
2385         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2387 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
2389         * autorevert.el (auto-revert-handler): Ensure, that
2390         file-readable-p is applied only for local files or in
2391         auto-revert-tail-mode.
2393 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
2395         * server.el (server-eval-at): Handle non-tcp connections.
2396         Decode result string.
2398         * server.el (server-msg-size): New constant.
2399         (server-reply-print): New function.
2400         (server-eval-and-print): Use it.
2401         (server-eval-at): Use server-quote-arg and server-unquote-arg.
2402         Handle -print-nonl.
2404 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
2406         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2407         (Bug#10987).
2409 2012-03-11  Chong Yidong  <cyd@gnu.org>
2411         * simple.el (goto-line): Doc fix (Bug#9938).
2413         * subr.el (save-window-excursion): Doc fix (Bug#9979).
2415         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2416         when finished (Bug#10963).
2418 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
2420         * window.el (split-window-below): Fix bug in case where
2421         split-window-keep-point is nil (Bug#10971).
2423 2012-03-11  Juri Linkov  <juri@jurta.org>
2425         * replace.el (replace-highlight): Set isearch-word to nil
2426         unconditionally.  (Bug#10887)
2428 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
2430         * net/mairix.el (mairix-replace-invalid-chars): Rename from
2431         mairix-replace-illegal-chars; all callers changed.  Don't remove
2432         ^, ~, and = characters: they are meaningful in mairix search specs.
2433         (mairix-widget-create-query): Add usage information about mairix
2434         search forms: negating words, searching for substrings, etc.
2436 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
2438         * international/fontset.el (font-encoding-alist): Add an entry for
2439         ksx1001 (Bug#5667).
2441 2012-03-10  Richard Stallman  <rms@gnu.org>
2443         * mail/sendmail.el (mail-encode-header):
2444         Set rfc2047-encode-encoded-words.
2446         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2448         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2449         view buffer means not swapped.
2450         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2451         (rmail-write-region-annotate): Error if real text has disappeared.
2453         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2455 2012-03-10  Chong Yidong  <cyd@gnu.org>
2457         * emulation/cua-rect.el (cua--init-rectangles):
2458         * emulation/cua-base.el (cua--init-keymaps):
2459         Add delete-forward-char to remappings (Bug#9666).
2461 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
2463         * speedbar.el (speedbar-unhighlight-one-tag-line):
2464         Avoid unhighlighting due to frame switching (Bug#10275).
2466 2012-03-10  Chong Yidong  <cyd@gnu.org>
2468         * minibuffer.el (completion-in-region, completion-help-at-point):
2469         Give the completion field overlay a high priority (Bug#6830).
2471         * dired.el (dired-goto-file): Recognize absolute file name
2472         listings (Bug#7126).
2473         (dired-goto-file-1): New helper function.
2474         (dired-toggle-read-only): Inhibit warnings.
2476 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
2478         * net/dbus.el (dbus-property-handler): Return empty array if
2479         there are no properties.
2481 2012-03-09  Leo Liu  <sdl.web@gmail.com>
2483         * savehist.el (savehist-printable): Stricter check for string
2484         value (Bug#10937).
2486 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
2488         * mail/smtpmail.el (smtpmail-send-it):
2489         Bind coding-system-for-write to *-unix, so that FCC files are kept in
2490         valid mbox format.
2492 2012-03-09  Glenn Morris  <rgm@gnu.org>
2494         * files.el (dir-locals-find-file):
2495         Don't check result is regular, readable.
2496         (dir-locals-read-from-file): Demote errors.
2498 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
2500         * international/quail.el (quail-insert-kbd-layout):
2501         Insert invisible LRM characters before each character in a keyboard
2502         layout cell, to prevent their reordering by bidi display engine.
2503         For details, see the discussion in
2504         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2506 2012-03-08  Alan Mackenzie  <acm@muc.de>
2508         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2509         the starting position; make it extend the marked region when
2510         invoked repeatedly - all under appropriate circumstances.
2511         Fixes bugs #5525, #10906.
2513 2012-03-08  Glenn Morris  <rgm@gnu.org>
2515         * files.el (locate-dominating-file, dir-locals-find-file):
2516         Undo 2012-03-06 change.
2518 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
2520         * international/quail.el (quail-help):
2521         Force bidi-paragraph-direction be left-to-right.  See discussion in
2522         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2523         for the reason.
2525 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
2527         Avoid superfluous registering of signals.  (Bug#10807)
2529         * notifications.el (notifications-on-action-object)
2530         (notifications-on-close-object): New defvars.
2531         (notifications-on-action-signal, notifications-on-closed-signal):
2532         Unregister the signal if not needed any longer.
2533         (notifications-notify): Register `notifications-action-signal' or
2534         `notifications-closed-signal', if :on-action or :on-close has been
2535         passed as argument.
2537 2012-03-07  Chong Yidong  <cyd@gnu.org>
2539         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2540         non-X platforms.
2542 2012-03-06  Glenn Morris  <rgm@gnu.org>
2544         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2545         (x-disown-selection-internal, x-get-selection-internal):
2546         Doc fix (add arglist signatures).  (Bug#10783)
2548 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
2550         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2551         Handle breakpoints with no "type".
2553 2012-03-06  Glenn Morris  <rgm@gnu.org>
2555         * files.el (locate-dominating-file): Add optional predicate argument.
2556         (dir-locals-find-file): Make use of above change.
2558 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
2560         * info.el (Info-insert-dir): Also try "dir.gz".
2562 2012-03-06  Glenn Morris  <rgm@gnu.org>
2564         * files.el (dir-locals-find-file):
2565         Ignore non-readable or non-regular files.  (Bug#10928)
2567         * files.el (locate-dominating-file): Doc fix.
2569 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
2571         * calendar/calendar.el (calendar-set-mode-line):
2572         `getenv' returns a string.  (Bug#10951)
2574 2012-03-05  Leo Liu  <sdl.web@gmail.com>
2576         * simple.el (backward-delete-char-untabify): Constrain point to
2577         field (Bug#10939).
2579         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2581 2012-03-05  Chong Yidong  <cyd@gnu.org>
2583         * simple.el (count-words): If called from Lisp, return the word
2584         count, for symmetry with `count-lines'.  Arglist changed.
2585         (count-words--message): Args changed.  Consolidate counting code
2586         from count-words and count-words-region.
2587         (count-words-region): Caller changed.
2588         (count-lines-region): Make it an obsolete alias.
2590 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
2592         * saveplace.el (save-place-to-alist)
2593         (save-place-ignore-files-regexp): Allow value nil to disable this
2594         feature.
2596 2012-03-04  Chong Yidong  <cyd@gnu.org>
2598         * faces.el (face-spec-reset-face): For the default face, reset the
2599         attributes to default values (Bug#10748).
2601 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2603         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2604         previous patch: Check `message-send-mail-function', and not the
2605         default function (bug#10897).
2607 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
2609         * notifications.el (notifications-on-action-signal)
2610         (notifications-on-closed-signal): Check for unique service name of
2611         incoming event.  Fix error in removing entry.
2612         (top): Register for signals with wildcard service name.
2613         (notifications-notify): Use daemon unique service name for map entries.
2615 2012-03-04  Chong Yidong  <cyd@gnu.org>
2617         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2619 2012-03-04  Glenn Morris  <rgm@gnu.org>
2621         * abbrev.el (copy-abbrev-table, abbrev-table-p)
2622         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2623         (expand-abbrev, define-abbrev-table): Doc fixes.
2625 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2627         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2628         `message-default-send-mail-function' and not `send-mail-function'
2629         when doing the prompting for `sendmail-query-once' before sending
2630         in Message buffers (bug#10897).
2632         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2633         This is inconsistent with all the other stream functions, which leave
2634         the setting up to the higher levels (if so wanted) (bug#10931).
2636 2012-03-02  Alan Mackenzie  <acm@muc.de>
2638         Depessimize the handling of very large macros.
2640         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2641         (c-macro-cache-syntactic): New variables to implement a one
2642         element macro cache.
2643         (c-invalidate-macro-cache): New function.
2644         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2645         Adapt to use the new cache.
2646         (c-state-safe-place): Use better the cache of safe positions.
2647         (c-state-semi-nonlit-pos-cache)
2648         (c-state-semi-nonlit-pos-cache-limit):
2649         New variables for...
2650         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
2651         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2652         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2653         Use c-state-semi-safe-place.
2655         * progmodes/cc-langs.el (c-get-state-before-change-functions):
2656         Add c-invalidate-macro-cache to the C, C++, Obj entries.
2658 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
2660         * jka-compr.el (jka-compr-call-process):
2661         Apply `file-accessible-directory-p' only when the default directory is
2662         not remote.
2664 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
2666         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
2667         access of FILE2, if FILE1 does not exist.
2669         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2670         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2672         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2673         Add "PAGER=" to `process-environment'.
2675 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
2677         * progmodes/sql.el: Bug fix
2678         (sql-get-login-ext): Save login values in globals.
2679         (sql-get-login): Use new version of `sql-get-login-ext'.
2680         (sql-interactive-mode): Set global `sql-connection' to nil.
2681         (sql-connect): Set global values for connection.
2682         (sql-product-interactive): Save global values as buffer local.
2684 2012-02-29  Leo Liu  <sdl.web@gmail.com>
2686         * abbrev.el (define-abbrevs): Reset sys to nil.
2688 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2690         * files.el (file-equal-p): Rename from `files-equal-p'.
2691         Return nil when one or both files don't exist.
2692         (file-subdir-of-p): Now only top directory must exists,
2693         return nil if it doesn't.
2694         (copy-directory): No need to test with `file-subdir-of-p' after
2695         creating dir.
2696         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2697         to `file-equal-p'.
2699 2012-02-28  Glenn Morris  <rgm@gnu.org>
2701         * shell.el (shell-mode):
2702         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2703         * play/landmark.el (landmark-font-lock-face-O):
2704         * play/handwrite.el (handwrite):
2705         * play/gomoku.el (gomoku-O):
2706         * net/browse-url.el (browse-url-browser-display):
2707         * international/mule.el (define-charset):
2708         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2709         * filesets.el (filesets-find-file-delay):
2710         * eshell/em-xtra.el (eshell-xtra):
2711         * eshell/em-unix.el (eshell-grep):
2712         * emulation/viper.el (viper-mode):
2713         * emacs-lisp/regexp-opt.el (regexp-opt-group):
2714         * emacs-lisp/easymenu.el (easy-menu-define):
2715         * calendar/timeclock.el (timeclock-use-display-time):
2716         * bs.el (bs-mode):
2717         * bookmark.el (bookmark-save-flag):
2718         Doc fix (standardize possessive apostrophe usage).
2720 2012-02-27  Chong Yidong  <cyd@gnu.org>
2722         * emulation/viper-cmd.el (viper-intercept-ESC-key):
2723         Fix key-binding lookup for ESC key (Bug#9146).
2725         * font-lock.el (font-lock-specified-p): Rename from
2726         font-lock-spec-present.  Callers changed.
2728 2012-02-27  Daniel Hackney  <dan@haxney.org>
2730         * emacs-lisp/package.el (package-compute-transaction):
2731         Handle holding a package version to t in package-load-list.
2733 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
2735         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2736         (tramp-get-inode, tramp-get-device): Use cached values.
2738 2012-02-26  Alan Mackenzie  <acm@muc.de>
2740         Check there is a font-lock specification before doing initial
2741         fontification.
2743         * font-core.el (font-lock-mode): Move the conditional from
2744         :after-hook to font-lock-initial-fontify.
2745         (font-lock-default-function): Move the check for a specification
2746         to font-lock-spec-present.
2748         * font-lock.el (font-lock-initial-fontify): Call ...
2749         (font-lock-spec-present): New function.
2751 2012-02-26  Jim Blandy  <jimb@red-bean.com>
2753         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2754         (gdb-send): Apply it to the operand of the '-interpreter-exec
2755         console' command, so that we can pass arguments with (say) quotes
2756         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
2758 2012-02-26  Chong Yidong  <cyd@gnu.org>
2760         * help-fns.el (describe-function-1): Clarify description of
2761         remapping (Bug#10844).
2763         * files.el (files-equal-p): Doc fix.
2764         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
2765         and quit the loop once a mismatch is found.
2767 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
2769         * bs.el (bs--show-with-configuration): Don't throw an error
2770         if the window cannot be split; otherwise, subsequent calls to
2771         bs-show fail, restoring a stale window config.  (Bug#10882)
2773 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
2775         * term/ns-win.el (global-map): Bind ns-drag-file to
2776         ns-find-file (Bug#5855, Bug#10050).
2778 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
2780         * calendar/parse-time.el (parse-time-string): Allow extractor to
2781         return nil.
2783 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
2785         * net/tramp.el (tramp-file-name-for-operation):
2786         Add `files-equal-p' and `file-subdir-of-p'.
2788         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2789         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2790         Add COPY-CONTENTS argument.
2792 2012-02-25  Chong Yidong  <cyd@gnu.org>
2794         Add custom groups for VC backends, for consistency with vc-bzr.
2796         * vc/vc-arch.el (vc-arch):
2797         * vc/vc-cvs.el (vc-cvs):
2798         * vc/vc-git.el (vc-git):
2799         * vc/vc-hg.el (vc-hg):
2800         * vc/vc-mtn.el (vc-mtn):
2801         * vc/vc-rcs.el (vc-rcs):
2802         * vc/vc-sccs.el (vc-sccs):
2803         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2804         All relevant defcustoms reassigned.
2806 2012-02-25  Chong Yidong  <cyd@gnu.org>
2808         * newcomment.el (comment-styles): Add autoload (Bug#10868).
2810         * term/x-win.el (x-initialize-window-system): Reduce default for
2811         x-selection-timeout to 5 seconds (Bug#8869).
2813 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2815         * files.el (files-equal-p, file-subdir-of-p): New functions.
2816         (copy-directory): Error when trying to copy a directory on itself.
2817         Add missing copy-contents arg to tramp handler.
2818         * dired-aux.el (dired-copy-file-recursive): Same.
2819         (dired-create-files): Modify destination when source is equal to
2820         dest when copying files.
2821         Return also when dest is a subdir of source.  (Bug#10489)
2823 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
2825         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2826         (Bug#10874)
2828 2012-02-23  Alan Mackenzie  <acm@muc.de>
2830         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2831         parameter "after-hook:" to allow the expansion to run code after
2832         the execution of the mode hooks.
2834         * font-lock.el (font-lock-initial-fontify): New function extracted
2835         from font-lock-mode-internal.
2837         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2838         :after-hook.
2840 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2842         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2843         (completion--cache-all-sorted-completions): New function.
2844         (completion-all-sorted-completions): Use it.
2845         (completion--do-completion, minibuffer-force-complete):
2846         Use it to re-instate the flush hook.
2848         * icomplete.el (icomplete-completions): Replace last fix with a better
2849         one (bug#10850).
2851 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
2853         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2854         when it might call us back infinitely (bug#10797).
2856 2012-02-23  Glenn Morris  <rgm@gnu.org>
2858         * minibuffer.el (completion-category-overrides): Doc fix.
2860 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2862         * minibuffer.el (completion-table-with-context): Fix inf-loop.
2863         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2865 2012-02-23  Glenn Morris  <rgm@gnu.org>
2867         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2868         (authors-obsolete-files-regexps, authors-ignored-files)
2869         (authors-ambiguous-files, authors-renamed-files-alist):
2870         Add more entries.
2872 2012-02-23  Juri Linkov  <juri@jurta.org>
2874         * isearch.el (isearch-occur): Sync interactive spec with occur's
2875         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
2877         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2879 2012-02-22  Juri Linkov  <juri@jurta.org>
2881         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2882         (ucs-insert): Doc fix.  Check for hex digits in the string.
2883         Don't display `nil' in the error message.  (Bug#10857)
2885 2012-02-22  Alan Mackenzie  <acm@muc.de>
2887         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
2889 2012-02-22  Glenn Morris  <rgm@gnu.org>
2891         * ffap.el (ffap-c-path):
2892         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
2894 2012-02-22  Chong Yidong  <cyd@gnu.org>
2896         * custom.el (load-theme): Doc fix.
2898 2012-02-22  Glenn Morris  <rgm@gnu.org>
2900         * dired-x.el (dired-guess-shell-alist-default):
2901         Remove escape sequences from nroff output.  (Bug#172)
2903 2012-02-21  Glenn Morris  <rgm@gnu.org>
2905         * vc/emerge.el (emerge-defvar-local):
2906         Set `permanent-local' property rather than unused `preserved'.
2908         * textmodes/picture.el (picture-delete-char): New alias.
2909         (picture-mode-map): Use it.  (Bug#10860)
2910         (picture-mode): Doc fix.
2912 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
2914         * newcomment.el (uncomment-region-default): Remove unused binding.
2916 2012-02-21  Glenn Morris  <rgm@gnu.org>
2918         * textmodes/picture.el (picture-motion, picture-motion-reverse)
2919         (picture-self-insert, picture-tab-chars): Doc fix.
2920         (picture-mode-map): Fix C-a, C-e.
2922 2012-02-20  Glenn Morris  <rgm@gnu.org>
2924         * emacs-lisp/authors.el (authors-aliases): Add another entry.
2926 2012-02-20  Leo Liu  <sdl.web@gmail.com>
2928         * icomplete.el (icomplete-completions): Check FROM arg before
2929         passing to substring (Bug#10850).
2931 2012-02-19  Chong Yidong  <cyd@gnu.org>
2933         * comint.el: Require ansi-color.
2934         (comint-output-filter-functions): Add ansi-color-process-output.
2936         * ansi-color.el: Don't set comint-output-filter-functions; it is
2937         now in the initial value defined in comint.el.
2938         (ansi-color-apply-face-function): New variable.
2939         (ansi-color-apply-on-region): Use it.
2940         (ansi-color-apply-overlay-face): New function.
2942         * shell.el (shell): No need to require ansi-color.
2943         (shell-mode): Use ansi-color-apply-face-function to highlight
2944         color escapes using font-lock-face property (Bug#10835).
2946 2012-02-19  Chong Yidong  <cyd@gnu.org>
2948         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2949         mode-line formats (Bug#10839).
2951 2012-02-18  Glenn Morris  <rgm@gnu.org>
2953         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2955         * mail/undigest.el (unforward-rmail-message): Doc fix.
2957         * saveplace.el (save-place-ignore-files-regexp): Add :version.
2959 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
2961         * international/characters.el (script-list): Sync with the latest
2962         Unicode Character Database.
2964 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
2966         * international/titdic-cnv.el: Remove duplicate coding tag.
2967         * language/cham.el: Likewise.
2968         * language/tai-viet.el: Likewise.
2970 2012-02-18  Glenn Morris  <rgm@gnu.org>
2972         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2973         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2974         (calendar-bahai-all-holidays-flag, calendar-other-dates):
2975         * calendar/diary-lib.el (diary-abbreviated-year-flag):
2976         * calendar/holidays.el (holiday-bahai-holidays)
2977         (calendar-holidays, list-holidays):
2978         Use utf-8 Bahá'í in doc-strings, menus, etc.
2980 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
2982         * saveplace.el (save-place-ignore-files-regexp): New variable
2983         allowing for excluding files from saving their location of point.
2984         The default value matches the temporary commit message editing
2985         files from Git, SVN, Bazaar, and Mercurial.
2986         (save-place-to-alist): Use it.
2988 2012-02-17  Lawrence Mitchell <wence@gmx.li>
2989             Stefan Monnier  <monnier@iro.umontreal.ca>
2991         * newcomment.el (uncomment-region-default): Don't leave extra space
2992         when an arg is provided (bug#8150).
2994 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
2996         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2998 2012-02-17  Glenn Morris  <rgm@gnu.org>
3000         * net/socks.el: Require network-stream.  (Bug#10599)
3002 2012-02-17  Kenichi Handa  <handa@m17n.org>
3004         * international/charprop.el:
3005         * international/uni-name.el:
3006         * international/uni-old-name.el:
3007         * international/uni-comment.el: Regenerate.
3009 2012-02-16  Glenn Morris  <rgm@gnu.org>
3011         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3012         Interactively in calendar buffer, give an error if not on a date.
3014 2012-02-15  Glenn Morris  <rgm@gnu.org>
3016         * shell.el (shell-delimiter-argument-list):
3017         Revert 2011-02-17 change.  (Bug#8027)
3019 2012-02-15  Chong Yidong  <cyd@gnu.org>
3021         * minibuffer.el (completion-at-point-functions): Doc fix.
3023         * custom.el (defcustom): Doc fix; note use of defvar.
3025 2012-02-15  Glenn Morris  <rgm@gnu.org>
3027         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3028         Doc fixes.
3030 2012-02-14  Glenn Morris  <rgm@gnu.org>
3032         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3034 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
3036         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3037         way the ports list is computed.
3038         (smtpmail-query-smtp-server): Prompt the user for a port number if
3039         we can't connect to any of the standard ports (bug#10810).
3041 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
3043         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3045 2012-02-13  Glenn Morris  <rgm@gnu.org>
3047         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
3049 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
3051         * net/gnutls.el (gnutls-trustfiles): New variable.
3052         (gnutls-negotiate): Use it.
3054 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
3056         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3057         does its stuff if Gnus is running.
3059 2012-02-13  Alan Mackenzie  <acm@muc.de>
3061         Fix a loop in c-set-fl-decl-start.
3063         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3064         c-backward-syntactic-ws actually moves backwards.
3066 2012-02-13  Leo Liu  <sdl.web@gmail.com>
3068         * net/rcirc.el (rcirc-markup-attributes): Move point to the
3069         beginning so that all \C-o chars are removed.
3071 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
3073         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3075 2012-02-12  Alan Mackenzie  <acm@muc.de>
3077         Fix infinite loop with long macros.
3078         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3080 2012-02-12  Chong Yidong  <cyd@gnu.org>
3082         * window.el (display-buffer): Doc fix (Bug#10785).
3084 2012-02-12  Glenn Morris  <rgm@gnu.org>
3086         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3087         (x-disown-selection-internal, x-get-selection-internal):
3088         Sync docs with the xselect.c versions.
3090         * allout-widgets.el: Add missing license notice.
3092 2012-02-11  Glenn Morris  <rgm@gnu.org>
3094         * select.el (x-get-selection-internal, x-own-selection-internal)
3095         (x-disown-selection-internal):
3096         * x-dnd.el (x-get-selection-internal): Update declarations.
3098         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3100         * window.el (window-sides-slots):
3101         * tool-bar.el (tool-bar-position):
3102         * term/xterm.el (xterm-extra-capabilities):
3103         * ses.el (ses-self-reference-early-detection):
3104         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3105         (verilog-auto-wire-type)
3106         (verilog-auto-delete-trailing-whitespace)
3107         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3108         (verilog-auto-tieoff-declaration):
3109         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3110         (sql-oracle-statement-starters, sql-oracle-scan-on):
3111         * progmodes/prolog.el (prolog-align-comments-flag)
3112         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3113         (prolog-left-indent-regexp, prolog-paren-indent-p)
3114         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3115         (prolog-types, prolog-mode-specificators)
3116         (prolog-determinism-specificators, prolog-directives)
3117         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3118         (prolog-electric-dot-flag)
3119         (prolog-electric-dot-full-predicate-template)
3120         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3121         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3122         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3123         (prolog-program-switches, prolog-prompt-regexp)
3124         (prolog-debug-on-string, prolog-debug-off-string)
3125         (prolog-trace-on-string, prolog-trace-off-string)
3126         (prolog-zip-on-string, prolog-zip-off-string)
3127         (prolog-use-standard-consult-compile-method-flag)
3128         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3129         (prolog-imenu-max-lines, prolog-info-predicate-index)
3130         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3131         (prolog-char-quote-workaround):
3132         * progmodes/cc-vars.el (c-defun-tactic):
3133         * net/tramp.el (tramp-encoding-command-interactive)
3134         (tramp-local-end-of-line):
3135         * net/soap-client.el (soap-client):
3136         * net/netrc.el (netrc-file):
3137         * net/gnutls.el (gnutls):
3138         * minibuffer.el (completion-category-overrides)
3139         (completion-cycle-threshold)
3140         (completion-pcm-complete-word-inserts-delimiters):
3141         * man.el (Man-name-local-regexp):
3142         * mail/feedmail.el (feedmail-display-full-frame):
3143         * international/characters.el (glyphless-char-display-control):
3144         * eshell/em-ls.el (eshell-ls-date-format):
3145         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3146         (lisp-lambda-list-keyword-parameter-indentation)
3147         (lisp-lambda-list-keyword-parameter-alignment):
3148         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3149         * dired-x.el (dired-omit-verbose):
3150         * cus-theme.el (custom-theme-allow-multiple-selections):
3151         * calc/calc.el (calc-highlight-selections-with-faces)
3152         (calc-lu-field-reference, calc-lu-power-reference)
3153         (calc-note-threshold):
3154         * battery.el (battery-mode-line-limit):
3155         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3156         (archive-7z-update):
3157         * allout.el (allout-prefixed-keybindings)
3158         (allout-unprefixed-keybindings)
3159         (allout-inhibit-auto-fill-on-headline)
3160         (allout-flattened-numbering-abbreviation):
3161         * allout-widgets.el (allout-widgets-auto-activation)
3162         (allout-widgets-icons-dark-subdir)
3163         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3164         (allout-widgets-theme-dark-background)
3165         (allout-widgets-theme-light-background)
3166         (allout-widgets-item-image-properties-emacs)
3167         (allout-widgets-item-image-properties-xemacs)
3168         (allout-widgets-run-unit-tests-on-load)
3169         (allout-widgets-time-decoration-activity)
3170         (allout-widgets-hook-error-post-time)
3171         (allout-widgets-track-decoration):
3172         Add missing :version tags to new defcustoms and defgroups.
3174         * progmodes/sql.el (sql-ansi-statement-starters)
3175         (sql-oracle-statement-starters): Add custom type.
3177         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3178         (prolog-system-version): Give it a type.
3180 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
3182         * term/pc-win.el (x-select-text, x-selection-owner-p)
3183         (x-own-selection-internal, x-disown-selection-internal)
3184         (x-get-selection-internal): Sync doc strings and argument lists
3185         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
3187 2012-02-11  Leo Liu  <sdl.web@gmail.com>
3189         * progmodes/python.el (python-end-of-statement): Fix infinite
3190         loop.  (Bug#10788)
3192 2012-02-10  Glenn Morris  <rgm@gnu.org>
3194         * international/mule-cmds.el (unify-8859-on-encoding-mode)
3195         (unify-8859-on-decoding-mode): Properly mark as obsolete.
3197 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
3199         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3200         about SMTP before checking the From header.
3202         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3203         into own function for reuse by emacsbug.el.
3205 2012-02-10  Leo Liu  <sdl.web@gmail.com>
3207         * subr.el (condition-case-unless-debug): Rename from
3208         condition-case-no-debug.  All callers changed.
3209         (with-demoted-errors): Fix caller.
3211         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3212         * nxml/rng-valid.el (rng-do-some-validation):
3213         * emacs-lisp/package.el (package-refresh-contents)
3214         (package-menu-execute):
3215         * desktop.el (desktop-create-buffer):
3216         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3218 2012-02-10  Glenn Morris  <rgm@gnu.org>
3220         * textmodes/bibtex.el:
3221         Add missing :version tags for new/changed defcustoms.
3223         * files.el (remote-file-name-inhibit-cache): Doc fixes.
3225 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
3227         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3228         (smtpmail-via-smtp): Use it, or fall back on the From address.
3229         (smtpmail-send-it): Ditto.
3231 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3233         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3234         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
3235         (byte-compile-tmp-var): New const.
3236         (byte-compile-defvar): Use it to minimize .elc size.
3237         Just use `defvar' rather than simulate it (bug#10761).
3239 2012-02-09  Glenn Morris  <rgm@gnu.org>
3241         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
3243         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3244         Add :version tags.
3246         * progmodes/compile.el (compilation-error-screen-columns)
3247         (compilation-first-column, compilation-filter-start): Doc fixes.
3249         * vc/log-view.el (log-view-toggle-entry-display):
3250         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3252         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3253         (report-emacs-bug-can-use-xdg-email):
3254         (report-emacs-bug-insert-to-mailer): Doc fixes.
3255         (report-emacs-bug): Message fix.
3257         * net/browse-url.el (browse-url-can-use-xdg-open)
3258         (browse-url-xdg-open): Doc fixes.
3260         * electric.el (electric-indent-mode, electric-pair-mode)
3261         (electric-layout-rules, electric-layout-mode): Doc fixes.
3262         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3264 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
3266         * server.el (server-unselect-display): Don't inadvertently kill
3267         the current buffer.  (Bug#10729)
3269 2012-02-08  Glenn Morris  <rgm@gnu.org>
3271         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3272         (sql-list-table): Doc fixes.
3274         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3275         Comment out (does nothing).
3277         * completion.el (dynamic-completion-mode):
3278         * dirtrack.el (dirtrack-debug-mode):
3279         * electric.el (electric-layout-mode):
3280         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3281         * face-remap.el (text-scale-mode, buffer-face-mode):
3282         * iimage.el (iimage-mode):
3283         * image-mode.el (image-transform-mode):
3284         * minibuffer.el (completion-in-region-mode):
3285         * scroll-lock.el (scroll-lock-mode):
3286         * simple.el (next-error-follow-minor-mode):
3287         * tar-mode.el (tar-subfile-mode):
3288         * tooltip.el (tooltip-mode):
3289         * vcursor.el (vcursor-use-vcursor-map):
3290         * wid-browse.el (widget-minor-mode):
3291         * emulation/tpu-edt.el (tpu-edt-mode):
3292         * emulation/tpu-extras.el (tpu-cursor-free-mode):
3293         * international/iso-ascii.el (iso-ascii-mode):
3294         * language/thai-util.el (thai-word-mode):
3295         * mail/supercite.el (sc-minor-mode):
3296         * net/goto-addr.el (goto-address-mode):
3297         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3298         * progmodes/cwarn.el (cwarn-mode):
3299         * progmodes/flymake.el (flymake-mode):
3300         * progmodes/glasses.el (glasses-mode):
3301         * progmodes/hideshow.el (hs-minor-mode):
3302         * progmodes/pascal.el (pascal-outline-mode):
3303         * textmodes/enriched.el (enriched-mode):
3304         * vc/smerge-mode.el (smerge-mode):
3305         Doc fixes (minor mode argument).
3307 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
3309         * ls-lisp.el (ls-lisp-sanitize): New function.
3310         (ls-lisp-insert-directory): Use it to fix or remove any elements
3311         in file-alist with missing attributes.  (Bug#4673)
3313 2012-02-07  Alan Mackenzie  <acm@muc.de>
3315         Fix spurious recognition of c-in-knr-argdecl.
3317         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3318         putative K&R region.
3320 2012-02-07  Alan Mackenzie  <acm@muc.de>
3322         * progmodes/cc-engine.el (c-forward-objc-directive):
3323         Prevent looping in "#pragma mark @implementation".
3325 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
3327         * notifications.el (notifications-on-closed-signal): Make `reason'
3328         optional.  (Bug#10744)
3330 2012-02-07  Glenn Morris  <rgm@gnu.org>
3332         * emacs-lisp/easy-mmode.el (define-minor-mode):
3333         Doc fixes for the macro and the mode it defines.
3335         * image.el (imagemagick-types-inhibit): Doc fix.
3337         * cus-start.el (imagemagick-render-type): Add it.
3339 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
3341         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3342         Set the default at load time, too, so that `font-lock-fontify-buffer'
3343         can be called without setting up the entire mode first.  This fixes
3344         a bug in `mm-inline-text' with C MIME parts.
3346 2012-02-06  Chong Yidong  <cyd@gnu.org>
3348         * simple.el (list-processes--refresh): Delete exited processes
3349         (Bug#8094).
3351         * comint.el (comint-next-prompt): next-single-char-property-change
3352         and prev-single-char-property-change never return nil (Bug#8657).
3354         * custom.el (defcustom): Doc fix (Bug#9711).
3356 2012-02-05  Chong Yidong  <cyd@gnu.org>
3358         * cus-edit.el (custom-variable-reset-backup): Quote the value
3359         before storing it in the customized-value property (Bug#6712).
3360         (custom-display): Add a customization type tag.
3361         (custom-buffer-create-internal): Improve tooltip message.
3363         * wid-edit.el (widget-field-value-get): New optional arg to
3364         suppress trailing whitespace truncation.
3365         (character): Use it (Bug#2689).
3367 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
3369         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3370         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3372 2012-02-05  Chong Yidong  <cyd@gnu.org>
3374         * cus-edit.el (custom-variable-value-create): For mismatched
3375         types, show the current value (Bug#7600).
3377         * custom.el (defcustom): Doc fix.
3379 2012-02-05  Glenn Morris  <rgm@gnu.org>
3381         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3383 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
3385         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3386         (pp-buffer): Use `ignore-errors', `looking-at-p'.
3387         (pp-last-sexp): Use `looking-at-p'.
3389 2012-02-04  Glenn Morris  <rgm@gnu.org>
3391         * files.el (revert-buffer):
3392         Doc fix (mention revert-buffer-in-progress-p).
3394         * emacs-lisp/ert-x.el (ert-simulate-command):
3395         Check deferred-action-list (which is obsolete) is bound.
3397         * subr.el (with-wrapper-hook): Doc fixes.
3399         * simple.el (filter-buffer-substring-functions)
3400         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3402 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
3404         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3405         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
3407 2012-02-04  Leo Liu  <sdl.web@gmail.com>
3409         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3411 2012-02-04  Glenn Morris  <rgm@gnu.org>
3413         * image.el (image-extension-data): Add obsolete alias.
3415         * isearch.el (isearch-update): Doc fix.
3417         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3419         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3421 2012-02-03  Glenn Morris  <rgm@gnu.org>
3423         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
3424         (image-animate-timeout): Doc fix.
3426         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3428 2012-02-02  Glenn Morris  <rgm@gnu.org>
3430         * server.el (server-auth-dir): Doc fix.
3431         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
3433         * subr.el (run-mode-hooks): Doc fix.
3435 2012-02-02  Juri Linkov  <juri@jurta.org>
3437         * image-mode.el (image-toggle-display-image): Remove tautological
3438         `major-mode' from the `derived-mode-p' test.
3440 2012-02-02  Kenichi Handa  <handa@m17n.org>
3442         * composite.el (compose-region): Cancel previous change.
3444 2012-02-02  Kenichi Handa  <handa@m17n.org>
3446         * composite.el (compose-region, compose-string): Signal error for
3447         a null string component (Bug#6988).
3449 2012-02-01  Chong Yidong  <cyd@gnu.org>
3451         * view.el (view-buffer-other-window, view-buffer-other-frame):
3452         Handle special modes like view-buffer (Bug#10650).
3453         (view-buffer): Simplify.
3455         * frame.el (set-frame-font): Tweak meaning of third argument.
3457         * dynamic-setting.el (font-setting-change-default-font):
3458         Use set-frame-font (Bug#9982).
3460 2012-02-01  Glenn Morris  <rgm@gnu.org>
3462         * progmodes/compile.el (compilation-internal-error-properties):
3463         Respect compilation-first-column in the "*compilation*" buffer.
3465         * emacs-lisp/easy-mmode.el (define-minor-mode):
3466         Relax :variable's test for a named function.
3468 2012-01-31  Alan Mackenzie  <acm@muc.de>
3470         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3471         off by one error.
3473 2012-01-31  Chong Yidong  <cyd@gnu.org>
3475         * frame.el (set-frame-font): New arg ALL-FRAMES.
3477         * menu-bar.el (menu-set-font): Use set-frame-font.
3479         * faces.el (face-spec-reset-face): Don't apply unspecified
3480         attribute values to the default face.
3482 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
3484         * progmodes/cwarn.el (cwarn): Remove dead link.
3485         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3486         Remove * from defcustom docstrings.
3487         (turn-on-cwarn-mode): Make obsolete.
3488         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3489         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3491 2012-01-31  Glenn Morris  <rgm@gnu.org>
3493         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3494         Fix :variable handling of mode a symbol not equal to modefun.
3495         Allow named functions to be used as the cdr of :variable.
3497 2012-01-30  Glenn Morris  <rgm@gnu.org>
3499         * emacs-lisp/authors.el (authors-fixed-entries):
3500         Remove reference to deleted file rnewspost.el.
3502 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
3504         * window.el (window-with-parameter): Remove unused variable `windows'.
3505         (window--side-check): Remove unused variable `code'.
3506         (window--resize-siblings): Remove unused variable `first'.
3507         (adjust-window-trailing-edge): Remove unused variable `failed'.
3508         (window-deletable-p, window--delete): Remove unused variable `buffer'.
3509         Use `let', not `let*'.
3510         (balance-windows-2): Remove unused variable `found'.
3511         (window--state-put-2): Remove unused variable `splits'.
3512         (window-state-put): Remove unused variable `selected'.
3513         (same-window-p): Use `string-match-p'.
3514         (display-buffer-assq-regexp): Remove unused variable `value'.
3515         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3516         Mark argument ALIST as ignored.
3517         (pop-to-buffer): Remove unused variable `old-window'.
3519 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
3521         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3522         and .lzma compressed files.
3524 2012-01-29  Chong Yidong  <cyd@gnu.org>
3526         * frame.el (window-system-default-frame-alist): Doc fix.
3528         * dynamic-setting.el (font-setting-change-default-font): Don't
3529         change the default face if SET-FONT argument is non-nil (Bug#9982).
3531 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
3533         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3535 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
3537         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3538         breakpoints in files outside current directory (Bug#6098).
3540 2012-01-29  Chong Yidong  <cyd@gnu.org>
3542         * progmodes/python.el: Require ansi-color at top-level.
3544         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3545         Define and use in Emacs Lisp mode (Bug#9360).
3546         (lisp-mode-abbrev-table): Add doc.
3547         (lisp-mode-variables): Don't set local-abbrev-table.
3548         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3550 2012-01-28  Roland Winkler  <winkler@gnu.org>
3552         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3554 2012-01-28  Roland Winkler  <winkler@gnu.org>
3556         * textmodes/bibtex.el (bibtex-entry-alist): New function.
3557         (bibtex-set-dialect): Use it.  Either set global values of
3558         dialect-dependent variables or bind these variables buffer-locally
3559         (Bug#10254).
3560         (bibtex-mode): Call bibtex-set-dialect via
3561         hack-local-variables-hook.
3562         (bibtex-dialect): Update docstring.
3563         Add safe-local-variable predicate.
3564         (bibtex-entry-alist, bibtex-field-alist): Initialize via
3565         bibtex-set-dialect.
3566         (bibtex-mode-map): Define menu for each dialect.
3567         (bibtex-entry): Fix docstring.
3569 2012-01-28  Chong Yidong  <cyd@gnu.org>
3571         * eshell/esh-arg.el (eshell-quote-argument): New function.
3573         * eshell/esh-ext.el (eshell-invoke-batch-file):
3574         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3575         first arg to eshell-parse-command (Bug#10523).
3577 2012-01-28  Drew Adams  <drew.adams@oracle.com>
3579         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3580         `default-directory' is non-nil.
3582 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
3584         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3585         line that displays system-configuration-options.  (Bug#9924)
3587 2012-01-28  Drew Adams  <drew.adams@oracle.com>
3589         * descr-text.el (describe-char): Show information about POS, in
3590         addition to information about the character at POS.  Improve and
3591         update the doc string.  Change "code point" to "code point in
3592         charset", to avoid confusion with the character's Unicode code
3593         point shown above that.  (Bug#10129)
3595 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
3597         * descr-text.el (describe-char): Show the raw character, not only
3598         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
3599         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3600         for the reasons.
3602 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
3604         * emacs-lisp/package.el (package-install):
3605         Run package-refresh-contents if there is no archive yet (Bug#9798).
3607 2012-01-28  Chong Yidong  <cyd@gnu.org>
3609         * emacs-lisp/package.el (package-maybe-load-descriptor):
3610         New function, split from package-maybe-load-descriptor.
3611         (package-maybe-load-descriptor): Use it.
3612         (package-download-transaction): Fully load required packages
3613         inside the loop, so that `require' calls work (Bug#10593).
3614         (package-install): No need to call package-initialize now.
3616 2012-01-28  Chong Yidong  <cyd@gnu.org>
3618         * simple.el (deactivate-mark): Doc fix (Bug#8614).
3620         * tooltip.el (tooltip-mode): Doc fix.
3621         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3623         * frame.el (set-cursor-color): Doc fix (Bug#352).
3625         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3626         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3628         * cus-edit.el (custom-buffer-create-internal): Fix search button
3629         action (Bug#10542).
3630         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3632 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
3634         * dired.el (dired-mark-files-regexp):
3635         Include any subdirectory components.  (Bug#10445)
3637 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
3639         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3640         Handle [host]:port syntax.  (Bug#10533)
3642 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
3644         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3646 2012-01-26  Glenn Morris  <rgm@gnu.org>
3648         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3649         * term.el (term-raw-escape-map): Use Control-X-prefix.
3650         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
3652 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
3654         * window.el (window-state-get, window--state-get-1): Don't deal
3655         with fixed-sizeness of windows.  Simplify code.
3657 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
3659         * window.el (window--state-get-1, window--state-put-2):
3660         Don't save and restore the mark.
3662 2012-01-25  Chong Yidong  <cyd@gnu.org>
3664         * custom.el (custom-variable-p): Doc fix.
3666 2012-01-25  Glenn Morris  <rgm@gnu.org>
3668         * dired.el (dired-goto-file): Handle some of the more common
3669         characters that `ls -b' escapes.  (Bug#10596)
3671         * progmodes/compile.el (compilation-next-error-function):
3672         Respect compilation-first-column in the "*compilation*" buffer.
3673         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
3675         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
3677 2012-01-24  Glenn Morris  <rgm@gnu.org>
3679         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
3681 2012-01-24  Julien Danjou  <julien@danjou.info>
3683         * color.el (color-rgb-to-hsl): Fix value computing.
3684         (color-hue-to-rgb): New function.
3685         (color-hsl-to-rgb): New function.
3686         (color-clamp, color-saturate-hsl, color-saturate-name)
3687         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3688         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3690 2012-01-24  Glenn Morris  <rgm@gnu.org>
3692         * vc/vc-rcs.el (vc-rcs-create-tag):
3693         * vc/vc-sccs.el (vc-sccs-create-tag):
3694         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
3696 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
3698         * eshell/esh-util.el (eshell-read-hosts-file):
3699         Skip comment lines.  (Bug#10549)
3701         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
3703 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
3705         * subr.el (display-delayed-warnings): Doc fix.
3706         (collapse-delayed-warnings): New function to collapse identical
3707         adjacent warnings.
3708         (delayed-warnings-hook): Add it.
3710 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
3712         * net/tramp.el (tramp-action-login): Set connection property "login-as".
3714         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3715         properties, when "login-as" is set.
3717         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3718         (tramp-default-user-alist): Don't add "pscp".
3719         (tramp-do-copy-or-rename-file-out-of-band): Use connection
3720         property "login-as", if set.  (Bug#10530)
3722 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
3724         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3725         "plink1" and "psftp".  (Bug#10530)
3727 2012-01-21  Kenichi Handa  <handa@m17n.org>
3729         * international/mule-cmds.el (prefer-coding-system): Show a
3730         warning message if the default value of file-name-coding-system
3731         was not changed.
3733 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
3735         * windmove.el (windmove-reference-loc):
3736         Fix windmove-reference-loc miscalculation.
3738 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
3740         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3741         default unit.
3743 2012-01-21  Glenn Morris  <rgm@gnu.org>
3745         * international/mule.el (auto-coding-alist): Add .tbz.
3747         * files.el (local-enable-local-variables): Doc fix.
3748         (inhibit-local-variables-regexps): Rename from
3749         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
3750         Doc fix.  Add some extensions from auto-coding-alist.
3751         (inhibit-local-variables-suffixes):
3752         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
3753         (inhibit-local-variables-p):
3754         New function, extracted from set-auto-mode-1.
3755         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
3756         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
3757         (hack-local-variables): Doc fix.  Make the mode-only case
3758         respect enable-local-variables and friends.
3759         Respect inhibit-local-variables-regexps for file-locals, but
3760         not for directory-locals.
3761         (set-visited-file-name):
3762         Take account of inhibit-local-variables-regexps.
3763         Whether it applies may change as the file name is changed.
3764         * jka-cmpr-hook.el (jka-compr-install):
3765         * jka-compr.el (jka-compr-uninstall):
3766         Update for inhibit-first-line-modes-suffixes name change.
3768 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
3770         * help-macro.el (make-help-screen): Temporarily restore original
3771         binding for minor-mode-map-alist (Bug#10454).
3773 2012-01-19  Julien Danjou  <julien@danjou.info>
3775         * color.el (color-name-to-rgb): Use the white color to find the max
3776         color component value and return correctly computed values.
3777         (color-name-to-rgb): Add missing float conversion for max value.
3779 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
3781         * window.el (window--state-get-1, window-state-get): Do not use
3782         special state value for window-persistent-parameters.
3783         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
3784         (window--state-put-2): Reset all window parameters to nil before
3785         assigning values of persistent parameters.
3787 2012-01-18  Alan Mackenzie  <acm@muc.de>
3789         Eliminate sluggishness and hangs in fontification of "semicolon
3790         deserts".
3792         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3793         Change value 10000 -> 3000.
3794         (c-state-safe-place): Reformulate so it doesn't stack up an
3795         infinite number of wrong entries in c-state-nonlit-pos-cache.
3796         (c-determine-limit-get-base, c-determine-limit): New functions to
3797         determine backward search limits disregarding literals.
3798         (c-find-decl-spots): Amend commenting.
3799         (c-cheap-inside-bracelist-p): New function which detects "={".
3801         * progmodes/cc-fonts.el
3802         (c-make-font-lock-BO-decl-search-function): Give a limit to a
3803         backward search.
3804         (c-font-lock-declarations): Fix an occurrence of point being
3805         undefined.  Check additionally for point being in a bracelist or
3806         near a macro invocation without a semicolon so as to avoid a
3807         fruitless time consuming search for a declarator.  Give a more
3808         precise search limit for declarators using the new
3809         c-determine-limit.
3811 2012-01-18  Glenn Morris  <rgm@gnu.org>
3813         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3814         (set-auto-mode): Doc fixes.
3816 2012-01-17  Glenn Morris  <rgm@gnu.org>
3818         * isearch.el (search-nonincremental-instead): Fix doc typo.
3820         * dired.el (dired-insert-directory): Handle newlines in directory name.
3821         (dired-build-subdir-alist): Unescape newlines in directory name.
3823 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
3825         * net/tramp.el (tramp-local-end-of-line): New defcustom.
3826         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3827         (tramp-action-terminal): Use it.  (Bug#10530)
3829 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3831         * minibuffer.el (completion--replace): Strip properties (bug#10062).
3833 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
3835         * window.el (window-state-ignored-parameters): Remove variable.
3836         (window--state-get-1): Rename argument MARKERS to IGNORE.
3837         Handle persistent window parameters.  Make copy of clone-of
3838         parameter only if requested.  (Bug#10348)
3839         (window--state-put-2): Install a window parameter only if it has
3840         a non-nil value or an existing parameter shall be overwritten.
3842 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
3844         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3846 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
3848         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3849         don't pass the (nil) value of `upnode' to string-match.
3851 2012-01-14  Chong Yidong  <cyd@gnu.org>
3853         * startup.el (command-line): Fix X resource class for cursorColor.
3854         Fix values recognized by the cursorBlink resource.
3856 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
3858         * epg.el (epg--make-temp-file): Avoid permission race condition
3859         when running on old Emacs versions (bug#10403).
3861 2012-01-14  Glenn Morris  <rgm@gnu.org>
3863         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3865 2012-01-13  Alan Mackenzie  <acm@muc.de>
3867         Fix filling for when filladapt mode is enabled.
3869         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3870         c-mask-paragraph, pass in `fill-paragraph' rather than
3871         `fill-region-as-paragraph'.  (This is a reversion of a previous
3872         change.)
3873         * progmodes/cc-mode.el (c-basic-common-init):
3874         Make fill-paragraph-handle-comment buffer local and set it to nil.
3876 2012-01-13  Glenn Morris  <rgm@gnu.org>
3878         * dired.el (dired-switches-escape-p): New function.
3879         (dired-insert-directory): Use dired-switches-escape-p.
3880         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
3882         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
3884 2012-01-12  Glenn Morris  <rgm@gnu.org>
3886         * mail/sendmail.el (mail-mode): Update paragraph-separate for
3887         changes in adaptive-fill-regexp.  (Bug#10276)
3889 2012-01-11  Alan Mackenzie  <acm@muc.de>
3891         Fix Emacs bug #10463 - put `widen's around the critical spots.
3893         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3894         widen around each invocation of c-state-pp-to-literal.  Remove an
3895         unused let variable.
3897 2012-01-11  Glenn Morris  <rgm@gnu.org>
3899         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
3900         Doc fix.
3902 2012-01-10  Chong Yidong  <cyd@gnu.org>
3904         * net/network-stream.el (network-stream-open-starttls):
3905         Avoid emitting a confusing error message when the server gives a bad
3906         response to the capability command.
3908 2012-01-10  Glenn Morris  <rgm@gnu.org>
3910         * mail/unrmail.el (unrmail): Tweak previous change.
3912 2012-01-09  Chong Yidong  <cyd@gnu.org>
3914         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3916 2012-01-08  Alan Mackenzie  <acm@muc.de>
3918         Optimise font locking in long enum definitions.
3920         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3921         arm to a cond form to handle enums.
3922         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3923         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3925 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3927         * files.el (move-file-to-trash): Preserve default file modes on error.
3928         (Bug#10401)
3930 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3932         * faces.el (set-face-attribute): Clarify the meaning of the nil
3933         frame (bug#10294).
3935         * subr.el (with-selected-frame): Mention that the selected frame
3936         is restored (bug#9980).
3938         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3939         (bug#9759).
3941         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3942         (password-read): Don't autoload unused function.
3944 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
3946         * progmodes/which-func.el (which-func-mode): Turn into a
3947         non-interactive function and mark as obsolete (bug#10428).
3949 2012-01-06  Chong Yidong  <cyd@gnu.org>
3951         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3952         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3953         functions, along with 1 and -1.
3955 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
3957         * time.el (display-time-load-average)
3958         (display-time-default-load-average): Doc fixes.  See the thread
3959         starting at
3960         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3961         for the details.
3963 2012-01-06  Glenn Morris  <rgm@gnu.org>
3965         * mail/unrmail.el (unrmail): Give an explicit error if the input file
3966         has no messages.  (Bug#10377)
3968         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3969         than Info-edit.  (Bug#10385)
3971         * time.el (display-time-load-average, display-time-next-load-average):
3972         Doc fixes.
3974         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3975         local setting of buffer-read-only to the input buffer.  (Bug#10419)
3977         * calendar/calendar.el (calendar-mode):
3978         Locally set scroll-margin to 0.  (Bug#10379)
3980 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
3982         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
3984 2012-01-05  Glenn Morris  <rgm@gnu.org>
3986         * eshell/em-unix.el (diff-no-select): Autoload it.
3987         (eshell/diff): Use diff-no-select.  (Bug#10420)
3989 2012-01-05  Chong Yidong  <cyd@gnu.org>
3991         * shell.el (shell-dynamic-complete-functions): Revert last change.
3992         (shell-command-completion-function): New function.
3993         (shell-completion-vars): Use it to implement
3994         shell-completion-execonly (Bug#10417).
3996         * custom.el (enable-theme): Don't set custom-safe-themes.
3998         * cus-theme.el (custom-theme-merge-theme):
3999         Ignore custom-enabled-themes and custom-safe-themes.
4001 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
4003         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4004         first prompt in `sql-interacive-mode'.
4005         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4006         keywords.
4007         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4008         (sql-product-interactive): Bug fix: Set `sql-buffer' in
4009         context of original buffer.  Invoke `sql-login-hook'.
4011 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
4013         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4014         letters in cite-prefix.
4016 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4018         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4020 2012-01-03  Chong Yidong  <cyd@gnu.org>
4022         * shell.el (shell-dynamic-complete-functions):
4023         Put pcomplete-completions-at-point, so as to try
4024         comint-filename-completion first (Bug#10417).
4026 2012-01-02  Richard Stallman  <rms@gnu.org>
4028         * battery.el (battery-status-function):
4029         Detect when to use battery-yeeloong-sysfs.
4030         (battery-echo-area-format): Add string for Yeeloong.
4031         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4032         (battery-yeeloong-sysfs): New function.
4034 2012-01-02  Chong Yidong  <cyd@gnu.org>
4036         * dirtrack.el (dirtrack-list): Eliminate unused third element.
4037         (dirtrack): Merge code for handling relative filenames in prompt
4038         from shell-dir-cookie-watcher.
4039         (dirtrack-debug-message): New arg to avoid excess format calls.
4041         * shell.el (shell-dir-cookie-re): Variable deleted.
4042         (shell-dir-cookie-watcher): Function deleted.
4043         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4044         with dirtrack-mode.
4046 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
4048         * term/w32-win.el (dynamic-library-alist) <gnutls>:
4049         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4050         libgnutls-26.dll.
4052 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
4054         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4056 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
4058         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4059         headers of non-MIME messages, when rmail-enable-mime is non-nil.
4061 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
4063         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4064         also for alternative shells.
4065         (tramp-open-connection-setup-interactive-shell): Check, whether
4066         the shell is a busybox.
4067         (tramp-send-command): Don't suppress multiple prompts for
4068         busyboxes, it hurts.
4070 2011-12-28  Chong Yidong  <cyd@gnu.org>
4072         * progmodes/gdb-mi.el (gdb-get-source-file-list)
4073         (gdb-get-source-file): Move mode line update to
4074         gdb-get-source-file (Bug#10087).
4076 2011-12-25  Chong Yidong  <cyd@gnu.org>
4078         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4079         gud-gdb-marker-filter without taking it as an argument.
4080         (gud-gdb-run-command-fetch-lines): Caller changed.
4081         (gud-gdb-completion-function): New variable.
4082         (gud-gdb-completion-at-point): Use it.
4083         (gud-gdb-completions-1): Split from gud-gdb-completions.
4085         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4086         function as separate arguments.
4087         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4088         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4089         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4090         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4091         (gdb-stopped, def-gdb-auto-update-trigger)
4092         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4093         (gdb-get-changed-registers, gdb-get-main-selected-frame):
4094         Callers changed.
4095         (gud-gdbmi-completions): New function.
4096         (gdb): Use it for generating the completion table.
4098 2011-12-24  Alan Mackenzie  <acm@muc.de>
4100         Introduce a mechanism to widen the region used in context font
4101         locking.  Use this to protect declarations from losing their contexts.
4103         * progmodes/cc-langs.el (c-before-font-lock-functions):
4104         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4105         (c-before-context-fontification-functions): New defvar, a list of
4106         functions to be run just before context (etc.) font locking.
4108         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4109         New, functionality extracted from
4110         c-neutralize-syntax-in-and-mark-CPP.
4111         (c-in-after-change-fontification): New variable.
4112         (c-after-change): Set c-in-after-change-fontification.
4113         (c-set-fl-decl-start): Rejig its interface, so it can be called
4114         from both after-change and context fontifying.
4115         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4116         New functions.
4117         (c-standard-font-lock-fontify-region-function): New variable.
4118         (c-font-lock-fontify-region): New function.
4120 2011-12-24  Juri Linkov  <juri@jurta.org>
4122         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4123         (Bug#10348)
4125 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
4127         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4128         existence of source file.  (Bug#10325)
4130 2011-12-23  Alan Mackenzie  <acm@muc.de>
4132         Fix unstable fontification inside templates.
4134         * progmodes/cc-langs.el (c-before-font-lock-functions):
4135         Newly created from the singular version.  The (c c++ objc) entry now
4136         additionally has c-set-fl-decl-start.  The other languages (apart
4137         from AWK) have that as a single entry.
4139         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4140         The functionality for "local" declarations has been extracted to
4141         c-set-fl-decl-start.
4143         * progmodes/cc-mode.el (c-common-init, c-after-change):
4144         Changes due to pluralisation of c-before-font-lock-functions.
4145         (c-set-fl-decl-start): New function, extracted from
4146         c-font-lock-enclosing-decls and enhanced.
4148 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
4150         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4152 2011-12-22  Juri Linkov  <juri@jurta.org>
4154         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
4156 2011-12-22  Chong Yidong  <cyd@gnu.org>
4158         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4160 2011-12-21  Drew Adams  <drew.adams@oracle.com>
4162         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
4164 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
4166         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4168 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
4170         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
4171         highlighting and support.  Fix up comments for capitalization.
4172         (cfengine-mode-debug): New var.
4173         (cfengine3-mode): Change the modeline indicator to "CFE3".
4174         (cfengine3-font-lock-keywords): Improve defun highlighting.
4175         (cfengine2-actions): Rename from `cfengine-actions'.
4176         (cfengine2-font-lock-keywords): Rename from
4177         `cfengine-font-lock-keywords'.
4178         (cfengine2-imenu-expression): Rename from
4179         `cfengine-imenu-expression'.
4180         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4181         (cfengine2-beginning-of-defun): Rename from
4182         `cfengine-beginning-of-defun'.
4183         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4184         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4185         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
4186         modeline indicator to "CFE2".
4187         (cfengine-mode): Defalias to `cfengine-auto-mode'.
4188         (cfengine-mode-abbrevs): Mark obsolete.
4190 2011-12-21  Chong Yidong  <cyd@gnu.org>
4192         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4193         filename argument.
4195 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
4197         * window.el (window-normalize-buffer-to-display): Remove.
4198         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4200 2011-12-19  Chong Yidong  <cyd@gnu.org>
4202         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4203         Don't signal an error in a predicate function; return non-nil.
4204         (vc-dir-mark-file): Move the error here.
4205         (vc-dir-mark-unmark): If acting on the region, keep going if one
4206         of the entries cannot be marked/unmarked.
4207         (vc-dir-mark-all-files): If current entry is a directory, mark
4208         only child files, as documented.
4210 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4212         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4213         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4214         addition.
4216 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
4218         * term/ns-win.el (ns-get-selection-internal)
4219         (ns-store-selection-internal): Declare.
4220         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4221         Declare as obsolete.
4222         (ns-get-pasteboard, ns-paste-secondary):
4223         Use ns-get-selection-internal.
4224         (ns-set-pasteboard,  ns-copy-including-secondary):
4225         Use ns-store-selection-internal.
4227 2011-12-17  Chong Yidong  <cyd@gnu.org>
4229         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4230         (vc-deduce-fileset): Doc fix.
4232 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
4234         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4236 2011-12-13  Sam Steingold  <sds@gnu.org>
4238         * man.el (Man-getpage-in-background): When running under a
4239         window-system, ignore $MANWIDTH and $COLUMNS.
4241 2011-12-15  Kenichi Handa  <handa@m17n.org>
4243         * language/ethio-util.el: Change coding tag to utf-8-emacs.
4244         (setup-ethiopic-environment-internal): Comment out key-binding for
4245         ethio-toggle-punctuation.
4247 2011-12-13  Alan Mackenzie  <acm@muc.de>
4249         Add the switch statement to AWK Mode.
4251         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4252         "default" to the keywords regexp.
4254         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4255         expression as the rest.
4256         (c-nonlabel-token-key): Allow string literals for AWK.
4257         Refactor for the other modes.
4259         Large brace-block initialisation makes CC Mode slow: Fix.
4260         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4261         routines.  Limit backward searching in c-font-lock-enclosing.decl.
4263         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4264         pp-state and literal type in addition to the limits.
4265         (c-state-safe-place): New defun, extracted from c-state-literal-at.
4266         (c-state-literal-at): Use the above new defun.
4267         (c-slow-in-literal, c-fast-in-literal): Remove.
4268         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4270         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4271         being in a literal.  Add a limit for backward searching.
4273         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4274         c-slow-in-literal.
4276 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4278         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4280 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
4282         * window.el (delete-other-windows): Use correct frame in call to
4283         window-with-parameter.
4285 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
4287         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4288         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4289         (makefile-gmake-statements, makefile-makepp-statements):
4290         Use it and add new makepp keywords.
4291         (makefile-makepp-font-lock-keywords): Add new patterns.
4292         (makefile-match-function-end): Match new [...] and [[...]].
4294 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
4296         * ses.el (ses-call-printer-return, ses-cell-property-get)
4297         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4298         (ses-create-cell-variable, ses-reset-header-string)
4299         (ses-cell-set-formula, ses-repair-cell-reference-all)
4300         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4301         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4302         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4303         (ses-aset-with-undo, ses-load, ses-truncate-cell)
4304         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4305         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4306         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4307         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4308         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4309         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4310         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4311         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4313 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4315         * ses.el: The overall change is to add cell renaming, that is
4316         setting fancy names for cell symbols other than name matching
4317         "\\`[A-Z]+[0-9]+\\'" regexp .
4318         (ses-create-cell-variable): New defun.
4319         (ses-relocate-formula): Relocate formulas only for cells the
4320         symbols of which are not renamed, i.e. symbols whose names do not
4321         match regexp "\\`[A-Z]+[0-9]+\\'".
4322         (ses-relocate-all): Relocate values only for cells the symbols of
4323         which are not renamed.
4324         (ses-load): Create cells variables as the (ses-cell ...) are read,
4325         in order to check row col consistency with cell symbol name only
4326         for cells that are not renamed.
4327         (ses-replace-name-in-formula): New defun.
4328         (ses-rename-cell): New defun.
4330 2011-12-11  Chong Yidong  <cyd@gnu.org>
4332         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4333         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4335 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
4337         * window.el (other-window): Fix docstring.
4339 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
4341         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4342         `from' or `to' address before taking its substring.
4343         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4344         encoded name is chopped in the middle of the encoded string, and
4345         thus displayed encoded.
4347 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
4349         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4351 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
4353         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
4354         to use texinfo-update-node and commands that call it if the
4355         Texinfo file uses @node lines without next/prev/up pointers.
4356         Correct outdated description about texinfo-master-menu.
4357         (texinfo-all-menus-update, texinfo-master-menu)
4358         (texinfo-update-node, texinfo-every-node-update)
4359         (texinfo-multiple-files-update): Doc fix.  Warn against updating
4360         all the @node lines.
4361         (texinfo-master-menu): Only call texinfo-update-node if the prefix
4362         argument is numeric.  Explain better in the doc string what the
4363         function really does.
4364         (texinfo-insert-master-menu-list): Improve the error message
4365         displayed if there's no menu in the Top node.
4366         (Bug#2975)  See also this thread:
4367         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4369 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
4371         * speedbar.el (speedbar-supported-extension-expressions):
4372         Add .adb and .ads, commonly used for Ada source code (bug#10256).
4374 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
4376         * printing.el (pr-mode-alist):
4377         * simple.el (filter-buffer-substring-functions)
4378         (completion-list-insert-choice-function):
4379         * window.el (window-with-parameter, window-atom-root)
4380         (window-sides-slots, window-size-fixed, window-min-delta)
4381         (window-max-delta, window--resize-mini-window)
4382         (window--resize-child-windows-normal, window-tree)
4383         (delete-other-windows, quit-window, split-window)
4384         (display-buffer-record-window, special-display-buffer-names)
4385         (special-display-regexps, special-display-popup-frame)
4386         (same-window-p, split-window-sensibly)
4387         (display-buffer-overriding-action, display-buffer-alist)
4388         (display-buffer-base-action, display-buffer, switch-to-buffer)
4389         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4390         (fit-window-to-buffer, recenter-positions)
4391         (mouse-autoselect-window-state, mouse-autoselect-window-select):
4392         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4393         and remove unneeded backslashes in docstrings.
4395 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4397         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4399         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4400         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4401         end in ".mk".
4402         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4403         when reading the makefile (bug#10116).
4405 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4407         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4408         (bug#10116).
4410 2011-12-06  Glenn Morris  <rgm@gnu.org>
4412         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4414 2011-12-06  Chong Yidong  <cyd@gnu.org>
4416         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4418 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
4420         * textmodes/table.el (table-shorten-cell): Fix typo.
4422 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
4424         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4426 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
4428         * descr-text.el (describe-char): Fix display of strong
4429         right-to-left characters and directional embeddings and overrides.
4431         * simple.el (what-cursor-position): Fix display of codepoints of
4432         strong right-to-left characters.
4434 2011-12-05  Chong Yidong  <cyd@gnu.org>
4436         * faces.el (read-color): Doc fix.
4438 2011-12-05  Glenn Morris  <rgm@gnu.org>
4440         * align.el (align--set-marker): Add doc-string.
4441         Don't try to move something that is not a marker.  (Bug#10216)
4443 2011-12-04  Glenn Morris  <rgm@gnu.org>
4445         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4446         overly zealous deletion of trailing whitespace.
4448 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
4450         * server.el (server-delete-client): On Windows, do not try to delete
4451         the only terminal.
4452         (server-process-filter): On Windows, treat requests for a tty frame as
4453         if they were for a GUI frame if the running server is in GUI mode.
4455 2011-12-03  Glenn Morris  <rgm@gnu.org>
4457         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
4459 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4461         * electric.el: Streamline electric-indent's hook.
4462         (electric-indent-chars): Revert to simple list.
4463         (electric-indent-functions): New var.
4464         (electric-indent-post-self-insert-function): Use it.
4466         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4467         there's no inferior buffer (bug#10196).
4468         (prolog-consult-compile): Don't use toggle-read-only.
4470 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
4472         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4473         interrupt.  (Bug#10187)
4475 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4477         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4478         (bug#9160).
4480         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4481         (bug#10191).
4483 2011-12-02  Juri Linkov  <juri@jurta.org>
4485         * info.el (Info-search): Display "end of manual" when Isearch
4486         reaches the end of single-file Info manual.  (Bug#9918)
4488 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
4490         * isearch.el (isearch-message-prefix): Run the input method part
4491         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
4493 2011-12-02  Juri Linkov  <juri@jurta.org>
4495         * isearch.el (isearch-occur): Use `word-search-regexp' for
4496         `isearch-word'.
4497         (isearch-search-and-update): Add condition for `isearch-word' and
4498         call `word-search-regexp'.  (Bug#10145)
4500 2011-12-01  Glenn Morris  <rgm@gnu.org>
4502         * eshell/em-hist.el (eshell-hist-initialize):
4503         Handle eshell-history-size nil and HISTSIZE set or unset.
4504         (eshell-history-file-name, eshell-history-size): Fix custom type.
4506 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4508         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4510 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
4512         * progmodes/verilog-mode.el (verilog-pretty-expr):
4513         Rework verilog-pretty-expr to handle new assignment operators in system
4514         verilog, such as += *= and the like.
4515         (verilog-assignment-operator-re): Regular expression to find the
4516         assigment operator in a verilog assignment.
4517         (verilog-assignment-operation-re): Regular expression to find an
4518         assignment statement for pretty-expr.
4519         (verilog-in-attribute-p): Query returns true if point is in an
4520         attribute context; used to skip these for expression line up from
4521         pretty-expr.
4522         (verilog-in-parameter-p): Query returns true if point is in an
4523         parameter definition context; used to skip these for expression
4524         line up from pretty-expr.
4525         (verilog-in-parenthesis-p): Query returns true if point is in a
4526         parenthetical expression, specifically ( ) but not [ ] or { };
4527         used by pretty-expr.
4528         (verilog-just-one-space): If there is no space, don't add one.
4529         (verilog-get-lineup-indent-2): Specifically skip just attribute
4530         contexts for expression lineup, rather than skipping all
4531         parenthetical expressions.
4532         (verilog-calculate-indent): Fix comment, and fix indent.
4533         (verilog-do-indent): Indent declarations in lists (suggested by
4534         Joachim Lechner).
4535         (verilog-mode-abbrev-table): Populate abbrev mode with the various
4536         skeleton items.
4537         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4538         by Alain Mellan).
4540 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
4542         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4543         parameters with embedded comments.  Reported by Ray Stevens.
4544         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4545         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4546         Reported by Tim Holt.
4547         (verilog-auto): Fix AUTOing a upper module then AUTOing module
4548         instantiated by upper module causing wrong expansion until AUTOed a
4549         second time.  Reported by K C Buckenmaier.
4550         (verilog-diff-auto): Fix showing .* as a difference when
4551         `verilog-auto-star-save' off.  Reported by Dan Dever.
4552         (verilog-auto-reset, verilog-read-always-signals)
4553         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4554         temporary signals in reset list if
4555         verilog-auto-reset-blocking-in-non is nil, and match assignment
4556         style to each signal's assignment type, bug381.
4557         Reported by Thomas Esposito.
4558         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4559         (verilog-uvm-statement-re): Support UVM indentation and
4560         highlighting, with old OVM keywords only.
4561         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4562         Support AUTOTIEOFF creating non-wire data types.
4563         Suggested by Jonathan Greenlaw.
4564         (verilog-auto-insert-lisp, verilog-delete-to-paren)
4565         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4566         (verilog-inject-sense, verilog-read-inst-pins)
4567         (verilog-read-sub-decls, verilog-read-sub-decls-line):
4568         Fix mismatching parenthesis inside commented out code when deleting
4569         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
4570         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4571         non-numeric vector width.  Reported by Alex Reed.
4572         (verilog-auto-ascii-enum): Add "onehot" option to work around not
4573         detecting signals with parameter widths.  Reported by Alex Reed.
4574         (verilog-auto-delete-trailing-whitespace):
4575         With `verilog-auto-delete-trailing-whitespace' remove trailing
4576         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
4577         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4578         Fix verilog-scan-cache corruption when running user AUTO expansion
4579         hooks that call indentation routines.
4580         (verilog-simplify-range-expression): Fix typo ignoring lower case
4581         identifiers.
4582         (verilog-delete-auto): Fix delete-autos to also remove user created
4583         automatics, as long as they start with AUTO.
4584         (verilog-batch-diff-auto, verilog-diff-auto)
4585         (verilog-diff-function): Add `verilog-diff-auto' and bind to
4586         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
4587         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4588         (verilog-in-paren-quick, verilog-re-search-backward-quick)
4589         (verilog-re-search-forward-quick, verilog-syntax-ppss):
4590         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4591         is disabled and its cache will get corrupt, causing AUTOS not to
4592         expand.  Instead use only -quick functions.
4593         (verilog-scan-region): Fix scanning over escaped quotes.
4594         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4595         (verilog-re-search-backward-quick)
4596         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4597         related functions now ignore strings, to fix misparsing of strings
4598         with magic comments embedded in them.
4599         (verilog-read-auto-template):
4600         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4601         Reported by Brad Dobbie.
4602         (verilog-read-auto-template):
4603         Fix 'verilog-auto-inst-template-numbers' with comments.
4604         Reported by Brad Dobbie.
4605         (verilog-auto-inst, verilog-auto-inst-param)
4606         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4607         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
4608         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4609         debugging templates without merge conflicts, bug357.
4610         Reported by Brad Dobbie.
4611         (verilog-read-auto-template):
4612         Fix verilog-auto-inst-template-numbers with multiple templates.
4613         Reported by Brad Dobbie.
4614         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4615         abbrevs so user won't be asked to save.
4616         (verilog-read-auto-lisp-present): Fix to start at beginning of
4617         buffer in case called outside of verilog-auto.
4618         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4619         to "X-2".  Reported by Matthew Myers.
4620         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4621         all inputs from module templates.  Reported by Leith Johnson.
4622         (verilog-module-inside-filename-p): Fix locating programs as with
4623         modules.
4624         (verilog-auto-inst-port): Fix vl-width expressions when using
4625         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
4626         (verilog-decls-get-regs, verilog-decls-get-signals,
4627         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4628         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4629         verilog-read-decls): Combine reg and wire structures into one var
4630         structure to represent SystemVerilog concepts.
4631         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4632         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4633         (verilog-auto-wire-type, verilog-insert-definition):
4634         Add verilog-auto-wire-type and AUTOLOGIC to support using
4635         SystemVerilog "logic" keyword instead of "wire"/"reg".
4636         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4637         to declares outputs that also have assignments (presumably in an
4638         ifdef or generate if so there's not a driver conflict).
4639         Reported by Matthew Myers.
4640         (verilog-auto-declare-nettype, verilog-insert-definition):
4641         Add verilog-auto-declare-nettype to fix declarations using
4642         `default_nettype none.  Reported by Julian Gorfajn.
4643         (verilog-read-always-signals-recurse, verilog-read-decls)
4644         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4645         malformed end statement, bug325.  Reported by Joshua Wise and
4646         Andrew Drake.
4647         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4648         (verilog-inst-comment-re): Fix not deleting Interfaced comment
4649         when expanding .* in interfaces, bug320.
4650         Reported by Pierre-David Pfister.
4651         (verilog-read-module-name): Fix import statements between module
4652         name and open parenthesis, bug317.
4653         Reported by Pierre-David Pfister.
4654         (verilog-simplify-range-expression): Fix simplification of
4655         multiplications inside AUTOWIRE connections, bug303.
4656         (verilog-auto-inst-port): Support parameter expansion in
4657         multidimensional arrays.
4658         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4659         after "assert property".  Reported by Julian Gorfajn.
4660         (verilog-simplify-range-expression): Fix "couldn't merge" errors
4661         with multiplication, bug303.
4662         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4663         Reported by Jan Frode Lonnum.
4665 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
4667         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4668         (hfy-shell-file-name, hfy-shell):
4669         * international/fontset.el (x-decompose-font-name): Fix typos.
4671 2011-11-29  Ken Brown  <kbrown@cornell.edu>
4673         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4674         (gdb-version): Remove defvar.
4675         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4676         (gdb-gud-context-command, gdb-non-stop-handler)
4677         (gdb-current-context-command, gdb-stopped): Use it.
4678         (gdb-init-1): Enable pretty printing here.
4679         (gdb-non-stop-handler): Don't enable pretty-printing here.
4680         Check to see if the target supports non-stop mode; if not, turn off
4681         non-stop mode.  Use the following.
4682         (gdb-check-target-async): New defun.
4683         (gud-watch, gdb-stopped): Fix whitespace.
4684         (gdb-get-source-file): Don't try to display the source file if
4685         `gdb-main-file' is nil.
4687 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4689         * align.el: Try to generate fewer markers (bug#10047).
4690         (align--set-marker): New macro.
4691         (align-region): Use it.
4693 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4695         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4697 2011-11-29  Chong Yidong  <cyd@gnu.org>
4699         * indent.el (indent-for-tab-command, indent-according-to-mode):
4700         Doc fix.
4701         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
4703 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
4705         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4706         aware of remote file names.  (Bug#10124)
4708 2011-11-29  Chong Yidong  <cyd@gnu.org>
4710         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4712 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4714         * files.el (find-file): Don't use force-same-window (bug#10144).
4715         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4716         use pop-to-buffer if the selected window can't be used.
4717         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4719 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
4721         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4722         special-mode-map.
4724 2011-11-28  Chong Yidong  <cyd@gnu.org>
4726         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4728 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
4730         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4731           gdb-get-source-file-list on gdb-create-source-file-list.
4733 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
4735         * whitespace.el (whitespace-newline): Use a different foreground
4736         color for 16-color light-background displays.
4738 2011-11-24  Chong Yidong  <cyd@gnu.org>
4740         * window.el (display-buffer--special-action): Doc fix.
4742 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
4744         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4745         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4746         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4747         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4748         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4749         (avl-tree-stack-first):
4750         * emacs-lisp/cconv.el (cconv--analyse-use):
4751         * net/gnutls.el (gnutls-negotiate): Fix typos.
4753 2011-11-24  Glenn Morris  <rgm@gnu.org>
4755         * lpr.el (lpr-windows-system, lpr-lp-system):
4756         * mail/binhex.el (binhex-begin-line):
4757         * progmodes/grep.el (grep-history, grep-find-history):
4758         * textmodes/flyspell.el:
4759         * vc/pcvs-defs.el (cvs-global-menu):
4760         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4761         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4762         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4764         * net/tls.el: Fix case of "GnuTLS".
4766         * paths.el (rmail-file-name): Format doc-string for make-docfile.
4768         * version.el (emacs-build-system): Give it a doc-string.
4770 2011-11-24  Juri Linkov  <juri@jurta.org>
4772         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4774 2011-11-24  Glenn Morris  <rgm@gnu.org>
4776         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4777         if called on a non-mime message just toggle the headers.  (Bug#8006)
4779 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
4781         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4782         (allout-lead-with-comment-string, allout-structure-deleted-hook)
4783         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4784         (allout-rebullet-heading, allout-open-sibtopic)
4785         (allout-toggle-current-subtree-encryption)
4786         (allout-toggle-subtree-encryption, allout-encrypt-string)
4787         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4788         (allout-distinctive-bullets-string, allout-auto-activation):
4789         * window.el (window-normalize-buffer-to-display):
4790         * progmodes/verilog-mode.el (verilog-batch-indent):
4791         * textmodes/bibtex.el (bibtex-field-braces-opt)
4792         (bibtex-field-strings-opt):
4793         * vc/cvs-status.el (cvs-tree-merge):
4794         Fix typos.
4796 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
4798         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4799         `non-essential' to t, in order to avoid remote connections.
4801 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
4803         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4804         On MS-DOS and MS-Windows, compare with loaddefs.el
4805         case-insensitively.
4807 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4809         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
4811 2011-11-23  Glenn Morris  <rgm@gnu.org>
4813         * paths.el (rmail-file-name): Reformat the doc-string so that it
4814         is picked up.
4816         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4817         (rmail-auto-file): Ignore case in the "special" field names,
4818         as mail-fetch-field does for all others.
4820         * mail/rmail.el (rmail-forward):
4821         * mail/rmailkwd.el (rmail-set-label):
4822         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4823         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
4825         * mail/rmail.el (rmail-current-message): Doc fix.
4827         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
4829 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4831         * server.el (server-eval-and-print): Allow C-g (bug#6585).
4833 2011-11-22  Glenn Morris  <rgm@gnu.org>
4835         * mail/rmailmm.el (test-rmail-mime-handler)
4836         (test-rmail-mime-bulk-handler)
4837         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4839 2011-11-21  Juri Linkov  <juri@jurta.org>
4841         * calc/calc.el (calc-read-key-sequence):
4842         Let-bind `input-method-function' to nil.  (Bug#10018)
4844 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4846         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4847         Tell the caller that the next line needs recomputation, even
4848         though it doesn't start a sexp (bug#10094).
4850 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4852         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4854 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4856         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4857         Use force-same-window.
4859 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
4861         * descr-text.el (describe-char-unicode-data):
4862         * json.el (json-string-escape):
4863         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4864         (Footnote-unicode, Footnote-style-p):
4865         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4867 2011-11-20  Chong Yidong  <cyd@gnu.org>
4869         * window.el (replace-buffer-in-windows): Restore interactive spec.
4871 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4873         * electric.el (electric-indent-mode): Fix last change (too optimistic).
4875         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4876         (byte-compile-global-not-obsolete-vars): New var.
4877         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4878         Use it.
4879         (byte-compile-warn-obsolete): Align text with the one in *Help*.
4881 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
4883         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4884         * progmodes/pascal.el (electric-pascal-equal):
4885         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4886         * xml.el (xml-substitute-special): Fix typos.
4888 2011-11-20  Glenn Morris  <rgm@gnu.org>
4890         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4891         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4892         Doc fixes.
4893         (rmail-decode-mime-charset): Mark as obsolete.
4895         * mail/rmailsum.el (rmail-message-regexp-p-1):
4896         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4897         Before using mime functions, check they are set.  (Bug#10077)
4899 2011-11-19  Juri Linkov  <juri@jurta.org>
4901         * info.el (Info-finder-find-node): Use `package--builtins' instead
4902         of `package-alist'.  Use node names formed by the pattern "Keyword "
4903         and the keyword name.
4905 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4907         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4909 2011-11-19  Juri Linkov  <juri@jurta.org>
4911         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4912         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
4913         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4914         `old-history', `old-history-forward'.  Add let-binding
4915         `window-selected'.  Remove calls to `kill-buffer',
4916         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
4917         before calling `Info-find-node', so `Info-find-node-2' will reread
4918         the Info file.  Restore window positions only when `window-selected'
4919         is non-nil.
4921 2011-11-19  Juri Linkov  <juri@jurta.org>
4923         * isearch.el (isearch-lazy-highlight-new-loop):
4924         Remove condition `(not isearch-error)'.  (Bug#9918)
4926         * misearch.el (multi-isearch-search-fun): Add condition
4927         `(not bound)' to ignore lazy-highlighting search.
4928         Add the search-failed message "end of multi" when the end of
4929         multi-sequence is reached.  Uncapitalize the search-failed
4930         message "Repeat for next buffer".
4932         * info.el (Info-search): Add the search-failed message
4933         "end of the manual" when the end of the manual is reached
4934         in Isearch mode.
4936 2011-11-19  Juri Linkov  <juri@jurta.org>
4938         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4939         Use non-destructive `remove' instead of `delete' because
4940         `Info-history-list' stored to `Info-isearch-initial-history-list' in
4941         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4943 2011-11-19  Juri Linkov  <juri@jurta.org>
4945         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4946         to nil instead of binding `search-ring' and `regexp-search-ring'.
4947         (Bug#9185)
4949 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4951         * simple.el (line-move): Force movement by logical lines for any
4952         hscrolled window, not only when auto-hscroll-mode is on.
4953         (line-move-visual): Update doc string to that effect.  (Bug#10076)
4955 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4957         * language/european.el (macintosh): Define as alias for mac-roman.
4959 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4961         * mail/rmailmm.el (rmail-mime-display-header)
4962         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4963         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4964         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4965         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4966         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4967         of a raw aref.
4968         (rmail-mime-entity-segment): To get past the tagline, move forward
4969         2 more lines, to account for the 2 empty lines that precede and
4970         follow the line with the buttons.
4971         (rmail-mime-update-tagline): Move one more line, to get past the
4972         empty line that follows the buttons in the tagline.  (Bug#9520)
4974 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
4976         * window.el (window-max-delta-1, window-min-delta-1)
4977         (window-min-size-1, window-state-get-1, window-state-put-1)
4978         (window-state-put-2): Use "window--" prefix.
4980 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4982         * emacs-lisp/smie.el: Improve warnings and conflict detection.
4983         (smie-warning-count): New var.
4984         (smie-set-prec2tab): Use it.
4985         (smie-bnf->prec2): Improve warnings.  Add docstring.
4986         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4987         (smie-bnf--set-class): New function.
4988         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
4989         corner case.
4991         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4992         (compilation-error-properties, compilation-move-to-column):
4993         Handle compilation-first-column while in the target buffer.
4995         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4996         Don't hardcode point-min==1.
4998         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4999         (eshell-rewrite-for-command): Remove workaround.
5000         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5001         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5002         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5004         * files-x.el (modify-file-local-variable): Obey commenting conventions.
5006 2011-11-17  Glenn Morris  <rgm@gnu.org>
5008         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5009         Ignore buffer-local generated-autoload-file if it is the same
5010         as the global value.  (Bug#10049)
5012 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
5014         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5015         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5016         (reftex-toc-previous-heading, reftex-toc-max-level)
5017         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5018         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5019         (reftex-toc-do-promote, reftex-toc-promote-prepare)
5020         (reftex-toc-promote-action, reftex-toc-extract-section-number)
5021         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5022         (reftex-toc-rename-label, reftex-toc-visit-location)
5023         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5024         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5025         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5026         leaving "*toc*" only for references to the buffer.
5028 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
5030         * window.el (window-resize, delete-window, split-window):
5031         Replace window-splits by window-combination-resize.
5032         * cus-start.el (window-splits): Replace by window-combination-resize.
5034 2011-11-17  Glenn Morris  <rgm@gnu.org>
5036         * progmodes/sh-script.el (sh-font-lock-keywords-var):
5037         Make bash entry derive from sh entry, not shell entry.
5039 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
5041         * net/tramp-cache.el (tramp-flush-file-property): Flush also
5042         properties of linked files.  (Bug#9879)
5044         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5045         local file name.
5047 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
5049         * menu-bar.el (menu-bar-file-menu):
5050         * printing.el (pr-ps-utility):
5051         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5052         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5053         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5054         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5055         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5056         (icalendar--convert-cyclic-to-ical)
5057         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5058         (icalendar--convert-ical-to-diary)
5059         (icalendar--convert-recurring-to-diary)
5060         (icalendar--convert-non-recurring-all-day-to-diary)
5061         (icalendar-import-format-sample):
5062         * progmodes/idlw-shell.el (idlwave-shell-mode):
5063         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5064         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5065         (vhdl-ps-print-init): Fix typos.
5067 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
5069         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5070         FSF and collapse date sequence, obscure author/maintainer email address
5071         better, remove extra version line, track relocation of author's webpage.
5073         * progmodes/python.el (python-pdbtrack-input-prompt)
5074         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5075         regular python pdb prompts.  Adjustments shamelessly taken exactly as
5076         suggested in EmacsWiki page (tiny change):
5077         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5079 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
5081         * expand.el (expand-pos, expand-index, expand-point):
5082         Remove redundant info from docstring.
5083         (expand-add-abbrevs): Doc fix.
5084         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5085         (expand-sample-perl-mode-expand-list): Fix typos.
5087         * net/dbus.el (dbus-event-member-name):
5088         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5089         * term/pc-win.el (msdos-create-frame-with-faces):
5090         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5092 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
5094         * window.el (split-window, window-state-get-1)
5095         (window-state-put-1, window-state-put-2): Rename occurrences of
5096         window-nest to window-combination-limit.
5097         * cus-start.el (window-nest): Rename to window-combination-limit.
5099 2011-11-16  Chong Yidong  <cyd@gnu.org>
5101         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5102         regexp (Bug#10033).
5104 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5106         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5107         `completing-read' will remove *Completions* and will preserve
5108         current-buffer for us.
5109         (tmm-add-prompt): Users of *Completions* will always (re)set its
5110         major mode.
5111         (tmm-old-comp-map): Remove.
5113 2011-11-16  Glenn Morris  <rgm@gnu.org>
5115         * mail/rmailedit.el: Require rmailmm when compiling.
5116         (rmail-old-mime-state): New declaration.
5117         (rmail-edit-current-message): If editing a mime message,
5118         edit the "raw" message from the mbox buffer.
5119         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
5121 2011-11-15  Glenn Morris  <rgm@gnu.org>
5123         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5124         which wasn't being used.  Add optional arg to force given state.
5125         (rmail-mime): Add optional arg to force given state.
5127 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
5129         * allout.el (allout-encryption-plaintext-sanitization-regexps):
5130         * frame.el (display-mm-dimensions-alist):
5131         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5132         (outline-move-subtree-down):
5133         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5134         (newsticker--treeview-do-get-node):
5135         * net/quickurl.el (quickurl-list-buffer-name):
5136         * progmodes/dcl-mode.el (dcl-mode):
5137         * progmodes/gdb-mi.el (gdb-mapcar*):
5138         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5140 2011-11-15  Glenn Morris  <rgm@gnu.org>
5142         * mail/rmail.el (rmail-file-coding-system): It's only ever used
5143         in a boolean sense, so just make it a boolean, and fix the doc.
5144         (rmail-show-mime-function, rmail-mime-feature)
5145         (rmail-require-mime-maybe): Doc fixes.
5146         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5148         * mail/rmailmm.el (rmail-show-mime): Doc fix.
5150 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
5152         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5153         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5154         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5155         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5157 2011-11-15  Glenn Morris  <rgm@gnu.org>
5159         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5160         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5161         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5162         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5163         (rmail-mime, rmail-show-mime): Doc fixes.
5165         * term/ns-win.el (mode-line-frame-identification):
5166         Leave it alone.  (Bug#10051)
5168         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
5170         * mail/rmailout.el (rmail-output-to-rmail-buffer):
5171         Handle empty buffers.  (Bug#9978)
5173 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
5175         * international/mule.el (define-charset):
5176         * mail/rmailmm.el (rmail-mime-find-header-encoding):
5177         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5178         * progmodes/verilog-mode.el (verilog-backward-token):
5179         * textmodes/ispell.el (lookup-words):
5180         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5182 2011-11-14  Glenn Morris  <rgm@gnu.org>
5184         * progmodes/executable.el
5185         (executable-make-buffer-file-executable-if-script-p):
5186         Handle file-modes returning nil.
5188         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5189         message - not necessary, and causes problems.  (Bug#9831)
5191         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5193         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5195         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5196         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
5197         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5199 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
5201         * window.el (window-resize, delete-window): Use window-splits
5202         variable instead of function.
5203         (window-state-get-1, window-state-put-2, window-state-put):
5204         Don't deal with windows' splits status.
5206 2011-11-12  Glenn Morris  <rgm@gnu.org>
5208         * apropos.el (apropos-do-all, apropos-library, apropos-value)
5209         (apropos-documentation): Doc fixes.
5211 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
5213         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5214         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5216 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5218         * electric.el (electric-indent-post-self-insert-function): Make it
5219         possible for a char to only indent in some circumstances.
5220         (electric-indent-mode): Simplify.
5222 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
5224         * window.el (windows-with-parameter): Remove unused function.
5225         (windows-at-side): Rename to window-at-side-list.
5226         (window-check, window-atom-check, window-atom-check-1)
5227         (window-side-check, window-size-ignore, window-size-fixed-1)
5228         (window-in-direction-2): Prefix with "window--".
5229         (window-tree-1): Rename to window--subtree, fix doc-string.
5231 2011-11-11  Glenn Morris  <rgm@gnu.org>
5233         * subr.el (eval-after-load): If FILE is already loaded,
5234         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
5236 2011-11-10  Glenn Morris  <rgm@gnu.org>
5238         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5239         Call svn via vc-svn-command rather than vc-do-command.
5240         (vc-svn-command): Add --non-interactive.  (Bug#9993)
5241         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5243         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5244         Add toggle-read-only.  (Bug#7292)
5245         * files.el (toggle-read-only): Mention that it should only
5246         be used interactively.  (Bug#10006)
5248 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5250         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5251         Adjust regexp for OCaml warnings.
5253         * electric.el (electric-pair-post-self-insert-function): Let user
5254         turn it off buffer-locally (bug#9932).
5256         * progmodes/python.el (python-beginning-of-statement):
5257         Rewrite (bug#2703).
5259         * progmodes/compile.el: Better handle TABs (bug#9749).
5260         (compilation-internal-error-properties)
5261         (compilation-next-error-function): Obey the target buffer's
5262         compilation-error-screen-columns.
5264 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
5266         * progmodes/meta-mode.el: Remove obsolete comments.
5267         (meta-right-comment-regexp, meta-ignore-comment-regexp):
5268         Fix typos in docstrings.
5270 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
5272         * window.el (window-size-fixed-p): Rewrite doc-string.
5273         (window-resizable-p): Rename to window--resizable-p.  Update callers.
5274         (window--resizable): New function.  Make all callers of
5275         window-resizable call window--resizable instead.
5276         (window-resizable): Rewrite in terms of window--resizable.
5278 2011-11-08  Glenn Morris  <rgm@gnu.org>
5280         * progmodes/delphi.el (delphi-mode-syntax-table):
5281         Let define-derived-mode define a proper syntax table.  (Bug#9994)
5283 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5285         * window.el: Stay away from defsubst.
5286         (window-list-no-nils): Remove.
5287         (window-state-get-1, window-state-get): Use backquote instead.
5289 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5291         * emacs-lisp/find-func.el (find-function-read):
5292         Fix incorrect use of default argument in `completing-read'.
5294 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
5296         * window.el (display-buffer-function, special-display-function):
5297         Mention display-buffer-record-window but do not mention
5298         help-setup parameter in doc-strings.
5299         (window-min-delta): Fix doc-string typo.
5301 2011-11-08  Chong Yidong  <cyd@gnu.org>
5303         * window.el (window-total-height, window-total-width): Doc fix.
5304         (window-body-size): Move from C.
5305         (window-body-height, window-body-width): Move to C.
5307 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5309         * window.el: Make special-display like display-buffer-alist (bug#9532).
5310         (display-buffer--special-action): New function, morphed
5311         from display-buffer--special.
5312         (display-buffer): Use it to handle special-display-buffers at higher
5313         priority (just after display-buffer-alist).
5314         (display-buffer-fallback-action, display-buffer--other-frame-action)
5315         (pop-to-buffer-same-window): Remove display-buffer--special.
5317 2011-11-07  Glenn Morris  <rgm@gnu.org>
5319         * calendar/cal-menu.el (cal-menu-set-date-title):
5320         Do nothing if not in a calendar.  (Bug#9976)
5322 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5324         * files.el (find-file): Always use selected-window.
5326 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
5328         * window.el (window-combinations): Make WINDOW argument
5329         mandatory.  Rewrite doc-string.
5330         (walk-window-subtree, window-atom-check, window-min-delta)
5331         (window-max-delta, window--resize-this-window)
5332         (window--resize-root-window-vertically, window-tree)
5333         (balance-windows, window-state-put): Rewrite doc-strings as to
5334         not mention the term "subwindow".
5335         (window--resize-subwindows-skip-p): Rename to
5336         window--resize-child-windows-skip-p.
5337         (window--resize-subwindows-normal): Rename to
5338         window--resize-child-windows-normal.
5339         (window--resize-subwindows): Rename to
5340         window--resize-child-windows.
5341         (window-or-subwindow-p): Rename to window--in-subtree-p.
5343 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5345         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5346         Ensure that mbox format messages end in two newlines (Bug#9974).
5348 2011-11-06  Chong Yidong  <cyd@gnu.org>
5350         * window.el (window-combination-p): Function deleted; its
5351         side-effect is not used in any existing code.
5352         (window-combinations, window-combined-p): Call window-*-child
5353         directly.
5355 2011-11-05  Chong Yidong  <cyd@gnu.org>
5357         * window.el (window-valid-p): Rename from window-any-p.
5358         (window-size-ignore, window-state-get): Callers changed.
5359         (window-normalize-window): Rename from window-normalize-any-window.
5360         New arg LIVE-ONLY, replacing window-normalize-live-window.
5361         (window-normalize-live-window): Delete.
5362         (window-combination-p, window-combined-p, window-combinations)
5363         (walk-window-subtree, window-atom-root, window-min-size)
5364         (window-sizable, window-sizable-p, window-size-fixed-p)
5365         (window-min-delta, window-max-delta, window-resizable)
5366         (window-resizable-p, window-full-height-p, window-full-width-p)
5367         (window-current-scroll-bars, window-point-1, set-window-point-1)
5368         (window-at-side-p, window-in-direction, window-resize)
5369         (adjust-window-trailing-edge, maximize-window, minimize-window)
5370         (window-deletable-p, delete-window, delete-other-windows)
5371         (record-window-buffer, unrecord-window-buffer)
5372         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5373         (quit-window, split-window, window-state-put)
5374         (set-window-text-height, fit-window-to-buffer)
5375         (shrink-window-if-larger-than-buffer): Callers changed.
5377 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
5379         * mail/rmail.el (rmail-simplified-subject): Decode subject with
5380         rfc2047-decode-string.
5381         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5382         warnings.
5384         * window.el (window-body-height, window-body-width): Mention in
5385         the doc string that the return values are in frame's canonical
5386         units.  (Bug#9949)
5388 2011-11-03  Alan Mackenzie  <acm@muc.de>
5390         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5391         change in cc-engine.el.
5393 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5395         * window.el (switch-to-buffer): Use `force-same-window' interactively.
5397 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
5399         * window.el (quit-window): Call unrecord-window-buffer after
5400         showing another buffer in the window.  (Bug#9937)
5401         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5403 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
5405         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5406         Accept status with more than 9 shelves.  (Bug#9935)
5407         Reported by Colin D Bennett <colin@gibibit.com>.
5409 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
5411         * help.el (with-help-window): Don't reference
5412         temp-buffer-show-specifiers in doc-string.
5414 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5416         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5417         menu-item.
5419 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5421         * whitespace.el: New version 13.2.2.
5422         (whitespace-newline-mode): Disable properly.  Reported by Sarah
5423         <EmacsWiki>.
5425 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
5427         * net/newst-treeview.el: Remove "Time-stamp".
5428         (newsticker--group-manage-orphan-feeds): Do not call
5429         newsticker--treeview-tree-update.
5430         (newsticker-treeview-update, newsticker-treeview):
5431         Call newsticker--treeview-tree-update if necessary.
5433 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
5435         * window.el (window-iso-combination-p, window-iso-combined-p)
5436         (window-iso-combinations): Remove "iso-" infix.
5437         Suggested by Chong Yidong.
5438         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5439         (window-max-delta-1, window-resize, window--resize-siblings)
5440         (window--resize-this-window, adjust-window-trailing-edge)
5441         (split-window, balance-windows-1)
5442         (shrink-window-if-larger-than-buffer):
5443         * calendar/calendar.el (calendar-generate-window):
5444         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5446 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5448         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5449         in place (bug#9907).
5450         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5451         (eshell-rewrite-if-command, eshell-rewrite-for-command)
5452         (eshell-structure-basic-command, eshell-rewrite-while-command)
5453         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5454         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5455         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5456         (eshell-do-pipelines-synchronously, eshell-eval-command):
5457         Use backquotes and prefer setq to set.
5458         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5459         (eshell-macrop): Use functionp.
5460         (eshell-do-eval): Handle multiple expressions in `while' body.
5462 2011-10-30  Chong Yidong  <cyd@gnu.org>
5464         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5465         instead of set-mark (Bug#9810).
5467 2011-10-30  Chong Yidong  <cyd@gnu.org>
5469         * window.el (split-window-below, split-window-right): Rename from
5470         split-window-above-each-other and split-window-side-by-side
5471         respectively.  All callers changed.
5472         (split-window-sensibly, split-window-sensibly): Use them.
5473         (split-window-keep-point): Doc fix.
5475         * isearch.el: Add isearch-scroll property to split-window-below
5476         and split-window-right.
5478         * follow.el (follow-mode):
5479         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5480         * progmodes/ada-xref.el (ada-gdb-application):
5481         * emulation/vip.el (vip-buffer-in-two-windows):
5482         * image-dired.el (image-dired-dired-with-window-configuration):
5483         * dired-x.el (dired-do-find-marked-files):
5484         * dired.el (dired-pop-to-buffer):
5485         * bs.el (bs--show-with-configuration):
5486         * vc/emerge.el (emerge-setup-windows):
5487         * textmodes/two-column.el (2C-two-columns):
5488         * textmodes/reftex-toc.el (reftex-toc):
5489         * progmodes/gdb-mi.el (gdb-setup-windows):
5490         * progmodes/fortran.el (fortran-window-create):
5491         * net/newst-treeview.el (newsticker--treeview-window-init):
5492         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5493         * emulation/tpu-edt.el (tpu-gold-map):
5494         * emulation/crisp.el (crisp-mode-map):
5495         * calendar/calendar.el (calendar-basic-setup): Callers changed.
5497 2011-10-29  Chong Yidong  <cyd@gnu.org>
5499         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5501         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5503         * textmodes/flyspell.el (flyspell-word): Fix char offset for
5504         forged Ispell output (Bug#7904).
5506         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5508 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5510         * doc-view.el: Avoid ugly errors about not finding nil.
5511         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5512         (doc-view-dvipdf-program, doc-view-unoconv-program)
5513         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5514         Avoid nil or absolute file name as default value.
5515         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5517 2011-10-28  Alan Mackenzie  <acm@muc.de>
5519         * progmodes/cc-defs.el (c-version): -> 5.32.2.
5521 2011-10-28  Alan Mackenzie  <acm@muc.de>
5523         Amend the handling of c-beginning/end-of-defun in nested declaration
5524         scopes.
5526         * progmodes/cc-vars.el (c-defun-tactic): Move here from
5527         cc-langs.el.  Change it to a defcustom.
5529         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5530         cc-vars.el.
5532         * progmodes/cc-engine.el (c-beginning-of-statement-1):
5533         Prevent "class foo : bar" being spuriously recognized as a label.
5535         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5536         Add parameter `inclusive' (to include enclosing braces in the region).
5537         (c-widen-to-enclosing-decl-scope): New function.
5538         (c-while-widening-to-decl-block): New macro.
5539         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5540         outward for defun boundaries, and correspondingly change symbol
5541         `respect-enclosure' to `go-outward'.
5542         (c-declaration-limits): Change algorithm to report only the "innermost"
5543         defun's boundaries.
5545 2011-10-28  Deniz Dogan  <deniz@dogan.se>
5547         * net/rcirc.el (rcirc-mode): Use hard newlines.
5549 2011-10-28  Alan Mackenzie  <acm@muc.de>
5551         Amend to indent and fontify macros "which include their own semicolon"
5552         correctly, using the "virtual semicolon" mechanism.
5554         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5556         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5557         Recode to scan one line at a time rather than having \n and \r
5558         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5559         (c-forward-label): Amend for virtual semicolons.
5560         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5562         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5563         of the new C macros.
5565         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5566         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5567         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5568         (c-opt-cpp-macro-define): Make into a full language variable.
5569         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5570         AWK Mode (including \n, \r) removed, no longer needed.
5572         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5573         Invoke c-make-macro-with-semi-re.
5575         * progmodes/cc-vars.el (c-macro-with-semi-re):
5576         (c-macro-names-with-semicolon): New variables.
5577         (c-make-macro-with-semi-re): New function.
5579 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5581         * vc/log-edit.el: Fill empty field rather than adding new one.
5582         (log-edit-add-field): New function.
5583         (log-edit-insert-changelog): Use it.
5585 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5587         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5589 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5591         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5592         (gdb--check-interpreter): New function.
5593         (gdb): Use it.
5595 2011-10-27  Glenn Morris  <rgm@gnu.org>
5597         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5598         (least-positive-float, least-negative-float)
5599         (least-positive-normalized-float, least-negative-normalized-float)
5600         (float-epsilon, float-negative-epsilon):
5601         Remove unnecessary declarations.
5603         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5604         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5605         (least-positive-float, least-negative-float)
5606         (least-positive-normalized-float, least-negative-normalized-float)
5607         (float-epsilon, float-negative-epsilon): Add doc-strings,
5608         based on those in cl.texi.
5610         * files.el (set-visited-file-name): If the major-mode changed,
5611         reload the local variables.  (Bug#9796)
5613 2011-10-27  Chong Yidong  <cyd@gnu.org>
5615         * subr.el (change-major-mode-after-body-hook): New hook.
5616         (run-mode-hooks): Run it.
5618         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5619         Use change-major-mode-before-body-hook.
5621         * simple.el (fundamental-mode):
5622         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5623         change introducing fundamental-mode-hook.
5625 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
5627         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5629 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
5631         * ido.el (ido-file-name-all-completions-1): Do not require
5632         tramp.el explicitly.  (Bug#7583)
5634 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5636         * progmodes/octave-mod.el:
5637         * progmodes/octave-inf.el: Update maintainer.
5639 2011-10-26  Chong Yidong  <cyd@gnu.org>
5641         * subr.el (with-wrapper-hook): Rewrite doc.
5643 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
5645         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5646         filenames "/method:foo:".  (Bug#9793)
5648 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5650         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5651         (bug#9865).
5653 2011-10-24  Glenn Morris  <rgm@gnu.org>
5655         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
5657 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
5659         * notifications.el: Add the requirement of a running D-Bus session
5660         bus to the Commentary.
5662 2011-10-24  Juri Linkov  <juri@jurta.org>
5664         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5665         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5666         (Bug#9364)
5668 2011-10-24  Juri Linkov  <juri@jurta.org>
5670         * info.el (Info-following-node-name-re): Add newline to the list
5671         of allowed characters for leading space.  (Bug#9824)
5673 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5675         * progmodes/octave-inf.el (inferior-octave-mode-map):
5676         Fix C-c C-h binding.
5677         * progmodes/octave-mod.el (octave-help): Remove.
5679 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
5681         Sync with Tramp 2.2.3.
5683         * net/tramp-cache.el (top): Pacify byte-compiler using
5684         `init-file-user' and `site-run-file'.
5686         * net/trampver.el: Update release number.
5688 2011-10-23  Chong Yidong  <cyd@gnu.org>
5690         * files.el (toggle-read-only): Remove obsolete comment about
5691         version control.
5693         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5694         for toggle-read-only.  Note that this hasn't called vc-next-action
5695         since 2008-05-02, though it wasn't documented at the time.
5697         * vc/ediff-init.el (ediff-toggle-read-only-function):
5698         Use toggle-read-only.
5700 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
5702         Fix bug #9560, sporadic wrong indentation; improve instrumentation
5703         of c-parse-state.
5705         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5706         correct faulty logical expression.
5707         (c-parse-state-state, c-record-parse-state-state):
5708         (c-replay-parse-state-state): New defvar/defuns.
5709         (c-debug-parse-state): Use new functions.
5711 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
5713         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5714         last fix.  Use window-in-direction correctly.
5716 2011-10-21  Chong Yidong  <cyd@gnu.org>
5718         * progmodes/idlwave.el (idlwave-mode):
5719         * progmodes/vera-mode.el (vera-mode): No need to set
5720         require-final-newline; that's done in prog-mode.
5721         Suggested by Stefan Monnier.
5723 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
5725         * mouse.el (mouse-drag-window-above)
5726         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5727         (mouse-drag-mode-line-1, mouse-drag-header-line)
5728         (mouse-drag-vertical-line-rightward-window): Remove.
5729         (mouse-drag-line): New function.
5730         (mouse-drag-mode-line, mouse-drag-header-line)
5731         (mouse-drag-vertical-line): Call mouse-drag-line.
5732         * window.el (window-at-side-p, windows-at-side): New functions.
5734 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
5736         * tar-mode.el (tar-grind-file-mode):
5737         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
5739 2011-10-21  Chong Yidong  <cyd@gnu.org>
5741         * progmodes/idlwave.el (idlwave-mode):
5742         * progmodes/vera-mode.el (vera-mode):
5743         Use mode-require-final-newline.
5745 2011-10-20  Glenn Morris  <rgm@gnu.org>
5747         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
5749 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
5751         * emulation/cua-base.el (cua-set-mark): Fix case of string.
5753 2011-10-20  Chong Yidong  <cyd@gnu.org>
5755         * emulation/cua-base.el (cua-mode):
5756         * mail/footnote.el (footnote-mode):
5757         * mail/mailabbrev.el (mail-abbrevs-mode):
5758         * net/xesam.el (xesam-minor-mode):
5759         * progmodes/bug-reference.el (bug-reference-mode):
5760         * progmodes/cap-words.el (capitalized-words-mode):
5761         * progmodes/compile.el (compilation-minor-mode)
5762         (compilation-shell-minor-mode):
5763         * progmodes/gud.el (gud-tooltip-mode):
5764         * progmodes/hideif.el (hide-ifdef-mode):
5765         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5766         * progmodes/subword.el (subword-mode):
5767         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5768         * progmodes/which-func.el (which-function-mode):
5769         * term/tvi970.el (tvi970-set-keypad-mode):
5770         * term/vt100.el (vt100-wide-mode):
5771         * textmodes/flyspell.el (flyspell-mode):
5772         * textmodes/ispell.el (ispell-minor-mode):
5773         * textmodes/nroff-mode.el (nroff-electric-mode):
5774         * textmodes/paragraphs.el (use-hard-newlines):
5775         * textmodes/refill.el (refill-mode):
5776         * textmodes/reftex.el (reftex-mode):
5777         * textmodes/rst.el (rst-minor-mode):
5778         * textmodes/sgml-mode.el (html-autoview-mode)
5779         (sgml-electric-tag-pair-mode):
5780         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5781         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5782         * emulation/crisp.el (crisp-mode):
5783         * emacs-lisp/eldoc.el (eldoc-mode):
5784         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5785         minor mode behavior.
5787 2011-10-19  Juri Linkov  <juri@jurta.org>
5789         * descr-text.el (describe-char): Add #x2010 and #x2011 to
5790         the list of hard-coded chars with escape-glyph face.
5792 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5794         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5796 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
5798         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5799         running process.
5801 2011-10-19  Glenn Morris  <rgm@gnu.org>
5803         * vc/vc-bzr.el (vc-bzr-after-dir-status):
5804         Ignore ignored files.  (Bug#9726)
5806 2011-10-19  Chong Yidong  <cyd@gnu.org>
5808         Doc fix for minor modes, stating that an omitted argument enables
5809         the mode unconditionally when called from Lisp.
5811         * abbrev.el (abbrev-mode):
5812         * allout.el (allout-mode):
5813         * autoinsert.el (auto-insert-mode):
5814         * autoarg.el (autoarg-mode, autoarg-kp-mode):
5815         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5816         (global-auto-revert-mode):
5817         * battery.el (display-battery-mode):
5818         * composite.el (global-auto-composition-mode)
5819         (auto-composition-mode):
5820         * delsel.el (delete-selection-mode):
5821         * desktop.el (desktop-save-mode):
5822         * dired-x.el (dired-omit-mode):
5823         * dirtrack.el (dirtrack-mode):
5824         * doc-view.el (doc-view-minor-mode):
5825         * double.el (double-mode):
5826         * electric.el (electric-indent-mode, electric-pair-mode):
5827         * emacs-lock.el (emacs-lock-mode):
5828         * epa-hook.el (auto-encryption-mode):
5829         * follow.el (follow-mode):
5830         * font-core.el (font-lock-mode):
5831         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5832         * help.el (temp-buffer-resize-mode):
5833         * hilit-chg.el (highlight-changes-mode)
5834         (highlight-changes-visible-mode):
5835         * hi-lock.el (hi-lock-mode):
5836         * hl-line.el (hl-line-mode, global-hl-line-mode):
5837         * icomplete.el (icomplete-mode):
5838         * ido.el (ido-everywhere):
5839         * image-file.el (auto-image-file-mode):
5840         * image-mode.el (image-minor-mode):
5841         * iswitchb.el (iswitchb-mode):
5842         * jka-cmpr-hook.el (auto-compression-mode):
5843         * linum.el (linum-mode):
5844         * longlines.el (longlines-mode):
5845         * master.el (master-mode):
5846         * mb-depth.el (minibuffer-depth-indicate-mode):
5847         * menu-bar.el (menu-bar-mode):
5848         * minibuf-eldef.el (minibuffer-electric-default-mode):
5849         * mouse-sel.el (mouse-sel-mode):
5850         * msb.el (msb-mode):
5851         * mwheel.el (mouse-wheel-mode):
5852         * outline.el (outline-minor-mode):
5853         * paren.el (show-paren-mode):
5854         * recentf.el (recentf-mode):
5855         * reveal.el (reveal-mode, global-reveal-mode):
5856         * rfn-eshadow.el (file-name-shadow-mode):
5857         * ruler-mode.el (ruler-mode):
5858         * savehist.el (savehist-mode):
5859         * scroll-all.el (scroll-all-mode):
5860         * scroll-bar.el (scroll-bar-mode):
5861         * server.el (server-mode):
5862         * shell.el (shell-dirtrack-mode):
5863         * simple.el (auto-fill-mode, transient-mark-mode)
5864         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5865         (line-number-mode, column-number-mode, size-indication-mode)
5866         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5867         * strokes.el (strokes-mode):
5868         * time.el (display-time-mode):
5869         * t-mouse.el (gpm-mouse-mode):
5870         * tool-bar.el (tool-bar-mode):
5871         * tooltip.el (tooltip-mode):
5872         * type-break.el (type-break-mode-line-message-mode)
5873         (type-break-query-mode):
5874         * view.el (view-mode):
5875         * whitespace.el (whitespace-mode, whitespace-newline-mode)
5876         (global-whitespace-mode, global-whitespace-newline-mode):
5877         * xt-mouse.el (xterm-mouse-mode): Doc fix.
5879         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5880         Fix autogenerated docstring.
5882 2011-10-19  Juri Linkov  <juri@jurta.org>
5884         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5885         by checking environment variables "DESKTOP_SESSION" and
5886         "XDG_CURRENT_DESKTOP".  (Bug#9779)
5888 2011-10-19  Juri Linkov  <juri@jurta.org>
5890         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5891         (browse-url-chromium-program, browse-url-chromium-arguments):
5892         New defcustoms.
5893         (browse-url-default-browser): Check for `browse-url-chromium' and
5894         call `browse-url-chromium-program'.
5895         (browse-url-chromium): New command.  (Bug#9779)
5897 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
5899         * facemenu.el (list-colors-duplicates): On Windows, detect more
5900         duplicates by assuming that only colors matching "^System" are
5901         special "system colors".  (Bug#9722)
5903 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5905         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5906         to distinguish the author from the committer.
5908 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
5910         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5912 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
5914         * international/mule.el (sgml-html-meta-auto-coding-function):
5915         Add support for detecting encoding in HTML5 specified only as
5916         <meta charset="UTF-8">.  Implementation just makes http-equiv and
5917         content-type parts from HTML4 encoding string optional.  (Bug#9716)
5919 2011-10-18  Glenn Morris  <rgm@gnu.org>
5921         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
5923 2011-10-18  Chong Yidong  <cyd@gnu.org>
5925         * faces.el (cursor): Doc fix.
5927 2011-10-17  Chong Yidong  <cyd@gnu.org>
5929         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5931 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
5933         * dirtrack.el (dirtrack): Support shell buffers with path
5934         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
5936 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
5938         * json.el: Bump version to 1.3 and note change in History.
5939         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5941 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5943         * comint.el (comint-insert-input, comint-send-input)
5944         (comint-get-old-input-default, comint-backward-matching-input)
5945         (comint-next-prompt): Use nil instead of `input' for field property of
5946         past user input (bug#114).
5948         * minibuffer.el (completion--replace): Inherit surrounding properties
5949         (bug#114).
5950         (minibuffer-complete-and-exit): Use it.
5952         * comint.el (comint--table-subvert): Quote the all-completions output
5953         (bug#9160).
5955 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
5957         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5959         * menu-bar.el (menu-bar-file-menu): Add entry for making new
5960         window on right of selected.  (Bug#9350) Reword other window
5961         entries and separate them from frame entries.
5963 2011-10-15  Glenn Morris  <rgm@gnu.org>
5965         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5966         Doc fixes.
5968 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
5970         * net/network-stream.el (network-stream-open-starttls):
5971         Improve detection of failure due to lack of TLS support.
5973         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5974         putting the input text in front and in bold.
5976 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5978         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5980         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5981         empty buffer.
5983         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5984         unread-command-events rather than pushing yet-another event.
5986 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
5988         * mail/sendmail.el (sendmail-query-once): Improve the wording of
5989         the explanation of the possible choices.  Make the options passed
5990         to completing-read shorter.
5992 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5994         * textmodes/flyspell.el (flyspell-large-region): Make sure
5995         extended character mode is used if defined (Bug#1339).
5997 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
5999         * simple.el (what-cursor-position): Fix the display of the
6000         character info for LRE, LRO, RLE, and RLO characters by appending
6001         an invisible PDF.
6003 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6005         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6006         even in case of error; add debug spec; simplify data flow.
6007         (with-timeout-handler): Remove.
6009 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
6011         Fix Bug#6019, Bug#9315.
6013         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6014         complete `buffer-file-name', the local file name part could look
6015         remotely (for example on VMS).
6017         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6018         `tramp-run-real-handler'.
6019         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6020         already quoted by '"'.
6022         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6023         Let `file-name-handler-alist' be nil, the local file name part
6024         could look remotely (for example on VMS).
6026 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6028         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6029         from here...
6030         (flyspell-post-command-hook): ...to here.
6032 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6034         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6035         if not needed.
6036         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
6037         using completion.  Protect against "slow" callers.
6038         Remove the "message hack".
6040 2011-10-11  Juri Linkov  <juri@jurta.org>
6042         * isearch.el (isearch-lazy-highlight-word): New variable.
6043         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6044         Use it.  (Bug#9727)
6046 2011-10-11  Glenn Morris  <rgm@gnu.org>
6048         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6049         like f90-previous-statement does.
6051 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6053         * eshell/eshell.el (eshell-command): History should be saved
6054         only in interactive use, to avoid error.
6056 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6058         * minibuffer.el (completion-file-name-table): Fix last change,
6059         i.e. ignore normal errors but not the other ones.
6061 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
6063         * window.el (special-display-buffer-names)
6064         (special-display-regexps): Remove some remnants of earlier
6065         changes from doc-strings.
6066         (quit-windows-on): New function.
6068         * vc/vc.el (vc-revert, vc-rollback):
6069         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6070         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
6071         (Bug#6183) (Bug#7074) (Bug#7447)
6073 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
6075         * window.el (frame-auto-hide-function): Add version tag.
6076         (Bug#9699)
6078 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
6080         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6081         condition.
6083 2011-10-09  Leo Liu  <sdl.web@gmail.com>
6085         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6086         (Bug#9701)
6088 2011-10-08  Glenn Morris  <rgm@gnu.org>
6090         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6091         before the first code statement zero indent.  (Bug#9690)
6093 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
6095         * simple.el (count-words-region): Always count in the region.
6096         Report the number of lines and characters too.
6097         (count-words): New command, which counts in the buffer if the
6098         region is inactive, as count-words-region used to.
6099         (count-words--message): New function.  Handle plurals.
6100         (count-lines-region): Make it an alias for count-words-region.
6102         * bindings.el (esc-map): Replace count-lines-region with
6103         count-words-region.
6105 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
6107         * window.el (window--delete): Delete dedicated frame
6108         unconditionally when argument KILL is non-nil.  (Bug#9699)
6109         (switch-to-buffer): Fix doc-string typo.
6111 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6113         * eshell/eshell.el (eshell-command): Avoid using hooks.
6115 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
6117         * bindings.el ([M-left],[M-right]): Bind to left-word and
6118         right-word respectively.
6120 2011-10-07  Glenn Morris  <rgm@gnu.org>
6122         * cus-start.el (debug-on-quit): Fix custom type.
6124 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6126         * subr.el (define-key-after): Clarify that the function is not
6127         useful for non-menu keymaps.
6129         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6131 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6133         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6134         in current minibuffer (Fix bug with recursive minibuffers).
6136 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
6138         * progmodes/gdb-mi.el (gdb): Doc fix.
6140 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
6142         * window.el (frame-auto-hide-function): New option replacing
6143         frame-auto-delete.  Suggested by Stefan Monnier.
6144         (window--delete): Call frame-auto-hide-function instead of
6145         investigating frame-auto-delete.
6146         (window-point-1, set-window-point-1): New functions.
6147         (window-in-direction, record-window-buffer, window-state-get-1)
6148         (display-buffer-record-window): Use window-point-1 instead of
6149         window-point.
6150         (set-window-buffer-start-and-point): Use set-window-point-1.
6152 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6154         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6156 2011-10-05  Glenn Morris  <rgm@gnu.org>
6158         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6159         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
6161 2011-10-05  Leo Liu  <sdl.web@gmail.com>
6163         * subr.el (read-char-choice): Fix argument to buffer-live-p which
6164         works with buffer object.
6166 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6168         * mpc.el (mpc-tool-bar-map): Add labels.
6170 2011-10-04  Glenn Morris  <rgm@gnu.org>
6172         * calendar/holidays.el (calendar-check-holidays): Doc fix.
6174 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
6176         * window.el (window--delete): New function.
6177         (frame-auto-delete): Resuscitate option.
6178         (bury-buffer, replace-buffer-in-windows)
6179         (quit-window): Rewrite using window--delete.
6180         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6181         Pass display-buffer-mark-dedicated to window--display-buffer-2
6182         (Bug#9639).
6184 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6186         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6187         returns a list (bug#9554).  Add remote file name completion.
6188         * comint.el (comint--table-subvert): Curry and get quote&unquote
6189         functions as arguments.
6190         (comint--complete-file-name-data): Adjust call accordingly.
6191         * pcomplete.el (pcomplete--table-subvert): Remove.
6192         (pcomplete-completions-at-point): Use comint--table-subvert instead.
6194         * minibuffer.el (completion-table-case-fold): Use currying.
6195         (completion--styles-type, completion--cycling-threshold-type):
6196         New constants.
6197         (completion-styles, completion-category-overrides)
6198         (completion-cycle-threshold): Use them.
6199         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6200         completion-table-case-fold.
6202 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
6204         * minibuffer.el (completion-category-overrides): Fix type of styles
6205         and add more user friendly tags (bug#9660).
6207 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6209         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6210         (mule-input-method-string): New widget.
6211         (default-input-method, language-info-custom-alist): Use it.
6213 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6215         * pcomplete.el: Require comint.
6216         (pcomplete--common-suffix): Remove.
6217         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6218         (pcomplete--table-subvert): Sync with comint--table-subvert.
6219         (pcomplete--entries): Use comint-completion-file-name-table.
6220         * comint.el (comint-unquote-filename): Simplify.
6221         (comint-completion-file-name-table): New function (bug#9616).
6222         (comint--complete-file-name-data): Use it.
6224         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6225         (pcmpl-gnu-tar-buffer): Remove.
6226         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6227         around.  Make sure pcomplete-suffix-list is only changed temporarily.
6228         Don't look inside the tar's file if it's too large.
6230 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
6232         * cus-edit.el (custom-mode-map):
6233         * epa.el (epa-key-list-mode-map):
6234         * man.el (Man-mode-map):
6235         * startup.el (splash-screen-keymap):
6236         * simple.el (special-mode-map): Use scroll-up-command and
6237         scroll-down-command.
6239         * progmodes/idlw-help.el (idlwave-help-mode-map):
6240         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6241         * net/newst-plainview.el (newsticker-mode-map):
6242         * emulation/ws-mode.el (wordstar-mode-map):
6243         * emulation/vi.el (vi-com-map):
6244         * calc/calc-graph.el (calc-graph-show-dumb):
6245         * term/sun.el (terminal-init-sun):
6246         * term/ns-win.el (global-map):
6247         * progmodes/grep.el (grep-mode-map):
6248         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6249         * mail/rmail.el (rmail-mode-map):
6250         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6252         * custom.el (custom-safe-themes, load-theme): Treat value of t for
6253         custom-safe-themes as special.
6255 2011-10-01  Julien Danjou  <julien@danjou.info>
6257         * notifications.el (notifications-notify): Fix docstring.
6259 2011-10-01  Per Starbäck  <per@starback.se>
6261         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
6263 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
6265         * startup.el (command-line-1): Fix last fix by inserting
6266         initial-scratch-message into *scratch* before displaying it.
6267         (Bug#9605) and (Bug#9636)
6269 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
6271         * simple.el (line-move): If auto-hscroll-mode is disabled and the
6272         window is hscrolled, move by logical lines.  (Bug#9607)
6273         (line-move-visual): Update the doc string to the above effect.
6275 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
6277         * window.el (display-buffer-record-window): When WINDOW is the
6278         selected window use `point' instead of `window-point'.  (Bug#9626)
6280         * startup.el (command-line-1): Use insert-before-markers when
6281         inserting initial-scratch-message.  (Bug#9605)
6283         * help.el (help-window): Remove variable.
6285 2011-09-29  Glenn Morris  <rgm@gnu.org>
6287         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6289 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
6291         * descr-text.el (describe-char-categories): Accept category
6292         descriptions more than one line long.
6294 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6296         * simple.el (delete-trailing-whitespace): Fix last change.
6298         * progmodes/perl-mode.el (perl-syntax-propertize-function):
6299         Don't confuse "y => 3" as the beginning of a `y' operation.
6301         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6302         object has more than 4 slots (bug#9613).
6304 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
6306         * subr.el (with-output-to-temp-buffer):
6307         * net/quickurl.el (quickurl, quickurl-browse-url):
6308         Fix typos in docstrings.
6310 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
6312         * minibuffer.el (completion-styles)
6313         (completion-category-overrides): Cross reference each other in doc
6314         strings.
6316 2011-09-27  Glenn Morris  <rgm@gnu.org>
6318         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6319         to split-string.  (Bug#9606)
6321 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6323         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6324         (bug#9615).
6326 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
6328         * emacs-lisp/package.el (list-packages): Fix echo area message.
6330 2011-09-27  Leo Liu  <sdl.web@gmail.com>
6332         * ido.el (ido-read-internal): Accept cons cell HIST arg.
6334 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
6336         * net/dbus.el (dbus-unregister-object): Don't release services for
6337         registered signals.  (Bug#9581)
6339 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
6341         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6342         function that picks between cfengine 2 and 3 support
6343         automatically.  Update docs accordingly.
6345 2011-09-22  Kenichi Handa  <handa@m17n.org>
6347         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6348         ZERO.
6349         (indian-itrans-v5-table-for-tamil): New variable.
6350         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6352 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
6354         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6355         that's true if the current command involved collapsing of text.
6356         It's reset to false at the beginning of the next command.
6357         (allout-post-command-business): Move the cursor to the beginning
6358         of entry if the cursor is hidden and collapsing activity just
6359         happened.
6361 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
6363         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6364         tracking (Bug#9541).
6366 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
6368         * net/newst-reader.el (newsticker-html-renderer)
6369         (newsticker-show-news): Automatically load html rendering package
6370         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
6371         because w3m-fill-column is let-bound" and the error "Symbol's value
6372         as variable is void: w3m-fill-column".
6374 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
6376         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6377         Release services only if they are defined.  (Bug#9581)
6379 2011-09-23  Richard Stallman  <rms@gnu.org>
6381         * textmodes/paragraphs.el (forward-sentence): For backwards case,
6382         distinguish start of paragraph from start of its text.
6384         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6386         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6387         (rmail-generate-viewer-buffer): Put that hook on view buffer.
6388         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6390 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
6392         * international/mule-diag.el (mule-diag): Insert a newline after
6393         each fontset description.
6395 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6397         * simple.el (delete-trailing-whitespace):
6398         Document last change; simplify.
6400 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
6402         * simple.el (delete-trailing-whitespace): Also delete
6403         extra newlines at the end of the buffer.
6405         * textmodes/picture.el: Make motion commands obey shift-select-mode.
6406         (picture-newline): Use forward-line so as to ignore fields.
6408 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6410         * subr.el (with-wrapper-hook): Fix edebug spec.
6412 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6414         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6415         (bug#4538).
6417 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
6419         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6420         Fix nasty bug using wrong cached values.
6422 2011-09-23  Alan Mackenzie  <acm@muc.de>
6424         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6426 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
6428         * window.el (pop-to-buffer): Ensure right window is selected if we
6429         chose another frame.
6431 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
6433         * simple.el (what-cursor-position): Use get-char-property-change
6434         and next-single-char-property-change, to be able to show display
6435         properties that come from overlays as well as text properties.
6437 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
6439         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6441         * cmuscheme.el (run-scheme, switch-to-scheme):
6442         * cus-edit.el (customize-group, custom-buffer-create)
6443         (customize-browse):
6444         * info.el (info):
6445         * shell.el (shell):
6446         * mail/sendmail.el (mail):
6447         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6449 2011-09-22  Richard Stallman  <rms@gnu.org>
6451         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6452         move back only to line beg, don't move back over blank lines.
6454 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
6456         * files.el (copy-directory): Set directory attributes only in case
6457         they could be retrieved from the source directory.  (Bug#9565)
6459 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
6461         * progmodes/hideshow.el (hs-looking-at-block-start-p)
6462         (hs-find-block-beginning, hs-hide-level-recursive):
6463         Ignore strings as well as comments.  (Bug#9502)
6465 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
6467         * progmodes/sql.el (sql-comint-postgres):
6468         Convert port number to a string.  (Bug#9566)
6470 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
6472         * window.el (quit-window): Undedicate window when switching to
6473         previous buffer.  Reported by Thierry Volpiatto
6474         <thierry.volpiatto@gmail.com>.
6475         (special-display-popup-frame): When popping up a new frame reset
6476         its previous buffers to nil.  Simplify code.
6478 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
6480         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6481         and process filter, as done also in `shell-command'.
6483 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
6485         * window.el (set-window-buffer-start-and-point):
6486         Call set-window-start with NOFORCE argument t.
6487         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6488         (quit-window): Reword doc-string.  Handle new format of
6489         quit-restore parameter.  Don't delete window if it has a
6490         previous buffer we can show instead of the present one.
6491         (display-buffer-record-window): Rewrite using a new format for
6492         the quit-restore window parameter
6493         (special-display-popup-frame, display-buffer-same-window)
6494         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6495         (display-buffer-pop-up-window, display-buffer-use-some-window):
6496         Adapt symbol passed to display-buffer-record-window.
6497         * help.el (help-window-setup): Handle new format of quit-restore
6498         parameter.
6500 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6502         * faces.el (face-list): Fix docstring (bug#9564).
6504         * window.el (display-buffer--action-function-custom-type):
6505         Don't include internal functions in the Custom interface.
6507 2011-09-20  Juri Linkov  <juri@jurta.org>
6509         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6510         (Info-forward-node, Info-backward-node, Info-next-preorder)
6511         (Info-last-preorder): Use it.  (Bug#9528)
6513 2011-09-20  Juri Linkov  <juri@jurta.org>
6515         * info.el (Info-last-preorder): Visit last menu item only when
6516         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6518 2011-09-20  Julien Danjou  <julien@danjou.info>
6520         * password-cache.el (password-cache-remove): Remove entries even if the
6521         value is nil, so that password with a nil value (negative caching) is
6522         possible to invalidate.
6524 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
6526         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6527         all whitespace around breakpoint.  (Bug#9553)
6528         (f90-find-breakpoint): Only break at whitespace inside a comment.
6530 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6532         * minibuffer.el (completion-file-name-table): Keep track of errors.
6533         (completion-table-with-predicate): Handle the case where pred1 is nil.
6534         * pcomplete.el (pcomplete-completions-at-point): Simplify.
6536 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6538         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6539         (debugger-return-value): Signal an error if the debugging context does
6540         not await any return value.
6542         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6543         * image-mode.el (image-toggle-display-text)
6544         (image-toggle-display-image): Stay away from evil `intangible'.
6546 2011-09-19  Leo Liu  <sdl.web@gmail.com>
6548         * replace.el (occur-revert-arguments): Make it permanent-local.
6549         (occur-mode): Don't call font-lock-defontify.
6551 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
6553         * net/ldap.el (ldap-search-internal): Don't push empty search
6554         result (Bug#9508).
6556 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6558         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6560 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
6562         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6563         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6565 2011-09-18  Juri Linkov  <juri@jurta.org>
6567         * buff-menu.el (Buffer-menu-mode-map):
6568         * dired.el (dired-mode-map):
6569         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6570         (lisp-interaction-mode-map):
6571         * emacs-lisp/package.el (package-menu-mode-map):
6572         * epa.el (epa-key-list-mode-map):
6573         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6574         (menu-bar-options-menu):
6575         * outline.el (outline-mode-menu-bar-map):
6576         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6577         * vc/vc-dir.el (vc-dir-menu-map):
6578         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6579         Capitalize non-function content words in menu item strings.
6581         * dired.el (dired-mode-map): Add menu item for
6582         `image-dired-dired-toggle-marked-thumbs'.
6584 2011-09-18  Juri Linkov  <juri@jurta.org>
6586         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6587         to `isearch-case-fold-search' and restore its original value
6588         after the `isearch-mode' call.
6590 2011-09-18  Juri Linkov  <juri@jurta.org>
6592         * progmodes/grep.el (grep-process-setup): Don't check code for 1
6593         because `zgrep' returns 1 for successful matches (bug#9226).
6595 2011-09-18  Juri Linkov  <juri@jurta.org>
6597         * info.el (Info-extract-menu-node-name): Check the second match
6598         for empty string (second test-case of bug#9528).
6599         (Info-last-preorder): Let-bind `Info-history' to nil to not add
6600         intermediate nodes to the history (first test-case of bug#9528).
6602 2011-09-18  Juri Linkov  <juri@jurta.org>
6604         * info.el (Info-mode-syntax-table): New variable.
6605         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6607 2011-09-18  Juri Linkov  <juri@jurta.org>
6609         * info.el (Info-file-supports-index-cookies):
6610         Increment line-beginning-position's arg from 3 to 4 because makeinfo
6611         outputs one more line for long file names (bug#4142).
6613 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
6615         * newcomment.el (comment-normalize-vars): If prompting for
6616         comment-start, set comment-start-skip too (Bug#8424).
6618 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
6620         * icomplete.el: Fix previous fix of Bug#5849.
6621         (icomplete-mode): Don't set completion-show-inline-help.
6622         (icomplete-minibuffer-setup): Set completion-show-inline-help
6623         locally during icompletion.
6625 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
6627         * woman.el (woman2-process-escapes): Don't delete unrecognized
6628         escapes (Bug#7843).
6630         * files.el (inhibit-first-line-modes-regexps): Add image files.
6631         (hack-local-variables-prop-line): Return nil for malformed
6632         prop-lines (Bug#9044).
6634 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
6636         * net/tramp.el (top): Don't require 'shell.
6637         (tramp-methods): Fix docstring.
6638         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6639         Return complete remote file name.  Handle "smb" case.
6640         Use `tramp-tmpdir', if defined for the respective method.
6641         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6643         * net/tramp-compat.el (top): Require 'shell.
6645         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6646         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6647         `tramp-current-host'.
6648         (tramp-get-remote-tmpdir): Remove.
6650         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6651         `tramp-tmpdir' entries.
6652         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6653         (tramp-smb-handle-file-attributes): Ignore errors.
6654         (tramp-smb-wait-for-output): Check also for process end.
6656 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6658         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6659         when sending QUIT (bug#9312).
6661 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
6663         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6664         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6665         occur-mode-display-occurrence.
6666         (occur-edit-mode): Add usage message.
6667         (occur-cease-edit): New command.
6668         (occur-after-change-function): Use text properties to find the
6669         position of the prefix text.
6670         (occur-engine): Set stickiness of prefix text properties.
6672 2011-09-17  Glenn Morris  <rgm@gnu.org>
6674         * progmodes/etags.el (complete-tag):
6675         Fix call to completion-in-region.  (Bug#9526)
6677 2011-09-17  Juri Linkov  <juri@jurta.org>
6679         * textmodes/ispell.el (ispell-word): Add to the error message
6680         the word, ispell program name and current dictionary (bug#9121).
6681         (ispell-tex-arg-end): Capitalize "error" in the error message.
6683 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
6685         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6686         check.  (Bug#4251)
6688 2011-09-17  Juri Linkov  <juri@jurta.org>
6690         * window.el (window-safe-min-height, window-safe-min-width):
6691         Fix typos (followup to bug#9522).
6693 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
6695         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6697 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
6699         * simple.el (line-move): If goal-column is set, move by logical
6700         lines, not by display lines.  (Bug#971)
6701         (next-line, previous-line, goal-column, line-move-visual): Doc fix
6702         to reflect the above change.
6704 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6706         * image.el (imagemagick-register-types): Use regexp-opt.
6708 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
6710         * window.el (display-buffer-base-action): Rename from
6711         display-buffer-default-action.  Make default value empty.
6712         (display-buffer-overriding-action): Convert to defvar.
6713         (display-buffer-fallback-action): New var.
6715 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
6717         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6718         declaration.
6719         (package--add-to-archive-contents): If there is a duplicate entry
6720         with an older version, remove it.
6721         (package-menu-mark-delete, package-menu-mark-install)
6722         (package-menu-mark-unmark): Make unused args optional.
6723         (package-menu-mark-obsolete-for-deletion):
6724         Use package-menu-get-status instead of a regexp search.
6725         (package-menu-get-status): Use tabulated-list-entry.
6726         (package-menu-mark-upgrades): New command.
6727         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
6728         (package-menu-execute): Do installation before deletion.
6729         (package-menu-refresh, package-menu-execute): Use derived-mode-p
6730         instead of checking major-mode.
6731         (package-menu--find-upgrades): New function.
6733 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6735         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6736         passwords in the log buffer.
6737         (smtpmail-process-filter): Update the process marker so that the
6738         "broken by peer" status message is inserted in the right place.
6740 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6742         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6743         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6744         bibtex-completion-at-point-function.
6745         (bibtex-completion-at-point-function): Use them.
6747         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6749         * mpc.el (mpc-constraints-tag-lookup): New function.
6750         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6751         also to browser "album|playlist".
6753 2011-09-14  Juri Linkov  <juri@jurta.org>
6755         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
6756         (isearch-edit-string): Use length of `isearch-string' when
6757         `isearch-fail-pos' returns nil.
6758         (isearch-message): Remove duplicate code and call
6759         `isearch-fail-pos' with arg `t'.
6761 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
6763         * replace.el (occur-mode-goto-occurrence): Don't force using other
6764         window (Bug#9499).
6766         * dired-aux.el (dired-do-chmod): Don't provide initial input.
6768 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
6770         * window.el (display-buffer-window): Remove.
6771         (display-buffer-record-window): Use help-setup window parameter
6772         instead of variable display-buffer-window.
6773         (display-buffer-function, special-display-buffer-names)
6774         (special-display-function): Mention help-setup parameter instead
6775         of display-buffer-window in doc-string.
6776         * help.el (help-window-setup): New argument help-window.
6777         Use help-window-setup parameter instead of display-buffer-window.
6778         Reword some messages.
6779         (with-help-window): Pass window used for displaying the buffer
6780         to help-window-setup.  Don't set display-buffer-window.
6782 2011-09-13  Glenn Morris  <rgm@gnu.org>
6784         * emacs-lisp/debug.el (debugger-make-xrefs):
6785         Preserve point.  (Bug#9462)
6787 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
6789         * window.el (window-deletable-p): Use next-frame.
6791 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
6793         * window.el (window-auto-delete): Remove.
6794         (window-deletable-p): Remove argument FORCE.  Don't deal with
6795         dedication and previous buffers.
6796         (switch-to-prev-buffer): Don't delete window.
6797         (delete-windows-on): Delete a window's frame if and only if the
6798         window is dedicated.
6799         (replace-buffer-in-windows): Delete buffer's window or frame if
6800         and only if window is dedicated.
6801         (quit-window): Handle quit-restore as before last change.
6802         (bury-buffer): Delete window only if window-deletable-p returns t.
6804 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
6806         * window.el (window-deletable-p): Never delete the last frame on a
6807         given terminal.
6809 2011-09-13  Glenn Morris  <rgm@gnu.org>
6811         * help.el (describe-key-briefly): Copy previous standard-output change.
6813 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
6815         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
6817 2011-09-13  Glenn Morris  <rgm@gnu.org>
6819         * emacs-lisp/lisp-mode.el (lisp-indent-function):
6820         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6822 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
6824         * dired-aux.el (dired-mark-read-string): Don't return default
6825         value on empty input (Bug#9361).
6826         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6827         Omit initial minibuffer contents.
6828         (dired-do-chmod): Signal an error on empty input.
6829         (dired-mark-read-string): Don't return default on empty input.
6831         * files.el (file-modes-symbolic-to-number): Doc fix.
6833 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6835         * international/mule-cmds.el (ucs-completions): Remove.
6836         (read-char-by-name): Use complete-with-action instead; add metadata.
6838 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
6840         * window.el (display-buffer--action-function-custom-type)
6841         (display-buffer--action-custom-type): New vars.
6842         (display-buffer-alist, display-buffer-default-action)
6843         (display-buffer-overriding-action): Add defcustom types.
6845         * frame.el (delete-other-frames): Doc fix (Bug#276).
6847 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6849         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6851 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
6853         Change modes that used same-window-* vars to use switch-to-buffer.
6855         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6856         Use switch-to-buffer.
6858         * cus-edit.el (customize-group, custom-buffer-create)
6859         (customize-browse, custom-buffer-create-other-window):
6860         Use switch-to-buffer or switch-to-buffer-other-window.
6862         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6863         (Info-prev, Info-up, Info-speedbar-goto-node)
6864         (info-display-manual): Use switch-to-buffer.
6865         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6867         * mail/sendmail.el (mail): Use switch-to-buffer.
6868         (mail-recover): Use switch-to-buffer-other-window.
6870         * cmuscheme.el (run-scheme, switch-to-scheme):
6871         * ielm.el (ielm):
6872         * shell.el (shell):
6873         * net/rlogin.el (rlogin):
6874         * net/telnet.el (telnet, rsh):
6875         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6877 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
6879         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6881 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6883         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6884         so don't mention it (bug#9301).
6885         (dired-sort-toggle-or-edit): Clarify string further.
6887         * faces.el (face-spec-set-match-display): Make `(type graphic)'
6888         match `x', `w32' and `ns', like the manual says (bug#9029).
6890         * subr.el (eval-after-load): Doc string clarification (bug#9125).
6891         (process-kill-buffer-query-function): Mention the buffer name in
6892         the query.
6894         * image-mode.el (image-next-line): The line parameter is mandatory
6895         (bug#9258).
6897         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6898         which can be useful (bug#9301).
6900         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6902         * subr.el (match-string): Mention that the current buffer should
6903         be the same as the search was done in (bug#9282).
6905         * facemenu.el: Disable the remove-* commands if the mark isn't
6906         active (bug#9162).
6908 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
6910         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6911         of display-buffer.
6912         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6914         * replace.el (occur-mode-goto-occurrence)
6915         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6916         and display-buffer.
6918         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6919         display-buffer.
6921         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6922         special-display and same-window variables.
6923         (mail-other-window): Use switch-to-buffer-other-window.
6924         (mail-other-frame): USe switch-to-buffer-other-frame.
6926         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6927         Use display-buffer-other-frame.
6928         (gdb-display-gdb-buffer): Use pop-to-buffer.
6930         * progmodes/gud.el (gud-goto-info): Use info-other-window.
6932         * progmodes/python.el: Don't set same-window-buffer-names.
6934         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6936         * window.el (display-buffer-alist): Add *Python*.
6938 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
6940         * window.el (display-buffer-alist): Add entry for buffers
6941         previously handled same-window-*.
6942         (display-buffer-alist, display-buffer-default-action)
6943         (display-buffer-overriding-action): Mark as risky.
6944         (display-buffer-alist): Document action function changes.
6945         (display-buffer--same-window-action)
6946         (display-buffer--other-frame-action): New variables.
6947         (switch-to-buffer, display-buffer-other-frame): Use them.
6948         (display-buffer): Rename reuse-frame entry to reusable-frames.
6949         (display-buffer-reuse-selected-window): Function deleted.
6950         (display-buffer-reuse-window): Handle reusable-frames alist entry.
6951         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6952         (display-buffer-special): New function.
6953         (display-buffer--maybe-pop-up-frame-or-window): Rename from
6954         display-buffer-reuse-or-pop-window.  Split off special-display
6955         part into display-buffer-special.
6956         (display-buffer-use-some-window): Don't perform any special
6957         pop-up-frames handling.
6958         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6959         (display-buffer--maybe-same-window): Rename from
6960         display-buffer-maybe-same-window.
6962         * info.el: Don't set same-window-regexps.
6963         (info-setup): New function.
6964         (info-other-window, info): Call it.
6966         * cus-edit.el: Don't set same-window-regexps.
6967         (customize-group): New argument.
6968         (customize-group-other-window): Use it.
6969         (customize-face, customize-face-other-window): Likewise.
6970         (custom-buffer-create-other-window): Use pop-to-buffer directly.
6972         * net/rlogin.el:
6973         * net/telnet.el:
6974         * progmodes/gud.el: Don't set same-window-regexps.
6976         * cmuscheme.el:
6977         * ielm.el:
6978         * shell.el:
6979         * mail/sendmail.el:
6980         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6982 2011-09-10  Juri Linkov  <juri@jurta.org>
6984         * isearch.el (isearch-edit-string): Remove obsolete mention of
6985         `C-w' (`isearch-yank-word-or-char') from docstring.
6986         (isearch-query-replace): Fix typo in docstring (bug#9466).
6988 2011-09-10  Juri Linkov  <juri@jurta.org>
6990         * paren.el (show-paren-function): Don't show escaped parens.
6991         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
6993 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
6995         * mail/sendmail.el (mml-to-mime, mml-attach-file)
6996         (mm-default-file-encoding): Remove autoload forms, they are
6997         replaced with autoload cookies in mml.el and mm-encode.el.
6998         (mail-add-attachment): New command.
6999         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7000         (mail-mode): Mention mail-insert-file and mail-add-attachment in
7001         the doc string.
7002         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7004 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
7006         * simple.el (count-words-region): Use buffer if there's no region
7007         (bug#9429).
7009 2011-09-09  Juri Linkov  <juri@jurta.org>
7011         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7012         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7013         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
7015 2011-09-09  Alan Mackenzie  <acm@muc.de>
7017         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7018         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
7020 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
7022         Fix for Savannah bug#9392.
7023         * simple.el (mail-encode-mml): New defvar.
7025         * mail/rmail.el (mail-encode-mml): Add a defvar.
7026         (rmail-enable-mime-composing): Default to t.
7027         (rmail-forward): Use MIME method of forwarding only if both
7028         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7029         Set mail-encode-mml non-nil if the MIME method was used.
7031         * mail/sendmail.el (mml-to-mime): Add autoload form.
7032         (mail-encode-mml): Add a defvar.
7033         (mail-mode): Make mail-encode-mml buffer-local and initialize it
7034         to nil.
7035         (mail-send): If mail-encode-mml is non-nil, run the outgoing
7036         message through mml-to-mime, and reset mail-encode-mml to nil.
7038 2011-09-09  Glenn Morris  <rgm@gnu.org>
7040         * woman.el (woman-if-body): When processing an .el block,
7041         do not delete the next .el block as well.  (Bug#9447)
7042         (woman-special-characters): Add oq, cq, and hy characters.
7044 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
7046         * window.el (window-deletable-p): Make sure window is live before
7047         invoking window-prev-buffers.
7049 2011-09-08  Leo Liu  <sdl.web@gmail.com>
7051         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
7053 2011-09-08  Juri Linkov  <juri@jurta.org>
7055         * progmodes/compile.el (compilation-environment): Make it
7056         a defcustom (bug#8340).
7058 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
7060         * window.el (frame-auto-delete): Rename to window-auto-delete.
7061         Make it control auto-deletion of windows and/or frames.
7062         (window-deletable-p): New argument FORCE.  Rewrite conditions
7063         for deleting window/frame.  (Bug#9419)
7064         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7065         Rewrite handling of case when window/frame can be deleted.
7066         (delete-windows-on): Call window-deletable-p with new FORCE
7067         argument t.  (Bug#9456)
7069 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
7071         * help-mode.el (help-mode): Restore autoload.
7073 2011-09-07  Juri Linkov  <juri@jurta.org>
7075         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7076         `compilation-environment'.  Set buffer-local
7077         `compilation-environment' to `thisenv' later after (funcall mode).
7078         (Bug#8340)
7080         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
7081         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7082         instead of replacing its value.  (Bug#8340)
7084 2011-09-07  Juri Linkov  <juri@jurta.org>
7086         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7087         based on text properties put by `grep-filter' instead of matching
7088         escape sequences.
7089         (grep-mode): Set buffer-local `compilation-error-screen-columns'
7090         to the value of `grep-error-screen-columns' (bug#9438).
7092 2011-09-07  Juri Linkov  <juri@jurta.org>
7094         * simple.el (next-error-highlight, next-error-highlight-no-select):
7095         Doc fix (bug#9432).
7097 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
7099         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7100         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
7102 2011-09-07  Leo Liu  <sdl.web@gmail.com>
7104         * net/rcirc.el (rcirc-mode): Conditionally initialize
7105         rcirc-input-ring.
7107 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7109         * emacs-lisp/find-func.el (find-function-C-source): Only set
7110         find-function-C-source-directory after checking that we found a source
7111         file there (bug#9440).
7113 2011-09-06  Alan Mackenzie  <acm@muc.de>
7115         * isearch.el (isearch-other-meta-char): Wherever a key list is
7116         unread, "unread" the prefix arg, too.  This fixes bug #8901.
7118 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
7120         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7122 2011-09-05  Juri Linkov  <juri@jurta.org>
7124         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7126 2011-09-05  Juri Linkov  <juri@jurta.org>
7128         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7129         keeping point where processing of grep matches begins, and
7130         continue to delete remaining escape sequences from the same point.
7131         (grep-filter): Make leading zero optional in "0?1;31m" because
7132         git-grep emits "\033[1;31m" escape sequences unlike expected
7133         "\033[01;31m" as GNU Grep does (bug#9408).
7134         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7136 2011-09-05  Juri Linkov  <juri@jurta.org>
7138         * subr.el (y-or-n-p): Capitalize "yes".
7140 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
7142         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
7143         `tramp-cache-unload-hook' where appropriate.
7144         (tramp-methods): Rename `tramp-remote-sh' to
7145         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
7146         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7148         * net/tramp-sh.el (top): Don't require 'shell.
7149         (tramp-methods): Add `tramp-remote-shell' and
7150         `tramp-remote-shell-args' entries.
7151         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7152         (tramp-sh-handle-shell-command): Remove.
7153         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7154         Use `tramp-remote-shell'.
7156 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
7158         * mail/sendmail.el (sendmail-query-once-function): Delete.
7159         (sendmail-query-once): Save directly to send-mail-function.
7160         Update message-send-mail-function too.
7162         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7164 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
7166         * progmodes/python.el (python-mode-map): Use correct function to
7167         start python interpreter from menu-bar (as reported by Geert
7168         Kloosterman).
7169         (inferior-python-mode-map): Fix typo.
7170         (python-shell-map): Remove.
7172 2011-09-03  Deniz Dogan  <deniz@dogan.se>
7174         * net/rcirc.el (rcirc-print): Simplify code for
7175         rcirc-scroll-show-maximum-output.  There is no need to walk
7176         through all windows to find the right one.
7178 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
7180         * help.el (help-return-method): Doc fix.
7182 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
7184         * window.el (window-deletable-p): Don't return a non-nil value
7185         when there's a buffer that was shown in the window before.
7186         (Bug#9419)
7187         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7188         Set window's previous buffers to nil.
7190 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
7192         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7193         newline before and after the tag line, so it doesn't interfere
7194         with determining the paragraph direction of bidirectional text.
7196 2011-09-03  Leo Liu  <sdl.web@gmail.com>
7198         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
7200 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
7202         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7203         (pop-to-buffer): Change interactive spec.  Pass second argument
7204         directly to display-buffer.
7205         (display-buffer): Fix interactive spec.  Use functionp to
7206         distinguish between a function and a list of functions.
7208         * abbrev.el (edit-abbrevs):
7209         * arc-mode.el (archive-extract):
7210         * autoinsert.el (auto-insert):
7211         * bookmark.el (bookmark-bmenu-list):
7212         * files.el (find-file):
7213         * view.el (view-buffer):
7214         * progmodes/compile.el (compilation-goto-locus):
7215         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7217 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
7219         * window.el (display-buffer-alist): Doc fix.
7220         (display-buffer): Add docstring.  Don't treat
7221         display-buffer-default specially.
7222         (display-buffer-reuse-selected-window)
7223         (display-buffer-same-window, display-buffer-maybe-same-window)
7224         (display-buffer-reuse-window, display-buffer-pop-up-frame)
7225         (display-buffer-pop-up-window)
7226         (display-buffer-reuse-or-pop-window)
7227         (display-buffer-use-some-window): New functions.
7228         (display-buffer-default-action): Use them.
7229         (display-buffer-default): Delete.
7230         (pop-to-buffer-1): Fix choice of actions.
7232 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7234         * minibuffer.el (completion--insert-strings): Don't get confused by
7235         completion entries that end with an LF char.
7237 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
7239         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7241 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
7243         * window.el (display-buffer): Restore interactive spec.
7244         (display-buffer-same-window, display-buffer-other-window):
7245         New functions.
7246         (pop-to-buffer-1): New function.  Use the above.
7247         (pop-to-buffer, pop-to-buffer-same-window): Use it.
7248         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7250         * view.el (view-buffer-other-window, view-buffer-other-frame):
7251         Just use pop-to-buffer.
7253 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7255         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
7257 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
7259         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
7261 2011-08-31  Richard Stallman  <rms@gnu.org>
7263         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7264         of the separation of rmail-view-buffer from rmail-buffer.
7265         If you say no to "replace original", the decrypt is in the
7266         view buffer.  If you say yes, the decrypt goes into the
7267         rmail buffer also.
7269 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
7271         * window.el (display-buffer-window): Rewrite doc-string.
7272         (display-buffer-record-window): New function.
7273         (display-buffer-macro-specifiers)
7274         (display-buffer-even-window-sizes, display-buffer-set-height)
7275         (display-buffer-set-width, display-buffer-in-window)
7276         (display-buffer-reuse-window, display-buffer-split-specifiers)
7277         (display-buffer-side-specifiers, display-buffer-split-window-1)
7278         (display-buffer-split-window, display-buffer-split-atom-window)
7279         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7280         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7281         (display-buffer-other-window-means-other-frame)
7282         (display-buffer-normalize-special)
7283         (display-buffer-normalize-default)
7284         (display-buffer-normalize-argument)
7285         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7286         (display-buffer-normalize-specifiers, display-buffer-frame)
7287         (display-buffer-same-window, display-buffer-same-frame)
7288         (display-buffer-other-window)
7289         (display-buffer-same-frame-other-window)
7290         (display-buffer-other-frame, pop-to-buffer-same-window)
7291         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7292         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7293         (switch-to-buffer-same-frame)
7294         (switch-to-buffer-other-window-same-frame)
7295         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7296         (display-buffer-alist-set-1, display-buffer-alist-set-2)
7297         (display-buffer-alist-set): Remove.
7298         (display-buffer-function, special-display-buffer-names)
7299         (special-display-regexps, special-display-function):
7300         In doc-string refer to display-buffer-window and quit-restore
7301         parameter.
7302         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7303         (special-display-frame-alist, special-display-popup-frame)
7304         (same-window-buffer-names, same-window-regexps, same-window-p)
7305         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7306         (split-window-preferred-function, split-height-threshold)
7307         (split-width-threshold, window-splittable-p)
7308         (split-window-sensibly, window--try-to-split-window)
7309         (window--frame-usable-p, even-window-heights)
7310         (window--even-window-heights, window--display-buffer-1)
7311         (window--display-buffer-2, display-buffer-other-frame):
7312         Restore old Emacs 23 code, order and doc-strings where applicable.
7313         (display-buffer-default, display-buffer-assq-regexp): New functions.
7314         (display-buffer-alist): Rewrite doc-string.
7315         (display-buffer-default-action)
7316         (display-buffer-overriding-action): New variables.
7317         (display-buffer, switch-to-buffer): Rewrite.
7318         (pop-to-buffer): Restore Emacs 23 behavior but use
7319         window-normalize-buffer-to-display.
7320         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7321         Restore Emacs 23 behavior but use
7322         window-normalize-buffer-to-switch-to.
7323         (pop-to-buffer-same-window): Rewrite.
7324         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7325         Rewrite using Emacs 23 options.
7327 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
7329         * net/tramp.el (tramp-root-regexp): Remove.
7330         (tramp-completion-file-name-regexp-unified)
7331         (tramp-completion-file-name-regexp-separate)
7332         (tramp-completion-file-name-regexp-url): Don't use leading volume
7333         letter on win32 systems.  (Bug#5303, Bug#9311)
7334         (tramp-drop-volume-letter): Simplify definition.
7335         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7337 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7339         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7340         (bug#9356).
7342 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
7344         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7346 2011-08-29  Juri Linkov  <juri@jurta.org>
7348         * isearch.el (isearch-done): Don't display message "Mark saved"
7349         when arg `edit' is non-nil to prevent its flicker in the echo area.
7351 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
7353         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7354         obsolete packages for deletion.
7356 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
7358         * help-mode.el (help-mode-map): Add special-mode-map to parent.
7359         (help-mode): Derive help-mode from special-mode.  Don't invoke
7360         view-mode from help-mode.
7361         (help-xref-override-view-map): Remove.
7362         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7363         view-mode is not used anymore.
7365 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
7367         * server.el (server-port): Doc fix.
7369         * cus-theme.el (custom-theme-choose-mode): Inherit from
7370         special-mode (Bug#9124).
7371         (custom-theme-choose-mode-map): Add special-mode to parent.
7373 2011-08-28  Alan Mackenzie  <acm@muc.de>
7375         * progmodes/cc-fonts.el
7376         (c-make-font-lock-BO-decl-search-function): New function.
7377         (c-basic-matchers-after - "Fontify the clauses after various
7378         keywords"): Extract the three keyword lists for the 3 erroneous
7379         constructs from the list of four, and use the new function above
7380         in place of an old one.
7382 2011-08-28  Deniz Dogan  <deniz@dogan.se>
7384         * net/rcirc.el (rcirc-insert-prev-input)
7385         (rcirc-insert-next-input): Remove unused argument.
7387 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7389         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7391 2011-08-27  Alan Mackenzie  <acm@muc.de>
7393         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7394         handle function pointer parameters properly.
7396 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
7398         * window.el (display-buffer-reuse-window): Fix case where
7399         selected window was reused with non-nil OTHER-WINDOW argument.
7400         (Bug#9381)
7402 2011-08-27  Deniz Dogan  <deniz@dogan.se>
7404         * net/rcirc.el (rcirc-check-auth-status): Adding support for
7405         oftc's NickServ messages.
7407 2011-08-27  Glenn Morris  <rgm@gnu.org>
7409         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
7411 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
7413         * emacs-lisp/package.el (package-install): Call package-initialize
7414         if called interactively.
7416 2011-08-26  Leo Liu  <sdl.web@gmail.com>
7418         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
7420 2011-08-25  Juri Linkov  <juri@jurta.org>
7422         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7423         `search-whitespace-regexp' (bug#9364).
7425 2011-08-25  Juri Linkov  <juri@jurta.org>
7427         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7428         `regexp-search-ring' to their global values to protect from
7429         updating by `read-from-minibuffer' (bug#9185).
7431 2011-08-25  Juri Linkov  <juri@jurta.org>
7433         * textmodes/ispell.el (ispell-command-loop): Add newline
7434         at the end of the "Use option `i'..." line.
7436 2011-08-25  Juri Linkov  <juri@jurta.org>
7438         * battery.el (display-battery-mode): If `battery-status-function'
7439         or `battery-mode-line-format' is nil, display the message and set
7440         `display-battery-mode' to nil (bug#9363).
7442 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
7444         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7445         bidi-string-mark-left-to-right; they are unnecessary now.
7447 2011-08-25  Deniz Dogan  <deniz@dogan.se>
7449         * net/quickurl.el: Documentation typo fixes.
7451 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
7453         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7455 2011-08-25  Glenn Morris  <rgm@gnu.org>
7457         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7459         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7460         (smtpmail-via-smtp): Handle nil response from smtp.
7462 2011-08-24  Juri Linkov  <juri@jurta.org>
7464         * proced.el (proced-marked): Inherit from `error' instead of
7465         `font-lock-warning-face'.
7467         * ibuffer.el (ibuffer-marked-face): Change default face from
7468         `font-lock-warning-face' to `warning'.
7469         (ibuffer-deletion-face): Change default face from
7470         `font-lock-type-face' to `error'.
7472         * battery.el (battery-update): Use the face `error' instead of
7473         `font-lock-warning-face' (bug#6117).
7475 2011-08-24  Juri Linkov  <juri@jurta.org>
7477         * faces.el (success): Change face color from "Green3" to
7478         "ForestGreen" on light background (bug#9353).
7480 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
7482         * window.el (quit-window): Rename from quit-restore-window.
7483         Use same arglist as old quit-window.
7484         (frame-auto-delete): Doc fix.
7486         * view.el (view-mode-exit): Use quit-window.
7488 2011-08-24  Juri Linkov  <juri@jurta.org>
7490         * isearch.el (isearch-ring-adjust1): Start visiting previous
7491         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7492         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7493         for empty search string (when the last search string is reused
7494         automatically) to adjust the isearch ring to the last element and
7495         prepare the correct index for further M-p commands (bug#9185).
7497 2011-08-24  Kenichi Handa  <handa@m17n.org>
7499         * international/ucs-normalize.el: If decomposition property of
7500         CHAR is the default one (i.e. a list of CHAR itself), treat it as
7501         nil.
7502         (nfd, nfkd): Likewise.
7504 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7506         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7507         from process filters aren't reliably transmitted to the surrounding
7508         accept-process-output.
7509         (mpc-proc-check): New function.
7510         (mpc-proc-sync): Use it (bug#8293)
7512 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7514         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7515         Add compatibility functions (bug#9313).
7517 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
7519         * cus-start.el (all): Add entry for bidi-paragraph-direction.
7521         * international/uni-bidi.el: Regenerate.
7523 2011-08-23  Kenichi Handa  <handa@m17n.org>
7525         * international/charprop.el:
7526         * international/uni-bidi.el:
7527         * international/uni-category.el:
7528         * international/uni-combining.el:
7529         * international/uni-comment.el:
7530         * international/uni-decimal.el:
7531         * international/uni-decomposition.el:
7532         * international/uni-digit.el:
7533         * international/uni-lowercase.el:
7534         * international/uni-mirrored.el:
7535         * international/uni-name.el:
7536         * international/uni-numeric.el:
7537         * international/uni-old-name.el:
7538         * international/uni-titlecase.el:
7539         * international/uni-uppercase.el: Regenerate.
7541 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
7543         * help.el (help-window-setup): Fix message displayed when other
7544         window is reused.  (Bug#9341)
7546 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7548         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7549         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7551         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7552         Mark obsolete.
7553         * shell.el (shell-parse-pcomplete-arguments): New function.
7554         (shell-completion-vars): Use it instead (bug#9160).
7556 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7558         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7559         strings and comments (bug#9333).
7561         * emacs-lisp/debug.el (debug-arglist): New function.
7562         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
7563         (debug-on-entry-1): Handle interpreted closures (bug#9120).
7565 2011-08-22  Juri Linkov  <juri@jurta.org>
7567         * progmodes/compile.el (compilation-mode-font-lock-keywords):
7568         Revert regexp that highlights output switches to its old
7569         pre-2010-10-28 value and remove one `?' from it (bug#9319).
7571         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7572         to check for empty output (bug#9226).
7574 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
7576         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7577         symbol-constituent as the default, as that stops font-lock from
7578         working properly (Bug#8843).
7580 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7582         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7583         `coding-system-for-*' around the process open call to avoid
7584         auth-source side effects.
7585         (smtpmail-try-auth-methods): Expand the secret password.
7586         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7587         probe hangs.
7589 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
7591         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7593         * emacs-lisp/find-func.el (find-function-noselect): New arg
7594         lisp-only.
7596         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7597         signal an error for built-in functions (Bug#6664).
7599 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7601         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7602         (smtpmail-try-auth-methods): Use it.
7604 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
7606         * font-lock.el (font-lock-fontify-region)
7607         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7608         (font-lock-default-unfontify-buffer)
7609         (font-lock-default-fontify-region)
7610         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7612         * progmodes/compile.el (compilation-error-properties):
7613         Fix confusion between file struct and message struct (Bug#9319).
7614         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7615         `ant' regexp.
7617         * net/browse-url.el (browse-url-firefox): Don't call
7618         browse-url-firefox-sentinel unless using -remote (Bug#9328).
7620 2011-08-20  Glenn Morris  <rgm@gnu.org>
7622         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7624         * tutorial.el (tutorial--default-keys): Update some default bindings.
7626         * files.el (hack-local-variables): Fully ignore case for "mode:".
7628 2011-08-20  Alan Mackenzie  <acm@muc.de>
7630         Resolve invalid use of a regexp in regexp-opt.
7632         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7633         detection for a java annotation.
7635         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7636         detection for a java annotation.
7638         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7639         handling for java.
7640         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7642 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
7644         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7645         (Bug#9274).
7647 2011-08-20  Alan Mackenzie  <acm@muc.de>
7649         Fontify CPP expressions correctly when starting in the middle of
7650         such a construct.  Mainly for when jit-lock etc. starts a chunk
7651         here.
7653         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7654         variable.
7655         (c-make-font-lock-search-form): New function, extracted from
7656         c-make-font-lock-search-function.
7657         (c-make-font-lock-search-function): Use the above function.
7658         (c-make-font-lock-context-search-function): New function.
7659         (c-cpp-matchers): Enhance the preprocessor expression case with
7660         the above function
7661         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7662         which takes an expression.
7664         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7666 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
7668         * window.el (display-buffer-reuse-window)
7669         (display-buffer-pop-up-window): Don't reuse or split a side
7670         window.
7672 2011-08-19  Glenn Morris  <rgm@gnu.org>
7674         * files.el (hack-local-variables-prop-line, hack-local-variables):
7675         Downcase "Mode:".  (Bug#9331)
7677 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
7679         * international/characters.el: Add L and R categories.
7681         * subr.el (bidi-string-mark-left-to-right): Rename from
7682         string-mark-left-to-right.  Use category search.
7684         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7686 2011-08-18  Juri Linkov  <juri@jurta.org>
7688         * faces.el (error, warning, success): New faces with definitions
7689         copied from old default values of `font-lock-warning-face',
7690         `compilation-warning', `compilation-info' (bug#6117).
7692         * font-lock.el (font-lock-warning-face): Inherit from `error'.
7694         * progmodes/compile.el (compilation-error): Inherit from `error'.
7695         (compilation-warning): Inherit from `warning'.
7696         (compilation-info): Inherit from `success'.
7698         * dired.el (dired-marked): Inherit from `warning'.
7699         (dired-flagged): Inherit from `error'.
7701 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7703         * mail/smtpmail.el (auth-source): Require to avoid problems with
7704         binding variables (bug#9298).  Also clean up some unused
7705         autoloads.
7707         * net/network-stream.el (network-stream-open-starttls):
7708         Support using starttls.el without using gnutls-cli.
7710 2011-08-17  Juri Linkov  <juri@jurta.org>
7712         * progmodes/grep.el (rgrep): Handle the case when
7713         `grep-find-command' is a cons cell (bug#9278).
7715 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
7717         * window.el (display-buffer-pop-up-frame): Run frame creation
7718         function with BUFFER current (as special-display-popup-frame
7719         does).  Reported by Drew Adams.
7721 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
7723         * epa-mail.el: Simplify GnuPG group expansion using
7724         epg-expand-group.
7725         (epa-mail-group-alist, epa-mail-group-modtime)
7726         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7727         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7728         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7729         Remove.
7731 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
7733         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7735 2011-08-16  Alan Mackenzie  <acm@muc.de>
7737         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7738         Correct, to avoid the inside of macros.
7740 2011-08-16  Richard Stallman  <rms@gnu.org>
7742         * epa-mail.el: Handle GnuPG group definitions.
7743         (epa-mail-group-alist, epa-mail-group-modtime)
7744         (epa-mail-gnupg-conf-file): New variables.
7745         (epa-mail-parse-groups, epa-mail-sync-groups)
7746         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7747         (epa-mail-expand-recipients): New functions.
7748         (epa-mail-encrypt): Call epa-mail-expand-recipients.
7750         * mail/rmail.el (rmail-epa-decrypt): New command.
7752         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7753         Don't bind buffer-read-only, just inhibit-read-only.
7754         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7755         (epa-decrypt-armor-in-region): Make error message clearer.
7757 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7759         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7760         and "a2b" to "ab" for `prefix'.
7762 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
7764         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7765         filter groups.
7766         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
7767         Fourquet (Bug#8804).
7769 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
7771         * startup.el (argi): Declare as global variable (bug#9275).
7773 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
7775         * subr.el (string-mark-left-to-right): Search the entire string
7776         for RTL script, not just the terminating character.  Doc fix.
7778 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7780         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7781         New function.
7782         (js--regexp-literal, js-syntax-propertize-function): Remove.
7783         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7784         (js-mode-map): Don't rebind electric keys.
7785         (js-insert-and-indent): Remove.
7786         (js-mode): Setup electric-layout and electric-indent instead.
7788         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7790 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
7792         * epa.el (epa-progress-callback-function): Fix the logic of
7793         displaying progress.
7794         * epa-file.el (epa-file-insert-file-contents): Make progress
7795         display more user-friendly.
7796         (epa-file-write-region): Ditto.
7798 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
7800         * subr.el (string-mark-left-to-right): New function.
7802         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7803         Use string-mark-left-to-right.
7804         (list-buffers-noselect): Caller changed.
7806         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7807         Use string-mark-left-to-right.
7808         (tabulated-list-print): Recenter after moving point.
7810 2011-08-10  Juri Linkov  <juri@jurta.org>
7812         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7813         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7814         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7816 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
7818         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7819         (Bug#7554).
7821 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7823         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7824         character.  (Bug#6594)
7826 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
7828         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7829         (image-dired--with-db-file): New macro.
7830         (image-dired-write-tags, image-dired-remove-tag)
7831         (image-dired-create-gallery-lists, image-dired-write-comments)
7832         (image-dired-get-comment, image-dired-mark-tagged-files)
7833         (image-dired-list-tags, image-dired-gallery-generate): Use it.
7834         (image-dired-gallery-generate): Use insert-file-contents.
7836         * time.el (display-time-world-list, display-time-world-display):
7837         * time-stamp.el (time-stamp-string):
7838         * vc/add-log.el (add-change-log-entry): Use setenv instead of
7839         set-time-zone-rule (Bug#7337).
7841 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
7843         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7844         (epg-error-to-string, epg-errors-to-string): New function.
7845         (epg-wait-for-completion): Reverse errors list.
7846         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7847         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7848         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7849         (epg-sign-keys, epg-generate-key-from-file)
7850         (epg-generate-key-from-string): Format errors by using
7851         epg-errors-to-string (bug#9255).
7852         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7854 2011-08-07  Juri Linkov  <juri@jurta.org>
7856         * faces.el (list-faces-display): Remove extra angle bracket
7857         from `help-mode-map'.
7859         * info.el (Info-history-toc-nodes): Doc fix.
7861         * longlines.el (longlines-mode): Doc fix.
7863 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7865         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7866         of statements and in a few more cases (bug#9183).
7868         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7869         New functions.
7870         (cl-transform-lambda): Use them (bug#9239).
7872 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
7874         * window.el (display-buffer-same-window)
7875         (display-buffer-same-frame, display-buffer-other-window)
7876         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7877         (pop-to-buffer-other-window)
7878         (pop-to-buffer-same-frame-other-window)
7879         (pop-to-buffer-other-frame): Make them defuns.
7880         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7882 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7884         * subr.el (make-composed-keymap): Move from C.  Change calling
7885         convention, and improve docstring to bring attention to a subtle point.
7886         * minibuffer.el (completing-read-default): Adjust accordingly.
7888 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
7890         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7891         (tramp-open-shell): Use `tramp-shell-quote-argument'.
7893         * net/trampver.el: Update release number.
7895 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7897         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7898         "in" (bug#9190).
7900 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7902         * mail/sendmail.el (sendmail-query-once): Restore the current
7903         buffer after querying (bug#9074).
7905         * dired.el (dired-flagged): Use different faces for marked and
7906         flagged files (bug#6117).
7908         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7909         (bug#4433).
7911         * ido.el (ido-mode): Switch off the message if called
7912         non-interactively.
7914         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7915         before 587, since it appears that that's more likely to work for
7916         more people.
7918         * cus-edit.el (custom-file): When running under emacs -q, always
7919         refuse to save the customizations, even if the .emacs file doesn't
7920         exist.
7922         * info.el: Remove the `Info-beginning-of-buffer' function
7923         (bug#8325).
7925         * net/network-stream.el (network-stream-open-starttls):
7926         Use `starttls-available-p' to see whether starttls.el can be used.
7928 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
7930         * window.el (display-buffer-in-window): Don't set dedicated status
7931         of window here (Bug#9215).
7932         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7933         (display-buffer-pop-up-side-window)
7934         (display-buffer-in-side-window): Set dedicated status of window here.
7936 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7938         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7939         before binding generated-autoload-file.
7941 2011-08-01  Deniz Dogan  <deniz@dogan.se>
7943         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7945 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
7947         Sync with Tramp 2.2.2.
7949         * net/trampver.el: Update release number.
7951 2011-07-30  Juri Linkov  <juri@jurta.org>
7953         * dired-aux.el (dired-touch-initial): Remove function.
7954         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7955         current time, and `default' to the last modification time of the
7956         current marked file (bug#6887).
7958 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
7960         * simple.el (goto-line): Use string-to-number to provide a
7961         numeric argument to read-number (bug#9163).
7963 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
7965         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7966         connection process, it could be nil.
7968 2011-07-27  Leo Liu  <sdl.web@gmail.com>
7970         Simplify url handling in rcirc-mode.
7972         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7973         (rcirc-browse-url-at-mouse): Remove.
7974         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7976 2011-07-26  Alan Mackenzie  <acm@muc.de>
7978         Fontify bitfield declarations properly.
7980         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7981         (c-symbol-chars): Now exported as a lang variable.
7982         (c-not-primitive-type-keywords): New lang variable.
7984         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7985         QT keyword "more" to prevent "more slots: ...." being spuriously
7986         parsed as a bitfield declaration.
7988         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7989         Refactor and enhance to handle bitfield declarations.
7990         (c-punctuation-in): New function.
7991         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7992         declarations properly.
7994 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
7996         * calendar/icalendar.el (icalendar--all-events): Take care of
7997         multiple vcalendars in a single file.
7998         (icalendar--convert-float-to-ical): Checkdoc fixes.
8000 2011-07-25  Deniz Dogan  <deniz@dogan.se>
8002         * image.el (insert-image): Clarifying docstring.
8004 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
8006         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8007         `tramp-send-command-and-check' if there is no error.
8008         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8010 2011-07-22  Alan Mackenzie  <acm@muc.de>
8012         Prevent cc-langs.elc being loaded at run time.
8014         * progmodes/cc-mode.el: Remove two autoload forms which loaded
8015         cc-langs.
8017         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8018         "(require 'cc-langs)".  Quote a form so it will evaluate at
8019         (cc-mode's) compilation time.
8021 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
8023         * net/tramp.el (tramp-file-name-handler): Avoid recursive
8024         loading.  (Bug#9114)
8026 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
8028         * window.el (display-buffer-pop-up-window)
8029         (display-buffer-pop-up-side-window)
8030         (display-buffer-in-side-window): Call display-buffer-set-height
8031         and display-buffer-set-width after setting the new window's
8032         buffer so `fit-window-to-buffer' and friends work on the right buffer.
8034 2011-07-20  Sam Steingold  <sds@gnu.org>
8036         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8037         (etags-tags-included-tables): Call `convert-standard-filename' on
8038         the file names contained in TAGS so that windows Emacs can handle
8039         TAGS files created by cygwin ctags.
8041 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8043         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8044         which apparently didn't work.
8046 2011-07-19  Roland Winkler  <winkler@gnu.org>
8048         * proced.el (proced-send-signal): For *Marked Processes* buffer
8049         put point at beginning of buffer.
8051 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
8053         * proced.el (proced-format): Make header lines align with the text
8054         (bug#1779).
8056 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8058         * view.el (view-buffer): Allow running in `special' modes if we're
8059         visiting a file (bug#8615).
8061 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
8063         * window.el (display-buffer-alist-of-strings-p)
8064         (display-buffer-alist-set-1, display-buffer-alist-set-2):
8065         New functions.
8066         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8067         more accurately.
8069 2011-07-18  Alan Mackenzie  <acm@muc.de>
8071         Fontify declarators properly when, e.g., a jit-lock chunk begins
8072         inside a declaration.
8074         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8076         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8077         New function.
8078         (c-complex-decl-matchers): Insert reference to
8079         c-font-lock-enclosing-decls.
8081         * progmodes/cc-engine.el (c-backward-single-comment):
8082         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8083         to nil around calls to (forward-comment -1).
8085 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8087         * image.el (put-image): Doc typo fix.
8089         * progmodes/etags.el (tags-search): Doc typo fix.
8091         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8092         password if we get errors 550 to 554.
8094 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8096         * net/gnutls.el (gnutls-log-level): Remove.
8098         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8099         indentation character (bug#6380).
8101         * files.el (buffer-offer-save): Made permanently local (bug#6241).
8103         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8104         to clarify what the problem is (bug#4291).
8106         * simple.el (current-kill): Clarify what
8107         `interprogram-paste-function' does (bug#7500).
8108         (auto-fill-mode): Document `auto-fill-function' in relation to
8109         `auto-fill-mode' (bug#2470).
8111 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
8113         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8114         method if slot is read-only (bug#9035).
8116 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
8118         * frame.el (select-frame-set-input-focus): New argument NORECORD.
8119         * window.el (pop-to-buffer): Select window used even if it was
8120         selected before, see discussion of (Bug#8615), (Bug#6954).
8121         Pass argument NORECORD on to select-frame-set-input-focus.
8123 2011-07-15  Glenn Morris  <rgm@gnu.org>
8125         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
8126         Respect help-form.
8128 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
8130         * net/gnutls.el (gnutls-min-prime-bits): New variable.
8131         (gnutls-negotiate): Use it.
8133 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8135         * net/gnutls.el (gnutls-negotiate):
8136         Upcase `gnutls-algorithm-priority'.
8138 2011-07-15  Glenn Morris  <rgm@gnu.org>
8140         * jka-compr.el (jka-compr-verbose): Move from here...
8141         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
8142         Add missing :version tag.
8143         * info.el: No need to require jka-compr when compiling.
8145 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8147         * net/gnutls.el (gnutls-algorithm-priority): New variable.
8148         (gnutls-negotiate): Use it.
8150         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8152         * info.el (Info-beginning-of-buffer): New command.
8153         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8154         announcing `b' as the key (bug#8325).
8155         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8157         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8159         * international/mule-cmds.el
8160         (describe-specified-language-support): Make the error message
8161         clearer (bug#8905).
8163         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8165         * isearch.el (isearch-barrier): Add a doc string, since it's
8166         mentioned in a function doc string (bug#8678).
8168 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
8170         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8171         buffer argument (Bug#9083) and self-identifying label argument.
8173 2011-07-15  Glenn Morris  <rgm@gnu.org>
8175         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
8177 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8179         * man.el (Man-fontify-manpage): Fix message when formatting the
8180         man page (bug#7929).
8182 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
8184         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8185         argument LRM; if non-nil, append an invisible LRM character to the
8186         buffer name.
8187         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8188         last argument non-nil, when formatting buffer names.
8189         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8190         paragraph direction.
8192 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8194         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8195         the man page name (bug#7929).
8197         * image.el (put-image): Mention the `put-image' overlay property
8198         (bug#7834).
8200         * scroll-bar.el (set-scroll-bar-mode): Mention that
8201         `scroll-bar-mode' lists the values (bug#7772).
8203         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8204         command (bug#7729).
8206         * rect.el (apply-on-rectangle): Return the point after the last
8207         operation.
8208         (string-rectangle): Go to the point after the last operation
8209         (bug#7522).
8211         * printing.el (pr-toggle-region): Clarify the documentation
8212         slightly (bug#7493).
8214         * time.el (display-time-update):
8215         Allow `display-time-mail-function' to return nil (bug#7158).
8216         Fix suggested by Detlev Zundel.
8218         * vc/diff.el (diff): Clarify the order the file names are read
8219         (bug#7111).
8221         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8222         the doc string (bug#7015).
8224         * font-lock.el (font-lock-maximum-decoration): Mention what
8225         numeric levels mean (bug#6935).
8227         * startup.el (initial-buffer-choice): Don't mention the `none'
8228         selection, which is against policy.
8230 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
8232         * window.el (display-buffer-normalize-special):
8233         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8235 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
8237         * subr.el (version<, version<=, version=): Mention "-CVS" and
8238         "-12345" alpha version numbers.
8240 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
8242         * bindings.el: Add advertised binding for set-mark-command
8243         (Bug#5772).
8245 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
8247         * bindings.el (mode-line-other-buffer):
8248         * bookmark.el (bookmark-bmenu-2-window):
8249         * bs.el (bs-cycle-next, bs-cycle-previous):
8250         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8251         switch-to-buffer.
8253         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8254         Delete.
8256 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
8258         * follow.el (follow-debug-message, follow-redisplay):
8259         * jka-cmpr-hook.el (with-auto-compression-mode):
8260         Fix typos in docstrings.
8262 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8264         * subr.el (with-silent-modifications): Clarify somewhat what the
8265         macro inhibits (bug#6525).
8267         * simple.el (eval-expression): Note what it does if called
8268         interactively (bug#6495).
8270 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
8272         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8273         Use pop-to-buffer buffer-or-name if it is nil.
8275         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8276         Remove switch-to-buffer.
8278 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8280         * files.el (make-directory): Clarify that an error will be raised
8281         if there's an error (bug#6397).
8283         * startup.el (initial-buffer-choice): Add `none' as a choice
8284         (bug#6234).
8286         * subr.el (add-hook): Clarify section about buffer-local hooks
8287         (bug#6218).
8289         * dired.el (dired-flagged): Clarify doc string (bug#6117).
8291 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
8293         * tabify.el (untabify): Preserve the current column so that point
8294         doesn't move (bug#6032).
8296 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8298         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8299         Rewrite to avoid awkward possessive "s" (bug#5986).
8301 2011-07-13  Glenn Morris  <rgm@gnu.org>
8303         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
8304         (dired-insert-directory): Give a message the first time
8305         if ls is found not to support --dired.
8307 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8309         * simple.el (toggle-truncate-lines): Clarify what is toggled
8310         (bug#5580).  Text by Drew Adams.
8312 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
8314         * simple.el (blink-matching-open): Make the error message from the
8315         last change less verbose.
8317 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
8319         * font-lock.el (font-lock-comment-face): Use the high contrast
8320         "yellow" color for font-lock-comment-face on low color terminals
8321         using a dark background color (bug#4221).
8323 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8325         * dired.el (dired-insert-set-properties): Make the doc string
8326         reflect what it does now (bug#5325).
8328         * simple.el (blink-matching-open): Say that we were unable to find
8329         the match within the limit, if we're limited (bug#5122).
8331         * international/mule-cmds.el (prefer-coding-system): Add an
8332         example (bug#4869).
8334         * progmodes/etags.el (tags-search): Document `file-list-form'
8335         (bug#4731).
8337 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
8339         * net/browse-url.el (browse-url-default-browser)
8340         (browse-url-browser-function): Make the default browser choice a
8341         bit more logical (bug#4300).  Also clean up the doc string.
8343 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
8345         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8346         binary endings (bug#4440).
8348 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8350         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8351         which can be pretty annoying (bug#8971).
8353         * jka-compr.el (jka-compr-verbose): New variable, and use
8354         throughout (bug#8971).
8356         * info.el (Info-find-file): Fall back on the installation
8357         directory if we can't find the info node anywhere else.
8359 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
8361         * vc/vc.el (vc-revert-file):
8362         Don't set file time-stamp in the past.  (Bug#5181)
8364 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8366         * files.el (after-find-file): Give a better error message when
8367         trying to find a symlink that points to a file that doesn't exist
8368         (bug#4398).
8370         * progmodes/cc-vars.el: Remove (probably) misleading comment
8371         (bug#4396).
8373 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
8375         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8377 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
8379         * mouse-sel.el: Hack restoring functionality, while keeping
8380         compatibility with 2010-07-03 changes to mouse selection.
8381         (mouse-sel-primary-overlay): New var.
8382         (mouse-sel-selection-alist): Use it.
8383         (mouse-sel-mode): Doc fix; remove points that are default features
8384         of mouse.el.
8386 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
8388         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8389         Fix previous fix (bug#2490).
8391 2011-07-12  Roland Winkler  <winkler@gnu.org>
8393         * textmodes/bibtex.el (bibtex-initialize):
8394         Use pop-to-buffer-same-window.
8395         (bibtex-search-entries): Fix interactive call.
8397 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8399         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8400         Fontise bytecomp Error lines more correctly (bug#2490).
8401         Fix suggested by Johan Bockgård.
8403         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8405         * dired-x.el (dired-guess-default): Use `delete-dups'.
8407 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
8409         * dired.el (dired-mark-prompt):
8410         * dired-aux.el (dired-read-shell-command): Doc fix.
8412 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8414         * mail/sendmail.el (sendmail-query-once):
8415         Use `customize-save-variable' unconditionally, now that it works under
8416         emacs -Q.
8418         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8420         * cus-edit.el (custom-file): Take an optional no-error variable.
8421         (customize-save-variable): Set the variable, and give a warning if
8422         running under "emacs -q".
8424 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
8426         * loadhist.el (unload-feature-special-hooks):
8427         Add `auto-coding-functions', `fill-nobreak-predicate' and
8428         `find-directory-functions' (bug#5327).
8430 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8432         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8434         * cus-edit.el (custom-guess-name-alist): -alist variables should
8435         use the `alist' type (bug#3120).  Suggested by Drew Adams.
8437         * printing.el: Add documentation to all the `pr-toggle-' commands.
8439 2011-07-11  Leo Liu  <sdl.web@gmail.com>
8441         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8442         backends where it makes sense (bug#2623).
8444 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8446         * dired-x.el (dired-guess-default): Remove duplicate shell command
8447         entries (bug#2028).
8448         (dired-guess-default): Fix grammar in doc string (bug#2028).
8449         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8451         * subr.el (remove-duplicates): New conveniency function.
8453 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8455         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8456         (bug#1526).
8458 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
8460         * window.el (display-buffer-normalize-default): Don't invert
8461         meaning of even-window-heights.  Reported by Eli Zaretskii
8462         <eliz@gnu.org>.
8464 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
8466         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8468 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
8470         * window.el (display-buffer): Fix arguments to
8471         display-buffer-reuse-window in last change.
8473         * faces.el (link): Use a less saturated blue on light backgrounds.
8475         * startup.el (fancy-startup-text, fancy-about-text)
8476         (fancy-startup-tail): Use font-lock faces, for background safety.
8478 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
8480         * emulation/viper-cmd.el (viper-change-state-to-vi):
8481         Limit triggering of abbrev expansion (Bug#9038).
8483 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
8485         * window.el (display-buffer-default-specifiers): Remove.
8486         (display-buffer-macro-specifiers): Remove default specifiers.
8487         (display-buffer-alist): Default to nil.
8488         (display-buffer-reuse-window): New optional argument other-window.
8489         (display-buffer-pop-up-window): Allow splitting internal
8490         windows.  Check whether a live window was created.
8491         (display-buffer-other-window-means-other-frame)
8492         (display-buffer-normalize-arguments): Rename to
8493         display-buffer-normalize-argument and rewrite.  Set the
8494         other-window specifier.
8495         (display-buffer-normalize-special): New function.
8496         (display-buffer-normalize-options): Rename to
8497         display-buffer-normalize-default and rewrite.
8498         (display-buffer-normalize-options-inhibit): Remove.
8499         (display-buffer-normalize-specifiers): Rewrite.
8500         (display-buffer): Process other-window specifier and call
8501         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
8502         more faithfully.
8503         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8504         (display-buffer-alist-set): Don't handle 'unset default values.
8505         (display-buffer-in-window, display-buffer-alist-set):
8506         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
8507         <tassilo@member.fsf.org>.
8509 2011-07-09  Leo Liu  <sdl.web@gmail.com>
8511         * register.el (insert-register): Restore accidental change on
8512         2011-06-26.  (Bug#9028)
8514 2011-07-09  Glenn Morris  <rgm@gnu.org>
8516         * subr.el (remq): Handle the empty list.  (Bug#9024)
8518 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
8520         * mail/sendmail.el (send-mail-function): No longer delay custom
8521         initialization.
8522         * custom.el (custom-initialize-delay): Doc fix.
8524 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8526         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8528 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
8530         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8531         human-friendly prompt.
8533 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8535         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8536         provided by a particular plugin.
8538 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8540         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8541         save customizations (with "emacs -Q"), just set the variable
8542         instead of erroring out.
8544         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8546 2011-07-08  Juri Linkov  <juri@jurta.org>
8548         * arc-mode.el (archive-zip-expunge, archive-zip-update)
8549         (archive-zip-update-case): Use 7z if found by `executable-find'.
8550         The order of searching the available programs is the same as in
8551         `archive-zip-extract' (bug#8968).
8553 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8555         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8556         (menu-bar-options-menu): Tweak descriptions.
8558 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8560         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8561         menu items into verb phrases (bug#1421).  Also refill to fit under
8562         80 columns.
8564 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8566         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8567         (Info-read-node-name): Doc fix (Bug#1084).
8569         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8570         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8571         (end-of-sexp, beginning-of-sexp)
8572         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8573         (forward-symbol, forward-same-syntax, word-at-point)
8574         (sentence-at-point): Doc fix (Bug#1144).
8576 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8578         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8579         should cover it (bug#1281).
8581         * cus-edit.el (custom-show): Mark as obsolete.
8583         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8584         negotiation fails, then possibly try again with a non-encrypted
8585         connection (bug#9017).
8587         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8588         be used.
8590 2011-07-07  Richard Stallman  <rms@gnu.org>
8592         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8593         property, and handle its changed format.
8594         Look for the correct line number.
8595         Use file's line contents (but not past first =) to find
8596         correct line in message.
8598 2011-07-07  Kenichi Handa  <handa@m17n.org>
8600         * international/characters.el (build-unicode-category-table):
8601         Delete it.
8602         (unicode-category-table): Set it by unicode-property-table-internal.
8604         * international/mule-cmds.el (char-code-property-alist): Move to
8605         to src/chartab.c.
8606         (get-char-code-property): Call unicode-property-table-internal to
8607         load a file.  Call get-unicode-property-internal where necessary.
8608         (put-char-code-property): Call unicode-property-table-internal to
8609         load a file.  Call put-unicode-property-internal where necessary.
8610         put-unicode-property-internal where necessary.
8611         (char-code-property-description):
8612         Call unicode-property-table-internal to load a file.
8614         * international/charprop.el:
8615         * international/uni-bidi.el:
8616         * international/uni-category.el:
8617         * international/uni-combining.el:
8618         * international/uni-comment.el:
8619         * international/uni-decimal.el:
8620         * international/uni-decomposition.el:
8621         * international/uni-digit.el:
8622         * international/uni-lowercase.el:
8623         * international/uni-mirrored.el:
8624         * international/uni-name.el:
8625         * international/uni-numeric.el:
8626         * international/uni-old-name.el:
8627         * international/uni-titlecase.el:
8628         * international/uni-uppercase.el: Regenerate.
8630         * loadup.el: Load international/charprop.el before
8631         international/characters.
8633 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8635         * window.el (next-buffer, previous-buffer): Signal an error if
8636         called from a minibuffer window.
8638         * bindings.el: Revert 2011-07-04 change.
8640 2011-07-06  Richard Stallman  <rms@gnu.org>
8642         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8643         (rmail-mime-insert-bulk, rmail-mime-insert-text):
8644         Treat markers like ints.
8645         (rmail-mime-entity): Doc fix.
8647 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8649         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8650         defcustom again for backwards compatibility.
8652         * simple.el (shell-command-on-region): Fill.
8654         * dired-aux.el (dired-kill-line): Add a doc string.
8656         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8657         to "\\sw\\|\\s_" (bug#358).
8659         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8660         (dired-unmark-backward): Ditto.
8661         (dired-flag-backup-files): Ditto.
8663         * dired-x.el (dired-mark-sexp): Ditto.
8665 2011-07-06  Richard Stallman  <rms@gnu.org>
8667         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8668         (rmail-mime-entity): New arg TRUNCATED.
8669         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8670         New functions.
8671         (rmail-mime-save): Warn if entity is truncated.
8672         (rmail-mime-toggle-hidden): Likewise, for showing.
8673         (rmail-mime-process-multipart): Record when an entity is truncated.
8675         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8676         if ENTITY is a string.
8678 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8680         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8681         of faces when `M-C-x'-ing their definitions (bug#8378).
8682         Also clean up the code slightly.
8684         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8685         because that makes the colors go away.
8687         * mail/sendmail.el (send-mail-function): Change the default to
8688         `sendmail-query-once'.
8689         (sendmail-query-once): Add an autoload cookie.
8691         * net/network-stream.el (network-stream-open-starttls): Try using
8692         a plain connection even if the server offered STARTTLS, and we
8693         kinda wanted to use it, if Emacs doesn't have any STARTTLS
8694         capability.  This should make smtpmail.el work in slightly more
8695         configurations.
8697 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
8699         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8700         New defun.
8701         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8703 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
8705         * progmodes/sql.el: Version 3.0
8706         (sql-product-alist): Add product :completion-object,
8707         :completion-column, and :statement attributes.
8708         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8709         (sql-mode-syntax-table): Mark all punctuation.
8710         (sql-font-lock-keywords-builder): Temporarily remove fallback on
8711         ansi keywords.
8712         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8713         (sql-mode-oracle-font-lock-keywords): Improve.
8714         (sql-oracle-show-reserved-words): New function for development.
8715         (sql-product-font-lock): Simplify for source code buffers.
8716         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8717         New functions.
8718         (sql-highlight-product): Set product specific syntax table.
8719         (sql-mode-map): Add statement movement functions.
8720         (sql-ansi-statement-starters, sql-oracle-statement-starters):
8721         New variable.
8722         (sql-statement-regexp, sql-beginning-of-statement)
8723         (sql-end-of-statement, sql-signum): New functions.
8724         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8725         (sql-show-sqli-buffer): Bug fix.
8726         (sql-interactive-mode): Store connection data as buffer local.
8727         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
8728         with sql-interactive-mode.
8729         (sql-save-connection): Save buffer local settings.
8730         (sql-connection-menu-filter): Change menu entry name.
8731         (sql-product-interactive): Bug fix.
8732         (sql-preoutput-hold): New variable.
8733         (sql-interactive-remove-continuation-prompt): Bug fixes.
8734         (sql-debug-redirect): New variable.
8735         (sql-str-literal): New function.
8736         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8737         Redesign.
8738         (sql-oracle-save-settings, sql-oracle-restore-settings)
8739         (sql-oracle-list-all, sql-oracle-list-table): New functions.
8740         (sql-completion-object, sql-completion-column)
8741         (sql-completion-sqlbuf): New variables.
8742         (sql-build-completions-1, sql-build-completions)
8743         (sql-try-completion): New functions.
8744         (sql-read-table-name): Use them.
8745         (sql-contains-names): New buffer local variable.
8746         (sql-list-all, sql-list-table): Use it.
8747         (sql-oracle-completion-types): New variable.
8748         (sql-oracle-completion-object, sql-sqlite-completion-object)
8749         (sql-postgres-completion-object): New functions.
8751 2011-07-06  Glenn Morris  <rgm@gnu.org>
8753         * window.el (pop-to-buffer): Doc fix.
8755 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
8757         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8759 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
8761         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8763         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8765 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
8767         * button.el (button): Inherit from link face.  Suggested by Dan
8768         Nicolaescu.
8770 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8772         * progmodes/gdb-mi.el: Fit in 80 columns.
8773         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8774         switch-to-buffer.
8776         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8777         if imenu is simply not configured (bug#8941).
8779 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
8781         * allout.el (allout-post-undo-hook): New allout outline-change
8782         event hook to signal undo activity.
8783         (allout-post-command-business): Run allout-post-undo-hook if an
8784         undo just occurred.
8785         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8786         * allout-widgets.el (allout-widgets-after-undo-function):
8787         Ensure the integrity of the current item's decoration after it has been
8788         in the vicinity of an undo.
8789         (allout-widgets-mode): Include allout-widgets-after-undo-function
8790         on the new allout-post-undo-hook.
8792 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8794         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8795         Let define-derived-mode define it.
8796         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8797         cycles of abbrev-table inheritance (bug#8998).
8799 2011-07-05  Roland Winkler  <winkler@gnu.org>
8801         * textmodes/bibtex.el: Add support for biblatex.
8802         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8803         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8804         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8805         (bibtex-entry-alist, bibtex-field-alist): New variables.
8806         (bibtex-entry-field-alist): Obsolete alias for
8807         bibtex-BibTeX-entry-alist.
8808         (bibtex-entry-alist, bibtex-field-alist): New widgets.
8809         (bibtex-set-dialect): New command.
8810         (bibtex-entry-type, bibtex-entry-head)
8811         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8812         Bind via bibtex-set-dialect.
8813         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8814         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8815         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8816         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8817         Define via bibtex-set-dialect.
8818         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8819         Obey bibtex-no-opt-remove-re.
8820         (bibtex-vec-push, bibtex-vec-incr): New functions.
8821         (bibtex-format-entry, bibtex-field-list)
8822         (bibtex-print-help-message, bibtex-validate)
8823         (bibtex-search-entries): Use new format of bibtex-entry-alist.
8825 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8827         * progmodes/compile.el (compilation-goto-locus):
8828         * net/tramp-cmds.el (tramp-append-tramp-buffers):
8829         * bs.el (bs-cycle-next, bs-cycle-previous):
8830         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8831         * bindings.el (mode-line-other-buffer):
8832         * autoinsert.el (auto-insert):
8833         * arc-mode.el (archive-extract):
8834         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8836 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8838         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8839         Fix check of `emacs-lock-unlockable-modes'.
8840         Coerce true values of `emacs-lock--try-unlocking' to t.
8842 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8844         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8845         * emacs-lock.el: New file.
8847 2011-07-05  Julien Danjou  <julien@danjou.info>
8849         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8850         than `boundp' to check if face is set.
8852 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8854         * register.el (registerv-make):
8855         * window.el (window-min-height): Fix typos in docstrings.
8857 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
8859         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8860         Update doc string.
8862 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8864         * server.el (server-execute): Catch quit and call
8865         `server-return-error' to pass the error back to emacsclient and
8866         close the connection (bug#8942).
8868 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
8870         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8871         insecure exception for current topic.  Also note that auto-saves
8872         are handled differently.
8874         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8875         State variables for tracking auto-save inhibition situation.
8877         (allout-write-contents-hook-handler): Rename from
8878         'allout-write-file-hook-handler', and describe how it depends on
8879         write-contents-functions sensitivity to non-nil value to prevent
8880         file write.
8882         (allout-auto-save-hook-handler): Remove.  auto-save does not check
8883         this in individual buffers, only in the starting buffer, so this
8884         is not the right way for us to inhibit auto-save in a buffer
8885         according to its condition.
8887         (allout-mode): Use new allout-write-contents-hook-handler, and
8888         only with write-contents-functions.  Remove auto-save provisions -
8889         they're implemented elsewhere.
8891         (allout-before-change-handler): If undo is in progress, note that
8892         for attention of allout-post-command-business.
8894         (allout-post-command-business): If the command we're following was
8895         an undo, check for change in the status of encrypted items and
8896         adjust auto-save inhibitions accordingly.
8898         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8899         according to whether there are or aren't any plain-text topics
8900         pending encryption.
8902         (allout-inhibit-auto-save-info-for-decryption):
8903         Adjust buffer-saved-size and some allout state to inhibit auto-saves
8904         if there are plain-text topics pending encryption.
8906         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8907         buffer-saved-size and some allout state to not inhibit auto-saves
8908         if there are no longer any plain-text topics pending encryption.
8910         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8911         No longer provide for exemption of the current topic.
8913 2011-07-04  Juri Linkov  <juri@jurta.org>
8915         Add 7z operations to delete and save changed members (bug#8968).
8916         * arc-mode.el (archive-7z-expunge, archive-7z-update):
8917         New defcustoms.
8918         (archive-7z-write-file-member): New function.
8919         (archive-7z-summarize): Fix the number of dashes in the
8920         listing output.
8922 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8924         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8925         (bug#8958).
8927 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
8929         * bindings.el: Ignore next-buffer and previous-buffer in
8930         minibuffer-local-map.
8932         * font-lock.el (font-lock-builtin-face): Change light background
8933         color to dark slate blue (Bug#6693).
8935 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
8937         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8939 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8941         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8942         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8943         Add switch-to-buffer.
8945 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8947         * isearch.el (isearch-search-fun-function): Clarify further the
8948         meaning of the function returned.
8950 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
8952         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8954         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8955         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8956         Use it.
8957         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
8958         `tramp-default-remote-path' does not exist.
8959         (tramp-send-command-and-read): New optional argument NOERROR.
8960         (tramp-open-connection-setup-interactive-shell)
8961         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8962         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8963         (tramp-process-sentinel): Flush also process' connection property.
8964         (tramp-sh-handle-start-file-process): Do not set process
8965         sentinel.  It is done now ...
8966         (tramp-maybe-open-connection): ... here.  (Bug#8929)
8968 2011-07-04  MON KEY  <monkey@sandpframing.com>
8970         * play/animate.el (animate-string): Doc fixes and allow changing
8971         the buffer name (bug#5417).
8973 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8975         * play/animate.el (animation-buffer-name): Rename from *animate*.
8977 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
8979         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8980         This is simpler and helps future-proof the code.
8981         (timer-until): Use time-subtract and float-time.
8982         (timer--time-less-p): Use time-less-p.
8984 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8986         * type-break.el (timep): Use the value of `float-time' to avoid a
8987         byte-compiler warning.
8989         * server.el (server-eval-and-print): Return any result, even nil.
8991 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
8993         * type-break.el: Accept time formats that the builtins accept.
8994         (timep, type-break-time-difference): Accept any format that
8995         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8996         This is simpler and helps future-proof the code.
8997         (type-break-time-difference): Round rather than ignoring
8998         subseconds components.
9000 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9002         * info.el (Info-apropos-matches): Make non-interactive, since it
9003         doesn't seem to do anything useful as a command (bug#8829).
9005 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
9007         * frame.el (frame-background-mode, frame-set-background-mode):
9008         Move from faces.el.
9009         (frame-default-terminal-background): New function.
9011         * custom.el (custom-push-theme): Don't record faces in `changed'
9012         theme; this doesn't work correctly for per-frame face settings.
9013         (disable-theme): Use face-set-after-frame-default to reset faces.
9014         (custom--frame-color-default): New function.
9016 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9018         * dired.el (dired-flagging-regexp): Remove unused variable
9019         (bug#8769).
9021 2011-03-29  Kevin Ryde  <user42@zip.com.au>
9023         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9024         `perl-Test2' extend to match possible "fail #N" rep count
9025         (bug#8377).
9027 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9029         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9030         `smtpmail-via-smtp' now returns the error instead of nil.
9032         * isearch.el (isearch-search-fun-function): Clarify the doc string
9033         (bug#8101).
9035 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
9037         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9038         unnecessary spaces (bug#8987).
9040 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9042         * net/network-stream.el (open-network-stream): Use the
9043         :end-of-capability command thoughout.
9045 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
9047         * net/network-stream.el (open-network-stream): Add the
9048         :end-of-capability command parameter, used by pop3.el.
9050 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9052         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9054         * fringe.el (fringe-query-style): Remove redundant text " (type ?
9055         for list)" (bug#6475).
9057         * files.el (file-expand-wildcards): Ignore non-readable
9058         sub-directories while trying to find matches instead of signaling
9059         an error (bug#6297).
9061         * man.el (Man-reference-regexp): Allow matching possible
9062         word-wrapped references (bug#6289).
9064         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9065         for consistency with the other vc buffers (bug#6197).
9066         (vc-checkin): Ditto.
9068         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9070         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9072 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9074         * custom.el (defcustom): Clarify that :set is only used in the
9075         Customize user interface (bug#6089).
9077         * progmodes/flymake.el (flymake-mode): If the buffer isn't
9078         associated with a file, refuse to run instead of erroring out
9079         (bug#6084).
9081         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9082         the doc string, since it appears that using `fill-column' always
9083         controls the width (bug#7845).
9085         * simple.el (shell-command-on-region): Say where the error output
9086         went if `shell-command-default-error-buffer' is set (bug#6857).
9088 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
9090         * allout.el (allout-yank-processing): Adjust cursor position for
9091         backwards-deleted space.
9093         (allout-rebullet-heading): Register changes with
9094         allout-exposure-changed-hook, so the modified topic is properly
9095         decorated.
9097 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9099         * minibuffer.el (completion-in-region): Document PREDICATE
9100         (bug#7136).
9102         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9103         of keyword/argument pairs (bug#6904).
9105         * replace.el (multi-occur):
9106         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9108 2011-07-02  Drew Adams  <drew.adams@oracle.com>
9110         * dired.el (dired-mark-if): Make the message about whether it's
9111         marking or unmarking clearer (bug#8523).
9113 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9115         * disp-table.el (display-table-print-array): New function.
9116         (describe-display-table): Use it to print the vectors more pretty
9117         (Bug#8859).
9119 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
9121         * window.el (window-state-get-1): Don't assign clone numbers.
9122         Add clone-of item to list of window parameters.
9123         (window-state-put-2): Don't process clone numbers.
9124         (display-buffer-alist): Fix doc-string.
9126 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9128         * subr.el (remq): Don't allocate if it's not needed.
9129         (keymap--menu-item-binding, keymap--menu-item-with-binding)
9130         (keymap--merge-bindings): New functions.
9131         (keymap-canonicalize): Use them to refine the canonicalization.
9132         * minibuffer.el (minibuffer-local-completion-map)
9133         (minibuffer-local-must-match-map): Move initialization from C.
9134         (minibuffer-local-filename-completion-map): Move initialization from C;
9135         don't inherit from anything here.
9136         (minibuffer-local-filename-must-match-map): Make obsolete.
9137         (completing-read-default): Use make-composed-keymap to combine
9138         minibuffer-local-filename-completion-map with either
9139         minibuffer-local-must-match-map or
9140         minibuffer-local-filename-completion-map.
9142 2011-07-01  Glenn Morris  <rgm@gnu.org>
9144         * type-break.el (type-break-time-sum): Use dolist.
9146         * textmodes/flyspell.el (flyspell-word-search-backward):
9147         Replace CL function.
9149 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9151         * mouse.el (mouse--strip-first-event): New function.
9152         (function-key-map): Use it to map fringe clicks to normal clicks
9153         by default.
9155         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9156         (vc-bzr-revision-completion-table): Add support for annotate and date.
9158         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9159         inherit from parent.
9161 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9163         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9164         (dired-show-file-type): Doc fixup (bug#8818).
9166         * dired.el (dired-mode): Fix up the doc string as suggested by
9167         Drew Adams (bug#8817).
9169         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9170         cookie, since the manual says that it should be possible to add
9171         this function to `find-file-hook' (bug#8709).
9173 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
9175         * progmodes/cfengine.el: Moved all cfengine3.el functionality
9176         here.  Noted Ted Zlatanov as the maintainer.
9177         (cfengine-common-settings, cfengine-common-syntax): New functions
9178         to set up common things between `cfengine-mode' and
9179         `cfengine3-mode'.
9180         (cfengine3-mode): New mode.
9181         (cfengine3-defuns cfengine3-defuns-regex
9182         (cfengine3-class-selector-regex cfengine3-category-regex)
9183         (cfengine3-vartypes cfengine3-font-lock-keywords)
9184         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9185         (cfengine3-indent-line): Add from cfengine3.el.
9187 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
9189         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9191         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9193 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
9195         * window.el (same-window-buffer-names, same-window-regexps)
9196         (same-window-p, special-display-frame-alist)
9197         (special-display-popup-frame, special-display-function)
9198         (special-display-buffer-names, special-display-regexps)
9199         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9200         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9201         (split-window-preferred-function, split-height-threshold)
9202         (split-width-threshold, even-window-heights)
9203         (display-buffer-mark-dedicated, window-splittable-p)
9204         (split-window-sensibly, window-safely-shrinkable-p):
9205         Un-obsolete.
9206         (display-buffer): Don't spread args with function specifier
9207         because special-display-popup-frame won't like it.
9209 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
9211         Time-stamp simplifications and fixes.
9212         These improve accuracy slightly, and future-proof the code
9213         against some potential changes to current-time format.
9215         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9216         by using time-since and float-time.
9218         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9219         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
9220         + NNN microseconds".
9222         * type-break.el (type-break-time-sum): Rewrite using time-add.
9224         * play/hanoi.el (hanoi-current-time-float): Remove.
9225         All uses replaced by float-time.
9227         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9228         This yields a more-accurate answer.
9229         (rng-time-to-float): Remove; no longer needed.
9231         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9233         * calendar/timeclock.el (timeclock-seconds-to-time):
9234         Defalias to seconds-to-time, since they're the same thing.
9236         * emacs-lisp/elp.el (elp-elapsed-time):
9237         * emacs-lisp/benchmark.el (benchmark-elapse):
9238         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9240 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9242         * window.el (bury-buffer): Don't iconify the only frame.
9243         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9244         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
9246 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
9248         * eshell/em-smart.el (eshell-smart-display-navigate-list):
9249         Add mouse-yank-primary.
9251 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
9253         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9255 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9257         * emacs-lisp/find-func.el (find-library--load-name): New fun.
9258         (find-library-name): Use it to find relative load names when provided
9259         absolute file name (bug#8803).
9261 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9263         * textmodes/flyspell.el (flyspell-word): Consider words that
9264         differ only in case as potential doublons (bug#5687).
9266         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9267         Remove two rather uninteresting debugging-like messages to make
9268         debbugs.el more silent.
9270         * comint.el (comint-password-prompt-regexp): Accept "Response" as
9271         a password-like phrase.
9273 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
9275         * progmodes/cc-guess.el: New file.
9277         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9279         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9280         derived from `c-basic-common-init'.
9282         * progmodes/cc-mode.el (top-level): Require cc-guess.
9283         (c-basic-common-init): Use `cc-choose-style-for-mode'.
9285 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
9287         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9289 2011-06-30  Alan Mackenzie  <acm@muc.de>
9291         * progmodes/cc-engine.el (c-guess-continued-construct):
9292         Correct the handling of template-args-cont, particularly for when font
9293         lock is disabled.  Name this case as "CASE G".
9295 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
9297         * allout.el (allout-yank-processing): Fix injection of extra space
9298         between bullet and non-whitespace character in first topic when
9299         pasting, ensuring that the actual spacing in the pasted topic
9300         following the bullet char is preserved.  This extra space was
9301         causing pasted encrypted topics to get a decrypted status even
9302         when the content was actually still encrypted.  Now the decryption
9303         status from before the paste is preserved.
9305         (allout-flag-region): Set all allout overlays so they evaporate
9306         when reduced to zero length (evanescent), to prevent overlay
9307         leakage.
9309 2011-06-30  Glenn Morris  <rgm@gnu.org>
9311         * w32-fns.el (w32-charset-info-alist): Declare.
9313         * find-dired.el (find-grep-options): Simplify.
9315         * term/ns-win.el (ns-set-resource): Declare.
9317         * ses.el (row, col): Declare dynamic variables honestly.
9319         * textmodes/reftex-parse.el (index-tags): Declare.
9321 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
9323         * cus-edit.el (customize-push-and-save): New function.
9325         * files.el (hack-local-variables-confirm): Use it.
9327         * custom.el (load-theme): New arg NO-CONFIRM.
9328         Use customize-push-and-save (Bug#8720).
9329         (custom-enabled-themes): Doc fix.
9331         * cus-theme.el (customize-create-theme)
9332         (custom-theme-merge-theme): Callers to load-theme changed.
9334 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9336         * thingatpt.el (thing-at-point-short-url-regexp): Require that
9337         short URLs have at least one dot in them (bug #7614).
9339         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9340         nil, because using a pty is apparently too slow (bug #895).
9342 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9344         * mail/sendmail.el (sendmail-query-once): New function.
9345         (sendmail-query-once-function): New variable.
9347 2011-06-29  Glenn Morris  <rgm@gnu.org>
9349         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9351         * ses.el (top-level): Require cl when compiling.
9352         (ses-set-localvars): Fix error statement.
9353         Call it at compile time to silence a storm of warnings.
9355 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
9357         * window.el (normalize-live-buffer): Rename to
9358         window-normalize-buffer.
9359         (normalize-live-frame): Rename to window-normalize-frame.
9360         (normalize-any-window): Rename to window-normalize-any-window.
9361         (normalize-live-window): Rename to window-normalize-live-window.
9362         (make-window-atom): Rename to window-make-atom.
9363         (window-resize-reset): Rename to window--resize-reset.
9364         (window-resize-reset-1): Rename to window--resize-reset-1.
9365         (resize-mini-window): Rename to window--resize-mini-window.
9366         (resize-subwindows-skip-p): Rename to
9367         window--resize-subwindows-skip-p.
9368         (resize-subwindows-normal): Rename to
9369         window--resize-subwindows-normal.
9370         (resize-subwindows): Rename to window--resize-subwindows.
9371         (resize-other-windows): Rename to window--resize-siblings.
9372         (resize-this-window): Rename to window--resize-this-window.
9373         (resize-root-window): Rename to window--resize-root-window.
9374         (resize-root-window-vertically): Rename to
9375         window--resize-root-window-vertically.
9376         (normalize-buffer-to-display): Rename to
9377         window-normalize-buffer-to-display.
9378         (normalize-buffer-to-switch-to): Rename to
9379         window-normalize-buffer-to-switch-to.
9380         Correspondingly update all callers of the functions listed
9381         above.
9382         (display-buffer-alist, display-buffer-normalize-arguments)
9383         (display-buffer-normalize-options, display-buffer)
9384         (display-buffer-alist-set): Use "function" instead of
9385         "fun-with-args".
9387 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
9389         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9390         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
9391         debbugs.gnu.org.  Mention acknowledgment email.
9393 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9395         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9396         buffer multibyteness, since it shouldn't matter.
9398 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
9400         * window.el (display-buffer-in-side-window): Handle dedicated
9401         windows as in display-buffer-reuse-window.
9402         (display-buffer-normalize-alist): Use value of override
9403         specifier.
9404         (display-buffer-normalize-specifiers): Use value of
9405         other-window-means-other-frame specifier.
9406         (display-buffer-alist): Rewrite some texts in widgets.
9407         (display-buffer): Spread arguments when calling function
9408         specified by fun-with-args.
9410 2011-06-28  Deniz Dogan  <deniz@dogan.se>
9412         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9413         Unnest `let'.
9415         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9416         selectors (Bug#5732).
9417         (css-proprietary-nmstart-re): Use `regexp-opt'.
9419 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
9421         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9422         (eshell-ls-date-format): New defcustom.
9423         (eshell-ls-file): Use it.
9425 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9427         * help-fns.el (describe-variable): Fix message for terminal-local vars.
9429 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
9431         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9432         (ange-ftp-make-tmp-name): New arg.
9433         (ange-ftp-file-local-copy): Use it.
9435 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
9437         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9438         no-conversion (Bug#8870).
9440 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
9442         * window.el (window-right, window-left, window-child)
9443         (window-child-count, window-last-child)
9444         (window-iso-combination-p, walk-window-tree-1)
9445         (window-atom-check-1, window-tree-1, delete-window)
9446         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9447         new naming conventions - window-vchild, window-hchild,
9448         window-next and window-prev are now called window-top-child,
9449         window-left-child, window-next-sibling and window-prev-sibling
9450         respectively.
9451         (resize-window-reset): Rename to window-resize-reset.
9452         (resize-window-reset-1): Rename to window-resize-reset-1.
9453         (resize-window): Rename to window-resize.
9454         (window-min-height, window-min-width)
9455         (resize-mini-window, resize-this-window, resize-root-window)
9456         (resize-root-window-vertically, adjust-window-trailing-edge)
9457         (enlarge-window, shrink-window, maximize-window)
9458         (minimize-window, delete-window, quit-restore-window)
9459         (split-window, balance-windows, balance-windows-area-adjust)
9460         (balance-windows-area, window-state-put-2)
9461         (display-buffer-even-window-sizes, display-buffer-set-height)
9462         (display-buffer-set-width, set-window-text-height)
9463         (fit-window-to-buffer): Rename all "resize-window" prefixed
9464         calls to use the "window-resize" prefix convention.
9465         (display-buffer-alist): Fix symbol for label specifier.
9466         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9467         corresponding specifier.
9468         Reported by Juanma Barranquero <lekktu@gmail.com>.
9470 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9472         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9473         convention.
9474         (ses-call-printer): Does not pass an empty string to formatter when the
9475         cell is empty to keep from barking printer Calc math-format-value.
9477 2011-06-27  Richard Stallman  <rms@gnu.org>
9479         * battery.el (battery-mode-line-limit): New variable.
9480         (battery-update): Handle it.
9482         * mail/rmailmm.el (rmail-mime-process-multipart):
9483         Handle truncated messages.
9485 2011-06-27  Glenn Morris  <rgm@gnu.org>
9487         * progmodes/flymake.el (flymake-err-line-patterns):
9488         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
9490 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9492         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9493         (ses--clean-!, ses--clean-_): New functions.
9494         (ses-range): Add configurability of readout order, and conversion
9495         to Calc vector.
9497         * ses.el (ses-repair-cell-reference-all): New function.
9498         (ses-cell-symbol): Set macro as safe, so that it can be used in
9499         formulas.
9501         * ses.el: Update cycle detection algorithm.
9502         (ses-localvars): Add ses--Dijkstra-attempt-nb and
9503         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9504         (ses-set-localvars): New function.
9505         (ses-make-cell): Add property-list as a cell element.
9506         (ses-cell-property-get-fun, ses-cell-property-get)
9507         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9508         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9509         New functions.
9510         (ses-cell-property-set, ses-cell-property-pop)
9511         (ses-cell-property-get-handle): New macro.
9512         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9513         New aliases, used for code readability.
9514         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9515         cycle detection.
9516         (ses-self-reference-early-detection): New defcustom.
9517         (ses-formula-references): Robustify against self-referring cells.
9518         (ses-mode): Use ses-set-localvars.
9519         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9520         before lauching the update processing.
9521         (ses-initialize-Dijkstra-attempt): New function.
9522         (ses-recalculate-cell): Update for cycle detection based on
9523         Dijkstra algorithm.
9525         * ses.el: Fix commenting and indenting convention.
9527 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9529         * bs.el (bs-cycle-next): Complete last change.
9531 2011-06-27  Drew Adams  <drew.adams@oracle.com>
9533         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9535 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9537         * net/network-stream.el (network-stream-open-starttls):
9538         Don't re-get capabilities unless we've reestablished connection.
9539         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9541         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9542         to binary to possibly avoid line encoding issues on Windows (among
9543         other things).
9545 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9547         * net/network-stream.el (open-network-stream): Return an :error
9548         saying what the problem was, if possible.
9550         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9551         server.
9553         * net/network-stream.el (network-stream-open-starttls): If we
9554         wanted to use STARTTLS, and the server offered it, but we weren't
9555         able to because we had no STARTTLS support, then close the connection.
9556         (open-network-stream): Return an :error element, if present.
9558 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
9560         * hl-line.el (hl-line-sticky-flag): Doc fix.
9561         (global-hl-line-sticky-flag): New option (Bug#8323).
9562         (global-hl-line-highlight): Obey it.
9564         * vc/vc.el (vc-revert-show-diff): Default to t.
9566 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
9568         * allout-widgets.el (allout-widgets-post-command-business):
9569         Stop decorating intermediate isearch matches.  They're not being
9570         undecorated when an isearch is continued past, and isearch
9571         automatically collapses them.  This leads to "widget leaks", where
9572         decorated items accumulate in collapsed areas.  Lines with lots of
9573         hidden widgets can slow down cursor travel, substantially.
9574         Too much complicated machinery would be needed to ensure undecoration,
9575         so we're doing without this nicety.
9577         (allout-widgets-tally-string): Don't try to do a hash-table-count
9578         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
9579         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9580         *Messages* when allout-widgets-maintain-tally is t.
9582 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
9584         * window.el (display-buffer-normalize-argument): Rename to
9585         display-buffer-normalize-arguments.  Handle special meaning of
9586         LABEL argument.  Respect special-display-function when popping up
9587         a new frame.  Fix code searching for a window showing the buffer
9588         on another frame.
9589         (display-buffer-normalize-specifiers):
9590         Call display-buffer-normalize-arguments.
9591         (display-buffer-in-window): Don't undedicate the window if its
9592         buffer remains the same.
9593         Reported by Drew Adams <drew.adams@oracle.com>.
9594         (display-buffer-alist): Add choice for same-window macro
9595         specfier.
9596         (display-buffer): Mention special meaning of LABEL argument in
9597         doc-string.  Fix quoting.  Don't pop up a new frame even as
9598         fallback.
9600 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
9602         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9603         avoid deleting the current window in some cases (bug#8911).
9605 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
9607         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9608         (Bug#8934)
9610 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9612         * net/network-stream.el (network-stream-open-starttls):
9613         Use built-in TLS support if `gnutls-available-p' is true.
9614         (network-stream-open-tls): Ditto.
9616 2011-06-26  Leo Liu  <sdl.web@gmail.com>
9618         * register.el (registerv): New struct.
9619         (registerv-make): New function.
9620         (jump-to-register, describe-register-1, insert-register):
9621         Support the jump-func, print-func and insert-func slot of a registerv
9622         struct.  (Bug#8415)
9624 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
9626         * vc/vc.el (vc-revert-show-diff): New defcustom.
9627         (vc-diff-internal): New arg specifying diff buffer.
9628         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
9629         reuse an existing *vc-diff* buffer (Bug#8927).
9631         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9633 2011-06-26  Glenn Morris  <rgm@gnu.org>
9635         * progmodes/f90.el (f90-critical-indent): New option.
9636         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9637         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9638         (f90-mode): Doc fix.
9639         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9640         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9641         (f90-beginning-of-block, f90-next-block, f90-indent-region)
9642         (f90-match-end): Handle block, critical.
9644 2011-06-25  Glenn Morris  <rgm@gnu.org>
9646         * calendar/diary-lib.el (diary-included-files): Doc fix.
9647         (diary-include-files): New function, extracted from
9648         diary-include-other-diary-files and diary-mark-included-diary-files.
9649         (diary-include-other-diary-files, diary-mark-included-diary-files):
9650         Just call diary-include-files.
9651         (diary-mark-entries): Reset diary-included-files on first call.
9653         * calendar/diary-lib.el (diary-mark-entries)
9654         (diary-mark-included-diary-files):
9655         Visit included diary-files in temp buffers.
9657         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9658         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9659         (f90-start-block-re, f90-imenu-generic-expression)
9660         (f90-looking-at-program-block-start, f90-no-block-limit):
9661         Add support for submodules.
9663         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9664         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9666 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
9668         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9669         buffer-file-type before setting its value, to avoid disastrous
9670         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
9672 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
9674         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9676         * ses.el (ses-unload-function):
9677         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9679         * proced.el (proced-unload-function):
9680         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9682 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
9684         * server.el (server-create-window-system-frame): Add parameters arg.
9685         (server-process-filter): Doc fix.  Handle frame-parameters.
9687 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
9689         Fix bug#8730, bug#8781.
9691         * loadhist.el (unload--set-major-mode): New function.
9692         (unload-feature): Use it.
9694         * progmodes/python.el (python-after-info-look): Add autoload cookie.
9695         (python-unload-function): New function.
9697 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9699         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9701 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
9703         * net/browse-url.el (browse-url-firefox-program): Add icecat to
9704         the candidates list.
9706 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
9708         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9710 2011-06-23  Richard Stallman  <rms@gnu.org>
9712         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9713         (rmail-variables): Set next-error-move-function.
9714         (rmail-what-message): Take argument POS.
9715         (rmail-next-error-move): New function.
9717 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9719         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9720         messages for adjacent non-terminals.
9722 2011-06-23  Richard Stallman  <rms@gnu.org>
9724         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9725         (rmail-show-message-1): Preserve buffer modified flag.
9726         (rmail-start-mail): Don't specify use of rmail-mail-return;
9727         that's done by mail-bury now.
9728         (rmail-mail-return): Handle arg NEWBUF.
9730 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
9732         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9733         SIZE is a number.
9735 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
9737         * window.el (get-lru-window, get-mru-window)
9738         (get-largest-window): Never return a minibuffer window.
9739         (display-buffer-pop-up-window): Fix a bug that could lead to
9740         reusing the minibuffer window.
9741         (display-buffer): Pass original specifier argument to
9742         display-buffer-function instead of the normalized one.
9743         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9745 2011-06-22  Leo Liu  <sdl.web@gmail.com>
9747         * minibuffer.el (completing-read-function)
9748         (completing-read-default): Move from minibuf.c
9750 2011-06-22  Richard Stallman  <rms@gnu.org>
9752         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9753         to Rmail even if not started by a special Rmail command.
9755         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9756         Copy the buffer currently showing just one message.
9758 2011-06-22  Roland Winkler  <winkler@gnu.org>
9760         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9761         (bibtex-clean-entry): First delete the old key so that a
9762         customized algorithm for generating the new key does not get
9763         confused by the old key.
9764         (bibtex-url): Obey regexp of first step.
9765         (bibtex-search-entries): Do not use add-to-list with local
9766         list-var.
9768 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9770         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9771         stored a user name, then query for the password first, instead of
9772         waiting for SMTP to give an error message and the trying again.
9774 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
9776         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9777         BUFFER in call-process.
9779 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9781         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9782         QUIT twice.
9783         (smtpmail-try-auth-methods): Require user name and password from
9784         auth-source.
9786 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
9788         * window.el (display-buffer-default-specifiers)
9789         (display-buffer-alist): Remove entries for pop-up-frame-alist.
9790         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9791         (split-window): Normalize SIDE argument (Bug#8916).
9793         * frame.el (pop-up-frame-alist, pop-up-frame-function)
9794         (special-display-frame-alist, special-display-popup-frame):
9795         Remove duplicate declarations.  These are now in window.el.
9797 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9799         * mail/smtpmail.el (smtpmail-via-smtp):
9800         Set :use-starttls-if-possible so that we always use STARTTLS if the
9801         server supports it.  SMTP servers that support STARTTLS commonly
9802         require it.
9804         * net/network-stream.el (network-stream-open-starttls): Support
9805         upgrading to STARTTLS always, even if we don't have built-in support.
9806         (open-network-stream): Add the :always-query-capabilities keyword.
9808         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9809         upgrades with `open-network-stream', and rely solely on
9810         auth-source for all credentials.  Big changes throughout the file,
9811         but in particular:
9812         (smtpmail-auth-credentials): Remove.
9813         (smtpmail-starttls-credentials): Remove.
9814         (smtpmail-via-smtp): Check for servers saying they want AUTH after
9815         MAIL FROM, too.
9817         * net/network-stream.el (network-stream-open-starttls):
9818         Provide support for client certificates both for external and built-in
9819         STARTTLS.
9820         (auth-source): Require.
9821         (open-network-stream): Document the :client-certificate keyword.
9822         (network-stream-certificate): Change cert-cert to cert and
9823         cert-key to key.
9825 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
9827         * net/tramp-cache.el (top): Don't load the persistency file when
9828         "emacs -Q" has been called.
9830 2011-06-21  Tim Harper  <timcharper@gmail.com>
9832         * term/ns-win.el (ns-initialize-window-system):
9833         Set application-specific `ApplePressAndHoldEnabled' system
9834         resource to NO as it is not yet supported by the NS port.
9836 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
9838         * misc.el (list-dynamic-libraries--refresh): Compute header here...
9839         (list-dynamic-libraries): ...not here.
9841 2011-06-21  Leo Liu  <sdl.web@gmail.com>
9843         * subr.el (sha1): Implement sha1 using secure-hash.
9845 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
9847         * window.el (display-buffer-alist): In default value do not
9848         enforce searching a window on any but the selected frame.
9849         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9850         (display-buffer-select-window): Remove function.
9851         (display-buffer-in-window): When a window on another frame gets
9852         reused, do not select it any more but just raise its frame if
9853         necessary (Bug#8851) and (Bug#8856).
9854         (display-buffer-normalize-options): Handle pop-up-frames related
9855         options more faithfully.
9856         (pop-to-buffer): Don't rely on `display-buffer' selecting the
9857         window if it is on another frame.
9858         (display-buffer-alist, display-buffer-default-specifiers):
9859         Don't make new frame unsplittable by default.
9860         (display-buffer-normalize-argument): Fix doc-string typo and use
9861         'same-frame-other-window instead of 'other-window when associating
9862         with display-buffer-macro-specifiers.
9864 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
9866         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9867         New functions.
9868         (5x5-mode-map, 5x5-mode-menu): Bind them.
9869         (5x5-draw-grid): Tweak the solver's rendering.
9871 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9873         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9874         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9876 2011-06-21  Drew Adams  <drew.adams@oracle.com>
9878         * menu-bar.el: Use function variable instead of switch-to-buffer.
9879         (menu-bar-select-buffer-function): New variable.
9880         (menu-bar-update-buffers): Use it (bug#8876).
9882 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9884         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9885         variable's status.
9887 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
9889         * x-dnd.el (x-dnd-version-from-flags)
9890         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9891         and long as number (Bug#8899).
9892         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9894 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9896         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9897         (completion-try-completion, completion-all-completions): Compute the
9898         metadata argument if it's missing; make it optional (bug#8795).
9900         * wid-edit.el: Use lex-bind and move towards completion-at-point.
9901         (widget-complete): Use new :completion-function property.
9902         (widget-completions-at-point): New function.
9903         (default): Use :completion-function instead of :complete.
9904         (widget-default-completions): Rename from widget-default-complete;
9905         Rewrite.
9906         (widget-string-complete, widget-file-complete, widget-color-complete):
9907         Remove functions.
9908         (file, symbol, function, variable, coding-system, color):
9909         * international/mule-cmds.el (default-input-method, charset)
9910         (language-info-custom-alist):
9911         * cus-edit.el (face): Use new property :completions.
9913         * progmodes/pascal.el (pascal-completions-at-point): New function.
9914         (pascal-mode): Use it.
9915         (pascal-mode-map): Use completion-at-point.
9916         (pascal-toggle-completions): Make obsolete.
9917         (pascal-complete-word, pascal-show-completions):
9918         * progmodes/octave-mod.el (octave-complete-symbol):
9919         Redefine as obsolete alias.
9920         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9921         Signal absence of completion info for old Octave,
9922         (inferior-octave-complete): Redefine as obsolete alias.
9923         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9924         (meta-completions-at-point): Rename from meta-complete-symbol and
9925         adapt it for use on completion-at-point-functions.
9926         (meta-common-mode): Use it.
9927         (meta-looking-at-backward, meta-match-buffer): Remove.
9928         (meta-complete-symbol): Redefine as obsolete alias.
9929         (meta-common-mode-map): Use completion-at-point.
9930         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9931         (makefile-mode-map): Use completion-at-point.
9932         (makefile-completions-at-point): Rename from makefile-complete and
9933         adapt it for use on completion-at-point-functions.
9934         (makefile-mode): Use it.
9935         (makefile-complete): Redefine as obsolete alias.
9937 2011-06-20  Deniz Dogan  <deniz@dogan.se>
9939         * net/rcirc.el: Delete trailing whitespaces once and for all.
9941 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
9943         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9945 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
9947         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9949         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9951 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
9953         * window.el (display-buffer-other-window-means-other-frame):
9954         Call display-buffer-normalize-alist.
9955         (display-buffer-normalize-specifiers-1): Rename to
9956         display-buffer-normalize-argument.  New argument other-frame.
9957         Rewrite.
9958         (display-buffer-normalize-specifiers-2): Rename to
9959         display-buffer-normalize-options.
9960         (display-buffer-normalize-alist-1): New function.
9961         (display-buffer-normalize-specifiers-3): Rename to
9962         display-buffer-normalize-alist.
9963         Call display-buffer-normalize-alist-1.
9964         (display-buffer-normalize-options-inhibit): New variable.
9965         (display-buffer-normalize-specifiers): Rewrite calling
9966         display-buffer-normalize-alist,
9967         display-buffer-normalize-argument, and
9968         display-buffer-normalize-options.  Don't call the latter if
9969         display-buffer-normalize-options-inhibit is non-nil.
9970         (frame-auto-delete): New option.
9971         (window-deletable-p): Use frame-auto-delete.
9972         (window-list-no-nils, window-state-ignored-parameters)
9973         (window-state-get-1, window-state-get, window-state-put-list)
9974         (window-state-put-1, window-state-put-2, window-state-put):
9975         New functions.
9976         (display-buffer-normalize-options): Move special-display-p group
9977         after pop-up-frame group (Bug#8851) and (Bug#8856).
9979 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
9981         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9982         groups (Bug#8776).
9983         (rx-submatch-n): New function.
9984         (rx): Document it.
9986         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9987         (Bug#8768).
9989         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9991         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9993         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9994         anytime existing face settings are present (Bug#8889).
9996         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9997         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9998         Remove unused argument.
10000 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
10002         * window.el (display-buffer-default-specifiers):
10003         Remove pop-up-frame.  Add pop-up-window-min-height,
10004         pop-up-window-min-width, and another reuse-window specifier
10005         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
10006         (display-buffer-normalize-specifiers-2):
10007         Handle split-height-threshold and split-width-threshold also when
10008         pop-up-windows is unset.  Add a reuse-window specifier for the
10009         case popping up a new window fails.
10010         (special-display-popup-frame): Remove double quoting.
10011         (display-buffer-normalize-specifiers-1): Fix thinko.
10013 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10015         * shell.el (shell-completion-vars): Set pcomplete-termination-string
10016         according to comint-completion-addsuffix.
10018         * pcomplete.el: Convert to lexical binding and fix bug#8819.
10019         (pcomplete-suffix-list): Mark as obsolete.
10020         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10021         pcomplete-seen in the closure.
10022         (pcomplete-comint-setup): Setup completion-at-point as well.
10023         (pcomplete--entries): New function.
10024         (pcomplete--env-regexp): New var.
10025         (pcomplete-entries): Rewrite to work with partial-completion and
10026         without relying on pcomplete-suffix-list.
10027         (pcomplete-pare-list): Remove, unused.
10029 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
10031         * window.el (display-buffer-alist): Set pop-up-window-min-height
10032         and pop-up-window-min-width in default value.  Reported by
10033         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
10034         other-window-means-other-frame.
10035         (display-buffer-macro-specifiers): Comment out entry for
10036         other-window specifier.
10037         (display-buffer-other-window-means-other-frame): New function.
10038         (display-buffer-normalize-specifiers-1): New arguments
10039         buffer-name and label.  Treat other-window case specially.
10040         (display-buffer-normalize-specifiers-2): Treat other-window case
10041         specially.
10042         (display-buffer-normalize-specifiers-3): New function.
10043         (display-buffer-normalize-specifiers):
10044         Call display-buffer-normalize-specifiers-3.
10046 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
10048         * window.el (same-window-p): Fix two typos introduced when
10049         adding with-no-warnings.
10050         (display-buffer-normalize-specifiers-1): Don't check
10051         pop-up-frames for 'unset initialization.
10052         (display-buffer-normalize-specifiers-2): Major rewrite using
10053         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10054         (pop-up-frames, display-buffer-reuse-frames)
10055         (display-buffer-mark-dedicated): Don't initialize to 'unset.
10056         Suggested by David Engster <deng@randomsample.de>.
10057         (even-window-heights): Initialize to 'unset.
10058         (display-buffer-alist-set): Handle new 'unset initializations.
10059         (display-buffer-macro-specifiers): Don't pop up a new frame in the
10060         other window case.
10062 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
10064         * window.el (display-buffer-normalize-specifiers-1):
10065         Respect current value of pop-up-frames for most reasonable values of
10066         second argument of display-buffer (Bug#8865).
10067         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10068         (switch-to-buffer-other-window-same-frame)
10069         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
10070         Adams (Bug#8875).
10071         (display-buffer): Don't check noninteractive when calling
10072         display-buffer-pop-up-frame.
10073         (display-buffer-pop-up-frame): Never pop up a frame in
10074         noninteractive mode (Bug#8857).
10075         (enlarge-window, shrink-window): Don't report an error when the
10076         window can't be resized as requested (Bug#8862).
10078 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10080         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10082         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10084         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10086 2011-06-15  Alan Mackenzie  <acm@muc.de>
10088         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10089         for declarators, disable knr checking to speed up for normal files.
10090         2: Refactor, replacing a sequence of nested if forms by a cond form.
10092 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10094         * net/network-stream.el (open-network-stream): Add the keyword
10095         :always-query-capabilities for the case where you want to force a
10096         `plain' network connection, but the protocol still requires the
10097         capabilitiy command (i.e., SMTP and EHLO).
10099         * subr.el (process-live-p): Rename from `process-alive-p' for
10100         consistency with other `-live-p' functions.
10102 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10104         * window.el (same-window-buffer-names, same-window-regexps)
10105         (special-display-frame-alist, special-display-popup-frame)
10106         (special-display-function, special-display-buffer-names)
10107         (special-display-regexps, pop-up-frame-alist)
10108         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10109         (pop-up-windows, split-window-preferred-function)
10110         (split-height-threshold, split-width-threshold, even-window-heights)
10111         (display-buffer-mark-dedicated): Don't encourage the use of
10112         display-buffer-alist from Elisp code.
10114 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
10116         * progmodes/python.el (python-mode): Derive from prog-mode.
10117         * progmodes/ps-mode.el (ps-mode):
10118         * progmodes/mixal-mode.el (mixal-mode):
10119         * progmodes/cfengine.el (cfengine-mode):
10120         * progmodes/ld-script.el (ld-script-mode): Likewise.
10122 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
10124         * window.el (display-buffer-alist): Trim default value to avoid
10125         popping up a new frame (Bug#8857) or reusing an arbitrary window
10126         on another frame.
10127         (display-buffer): Do not fall back on popping up a new frame in
10128         batch mode (Bug#8857).
10130 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
10132         * cus-theme.el (describe-theme-1): Use custom-theme-p.
10133         (custom-theme-summary): New function.
10134         (customize-themes): Use it.
10136 2011-06-13  Glenn Morris  <rgm@gnu.org>
10138         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10140 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
10142         * help.el (help-window): Remove variable.
10143         (help-window-point-marker, temp-buffer-max-height)
10144         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10145         (help-print-return-message): Don't set help-window.
10146         (resize-temp-buffer-window): Rewrite cod eand doc-string.
10147         (help-window-setup-finish): Remove.
10148         (help-window-display-message, help-window-setup)
10149         (with-help-window): Major rewrite based on new
10150         display-buffer-window variable.
10152         * help-mode.el (help-mode-finish): Remove help-window related
10153         code.
10155         * view.el (view-exits-all-viewing-windows): Remove reference to
10156         view-return-to-alist in doc-string.
10157         (view-return-to-alist): Make obsolete.
10158         (view-buffer): Call pop-to-buffer-same-window and remove
10159         undo-window code.
10160         (view-buffer-other-window): Call pop-to-buffer-other-window and
10161         simplify code.  Ignore second argument.
10162         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10163         simplify code.  Ignore second argument.
10164         (view-return-to-alist-update): Make obsolete.
10165         (view-mode-enter): Rename second argument to QUIT-RESTORE.
10166         Rewrite using quit-restore window parameters.
10167         (view-mode-exit): Rename second argument to EXIT-ONLY.
10168         Rewrite using quit-restore-window.
10169         (View-exit, View-exit-and-edit, View-leave, View-quit)
10170         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10171         appropriate arguments.
10172         (view-end-message): Use quit-restore window parameter.
10174         * window.el (display-buffer-function): Rewrite doc-string.
10175         (display-buffer-window, display-buffer-alist): New variables.
10176         (display-buffer-split-specifiers)
10177         (display-buffer-side-specifiers)
10178         (display-buffer-macro-specifiers): New constants.
10179         (display-buffer-even-window-sizes, display-buffer-set-height)
10180         (display-buffer-set-width, display-buffer-select-window)
10181         (display-buffer-in-window, display-buffer-reuse-window)
10182         (display-buffer-split-window-1, display-buffer-split-window)
10183         (display-buffer-split-atom-window, display-buffer-pop-up-window)
10184         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10185         (display-buffer-in-side-window, normalize-buffer-to-display)
10186         (display-buffer-normalize-specifiers-1)
10187         (display-buffer-normalize-specifiers-2)
10188         (display-buffer-normalize-specifiers, display-buffer-frame):
10189         New functions.
10190         (display-buffer): Major rewrite.
10191         (display-buffer-other-window, display-buffer-other-frame)
10192         (pop-to-buffer, switch-to-buffer-other-window)
10193         (switch-to-buffer-other-frame): Rewrite.
10194         (display-buffer-same-window, display-buffer-same-frame)
10195         (display-buffer-same-frame-other-window)
10196         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10197         (pop-to-buffer-other-window)
10198         (pop-to-buffer-same-frame-other-window)
10199         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10200         (switch-to-buffer-other-window-same-frame): New functions.
10201         (same-window-p, special-display-p): Rewrite disabling warnings.
10202         Make obsolete.
10203         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10204         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10205         Make obsolete
10206         (same-window-buffer-names, same-window-regexps)
10207         (special-display-frame-alist, special-display-popup-frame)
10208         (special-display-function, special-display-buffer-names)
10209         (special-display-regexps, pop-up-frame-alist)
10210         (pop-up-frame-function, split-window-preferred-function)
10211         (split-height-threshold, split-width-threshold)
10212         (even-window-heights): Make obsolete.
10214 2011-06-12  Glenn Morris  <rgm@gnu.org>
10216         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
10217         Misc simplifications.
10219 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
10221         * window.el (window-safely-shrinkable-p): Restore function which
10222         was inadvertently removed in change from 2011-06-11.  Declare as
10223         obsolete.
10225         * calendar/calendar.el (calendar-generate-window):
10226         Use window-iso-combined-p instead of combination of one-window-p and
10227         window-safely-shrinkable-p.
10229 2011-06-12  Glenn Morris  <rgm@gnu.org>
10231         * progmodes/fortran.el (fortran-mode-syntax-table):
10232         * progmodes/f90.el (f90-mode-syntax-table):
10233         Set % to punctuation.  (Bug#8820)
10234         (f90-find-tag-default): Remove, no longer needed.
10236 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
10238         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10240 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
10242         * image.el (image-animated-p): Return animation delay in seconds.
10243         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10244         (image-animate-timeout): Remove DELAY argument.  Don't assume
10245         every subimage has the same delay; get it from image-animated-p.
10246         (image-animate): Caller changed.
10248 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
10250         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10251         to ignored backtrace functions.
10253 2011-06-11  Glenn Morris  <rgm@gnu.org>
10255         * calendar/appt.el (appt-disp-window-function): Doc fix.
10256         (appt-check): Handle overlapping appointments.  (Bug#8337)
10258 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
10260         * window.el (window-tree-1, window-tree): New functions, moving
10261         the latter to window.el.
10262         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10263         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10264         (bw-refresh-edges): Remove.
10265         (balance-windows-1, balance-windows-2): New functions.
10266         (balance-windows): Rewrite in terms of window tree functions,
10267         balance-windows-1 and balance-windows-2.
10268         (bw-adjust-window): Remove.
10269         (balance-windows-area-adjust): New function with functionality of
10270         bw-adjust-window but using resize-window.
10271         (set-window-text-height): Rewrite doc-string.
10272         Use normalize-live-window and resize-window.
10273         (enlarge-window-horizontally, shrink-window-horizontally):
10274         Rename argument to DELTA.
10275         (window-buffer-height): New function.
10276         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10277         Rewrite using new window resize routines.
10278         (kill-buffer-and-window, mouse-autoselect-window-select):
10279         Use ignore-errors instead of condition-case.
10280         (quit-window): Call delete-frame instead of delete-windows-on
10281         for the only buffer on frame.
10283 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
10285         * loadup.el (top-level): Load window before files for the sake
10286         of replace-buffer-in-windows.
10288         * files.el (read-buffer-to-switch)
10289         (switch-to-buffer-other-window)
10290         (switch-to-buffer-other-frame, display-buffer-other-frame):
10291         Move to window.el.
10293         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10294         (previous-buffer): Move to window.el.
10296         * bindings.el (unbury-buffer): Move to window.el.
10298         * window.el (delete-other-windows-vertically): Move after
10299         definition of delete-other-windows.
10300         (other-window, delete-windows-on, replace-buffer-in-windows):
10301         Move here from window.c.
10302         (record-window-buffer, unrecord-window-buffer)
10303         (set-window-buffer-start-and-point, switch-to-prev-buffer)
10304         (switch-to-next-buffer): New functions.
10305         (get-next-valid-buffer, last-buffer, next-buffer): Move here
10306         from simple.el.  Call switch-to-next-buffer.
10307         (previous-buffer): Move here from simple.el.
10308         Call switch-to-prev-buffer.
10309         (bury-buffer): Move here from buffer.c.  Switch to previous
10310         buffer when window cannot be deleted.
10311         (unbury-buffer): Move here from bindings.el.
10312         (ctl-x-map): Move binding for other-window from window.c to
10313         here.
10314         (read-buffer-to-switch, switch-to-buffer-other-window)
10315         (switch-to-buffer-other-frame): Move here from files.el.
10316         (normalize-buffer-to-switch-to): New functions.
10317         (switch-to-buffer): Move here from buffer.c.
10318         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10320 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
10322         * window.el (window-min-height, window-min-width): Move here
10323         from window.c.  Add defcustoms and rewrite doc-strings.
10324         (resize-mini-window, resize-window): New functions.
10325         (adjust-window-trailing-edge, enlarge-window, shrink-window):
10326         Move here from window.c.
10327         (maximize-window, minimize-window): New functions.
10328         (delete-window, delete-other-windows, split-window): Move here
10329         from window.c.
10330         (window-split-min-size): New function.
10331         (split-window-keep-point): Mention split-window-above-each-other
10332         instead of split-window-vertically.
10333         (split-window-above-each-other, split-window-vertically):
10334         Rename split-window-vertically to split-window-above-each-other
10335         and provide defalias for old definition.
10336         (split-window-side-by-side, split-window-horizontally):
10337         Rename split-window-horizontally to split-window-side-by-side
10338         and provide defalias for the old definition.
10339         (ctl-x-map): Move bindings for delete-window,
10340         delete-other-windows and enlarge-window here from window.c.
10341         Replace bindings for split-window-vertically and
10342         split-window-horizontally by bindings for
10343         split-window-above-each-other and split-window-side-by-side.
10345         * cus-start.el (all): Remove entries for window-min-height and
10346         window-min-width.  Add entries for window-splits and
10347         window-nest.
10349 2011-06-09  Glenn Morris  <rgm@gnu.org>
10351         * calendar/appt.el (appt-mode-line): New function.
10352         (appt-check, appt-disp-window): Use it.
10354         * files.el (hack-one-local-variable-eval-safep):
10355         Allow minor-modes with explicit +/-1 arguments.
10357 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
10359         * term/xterm.el (xterm): Add defgroup.
10360         (xterm-extra-capabilities): Add defcustom to supply known xterm
10361         capabilities, skip querying them, or query them (default).
10362         (terminal-init-xterm): Use it.
10363         (terminal-init-xterm-modify-other-keys): New function to set up
10364         modifyOtherKeys support to simplify `terminal-init-xterm'.
10366 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
10368         * window.el (resize-window-reset, resize-window-reset-1)
10369         (resize-subwindows-skip-p, resize-subwindows-normal)
10370         (resize-subwindows, resize-other-windows, resize-this-window)
10371         (resize-root-window, resize-root-window-vertically)
10372         (window-deletable-p, window-or-subwindow-p)
10373         (frame-root-window-p): New functions.
10375 2011-06-09  Glenn Morris  <rgm@gnu.org>
10377         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10378         (ange-ftp-get-files): Use it.
10380 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10382         * mail/sendmail.el (mail-recover-1, mail-recover):
10383         * files.el (recover-file, recover-session):
10384         Handle dired-listing-switches not being just a single short option.
10386 2011-06-09  Glenn Morris  <rgm@gnu.org>
10388         * calendar/appt.el (appt-display-message, appt-disp-window):
10389         Handle lists of appointments.
10391 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
10393         * window.el (one-window-p): Move down in code.
10394         Rewrite doc-string.
10395         (window-current-scroll-bars): Rewrite doc-string.
10396         Normalize live window argument.
10397         (walk-windows, get-window-with-predicate, count-windows):
10398         Rewrite doc-string.  Use window-list-1.
10399         (window-in-direction-2, window-in-direction, get-mru-window):
10400         New functions.
10402 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
10404         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10405         Doc fix (Bug#8713).
10407 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
10409         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10411 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
10413         * loadhist.el (unload-feature-special-hooks):
10414         Add `comint-output-filter-functions'.
10416 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
10418         * calendar/appt.el (appt-check): Move some initializations into the let.
10420 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
10422         * window.el (window-height): Defalias to window-total-height.
10423         (window-width): Defalias to window-body-width.
10425 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
10427         * image-mode.el (image-toggle-animation): New command.
10428         (image-mode-map): Bind it to RET.
10429         (image-mode): Update message.
10430         (image-toggle-display-image): Avoid a spurious cache flush.
10431         (image-transform-rotation): Doc fix.
10432         (image-transform-properties): Return quickly in the normal case.
10433         (image-animate-loop): Rename from image-animate-max-time.
10435         * image.el (image-animate-max-time): Move to image-mode.el.
10436         (create-animated-image): Remove unnecessary function.
10437         (image-animate): Rename from image-animate-start.  New arg.
10438         (image-animate-stop): Remove; just use image-animate-timer.
10439         (image-animate-timer): Use car-safe.
10440         (image-animate-timeout): Rename argument.
10442 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
10444         * window.el (get-lru-window, get-largest-window): Move here from
10445         window.c.  Rename first argument to ALL-FRAMES.
10446         Rephrase doc-strings.
10447         (get-buffer-window-list): Rewrite using window-list-1.
10448         Rephrase doc-string.
10449         (window-safe-min-height, window-safe-min-width): New constants.
10450         (window-size-ignore, window-min-size, window-min-size-1)
10451         (window-sizable, window-sizable-p, window-size-fixed-1)
10452         (window-size-fixed-p, window-min-delta-1, window-min-delta)
10453         (window-max-delta-1, window-max-delta, window-resizable)
10454         (window-resizable-p, window-total-height, window-total-width)
10455         (window-body-width): New functions.
10456         (window-full-height-p, window-full-width-p): Rewrite using
10457         window-total-size.
10458         (window-body-height): Rewrite using window-body-size.
10460 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
10462         * window.el (window-right, window-left, window-child)
10463         (window-child-count, window-last-child, window-any-p)
10464         (normalize-live-buffer, normalize-live-frame)
10465         (normalize-any-window, normalize-live-window)
10466         (window-iso-combination-p, window-iso-combined-p)
10467         (window-iso-combinations)
10468         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10469         (windows-with-parameter, window-with-parameter)
10470         (window-atom-root, make-window-atom, window-atom-check-1)
10471         (window-atom-check, window-side-check, window-check):
10472         New functions.
10473         (ignore-window-parameters, window-sides, window-sides-vertical)
10474         (window-sides-slots): New variables.
10475         (window-size-fixed): Move down in code.  Minor doc-string fix.
10477 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
10479         * comint.el (comint-dynamic-complete-as-filename)
10480         (comint-dynamic-complete-filename): Correctly call
10481         completion-in-region.
10483 2011-06-05  Deniz Dogan  <deniz@dogan.se>
10485         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10486         in last change.
10488 2011-06-05  Deniz Dogan  <deniz@dogan.se>
10490         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10491         (rcirc): Use it to prompt for encryption.
10493 2011-06-05  Roland Winkler  <winkler@gnu.org>
10495         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10496         (bibtex-search-entries): New command bound to C-c C-a.
10497         (bibtex-display-entries): New function.
10499 2011-06-05  Roland Winkler  <winkler@gnu.org>
10501         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10502         (bibtex-insert-kill): After yanking insert newline if necessary.
10503         (bibtex-initialize): Call bibtex-string-files-init only once.
10504         (bibtex-mode): Do not call easy-menu-add.
10505         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10506         (bibtex-yank): Set arg properly if nil.
10508 2011-06-05  Roland Winkler  <winkler@gnu.org>
10510         * textmodes/bibtex.el (bibtex-search-entry-globally):
10511         New variable.
10512         (bibtex-search-entry): Use it.
10514 2011-06-05  Roland Winkler  <winkler@gnu.org>
10516         * textmodes/bibtex.el (bibtex-entry-format): New option
10517         sort-fields.
10518         (bibtex-format-entry, bibtex-reformat): Honor this option.
10519         (bibtex-parse-entry): Return fields in proper order.
10521 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
10523         * doc-view.el (doc-view-remove-if): Move computation of result out
10524         of `dolist' to silence misleading lexical-binding warning.
10526 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
10528         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10529         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10531 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
10533         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10534         "SunOS 5.10".
10536 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
10538         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10539         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10540         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10541         (tramp-parse-putty):
10542         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10543         (tramp-completion-function-alist-ssh)
10544         (tramp-completion-function-alist-telnet)
10545         (tramp-completion-function-alist-su)
10546         (tramp-completion-function-alist-putty): Set `tramp-autoload'
10547         cookie.
10549         * net/tramp-ftp.el:
10550         * net/tramp-sh.el:
10551         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10552         load "tramp.el" `tramp-set-completion-function'.
10554 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10556         * shell.el: Require and use pcomplete.
10557         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10558         (shell-completion-vars): Set pcomplete-default-completion-function.
10560 2011-06-04  Deniz Dogan  <deniz@dogan.se>
10562         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10563         `memq' (Bug#8799).
10565 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10567         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10569 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
10571         * bs.el (bs--mark-unmark, bs--nth-wrapper):
10572         * mpc.el (mpc-select-extend, mpc-songpointer-context):
10573         * vc/log-view.el (log-view-beginning-of-defun):
10574         * vc/smerge-mode.el (smerge-apply-resolution-patch)
10575         (smerge-refine-forward, smerge-refine-chopup-region):
10576         Silence warning for unused `dotimes' counter variables.
10578 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10580         * net/tramp.el (tramp-with-progress-reporter): Rename from
10581         with-progress-reporter.  Use `declare'.
10582         * net/tramp-smb.el:
10583         * net/tramp-sh.el:
10584         * net/tramp-gvfs.el: Update all uses.
10586 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
10588         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10589         buffer isn't killed before making it current.
10591 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10593         Silence various byte-compiler warnings.
10594         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10595         `access-type' and new obsolescence format.
10596         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10597         new format.
10598         (byte-compile-check-variable): New `access-type' argument.
10599         Only warn if the access-type is obsolete.
10600         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10601         (byte-compile-variable-set): Adjust callers.
10602         * help-fns.el (describe-variable): Adjust to new obsolescence format.
10603         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10604         setting it as obsolete.
10605         * simple.el (minibuffer-completing-symbol):
10606         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10607         access as obsolete.
10608         * minibuffer.el (minibuffer-completing-file-name): Don't make it
10609         obsolete yet.
10610         * international/quail.el (quail-mouse-choose-completion): Remove unused
10611         code referring to obsolete var.
10612         (quail-choose-completion-string): Remove.
10613         * server.el (server-clients-with, server-kill-buffer-query-function)
10614         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10615         * proced.el (proced-send-signal):
10616         * emacs-lisp/lisp.el (lisp-complete-symbol):
10617         Replace completion-annotate-function with completion-extra-properties.
10619 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10621         * simple.el (goto-line): Use read-number.
10622         (overriding-map-is-bound): Remove.
10623         (saved-overriding-map): Change default.
10624         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10625         Take the map as argument.
10626         (universal-argument, negative-argument, digit-argument): Use it.
10627         (restore-overriding-map): Adjust.
10628         (do-auto-fill): Use fill-forward-paragraph.
10629         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10631         * minibuffer.el (minibuffer-inactive-mode-map): New var.
10632         (minibuffer-inactive-mode): New major mode.
10633         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10634         the *Messages* buffer" hack.
10635         (mouse-popup-menubar): Don't burp if the event is a normal key.
10637         Miscellaneous tweaks.
10638         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10639         lexical scoping as in subr.el's dolist and dotimes.
10640         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10641         Silence compiler warning.
10642         * thingatpt.el (forward-whitespace): Trivial coding style fix.
10643         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10644         * international/ccl.el (ccl-compile): Trivial simplification.
10645         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10646         * emacs-lisp/testcover.el (testcover-end): Remove spurious
10647         `printflag' argument.
10648         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10649         Purecopy the whole obsolescence data.
10651 2011-06-01  Leo Liu  <sdl.web@gmail.com>
10653         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10654         improve doc-string as suggested by Marco Pessotto
10655         <melmothx@gmail.com>.
10656         (rcirc-print): Fix last change.
10658 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10660         * minibuffer.el (complete-with-action): Return nil for the metadata and
10661         boundaries of non-functional tables.
10662         (completion-table-dynamic): Return nil for the metadata.
10663         (completion-table-with-terminator): Add default case, using
10664         complete-with-action.
10665         (completion--metadata): New function.
10666         (completion-all-sorted-completions, minibuffer-completion-help): Use it
10667         to try and avoid pathological performance problems.
10668         (completion--embedded-envvar-table): Return `category' metadata.
10670 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10672         * subr.el (process-alive-p): New tiny convenience function.
10674 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10676         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10677         content but also its previous major mode.
10679 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
10681         * emacs-lisp/debug.el (debug): Restore the previous content of the
10682         *Backtrace* buffer when we exit with C-M-c.
10684 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10686         * minibuffer.el: Add metadata method to completion tables.
10687         (completion-category-overrides): New defcustom.
10688         (completion-metadata, completion--field-metadata)
10689         (completion-metadata-get, completion--styles)
10690         (completion--cycle-threshold): New functions.
10691         (completion-try-completion, completion-all-completions):
10692         Add `metadata' argument to choose completion-styles.
10693         (completion--do-completion): Use metadata to choose cycling.
10694         (completion-all-sorted-completions): Use metadata for sorting.
10695         Remove :completion-cycle-penalty which is not needed any more.
10696         (completion--try-word-completion): Add `metadata' argument.
10697         (minibuffer-completion-help): Check metadata for annotation function
10698         and sorting.
10699         (completion-file-name-table): Return `category' metadata.
10700         (minibuffer-completing-file-name): Make obsolete.
10701         * simple.el (minibuffer-completing-symbol): Make obsolete.
10702         * icomplete.el (icomplete-completions): Pass new `metadata' param to
10703         completion-try-completion.
10705 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10707         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10709 2011-05-30  Leo Liu  <sdl.web@gmail.com>
10711         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10712         (rcirc-print): Decode all incoming messages (bug#8744).
10713         (rcirc-decode-coding-system): Allow value nil for automatic coding
10714         system detection.
10716 2011-06-01  Glenn Morris  <rgm@gnu.org>
10718         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10720 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10722         * image.el (image-animate-max-time): Allow nil and t values.
10723         Default to nil.
10724         (create-animated-image): Doc fix.
10725         (image-animate-start): Remove second arg; just use
10726         image-animate-max-time.
10727         (image-animate-timeout): Doc fix.  Args changed.
10729         * image-mode.el (image-toggle-display-image): Ensure that the
10730         image spec passed to the animate timer is the same object as in
10731         the buffer's display property (Bug#6981).
10732         (image-transform-properties): Doc fix.
10734         * image.el (image-animate-max-time): Default to nil.
10736 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
10738         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10739         entire buffer list (Bug#8184).
10741 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10743         * image.el (imagemagick-types-inhibit)
10744         (imagemagick-register-types): Doc fix.
10746 2011-05-29  Deniz Dogan  <deniz@dogan.se>
10748         * net/rcirc.el (rcirc): Use the user's stored encryption method by
10749         default.
10751 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10753         * select.el: Don't perform clipboard-manager saving in hooks;
10754         leave the hooks empty.
10756 2011-05-28  Leo Liu  <sdl.web@gmail.com>
10758         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10759         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
10760         (occur-edit-mode): New major mode (Bug#8463).
10761         (occur-after-change-function): New function.
10762         (occur-engine): Give Occur tags a read-only property.
10764 2011-05-28  Kevin Ryde  <user42@zip.com.au>
10766         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10768 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10770         * bindings.el (help-echo): Make the initial non-indicator dash
10771         empty on graphical terminals (Bug#7295).
10773         * files.el (auto-mode-alist): Move config rule after the
10774         in-stripping one (Bug#8547).
10776         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10778         * startup.el (normal-splash-screen): Remove gratuitous mode-line
10779         setting (Bug#8740).
10781 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
10783         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10784         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10785         (Bug#8539).
10787 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10789         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10791 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
10793         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10794         (hs-hide-block-at-point, hs-find-block-beginning)
10795         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10796         (Bug#8279).
10798 2011-05-28  Glenn Morris  <rgm@gnu.org>
10800         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
10802 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10804         * help-fns.el (describe-function-1): If the function is a derived
10805         major mode, print the parent mode.
10807         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10808         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10810 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10812         * minibuffer.el (completion--capf-wrapper): Check applicability before
10813         returning non-nil for non-exclusive completion data.
10814         * progmodes/etags.el (tags-completion-at-point-function):
10815         * info-look.el (info-lookup-completions-at-point): Mark as
10816         non-exclusive.
10817         (info-complete): Adjust accordingly.
10819         * info-look.el: Convert to lexical-binding and completion-at-point.
10820         (info-lookup-completions-at-point): New function.
10821         (info-complete): Use it and completion-in-region.
10823 2011-05-28  Drew Adams  <drew.adams@oracle.com>
10825         * isearch.el: Let M-e start with point at the first mismatched char.
10826         (isearch-fail-pos): New function.
10827         (isearch-edit-string): Use it.
10829 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
10831         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10833 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
10835         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
10836         traversal functions for avl-trees.
10837         (avl-tree--stack): New struct.
10838         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10839         (avl-tree-enter): Add optional `updatefun' arg.
10840         (avl-tree--do-enter): Add optional `updatefun' arg.
10841         Change return value.
10842         (avl-tree-delete): Add optional `test' and `nilflag' args.
10843         (avl-tree--do-delete): Add `test' and `nilflag' args.
10844         Change return value.
10845         (avl-tree-member): Add optional `nilflag'
10846         (avl-tree-member-p): New function.
10847         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10848         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10849         (avl-tree-stack-empty-p): New functions.
10851         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10852         avl-tree--del-balance1 and make it work both ways.
10853         (avl-tree--del-balance2): Remove.
10854         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10855         make it work both ways.
10856         (avl-tree--enter-balance2): Remove.
10857         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10858         New macros.
10859         (avl-tree--mapc, avl-tree-map): Add direction argument.
10861 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
10863         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10865 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
10867         * select.el: Support clipboard managers with built-in function
10868         x-clipboard-manager-save, via delete-frame-functions and
10869         kill-emacs-hook.
10870         (xselect-convert-to-targets): Add MULTIPLE target to list.
10871         (xselect-convert-to-save-targets): New function.
10873 2011-05-27  Kenichi Handa  <handa@m17n.org>
10875         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10876         let-binding rfc2047-encode-encoded-words to nil.
10878 2011-05-27  Glenn Morris  <rgm@gnu.org>
10880         * mail/emacsbug.el: Don't require url-util.
10882         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
10884         * files.el (set-auto-mode):
10885         Also respect mode: entries at the end of the file.  (Bug#8586)
10887 2011-05-26  Glenn Morris  <rgm@gnu.org>
10889         * files.el (hack-local-variables-prop-line, hack-local-variables):
10890         Downcase mode names, as seems to be traditional.
10891         (hack-local-variables, hack-local-variables-apply): Doc fixes.
10893         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10894         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
10896 2011-05-25  Julien Danjou  <julien@danjou.info>
10898         * textmodes/rst.el (rst-define-level-faces): Do not define face
10899         symbol if it is already defined.
10901 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10903         * play/5x5.el (5x5-new-game, 5x5-randomize):
10904         Reset 5x5-solver-output to nil when a new grid is cast.
10905         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10906         these debugging traces, as defmacro breaks the compiled code.
10908 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
10910         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10912 2011-05-24  Leo Liu  <sdl.web@gmail.com>
10914         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10915         (vc-bzr-sha1): Adapt.
10917         * sha1.el: Remove.  Function `sha1' is now builtin.
10919         * bindings.el: Provide sha1 feature.
10921 2011-05-24  Kenichi Handa  <handa@m17n.org>
10923         * mail/sendmail.el: Require `rfc2047'.
10924         (mail-insert-from-field): Do not perform RFC2047 encoding.
10925         (mail-encode-header): New function.
10926         (sendmail-send-it): Set buffer-file-coding-system of the work
10927         buffer to the return value of select-message-coding-system.
10928         Call mail-encode-header.
10930         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10932 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
10934         * mail/supercite.el (sc-default-cite-frame):
10935         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10937 2011-05-24  Glenn Morris  <rgm@gnu.org>
10939         * progmodes/python.el (brm-menu): Declare.
10941         * emulation/viper.el (viper-set-hooks): Declare.
10943         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10944         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10945         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10946         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10947         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10948         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10950 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10952         Add an :exit-function for completion-at-point.
10954         * minibuffer.el (completion--done): New fun.
10955         (completion--do-completion): Use it.  New arg `expect-exact'.
10956         (minibuffer-complete, minibuffer-complete-word): Don't output message,
10957         since completion--do-completion does it for us now.
10958         (minibuffer-force-complete): Use completion--done and
10959         completion--replace.  Handle sole-completion case with more care.
10960         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10961         (completion-extra-properties): New var.
10962         (completion-annotate-function): Make obsolete.
10963         (minibuffer-completion-help): Adjust accordingly.
10964         Use completion-list-insert-choice-function.
10965         (completion-at-point, completion-help-at-point):
10966         Bind completion-extra-properties.
10967         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10968         * simple.el (completion-list-insert-choice-function): New var.
10969         (completion-setup-function): Preserve it.
10970         (choose-completion): Pay attention to it, shuffle the code a bit.
10971         (choose-completion-string): New arg `insert-function'.
10973         * textmodes/bibtex.el: Convert to lexical binding.
10974         (bibtex-mode-map): Use completion-at-point.
10975         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10976         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10977         (bibtex-complete): Define as obsolete alias.
10978         (bibtex-complete-internal): Remove.
10979         (bibtex-format-entry): Remove unused sub-group in regexp.
10980         * shell.el (shell--command-completion-data)
10981         (shell-environment-variable-completion):
10982         * pcomplete.el (pcomplete-completions-at-point):
10983         * comint.el (comint--complete-file-name-data): Use :exit-function
10984         instead of completion-table-with-terminator so it also works for
10985         choose-completion.
10987 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10989         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10991         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10992         (bug#8710).
10994         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10996 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
10998         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10999         customization variable and implement: If non-nil, auto-fill will
11000         be inhibited while on topic's header line.
11002 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11004         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11005         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
11006         always have a solution in grid size = 5 cases.
11007         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11008         (5x5-solver-output, 5x5-log-buffer): New vars.
11009         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11010         Make these variables buffer local to achieve 5x5 multi-session-ness.
11011         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11012         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11013         (5x5-solve-suggest): New funs.
11014         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11015         randomize a grid so that we ensure that there is always a solution.
11016         (5x5-make-random-grid): Allow other movement than flipping.
11018 2011-05-23  Kevin Ryde  <user42@zip.com.au>
11020         * emacs-lisp/advice.el (ad-read-advised-function):
11021         Use `function-called-at-point' as the default, if it has
11022         advice and passes PREDICATE.
11024 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11026         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11027         byte-compile-lambda if it's actually a lambda.
11029         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11030         Fix function quoting.  Use backquote better.
11032 2011-05-22  Yuanle Song  <sylecn@gmail.com>
11034         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11035         matching (Bug#8516).
11037 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
11039         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11040         different face (Bug#8178).
11042 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
11044         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11045         defface (Bug#8144).
11047 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11049         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11050         funcall as well (bug#8712).  Warn when performing those conversions.
11051         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11053         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11055 2011-05-22  Glenn Morris  <rgm@gnu.org>
11057         * files.el (hack-local-variables-prop-line): Small simplifications.
11058         (hack-local-variables, hack-local-variables-prop-line):
11059         If MODE-ONLY, return the mode, rather than just `t'.
11061 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11063         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11065 2011-05-21  Glenn Morris  <rgm@gnu.org>
11067         * files.el (hack-local-variables-prop-line, hack-local-variables):
11068         If only interested in the mode, don't bother doing the other stuff.
11070         * image-mode.el (image-after-revert-hook):
11071         Redraw all frames on which the image is visible.  (Bug#8567)
11073         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
11075         * wid-edit.el (widget-checklist-match-inline):
11076         Fix 2011-04-19 change.  (Bug#8649)
11078 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11080         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11081         Also allow singlespace after single-letter capitals followed by a dot.
11083         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11084         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11086 2011-05-20  Nix  <nix@esperi.org.uk>
11088         * files.el (basic-save-buffer-2):
11089         Fix handling of break-hardlink-on-save with non-existent files.
11091 2011-05-19  Deniz Dogan  <deniz@dogan.se>
11093         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11094         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11096 2011-05-19  Glenn Morris  <rgm@gnu.org>
11098         * progmodes/f90.el (f90-type-def-re):
11099         Handle "type, bind(c)".  (Bug#8691)
11101         * emacs-lisp/autoload.el (batch-update-autoloads):
11102         Set autoload-excludes by parsing loadup.el rather than Makefiles.
11104 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
11106         * net/tramp.el (tramp-process-actions): Set "first-password-request"
11107         property for the correct connection in case of multihops.
11109 2011-05-18  Glenn Morris  <rgm@gnu.org>
11111         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11112         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11114         Rationalize calendar handling of day and month abbrev-arrays.
11115         * calendar/calendar.el (calendar-customized-p): New function.
11116         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11117         (calendar-day-name-array, calendar-month-name-array): Doc fix.
11118         Add :set function.
11119         (calendar-abbrev-length, calendar-day-abbrev-array)
11120         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11121         (calendar-day-abbrev-array, calendar-month-abbrev-array):
11122         Elements may no longer be nil.
11123         (calendar-day-name, calendar-month-name):
11124         Update for changed nature of abbrev arrays.
11125         * calendar/diary-lib.el (diary-name-pattern):
11126         Update for changed nature of abbrev arrays.
11127         (diary-mark-entries-1): Update calendar-make-alist calls.
11128         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11129         * calendar/cal-html.el (cal-html-day-abbrev-array):
11130         Simply inherit from calendar-day-abbrev-array.
11132 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11134         * progmodes/grep.el (grep-mode): Disable default
11135         compilation-directory-matcher setting (bug#8684).
11137 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
11139         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11140         instead of "head" and "tail".  There were problems with SunOS 5.9,
11141         and it performs better.
11143 2011-05-17  Glenn Morris  <rgm@gnu.org>
11145         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11147         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11148         Replace obsolete function.
11150         * shell.el (pcomplete-parse-arguments-function): Declare.
11152         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11153         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11154         (appt-check): Doc fixes.
11155         (appt-disp-window-function, appt-delete-window-function):
11156         Remove needless special case in custom :type.
11157         (appt-display-count): Default to 0, not nil.
11158         (appt-check): Reset appt-display-count to 0, not nil.
11160 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
11162         * progmodes/python.el (python-font-lock-keywords):
11163         Add the Python 3.X keyword "nonlocal" (bug#8639).
11165 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11167         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11169 2011-05-16  Kevin Ryde  <user42@zip.com.au>
11171         * info-look.el (makefile-automake-mode): New setups, looking in
11172         automake manual, then makefile-mode.
11173         (makefile-mode): Remove automake manual, have it just in
11174         makefile-automake-mode since there's various things different or
11175         not relevant to plain make.
11176         (makefile-mode): Remove "other-modes" non-existent automake-mode,
11177         believe a hypothetical automake-mode would go to makefile-mode,
11178         not the other way around.
11180 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
11182         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11183         hunk-end tags (Bug#8672).
11185         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11186         vc-annotate-show-diff-revision-at-line (Bug#8671).
11188 2011-05-14  Glenn Morris  <rgm@gnu.org>
11190         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11191         in the middle of an existing one with multiple authors.  (Bug#8645)
11192         (change-log-font-lock-keywords): Also handle multiple author lines
11193         with leading tabs.  (Bug#8644)
11195         * calendar/appt.el (appt-check): Rename some local variables.
11196         Some simplification/reordering.
11198         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11199         (feedmail-sendmail-f-doesnt-sell-me-out)
11200         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11201         (feedmail-debug-sit-for, feedmail-queue-express-hook)
11202         (feedmail-queue-runner-message-sender): Set :version.
11203         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11204         (bbdb-dwim-net-address, vm-mail): Declare.
11205         (feedmail-binmail-gnulinuxish-template):
11206         Rename from feedmail-binmail-linuxish-template.
11207         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11208         Use insert-buffer-substring.
11210 2011-05-14  Bill Carpenter  <bill@carpenter.org>
11212         * mail/feedmail.el (feedmail-patch-level): Increase.
11213         (feedmail-debug): New custom group.
11214         (feedmail-confirm-outgoing-timeout)
11215         (feedmail-sendmail-f-doesnt-sell-me-out)
11216         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11217         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11218         (feedmail-sender-line, feedmail-from-line)
11219         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11220         (feedmail-spray-this-address)
11221         (feedmail-spray-address-fiddle-plex-list)
11222         (feedmail-queue-use-send-time-for-date)
11223         (feedmail-queue-use-send-time-for-message-id)
11224         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11225         (feedmail-buffer-eating-function):
11226         Doc fixes.
11227         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11228         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11229         (feedmail-message-action-scroll-down): New functions.
11230         (feedmail-queue-directory, feedmail-queue-draft-directory):
11231         Use expand-file-name.
11232         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11233         Remove C-v help entry.
11234         (feedmail-queue-buffer-file-name): New variable.
11235         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11236         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11237         (feedmail-message-action-send-strong, feedmail-message-action-edit)
11238         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11239         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11240         (feedmail-message-action-toggle-spray)
11241         (feedmail-run-the-queue-no-prompts)
11242         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11243         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11244         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11245         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11246         (feedmail-envelope-deducer, feedmail-fiddle-from)
11247         (feedmail-fiddle-sender, feedmail-default-date-generator)
11248         (feedmail-fiddle-date, feedmail-fiddle-message-id)
11249         (feedmail-fiddle-spray-address)
11250         (feedmail-fiddle-list-of-spray-fiddle-plexes)
11251         (feedmail-fiddle-list-of-fiddle-plexes)
11252         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11253         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11254         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11255         Change default.  Doc fix.
11256         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11257         (feedmail-binmail-linuxish-template): New constant.
11258         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
11259         Respect feedmail-sendmail-f-doesnt-sell-me-out.
11260         (feedmail-send-it): Add debug call.
11261         Use feedmail-queue-buffer-file-name, and
11262         feedmail-send-it-immediately-wrapper.
11263         (feedmail-message-action-send): Add debug call.
11264         Use feedmail-send-it-immediately-wrapper.
11265         (feedmail-queue-express-to-queue): Add debug call.
11266         Run feedmail-queue-express-hook.
11267         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
11268         (feedmail-message-action-help-blat):
11269         Rename from feedmail-queue-send-edit-prompt-help-first.
11270         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
11271         Check line-endings.  Handle errors better.
11272         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11273         Doc fix.  Add debug call.
11274         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
11275         Use feedmail-queue-send-edit-prompt-inner.
11276         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11277         (feedmail-queue-send-edit-prompt-inner): New function, extracted
11278         from feedmail-queue-send-edit-prompt.
11279         (feedmail-queue-send-edit-prompt-help)
11280         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11281         (feedmail-tidy-up-slug): Add debug call.
11282         Respect feedmail-queue-slug-suspect-regexp.
11283         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11284         (feedmail-dump-message-to-queue): Add debug call.
11285         Expand queue-directory.
11286         (feedmail-dump-message-to-queue): Change message slightly.
11287         Use feedmail-say-chatter.
11288         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
11289         (feedmail-send-it-immediately-wrapper): New function.
11290         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
11291         Insert empty string rather than newline.  Handle full-frame case.
11292         Use catch/throw.  Use feedmail-say-chatter.
11293         (feedmail-fiddle-from): Try mail-host-address.
11294         (feedmail-default-message-id-generator): Doc fix.
11295         Bind system-time-locale.  Handle missing end.
11296         (feedmail-fiddle-x-mailer): Add debug call.
11297         Handle feedmail-x-mailer-line being nil.
11298         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11299         Add debug call.  Use buffer-substring-no-properties.
11300         (feedmail-say-debug, feedmail-say-chatter): New functions.
11301         (feedmail-find-eoh): Give an explicit error.
11303 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
11305         * net/newst-treeview.el (newsticker-treeview-face): Change default
11306         family from helvetica to sans.
11307         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11308         etc/images/newsticker.
11310         * net/newst-reader.el (newsticker-feed-face): Change default
11311         family from helvetica to sans.
11313         * net/newst-plainview.el (newsticker-new-item-face)
11314         (newsticker-old-item-face, newsticker-immortal-item-face)
11315         (newsticker-obsolete-item-face, newsticker-date-face)
11316         (newsticker-statistics-face): Change default family from
11317         helvetica to sans.
11318         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11319         etc/images/newsticker.
11321         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11322         (newsticker--process-auto-mark-filter-match): Tell user about
11323         auto-marking.
11325 2011-05-13  Didier Verna  <didier@xemacs.org>
11327         Common Lisp indentation improvements on defmethod and lambda-lists.
11328         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11329         TODO entries.
11330         (lisp-lambda-list-keyword-parameter-indentation)
11331         (lisp-lambda-list-keyword-parameter-alignment)
11332         (lisp-lambda-list-keyword-alignment): New customizable user options.
11333         (lisp-indent-defun-method): Improve docstring.
11334         (extended-loop-p): Fix comment.
11335         (lisp-indent-lambda-list-keywords-regexp): New variable.
11336         (lisp-indent-lambda-list): New function.
11337         (lisp-indent-259): Use it.
11338         (lisp-indent-defmethod): Support for more than one
11339         method qualifier and properly indent methods lambda-lists.
11340         (defgeneric): Provide a missing common-lisp-indent-function property.
11342 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11344         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11345         bounds for the empty string (bug#8667).
11347 2011-05-13  Glenn Morris  <rgm@gnu.org>
11349         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11351         * mail/sendmail.el (sendmail-program): Try executable-find first.
11352         (sendmail-send-it): `sendmail-program' cannot be unbound.
11354         * calendar/appt.el (appt-make-list): Simplify.
11355         (appt-time-msg-list): Doc fix.
11356         (appt-check): Change mode-line message at the time of the appointment.
11358 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
11360         * progmodes/ld-script.el (ld-script-keywords)
11361         (ld-script-builtins): Update keywords list.
11363 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11365         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11367         * shell.el (shell-completion-vars): New function.
11368         (shell-mode):
11369         * simple.el (read-shell-command): Use it.
11370         (blink-matching-open): No need for " [...]" in minibuffer-message.
11372 2011-05-12  Glenn Morris  <rgm@gnu.org>
11374         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11375         (appt-check): Simplify.
11377 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
11379         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11380         literal "/dev/null".
11382 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11384         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11385         Fix typo.
11387 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
11389         * progmodes/which-func.el (which-function):
11390         Use add-log-current-defun instead of add-log-current-defun-function,
11391         which might not be defined (Bug#8260).
11393 2011-05-12  Glenn Morris  <rgm@gnu.org>
11395         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11396         Let byte-compile-initial-macro-environment always take precedence.
11398 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11400         * net/rcirc.el: Add support for SSL/TLS connections.
11401         (rcirc-server-alist): New field `encryption'.
11402         (rcirc): Check `encryption' settings.
11403         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
11404         Merge make-local-variable into `set'.
11405         (rcirc--connection-open-p): New function.
11406         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11407         the process is not a network process (e.g. running gnutls-cli).
11408         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11409         Make rcirc-(en|de)code-coding-system local here.
11410         (rcirc-mode): Merge make-local-variable into `set'.
11411         (rcirc-parent-buffer): Make permanent buffer-local.
11412         (rcirc-multiline-minor-mode): Don't do it here.
11413         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11414         there's no server buffer.
11416 2011-05-11  Glenn Morris  <rgm@gnu.org>
11418         * newcomment.el (comment-kill): Prefix "unused" local.
11420         * term/w32console.el (get-screen-color): Declare.
11422         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11423         Handle symbol elements of byte-compile-initial-macro-environment.
11425 2011-05-10  Leo Liu  <sdl.web@gmail.com>
11427         * bookmark.el (bookmark-bmenu-mode-map):
11428         Bind bookmark-bmenu-search to `/'.
11430         * mail/footnote.el: Convert to utf-8 encoding.
11431         (footnote-unicode-string, footnote-unicode-regexp): New variable.
11432         (Footnote-unicode): New function.
11433         (footnote-style-alist): Add unicode style to the list.
11434         (footnote-style): Doc fix.
11436 2011-05-10  Jim Meyering  <meyering@redhat.com>
11438         Fix doubled-word typos.
11439         * international/quail.el (quail-insert-kbd-layout): and and -> and
11440         * kermit.el: and and -> and
11441         * net/ldap.el (ldap-search-internal): to to -> to
11442         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11443         * progmodes/js.el (js-mode): and and -> and
11444         * textmodes/artist.el (artist-move-to-xy): at at -> at
11445         (artist-draw-region-trim-line-endings): if if -> if
11446         And Safetyc -> Safety.
11447         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11449 2011-05-10  Glenn Morris  <rgm@gnu.org>
11450             Stefan Monnier  <monnier@iro.umontreal.ca>
11452         * files.el (hack-one-local-variable-eval-safep):
11453         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
11455 2011-05-10  Glenn Morris  <rgm@gnu.org>
11457         * calendar/diary-lib.el (diary-list-entries-hook)
11458         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11459         (diary-nongregorian-marking-hook, diary-list-entries)
11460         (diary-include-other-diary-files, diary-mark-entries)
11461         (diary-mark-included-diary-files): Doc fixes.
11463 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
11465         * misc.el: Require tabulated-list.el during compilation.
11467 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
11469         * progmodes/compile.el (compilation-start):
11470         Run compilation-filter-hook for the async case too.
11471         (compilation-filter-hook): Doc fix.
11473 2011-05-09  Deniz Dogan  <deniz@dogan.se>
11475         * wdired.el: Remove outdated installation comment.  Fix usage
11476         comment.
11478 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
11480         * misc.el: Implement new command `list-dynamic-libraries'.
11481         (list-dynamic-libraries--loaded-only-p): New variable.
11482         (list-dynamic-libraries--refresh): New function.
11483         (list-dynamic-libraries): New command.
11485 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
11487         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11488         Fix the ant regexp to handle end-line and end-column info from jikes.
11489         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
11490         higher priority to avoid clobbering by gnu.
11492 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
11494         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11495         if the face has existing theme settings (Bug#8454).
11497 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
11499         * progmodes/perl-mode.el (perl-imenu-generic-expression):
11500         Only match variables declared via `my' or `our' (Bug#8261).
11502         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11503         special file names `.' and `..' (Bug#8259).
11505 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
11507         * progmodes/grep.el (grep-mode-font-lock-keywords):
11508         Remove buffer-changing entries.
11509         (grep-filter): New function.
11510         (grep-mode): Add it to compilation-filter-hook.
11512         * progmodes/compile.el (compilation-filter-hook)
11513         (compilation-filter-start): New defvars.
11514         (compilation-filter): Call compilation-filter-hook prior to
11515         updating the process mark.
11517 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11519         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11521 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
11523         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11524         mailclient-send-it even if window-system is nil.  (Bug#8595)
11526         * term/w32console.el (terminal-init-w32console):
11527         Call get-screen-color and use its output to set the frame
11528         background-mode.  (Bug#8597)
11530 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11532         Make bytecomp.el understand that defmethod defines funs (bug#8631).
11533         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11534         New functions.
11535         (defgeneric, eieio--defmethod): Use them.
11536         (eieio-defgeneric): Remove.
11537         (defmethod): Call defgeneric in a way visible to the byte-compiler.
11539 2011-05-07  Glenn Morris  <rgm@gnu.org>
11541         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11542         Use let rather than let*.
11543         (timeclock-find-discrep): Remove unused local.
11545         * calendar/diary-lib.el (diary-comment-start): Doc fix.
11547         * calendar/appt.el (appt-time-msg-list): Doc fix.
11549 2011-05-06  Noah Friedman  <friedman@splode.com>
11551         * apropos.el (apropos-print-doc): Only use
11552         emacs-lisp-docstring-fill-column when it is bound to an integer,
11553         per that variable's documentation.
11555 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11557         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11558         and warnings are not silently discarded (e.g. use -d instead of -P).
11560 2011-05-06  Glenn Morris  <rgm@gnu.org>
11562         * calendar/appt.el (appt-message-warning-time): Doc fix.
11563         (appt-warning-time-regexp): New option.
11564         (appt-make-list): Respect appt-message-warning-time.
11566         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11567         New options.
11568         (diary-add-to-list): Strip comments from the displayed string.
11569         (diary-mode): Set comment-start and comment-end.
11571         * vc/diff-mode.el (smerge-refine-subst): Declare.
11572         (diff-refine-hunk): Don't require smerge-mode when compiling.
11574 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
11576         * simple.el (list-processes): Return nil as the docstring says.
11578 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
11580         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11581         to "".
11582         (ange-ftp-write-region, ange-ftp-insert-file-contents)
11583         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11584         determining of binary transfer.  (Bug#7383)
11586 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
11588         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11589         Fix port computation bug.  (Bug#8618)
11591 2011-05-05  Glenn Morris  <rgm@gnu.org>
11593         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11595         * simple.el (shell-dynamic-complete-functions)
11596         (comint-dynamic-complete-functions): Declare.
11598         * net/network-stream.el (gnutls-negotiate):
11599         * simple.el (tabulated-list-print): Fix declarations.
11601         * progmodes/gud.el (syntax-symbol, syntax-point):
11602         Remove unnecessary and incorrect declarations.
11604         * emacs-lisp/check-declare.el (check-declare-scan):
11605         Handle byte-compile-initial-macro-environment in bytecomp.el
11607 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11609         Fix earlier half-done eieio-defmethod change (bug#8338).
11610         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11611         Streamline and change calling convention.
11612         (defmethod): Adjust accordingly and simplify.
11613         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11614         new eieio--defmethod.
11615         (slot-boundp): Minor CSE simplification.
11617 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
11619         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11620         (glasses-make-readable): Use glasses-separate-capital-groups.
11622 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
11624         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11625         (warning-series): Doc fix.
11626         (display-warning): Don't try to create the buffer if we just found it.
11628 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
11630         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11631         (autoload-find-generated-file): New function.
11632         (generate-file-autoloads): Bind generated-autoload-file to
11633         buffer-file-name.
11634         (update-file-autoloads, update-directory-autoloads):
11635         Use autoload-find-generated-file.  If called interactively, prompt for
11636         output file (Bug#7989).
11637         (batch-update-autoloads): Doc fix.
11639 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
11641         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11643 2011-05-04  Glenn Morris  <rgm@gnu.org>
11645         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11646         function, so it follows changes in calendar-date-style.
11647         (diary-fancy-date-matcher): New function.
11648         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11649         (diary-fancy-font-lock-fontify-region-function):
11650         Use diary-fancy-date-pattern as a function.
11652         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11653         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
11655 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
11657         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11658         instead of positional arguments.  Allow :keylist and :crlfiles
11659         arguments.
11660         (open-gnutls-stream): Call it.
11662         * net/network-stream.el (network-stream-open-starttls): Adjust to
11663         call `gnutls-negotiate' with :process and :hostname arguments.
11665 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11667         * minibuffer.el (completion--message): New function.
11668         (completion--do-completion, minibuffer-complete)
11669         (minibuffer-force-complete, minibuffer-complete-word): Use it.
11670         (completion--do-completion): Don't ignore completion-auto-help when in
11671         icomplete-mode.
11673         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11674         internal encoding (e.g. tibetan zero is not whitespace).
11675         (global-whitespace-mode): Prefer save-current-buffer.
11676         (whitespace-trailing-regexp): Remove useless save-match-data.
11677         (whitespace-empty-at-bob-regexp): Minor simplification.
11679 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
11681         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11683 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11685         * textmodes/ispell.el (ispell-add-per-file-word-list):
11686         Use `concat' to create string for insertion.
11688 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11690         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11691         Avoid open-line which runs post-self-insert-hook.
11692         (bibtex-fill-entry): Remove unused `end' var.
11694 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
11696         * textmodes/ispell.el (ispell-add-per-file-word-list):
11697         Protect against `nil' value of `comment-start' (Bug#8579).
11699 2011-05-03  Leo Liu  <sdl.web@gmail.com>
11701         * isearch.el (isearch-yank-pop): New command.
11702         (isearch-mode-map): Bind it to `M-y'.
11703         (isearch-forward): Mention it.
11705 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11707         * simple.el (minibuffer-complete-shell-command): Remove.
11708         (minibuffer-local-shell-command-map): Use completion-at-point.
11709         (read-shell-command): Setup completion vars here instead.
11710         (read-expression-map): Bind TAB to symbol completion.
11712         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11713         error directly rather via storing it into `results'.
11715 2011-05-02  Leo Liu  <sdl.web@gmail.com>
11717         * vc/diff.el: Fix description.
11719 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11721         * server.el (server-eval-at): New function.
11723 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11725         * net/network-stream.el (open-network-stream): Take a :nowait
11726         parameter and pass it on to `make-network-process'.
11727         (network-stream-open-plain): Ditto.
11729 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11731         * faces.el (face-spec-set-match-display): Don't match toolkit
11732         options on terminal frames.
11734 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11736         * progmodes/pascal.el: Use lexical binding.
11737         (pascal-mode-map): Remove author preferences.
11739         * pcomplete.el (pcomplete-std-complete): Don't abuse
11740         completion-at-point.
11742 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
11744         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11745         removing code that has been dead since 1991 or so.
11747         * startup.el (command-line): When warning about "_emacs", use a
11748         delayed warning to allow the user to filter it out.
11750 2011-04-28  Deniz Dogan  <deniz@dogan.se>
11752         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11753         user has not joined.
11755 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11757         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11758         aren't any completions at point.
11760 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
11762         * subr.el (display-delayed-warnings): New function.
11763         (delayed-warnings-hook): New variable.
11765 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11767         * minibuffer.el (completion-at-point, completion-help-at-point):
11768         Don't presume that a given completion-at-point-function will always
11769         use the same calling convention.
11771         * pcomplete.el (pcomplete-completions-at-point):
11772         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
11773         pcomplete-seen is non-nil.
11774         (pcomplete-comint-setup): Also recognize the new comint/shell
11775         completion functions.
11776         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11777         pcomplete-seen is non-nil.
11779 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
11781         * calendar/icalendar.el (diary-lib): Add require statement.
11782         (icalendar--create-uid): Read out a uid from a text-property on
11783         the first character in the entry.  This allows for code to add its
11784         own uid to the entry.
11785         (icalendar--convert-float-to-ical): Add export of
11786         `diary-float'-entries save for those with the optional DAY
11787         argument.
11789 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
11791         * subr.el (shell-quote-argument): Use alternate escaping strategy
11792         when we spot a variable reference in a string.
11794 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
11796         * cus-start.el (all): Define customization for debug-on-event.
11798 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
11800         * subr.el (shell-quote-argument): Escape correctly under Windows.
11802 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11804         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11806 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
11808         * net/tramp.el (tramp-process-actions): Add POS argument.
11809         Delete region between POS and (pos).
11811         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11812         Use `nil' position in `tramp-process-actions' call.
11813         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11815         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11816         position in `tramp-process-actions' call.
11818         * net/trampver.el: Update release number.
11820 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11822         * custom.el (defcustom): Obey lexical-binding.
11824         Fix octave-inf completion problems reported by Alexander Klimov.
11825         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11826         Inherit from octave-mode-syntax-table.
11827         (inferior-octave-mode): Set info-lookup-mode.
11828         (inferior-octave-completion-at-point): New function.
11829         (inferior-octave-complete): Use it and completion-in-region.
11830         (inferior-octave-dynamic-complete-functions): Use it as well, and use
11831         comint-filename-completion.
11832         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11833         symbol elements which shouldn't be word elements.
11834         (octave-font-lock-keywords, octave-beginning-of-defun)
11835         (octave-function-header-regexp): Adjust regexps accordingly.
11836         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11838 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
11840         * net/gnutls.el (gnutls-errorp): Declare before first use.
11842 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
11844         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11845         verify-error, and verify-hostname-error parameters.  Check whether
11846         default trustfile exists before going to use it.  Add missing
11847         argument to gnutls-message-maybe call.  Return value.
11848         Reported by Claudio Bley <claudio.bley@gmail.com>.
11849         (open-gnutls-stream): Add usage example.
11851         * net/network-stream.el (network-stream-open-starttls): Give host
11852         parameter to `gnutls-negotiate'.
11853         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11854         * subr.el (shell-quote-argument): Escape correctly under Windows.
11856 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
11858         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11859         Use correct match group (bug#8438).
11861 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
11863         * emacs-lisp/package.el (package-built-in-p): Fix typo.
11864         (package-menu--generate): New arg specifying packages to show.
11865         (package-menu-refresh, package-menu-execute, list-packages):
11866         Callers changed.
11867         (package-show-package-list): New function, replacing deleted
11868         package--list-packages (renamed because it is non-internal).
11870         * finder.el (finder-list-matches): Use package-show-package-list
11871         instead of deleted package--list-packages.
11873         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11874         Based on a previous implementation by Juanma Barranquero (Bug#8366).
11875         (vc-annotate-mode-map): Bind it to RET.
11877 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
11879         * progmodes/etags.el (next-file): Don't use set-buffer to change
11880         buffers (Bug#8478).
11882 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
11884         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11886         * apropos.el (apropos-label-face): Avoid variable-pitch face.
11887         (apropos-accumulator): Doc fix.
11888         (apropos-function, apropos-macro, apropos-command)
11889         (apropos-variable, apropos-face, apropos-group, apropos-widget)
11890         (apropos-plist): Add face property.
11891         (apropos-symbols-internal): Fix indentation.
11892         (apropos-print): Simplify help, and recognize apropos-multi-type.
11893         (apropos-print-doc): Use button-type-get to extract the button's
11894         face property.  Fill docstring (Bug#8352).
11896 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
11898         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11900         * play/mpuz.el (mpuz-silent): Doc fix.
11901         (mpuz-mode-map): Use mapc.
11902         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11903         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11904         Fix typos in docstrings.
11906         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11907         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11909         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11911 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
11913         * minibuffer.el (completion--do-completion): Avoid the "Next char
11914         not unique" prompt if icomplete-mode is enabled (Bug#5849).
11916         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11917         mouse-2 into unread-command-events, it is interpreted correctly.
11919         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11920         (image-toggle-display): Doc fix.
11922 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
11924         * textmodes/page.el (what-page): Use line-number-at-pos to
11925         calculate line number (Bug#6825).
11927 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
11929         * eshell/esh-mode.el (find-tag-interactive): Declare function.
11930         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11931         Pass argument NO-DEFAULT to `find-tag-interactive'.
11933 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
11935         Lexical-binding cleanup.
11937         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11938         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11939         * progmodes/ada-prj.el (ada-prj-initialize-values)
11940         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11941         (ada-prj-show-value):
11942         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11943         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11944         (antlr-invalidate-context-cache, antlr-options-menu-filter)
11945         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11946         * progmodes/bug-reference.el (bug-reference-push-button):
11947         * progmodes/fortran.el (fortran-line-length):
11948         * progmodes/glasses.el (glasses-change):
11949         * progmodes/octave-mod.el (octave-fill-paragraph):
11950         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11951         (python-pdbtrack-grub-for-buffer, python-sentinel):
11952         * progmodes/sql.el (sql-save-connection):
11953         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11954         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11955         Mark unused parameters.
11957         * progmodes/compile.el (compilation--flush-directory-cache)
11958         (compilation--flush-parse, compile-internal): Mark unused parameters.
11959         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11960         (compilation-next-error-function): Remove unused variable `timestamp'.
11962         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11963         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11965         * progmodes/dcl-mode.el (dcl-end-of-command):
11966         Remove unused variable `start'.
11967         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11968         (dcl-option-value-basic, dcl-option-value-offset)
11969         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11970         Mark unused parameters.
11971         (dcl-save-local-variable): Remove unused variable `val'.
11972         (mode): Declare.
11974         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11975         Mark unused parameters.
11976         (delphi-ignore-changes): Move before first use.
11977         (delphi-charset-token-at): Remove unused variable `start'.
11978         (delphi-else-start): Remove unused variable `if-count'.
11979         (delphi-comment-block-start, delphi-comment-block-end):
11980         Remove unused variable `kind'.
11981         (delphi-indent-line): Remove unused variable `new-point'.
11983         * progmodes/ebrowse.el (ebrowse-files-list)
11984         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11985         Mark unused parameters.  Don't quote `lambda'.
11986         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11987         Don't quote `lambda'.
11988         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11989         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11990         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11991         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11992         Use `ignore-errors'.
11993         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11994         (ebrowse-view/find-file-and-search-pattern)
11995         (ebrowse-view/find-member-declaration/definition):
11996         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11997         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11998         Rename parameter PREFIX-ARG to PREFIX.
11999         (ebrowse-tags-read-name): Remove unused variables `start' and
12000         `member-info'.
12001         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12002         to `tags-file'.
12004         * progmodes/etags.el (local-find-tag-hook): Declare.
12005         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12006         Mark unused parameters.
12008         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12009         (executable-interpret): Mark unused parameter.
12011         * progmodes/flymake.el (flymake-process-sentinel)
12012         (flymake-after-change-function)
12013         (flymake-create-temp-with-folder-structure)
12014         (flymake-get-include-dirs-dot): Mark unused parameters.
12015         (flymake-safe-delete-directory): Remove unused variable `err'.
12017         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12018         (speedbar-timer-fn, speedbar-line-text)
12019         (speedbar-change-expand-button-char, speedbar-delete-subblock)
12020         (speedbar-center-buffer-smartly): Declare functions.
12021         (gdb-find-watch-expression): Remove unused variable `array'.
12022         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12023         (gdb-starting): Mark unused parameters.
12024         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12025         (gdb-table-string): Remove unused variable `res'.
12026         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12027         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12028         (gdb-display-buffer): Remove unused variable `cur-size'.
12030         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12031         allow lexical-binding compilation.
12032         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12033         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12034         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12035         Mark unused parameters.
12036         (gud-gdb-marker-filter): Remove unused variable `match'.
12037         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12038         lambda expressions and funcall them, instead of using `fset'.
12040         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12041         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12043         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12044         variable `header-beg'; use `let'.
12046         * progmodes/icon.el (indent-icon-exp): Remove unused variables
12047         `restart', `last-sexp' and `at-do'.
12049         * progmodes/js.el (js--debug): Mark unused parameter.
12050         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12051         (js--splice-into-items): Remove unused variable `item'.
12052         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12054         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12055         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12056         (makefile-complete): Remove unused variable `try'.
12057         (makefile-fill-paragraph, makefile-match-function-end):
12058         Mark unused parameters.
12060         * progmodes/octave-inf.el (inferior-octave-complete):
12061         Remove unused variable `proc'.
12062         (inferior-octave-output-digest): Mark unused parameter.
12064         * progmodes/perl-mode.el (perl-calculate-indent):
12065         Remove unused variable `err'.
12067         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12068         (prolog-indent-line): Mark unused parameters.
12069         (prolog-indent-line): Remove unused variable `beg'.
12071         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12072         (reporter-dont-compact-list): Declare.
12074         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12075         Remove unused variable `char'.
12076         (sh-debug): Mark unused parameter.
12077         (sh-get-indent-info): Remove unused variable `start'.
12078         (sh-calculate-indent): Remove unused variable `var'.
12080         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12081         (simula-electric-keyword): Remove unused variable `null'.
12082         (simula-search-backward, simula-search-forward): Remove unused
12083         variables `begin' and `end'.
12085         * progmodes/vera-mode.el (vera-guess-basic-syntax):
12086         Remove unused variable `pos'.
12087         (vera-electric-tab, vera-comment-uncomment-region):
12088         Mark unused parameters.
12089         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12091 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
12093         * emacs-lisp/package.el (package--builtins, package-alist)
12094         (package-load-descriptor, package-built-in-p, package-activate)
12095         (define-package, package-installed-p)
12096         (package-compute-transaction, package-buffer-info)
12097         (package--push): Doc fix.  Distinguish more clearly between
12098         version strings and version lists.
12100 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
12102         Lexical-binding cleanup.
12104         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12105         (5x5-make-mutate-best):
12106         * play/fortune.el (fortune-in-buffer):
12107         * play/gomoku.el (gomoku-init-display):
12108         * play/solitaire.el (solitaire, solitaire-do-check):
12109         * play/tetris.el (tetris-default-update-speed-function):
12110         Mark unused parameters.
12112         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12113         (bubbles--shift): Remove unused variable `char-org'.
12114         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
12115         (bubbles--show-images): Remove unused variable `char'.
12117         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12118         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12119         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12120         (decipher-analyze-buffer): Use ?\s.
12121         (decipher-make-checkpoint): Remove unused variable `mapping'.
12123         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12125         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12126         Remove unused variable `result'; use `let'.
12128         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12129         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12130         (gametree-children-shown-p, gametree-compute-reduced-score):
12131         Use `ignore-errors'.
12133         * play/handwrite.el (ps-lpr-switches): Declare.
12134         (handwrite): Remove unused variables `pmin' and `lastp'.
12136         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12138         * play/landmark.el (landmark-init-display)
12139         (landmark-update-naught-weights): Mark unused parameters.
12140         (landmark-y): Remove unused variable `noise'.  Simplify.
12141         (landmark-human-plays): Remove unused variable `score'.
12143         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12144         (mpuz-try-proposal): Remove unused variable `game'.
12146         * play/zone.el (life-patterns): Declare.
12148 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
12150         * vc/vc.el (ediff-vc-internal): Declare function.
12152 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12154         * shell.el: Use lexical-binding and std completion UI.
12155         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12156         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12157         comint-preoutput-filter-functions rather than on
12158         comint-output-filter-functions.
12159         (shell-command-completion, shell--command-completion-data)
12160         (shell-filename-completion, shell-environment-variable-completion)
12161         (shell-c-a-p-replace-by-expanded-directory): New functions.
12162         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12163         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12164         (shell-dynamic-complete-environment-variable): Use them.
12165         (shell-dynamic-complete-as-environment-variable)
12166         (shell-dynamic-complete-as-command): Remove.
12167         (shell-match-partial-variable): Match past point.
12168         * comint.el: Clean up use of completion-at-point-functions.
12169         (comint-completion-at-point): New function.
12170         (comint-mode): Use it completion-at-point-functions.
12171         (comint-dynamic-complete): Make it obsolete.
12172         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12173         (comint-c-a-p-replace-by-expanded-history): New function.
12174         (comint-dynamic-complete-functions)
12175         (comint-replace-by-expanded-history): Use it.
12176         * minibuffer.el (completion-table-with-terminator): Allow dynamic
12177         termination strings.  Try harder to avoid second try-completion.
12178         (completion-in-region-mode-map): Disable bindings that don't work yet.
12180         * comint.el: Use lexical-binding.  Require CL.
12181         (comint-dynamic-complete-functions): Use comint-filename-completion.
12182         (comint-completion-addsuffix): Tweak custom type.
12183         (comint-filename-completion, comint--common-suffix)
12184         (comint--common-quoted-suffix, comint--table-subvert)
12185         (comint--complete-file-name-data): New functions.
12186         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12187         (comint-dynamic-list-filename-completions): Use them.
12188         (comint-dynamic-simple-complete): Make obsolete.
12190         * minibuffer.el (completion-in-region-mode):
12191         Keep completion-in-region-mode--predicate global.
12192         (completion-in-region--postch):
12193         Assume completion-in-region-mode--predicate is not null.
12195         * progmodes/flymake.el (flymake-start-syntax-check-process):
12196         Obey `dir'.  Simplify.
12198         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12199         we're in VC after all.
12201 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
12203         * vc/vc.el (vc-diff-build-argument-list-internal)
12204         (vc-version-ediff, vc-ediff): New commands.
12205         (vc-version-diff): Use vc-diff-build-argument-list-internal.
12207 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12209         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12210         add sanity check.
12212         * obsolete/erc-hecomplete.el: Make obsolete.
12213         * obsolete/: Standardize obsolescence info in the header.
12215 2011-04-20  Glenn Morris  <rgm@gnu.org>
12217         * calendar/solar.el (solar-horizontal-coordinates):
12218         Use the longitude argument rather than `calendar-longitude'.
12219         (solar-date-next-longitude): Remove unused locals.
12221 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12223         * whitespace.el: New version 13.2.1.
12225 2011-04-20  felix  <EmacsWiki>  (tiny change)
12227         * whitespace.el (global-whitespace-mode): Keep highlight when
12228         switching between major modes on a file.
12230 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12232         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12233         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12234         multi-line comments as well.
12236 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
12238         Lexical-binding cleanup.
12240         * arc-mode.el (archive-mode-revert):
12241         * cmuscheme.el (scheme-interactively-start-process):
12242         * custom.el (custom-initialize-delay):
12243         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12244         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12245         * emacs-lock.el (emacs-lock-clear-sentinel):
12246         * ezimage.el (defezimage):
12247         * follow.el (follow-avoid-tail-recenter):
12248         * fringe.el (set-fringe-mode-1):
12249         * generic-x.el (bat-generic-mode-compile):
12250         * help-mode.el (help-info-variable, help-do-xref)
12251         (help-mode-revert-buffer):
12252         * help.el (view-emacs-todo):
12253         * iswitchb.el (iswitchb-completion-help):
12254         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12255         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12256         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12257         * locate.el (locate-update):
12258         * longlines.el (longlines-encode-region)
12259         (longlines-after-change-function):
12260         * outline.el (outline-isearch-open-invisible):
12261         * ps-def.el (declare-function, charset-dimension, char-width)
12262         (encode-char):
12263         * ps-mule.el (ps-mule-plot-string):
12264         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12265         (recentf-edit-list-select, recentf-edit-list-validate)
12266         (recentf-open-files-action):
12267         * rect.el (delete-whitespace-rectangle-line)
12268         (rectangle-number-line-callback):
12269         * register.el (window-configuration-to-register)
12270         (frame-configuration-to-register):
12271         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12272         * select.el (xselect-convert-to-string, xselect-convert-to-length)
12273         (xselect-convert-to-targets, xselect-convert-to-delete)
12274         (xselect-convert-to-filename, xselect-convert-to-charpos)
12275         (xselect-convert-to-lineno, xselect-convert-to-colno)
12276         (xselect-convert-to-os, xselect-convert-to-host)
12277         (xselect-convert-to-user, xselect-convert-to-class)
12278         (xselect-convert-to-name, xselect-convert-to-integer)
12279         (xselect-convert-to-atom, xselect-convert-to-identity):
12280         * subr.el (declare, ignore, process-kill-without-query)
12281         (text-clone-maintain):
12282         * terminal.el (te-get-char, te-tic-sentinel):
12283         * tool-bar.el (tool-bar-make-keymap):
12284         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12285         * type-break.el (type-break-mode, type-break-noninteractive-query):
12286         * view.el (View-back-to-mark):
12287         * wid-browse.el (widget-browse-action, widget-browse-widget)
12288         (widget-browse-widgets, widget-browse-sexp):
12289         * widget.el (define-widget-keywords):
12290         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12291         Mark unused parameters.
12293         * align.el (align-adjust-col-for-rule): Mark unused parameter.
12294         (align-areas): Remove unused variable `look'.
12295         (align-region): Remove unused variables `real-end' and `pos-list'.
12297         * apropos.el (apropos-score-doc): Remove unused variable `i'.
12299         * bindings.el (mode-line-modified, mode-line-remote):
12300         Mark unused parameters.
12301         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12303         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12304         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12306         * comint.el (comint-history-isearch-pop-state)
12307         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12308         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12309         (comint-substitute-in-file-name): Doc fix.
12311         * completion.el (cmpl-statistics-block): Mark unused parameter.
12312         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12313         (save-completions-to-file, load-completions-from-file):
12314         Remove unused local variable `e'.
12316         * composite.el (compose-chars): Remove unused variable `len'.
12317         (lgstring-insert-glyph): Remove unused variable `g'.
12318         (compose-glyph-string): Remove unused variables `ascent',
12319         `descent', `lbearing' and `rbearing'.
12320         (compose-glyph-string-relative): Remove unused variables
12321         `lbearing', `rbearing' and `wadjust'.
12322         (compose-gstring-for-graphic): Remove unused variables `header',
12323         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
12324         (compose-gstring-for-terminal): Remove unused variables `header'
12325         and `nchars'.  Use `let', not `let*'.
12327         * cus-edit.el (Custom-set, Custom-save, custom-reset)
12328         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12329         (Custom-buffer-done, custom-buffer-create-internal)
12330         (custom-browse-visibility-action, custom-browse-group-tag-action)
12331         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12332         (widget-magic-mouse-down-action, custom-toggle-parent)
12333         (custom-add-parent-links, custom-toggle-hide-variable)
12334         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12335         (custom-toggle-hide-face, face, hook, custom-group-link-action)
12336         (custom-face-menu-create, custom-variable-menu-create, get)
12337         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12338         (custom-reset-standard-save-and-update): Remove unused variable `value'.
12339         (customize-apropos): Remove unused variable `tests'.
12340         (custom-group-value-create): Remove unused variable `hidden-p'.
12341         (sort-fold-case): Declare.
12343         * cus-theme.el (custom-reset-standard-faces-list)
12344         (custom-reset-standard-variables-list): Declare.
12345         (customize-create-theme, custom-theme-revert, custom-theme-write)
12346         (custom-theme-choose-mode, customize-themes, custom-theme-save):
12347         Mark unused parameters.
12349         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12351         * delim-col.el (delimit-columns-max): Move defvar before first use.
12353         * descr-text.el (describe-char-categories): Don't quote `lambda'.
12354         (describe-char): Don't quote `lambda'.  Mark unused parameter.
12356         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12357         (auto-insert): Declare.
12358         (desktop-restore-file-buffer): Rename desktop-* parameters;
12359         mark unused ones.
12360         (desktop-create-buffer): Rename desktop-* parameters and bind them.
12361         (desktop-buffer): Rename desktop-* parameters.
12363         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12364         (dframe-reposition-frame-xemacs, dframe-help-echo)
12365         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12366         Mark unused parameters.
12368         * dired-aux.el (backup-extract-version-start, overwrite-query)
12369         (overwrite-backup-query, rename-regexp-query)
12370         (rename-non-directory-query): Declare.
12371         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12372         (dired-add-entry): Remove unused variable `orig-file-name'.
12373         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12374         Use parameter PRESERVE-TIME instead of accessing dynamic variable
12375         `dired-copy-preserve-time' directly.
12376         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12377         (dired-insert-subdir-newpos): Rename unused variable `pos'.
12379         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12380         (dired-virtual-revert, dired-make-relative-symlink):
12381         Mark unused parameters.
12382         (manual-program): Declare.
12383         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12384         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12385         wrapped in `with-no-warnings' to avoid replacing one warning by another.
12387         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12389         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12391         * echistory.el (electric-history-in-progress, Helper-return-blurb):
12392         Declare.
12394         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12396         * electric.el (Electric-command-loop): Rename parameter
12397         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12399         * expand.el (expand-in-literal): Remove unused variable `here'.
12401         * facemenu.el (facemenu-add-new-color):
12402         Remove unused variable `docstring'.
12404         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12405         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12406         (face-attr-construct): Mark unused parameter.  Doc fix.
12407         (read-color): Remove unused variable `hex-string'.
12409         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12410         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12411         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12412         (display-buffer-other-frame): Remove unused variable `old-window'.
12413         (kill-buffer-hook): Declare.
12414         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12415         Mark unused parameters.
12416         (after-find-file): Pass 1 to `auto-save-mode', not t.
12418         * files-x.el (auto-insert): Declare.
12419         (modify-file-local-variable-prop-line): Remove unused variable `val'.
12421         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12422         variable `buf'.  Mark unused parameter.
12423         (find-lisp-insert-directory): Mark unused parameter.
12425         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12426         (format-encode-region): Remove unused variables `cur-buf' and `result'.
12427         (format-common-tail): Remove, unused.
12428         (format-deannotate-region): Remove unused variable `loc'.
12429         (format-annotate-region): Remove unused variable `p'.
12430         (format-annotate-single-property-change): Remove unused variables
12431         `default' and `tail'.
12433         * forms.el (read-file-filter): Declare.
12434         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12436         * frame.el (frame-creation-function-alist): Mark unused parameter.
12437         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12439         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12440         Remove unused parameters.
12441         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12442         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12444         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12445         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12446         (hfy-prepare-tag-map): Mark unused parameters.
12447         (htmlfontify-buffer): Use `called-interactively-p'.
12449         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12450         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12451         (ibuffer-do-occur): Mark unused parameters.
12452         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12453         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12455         * ibuffer.el: Don't quote `lambda'.
12456         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12457         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12458         Mark unused parameters.
12460         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12461         (ido-completing-read): Mark unused parameters.
12462         (ido-copy-current-word): Mark unused parameters;
12463         remove unused variable `name'.
12464         (ido-sort-merged-list): Remove unused parameter `dirs'.
12466         * ielm.el (ielm-input-sender): Mark unused parameter.
12467         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12468         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12469         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12470         `ielm-string' as a dynamic variable accessible from the IELM prompt.
12471         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
12473         * image-dired.el (image-dired-display-thumbs): Remove unused
12474         variables `curr-file' and `count'.
12475         (image-dired-remove-tag): Remove unused variable `start'.
12476         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12477         variable `curr-file'
12478         (image-dired-rotate-original): Remove unused variable `temp-file'.
12479         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12480         Remove unused variable `file'.
12481         (image-dired-gallery-generate): Remove unused variable `curr'.
12482         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12484         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12486         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12488         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12490         * isearch.el (minibuffer-history-symbol): Declare.
12491         (isearch-edit-string): Remove unused variable `err'.
12492         (isearch-message-prefix, isearch-message-suffix):
12493         Mark unused parameters.
12495         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12497         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12499         * makesum.el (double-column): Remove unused variable `cnt'.
12501         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12502         (ido-ignore-item-temp-list): Declare.
12504         * mouse-drag.el (mouse-drag-throw): Remove unused variables
12505         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12506         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12507         (mouse-drag-drag): Remove unused variables `mouse-delta' and
12508         `mouse-col-delta'.
12510         * mouse-sel.el (mouse-extend-internal):
12511         Remove unused variable `orig-window-frame'.
12513         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12514         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12515         Move declarations before first use.
12516         (pcomplete-opt): Mark unused parameters; doc fix.
12518         * proced.el (proced-revert): Mark unused parameter.
12519         (proced-send-signal): Remove unused variable `err'.
12521         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12522         Rename parameter PREFIX-ARG to ARG.
12523         (ps-basic-plot-string, ps-basic-plot-whitespace):
12524         Mark unused parameters.
12526         * replace.el (replace-count): Define.
12527         (occur-revert-function): Mark unused parameters.
12528         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12529         (isearch-case-fold-search, isearch-string): Declare.
12530         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12531         bind `case-fold-search'.  Remove unused variables `beg' and `end',
12532         and simplify.
12533         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12534         COUNT and bind `replace-count'.
12535         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12536         to COUNT.
12538         * savehist.el (print-readably, print-string-length): Declare.
12540         * shadowfile.el (shadow-expand-cluster-in-file-name):
12541         Remove unused variable `cluster'.
12542         (shadow-copy-file): Remove unused variable `i'.
12543         (shadow-noquery, shadow-clusters, shadow-site-cluster)
12544         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12545         (shadow-define-literal-group, shadow-define-regexp-group)
12546         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12548         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12549         (shell): Use `called-interactively-p'.
12550         (shell-directory-tracker): Remove unused variable `chdir-failure'.
12552         * simple.el (compilation-context-lines, comint-file-name-quote-list)
12553         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12554         (delete-backward-char): Remove unused variable `ocol'.
12555         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12556         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12557         (event-apply-hyper-modifier, event-apply-shift-modifier)
12558         (event-apply-control-modifier, event-apply-meta-modifier):
12559         Mark unused parameters.
12560         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12561         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12563         * speedbar.el (speedbar-ignored-directory-expressions)
12564         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12565         (speedbar-find-file, speedbar-dir-follow)
12566         (speedbar-directory-buttons-follow, speedbar-tag-find)
12567         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12568         (speedbar-buffers-line-directory, speedbar-buffer-click):
12569         Mark unused parameters.
12570         (speedbar-tag-file): Remove unused variable `mode'.
12571         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12573         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12575         * talk.el (talk): Remove unused variable `display'.
12577         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12578         (tar-write-region-annotate): Mark unused parameter.
12580         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12581         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12582         Declare them, wrapped in `with-no-warnings' to avoid replacing one
12583         warning by another.
12585         * time-stamp.el (time-stamp-string-preprocess):
12586         Remove unused variable `require-padding'.
12588         * tree-widget.el (widget-glyph-enable): Declare.
12589         (tree-widget-action): Mark unused parameter.
12591         * w32-fns.el (x-get-selection): Mark unused parameter.
12592         (autoload-make-program, generated-autoload-file): Declare.
12594         * wdired.el (wdired-revert): Mark unused parameters.
12595         (wdired-xcase-word): Remove unused variable `err'.
12597         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12598         (whitespace-help-scroll): Remove unused variable `data-help'.
12600         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12601         (widget-image-insert, widget-after-change, default)
12602         (widget-default-format-handler, widget-default-notify)
12603         (widget-default-prompt-value, widget-info-link-action)
12604         (widget-url-link-action, widget-function-link-action)
12605         (widget-variable-link-action, widget-file-link-action)
12606         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12607         (widget-field-prompt-internal, widget-field-action, widget-field-match)
12608         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12609         (widget-insert-button-action, widget-delete-button-action, visibility)
12610         (widget-documentation-link-action, widget-documentation-string-action)
12611         (widget-const-prompt-value, widget-regexp-match, symbol)
12612         (widget-coding-system-prompt-value)
12613         (widget-key-sequence-value-to-external, sexp)
12614         (widget-sexp-value-to-internal, character, vector, cons)
12615         (widget-choice-prompt-value, widget-boolean-prompt-value)
12616         (widget-color--choose-action): Mark unused parameters.
12617         (widget-item-match-inline, widget-choice-match-inline)
12618         (widget-checklist-match, widget-checklist-match-inline)
12619         (widget-group-match): Rename parameter VALUES to VALS.
12620         (widget-field-value-set): Remove unused variable `size'.
12621         (widget-color-action): Remove unused variables `value' and `start'.
12623         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12624         variable `dir'.  Doc fix.
12625         (windmove-find-other-window): Don't pass it.
12627         * window.el (count-windows): Mark unused parameter.
12628         (bw-adjust-window): Remove unused variable `err'.
12630         * woman.el (woman-file-name): Remove unused variable `default'.
12631         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12632         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12633         (global-font-lock-mode): Declare.
12634         (woman-decode-region): Mark unused parameter.
12635         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12637         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12638         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12639         (x-dnd-handle-moz-url): Remove unused variable `title'.
12640         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12642         * xml.el (xml-parse-tag, xml-parse-attlist):
12643         Remove unused variable `pos'.
12645 2011-04-19  Glenn Morris  <rgm@gnu.org>
12647         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12648         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12649         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12650         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12651         * calendar/cal-html.el (cal-html-insert-minical):
12652         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12653         (calendar-mark-date-pattern):
12654         Prefix "unused" locals.
12656         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12657         optional argument `style'.
12659         * calendar/appt.el (appt-make-list):
12660         * calendar/cal-china.el (calendar-chinese-date-string):
12661         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12662         (diary-hebrew-yahrzeit):
12663         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12664         * calendar/calendar.el (calendar-generate-window):
12665         * calendar/time-date.el (time-to-days):
12666         Remove unused local variables.
12668 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
12670         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12671         glyphless-char-display table.
12672         (tabulated-list-glyphless-char-display): New var.
12674 2011-04-18  Sam Steingold  <sds@gnu.org>
12676         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12677         to acknowledgments.
12679 2011-04-17  Glenn Morris  <rgm@gnu.org>
12681         * calendar/diary-lib.el (diary-sexp-entry):
12682         * calendar/holidays.el (holiday-sexp):
12683         Set debug-on-error rather than the removed stack-trace-on-error.
12685 2011-04-16  Glenn Morris  <rgm@gnu.org>
12687         * progmodes/f90.el: Use lexical-binding.
12688         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12690 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12692         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12693         (mail-mode): Setup mailalias completion here instead.
12694         * mail/mailalias.el: Use lexical-binding.
12695         (pattern, mailalias-done): Declare dynamic.
12696         (mail-completion-at-point-function): New function, from mail-complete.
12697         (mail-complete): Use it.
12698         (mail-completion-expand): New function.
12699         (mail-get-names): Use it.
12700         (mail-directory, mail-directory-process, mail-directory-stream):
12701         Don't use `pattern' for lexically bound arg.
12703         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12705         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12706         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12707         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12709         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12710         (byte-save-window-excursion, byte-temp-output-buffer-setup)
12711         (byte-interactive-p): Define them again, for use when inlining
12712         old code.
12714 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
12716         * loadup.el: Use `string-to-number', not `string-to-int'.
12718 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12720         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12721         gud-gdb-complete-command.
12722         (gud-gdb-completions): New function, from gud-gdb-complete-command.
12723         (gud-gdb-completion-at-point): New function.
12724         (gud-gdb-completions): Remove.
12726 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
12728         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12729         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
12730         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12731         whether `executable-find' is bound.
12733         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12735 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12737         * minibuffer.el (completion-in-region-mode-predicate)
12738         (completion-in-region-mode--predicate): New vars.
12739         (completion-in-region, completion-in-region--postch)
12740         (completion-in-region-mode): Use them.
12741         (completion--capf-wrapper): Also return the hook function.
12742         (completion-at-point, completion-help-at-point):
12743         Adjust and provide a predicate.
12745         Preserve arg names for advice of subr and lexical functions (bug#8457).
12746         * help-fns.el (help-function-arglist): Consolidate the subr and
12747         new-byte-code cases.  Add argument `preserve-names' to extract names
12748         from the docstring when needed.
12749         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12750         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12751         (ad-arglist): Use help-function-arglist's new arg.
12752         (ad-definition-type): Use cond.
12754 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
12756         * autorevert.el (auto-revert-handler):
12757         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12758         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12759         Don't quote lambda.
12761         * image-mode.el (image-transform-set-scale):
12762         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12764 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12766         * net/network-stream.el (network-stream-open-starttls): Only do
12767         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12768         Upgrades via gnutls-cli are too slow to be done opportunistically.
12770 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
12772         * dframe.el (dframe-current-frame): Remove spurious quote.
12774 2011-04-12  Glenn Morris  <rgm@gnu.org>
12776         * calendar/cal-tex.el (cal-tex-end-document):
12777         Try to automatically use latin1 input if needed.
12779         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12780         Don't try to cons a mark onto an empty element.
12782 2011-04-11  Leo Liu  <sdl.web@gmail.com>
12784         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12785         buffers.
12786         (ido-kill-buffer-at-head): Support killing virtual buffers.
12788 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
12790         * minibuffer.el (completion-show-inline-help): New var.
12791         (completion--do-completion, minibuffer-complete)
12792         (minibuffer-force-complete, minibuffer-complete-word):
12793         Inhibit minibuffer messages if completion-show-inline-help is nil.
12795         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12796         to avoid interference from inline help (Bug#5849).
12798 2011-04-10  Leo Liu  <sdl.web@gmail.com>
12800         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12801         Fix typo.
12803 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
12805         * image-mode.el (image-toggle-display-image): Signal an error if
12806         not in Image mode.
12807         (image-transform-mode, image-transform-resize)
12808         (image-transform-set-rotation): Doc fix.
12809         (image-transform-set-resize): Delete.
12810         (image-transform-set-scale, image-transform-fit-to-height)
12811         (image-transform-fit-to-width): Handle image-toggle-display-image
12812         and image-transform-resize directly.
12814 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
12816         * doc-view.el (doc-view-fit-width-to-window)
12817         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12818         New functions for fitting the shown image to the Emacs window size.
12819         (doc-view-mode-map): Add bindings for the new functions.
12821 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
12823         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12824         Fix typo in docstring.
12826 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
12828         * files.el (file-size-human-readable): Produce one digit after
12829         decimal, like "ls -lh" does.
12831         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12832         the file size representation.
12834         * simple.el (list-processes): If async subprocesses are not
12835         available, error out with a clear error message.
12837 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
12839         * help.el (help-form-show): New function, to be called from C.
12840         Put help-form output in a buffer named differently than *Help*.
12842 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
12844         * files.el (file-size-human-readable): New function.
12846         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12847         computing the representation inline.  Don't require `cl'.
12849 2011-04-08  Glenn Morris  <rgm@gnu.org>
12851         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12853         * net/browse-url.el (browse-url-firefox):
12854         Test system-type, not system-configuration.
12856         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12857         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12858         Use log-edit-empty-buffer-p.  (Bug#7598)
12860         * net/rlogin.el (rlogin-process-connection-type): Simplify.
12861         (rlogin-mode-map): Initialize in the defvar.
12862         (rlogin): Use ignore-errors.
12864         * replace.el (occur-mode-map): Some fixes for menu items.
12866 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12868         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
12870 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
12872         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12873         issuing unused warnings.
12875         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12876         macro directly.
12878         * simple.el: Lisp reimplement of list-processes.  Based on an
12879         earlier reimplementation by Leo Liu, but using tabulated-list.el.
12880         (process-menu-mode): New major mode.
12881         (list-processes--refresh, list-processes):
12882         (process-menu-visit-buffer): New functions.
12884         * files.el (save-buffers-kill-emacs): Don't assume any return
12885         value of list-processes, which is undocumented anyway.
12887 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
12889         * emacs-lisp/tabulated-list.el: New file.
12891         * emacs-lisp/package.el: Use Tabulated List mode.
12892         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12893         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
12894         table format using Tabulated List mode variables.
12895         (package--push): New macro, replacing package-list-maybe-add.
12896         (package-menu--generate): Use package--push.  Renamed from
12897         package--generate-package-list.
12898         (package-menu-refresh, list-packages): Use it.
12899         (package-menu--print-info): Rename from package-print-package.
12900         Return insertion data instead of inserting it directly.
12901         (package-menu-describe-package, package-menu-execute):
12902         Use tabulated-list-get-id.
12903         (package-menu-mark-delete, package-menu-mark-install)
12904         (package-menu-mark-unmark, package-menu-backup-unmark)
12905         (package-menu-mark-obsolete-for-deletion):
12906         Use tabulated-list-put-tag.
12907         (package--list-packages, package-menu-revert)
12908         (package-menu-get-package, package-menu-get-version)
12909         (package-menu-sort-by-column): Functions deleted.
12910         (package-menu-package-list, package-menu-sort-key): Vars deleted.
12911         (package-menu--status-predicate, package-menu--version-predicate)
12912         (package-menu--name-predicate)
12913         (package-menu--description-predicate): Handle arguments in the
12914         Tabulated List format.
12915         (package-list-packages-no-fetch): Call list-packages.
12917 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
12919         * files.el (after-find-file-from-revert-buffer): Remove variable.
12920         (after-find-file): Don't bind it.
12921         (revert-buffer-in-progress-p): New variable.
12922         (revert-buffer): Bind it.
12923         Pass nil for `after-find-file-from-revert-buffer'.
12925         * saveplace.el (save-place-find-file-hook): Use new variable
12926         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12928 2011-04-06  Glenn Morris  <rgm@gnu.org>
12930         * Makefile.in (AUTOGEN_VCS): New variable.
12931         (autoloads): Use $AUTOGEN_VCS.
12933         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12934         * calendar/calendar.el (calendar-mode-map):
12935         Check for toolkit scroll bars.  (Bug#8305)
12937 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12939         * minibuffer.el (completion-in-region--postch)
12940         (completion-in-region-mode): Remove unnecessary messages.
12942 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
12944         * font-lock.el (font-lock-refresh-defaults):
12945         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12946         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12948         * info.el (Info-directory-list, Info-read-node-name-2)
12949         (Info-split-parameter-string): Doc fixes.
12950         (Info-virtual-nodes): Reflow docstring.
12951         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12952         (Info-apropos-toc-nodes, info-finder, Info-get-token)
12953         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12954         Fix typos in docstrings.
12955         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12956         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12957         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12958         (Info-restore-desktop-buffer): Mark unused parameters.
12959         (Info-directory-find-file, Info-directory-find-node)
12960         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12961         (Info-virtual-index-find-node, Info-apropos-find-file)
12962         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12963         Mark unused parameters; fix typos in docstrings.
12964         (Info-virtual-index): Remove unused local variable `nodename'.
12966 2011-04-05  Deniz Dogan  <deniz@dogan.se>
12968         * net/rcirc.el: Update my e-mail address.
12969         (rcirc-mode-map): Remove M-o binding.
12971 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12973         * startup.el (command-line): Save the cursor's theme-face
12974         directly, instead of using face-override-spec.
12976         * custom.el (load-theme): Minor optimization in assigning faces.
12978 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12980         * help-fns.el (describe-variable): Complete all variables having
12981         documentation, including keywords.
12982         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12984 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12986         Convert to lexical-binding.
12988         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12989         (bs--get-marked-string, bs--get-modified-string)
12990         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12991         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12992         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12994         * ehelp.el (electric-help-execute-extended)
12995         (electric-help-ctrl-x-prefix):
12996         * hexl.el (hexl-revert-buffer-function):
12997         * linum.el (linum-after-change, linum-after-scroll):
12998         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13000         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13002 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
13004         * epa-dired.el:
13005         * epa-mail.el:
13006         * epa-hook.el:
13007         * epa-file.el:
13008         * epa.el:
13009         * epg.el: Use lexical binding.
13011 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
13013         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13015         * textmodes/flyspell.el (flyspell-word): Recognize default
13016         dictionary case for flyspell-mark-duplications-exceptions.
13017         Use regexp matching for languages.
13018         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13019         default dictionary (Bug#7926).
13021 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
13023         * emacs-lisp/package.el (package--with-work-buffer):
13024         Recognize https URLs.
13026         * net/network-stream.el: Move from gnus/proto-stream.el.
13027         Change prefix to network-stream throughout.
13028         (open-protocol-stream): Merge into open-network-stream, leaving
13029         open-protocol-stream as an alias.  Handle nil BUFFER args.
13031         * subr.el (open-network-stream): Move to net/network-stream.el.
13033 2011-04-02  Glenn Morris  <rgm@gnu.org>
13035         * find-dired.el (find-exec-terminator): New option.
13036         (find-ls-option): Test for -ls support.
13037         (find-ls-subdir-switches): Test for -b in find-ls-option.
13038         (find-dired, find-grep-dired): Doc fixes.
13039         (find-dired): Use find-exec-terminator.
13041         * find-dired.el (find-ls-option, find-ls-subdir-switches)
13042         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13043         (find-name-arg): Remove purecopy.
13045         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13046         (grep-compute-defaults): Check for `-exec COMMAND +' support.
13047         Set grep-find-use-xargs, grep-find-command, and grep-find-template
13048         accordingly.  Don't add the null-device if not needed.
13050         * files.el (save-some-buffers): Doc fix.
13052 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
13054         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13056 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
13058         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13059         Use `dolist' rather than `mapcar'.
13061 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13063         Add lexical binding.
13065         * subr.el (apply-partially): Use new closures rather than CL.
13066         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13067         (dolist, dotimes): Use slightly different expansion for lexical code.
13068         (functionp): Move to C.
13069         (letrec): New macro.
13070         (with-wrapper-hook): Use it and apply-partially instead of CL.
13071         (eval-after-load): Preserve lexical-binding.
13072         (save-window-excursion, with-output-to-temp-buffer): Turn them
13073         into macros.
13075         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13077         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13078         than the arglist.
13079         (help-add-fundoc-usage): Don't add `Not documented'.
13080         (help-function-arglist): Handle closures, subroutines, and new
13081         byte-code-functions.
13082         (help-make-usage): Remove leading underscores.
13083         (describe-function-1): Handle closures.
13084         (describe-variable): Use special-variable-p for completion.
13086         * files.el (lexical-binding): Declare safe.
13088         * emacs-lisp/pcase.el: Don't use destructuring-bind.
13089         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
13090         (pcase): Add `let' pattern.
13091         Change memoization so it actually works.
13092         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13093         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13094         <let>: New case.
13096         * emacs-lisp/macroexp.el: Use lexical binding.
13097         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
13098         Don't convert ' to #' without checking that it's indeed quoting
13099         a lambda.
13101         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13102         Use eval-sexp-add-defvars.
13103         (eval-sexp-add-defvars): New fun.
13105         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13107         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13108         Don't autoload.
13109         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13110         than the internal `byte-compile-lambda'.
13111         (defmethod): Don't hide code under quotes.
13112         (eieio-defmethod): New `code' argument.
13114         * emacs-lisp/eieio-comp.el: Remove.
13116         * emacs-lisp/edebug.el (edebug-eval-defun)
13117         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13118         (edebug-toggle): Avoid `eval'.
13120         * emacs-lisp/disass.el (disassemble-internal): Handle new
13121         `closure' objects.
13122         (disassemble-1): Handle new byte codes.
13124         * emacs-lisp/cl.el (pushnew): Silence warning.
13126         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13127         (cl-byte-compile-throw): Remove.
13128         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13130         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13131         closures.
13133         * emacs-lisp/cconv.el: New file.
13135         * emacs-lisp/bytecomp.el: Use lexical binding instead of
13136         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
13137         (byte-compile-initial-macro-environment):
13138         Handle declare-function here.
13139         (byte-compile--lexical-environment): New var.
13140         (byte-stack-ref, byte-stack-set, byte-discardN)
13141         (byte-discardN-preserve-tos): New lap codes.
13142         (byte-interactive-p): Don't use any more.
13143         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13144         New macros.
13145         (byte-compile-lapcode): Use them and handle new lap codes.
13146         (byte-compile-obsolete): Remove.
13147         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13148         (byte-compile-arglist-warn): Check late def of inlinable funs.
13149         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13150         since they should have been expanded by now.
13151         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13152         (byte-compile-from-buffer): Remove unused second arg.
13153         (byte-compile-preprocess): New function.
13154         (byte-compile-toplevel-file-form): New function to distinguish
13155         file-form calls from outside from file-form calls from hunk-handlers.
13156         (byte-compile-file-form): Simplify.
13157         (byte-compile-file-form-defsubst): Remove.
13158         (byte-compile-file-form-defmumble): Simplify now that
13159         byte-compile-lambda always returns a byte-code-function.
13160         (byte-compile): Preprocess.
13161         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13162         Remove, not used any more.
13163         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13164         (byte-compile-make-args-desc): New funs.
13165         (byte-compile-lambda): Handle lexical functions.  Always return
13166         a byte-code-function.
13167         (byte-compile-reserved-constants): New var, to make up room for
13168         closed-over variables.
13169         (byte-compile-constants-vector): Obey it.
13170         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13171         (byte-compile-macroexpand-declare-function): New function.
13172         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13173         byte-code-functions.
13174         (byte-compile-form): Check obsolescence here.
13175         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13176         (byte-compile-variable-ref): Remove.
13177         (byte-compile-dynamic-variable-op): New fun.
13178         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13179         (byte-compile-variable-set): New funs.
13180         (byte-compile-discard): Add 2 args.
13181         (byte-compile-stack-ref, byte-compile-stack-set)
13182         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13183         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13184         macroexpand-all instead.
13185         (byte-compile-quote-form): Remove.
13186         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13187         (byte-compile-bind, byte-compile-unbind): New funs.
13188         (byte-compile-let): Handle let* and lexical binding.
13189         (byte-compile-let*): Remove.
13190         (byte-compile-catch, byte-compile-unwind-protect)
13191         (byte-compile-track-mouse, byte-compile-condition-case):
13192         Handle a new :fun-body form, used for lexical scoping.
13193         (byte-compile-save-window-excursion)
13194         (byte-compile-with-output-to-temp-buffer): Remove.
13195         (byte-compile-defun): Simplify.
13196         (byte-compile-stack-adjustment): New fun.
13197         (byte-compile-out): Use it.
13198         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13200         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13201         handler any more.
13203         * emacs-lisp/byte-opt.el: Use lexical binding.
13204         (byte-inline-lapcode): Remove (to bytecomp).
13205         (byte-compile-inline-expand): Pay attention to inlining to/from
13206         lexically bound code.
13207         (byte-compile-unfold-lambda): Don't handle byte-code-functions
13208         any more.
13209         (byte-optimize-form-code-walker): Don't handle save-window-excursion
13210         any more and don't call compiler-macros.
13211         (byte-compile-splice-in-already-compiled-code): Remove.
13212         (byte-code): Don't inline any more.
13213         (disassemble-offset): Receive `bytes' as argument rather than via
13214         dynamic scoping.
13215         (byte-compile-tag-number): Declare before first use.
13216         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13217         `return' even if make-spliceable.
13218         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13219         obsolete interactive-p.
13220         (byte-optimize-lapcode): Optimize new lap-codes.
13221         Don't trip up on new form of `byte-constant' lap code.
13223         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13225         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13227         * custom.el (custom-initialize-default, custom-declare-variable):
13228         Use `defvar'.
13230         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13231         New variables.
13232         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13233         (COMPILE_FIRST): Add macroexp and cconv.
13234         * makefile.w32-in: Mirror changes in Makefile.in.
13236         * vc/cvs-status.el:
13237         * vc/diff-mode.el:
13238         * vc/log-edit.el:
13239         * vc/log-view.el:
13240         * vc/smerge-mode.el:
13241         * textmodes/bibtex-style.el:
13242         * textmodes/css.el:
13243         * startup.el:
13244         * uniquify.el:
13245         * minibuffer.el:
13246         * newcomment.el:
13247         * reveal.el:
13248         * server.el:
13249         * mpc.el:
13250         * emacs-lisp/smie.el:
13251         * doc-view.el:
13252         * dired.el:
13253         * abbrev.el: Use lexical binding.
13255 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
13257         * info.el (info-display-manual): New function.
13259 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13261         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13263 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
13265         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13266         an entry for that server in rcirc-authinfo.  (Bug#8385)
13268 2011-03-31  Glenn Morris  <rgm@gnu.org>
13270         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13272         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13274 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
13276         * progmodes/python.el (python-default-interpreter)
13277         (python-python-command-args, python-jython-command-args)
13278         (python-which-shell, python-which-args, python-which-bufname)
13279         (python-file-queue, python-comint-output-filter-function)
13280         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13281         variables and functions.
13283 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13285         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13286         (completion-in-region-mode): New minor mode.
13287         (completion-in-region): Use it.
13288         (completion-in-region--data, completion-in-region-mode-map): New vars.
13289         (completion-in-region--postch): New function.
13290         (completion--capf-misbehave-funs, completion--capf-safe-funs):
13291         New vars.
13292         (completion--capf-wrapper): New function.
13293         (completion-at-point): Use it to track well-behavedness of
13294         hook functions.
13295         (completion-help-at-point): New command.
13297 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
13299         * vc/add-log.el (add-change-log-entry): Don't use whitespace
13300         syntax class to search for whitespace on a single line
13301         (Message-ID: <4D938140.4030905@redhat.com>).
13303 2011-03-30  Leo Liu  <sdl.web@gmail.com>
13305         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13306         New commands.
13307         (edit-abbrevs-map): Bind them here.
13308         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
13310 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
13312         * allout.el (allout-hide-by-annotation, allout-flag-region):
13313         Reduce possibility of overlay leakage by making them volatile.
13315         * allout-widgets.el (allout-widgets-tally): Define as nil so the
13316         hash is not shared between buffers.  Mode initialization is
13317         responsible for giving it a useful starting value.
13318         (allout-item-span): Reduce possibility of overlay leakage by
13319         making them volatile.
13320         (allout-widgets-count-buttons-in-region): Add diagnostic function
13321         for tracking down button overlay leaks.
13323 2011-03-29  Leo Liu  <sdl.web@gmail.com>
13325         * ido.el (ido-read-internal): Use the default history var
13326         minibuffer-history if no HISTORY is specified.
13328 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
13330         * net/imap.el (imap-shell-open, imap-process-connection-type):
13331         Use imap-process-connection-type for 'shell' streams as well as
13332         Kerberos, SSL, other subprocesses.
13334 2011-03-28  Leo Liu  <sdl.web@gmail.com>
13336         * abbrev.el (abbrev-table-empty-p): New function.
13337         (prepare-abbrev-list-buffer): Place empty abbrev tables after
13338         nonempty ones.  (Bug#5937)
13340 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
13342         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13344 2011-03-27  Leo Liu  <sdl.web@gmail.com>
13346         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13347         for foreground and background colors.
13348         (ansi-color-make-color-map): Adapt.
13350 2011-03-25  Leo Liu  <sdl.web@gmail.com>
13352         * midnight.el (midnight-time-float): Remove.  Note it calculates
13353         the microsecond component incorrectly and seconds-to-time does the
13354         same job.
13355         Remove redundant (require 'timer).
13357         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13358         (ido-completions): Remove unused arguments.  (Bug#8329)
13360 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13362         * minibuffer.el (completion--flush-all-sorted-completions):
13363         Remove itself from hook.
13364         (completion-at-point): Let the functions perform the completion
13365         immediately and return nil or t.
13366         * comint.el (comint-dynamic-complete-functions): Now identical to
13367         completion-at-point-functions.
13368         (comint-dynamic-list-input-ring): Remove unused var `index'.
13369         (comint--match-partial-filename, comint--unquote&expand-filename):
13370         New funs, split from comint-match-partial-filename.
13371         (comint-dynamic-complete): Use completion-at-point.
13372         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13374 2011-03-24  Drew Adams  <drew.adams@oracle.com>
13376         * thingatpt.el: Support `defun'.
13378 2011-03-23  Leo Liu  <sdl.web@gmail.com>
13380         * abbrevlist.el: Move to obsolete/abbrevlist.el.
13382         * help-mode.el (help-mode-finish): Tweak regexp.
13384 2011-03-23  Glenn Morris  <rgm@gnu.org>
13386         * eshell/esh-opt.el (eshell-eval-using-options):
13387         Do not bind unused local variable `eshell-option-stub'.
13389         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13391 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
13393         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13394         keymap variable in `with-no-warnings' to avoid a warning when the
13395         keymap has been already `defconst'ed.
13397 2011-03-22  Leo Liu  <sdl.web@gmail.com>
13399         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13400         encode all chars in abbrevs; otherwise use emacs-mule or
13401         utf-8-emacs.  (Bug#8308)
13403 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
13405         * simple.el (backward-delete-char-untabify):
13406         Avoid warning about using `delete-backward-char'.
13408         * image.el (image-type-file-name-regexps): Make it variable.
13409         `imagemagick-register-types' modifies it, and the user may want
13410         to add new extensions for known image types.
13411         (imagemagick-register-types): Throw error if not using ImageMagick.
13413 2011-03-22  Leo Liu  <sdl.web@gmail.com>
13415         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13416         located before rcirc-prompt-end-marker.
13417         (rcirc-complete): Error if point is not after rcirc prompt.
13418         Handle the case when table is nil.
13419         (rcirc-user-authenticated): Define to fix compiler warning.
13421 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
13423         * custom.el (custom--inhibit-theme-enable): Make it affect only
13424         custom-theme-set-variables and custom-theme-set-faces.
13425         (provide-theme): Ignore custom--inhibit-theme-enable.
13426         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13427         (custom-enabling-themes): Delete variable.
13428         (enable-theme): Accept only loaded themes as arguments.
13429         Ignore the special custom-enabled-themes variable.
13430         (custom-enabled-themes): Forbid themes from setting this.
13431         Eliminate use of custom-enabling-themes.
13432         (custom-push-theme): Quote "changed" custom var entry.
13434 2011-03-21  Leo Liu  <sdl.web@gmail.com>
13436         * ido.el (ido-read-internal): Add ido-selected to history instead
13437         of user input.
13439 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13441         * subr.el (deferred-action-list, deferred-action-function):
13442         Mark obsolete.
13444 2011-03-21  Leo Liu  <sdl.web@gmail.com>
13446         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13447         change on 2011-02-13 (bug#8309).
13449         * minibuffer.el (read-file-name-function): Change default value.
13450         (read-file-name--defaults): Rename from read-file-name-defaults.
13451         (read-file-name-default): Rename from read-file-name.
13452         (read-file-name): Call read-file-name-function.
13454 2011-03-21  Glenn Morris  <rgm@gnu.org>
13456         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13457         Doc fixes.
13459 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
13461         * cus-theme.el: Add missing provide statement.
13462         (customize-create-theme): Extract theme value correctly.
13463         (custom-theme-visit-theme): Autoload.
13464         (customize-create-theme): Prompt before inserting default faces.
13466 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
13468         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13469         units and musical notes.
13471 2011-03-20  Leo Liu  <sdl.web@gmail.com>
13473         * ido.el (ido-read-internal): Use completing-read-default.
13474         (ido-completing-read): Fix compatibility with completing-read.
13476 2011-03-20  Christian Ohler  <ohler@gnu.org>
13478         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13479         (ert-delete-all-tests): Use `called-interactively-p' rather than
13480         `interactive-p'.
13481         (ert--make-xrefs-region): Respect END.
13483 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
13485         * dired-aux.el (dired-create-directory): Signal an error if the
13486         directory already exists (Bug#8246).
13488         * facemenu.el (list-colors-display): Call list-faces-display
13489         inside with-help-window.
13490         (list-colors-print): Use display property to align the final
13491         column, instead of checking window-width.
13493 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
13495         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13496         windows-nt systems.
13497         (emerge-protect-metachars): Quote correctly for ms-dos and
13498         windows-nt systems.
13500 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
13502         * info.el (info-initialize): Replace all uses of `:' with
13503         path-separator for compatibility with non-Unix systems.
13504         Cache quoting of path-separator.  (Bug#8258)
13506 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
13508         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13509         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13510         (mouse-avoidance-mode): Fix typos in docstrings.
13512 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
13514         * startup.el (package-subdirectory-regexp): Move from package.el.
13515         Omit \\` and \\', and let callers add them.
13517         * emacs-lisp/package.el (package-strip-version)
13518         (package-load-all-descriptors): Add \\` and \\' to
13519         package-subdirectory-regexp before using it.
13520         (package-untar-buffer): New arg DIR; ensure that file untars only
13521         into this expected directory.  Remove superfluous delete-region.
13522         (package-unpack): Caller changed.
13523         (package-tar-file-info): Use package-subdirectory-regexp.
13525 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13527         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13528         diff-mode-shared-map (bug#8284).
13529         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13531 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13533         * calendar/time-date.el (format-seconds): Use assoc instead of
13534         assoc-string, since assoc-string doesn't exist in XEmacs.
13536 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
13538         * custom.el (custom-known-themes): Reflow docstring.
13539         (custom-theme-load-path): Fix typo in docstring.
13540         (load-theme): Fix typo in error message.
13541         (custom-available-themes, custom-variable-theme-value):
13542         Use `let', not `let*'.
13544 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
13546         * calc/README: Mention inclusion of musical notes.
13548         * calc/calc-units.el (calc-lu-quant): Rename from
13549         `calc-logunits-quantity'.
13550         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13551         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13552         (calc-db): Rename from `calc-dblevel'.
13553         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13554         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13555         (calc-np): Rename from `calc-nplevel'.
13556         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13557         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13558         (calc-lu-plus): Rename from `calc-logunits-add'.
13559         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13560         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13561         (calc-lu-minus): Rename from `calc-logunits-sub'.
13562         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13563         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13564         (calc-lu-times): Rename from `calc-logunits-mul'.
13565         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13566         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13567         (calc-lu-divide): Rename from `calc-logunits-div'.
13568         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13569         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13571         * calc/calc-ext.el (calc-init-extensions): Update the names of the
13572         functions being autoloaded.
13574         * calc/calc.el (calc-lu-power-reference): Rename from
13575         `calc-logunits-power-reference'.
13576         (calc-lu-field-reference): Rename from
13577         `calc-logunits-field-reference'.
13579         * calc/calc-help.el (calc-l-prefix-help):
13580         Mention musical note functions.
13582 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13584         * minibuffer.el (completion-all-sorted-completions):
13585         Use :completion-cycle-penalty text property if present.
13587 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
13589         * allout.el (allout-yank-processing): Adjust for new rebulleting
13590         regime so bullet being yanked is used without prompting the user
13591         for a choice.
13593 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
13595         * startup.el (command-line): Warn the user that _emacs is deprecated.
13597 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
13599         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13600         (delphi-verbose, delphi-comment-face, delphi-string-face)
13601         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13602         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13603         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13604         (delphi-new-comment-line, delphi-font-lock-defaults)
13605         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13606         Fix typos in docstrings.
13608 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
13610         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13611         Invert the roles of character and string values for INSTEAD, so a
13612         string is used for the more common case of a defaulting prompt.
13614 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13616         * progmodes/ruby-mode.el (ruby-backward-sexp):
13617         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13618         * play/gamegrid.el (gamegrid-make-face):
13619         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13620         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13621         * notifications.el (notifications-notify):
13622         * net/xesam.el (xesam-search-engines):
13623         * net/quickurl.el (quickurl-list-insert):
13624         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13626 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
13628         * startup.el (command-line): Update package subdirectory regexp.
13630 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13632         * allout.el (allout-abbreviate-flattened-numbering)
13633         (allout-mode-deactivate-hook): Fix up obsolescence "date".
13635         * subr.el (read-char-choice): Only show the cursor after the prompt,
13636         not after the answer.
13638 2011-03-15  Kevin Ryde  <user42@zip.com.au>
13640         * help-fns.el (variable-at-point): Skip leading quotes, if any
13641         (bug#8253).
13643 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13645         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13646         warning message.
13648 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
13650         * shell.el (shell): When called interactively, offer to change the
13651         shell file name on remote hosts.
13653 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
13655         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13656         integration for LDAP parameters.  The host, base, user or binddn,
13657         and secret tokens can be specified in a netrc file, for instance.
13658         This is optional because an `auth-source' parameter must be
13659         specified in the search attributes.
13661 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
13663         * help.el (describe-mode): Link to the mode's definition (bug#8185).
13665 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13667         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13668         into declaration.  Remove redundant and harmful binding.
13670 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
13672         * files.el (file-ownership-preserved-p): Pass `integer' as an
13673         explicit 2nd argument to `file-attributes'.  If the file's owner
13674         is the Administrators group on Windows, and the current user is
13675         Administrator, consider that a match.
13677         * server.el (server-ensure-safe-dir): Consider server directory
13678         safe on MS-Windows if its owner is the Administrators group while
13679         the current Emacs user is Administrator.  Use `=' to compare
13680         numerical UIDs, since they could be integers or floats.
13682 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
13684         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13686 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
13688         Sync with Tramp 2.2.1.
13690         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13692         * net/trampver.el: Update release number.
13694 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13696         * progmodes/compile.el (compilation--previous-directory): Fix up
13697         various nil/dead-marker mismatches (bug#8014).
13698         (compilation-directory-properties, compilation-error-properties):
13699         Don't call it at a position past the one we're about to change.
13701         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13702         Disable obsolescence warnings in the file that declares it.
13704 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
13706         * allout-widgets.el (allout-widgets-tally):
13707         Initialize allout-widgets-tally as a hash table rather than nil to
13708         prevent mode-line redisplay warnings.  Also, clarify the module
13709         description and fix a comment typo.
13711 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
13713         * help-fns.el (describe-variable): Don't complete keywords.
13714         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13716 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
13718         * emacs-lisp/package.el (package-version-join): Impose a standard
13719         string representation for pre/alpha/beta version lists.
13720         (package-unpack-single): Standardize the directory name by passing
13721         it through package-version-join.
13722         (package-strip-rcs-id): Accept any version string that does not
13723         signal an error in version-to-list.
13725 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
13727         * simple.el (delete-trailing-whitespace): Return nil for the
13728         benefit of `write-file-functions'.
13730 2011-03-10  Glenn Morris  <rgm@gnu.org>
13732         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13734         * vc/vc-git.el (vc-git-program): New option.
13735         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13736         (vc-git--call): Use it.
13738         * eshell/esh-util.el (eshell-condition-case): Doc fix.
13740         * cus-edit.el (Custom-newline): If no button at point, look
13741         for a subgroup button at start-of-line.  (Bug#2298)
13743         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13745 2011-03-10  Julien Danjou  <julien@danjou.info>
13747         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13748         `cursor-type' is nil.
13750 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
13752         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13754 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
13756         * allout.el: Change so yank of distinctive-bullet items
13757         preserves the existing header prefix, rebulleting it if necessary,
13758         rather than replacing it.  This is necessary for proper operation
13759         of cooperative addons like allout-widgets.
13760         (allout-make-topic-prefix, allout-rebullet-heading):
13761         Change SOLICIT arg to INSTEAD, and interpret additionally a string
13762         value as alternate bullet to be used, instead of prompting the user
13763         for a bullet character.
13765 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
13767         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13768         Do not use `tramp-file-name-port', because this returns also
13769         `tramp-default-port'.
13771 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
13773         * net/rcirc.el (rcirc-handler-001): Remove useless
13774         with-rcirc-process-buffer.
13775         (rcirc-check-auth-status): Swap arguments to string-match.
13777 2011-03-09  Glenn Morris  <rgm@gnu.org>
13779         * shell.el (shell-mode):
13780         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
13782         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13783         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
13785 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
13787         * emacs-lisp/package.el (package-refresh-contents)
13788         (package-menu-execute): Use condition-case-no-debug.
13790 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
13792         * simple.el (shell-command-to-string): Use `process-file'.
13794         * emacs-lisp/package.el (package-tar-file-info): Handle also
13795         remote files.
13797         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13798         Use `equal' for upload base check.
13800 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
13802         * textmodes/texinfo.el (texinfo-environments):
13803         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
13805 2011-03-08  Glenn Morris  <rgm@gnu.org>
13807         * cus-start.el (cursor-in-non-selected-windows):
13808         Fix :set quoting oddness.  (Bug#8192)
13810         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13811         in some setf expressions.  (Bug#2159)
13813 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
13815         * custom.el (custom-available-themes): Return themes in
13816         alphabetical order.
13818 See ChangeLog.15 for earlier changes.
13820 ;; Local Variables:
13821 ;; coding: utf-8
13822 ;; End:
13824   Copyright (C) 2011-2012  Free Software Foundation, Inc.
13826   This file is part of GNU Emacs.
13828   GNU Emacs is free software: you can redistribute it and/or modify
13829   it under the terms of the GNU General Public License as published by
13830   the Free Software Foundation, either version 3 of the License, or
13831   (at your option) any later version.
13833   GNU Emacs is distributed in the hope that it will be useful,
13834   but WITHOUT ANY WARRANTY; without even the implied warranty of
13835   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13836   GNU General Public License for more details.
13838   You should have received a copy of the GNU General Public License
13839   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.