* lisp/imenu.el: Misc cleanup. Make docstrings out of comments.
[emacs/old-mirror.git] / lisp / ChangeLog
blobbd2c226a3b060f1364d4559d3f6b1296f3a50c39
1 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * imenu.el: Misc cleanup.  Make docstrings out of comments.
4         Use lexical-binding.
5         (imenu--index-alist, imenu--last-menubar-index-alist)
6         (imenu-menubar-modified-tick): Use defvar-local.
7         (imenu--split-menu): Remove unused var.
8         (imenu--cleanup-seen): Declare as global.
9         (imenu--cleanup): Use dolist.
11         * subr.el (defvar-local): Add debug spec and doc-string position.
13 2012-05-08  Glenn Morris  <rgm@gnu.org>
15         * lisp/language/burmese.el, language/cham.el, language/czech.el:
16         * language/english.el, language/georgian.el, language/greek.el:
17         * language/japanese.el, language/khmer.el, language/korean.el:
18         * language/lao.el, language/misc-lang.el, language/romanian.el:
19         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
20         * language/thai.el, language/utf-8-lang.el:
21         Remove no-byte-compile setting.
23         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
25 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
27         * progmodes/make-mode.el (makefile-browse):
28         Remove unnecessary interactive.  (Bug#11324)
30 2012-05-07  Glenn Morris  <rgm@gnu.org>
32         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
34         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
36 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
38         * loadup.el: Preload newcomment.el.
39         * newcomment.el: Move autoload-only code to toplevel.
41         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
42         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
43         Handle new :right-align column property.
44         (tabulated-list-print-col): Idem, plus use `display' text-property to
45         try and preserve alignment for variable pitch fonts.
47 2012-05-07  Chong Yidong  <cyd@gnu.org>
49         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
50         (tabulated-list-use-header-line): New var.
51         (tabulated-list-init-header): Use it.
52         (tabulated-list-print-fake-header): New function.
53         (tabulated-list-print): Use it.
54         (tabulated-list-sort-button-map): Add non-header-line commands.
55         (tabulated-list-init-header): Add column name property to basic
56         labels as well.
57         (tabulated-list-col-sort): Handle non-header-line button case.
58         (tabulated-list--sort-by-column-name): Fix a corner case.
60         * buff-menu.el (list-buffers--refresh):
61         Handle Buffer-menu-use-header-line.
63 2012-05-06  Chong Yidong  <cyd@gnu.org>
65         * buff-menu.el: Convert to Tabulated List mode.
66         (Buffer-menu-buffer+size-width): Make obsolete.
67         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
68         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
69         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
70         documentation into docstring of buffer-menu.
71         (Buffer-menu-toggle-files-only): Add an informative message.
72         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
73         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
74         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
75         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
76         (Buffer-menu-execute, Buffer-menu-select)
77         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
78         (Buffer-menu-bury): Use Tabulated List machinery.
79         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
80         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
81         Delete.
82         (list-buffers--refresh): New function.
83         (list-buffers-noselect): Use it.
84         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
85         (Buffer-menu--pretty-file-name): New helper functions.
87         * loadup.el: Preload tabulated-list.
89         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
90         tabulated-list-sort-column.
91         (tabulated-list-init-header): Add the initial aligning space even
92         if tabulated-list-padding is zero.
94 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
96         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
97         whose cdr is not a cons cell correctly (bug#11038).
99 2012-05-06  Chong Yidong  <cyd@gnu.org>
101         * emacs-lisp/tabulated-list.el (tabulated-list-format):
102         Accept additional plist in column descriptors.
103         (tabulated-list-init-header): Obey it.
104         (tabulated-list-get-entry): New function.
105         (tabulated-list-put-tag): Use it.  Use string-width instead of
106         length.
107         (tabulated-list--column-number): New function.
108         (tabulated-list-print): Use it.
109         (tabulated-list-print-col): New function.
110         Set `tabulated-list-column-name' property on each column's text.
111         (tabulated-list-print-entry): Use it.
112         (tabulated-list-delete-entry, tabulated-list-set-col):
113         New functions.
114         (tabulated-list-sort-column): New command (Bug#11337).
116         * buff-menu.el (list-buffers): Move C-x C-b binding from
117         buff-menu.el to bindings.el.
119         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
120         :advertised-binding feature.
122 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
124         * progmodes/compile.el (compilation-internal-error-properties):
125         Calculate start position correctly when end-col is set but
126         end-line is not (Bug#11382).
128 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
130         * man.el (Man-unindent): Use text-property-default-nonsticky to
131         prevent untabify from inheriting face properties (Bug#11408).
133 2012-05-05  Glenn Morris  <rgm@gnu.org>
135         * calendar/cal-html.el: Optionally include holidays in the output.
136         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
137         (cal-html-holidays): New option.
138         (cal-html-css-default): Add holiday entry.
139         (holiday-in-range): Autoload it.
140         (cal-html-htmlify-entry): Add optional class argument.
141         (cal-html-htmlify-list): Add optional holidays argument.
142         (cal-html-insert-agenda-days): Include holidays in the output.
143         (cal-html-one-month): Maybe include holidays.
145         * calendar/holidays.el (holiday-in-range):
146         Move here from cal-tex-list-holidays.
147         * calendar/cal-tex.el (cal-tex-list-holidays):
148         Make it an obsolete alias for holiday-in-range.  Update all callers.
150 2012-05-05  Chong Yidong  <cyd@gnu.org>
152         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
153         Nextstep.
155 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
157         * files.el (file-auto-mode-skip): New var.
158         (set-auto-mode-1): Use it.
160 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
162         * repeat.el: Use lexical-binding.
163         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
164         (repeat-undo-count): Remove.
165         (repeat):
166         * progmodes/octave-mod.el (octave-abbrev-start):
167         * progmodes/f90.el (f90-abbrev-start):
168         * face-remap.el (text-scale-adjust):
169         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
171         * emacs-lisp/pcase.el (pcase--let*): New function.
172         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
173         a bit more.
174         (pcase--split-pred): Be more clever about ruling out overlap between
175         a predicate and some constant pattern.
176         (pcase--q1): Use `null' instead of (eq foo nil).
178         * subr.el (setq-local, defvar-local): New macros.
179         (kbd): Redefine as an alias.
180         (with-selected-window): Leave unrelated frames alone.
181         (set-temporary-overlay-map): New function.
183 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
185         * subr.el (user-error): New function.
186         * window.el (switch-to-buffer):
187         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
188         (smerge-match-conflict):
189         * simple.el (previous-matching-history-element)
190         (next-matching-history-element, goto-history-element, undo-more)
191         (undo-start):
192         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
193         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
194         (next-file, tags-loop-scan, list-tags, complete-tag):
195         * progmodes/compile.el (compilation-loop):
196         * mouse.el (mouse-minibuffer-check):
197         * man.el (Man-bgproc-sentinel, Man-goto-page):
198         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
199         (Info-history-forward, Info-follow-reference, Info-menu)
200         (Info-extract-menu-item, Info-extract-menu-counting)
201         (Info-forward-node, Info-backward-node, Info-next-menu-item)
202         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
203         (Info-next-reference, Info-prev-reference, Info-index)
204         (Info-index-next, Info-follow-nearest-node)
205         (Info-copy-current-node-name):
206         * imenu.el (imenu--make-index-alist)
207         (imenu-default-create-index-function, imenu-add-to-menubar):
208         * files.el (basic-save-buffer, recover-file):
209         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
210         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
211         (checkdoc-message-text, checkdoc-defun):
212         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
213         * cus-edit.el (customize-changed-options, customize-rogue)
214         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
215         (custom-variable-mark-to-reset-standard)
216         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
217         (custom-file):
218         * completion.el (check-completion-length):
219         * comint.el (comint-search-arg)
220         (comint-previous-matching-input-string-position)
221         (comint-previous-matching-input)
222         (comint-replace-by-expanded-history-before-point, comint-send-input)
223         (comint-copy-old-input, comint-backward-matching-input)
224         (comint-goto-process-mark, comint-set-process-mark):
225         * calendar/calendar.el (calendar-cursor-to-date): Use it.
226         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
228 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
230         * dabbrev.el (dabbrev--ignore-case-p): New function.
231         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
232         Use it.
234         * files.el (automount-dir-prefix): Mark as obsolete.
236 2012-05-04  Glenn Morris  <rgm@gnu.org>
238         * patcomp.el, play/bruce.el: Move to obsolete/.
240 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
242         Fix minor Y10k bugs.
243         * arc-mode.el (archive-unixdate):
244         * autoinsert.el (auto-insert-alist):
245         * calc/calc-forms.el (math-this-year):
246         * emacs-lisp/copyright.el (copyright-current-year)
247         (copyright-update-year, copyright):
248         * tar-mode.el (tar-clip-time-string):
249         * time.el (display-time-update):
250         Don't assume years have 4 digits.
252 2012-05-04  Chong Yidong  <cyd@gnu.org>
254         * dos-w32.el (file-name-buffer-file-type-alist)
255         (direct-print-region-use-command-dot-com):
256         * ffap.el (ffap-menu-regexp):
257         * find-file.el (ff-special-constructs):
258         * follow.el (follow-debug):
259         * forms.el (forms--debug):
260         * iswitchb.el (iswitchb-all-frames):
261         * ido.el (ido-all-frames):
262         * emacs-lisp/timer.el (timer-max-repeats):
263         * mail/feedmail.el (feedmail-mail-send-hook)
264         (feedmail-mail-send-hook-queued):
265         * mail/footnote.el (footnote-signature-separator):
266         * mail/mailabbrev.el (mail-alias-separator-string)
267         (mail-abbrev-mode-regexp):
268         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
269         * progmodes/idlwave.el (idlwave-libinfo-file)
270         (idlwave-default-completion-case-is-down)
271         (idlwave-library-routines): Convert defvars to defcustoms.
273         * mail/rmail.el (rmail-decode-mime-charset):
274         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
275         (idlwave-shell-fix-inserted-breaks)
276         (idlwave-shell-activate-alt-keybindings)
277         (idlwave-shell-use-breakpoint-glyph):
278         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
280 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
282         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
284 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
286         * progmodes/verilog-mode.el (font-lock-keywords):
287         Fix mis-highligting auto.  Reported by Craig Barner.
288         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
289         defines from global name space. Reported by Dan Dever.
290         (verilog-auto-reset, verilog-auto-reset-widths)
291         (verilog-auto-tieoff): Support using unbased numbers for
292         AUTORESET and AUTOTIEOFF.
293         (verilog-submit-bug-report): Update variable list.
294         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
295         parenthesis from not matching. Reported by Michael Rytting.
296         (verilog-auto-template-lint): Fix hash error when linting modules
297         with no used templates.
298         (verilog-warn, verilog-warn-error)
299         (verilog-warn-fatal): When non-interactive report multiple
300         warnings before exiting.  Suggested by Brad Dobbie.
301         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
302         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
303         to report unused template errors.  Reported by Brad Dobbie.
304         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
305         nets, bug438. Reported by Vns Blore.
306         (verilog-auto-inout-module, verilog-auto-reg)
307         (verilog-read-decls, verilog-read-sub-decls-sig)
308         (verilog-signals-edit-wire-reg, verilog-signals-with):
309         Fix passing of Verilog data types in ANSI input/output ports
310         such as "output logic" into the AUTOs. Special case "wire" and
311         "reg" for backwards compatibility presuming Verilog 2001.
312         (verilog-auto-ascii-enum): Add "auto enum" as alias.
313         (verilog-preprocess): Fix replication of preprocess output.
314         Reported by Brad Dobbie.
315         (verilog-auto-inst-interfaced-ports):
316         Create verilog-auto-inst-interfaced-ports, bug429.
317         Reported by Julian Gorfajn.
318         (verilog-after-save-font-hook)
319         (verilog-before-save-font-hook): New variable.
320         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
321         (verilog-save-font-mods): Wrap disabling fontification, reported
322         by David Rogoff.
323         (verilog-do-indent, verilog-pretty-declarations-auto)
324         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
325         Reported by Pierre-David Pfister.
326         (verilog-set-auto-endcomments): Fix endtask auto comments outside
327         of class declarations, bug292.  Reported by Kevin Heilman.
328         (verilog-read-decls): Fix 'parameter type' not appearing in
329         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
330         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
331         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
332         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
333         Reported by David Kravitz.
335 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
337         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
338         assignment with tests in ifs and for loops.
339         (verilog-extended-complete-re, verilog-complete-reg): Change so
340         that DPI inport functions don't look like fuction declarations.
341         (verilog-pretty-expr): Don't line up assignment
342         operations to the test and increment in if and for loops
343         (verilog-extended-complete-re, verilog-complete-reg): Change so
344         that DPI inport functions don't look like fuction declarations
346 2012-05-03  Kenichi Handa  <handa@m17n.org>
348         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
349         decoding, and show a warning message without signalling an error
350         (Bug#11282).
352 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
354         * emacs-lisp/bytecomp.el
355         (byte-compile-file-form-custom-declare-variable): Compile all elements,
356         since cconv.el might have introduced :fun-body, internal-make-closure,
357         and friends for bytecomp to handle (bug#11391).
358         * custom.el (defcustom): Avoid ((λ ..) ..).
360 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
362         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
364 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
366         * notifications.el (dbus-debug):
367         * term/linux.el (gpm-mouse-enable):
368         * term/screen.el (xterm-register-default-colors): Declare.
370 2012-05-02  Chong Yidong  <cyd@gnu.org>
372         * cus-start.el (gc-cons-percentage, exec-suffixes)
373         (dos-display-scancodes, dos-hyper-key, dos-super-key)
374         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
375         (make-cursor-line-fully-visible, void-text-area-pointer)
376         (font-list-limit): Add customization data.
378         * allout.el (allout-exposure-change-functions)
379         (allout-structure-added-functions)
380         (allout-structure-deleted-functions)
381         (allout-structure-shifted-functions): Rename abnormal hooks from
382         *-hook, and convert to defcustoms.
383         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
384         Convert to defcustoms.
385         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
387         * allout-widgets.el: Hook callers changed.
389 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
391         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
392         the yanked message in preference to the default value of
393         buffer-file-coding-system.
395 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
397         * window.el (display-buffer--action-function-custom-type):
398         Fix entry.
400 2012-05-02  Alan Mackenzie  <acm@muc.de>
402         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
404 2012-05-01  Glenn Morris  <rgm@gnu.org>
406         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
408         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
410         * cus-edit.el (custom-variable-documentation): Simplify with format.
412 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
413             Stefan Monnier  <monnier@iro.umontreal.ca>
415         * simple.el (suggest-key-bindings, execute-extended-command):
416         Move from keyboard.c.
418 2012-05-01  Chong Yidong  <cyd@gnu.org>
420         * follow.el: Eliminate advice.
421         (set-process-filter, process-filter, sit-for): Advice deleted.
422         (follow-mode-off-hook): Obsolete hook removed.
423         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
424         Vars deleted.
425         (follow-auto): Use a :set function.
426         (follow-mode): Rewritten.  Don't advise process filters.
427         (follow-switch-to-current-buffer-all, follow-scroll-up)
428         (follow-scroll-down): Assume follow-mode is bound.
429         (follow-comint-scroll-to-bottom)
430         (follow-align-compilation-windows): New functions.
431         (follow--window-sorter): New function.
432         (follow-all-followers): Use it to explicitly sort windows by their
433         positions; don't make assumptions about next-window order.
434         (follow-windows-start-end, follow-delete-other-windows-and-split)
435         (follow-calc-win-start): Doc fix.
436         (follow-windows-aligned-p, follow-select-if-visible): Don't call
437         vertical-motion unnecessarily.
438         (follow-adjust-window): New function.
439         (follow-post-command-hook): Use it.
440         (follow-call-set-process-filter, follow-call-process-filter)
441         (follow-intercept-process-output, follow-tidy-process-filter-alist)
442         (follow-stop-intercept-process-output, follow-generic-filter):
443         Functions deleted.
444         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
445         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
446         New functions, replacing advice on scroll-bar-* commands.
447         (follow-mwheel-scroll): New function (Bug#4112).
449         * comint.el (comint-adjust-point): New function.
450         (comint-postoutput-scroll-to-bottom): Use it.
451         Call follow-comint-scroll-to-bottom for Follow mode buffers.
453 2012-05-01  Glenn Morris  <rgm@gnu.org>
455         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
456         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
457         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
458         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
459         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
460         Remove no-byte-compile setting.
462 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
464         * minibuffer.el (completion-table-with-quoting): Fix compatibility
465         all-completions code to not return a number in the last cdr.
467 2012-04-30  Leo Liu  <sdl.web@gmail.com>
469         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
470         read-only error.
472 2012-04-29  Chong Yidong  <cyd@gnu.org>
474         * follow.el (follow-calc-win-end): Rewrite to handle partial
475         screen lines correctly (Bug#8390).
476         (follow-avoid-tail-recenter): Minor cleanup.
478 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
480         Avoid the obsolete `assoc' package.
481         * speedbar.el (speedbar-refresh): Avoid adelete.
482         (speedbar-file-lists): Simplify and avoid aput.
483         * man.el (Man--sections, Man--refpages): New vars, replacing
484         Man-sections-alist and Man-refpages-alist.
485         (Man-build-section-alist, Man-build-references-alist):
486         Use them; avoid aput.
487         (Man--last-section, Man--last-refpage): New vars.
488         (Man-follow-manual-reference): Use them.
489         Use the `default' arg of completing-read.
490         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
492 2012-04-27  Chong Yidong  <cyd@gnu.org>
494         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
496         * startup.el (x-apply-session-resources): New function.
498         * term/ns-win.el (ns-initialize-window-system):
499         * term/w32-win.el (w32-initialize-window-system):
500         * term/x-win.el (x-initialize-window-system): Use it to properly
501         set menu-bar-mode and other vars from X resources, even if the
502         initial frame is not a window-system frame (Bug#2299).
504         * subr.el (read-key): Avoid running filter function when setting
505         up temporary tool bar entries (Bug#9922).
507 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
509         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
510         (Bug#11344)
512 2012-04-27  Chong Yidong  <cyd@gnu.org>
514         * select.el (xselect--encode-string): New function, split from
515         xselect-convert-to-string.
516         (xselect-convert-to-string): Use it.
517         (xselect-convert-to-filename, xselect-convert-to-os)
518         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
519         returned strings are properly encoded (Bug#11315).
521 2012-04-27  Chong Yidong  <cyd@gnu.org>
523         * simple.el (delete-active-region): Move to killing custom group.
525 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
527         * progmodes/which-func.el (which-func-current): Quote %
528         characters for mode-line processing.
530 2012-04-27  Chong Yidong  <cyd@gnu.org>
532         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
533         reaching eob (Bug#11286).
535 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
537         * progmodes/gdb-mi.el (gdb-control-level): New variable.
538         (gdb): Make it buffer-local and init to zero.
539         (gdb-control-commands-regexp): New variable.
540         (gdb-send): Don't wrap in "-interpreter-exec console" if
541         gdb-control-level is positive.  Increment gdb-control-level
542         whenever the command matches gdb-control-commands-regexp, and
543         decrement it each time the command is "end".  (Bug#11279)
545 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
547         * window.el (adjust-window-trailing-edge, enlarge-window)
548         (shrink-window, window-resize):
549         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
550         windows (Bug#11276).
552 2012-04-27  Chong Yidong  <cyd@gnu.org>
554         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
555         fix "missing prefix" warning.  All callers changed.
557 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
559         * emacs-lisp/assoc.el: Move to obsolete/.
561 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
563         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
565         * term/ns-win.el (ns-define-service):
566         * progmodes/pascal.el (pascal-goto-defun):
567         * progmodes/js.el (js--read-tab):
568         * progmodes/etags.el (tags-lazy-completion-table):
569         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
570         * emacs-lisp/ewoc.el (ewoc--wrap):
571         * emacs-lisp/assoc.el (aput, adelete, amake):
572         * doc-view.el (doc-view-convert-current-doc):
573         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
575 2012-04-26  Chong Yidong  <cyd@gnu.org>
577         * image.el (image-type-from-buffer): Only return supported image
578         type (Bug#9045).
580         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
581         value, for symmetry with diff-end-of-hunk.
582         (diff-split-hunk, diff-find-source-location)
583         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
584         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
585         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
586         compute the relevant hunk or file properly (Bug#6005).
587         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
589 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
591         * vc/vc-mtn.el:
592         * vc/vc-hg.el:
593         * vc/vc-git.el:
594         * vc/vc-dir.el:
595         * vc/vc-cvs.el:
596         * vc/vc-bzr.el:
597         * vc/vc-arch.el:
598         * vc/vc.el: Replace lexical-let by lexical-binding.
599         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
600         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
601         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
603 2012-04-26  Chong Yidong  <cyd@gnu.org>
605         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
606         (diff-mode-shared-map): Bind it to / and [remap undo].
608         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
609         (ediff-window-setup-function): Use it as the default, to set up
610         windows based on whether the current frame is graphical (Bug#2138).
611         (ediff-choose-window-setup-function-automatically): Make obsolete.
613         * vc/ediff-init.el: Always define ediff-pixel-width/height.
615 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
617         * ffap.el: Remove old code for obsolete package.
618         (ffap-complete-as-file-p): Remove.
620         Use completion-table-with-quoting for comint and pcomplete.
621         * comint.el (comint--unquote&requote-argument)
622         (comint--unquote-argument, comint--requote-argument): New functions.
623         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
624         (comint-quote-filename): Use regexp-opt-charset.
625         (comint--common-suffix, comint--common-quoted-suffix)
626         (comint--table-subvert): Remove.
627         (comint-unquote-function, comint-requote-function): New vars.
628         (comint--complete-file-name-data): Use them with
629         completion-table-with-quoting.
630         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
631         * pcomplete.el (pcomplete-arg-quote-list)
632         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
633         (pcomplete-unquote-argument-function): Default to non-nil.
634         (pcomplete-unquote-argument): Simplify.
635         (pcomplete--common-quoted-suffix): Remove.
636         (pcomplete-requote-argument-function): New var.
637         (pcomplete--common-suffix): New function.
638         (pcomplete-completions-at-point): Use completion-table-with-quoting
639         and completion-table-subvert.
641         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
642         (minibuffer--double-dollars): Preserve properties.
643         (completion--sifn-requote): New function.
644         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
646         * minibuffer.el: Add support for completion of quoted/escaped data.
647         (completion-table-with-quoting, completion-table-subvert): New funs.
648         (completion--twq-try, completion--twq-all): New functions.
649         (completion--nth-completion): New function.
650         (completion-try-completion, completion-all-completions): Use it.
652 2012-04-25  Leo Liu  <sdl.web@gmail.com>
654         * progmodes/python.el (python-pdbtrack-get-source-buffer):
655         Use compilation-message if available to find real filename.
657 2012-04-25  Chong Yidong  <cyd@gnu.org>
659         * vc/diff-mode.el (diff-setup-whitespace): New function.
660         (diff-mode): Use it.
662         * vc/diff.el (diff-sentinel):
663         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
664         Whitespace mode variables based on diff style (Bug#8612).
666 2012-04-25  Leo Liu  <sdl.web@gmail.com>
668         * progmodes/python.el (python-send-region): Add suffix .py to the
669         temp file.
671         * files.el (auto-mode-alist): Use javascript-mode instead.
673 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
675         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
677         * soap-client.el (soap-resolve-references-for-sequence-type)
678         (soap-resolve-references-for-array-type): Hack to prevent self
679         references, see Bug#9.
680         (soap-parse-envelope): Report the contents of the 'detail' node
681         when receiving a fault reply.
682         (soap-parse-envelope): Report the contents of the entire 'detail' node.
684         * soap-inspect.el (soap-sample-value-for-simple-type)
685         (soap-inspect-simple-type): New function.
687         * soap-client.el (soap-simple-type): New struct.
688         (soap-default-xsd-types, soap-default-soapenc-types)
689         (soap-decode-basic-type, soap-encode-basic-type):
690         support unsignedInt and double basic types.
691         (soap-resolve-references-for-simple-type)
692         (soap-parse-simple-type, soap-encode-simple-type): New function.
693         (soap-parse-schema): Parse xsd:simpleType declarations.
695         * soap-client.el (soap-default-xsd-types)
696         (soap-default-soapenc-types): Add integer, byte and anyURI types.
697         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
698         the local name of "soapenc:Array".
699         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
700         decoding integer, byte and anyURI xsd types.
702 2012-04-25  Chong Yidong  <cyd@gnu.org>
704         * cus-edit.el (custom-buffer-create-internal): Update header text.
706 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
708         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
709         settings on 'system-type', not on 'window-system'.  On MS-Windows,
710         set interactive-mode on in GDB.
712 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
714         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
715         (ruby-syntax-propertize-regexp): Remove.
716         (ruby-syntax-propertize-function): Split regexp into chunks.
717         Match following code directly.
719 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
721         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
722         (ruby-syntax-propertize-regexp): New function.
723         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
724         by a special keyword.
726         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
727         (ruby-syntax-general-delimiters-goto-beg)
728         (ruby-syntax-propertize-general-delimiters): New functions.
729         (ruby-syntax-propertize-function): Use them to handle GDL.
730         (ruby-font-lock-keywords): Move old handling of GDL...
731         (ruby-font-lock-syntactic-keywords): .. to here.
732         (ruby-calculate-indent): Adjust indentation for GDL.
734 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
736         * notifications.el (top): Remove unneeded declarations.
737         (notifications-specification-version): Change to "1.2".
738         (notifications-interface, notifications-notify-method)
739         (notifications-close-notification-method): Fix docstring.
740         (notifications-get-capabilities-method): New defconst.
741         (notifications-notify): Add :action-items, :resident and
742         :transient hints.  Change "image_data" to "image-data" and
743         "image_path" to "image-path".
744         (notifications-get-capabilities): New defun.
746 2012-04-24  Leo Liu  <sdl.web@gmail.com>
748         * progmodes/python.el: Move hideshow setup to the end.
750 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
752         * window.el (handle-select-window): Clear echo area since this is
753         no more done by read_char (Bug#11304).
755 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
757         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
758         and `/ M' to filter-derived-mode.
759         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
760         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
761         (ibuffer-mark-by-mode): Use default rather than initial-input.
762         (ibuffer-filter-by-derived-mode): Autoload and require-match.
764 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
766         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
767         (ibuffer-filter-by-derived-mode): New filter.
768         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
770 2012-04-23  Andreas Politz  <politza@fh-trier.de>
772         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
774 2012-04-23  Chong Yidong  <cyd@gnu.org>
776         * cus-edit.el (customize-apropos, customize-apropos-options):
777         Disable matching of non-option variables (Bug#11176).
778         (customize-option, customize-option-other-window)
779         (customize-changed-options): Doc fix.
780         (customize-apropos-options, customize-apropos-faces)
781         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
783         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
784         Fix word list splitting (Bug#11132).
785         (apropos-symbol, apropos-keybinding, apropos-label)
786         (apropos-property, apropos-function-button)
787         (apropos-variable-button, apropos-misc-button): New faces.
788         (apropos-symbol-face, apropos-keybinding-face)
789         (apropos-label-face, apropos-property-face, apropos-match-face):
790         Variables removed (Bug#8396).
791         (apropos-library-button, apropos-format-plist, apropos-print)
792         (apropos-print-doc, apropos-describe-plist): Callers changed.
794 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
796         * net/xesam.el (xesam-mode-map): Use let-bound map in
797         initialization.  (Bug#11292)
799 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
801         Preserve ispell session localwords when switching back to
802         original buffer.
804         * ispell.el (ispell-buffer-session-localwords): New buffer-local
805         variable to hold buffer session localwords.
806         (ispell-kill-ispell): add option 'clear to delete session
807         localwords.
808         (ispell-command-loop, ispell-change-dictionary)
809         (ispell-buffer-local-words): Preserve session localwords when
810         needed.
812         * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
813         Preserve session localwords when needed.
815 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
817         * ispell.el (ispell-insert-word) Remove unneeded function using
818         obsolete `translation-table-for-input'.
819         (ispell-word, ispell-process-line, ispell-complete-word):
820         Use plain `insert' instead of removed `ispell-insert-word'.
822 2012-04-22  Chong Yidong  <cyd@gnu.org>
824         * cus-edit.el (custom-variable-menu)
825         (custom-variable-reset-saved, custom-face-menu)
826         (custom-face-reset-saved): If there is no saved value, make the
827         "reset-saved" operation bring back the default (Bug#9509).
828         (custom-face-state): Properly detect themed faces.
830         * faces.el (face-spec-set): Stop supporting deprecated form of
831         third arg.
833 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
835         Move functions from C to Lisp.  Make non-blocking method calls
836         the default.  Implement further D-Bus standard interfaces.
838         * net/dbus.el (dbus-message-internal): Declare function.
839         Remove unneeded function declarations.
840         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
841         (dbus-message-type-method-return, dbus-message-type-error)
842         (dbus-message-type-signal): Declare variables.  Remove local
843         definitions.
844         (dbus-interface-dbus, dbus-interface-peer)
845         (dbus-interface-introspectable, dbus-interface-properties)
846         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
847         Adapt docstring.
848         (dbus-interface-objectmanager): New defconst.
849         (dbus-call-method, dbus-call-method-asynchronously)
850         (dbus-send-signal, dbus-method-return-internal)
851         (dbus-method-error-internal, dbus-register-service)
852         (dbus-register-signal, dbus-register-method): New defuns, moved
853         from dbusbind.c
854         (dbus-call-method-handler, dbus-setenv)
855         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
856         New defuns.
857         (dbus-call-method-non-blocking): Make it an obsolete function.
858         (dbus-unregister-object, dbus-unregister-service)
859         (dbus-handle-event, dbus-register-property)
860         (dbus-property-handler): Obey the new structure of
861         `bus-registered-objects'.
862         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
863         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
864         Use `dbus-call-method'.
866 2012-04-22  Chong Yidong  <cyd@gnu.org>
868         * cus-edit.el (custom-commands, custom-reset-menu)
869         (Custom-reset-standard): Tweak labels.
870         (custom-reset-button-menu): Change default to t.
871         (custom-buffer-create-internal): For the custom-reset-button-menu
872         case, put the revert button first.
873         (custom-group-subtitle): New face.
874         (custom-group-value-create): Align docstring to a specific column.
876         * wid-edit.el (widget-documentation-link-add): Don't handle
877         indentation in this function.
878         (widget-documentation-string-indent-to): New function.
879         (widget-documentation-string-value-create): Use it.
881         * autorevert.el (auto-revert):
882         * epg-config.el (epg):
883         * ibuffer.el (ibuffer):
884         * mpc.el (mpc):
885         * ses.el (ses):
886         * eshell/eshell.el (eshell):
887         * net/ange-ftp.el (ange-ftp):
888         * progmodes/ebnf2ps.el (postscript):
889         * progmodes/flymake.el (flymake):
890         * progmodes/prolog.el (prolog):
891         * progmodes/verilog-mode.el (verilog-mode):
892         * progmodes/which-func.el (which-func):
893         * term/xterm.el (xterm):
894         * textmodes/picture.el (picture):
895         * textmodes/tildify.el (tildify):
896         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
897         customization buffers.
899 2012-04-22  Alan Mackenzie  <acm@muc.de>
901         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
902         Adding a ) can hide the resulting (..) from searches.  Fix it.
903         Bound the backward search to the position of the existing (.
905 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
907         * progmodes/verilog-mode.el (verilog-mode): Check whether
908         which-func-modes is t before adding verilog-mode.
909         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
911 2012-04-21  Leo Liu  <sdl.web@gmail.com>
913         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
915 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
917         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
918         filling of the last column of a table (Bug#5635).
919         (woman-find-next-control-line): New arg, specifying an additional
920         regexp component for the control line.
921         (woman2-roff-buffer): Use it.
922         (woman-break-table): New function.
923         (woman2-TS): Use it.
925 2012-04-21  Chong Yidong  <cyd@gnu.org>
927         * woman.el (woman-set-buffer-display-table, woman-decode-region)
928         (woman-horizontal-escapes, woman-negative-vertical-space)
929         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
930         (WoMan-warn-ignored): Use ?\s instead of ?\ .
932 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
934         * minibuffer.el (completion-file-name-table): Complete user names.
936 2012-04-20  Leo Liu  <sdl.web@gmail.com>
938         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
939         and pcase-let*.
941 2012-04-20  Chong Yidong  <cyd@gnu.org>
943         * server.el (server-execute): Respect initial-buffer-choice if it
944         is a string and there are no files to open (Bug#2825).
945         (server-create-window-system-frame, server-create-tty-frame):
946         Don't switch buffers here.
947         (server-process-filter): Only try to open a window system frame if
948         compiled with graphical support (Bug#8314).
950 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
952         * battery.el (battery-echo-area-format): Display remaining time
953         for sysfs backend too (Bug#11269).
954         (battery-linux-sysfs): Fix conditional for the charge.
956 2012-04-20  Chong Yidong  <cyd@gnu.org>
958         * progmodes/gdb-mi.el (gdb): Revert previous change.
959         (gdb-inferior-io--init-proc): New function.
960         (gdb-init-1): Use it.
961         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
962         responsible for allocating a new pty and hooking it to gdb when
963         the old pty gets an EIO due to process exit.
964         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
965         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
966         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
968 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
970         * window.el (window-min-size, window-sizable, window-min-delta)
971         (window-max-delta, window--resizable, window-resizable)
972         (window-total-size, window-full-height-p, window-full-width-p)
973         (window-in-direction, window--resize-mini-window, window-resize)
974         (window--resize-child-windows-normal)
975         (window--resize-child-windows, window--resize-siblings)
976         (window--resize-this-window, adjust-window-trailing-edge)
977         (enlarge-window, shrink-window): Doc fixes.
979 2012-04-20  Chong Yidong  <cyd@gnu.org>
981         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
982         New function to call delete-process on the gdb-inferior buffer's pty.
983         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
984         pty process (Bug#11273).
985         (gdb-update): New arg to suppress talking to the gdb process.
986         (gdb-done-or-error): Use it.
987         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
988         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
989         sentinel not being called.
991         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
993         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
995 2012-04-20  Glenn Morris  <rgm@gnu.org>
997         * net/network-stream.el (open-network-stream): Doc fix.
999 2012-04-20  Chong Yidong  <cyd@gnu.org>
1001         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1003 2012-04-20  Alan Mackenzie  <acm@muc.de>
1005         Ensure searching for keywords is case sensitive.
1007         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1008         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1009         (c-defun-name, c-mark-function, c-cpp-define-name)
1010         (c-comment-indent, c-scan-conditionals, c-indent-defun)
1011         (c-context-line-break): Bind case-fold-search to nil.
1013         * progmodes/cc-mode.el (c-font-lock-fontify-region):
1014         Bind case-fold-search to nil.
1016 2012-04-20  Chong Yidong  <cyd@gnu.org>
1018         * mail/sendmail.el (mail-bury): Call return action with the right
1019         Rmail buffer (Bug#11242).
1021         * server.el (server-process-filter): Handle corner case where both
1022         tty and nowait options are present (Bug#11102).
1024 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
1026         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1027         (top level): Put into the executable the ident-style '$Id:' tag on
1028         windows-nt as well.
1030 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1032         * electric.el (electric-indent-post-self-insert-function): Check that
1033         electric-indent-mode is enabled in current buffer.
1035 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
1037         * imenu.el (imenu-progress-message): Restore; it is "used" in
1038         erc/erc-imenu.el and net/snmp-mode.el.
1040 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
1042         * avoid.el (mouse-avoidance-mode): Mark unused arg.
1043         (mouse-avoidance-nudge-mouse): Remove unused binding.
1045         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1047         * descr-text.el (describe-char):
1048         * progmodes/python.el (python-describe-symbol):
1049         Don't call `toggle-read-only', set `buffer-read-only'.
1051         * imenu.el (imenu-default-goto-function): Mark unused args.
1052         (imenu-progress-message): Remove obsolete macro; all callers changed.
1054         * subr.el (keymap-canonicalize): Remove unused binding.
1055         (read-passwd): Mark unused arg.
1057         * tutorial.el (tutorial--display-changes): Remove unused binding.
1058         (tutorial--save-tutorial-to): Remove unused variable.
1060         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1061         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1062         (package-generate-autoloads, package-menu--generate)
1063         (package-menu--find-upgrades): Remove unused bindings.
1065         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1066         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
1067         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1068         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1069         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1070         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1071         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1072         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1073         (cua-delete-char-rectangle): Mark unused args.
1074         (cua-align-rectangle): Remove unused binding.
1076         * mail/rmail.el (compilation--message->loc)
1077         (epa--find-coding-system-for-mime-charset): Declare.
1079         * net/dbus.el (dbus-register-service): Declare.
1080         (dbus-name-owner-changed-handler): Remove unused binding.
1082         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1083         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1084         (nxml-scan-backward-within): Mark unused arg.
1085         (nxml-dynamic-markup-word): Remove unused binding.
1087         * mouse.el (mouse-menu-major-mode-map):
1088         * emacs-lisp/authors.el (authors-scan-change-log)
1089         (authors-add-to-author-list):
1090         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1091         * emacs-lisp/smie.el (smie-auto-fill):
1092         * mail/sendmail.el (mail-bury):
1093         * mail/unrmail.el (unrmail):
1094         * net/tls.el (open-tls-stream):
1095         * textmodes/picture.el (picture-mouse-set-point):
1096         Remove unused bindings.
1098 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
1100         * net/tramp.el (tramp-action-password): Let-bind
1101         `enable-recursive-minibuffers' to t.
1103 2012-04-18  Sam Steingold  <sds@gnu.org>
1105         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1106         instead of 'string to accommodate values like [f11].
1107         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1108         * progmodes/gdb-mi.el: Likewise.
1110 2012-04-18  Leo Liu  <sdl.web@gmail.com>
1112         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1113         current buffer.
1114         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1115         LOCAL is nil.
1117 2012-04-18  Chong Yidong  <cyd@gnu.org>
1119         * simple.el (line-move): Use forward-line if in batch mode
1120         (Bug#11053).
1122 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
1124         * files.el (after-find-file): Do not try to add a final newline if
1125         the buffer is read-only (Bug#11156).
1127 2012-04-17  Richard Stallman  <rms@gnu.org>
1129         * mail/rmail.el (rmail-start-mail):
1130         Pass (rmail-mail-return...) for the return-action.
1131         Pass (rmail-yank-current-message...) for the yank-action.
1132         (rmail-yank-current-message): New function.
1133         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1134         (rmail-reply): Likewise.
1135         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1137         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1138         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
1139         buffer, not newbuf.
1141 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
1143         * server.el (server-ensure-safe-dir): Simplify.
1145 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1147         * emacs-lisp/smie.el: Provide smarter auto-filling.
1148         (smie-auto-fill): New function.
1149         (smie-setup): Use it.
1151         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1153 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
1155         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1156         (comment-indent): Use it.
1158 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1160         * ses.el: The overall change is to add cell renaming, that is
1161         setting fancy names for cell symbols other than name matching
1162         "\\`[A-Z]+[0-9]+\\'" regexp .
1163         (ses-localvars): Add ses--renamed-cell-symb-list.
1164         (ses-create-cell-variable): New defun.
1165         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1166         (ses-relocate-formula): Relocate formulas only for cells the
1167         symbols of which are not renamed, i.e. symbols whose names do not
1168         match regexp "\\`[A-Z]+[0-9]+\\'".
1169         (ses-relocate-all): Relocate values only for cells the symbols of
1170         which are not renamed.
1171         (ses-load): Create cells variables as the (ses-cell ...) are read,
1172         in order to check row col consistency with cell symbol name only
1173         for cells that are not renamed.
1174         (ses-replace-name-in-formula): New defun.
1175         (ses-rename-cell): New defun.
1177 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
1179         * progmodes/perl-mode.el (perl-indent-parens-as-block):
1180         New option (bug#11118).
1181         (perl-calculate-indent): Respect it.
1183 2012-04-17  Glenn Morris  <rgm@gnu.org>
1185         * dired-aux.el (dired-mark-read-string): Doc fix.
1187 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
1189         * dired-aux.el (dired-mark-read-string): Offer optional completion.
1190         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
1192 2012-04-17  Glenn Morris  <rgm@gnu.org>
1194         * mouse.el (mouse-drag-track):
1195         * speedbar.el (speedbar-frame-mode):
1196         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1198 2012-04-16  Leo Liu  <sdl.web@gmail.com>
1200         * progmodes/python.el: Trivial cleanup.
1202 2012-04-16  Glenn Morris  <rgm@gnu.org>
1204         * vc/vc.el (vc-string-prefix-p):
1205         * vc/pcvs-util.el (cvs-string-prefix-p):
1206         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1207         * mpc.el (mpc-string-prefix-p):
1208         Make all of these into obsolete aliases for string-prefix-p.
1209         Update callers.
1210         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1212         * textmodes/two-column.el: Move custom options to the start.
1213         (frame-width): Remove compat definition.
1214         (2C-associate-buffer, 2C-dissociate):
1215         Use with-current-buffer rather than save-excursion.
1216         (2C-dissociate): Force a mode-line update.
1217         (2C-autoscroll): Use ignore-errors.
1219         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1220         Autoload trivia.
1222         * emacs-lisp/cl-extra.el (*random-state*):
1223         Remove unnecessary declaration.
1225         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1227         * play/cookie1.el (cookie-snarf):
1228         Give an explicit error if input file cannot be read.
1230         * play/yow.el (yow-file): Use expand-file-name rather than concat.
1232         * progmodes/perl-mode.el (c-macro-expand):
1233         Remove unnecessary autoload (it is in loaddefs.el).
1235         * textmodes/picture.el (picture-desired-column)
1236         (picture-update-desired-column): Convert comments to doc-strings.
1237         (picture-substitute): Remove function.
1238         (picture-mode-map): Initialize in the defvar.
1240         * woman.el: Remove eval-after-load for tar-mode.
1241         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1242         (woman-tar-extract-file): Autoload it.
1244         * frame.el (automatic-hscrolling): Make this alias obsolete.
1246 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1248         * ispell.el (ispell-set-spellchecker-params): Post-process
1249         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1250         (ispell-dictionary-base-alist): Revert to original XEmacs
1251         friendly version for default.  [:alpha:] will be added in
1252         `ispell-set-spellchecker-params' if needed
1254 2012-04-16  Chong Yidong  <cyd@gnu.org>
1256         * image.el (imagemagick--extension-regexp): New variable.
1257         (imagemagick-register-types): Use it.
1258         (imagemagick-types-inhibit): Add :set function.  Allow new value
1259         of t to inhibit all types.
1261         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1262         so we can preload it.
1264         * loadup.el (fboundp): Preload regexp-opt, needed by
1265         imagemagick-register-types.
1267 2012-04-15  Chong Yidong  <cyd@gnu.org>
1269         * frame.el (scrolling): Remove nearly unused customization group.
1271         * scroll-all.el (scroll-all-mode): Move to windows group.
1273 2012-04-15  Chong Yidong  <cyd@gnu.org>
1275         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1277 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1279         Avoid the use of ((lambda ...) ...) in lexical-binding code.
1280         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1282 2012-04-15  Glenn Morris  <rgm@gnu.org>
1284         * simple.el (process-file-side-effects): Doc fix.
1286 2012-04-15  Glenn Morris  <rgm@gnu.org>
1288         * international/mule-cmds.el (set-language-environment): Doc fix.
1290 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
1292         * server.el (server-auth-key, server-generate-key): Doc fixes.
1293         (server-get-auth-key): Doc fix.  Use `string-match-p'.
1294         (server-start): Reflow docstring.
1296 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
1298         * server.el (server-generate-key): `called-interactively-p'
1299         requires a parameter.
1301 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
1303         * server.el (server-auth-key): New variable.
1304         (server-generate-key, server-get-auth-key): New function.
1305         (server-start): Use the new variable and functions to allow
1306         setting a permanent server key (bug#9423).
1308 2012-04-14  Leo Liu  <sdl.web@gmail.com>
1310         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1312 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
1314         Spelling fixes.
1315         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1316         Emacs uses American spelling.
1318 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
1320         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1321         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
1322         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1323         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
1325 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1327         * progmodes/which-func.el (which-func-modes): Change default.
1329 2012-04-14  Kim F. Storm  <storm@cua.dk>
1331         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1332         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1334 2012-04-14  Chong Yidong  <cyd@gnu.org>
1336         * custom.el (custom-theme-set-variables): Doc fix.
1338 2012-04-14  Glenn Morris  <rgm@gnu.org>
1340         * international/mule.el (set-auto-coding-for-load): Doc fix.
1342 2012-04-14  Alan Mackenzie  <acm@muc.de>
1344         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1345         imenu work again for Objective C Mode.  Correct the *-index values,
1346         these having been disturbed by a previous change in 2011-08.
1348         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1349         Correct two search limits.
1351 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1353         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1355 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
1357         * international/characters.el: Fix sorting.
1359 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1361         * international/characters.el: Add more missing Latin case pairs.
1363 2012-04-14  Glenn Morris  <rgm@gnu.org>
1365         * files.el (dir-locals-set-class-variables): Doc fix.
1367 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1369         * international/characters.el: Add set-case-syntax-pair call for
1370         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1371         counterpart.  (Bug#11209)
1373         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
1375 2012-04-14  Glenn Morris  <rgm@gnu.org>
1377         * calendar/holidays.el (calendar-check-holidays): Doc fix.
1379 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1381         * textmodes/ispell.el (ispell-dictionary-base-alist):
1382         Add data for Hebrew.
1384 2012-04-14  Chong Yidong  <cyd@gnu.org>
1386         * net/rcirc.el (rcirc-cmd-quit):
1387         Revert 2012-03-18 change (Bug#11192).
1389 2012-04-14  Glenn Morris  <rgm@gnu.org>
1391         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1393 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
1395         * minibuffer.el (completion-in-region-mode-map):
1396         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
1398 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
1400         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1402 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
1404         * minibuffer.el (minibuffer-local-filename-syntax): New variable
1405         to allow `C-M-f' and `C-M-b' to move to the nearest path
1406         separator (bug#9511).
1408 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
1410         * avoid.el: Require cl when compiling.  And also move the
1411         `provide' to the end.
1413 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1415         * avoid.el (mouse-avoidance-banish-position): New variable.
1416         (mouse-avoidance-banish-destination): Use it (bug#10165).
1418 2012-04-13  Leo Liu  <sdl.web@gmail.com>
1420         * progmodes/which-func.el (which-func-modes): Add objc-mode.
1422 2012-04-13  Ken Brown  <kbrown@cornell.edu>
1424         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1425         this is no longer needed now that cygstart understands file:// URLs.
1426         (browse-url-filename-alist): For the same reason, don't modify
1427         file:// URLs on Cygwin.
1429 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1431         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1432         the region on shift if the binding is already shifted (bug#11221).
1434 2012-04-12  Glenn Morris  <rgm@gnu.org>
1436         * mail/mailpost.el: Move to obsolete/.
1438 2012-04-12  Drew Adams  <drew.adams@oracle.com>
1440         * imenu.el (imenu--generic-function): Ignore invisible definitions
1441         (bug#10123).
1443 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
1445         * hexl.el (hexl-bits): New variable.
1446         (hexl-options): Mention the variable in the doc string.
1447         (hexl-rulerise, hexl-line-displen): New functions.
1448         (hexl-mode): Mention the new variable.
1449         (hexl-mode, hexl-current-address, hexl-current-address):
1450         Use the displen.
1451         (hexl-ascii-start-column): New function.
1452         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1453         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1455 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1457         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1458         '("-i" ENCODING), in 2 separate command-line arguments, to specify
1459         the encoding, as expected by hunspell.
1461 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1463         * battery.el (battery--linux-sysfs-regexp): New const.
1464         (battery-status-function): Use it.  Remove yeeloong special case.
1465         (battery-yeeloong-sysfs): Remove.
1466         (battery-echo-area-format): Remove yeeloong special case.
1468 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1470         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1471         Reported by Noah Friedman.
1473         * subr.el (read-passwd): Use read-string.
1475 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1477         * vcursor.el (vcursor-move): Increase the priority of the overlay
1478         (bug#9663).
1480 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1482         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1483         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1485 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
1487         * textmodes/artist.el (artist-mode): Convert artist-mode to use
1488         define-minor-mode (bug#10760).
1490 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
1492         * progmodes/grep.el (rgrep): Tweak the find command line so
1493         that directories matching `grep-find-ignored-files' won't be
1494         pruned (bug#10351).
1496 2012-04-11  Chong Yidong  <cyd@gnu.org>
1498         * startup.el (command-line): Remove support for long-obsolete
1499         variable font-lock-face-attributes.
1501 2012-04-11  Glenn Morris  <rgm@gnu.org>
1503         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1505 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1507         * window.el (window--state-get-1): Obey window-point-insertion-type.
1509 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
1511         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1512         to previous function when point is on the first character of a
1513         function.  Take care of that in `narrow-to-defun' (bug#6157).
1515 2012-04-11  Glenn Morris  <rgm@gnu.org>
1517         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1518         not just file-errors.
1520         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1521         (vc-bzr-sha1): Use internal sha1.
1523 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1525         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1527 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
1529         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1530         that start in the middle of the line (bug#10496).
1532 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
1534         * battery.el (battery-linux-proc-acpi): Only one battery is
1535         discharged at a time, but that seems to confuse battery.el when
1536         computing `rate-type' for the battery not being discharged
1537         (bug#10332).
1539 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1541         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1543         * international/quail.el: Use dolist and simplify.
1544         (quail-define-package, quail-update-keyboard-layout)
1545         (quail-define-rules): Use dolist.
1546         (quail-insert-kbd-layout, quail-get-translation): CSE.
1548         * tmm.el: Use dolist, remove left over hook.
1549         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1550         Use dolist.
1551         (calendar-load-hook): Don't mess with it.
1553         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1554         Use derived-mode-p.  Run the diff asynchronously.
1556 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1558         * obsolete/mouse-sel.el: Add an Obsolete-since header.
1560 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
1562         * misc.el: Display absolute path of loaded DLLs (bug#10424).
1563         (list-dynamic-libraries--loaded): New function.
1564         (list-dynamic-libraries--refresh): Use it.
1566 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
1568         * progmodes/python.el (python-fill-paragraph):
1569         Make python-fill-region in a multiline string work when font-lock is
1570         disabled (bug#7018).
1572 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
1574         * language/european.el (cp775): Add oem/legacy (en)coding on
1575         DOS/MS Windows for the Baltic languages.  There are still plenty
1576         of texts written in this encoding/codepage (bug#6519).
1578 2012-04-10  Glenn Morris  <rgm@gnu.org>
1580         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1581         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1583 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
1585         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
1586         next-line "n" and previous-line "p" in order to make recentf more
1587         consistent with ibuffer, dired or org-mode (bug#9387).
1589 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1591         * image.el (put-image): Return the overlay created instead of the
1592         optional input string (bug#7834).  Note that this may break code
1593         that is (for some reason or other) depending on `put-image'
1594         returning the string.
1596         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1598         * simple.el (zap-to-char): Allow zapping using input methods
1599         (bug#1580).
1601         * textmodes/fill.el (fill-region): Leave point and mark where they
1602         were before filling (bug#5399).
1604 2012-04-09  Glenn Morris  <rgm@gnu.org>
1606         * version.el (emacs-bzr-get-version):
1607         Handle lightweight checkouts of local branches.
1609 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
1611         * international/characters.el: Recover lost case pairs.  (Bug#11209)
1613 2012-04-09  Chong Yidong  <cyd@gnu.org>
1615         * custom.el (custom-variable-p): Return nil for non-symbol
1616         arguments instead of signaling an error.
1617         (user-variable-p): Obsolete alias for custom-variable-p.
1619         * apropos.el (apropos-variable):
1620         * files-x.el (read-file-local-variable):
1621         * simple.el (set-variable):
1622         * woman.el (woman-mini-help):
1623         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1625 2012-04-09  Glenn Morris  <rgm@gnu.org>
1627         * startup.el (normal-top-level): Don't look for leim-list.el
1628         in places where it will not be found.  (Bug#910)
1630         * international/mule-cmds.el (set-default-coding-systems):
1631         * files.el (normal-mode):
1632         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
1633         This function was removed with ucs-tables.el in 2008.
1635 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
1637         * textmodes/ispell.el (ispell-check-version): For hunspell, set
1638         ispell-encoding8-command to "-i", without a trailing space.
1639         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1640         separate command-line arguments, to specify the encoding, since
1641         that's how hunspell expects it.
1643 2012-04-08  Glenn Morris  <rgm@gnu.org>
1645         * loadup.el: Load bindings before cus-start.
1646         This reduces somewhat the number of "rogue" settings in emacs -Q.
1648 2012-04-07  Glenn Morris  <rgm@gnu.org>
1650         * version.el (emacs-bzr-get-version): New function.
1651         (emacs-bzr-version): New variable.
1652         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
1653         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1655 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1657         * international/uni-bidi.el, international/uni-category.el:
1658         * international/uni-combining.el, international/uni-decimal.el:
1659         * international/uni-decomposition.el, international/uni-digit.el:
1660         * international/uni-lowercase.el, international/uni-mirrored.el:
1661         * international/uni-name.el, international/uni-numeric.el:
1662         * international/uni-titlecase.el, international/uni-uppercase.el:
1663         Update for Unicode 6.1.
1665 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1667         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1669 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1671         * window.el (shrink-window): Mention the `window-min-height'
1672         variable in the doc string.
1674 2012-04-05  Bastien Guerry  <bzg@altern.org>
1676         * color.el (color-lighten-name): Fix typo.
1678 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1680         * server.el (server--on-display-p): New function.
1681         (server--on-display-p): Use it.
1683 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
1685         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1686         (bug#11145).
1688 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1690         * comint.el (comint--common-quoted-suffix): Check string boundary
1691         before comparing (bug#11158).
1692         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1694 2012-04-04  Chong Yidong  <cyd@gnu.org>
1696         * minibuffer.el (completion-extra-properties): Doc fix.
1698         * subr.el (delayed-warnings-hook): Doc fix.
1700 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
1702         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1703         selection (Bug#11159).
1704         (epa-insert-keys): Inform that the default public key will be
1705         exported if no key is selected.
1707 2012-04-04  Richard Stallman  <rms@gnu.org>
1709         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1711 2012-04-03  Chong Yidong  <cyd@gnu.org>
1713         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1714         mail-insert-file, not its obsolete alias mail-attach-file.
1716 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
1718         * notifications.el (notifications-notify): Fix docstring.
1720 2012-04-02  Glenn Morris  <rgm@gnu.org>
1722         * emacs-lisp/authors.el (authors-aliases): Another addition.
1724 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
1726         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1727         `tramp-compat-call-process' instead of `tramp-local-call-process'.
1728         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1730 2012-04-01  Chong Yidong  <cyd@gnu.org>
1732         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1733         Handle root directory properly.
1734         (copy-directory): Caller changed.
1736         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1737         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1739 2012-03-31  Glenn Morris  <rgm@gnu.org>
1741         * term/xterm.el (xterm-extra-capabilities): Doc fix.
1743         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
1745         * calendar/calendar.el (calendar-window-list)
1746         (calendar-hide-window): Restore.  (Bug#11140)
1747         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1749         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1751 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1753         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1754         Check if file is a symlink (Bug#10489).
1756         * files.el (copy-directory): Likewise.
1758 2012-03-30  Chong Yidong  <cyd@gnu.org>
1760         * image.el (imagemagick-types-inhibit)
1761         (imagemagick-register-types): Doc fix.
1763 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1765         * ispell.el (ispell-get-extended-character-mode):
1766         Disable extended-char-mode for hunspell.  hunspell does not support it
1767         and treats ~word as ordinary words in pipe mode.
1769 2012-03-30  Glenn Morris  <rgm@gnu.org>
1771         * tutorial.el (help-with-tutorial): Ensure local variables don't
1772         happen to make the buffer read-only.  (Bug#11127)
1774 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1776         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1777         (perl-calculate-indent): Return `noindent' in strings.
1779 2012-03-28  Sam Steingold  <sds@gnu.org>
1781         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1782         instead of the broken adhockery which does not prevent calendar
1783         buffers from being displayed at random after exit.
1784         (calendar-window-list, calendar-hide-window): Remove the broken
1785         adhockery.
1787 2012-03-28  Glenn Morris  <rgm@gnu.org>
1789         * replace.el (query-replace-map): Doc fix.
1791 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
1793         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1794         contents.  (Bug#11109)
1796 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1798         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1799         (bug#11077).
1800         (avl-tree--check, avl-tree--check-node): New funs.
1802 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
1804         * window.el (switch-to-visible-buffer): New option.
1805         (switch-to-prev-buffer, switch-to-next-buffer):
1806         Observe switch-to-visible-buffer.  Make sure that checking for a window
1807         showing a buffer already is done on the same frame.
1809 2012-03-27  Glenn Morris  <rgm@gnu.org>
1811         * startup.el (mail-host-address): Doc fix.
1813 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1815         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1816         than 197 variables.
1818 2012-03-26  Ami Fischman  <ami@fischman.org>
1820         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1822 2012-03-26  Glenn Morris  <rgm@gnu.org>
1824         * files.el (save-buffers-kill-emacs): Doc fix.
1826         * startup.el (normal-top-level, command-line, command-line-1):
1827         Give them doc strings.
1829 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
1831         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
1832         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
1834 2012-03-25  Chong Yidong  <cyd@gnu.org>
1836         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1837         theme if it was previously enabled before (Bug#11031).
1839         * cus-theme.el (custom-theme-write-faces): Retrieve current face
1840         spec with custom-face-get-current-spec if its :shown-value is not
1841         determined yet (Bug#9337).
1842         (customize-create-theme, custom-theme-revert): Doc fixes.
1844         * button.el (button-at): Minor addition to docstring.
1846 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
1848         * vc/vc.el (vc-merge): Fix a prompt.
1850 2012-03-24  Chong Yidong  <cyd@gnu.org>
1852         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1853         point (Bug#9623).
1855         * button.el (button-at): Minor addition to docstring.
1857 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1859         * newcomment.el (comment-choose-indent): No space after BOL.
1861 2012-03-22  Sam Steingold  <sds@gnu.org>
1863         * window.el (switch-to-prev-buffer): Revert last patch because the
1864         bug turned out to be an advertised feature (Elisp manual 28.14).
1866 2012-03-22  Glenn Morris  <rgm@gnu.org>
1868         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
1869         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1871 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1873         * net/network-stream.el (network-stream-open-starttls): Make error
1874         message under Windows be less misleading.
1876 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
1878         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1879         understands (bug#9942).
1881 2012-03-22  Chong Yidong  <cyd@gnu.org>
1883         * simple.el (end-of-visible-line): Handle return value of
1884         next-single-property-change properly (Bug#9371).
1886 2012-03-22  Kenichi Handa  <handa@m17n.org>
1888         * international/quail.el (quail-insert-kbd-layout): Fix previous
1889         change.  To avoid unwanted bidi reordering, use
1890         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1892 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
1894         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1895         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1896         (ruby-beginning-of-indent): Be more careful with the difference
1897         between word-boundary and symbol boundary.
1898         (ruby-mode-syntax-table): Make : a symbol constituent.
1900 2012-03-21  Andreas Politz  <politza@fh-trier.de>
1902         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1904 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1906         * progmodes/etags.el (tags-completion-at-point-function):
1907         Improve last fix.
1909         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1911 2012-03-21  Sam Steingold  <sds@gnu.org>
1913         * progmodes/etags.el (tags-completion-at-point-function):
1914         Avoid the error when point is inside the pattern.
1916 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
1918         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1919         line (Bug#10855).
1921 2012-03-21  Drew Adams  <drew.adams@oracle.com>
1923         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1925 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
1927         * ido.el (ido-set-current-directory, ido-read-internal)
1928         (ido-choose-completion-string, ido-completion-help): Handle nil
1929         value of ido-completion-buffer (Bug#11008).
1931 2012-03-21  Sam Steingold  <sds@gnu.org>
1933         * window.el (switch-to-prev-buffer): Do not switch to a visible
1934         window previous buffer, just like with the frame previous buffers.
1936 2012-03-21  Chong Yidong  <cyd@gnu.org>
1938         * faces.el (make-face, make-empty-face, copy-face):
1939         * face-remap.el (face-remap-add-relative, face-remap-set-base):
1940         Doc fixes.
1942 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1944         * wid-edit.el (widget-complete-field): Remove (bug#11051).
1945         (widget-complete): Remove broken use of it.
1947 2012-03-20  Chong Yidong  <cyd@gnu.org>
1949         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1950         Use string-width and truncate-string-width to handle arbitrary
1951         characters.
1953 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
1955         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1956         to draw rectangles, not squares.  (Regression introduced by revno
1957         103471)
1959 2012-03-18  Chong Yidong  <cyd@gnu.org>
1961         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1962         it is not yet defined (for temacs).
1964 2012-03-18  Leo Liu  <sdl.web@gmail.com>
1966         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
1968 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
1970         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1971         (ispell-choices-win-default-height, ispell-silently-savep)
1972         (ispell-dictionary-alist, ispell-encoding8-command)
1973         (ispell-check-version, ispell-aspell-find-dictionary)
1974         (ispell-valid-dictionary-list, ispell-words-keyword)
1975         (ispell-get-word, ispell-internal-change-dictionary)
1976         (ispell-region, ispell-skip-region-list)
1977         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1978         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1979         (ispell-message-text-end, ispell-message)
1980         (ispell-buffer-local-parsing): Doc fix.
1982 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
1984         * htmlfontify.el: Add support for code block fontification for ODT
1985         export (Bug #9914).
1986         (hfy-optimisations): Define new option
1987         `body-text-only'
1988         (hfy-fontify-buffer): Honor above setting.
1989         (hfy-begin-span, hfy-end-span): New routines factored out form
1990         `hfy-fontify-buffer'.
1991         (hfy-begin-span-handler, hfy-end-span-handler): New variables
1992         that permit insertion of custom tags.
1993         (hfy-fontify-buffer): Use above handlers.
1994         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1995         (hfy-face-to-css): Re-defined to be a variable.
1996         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
1997         over multiple runs.  This is made possible by having the caller let
1998         bind a special variable `hfy-user-sheet-assoc'.
1999         (htmlfontify-string): New defun.
2000         (hfy-compile-face-map): Make sure that the last char in the
2001         buffer is correctly fontified.
2002         (hfy-face-resolve-face): Whitespace only change.
2004 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
2006         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2007         message more clear.
2009 2012-03-16  Leo Liu  <sdl.web@gmail.com>
2011         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2013 2012-03-16  Alan Mackenzie  <acm@muc.de>
2015         Further optimise the handling of large macros.
2017         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2018         limit to a call of `c-literal-limits'.
2019         (c-determine-+ve-limit): New function.
2020         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2021         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2022         In CASE 5B, restrict a search limit to 500.
2023         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2025         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2026         Restrict macro bounds to +-500 from after-change's BEG END.
2028 2012-03-16  Leo Liu  <sdl.web@gmail.com>
2030         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2032 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
2034         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2035         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
2037 2012-03-16  Glenn Morris  <rgm@gnu.org>
2039         * view.el (view-buffer, view-buffer-other-window)
2040         (view-buffer-other-frame): Doc fixes re special mode-class.
2042         * subr.el (eval-after-load): If named feature is provided not from
2043         a file, run after-load forms.  (Bug#10946)
2045         * calendar/calendar.el (calendar-insert-at-column):
2046         Handle non-unit-width characters a bit better.  (Bug#10978)
2048 2012-03-15  Chong Yidong  <cyd@gnu.org>
2050         * emacs-lisp/ring.el (ring-extend): New function.
2051         (ring-insert+extend): Extend the ring correctly (Bug#11019).
2053         * comint.el (comint-read-input-ring)
2054         (comint-add-to-input-history): Grow comint-input-ring lazily.
2056 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2058         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2059         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2061         * imenu.el: Fix multiple inheritance breakage (bug#9199).
2062         (imenu-add-to-menubar): Don't add a redundant index.
2063         (imenu-update-menubar): Handle a dynamically composed keymap.
2065 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
2067         * mail/sendmail.el (mail-encode-header):
2068         Bind rfc2047-encode-encoded-words to nil.
2070 2012-03-13  Glenn Morris  <rgm@gnu.org>
2072         * calendar/calendar.el (calendar-string-spread):
2073         Handle non-unit-width characters a bit better.  (Bug#10978)
2075 2012-03-13  Leo Liu  <sdl.web@gmail.com>
2077         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2078         directory and file as argument (Bug#10822).
2080 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
2082         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2083         For dynamically generated code, follow $PC.
2084         (gdb-disassembly-handler-custom): Handle no function name case.
2086 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
2088         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2089         * emulation/ws-mode.el (ws-query-replace):
2090         * sort.el (sort-regexp-fields):
2091         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
2093 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2095         * dabbrev.el: Fix cycle completion order (bug#10963).
2096         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2097         (dabbrev-completion): Don't use an obarray; provide
2098         a cycle-sort-function.
2100 2012-03-12  Leo Liu  <sdl.web@gmail.com>
2102         * simple.el (kill-new): Use equal-including-properties for comparison.
2103         (kill-do-not-save-duplicates): Doc fix.
2105 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2107         * dabbrev.el: Fix cycle completion (bug#10963).
2108         Use lexical binding and wrap to 80 columns.
2109         (dabbrev-completion): Delay computing the list of completions.
2111 2012-03-12  Kenichi Handa  <handa@m17n.org>
2113         * international/quail.el (quail-insert-kbd-layout): Surround each
2114         row by LRO and PDF instead of inserting many LRMs.  Pad the left
2115         and right of each non-spacing marks.  Insert invisible space
2116         between lower and upper characters to prevent composition.
2118 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2120         * minibuffer.el (minibuffer-complete): Don't get confused when the
2121         function is run twice via different commands (bug#10958).
2122         (complete-with-action): Fix docstring.
2124 2012-03-12  Chong Yidong  <cyd@gnu.org>
2126         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2127         (nxml-completion-at-point-function): New function.
2128         (nxml-mode): Use it.
2129         (nxml-bind-meta-tab-to-complete-flag): Default to t.
2131         * emacs-lisp/package.el (package-unpack, package-unpack-single):
2132         Load generated autoloads file before byte compiling (Bug#10970).
2133         (package--make-autoloads-and-compile): New helper fun.
2135 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
2137         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2139 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
2141         * autorevert.el (auto-revert-handler): Ensure, that
2142         file-readable-p is applied only for local files or in
2143         auto-revert-tail-mode.
2145 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
2147         * server.el (server-eval-at): Handle non-tcp connections.
2148         Decode result string.
2150         * server.el (server-msg-size): New constant.
2151         (server-reply-print): New function.
2152         (server-eval-and-print): Use it.
2153         (server-eval-at): Use server-quote-arg and server-unquote-arg.
2154         Handle -print-nonl.
2156 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
2158         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2159         (Bug#10987).
2161 2012-03-11  Chong Yidong  <cyd@gnu.org>
2163         * simple.el (goto-line): Doc fix (Bug#9938).
2165         * subr.el (save-window-excursion): Doc fix (Bug#9979).
2167         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2168         when finished (Bug#10963).
2170 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
2172         * window.el (split-window-below): Fix bug in case where
2173         split-window-keep-point is nil (Bug#10971).
2175 2012-03-11  Juri Linkov  <juri@jurta.org>
2177         * replace.el (replace-highlight): Set isearch-word to nil
2178         unconditionally.  (Bug#10887)
2180 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
2182         * net/mairix.el (mairix-replace-invalid-chars): Rename from
2183         mairix-replace-illegal-chars; all callers changed.  Don't remove
2184         ^, ~, and = characters: they are meaningful in mairix search specs.
2185         (mairix-widget-create-query): Add usage information about mairix
2186         search forms: negating words, searching for substrings, etc.
2188 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
2190         * international/fontset.el (font-encoding-alist): Add an entry for
2191         ksx1001 (Bug#5667).
2193 2012-03-10  Richard Stallman  <rms@gnu.org>
2195         * mail/sendmail.el (mail-encode-header):
2196         Set rfc2047-encode-encoded-words.
2198         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2200         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2201         view buffer means not swapped.
2202         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2203         (rmail-write-region-annotate): Error if real text has disappeared.
2205         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2207 2012-03-10  Chong Yidong  <cyd@gnu.org>
2209         * emulation/cua-rect.el (cua--init-rectangles):
2210         * emulation/cua-base.el (cua--init-keymaps):
2211         Add delete-forward-char to remappings (Bug#9666).
2213 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
2215         * speedbar.el (speedbar-unhighlight-one-tag-line):
2216         Avoid unhighlighting due to frame switching (Bug#10275).
2218 2012-03-10  Chong Yidong  <cyd@gnu.org>
2220         * minibuffer.el (completion-in-region, completion-help-at-point):
2221         Give the completion field overlay a high priority (Bug#6830).
2223         * dired.el (dired-goto-file): Recognize absolute file name
2224         listings (Bug#7126).
2225         (dired-goto-file-1): New helper function.
2226         (dired-toggle-read-only): Inhibit warnings.
2228 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
2230         * net/dbus.el (dbus-property-handler): Return empty array if
2231         there are no properties.
2233 2012-03-09  Leo Liu  <sdl.web@gmail.com>
2235         * savehist.el (savehist-printable): Stricter check for string
2236         value (Bug#10937).
2238 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
2240         * mail/smtpmail.el (smtpmail-send-it):
2241         Bind coding-system-for-write to *-unix, so that FCC files are kept in
2242         valid mbox format.
2244 2012-03-09  Glenn Morris  <rgm@gnu.org>
2246         * files.el (dir-locals-find-file):
2247         Don't check result is regular, readable.
2248         (dir-locals-read-from-file): Demote errors.
2250 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
2252         * international/quail.el (quail-insert-kbd-layout):
2253         Insert invisible LRM characters before each character in a keyboard
2254         layout cell, to prevent their reordering by bidi display engine.
2255         For details, see the discussion in
2256         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2258 2012-03-08  Alan Mackenzie  <acm@muc.de>
2260         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2261         the starting position; make it extend the marked region when
2262         invoked repeatedly - all under appropriate circumstances.
2263         Fixes bugs #5525, #10906.
2265 2012-03-08  Glenn Morris  <rgm@gnu.org>
2267         * files.el (locate-dominating-file, dir-locals-find-file):
2268         Undo 2012-03-06 change.
2270 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
2272         * international/quail.el (quail-help):
2273         Force bidi-paragraph-direction be left-to-right.  See discussion in
2274         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2275         for the reason.
2277 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
2279         Avoid superfluous registering of signals.  (Bug#10807)
2281         * notifications.el (notifications-on-action-object)
2282         (notifications-on-close-object): New defvars.
2283         (notifications-on-action-signal, notifications-on-closed-signal):
2284         Unregister the signal if not needed any longer.
2285         (notifications-notify): Register `notifications-action-signal' or
2286         `notifications-closed-signal', if :on-action or :on-close has been
2287         passed as argument.
2289 2012-03-07  Chong Yidong  <cyd@gnu.org>
2291         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2292         non-X platforms.
2294 2012-03-06  Glenn Morris  <rgm@gnu.org>
2296         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2297         (x-disown-selection-internal, x-get-selection-internal):
2298         Doc fix (add arglist signatures).  (Bug#10783)
2300 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
2302         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2303         Handle breakpoints with no "type".
2305 2012-03-06  Glenn Morris  <rgm@gnu.org>
2307         * files.el (locate-dominating-file): Add optional predicate argument.
2308         (dir-locals-find-file): Make use of above change.
2310 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
2312         * info.el (Info-insert-dir): Also try "dir.gz".
2314 2012-03-06  Glenn Morris  <rgm@gnu.org>
2316         * files.el (dir-locals-find-file):
2317         Ignore non-readable or non-regular files.  (Bug#10928)
2319         * files.el (locate-dominating-file): Doc fix.
2321 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
2323         * calendar/calendar.el (calendar-set-mode-line):
2324         `getenv' returns a string.  (Bug#10951)
2326 2012-03-05  Leo Liu  <sdl.web@gmail.com>
2328         * simple.el (backward-delete-char-untabify): Constrain point to
2329         field (Bug#10939).
2331         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2333 2012-03-05  Chong Yidong  <cyd@gnu.org>
2335         * simple.el (count-words): If called from Lisp, return the word
2336         count, for symmetry with `count-lines'.  Arglist changed.
2337         (count-words--message): Args changed.  Consolidate counting code
2338         from count-words and count-words-region.
2339         (count-words-region): Caller changed.
2340         (count-lines-region): Make it an obsolete alias.
2342 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
2344         * saveplace.el (save-place-to-alist)
2345         (save-place-ignore-files-regexp): Allow value nil to disable this
2346         feature.
2348 2012-03-04  Chong Yidong  <cyd@gnu.org>
2350         * faces.el (face-spec-reset-face): For the default face, reset the
2351         attributes to default values (Bug#10748).
2353 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2355         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2356         previous patch: Check `message-send-mail-function', and not the
2357         default function (bug#10897).
2359 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
2361         * notifications.el (notifications-on-action-signal)
2362         (notifications-on-closed-signal): Check for unique service name of
2363         incoming event.  Fix error in removing entry.
2364         (top): Register for signals with wildcard service name.
2365         (notifications-notify): Use daemon unique service name for map entries.
2367 2012-03-04  Chong Yidong  <cyd@gnu.org>
2369         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2371 2012-03-04  Glenn Morris  <rgm@gnu.org>
2373         * abbrev.el (copy-abbrev-table, abbrev-table-p)
2374         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2375         (expand-abbrev, define-abbrev-table): Doc fixes.
2377 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2379         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2380         `message-default-send-mail-function' and not `send-mail-function'
2381         when doing the prompting for `sendmail-query-once' before sending
2382         in Message buffers (bug#10897).
2384         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2385         This is inconsistent with all the other stream functions, which leave
2386         the setting up to the higher levels (if so wanted) (bug#10931).
2388 2012-03-02  Alan Mackenzie  <acm@muc.de>
2390         Depessimize the handling of very large macros.
2392         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2393         (c-macro-cache-syntactic): New variables to implement a one
2394         element macro cache.
2395         (c-invalidate-macro-cache): New function.
2396         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2397         Adapt to use the new cache.
2398         (c-state-safe-place): Use better the cache of safe positions.
2399         (c-state-semi-nonlit-pos-cache)
2400         (c-state-semi-nonlit-pos-cache-limit):
2401         New variables for...
2402         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
2403         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2404         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2405         Use c-state-semi-safe-place.
2407         * progmodes/cc-langs.el (c-get-state-before-change-functions):
2408         Add c-invalidate-macro-cache to the C, C++, Obj entries.
2410 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
2412         * jka-compr.el (jka-compr-call-process):
2413         Apply `file-accessible-directory-p' only when the default directory is
2414         not remote.
2416 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
2418         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
2419         access of FILE2, if FILE1 does not exist.
2421         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2422         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2424         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2425         Add "PAGER=" to `process-environment'.
2427 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
2429         * progmodes/sql.el: Bug fix
2430         (sql-get-login-ext): Save login values in globals.
2431         (sql-get-login): Use new version of `sql-get-login-ext'.
2432         (sql-interactive-mode): Set global `sql-connection' to nil.
2433         (sql-connect): Set global values for connection.
2434         (sql-product-interactive): Save global values as buffer local.
2436 2012-02-29  Leo Liu  <sdl.web@gmail.com>
2438         * abbrev.el (define-abbrevs): Reset sys to nil.
2440 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2442         * files.el (file-equal-p): Rename from `files-equal-p'.
2443         Return nil when one or both files don't exist.
2444         (file-subdir-of-p): Now only top directory must exists,
2445         return nil if it doesn't.
2446         (copy-directory): No need to test with `file-subdir-of-p' after
2447         creating dir.
2448         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2449         to `file-equal-p'.
2451 2012-02-28  Glenn Morris  <rgm@gnu.org>
2453         * shell.el (shell-mode):
2454         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2455         * play/landmark.el (landmark-font-lock-face-O):
2456         * play/handwrite.el (handwrite):
2457         * play/gomoku.el (gomoku-O):
2458         * net/browse-url.el (browse-url-browser-display):
2459         * international/mule.el (define-charset):
2460         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2461         * filesets.el (filesets-find-file-delay):
2462         * eshell/em-xtra.el (eshell-xtra):
2463         * eshell/em-unix.el (eshell-grep):
2464         * emulation/viper.el (viper-mode):
2465         * emacs-lisp/regexp-opt.el (regexp-opt-group):
2466         * emacs-lisp/easymenu.el (easy-menu-define):
2467         * calendar/timeclock.el (timeclock-use-display-time):
2468         * bs.el (bs-mode):
2469         * bookmark.el (bookmark-save-flag):
2470         Doc fix (standardize possessive apostrophe usage).
2472 2012-02-27  Chong Yidong  <cyd@gnu.org>
2474         * emulation/viper-cmd.el (viper-intercept-ESC-key):
2475         Fix key-binding lookup for ESC key (Bug#9146).
2477         * font-lock.el (font-lock-specified-p): Rename from
2478         font-lock-spec-present.  Callers changed.
2480 2012-02-27  Daniel Hackney  <dan@haxney.org>
2482         * emacs-lisp/package.el (package-compute-transaction):
2483         Handle holding a package version to t in package-load-list.
2485 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
2487         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2488         (tramp-get-inode, tramp-get-device): Use cached values.
2490 2012-02-26  Alan Mackenzie  <acm@muc.de>
2492         Check there is a font-lock specification before doing initial
2493         fontification.
2495         * font-core.el (font-lock-mode): Move the conditional from
2496         :after-hook to font-lock-initial-fontify.
2497         (font-lock-default-function): Move the check for a specification
2498         to font-lock-spec-present.
2500         * font-lock.el (font-lock-initial-fontify): Call ...
2501         (font-lock-spec-present): New function.
2503 2012-02-26  Jim Blandy  <jimb@red-bean.com>
2505         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2506         (gdb-send): Apply it to the operand of the '-interpreter-exec
2507         console' command, so that we can pass arguments with (say) quotes
2508         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
2510 2012-02-26  Chong Yidong  <cyd@gnu.org>
2512         * help-fns.el (describe-function-1): Clarify description of
2513         remapping (Bug#10844).
2515         * files.el (files-equal-p): Doc fix.
2516         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
2517         and quit the loop once a mismatch is found.
2519 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
2521         * bs.el (bs--show-with-configuration): Don't throw an error
2522         if the window cannot be split; otherwise, subsequent calls to
2523         bs-show fail, restoring a stale window config.  (Bug#10882)
2525 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
2527         * term/ns-win.el (global-map): Bind ns-drag-file to
2528         ns-find-file (Bug#5855, Bug#10050).
2530 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
2532         * calendar/parse-time.el (parse-time-string): Allow extractor to
2533         return nil.
2535 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
2537         * net/tramp.el (tramp-file-name-for-operation):
2538         Add `files-equal-p' and `file-subdir-of-p'.
2540         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2541         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2542         Add COPY-CONTENTS argument.
2544 2012-02-25  Chong Yidong  <cyd@gnu.org>
2546         Add custom groups for VC backends, for consistency with vc-bzr.
2548         * vc/vc-arch.el (vc-arch):
2549         * vc/vc-cvs.el (vc-cvs):
2550         * vc/vc-git.el (vc-git):
2551         * vc/vc-hg.el (vc-hg):
2552         * vc/vc-mtn.el (vc-mtn):
2553         * vc/vc-rcs.el (vc-rcs):
2554         * vc/vc-sccs.el (vc-sccs):
2555         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2556         All relevant defcustoms reassigned.
2558 2012-02-25  Chong Yidong  <cyd@gnu.org>
2560         * newcomment.el (comment-styles): Add autoload (Bug#10868).
2562         * term/x-win.el (x-initialize-window-system): Reduce default for
2563         x-selection-timeout to 5 seconds (Bug#8869).
2565 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2567         * files.el (files-equal-p, file-subdir-of-p): New functions.
2568         (copy-directory): Error when trying to copy a directory on itself.
2569         Add missing copy-contents arg to tramp handler.
2570         * dired-aux.el (dired-copy-file-recursive): Same.
2571         (dired-create-files): Modify destination when source is equal to
2572         dest when copying files.
2573         Return also when dest is a subdir of source.  (Bug#10489)
2575 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
2577         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2578         (Bug#10874)
2580 2012-02-23  Alan Mackenzie  <acm@muc.de>
2582         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2583         parameter "after-hook:" to allow the expansion to run code after
2584         the execution of the mode hooks.
2586         * font-lock.el (font-lock-initial-fontify): New function extracted
2587         from font-lock-mode-internal.
2589         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2590         :after-hook.
2592 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2594         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2595         (completion--cache-all-sorted-completions): New function.
2596         (completion-all-sorted-completions): Use it.
2597         (completion--do-completion, minibuffer-force-complete):
2598         Use it to re-instate the flush hook.
2600         * icomplete.el (icomplete-completions): Replace last fix with a better
2601         one (bug#10850).
2603 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
2605         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2606         when it might call us back infinitely (bug#10797).
2608 2012-02-23  Glenn Morris  <rgm@gnu.org>
2610         * minibuffer.el (completion-category-overrides): Doc fix.
2612 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2614         * minibuffer.el (completion-table-with-context): Fix inf-loop.
2615         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2617 2012-02-23  Glenn Morris  <rgm@gnu.org>
2619         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
2620         (authors-obsolete-files-regexps, authors-ignored-files)
2621         (authors-ambiguous-files, authors-renamed-files-alist):
2622         Add more entries.
2624 2012-02-23  Juri Linkov  <juri@jurta.org>
2626         * isearch.el (isearch-occur): Sync interactive spec with occur's
2627         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
2629         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2631 2012-02-22  Juri Linkov  <juri@jurta.org>
2633         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2634         (ucs-insert): Doc fix.  Check for hex digits in the string.
2635         Don't display `nil' in the error message.  (Bug#10857)
2637 2012-02-22  Alan Mackenzie  <acm@muc.de>
2639         * progmodes/cc-mode.el: Revert change #107149 from 2012-02-06.
2641 2012-02-22  Glenn Morris  <rgm@gnu.org>
2643         * ffap.el (ffap-c-path):
2644         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
2646 2012-02-22  Chong Yidong  <cyd@gnu.org>
2648         * custom.el (load-theme): Doc fix.
2650 2012-02-22  Glenn Morris  <rgm@gnu.org>
2652         * dired-x.el (dired-guess-shell-alist-default):
2653         Remove escape sequences from nroff output.  (Bug#172)
2655 2012-02-21  Glenn Morris  <rgm@gnu.org>
2657         * vc/emerge.el (emerge-defvar-local):
2658         Set `permanent-local' property rather than unused `preserved'.
2660         * textmodes/picture.el (picture-delete-char): New alias.
2661         (picture-mode-map): Use it.  (Bug#10860)
2662         (picture-mode): Doc fix.
2664 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
2666         * newcomment.el (uncomment-region-default): Remove unused binding.
2668 2012-02-21  Glenn Morris  <rgm@gnu.org>
2670         * textmodes/picture.el (picture-motion, picture-motion-reverse)
2671         (picture-self-insert, picture-tab-chars): Doc fix.
2672         (picture-mode-map): Fix C-a, C-e.
2674 2012-02-20  Glenn Morris  <rgm@gnu.org>
2676         * emacs-lisp/authors.el (authors-aliases): Add another entry.
2678 2012-02-20  Leo Liu  <sdl.web@gmail.com>
2680         * icomplete.el (icomplete-completions): Check FROM arg before
2681         passing to substring (Bug#10850).
2683 2012-02-19  Chong Yidong  <cyd@gnu.org>
2685         * comint.el: Require ansi-color.
2686         (comint-output-filter-functions): Add ansi-color-process-output.
2688         * ansi-color.el: Don't set comint-output-filter-functions; it is
2689         now in the initial value defined in comint.el.
2690         (ansi-color-apply-face-function): New variable.
2691         (ansi-color-apply-on-region): Use it.
2692         (ansi-color-apply-overlay-face): New function.
2694         * shell.el (shell): No need to require ansi-color.
2695         (shell-mode): Use ansi-color-apply-face-function to highlight
2696         color escapes using font-lock-face property (Bug#10835).
2698 2012-02-19  Chong Yidong  <cyd@gnu.org>
2700         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2701         mode-line formats (Bug#10839).
2703 2012-02-18  Glenn Morris  <rgm@gnu.org>
2705         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2707         * mail/undigest.el (unforward-rmail-message): Doc fix.
2709         * saveplace.el (save-place-ignore-files-regexp): Add :version.
2711 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
2713         * international/characters.el (script-list): Sync with the latest
2714         Unicode Character Database.
2716 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
2718         * international/titdic-cnv.el: Remove duplicate coding tag.
2719         * language/cham.el: Likewise.
2720         * language/tai-viet.el: Likewise.
2722 2012-02-18  Glenn Morris  <rgm@gnu.org>
2724         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2725         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2726         (calendar-bahai-all-holidays-flag, calendar-other-dates):
2727         * calendar/diary-lib.el (diary-abbreviated-year-flag):
2728         * calendar/holidays.el (holiday-bahai-holidays)
2729         (calendar-holidays, list-holidays):
2730         Use utf-8 Bahá'í in doc-strings, menus, etc.
2732 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
2734         * saveplace.el (save-place-ignore-files-regexp): New variable
2735         allowing for excluding files from saving their location of point.
2736         The default value matches the temporary commit message editing
2737         files from Git, SVN, Bazaar, and Mercurial.
2738         (save-place-to-alist): Use it.
2740 2012-02-17  Lawrence Mitchell <wence@gmx.li>
2741             Stefan Monnier  <monnier@iro.umontreal.ca>
2743         * newcomment.el (uncomment-region-default): Don't leave extra space
2744         when an arg is provided (bug#8150).
2746 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
2748         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
2750 2012-02-17  Glenn Morris  <rgm@gnu.org>
2752         * net/socks.el: Require network-stream.  (Bug#10599)
2754 2012-02-17  Kenichi Handa  <handa@m17n.org>
2756         * international/charprop.el:
2757         * international/uni-name.el:
2758         * international/uni-old-name.el:
2759         * international/uni-comment.el: Regenerate.
2761 2012-02-16  Glenn Morris  <rgm@gnu.org>
2763         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2764         Interactively in calendar buffer, give an error if not on a date.
2766 2012-02-15  Glenn Morris  <rgm@gnu.org>
2768         * shell.el (shell-delimiter-argument-list):
2769         Revert 2011-02-17 change.  (Bug#8027)
2771 2012-02-15  Chong Yidong  <cyd@gnu.org>
2773         * minibuffer.el (completion-at-point-functions): Doc fix.
2775         * custom.el (defcustom): Doc fix; note use of defvar.
2777 2012-02-15  Glenn Morris  <rgm@gnu.org>
2779         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2780         Doc fixes.
2782 2012-02-14  Glenn Morris  <rgm@gnu.org>
2784         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2786 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
2788         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2789         way the ports list is computed.
2790         (smtpmail-query-smtp-server): Prompt the user for a port number if
2791         we can't connect to any of the standard ports (bug#10810).
2793 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
2795         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2797 2012-02-13  Glenn Morris  <rgm@gnu.org>
2799         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
2801 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
2803         * net/gnutls.el (gnutls-trustfiles): New variable.
2804         (gnutls-negotiate): Use it.
2806 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
2808         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2809         does its stuff if Gnus is running.
2811 2012-02-13  Alan Mackenzie  <acm@muc.de>
2813         Fix a loop in c-set-fl-decl-start.
2815         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
2816         c-backward-syntactic-ws actually moves backwards.
2818 2012-02-13  Leo Liu  <sdl.web@gmail.com>
2820         * net/rcirc.el (rcirc-markup-attributes): Move point to the
2821         beginning so that all \C-o chars are removed.
2823 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
2825         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
2827 2012-02-12  Alan Mackenzie  <acm@muc.de>
2829         Fix infinite loop with long macros.
2830         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
2832 2012-02-12  Chong Yidong  <cyd@gnu.org>
2834         * window.el (display-buffer): Doc fix (Bug#10785).
2836 2012-02-12  Glenn Morris  <rgm@gnu.org>
2838         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2839         (x-disown-selection-internal, x-get-selection-internal):
2840         Sync docs with the xselect.c versions.
2842         * allout-widgets.el: Add missing license notice.
2844 2012-02-11  Glenn Morris  <rgm@gnu.org>
2846         * select.el (x-get-selection-internal, x-own-selection-internal)
2847         (x-disown-selection-internal):
2848         * x-dnd.el (x-get-selection-internal): Update declarations.
2850         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2852         * window.el (window-sides-slots):
2853         * tool-bar.el (tool-bar-position):
2854         * term/xterm.el (xterm-extra-capabilities):
2855         * ses.el (ses-self-reference-early-detection):
2856         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2857         (verilog-auto-wire-type)
2858         (verilog-auto-delete-trailing-whitespace)
2859         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2860         (verilog-auto-tieoff-declaration):
2861         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2862         (sql-oracle-statement-starters, sql-oracle-scan-on):
2863         * progmodes/prolog.el (prolog-align-comments-flag)
2864         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2865         (prolog-left-indent-regexp, prolog-paren-indent-p)
2866         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2867         (prolog-types, prolog-mode-specificators)
2868         (prolog-determinism-specificators, prolog-directives)
2869         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2870         (prolog-electric-dot-flag)
2871         (prolog-electric-dot-full-predicate-template)
2872         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2873         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2874         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2875         (prolog-program-switches, prolog-prompt-regexp)
2876         (prolog-debug-on-string, prolog-debug-off-string)
2877         (prolog-trace-on-string, prolog-trace-off-string)
2878         (prolog-zip-on-string, prolog-zip-off-string)
2879         (prolog-use-standard-consult-compile-method-flag)
2880         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2881         (prolog-imenu-max-lines, prolog-info-predicate-index)
2882         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2883         (prolog-char-quote-workaround):
2884         * progmodes/cc-vars.el (c-defun-tactic):
2885         * net/tramp.el (tramp-encoding-command-interactive)
2886         (tramp-local-end-of-line):
2887         * net/soap-client.el (soap-client):
2888         * net/netrc.el (netrc-file):
2889         * net/gnutls.el (gnutls):
2890         * minibuffer.el (completion-category-overrides)
2891         (completion-cycle-threshold)
2892         (completion-pcm-complete-word-inserts-delimiters):
2893         * man.el (Man-name-local-regexp):
2894         * mail/feedmail.el (feedmail-display-full-frame):
2895         * international/characters.el (glyphless-char-display-control):
2896         * eshell/em-ls.el (eshell-ls-date-format):
2897         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2898         (lisp-lambda-list-keyword-parameter-indentation)
2899         (lisp-lambda-list-keyword-parameter-alignment):
2900         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2901         * dired-x.el (dired-omit-verbose):
2902         * cus-theme.el (custom-theme-allow-multiple-selections):
2903         * calc/calc.el (calc-highlight-selections-with-faces)
2904         (calc-lu-field-reference, calc-lu-power-reference)
2905         (calc-note-threshold):
2906         * battery.el (battery-mode-line-limit):
2907         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2908         (archive-7z-update):
2909         * allout.el (allout-prefixed-keybindings)
2910         (allout-unprefixed-keybindings)
2911         (allout-inhibit-auto-fill-on-headline)
2912         (allout-flattened-numbering-abbreviation):
2913         * allout-widgets.el (allout-widgets-auto-activation)
2914         (allout-widgets-icons-dark-subdir)
2915         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2916         (allout-widgets-theme-dark-background)
2917         (allout-widgets-theme-light-background)
2918         (allout-widgets-item-image-properties-emacs)
2919         (allout-widgets-item-image-properties-xemacs)
2920         (allout-widgets-run-unit-tests-on-load)
2921         (allout-widgets-time-decoration-activity)
2922         (allout-widgets-hook-error-post-time)
2923         (allout-widgets-track-decoration):
2924         Add missing :version tags to new defcustoms and defgroups.
2926         * progmodes/sql.el (sql-ansi-statement-starters)
2927         (sql-oracle-statement-starters): Add custom type.
2929         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2930         (prolog-system-version): Give it a type.
2932 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
2934         * term/pc-win.el (x-select-text, x-selection-owner-p)
2935         (x-own-selection-internal, x-disown-selection-internal)
2936         (x-get-selection-internal): Sync doc strings and argument lists
2937         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
2939 2012-02-11  Leo Liu  <sdl.web@gmail.com>
2941         * progmodes/python.el (python-end-of-statement): Fix infinite
2942         loop.  (Bug#10788)
2944 2012-02-10  Glenn Morris  <rgm@gnu.org>
2946         * international/mule-cmds.el (unify-8859-on-encoding-mode)
2947         (unify-8859-on-decoding-mode): Properly mark as obsolete.
2949 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
2951         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2952         about SMTP before checking the From header.
2954         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
2955         into own function for reuse by emacsbug.el.
2957 2012-02-10  Leo Liu  <sdl.web@gmail.com>
2959         * subr.el (condition-case-unless-debug): Rename from
2960         condition-case-no-debug.  All callers changed.
2961         (with-demoted-errors): Fix caller.
2963         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2964         * nxml/rng-valid.el (rng-do-some-validation):
2965         * emacs-lisp/package.el (package-refresh-contents)
2966         (package-menu-execute):
2967         * desktop.el (desktop-create-buffer):
2968         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
2970 2012-02-10  Glenn Morris  <rgm@gnu.org>
2972         * textmodes/bibtex.el:
2973         Add missing :version tags for new/changed defcustoms.
2975         * files.el (remote-file-name-inhibit-cache): Doc fixes.
2977 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
2979         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2980         (smtpmail-via-smtp): Use it, or fall back on the From address.
2981         (smtpmail-send-it): Ditto.
2983 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2985         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2986         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
2987         (byte-compile-tmp-var): New const.
2988         (byte-compile-defvar): Use it to minimize .elc size.
2989         Just use `defvar' rather than simulate it (bug#10761).
2991 2012-02-09  Glenn Morris  <rgm@gnu.org>
2993         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
2995         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2996         Add :version tags.
2998         * progmodes/compile.el (compilation-error-screen-columns)
2999         (compilation-first-column, compilation-filter-start): Doc fixes.
3001         * vc/log-view.el (log-view-toggle-entry-display):
3002         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3004         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3005         (report-emacs-bug-can-use-xdg-email):
3006         (report-emacs-bug-insert-to-mailer): Doc fixes.
3007         (report-emacs-bug): Message fix.
3009         * net/browse-url.el (browse-url-can-use-xdg-open)
3010         (browse-url-xdg-open): Doc fixes.
3012         * electric.el (electric-indent-mode, electric-pair-mode)
3013         (electric-layout-rules, electric-layout-mode): Doc fixes.
3014         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3016 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
3018         * server.el (server-unselect-display): Don't inadvertently kill
3019         the current buffer.  (Bug#10729)
3021 2012-02-08  Glenn Morris  <rgm@gnu.org>
3023         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3024         (sql-list-table): Doc fixes.
3026         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3027         Comment out (does nothing).
3029         * completion.el (dynamic-completion-mode):
3030         * dirtrack.el (dirtrack-debug-mode):
3031         * electric.el (electric-layout-mode):
3032         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3033         * face-remap.el (text-scale-mode, buffer-face-mode):
3034         * iimage.el (iimage-mode):
3035         * image-mode.el (image-transform-mode):
3036         * minibuffer.el (completion-in-region-mode):
3037         * scroll-lock.el (scroll-lock-mode):
3038         * simple.el (next-error-follow-minor-mode):
3039         * tar-mode.el (tar-subfile-mode):
3040         * tooltip.el (tooltip-mode):
3041         * vcursor.el (vcursor-use-vcursor-map):
3042         * wid-browse.el (widget-minor-mode):
3043         * emulation/tpu-edt.el (tpu-edt-mode):
3044         * emulation/tpu-extras.el (tpu-cursor-free-mode):
3045         * international/iso-ascii.el (iso-ascii-mode):
3046         * language/thai-util.el (thai-word-mode):
3047         * mail/supercite.el (sc-minor-mode):
3048         * net/goto-addr.el (goto-address-mode):
3049         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3050         * progmodes/cwarn.el (cwarn-mode):
3051         * progmodes/flymake.el (flymake-mode):
3052         * progmodes/glasses.el (glasses-mode):
3053         * progmodes/hideshow.el (hs-minor-mode):
3054         * progmodes/pascal.el (pascal-outline-mode):
3055         * textmodes/enriched.el (enriched-mode):
3056         * vc/smerge-mode.el (smerge-mode):
3057         Doc fixes (minor mode argument).
3059 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
3061         * ls-lisp.el (ls-lisp-sanitize): New function.
3062         (ls-lisp-insert-directory): Use it to fix or remove any elements
3063         in file-alist with missing attributes.  (Bug#4673)
3065 2012-02-07  Alan Mackenzie  <acm@muc.de>
3067         Fix spurious recognition of c-in-knr-argdecl.
3069         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3070         putative K&R region.
3072 2012-02-07  Alan Mackenzie  <acm@muc.de>
3074         * progmodes/cc-engine.el (c-forward-objc-directive):
3075         Prevent looping in "#pragma mark @implementation".
3077 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
3079         * notifications.el (notifications-on-closed-signal): Make `reason'
3080         optional.  (Bug#10744)
3082 2012-02-07  Glenn Morris  <rgm@gnu.org>
3084         * emacs-lisp/easy-mmode.el (define-minor-mode):
3085         Doc fixes for the macro and the mode it defines.
3087         * image.el (imagemagick-types-inhibit): Doc fix.
3089         * cus-start.el (imagemagick-render-type): Add it.
3091 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
3093         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3094         Set the default at load time, too, so that `font-lock-fontify-buffer'
3095         can be called without setting up the entire mode first.  This fixes
3096         a bug in `mm-inline-text' with C MIME parts.
3098 2012-02-06  Chong Yidong  <cyd@gnu.org>
3100         * simple.el (list-processes--refresh): Delete exited processes
3101         (Bug#8094).
3103         * comint.el (comint-next-prompt): next-single-char-property-change
3104         and prev-single-char-property-change never return nil (Bug#8657).
3106         * custom.el (defcustom): Doc fix (Bug#9711).
3108 2012-02-05  Chong Yidong  <cyd@gnu.org>
3110         * cus-edit.el (custom-variable-reset-backup): Quote the value
3111         before storing it in the customized-value property (Bug#6712).
3112         (custom-display): Add a customization type tag.
3113         (custom-buffer-create-internal): Improve tooltip message.
3115         * wid-edit.el (widget-field-value-get): New optional arg to
3116         suppress trailing whitespace truncation.
3117         (character): Use it (Bug#2689).
3119 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
3121         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3122         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3124 2012-02-05  Chong Yidong  <cyd@gnu.org>
3126         * cus-edit.el (custom-variable-value-create): For mismatched
3127         types, show the current value (Bug#7600).
3129         * custom.el (defcustom): Doc fix.
3131 2012-02-05  Glenn Morris  <rgm@gnu.org>
3133         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3135 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
3137         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3138         (pp-buffer): Use `ignore-errors', `looking-at-p'.
3139         (pp-last-sexp): Use `looking-at-p'.
3141 2012-02-04  Glenn Morris  <rgm@gnu.org>
3143         * files.el (revert-buffer):
3144         Doc fix (mention revert-buffer-in-progress-p).
3146         * emacs-lisp/ert-x.el (ert-simulate-command):
3147         Check deferred-action-list (which is obsolete) is bound.
3149         * subr.el (with-wrapper-hook): Doc fixes.
3151         * simple.el (filter-buffer-substring-functions)
3152         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3154 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
3156         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3157         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
3159 2012-02-04  Leo Liu  <sdl.web@gmail.com>
3161         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3163 2012-02-04  Glenn Morris  <rgm@gnu.org>
3165         * image.el (image-extension-data): Add obsolete alias.
3167         * isearch.el (isearch-update): Doc fix.
3169         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3171         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3173 2012-02-03  Glenn Morris  <rgm@gnu.org>
3175         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
3176         (image-animate-timeout): Doc fix.
3178         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3180 2012-02-02  Glenn Morris  <rgm@gnu.org>
3182         * server.el (server-auth-dir): Doc fix.
3183         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
3185         * subr.el (run-mode-hooks): Doc fix.
3187 2012-02-02  Juri Linkov  <juri@jurta.org>
3189         * image-mode.el (image-toggle-display-image): Remove tautological
3190         `major-mode' from the `derived-mode-p' test.
3192 2012-02-02  Kenichi Handa  <handa@m17n.org>
3194         * composite.el (compose-region): Cancel previous change.
3196 2012-02-02  Kenichi Handa  <handa@m17n.org>
3198         * composite.el (compose-region, compose-string): Signal error for
3199         a null string component (Bug#6988).
3201 2012-02-01  Chong Yidong  <cyd@gnu.org>
3203         * view.el (view-buffer-other-window, view-buffer-other-frame):
3204         Handle special modes like view-buffer (Bug#10650).
3205         (view-buffer): Simplify.
3207         * frame.el (set-frame-font): Tweak meaning of third argument.
3209         * dynamic-setting.el (font-setting-change-default-font):
3210         Use set-frame-font (Bug#9982).
3212 2012-02-01  Glenn Morris  <rgm@gnu.org>
3214         * progmodes/compile.el (compilation-internal-error-properties):
3215         Respect compilation-first-column in the "*compilation*" buffer.
3217         * emacs-lisp/easy-mmode.el (define-minor-mode):
3218         Relax :variable's test for a named function.
3220 2012-01-31  Alan Mackenzie  <acm@muc.de>
3222         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3223         off by one error.
3225 2012-01-31  Chong Yidong  <cyd@gnu.org>
3227         * frame.el (set-frame-font): New arg ALL-FRAMES.
3229         * menu-bar.el (menu-set-font): Use set-frame-font.
3231         * faces.el (face-spec-reset-face): Don't apply unspecified
3232         attribute values to the default face.
3234 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
3236         * progmodes/cwarn.el (cwarn): Remove dead link.
3237         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3238         Remove * from defcustom docstrings.
3239         (turn-on-cwarn-mode): Make obsolete.
3240         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3241         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3243 2012-01-31  Glenn Morris  <rgm@gnu.org>
3245         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3246         Fix :variable handling of mode a symbol not equal to modefun.
3247         Allow named functions to be used as the cdr of :variable.
3249 2012-01-30  Glenn Morris  <rgm@gnu.org>
3251         * emacs-lisp/authors.el (authors-fixed-entries):
3252         Remove reference to deleted file rnewspost.el.
3254 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
3256         * window.el (window-with-parameter): Remove unused variable `windows'.
3257         (window--side-check): Remove unused variable `code'.
3258         (window--resize-siblings): Remove unused variable `first'.
3259         (adjust-window-trailing-edge): Remove unused variable `failed'.
3260         (window-deletable-p, window--delete): Remove unused variable `buffer'.
3261         Use `let', not `let*'.
3262         (balance-windows-2): Remove unused variable `found'.
3263         (window--state-put-2): Remove unused variable `splits'.
3264         (window-state-put): Remove unused variable `selected'.
3265         (same-window-p): Use `string-match-p'.
3266         (display-buffer-assq-regexp): Remove unused variable `value'.
3267         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3268         Mark argument ALIST as ignored.
3269         (pop-to-buffer): Remove unused variable `old-window'.
3271 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
3273         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3274         and .lzma compressed files.
3276 2012-01-29  Chong Yidong  <cyd@gnu.org>
3278         * frame.el (window-system-default-frame-alist): Doc fix.
3280         * dynamic-setting.el (font-setting-change-default-font): Don't
3281         change the default face if SET-FONT argument is non-nil (Bug#9982).
3283 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
3285         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3287 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
3289         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3290         breakpoints in files outside current directory (Bug#6098).
3292 2012-01-29  Chong Yidong  <cyd@gnu.org>
3294         * progmodes/python.el: Require ansi-color at top-level.
3296         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3297         Define and use in Emacs Lisp mode (Bug#9360).
3298         (lisp-mode-abbrev-table): Add doc.
3299         (lisp-mode-variables): Don't set local-abbrev-table.
3300         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3302 2012-01-28  Roland Winkler  <winkler@gnu.org>
3304         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3306 2012-01-28  Roland Winkler  <winkler@gnu.org>
3308         * textmodes/bibtex.el (bibtex-entry-alist): New function.
3309         (bibtex-set-dialect): Use it.  Either set global values of
3310         dialect-dependent variables or bind these variables buffer-locally
3311         (Bug#10254).
3312         (bibtex-mode): Call bibtex-set-dialect via
3313         hack-local-variables-hook.
3314         (bibtex-dialect): Update docstring.
3315         Add safe-local-variable predicate.
3316         (bibtex-entry-alist, bibtex-field-alist): Initialize via
3317         bibtex-set-dialect.
3318         (bibtex-mode-map): Define menu for each dialect.
3319         (bibtex-entry): Fix docstring.
3321 2012-01-28  Chong Yidong  <cyd@gnu.org>
3323         * eshell/esh-arg.el (eshell-quote-argument): New function.
3325         * eshell/esh-ext.el (eshell-invoke-batch-file):
3326         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3327         first arg to eshell-parse-command (Bug#10523).
3329 2012-01-28  Drew Adams  <drew.adams@oracle.com>
3331         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3332         `default-directory' is non-nil.
3334 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
3336         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3337         line that displays system-configuration-options.  (Bug#9924)
3339 2012-01-28  Drew Adams  <drew.adams@oracle.com>
3341         * descr-text.el (describe-char): Show information about POS, in
3342         addition to information about the character at POS.  Improve and
3343         update the doc string.  Change "code point" to "code point in
3344         charset", to avoid confusion with the character's Unicode code
3345         point shown above that.  (Bug#10129)
3347 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
3349         * descr-text.el (describe-char): Show the raw character, not only
3350         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
3351         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3352         for the reasons.
3354 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
3356         * emacs-lisp/package.el (package-install):
3357         Run package-refresh-contents if there is no archive yet (Bug#9798).
3359 2012-01-28  Chong Yidong  <cyd@gnu.org>
3361         * emacs-lisp/package.el (package-maybe-load-descriptor):
3362         New function, split from package-maybe-load-descriptor.
3363         (package-maybe-load-descriptor): Use it.
3364         (package-download-transaction): Fully load required packages
3365         inside the loop, so that `require' calls work (Bug#10593).
3366         (package-install): No need to call package-initialize now.
3368 2012-01-28  Chong Yidong  <cyd@gnu.org>
3370         * simple.el (deactivate-mark): Doc fix (Bug#8614).
3372         * tooltip.el (tooltip-mode): Doc fix.
3373         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3375         * frame.el (set-cursor-color): Doc fix (Bug#352).
3377         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3378         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3380         * cus-edit.el (custom-buffer-create-internal): Fix search button
3381         action (Bug#10542).
3382         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3384 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
3386         * dired.el (dired-mark-files-regexp):
3387         Include any subdirectory components.  (Bug#10445)
3389 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
3391         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3392         Handle [host]:port syntax.  (Bug#10533)
3394 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
3396         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3398 2012-01-26  Glenn Morris  <rgm@gnu.org>
3400         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3401         * term.el (term-raw-escape-map): Use Control-X-prefix.
3402         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
3404 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
3406         * window.el (window-state-get, window--state-get-1): Don't deal
3407         with fixed-sizeness of windows.  Simplify code.
3409 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
3411         * window.el (window--state-get-1, window--state-put-2):
3412         Don't save and restore the mark.
3414 2012-01-25  Chong Yidong  <cyd@gnu.org>
3416         * custom.el (custom-variable-p): Doc fix.
3418 2012-01-25  Glenn Morris  <rgm@gnu.org>
3420         * dired.el (dired-goto-file): Handle some of the more common
3421         characters that `ls -b' escapes.  (Bug#10596)
3423         * progmodes/compile.el (compilation-next-error-function):
3424         Respect compilation-first-column in the "*compilation*" buffer.
3425         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
3427         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
3429 2012-01-24  Glenn Morris  <rgm@gnu.org>
3431         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
3433 2012-01-24  Julien Danjou  <julien@danjou.info>
3435         * color.el (color-rgb-to-hsl): Fix value computing.
3436         (color-hue-to-rgb): New function.
3437         (color-hsl-to-rgb): New function.
3438         (color-clamp, color-saturate-hsl, color-saturate-name)
3439         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3440         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3442 2012-01-24  Glenn Morris  <rgm@gnu.org>
3444         * vc/vc-rcs.el (vc-rcs-create-tag):
3445         * vc/vc-sccs.el (vc-sccs-create-tag):
3446         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
3448 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
3450         * eshell/esh-util.el (eshell-read-hosts-file):
3451         Skip comment lines.  (Bug#10549)
3453         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
3455 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
3457         * subr.el (display-delayed-warnings): Doc fix.
3458         (collapse-delayed-warnings): New function to collapse identical
3459         adjacent warnings.
3460         (delayed-warnings-hook): Add it.
3462 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
3464         * net/tramp.el (tramp-action-login): Set connection property "login-as".
3466         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3467         properties, when "login-as" is set.
3469         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3470         (tramp-default-user-alist): Don't add "pscp".
3471         (tramp-do-copy-or-rename-file-out-of-band): Use connection
3472         property "login-as", if set.  (Bug#10530)
3474 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
3476         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3477         "plink1" and "psftp".  (Bug#10530)
3479 2012-01-21  Kenichi Handa  <handa@m17n.org>
3481         * international/mule-cmds.el (prefer-coding-system): Show a
3482         warning message if the default value of file-name-coding-system
3483         was not changed.
3485 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
3487         * windmove.el (windmove-reference-loc):
3488         Fix windmove-reference-loc miscalculation.
3490 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
3492         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3493         default unit.
3495 2012-01-21  Glenn Morris  <rgm@gnu.org>
3497         * international/mule.el (auto-coding-alist): Add .tbz.
3499         * files.el (local-enable-local-variables): Doc fix.
3500         (inhibit-local-variables-regexps): Rename from
3501         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
3502         Doc fix.  Add some extensions from auto-coding-alist.
3503         (inhibit-local-variables-suffixes):
3504         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
3505         (inhibit-local-variables-p):
3506         New function, extracted from set-auto-mode-1.
3507         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
3508         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
3509         (hack-local-variables): Doc fix.  Make the mode-only case
3510         respect enable-local-variables and friends.
3511         Respect inhibit-local-variables-regexps for file-locals, but
3512         not for directory-locals.
3513         (set-visited-file-name):
3514         Take account of inhibit-local-variables-regexps.
3515         Whether it applies may change as the file name is changed.
3516         * jka-cmpr-hook.el (jka-compr-install):
3517         * jka-compr.el (jka-compr-uninstall):
3518         Update for inhibit-first-line-modes-suffixes name change.
3520 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
3522         * help-macro.el (make-help-screen): Temporarily restore original
3523         binding for minor-mode-map-alist (Bug#10454).
3525 2012-01-19  Julien Danjou  <julien@danjou.info>
3527         * color.el (color-name-to-rgb): Use the white color to find the max
3528         color component value and return correctly computed values.
3529         (color-name-to-rgb): Add missing float conversion for max value.
3531 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
3533         * window.el (window--state-get-1, window-state-get): Do not use
3534         special state value for window-persistent-parameters.
3535         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
3536         (window--state-put-2): Reset all window parameters to nil before
3537         assigning values of persistent parameters.
3539 2012-01-18  Alan Mackenzie  <acm@muc.de>
3541         Eliminate sluggishness and hangs in fontification of "semicolon
3542         deserts".
3544         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3545         Change value 10000 -> 3000.
3546         (c-state-safe-place): Reformulate so it doesn't stack up an
3547         infinite number of wrong entries in c-state-nonlit-pos-cache.
3548         (c-determine-limit-get-base, c-determine-limit): New functions to
3549         determine backward search limits disregarding literals.
3550         (c-find-decl-spots): Amend commenting.
3551         (c-cheap-inside-bracelist-p): New function which detects "={".
3553         * progmodes/cc-fonts.el
3554         (c-make-font-lock-BO-decl-search-function): Give a limit to a
3555         backward search.
3556         (c-font-lock-declarations): Fix an occurrence of point being
3557         undefined.  Check additionally for point being in a bracelist or
3558         near a macro invocation without a semicolon so as to avoid a
3559         fruitless time consuming search for a declarator.  Give a more
3560         precise search limit for declarators using the new
3561         c-determine-limit.
3563 2012-01-18  Glenn Morris  <rgm@gnu.org>
3565         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3566         (set-auto-mode): Doc fixes.
3568 2012-01-17  Glenn Morris  <rgm@gnu.org>
3570         * isearch.el (search-nonincremental-instead): Fix doc typo.
3572         * dired.el (dired-insert-directory): Handle newlines in directory name.
3573         (dired-build-subdir-alist): Unescape newlines in directory name.
3575 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
3577         * net/tramp.el (tramp-local-end-of-line): New defcustom.
3578         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3579         (tramp-action-terminal): Use it.  (Bug#10530)
3581 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3583         * minibuffer.el (completion--replace): Strip properties (bug#10062).
3585 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
3587         * window.el (window-state-ignored-parameters): Remove variable.
3588         (window--state-get-1): Rename argument MARKERS to IGNORE.
3589         Handle persistent window parameters.  Make copy of clone-of
3590         parameter only if requested.  (Bug#10348)
3591         (window--state-put-2): Install a window parameter only if it has
3592         a non-nil value or an existing parameter shall be overwritten.
3594 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
3596         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3598 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
3600         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3601         don't pass the (nil) value of `upnode' to string-match.
3603 2012-01-14  Chong Yidong  <cyd@gnu.org>
3605         * startup.el (command-line): Fix X resource class for cursorColor.
3606         Fix values recognized by the cursorBlink resource.
3608 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
3610         * epg.el (epg--make-temp-file): Avoid permission race condition
3611         when running on old Emacs versions (bug#10403).
3613 2012-01-14  Glenn Morris  <rgm@gnu.org>
3615         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3617 2012-01-13  Alan Mackenzie  <acm@muc.de>
3619         Fix filling for when filladapt mode is enabled.
3621         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3622         c-mask-paragraph, pass in `fill-paragraph' rather than
3623         `fill-region-as-paragraph'.  (This is a reversion of a previous
3624         change.)
3625         * progmodes/cc-mode.el (c-basic-common-init):
3626         Make fill-paragraph-handle-comment buffer local and set it to nil.
3628 2012-01-13  Glenn Morris  <rgm@gnu.org>
3630         * dired.el (dired-switches-escape-p): New function.
3631         (dired-insert-directory): Use dired-switches-escape-p.
3632         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
3634         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
3636 2012-01-12  Glenn Morris  <rgm@gnu.org>
3638         * mail/sendmail.el (mail-mode): Update paragraph-separate for
3639         changes in adaptive-fill-regexp.  (Bug#10276)
3641 2012-01-11  Alan Mackenzie  <acm@muc.de>
3643         Fix Emacs bug #10463 - put `widen's around the critical spots.
3645         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
3646         widen around each invocation of c-state-pp-to-literal.  Remove an
3647         unused let variable.
3649 2012-01-11  Glenn Morris  <rgm@gnu.org>
3651         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
3652         Doc fix.
3654 2012-01-10  Chong Yidong  <cyd@gnu.org>
3656         * net/network-stream.el (network-stream-open-starttls):
3657         Avoid emitting a confusing error message when the server gives a bad
3658         response to the capability command.
3660 2012-01-10  Glenn Morris  <rgm@gnu.org>
3662         * mail/unrmail.el (unrmail): Tweak previous change.
3664 2012-01-09  Chong Yidong  <cyd@gnu.org>
3666         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3668 2012-01-08  Alan Mackenzie  <acm@muc.de>
3670         Optimise font locking in long enum definitions.
3672         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3673         arm to a cond form to handle enums.
3674         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3675         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3677 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3679         * files.el (move-file-to-trash): Preserve default file modes on error.
3680         (Bug#10401)
3682 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3684         * faces.el (set-face-attribute): Clarify the meaning of the nil
3685         frame (bug#10294).
3687         * subr.el (with-selected-frame): Mention that the selected frame
3688         is restored (bug#9980).
3690         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3691         (bug#9759).
3693         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
3694         (password-read): Don't autoload unused function.
3696 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
3698         * progmodes/which-func.el (which-func-mode): Turn into a
3699         non-interactive function and mark as obsolete (bug#10428).
3701 2012-01-06  Chong Yidong  <cyd@gnu.org>
3703         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3704         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3705         functions, along with 1 and -1.
3707 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
3709         * time.el (display-time-load-average)
3710         (display-time-default-load-average): Doc fixes.  See the thread
3711         starting at
3712         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3713         for the details.
3715 2012-01-06  Glenn Morris  <rgm@gnu.org>
3717         * mail/unrmail.el (unrmail): Give an explicit error if the input file
3718         has no messages.  (Bug#10377)
3720         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3721         than Info-edit.  (Bug#10385)
3723         * time.el (display-time-load-average, display-time-next-load-average):
3724         Doc fixes.
3726         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3727         local setting of buffer-read-only to the input buffer.  (Bug#10419)
3729         * calendar/calendar.el (calendar-mode):
3730         Locally set scroll-margin to 0.  (Bug#10379)
3732 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
3734         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
3736 2012-01-05  Glenn Morris  <rgm@gnu.org>
3738         * eshell/em-unix.el (diff-no-select): Autoload it.
3739         (eshell/diff): Use diff-no-select.  (Bug#10420)
3741 2012-01-05  Chong Yidong  <cyd@gnu.org>
3743         * shell.el (shell-dynamic-complete-functions): Revert last change.
3744         (shell-command-completion-function): New function.
3745         (shell-completion-vars): Use it to implement
3746         shell-completion-execonly (Bug#10417).
3748         * custom.el (enable-theme): Don't set custom-safe-themes.
3750         * cus-theme.el (custom-theme-merge-theme):
3751         Ignore custom-enabled-themes and custom-safe-themes.
3753 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
3755         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3756         first prompt in `sql-interacive-mode'.
3757         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
3758         keywords.
3759         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
3760         (sql-product-interactive): Bug fix: Set `sql-buffer' in
3761         context of original buffer.  Invoke `sql-login-hook'.
3763 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
3765         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3766         letters in cite-prefix.
3768 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3770         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3772 2012-01-03  Chong Yidong  <cyd@gnu.org>
3774         * shell.el (shell-dynamic-complete-functions):
3775         Put pcomplete-completions-at-point, so as to try
3776         comint-filename-completion first (Bug#10417).
3778 2012-01-02  Richard Stallman  <rms@gnu.org>
3780         * battery.el (battery-status-function):
3781         Detect when to use battery-yeeloong-sysfs.
3782         (battery-echo-area-format): Add string for Yeeloong.
3783         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3784         (battery-yeeloong-sysfs): New function.
3786 2012-01-02  Chong Yidong  <cyd@gnu.org>
3788         * dirtrack.el (dirtrack-list): Eliminate unused third element.
3789         (dirtrack): Merge code for handling relative filenames in prompt
3790         from shell-dir-cookie-watcher.
3791         (dirtrack-debug-message): New arg to avoid excess format calls.
3793         * shell.el (shell-dir-cookie-re): Variable deleted.
3794         (shell-dir-cookie-watcher): Function deleted.
3795         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3796         with dirtrack-mode.
3798 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
3800         * term/w32-win.el (dynamic-library-alist) <gnutls>:
3801         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
3802         libgnutls-26.dll.
3804 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
3806         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3808 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
3810         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3811         headers of non-MIME messages, when rmail-enable-mime is non-nil.
3813 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
3815         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3816         also for alternative shells.
3817         (tramp-open-connection-setup-interactive-shell): Check, whether
3818         the shell is a busybox.
3819         (tramp-send-command): Don't suppress multiple prompts for
3820         busyboxes, it hurts.
3822 2011-12-28  Chong Yidong  <cyd@gnu.org>
3824         * progmodes/gdb-mi.el (gdb-get-source-file-list)
3825         (gdb-get-source-file): Move mode line update to
3826         gdb-get-source-file (Bug#10087).
3828 2011-12-25  Chong Yidong  <cyd@gnu.org>
3830         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3831         gud-gdb-marker-filter without taking it as an argument.
3832         (gud-gdb-run-command-fetch-lines): Caller changed.
3833         (gud-gdb-completion-function): New variable.
3834         (gud-gdb-completion-at-point): Use it.
3835         (gud-gdb-completions-1): Split from gud-gdb-completions.
3837         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3838         function as separate arguments.
3839         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3840         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3841         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3842         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3843         (gdb-stopped, def-gdb-auto-update-trigger)
3844         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
3845         (gdb-get-changed-registers, gdb-get-main-selected-frame):
3846         Callers changed.
3847         (gud-gdbmi-completions): New function.
3848         (gdb): Use it for generating the completion table.
3850 2011-12-24  Alan Mackenzie  <acm@muc.de>
3852         Introduce a mechanism to widen the region used in context font
3853         locking.  Use this to protect declarations from losing their contexts.
3855         * progmodes/cc-langs.el (c-before-font-lock-functions):
3856         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
3857         (c-before-context-fontification-functions): New defvar, a list of
3858         functions to be run just before context (etc.) font locking.
3860         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
3861         New, functionality extracted from
3862         c-neutralize-syntax-in-and-mark-CPP.
3863         (c-in-after-change-fontification): New variable.
3864         (c-after-change): Set c-in-after-change-fontification.
3865         (c-set-fl-decl-start): Rejig its interface, so it can be called
3866         from both after-change and context fontifying.
3867         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3868         New functions.
3869         (c-standard-font-lock-fontify-region-function): New variable.
3870         (c-font-lock-fontify-region): New function.
3872 2011-12-24  Juri Linkov  <juri@jurta.org>
3874         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3875         (Bug#10348)
3877 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
3879         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3880         existence of source file.  (Bug#10325)
3882 2011-12-23  Alan Mackenzie  <acm@muc.de>
3884         Fix unstable fontification inside templates.
3886         * progmodes/cc-langs.el (c-before-font-lock-functions):
3887         Newly created from the singular version.  The (c c++ objc) entry now
3888         additionally has c-set-fl-decl-start.  The other languages (apart
3889         from AWK) have that as a single entry.
3891         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3892         The functionality for "local" declarations has been extracted to
3893         c-set-fl-decl-start.
3895         * progmodes/cc-mode.el (c-common-init, c-after-change):
3896         Changes due to pluralisation of c-before-font-lock-functions.
3897         (c-set-fl-decl-start): New function, extracted from
3898         c-font-lock-enclosing-decls and enhanced.
3900 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
3902         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3904 2011-12-22  Juri Linkov  <juri@jurta.org>
3906         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
3908 2011-12-22  Chong Yidong  <cyd@gnu.org>
3910         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3912 2011-12-21  Drew Adams  <drew.adams@oracle.com>
3914         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
3916 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
3918         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3920 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
3922         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
3923         highlighting and support.  Fix up comments for capitalization.
3924         (cfengine-mode-debug): New var.
3925         (cfengine3-mode): Change the modeline indicator to "CFE3".
3926         (cfengine3-font-lock-keywords): Improve defun highlighting.
3927         (cfengine2-actions): Rename from `cfengine-actions'.
3928         (cfengine2-font-lock-keywords): Rename from
3929         `cfengine-font-lock-keywords'.
3930         (cfengine2-imenu-expression): Rename from
3931         `cfengine-imenu-expression'.
3932         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3933         (cfengine2-beginning-of-defun): Rename from
3934         `cfengine-beginning-of-defun'.
3935         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3936         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3937         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
3938         modeline indicator to "CFE2".
3939         (cfengine-mode): Defalias to `cfengine-auto-mode'.
3940         (cfengine-mode-abbrevs): Mark obsolete.
3942 2011-12-21  Chong Yidong  <cyd@gnu.org>
3944         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3945         filename argument.
3947 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
3949         * window.el (window-normalize-buffer-to-display): Remove.
3950         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3952 2011-12-19  Chong Yidong  <cyd@gnu.org>
3954         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3955         Don't signal an error in a predicate function; return non-nil.
3956         (vc-dir-mark-file): Move the error here.
3957         (vc-dir-mark-unmark): If acting on the region, keep going if one
3958         of the entries cannot be marked/unmarked.
3959         (vc-dir-mark-all-files): If current entry is a directory, mark
3960         only child files, as documented.
3962 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3964         * ses.el: Ooops... undo changes of revision 106664, as trunk
3965         branch is feature frozen, and revision 106664 was a feature
3966         addition.
3968 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
3970         * term/ns-win.el (ns-get-selection-internal)
3971         (ns-store-selection-internal): Declare.
3972         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3973         Declare as obsolete.
3974         (ns-get-pasteboard, ns-paste-secondary):
3975         Use ns-get-selection-internal.
3976         (ns-set-pasteboard,  ns-copy-including-secondary):
3977         Use ns-store-selection-internal.
3979 2011-12-17  Chong Yidong  <cyd@gnu.org>
3981         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
3982         (vc-deduce-fileset): Doc fix.
3984 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
3986         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3988 2011-12-13  Sam Steingold  <sds@gnu.org>
3990         * man.el (Man-getpage-in-background): When running under a
3991         window-system, ignore $MANWIDTH and $COLUMNS.
3993 2011-12-15  Kenichi Handa  <handa@m17n.org>
3995         * language/ethio-util.el: Change coding tag to utf-8-emacs.
3996         (setup-ethiopic-environment-internal): Comment out key-binding for
3997         ethio-toggle-punctuation.
3999 2011-12-13  Alan Mackenzie  <acm@muc.de>
4001         Add the switch statement to AWK Mode.
4003         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4004         "default" to the keywords regexp.
4006         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4007         expression as the rest.
4008         (c-nonlabel-token-key): Allow string literals for AWK.
4009         Refactor for the other modes.
4011         Large brace-block initialisation makes CC Mode slow: Fix.
4012         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4013         routines.  Limit backward searching in c-font-lock-enclosing.decl.
4015         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4016         pp-state and literal type in addition to the limits.
4017         (c-state-safe-place): New defun, extracted from c-state-literal-at.
4018         (c-state-literal-at): Use the above new defun.
4019         (c-slow-in-literal, c-fast-in-literal): Remove.
4020         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4022         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4023         being in a literal.  Add a limit for backward searching.
4025         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4026         c-slow-in-literal.
4028 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4030         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4032 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
4034         * window.el (delete-other-windows): Use correct frame in call to
4035         window-with-parameter.
4037 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
4039         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4040         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4041         (makefile-gmake-statements, makefile-makepp-statements):
4042         Use it and add new makepp keywords.
4043         (makefile-makepp-font-lock-keywords): Add new patterns.
4044         (makefile-match-function-end): Match new [...] and [[...]].
4046 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
4048         * ses.el (ses-call-printer-return, ses-cell-property-get)
4049         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4050         (ses-create-cell-variable, ses-reset-header-string)
4051         (ses-cell-set-formula, ses-repair-cell-reference-all)
4052         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4053         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4054         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4055         (ses-aset-with-undo, ses-load, ses-truncate-cell)
4056         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4057         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4058         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4059         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4060         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4061         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4062         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4063         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4065 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4067         * ses.el: The overall change is to add cell renaming, that is
4068         setting fancy names for cell symbols other than name matching
4069         "\\`[A-Z]+[0-9]+\\'" regexp .
4070         (ses-create-cell-variable): New defun.
4071         (ses-relocate-formula): Relocate formulas only for cells the
4072         symbols of which are not renamed, i.e. symbols whose names do not
4073         match regexp "\\`[A-Z]+[0-9]+\\'".
4074         (ses-relocate-all): Relocate values only for cells the symbols of
4075         which are not renamed.
4076         (ses-load): Create cells variables as the (ses-cell ...) are read,
4077         in order to check row col consistency with cell symbol name only
4078         for cells that are not renamed.
4079         (ses-replace-name-in-formula): New defun.
4080         (ses-rename-cell): New defun.
4082 2011-12-11  Chong Yidong  <cyd@gnu.org>
4084         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4085         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4087 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
4089         * window.el (other-window): Fix docstring.
4091 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
4093         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4094         `from' or `to' address before taking its substring.
4095         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4096         encoded name is chopped in the middle of the encoded string, and
4097         thus displayed encoded.
4099 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
4101         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4103 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
4105         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
4106         to use texinfo-update-node and commands that call it if the
4107         Texinfo file uses @node lines without next/prev/up pointers.
4108         Correct outdated description about texinfo-master-menu.
4109         (texinfo-all-menus-update, texinfo-master-menu)
4110         (texinfo-update-node, texinfo-every-node-update)
4111         (texinfo-multiple-files-update): Doc fix.  Warn against updating
4112         all the @node lines.
4113         (texinfo-master-menu): Only call texinfo-update-node if the prefix
4114         argument is numeric.  Explain better in the doc string what the
4115         function really does.
4116         (texinfo-insert-master-menu-list): Improve the error message
4117         displayed if there's no menu in the Top node.
4118         (Bug#2975)  See also this thread:
4119         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4121 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
4123         * speedbar.el (speedbar-supported-extension-expressions):
4124         Add .adb and .ads, commonly used for Ada source code (bug#10256).
4126 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
4128         * printing.el (pr-mode-alist):
4129         * simple.el (filter-buffer-substring-functions)
4130         (completion-list-insert-choice-function):
4131         * window.el (window-with-parameter, window-atom-root)
4132         (window-sides-slots, window-size-fixed, window-min-delta)
4133         (window-max-delta, window--resize-mini-window)
4134         (window--resize-child-windows-normal, window-tree)
4135         (delete-other-windows, quit-window, split-window)
4136         (display-buffer-record-window, special-display-buffer-names)
4137         (special-display-regexps, special-display-popup-frame)
4138         (same-window-p, split-window-sensibly)
4139         (display-buffer-overriding-action, display-buffer-alist)
4140         (display-buffer-base-action, display-buffer, switch-to-buffer)
4141         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4142         (fit-window-to-buffer, recenter-positions)
4143         (mouse-autoselect-window-state, mouse-autoselect-window-select):
4144         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4145         and remove unneeded backslashes in docstrings.
4147 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4149         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4151         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4152         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4153         end in ".mk".
4154         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4155         when reading the makefile (bug#10116).
4157 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4159         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4160         (bug#10116).
4162 2011-12-06  Glenn Morris  <rgm@gnu.org>
4164         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4166 2011-12-06  Chong Yidong  <cyd@gnu.org>
4168         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4170 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
4172         * textmodes/table.el (table-shorten-cell): Fix typo.
4174 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
4176         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4178 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
4180         * descr-text.el (describe-char): Fix display of strong
4181         right-to-left characters and directional embeddings and overrides.
4183         * simple.el (what-cursor-position): Fix display of codepoints of
4184         strong right-to-left characters.
4186 2011-12-05  Chong Yidong  <cyd@gnu.org>
4188         * faces.el (read-color): Doc fix.
4190 2011-12-05  Glenn Morris  <rgm@gnu.org>
4192         * align.el (align--set-marker): Add doc-string.
4193         Don't try to move something that is not a marker.  (Bug#10216)
4195 2011-12-04  Glenn Morris  <rgm@gnu.org>
4197         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4198         overly zealous deletion of trailing whitespace.
4200 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
4202         * server.el (server-delete-client): On Windows, do not try to delete
4203         the only terminal.
4204         (server-process-filter): On Windows, treat requests for a tty frame as
4205         if they were for a GUI frame if the running server is in GUI mode.
4207 2011-12-03  Glenn Morris  <rgm@gnu.org>
4209         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
4211 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4213         * electric.el: Streamline electric-indent's hook.
4214         (electric-indent-chars): Revert to simple list.
4215         (electric-indent-functions): New var.
4216         (electric-indent-post-self-insert-function): Use it.
4218         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4219         there's no inferior buffer (bug#10196).
4220         (prolog-consult-compile): Don't use toggle-read-only.
4222 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
4224         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4225         interrupt.  (Bug#10187)
4227 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4229         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4230         (bug#9160).
4232         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4233         (bug#10191).
4235 2011-12-02  Juri Linkov  <juri@jurta.org>
4237         * info.el (Info-search): Display "end of manual" when Isearch
4238         reaches the end of single-file Info manual.  (Bug#9918)
4240 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
4242         * isearch.el (isearch-message-prefix): Run the input method part
4243         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
4245 2011-12-02  Juri Linkov  <juri@jurta.org>
4247         * isearch.el (isearch-occur): Use `word-search-regexp' for
4248         `isearch-word'.
4249         (isearch-search-and-update): Add condition for `isearch-word' and
4250         call `word-search-regexp'.  (Bug#10145)
4252 2011-12-01  Glenn Morris  <rgm@gnu.org>
4254         * eshell/em-hist.el (eshell-hist-initialize):
4255         Handle eshell-history-size nil and HISTSIZE set or unset.
4256         (eshell-history-file-name, eshell-history-size): Fix custom type.
4258 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4260         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4262 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
4264         * progmodes/verilog-mode.el (verilog-pretty-expr):
4265         Rework verilog-pretty-expr to handle new assignment operators in system
4266         verilog, such as += *= and the like.
4267         (verilog-assignment-operator-re): Regular expression to find the
4268         assigment operator in a verilog assignment.
4269         (verilog-assignment-operation-re): Regular expression to find an
4270         assignment statement for pretty-expr.
4271         (verilog-in-attribute-p): Query returns true if point is in an
4272         attribute context; used to skip these for expression line up from
4273         pretty-expr.
4274         (verilog-in-parameter-p): Query returns true if point is in an
4275         parameter definition context; used to skip these for expression
4276         line up from pretty-expr.
4277         (verilog-in-parenthesis-p): Query returns true if point is in a
4278         parenthetical expression, specifically ( ) but not [ ] or { };
4279         used by pretty-expr.
4280         (verilog-just-one-space): If there is no space, don't add one.
4281         (verilog-get-lineup-indent-2): Specifically skip just attribute
4282         contexts for expression lineup, rather than skipping all
4283         parenthetical expressions.
4284         (verilog-calculate-indent): Fix comment, and fix indent.
4285         (verilog-do-indent): Indent declarations in lists (suggested by
4286         Joachim Lechner).
4287         (verilog-mode-abbrev-table): Populate abbrev mode with the various
4288         skeleton items.
4289         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4290         by Alain Mellan).
4292 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
4294         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4295         parameters with embedded comments.  Reported by Ray Stevens.
4296         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4297         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4298         Reported by Tim Holt.
4299         (verilog-auto): Fix AUTOing a upper module then AUTOing module
4300         instantiated by upper module causing wrong expansion until AUTOed a
4301         second time.  Reported by K C Buckenmaier.
4302         (verilog-diff-auto): Fix showing .* as a difference when
4303         `verilog-auto-star-save' off.  Reported by Dan Dever.
4304         (verilog-auto-reset, verilog-read-always-signals)
4305         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4306         temporary signals in reset list if
4307         verilog-auto-reset-blocking-in-non is nil, and match assignment
4308         style to each signal's assignment type, bug381.
4309         Reported by Thomas Esposito.
4310         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4311         (verilog-uvm-statement-re): Support UVM indentation and
4312         highlighting, with old OVM keywords only.
4313         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4314         Support AUTOTIEOFF creating non-wire data types.
4315         Suggested by Jonathan Greenlaw.
4316         (verilog-auto-insert-lisp, verilog-delete-to-paren)
4317         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4318         (verilog-inject-sense, verilog-read-inst-pins)
4319         (verilog-read-sub-decls, verilog-read-sub-decls-line):
4320         Fix mismatching parenthesis inside commented out code when deleting
4321         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
4322         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4323         non-numeric vector width.  Reported by Alex Reed.
4324         (verilog-auto-ascii-enum): Add "onehot" option to work around not
4325         detecting signals with parameter widths.  Reported by Alex Reed.
4326         (verilog-auto-delete-trailing-whitespace):
4327         With `verilog-auto-delete-trailing-whitespace' remove trailing
4328         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
4329         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4330         Fix verilog-scan-cache corruption when running user AUTO expansion
4331         hooks that call indentation routines.
4332         (verilog-simplify-range-expression): Fix typo ignoring lower case
4333         identifiers.
4334         (verilog-delete-auto): Fix delete-autos to also remove user created
4335         automatics, as long as they start with AUTO.
4336         (verilog-batch-diff-auto, verilog-diff-auto)
4337         (verilog-diff-function): Add `verilog-diff-auto' and bind to
4338         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
4339         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4340         (verilog-in-paren-quick, verilog-re-search-backward-quick)
4341         (verilog-re-search-forward-quick, verilog-syntax-ppss):
4342         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4343         is disabled and its cache will get corrupt, causing AUTOS not to
4344         expand.  Instead use only -quick functions.
4345         (verilog-scan-region): Fix scanning over escaped quotes.
4346         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4347         (verilog-re-search-backward-quick)
4348         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4349         related functions now ignore strings, to fix misparsing of strings
4350         with magic comments embedded in them.
4351         (verilog-read-auto-template):
4352         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4353         Reported by Brad Dobbie.
4354         (verilog-read-auto-template):
4355         Fix 'verilog-auto-inst-template-numbers' with comments.
4356         Reported by Brad Dobbie.
4357         (verilog-auto-inst, verilog-auto-inst-param)
4358         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4359         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
4360         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4361         debugging templates without merge conflicts, bug357.
4362         Reported by Brad Dobbie.
4363         (verilog-read-auto-template):
4364         Fix verilog-auto-inst-template-numbers with multiple templates.
4365         Reported by Brad Dobbie.
4366         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4367         abbrevs so user won't be asked to save.
4368         (verilog-read-auto-lisp-present): Fix to start at beginning of
4369         buffer in case called outside of verilog-auto.
4370         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4371         to "X-2".  Reported by Matthew Myers.
4372         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4373         all inputs from module templates.  Reported by Leith Johnson.
4374         (verilog-module-inside-filename-p): Fix locating programs as with
4375         modules.
4376         (verilog-auto-inst-port): Fix vl-width expressions when using
4377         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
4378         (verilog-decls-get-regs, verilog-decls-get-signals,
4379         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4380         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4381         verilog-read-decls): Combine reg and wire structures into one var
4382         structure to represent SystemVerilog concepts.
4383         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4384         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4385         (verilog-auto-wire-type, verilog-insert-definition):
4386         Add verilog-auto-wire-type and AUTOLOGIC to support using
4387         SystemVerilog "logic" keyword instead of "wire"/"reg".
4388         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4389         to declares outputs that also have assignments (presumably in an
4390         ifdef or generate if so there's not a driver conflict).
4391         Reported by Matthew Myers.
4392         (verilog-auto-declare-nettype, verilog-insert-definition):
4393         Add verilog-auto-declare-nettype to fix declarations using
4394         `default_nettype none.  Reported by Julian Gorfajn.
4395         (verilog-read-always-signals-recurse, verilog-read-decls)
4396         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4397         malformed end statement, bug325.  Reported by Joshua Wise and
4398         Andrew Drake.
4399         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4400         (verilog-inst-comment-re): Fix not deleting Interfaced comment
4401         when expanding .* in interfaces, bug320.
4402         Reported by Pierre-David Pfister.
4403         (verilog-read-module-name): Fix import statements between module
4404         name and open parenthesis, bug317.
4405         Reported by Pierre-David Pfister.
4406         (verilog-simplify-range-expression): Fix simplification of
4407         multiplications inside AUTOWIRE connections, bug303.
4408         (verilog-auto-inst-port): Support parameter expansion in
4409         multidimensional arrays.
4410         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4411         after "assert property".  Reported by Julian Gorfajn.
4412         (verilog-simplify-range-expression): Fix "couldn't merge" errors
4413         with multiplication, bug303.
4414         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4415         Reported by Jan Frode Lonnum.
4417 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
4419         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4420         (hfy-shell-file-name, hfy-shell):
4421         * international/fontset.el (x-decompose-font-name): Fix typos.
4423 2011-11-29  Ken Brown  <kbrown@cornell.edu>
4425         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4426         (gdb-version): Remove defvar.
4427         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4428         (gdb-gud-context-command, gdb-non-stop-handler)
4429         (gdb-current-context-command, gdb-stopped): Use it.
4430         (gdb-init-1): Enable pretty printing here.
4431         (gdb-non-stop-handler): Don't enable pretty-printing here.
4432         Check to see if the target supports non-stop mode; if not, turn off
4433         non-stop mode.  Use the following.
4434         (gdb-check-target-async): New defun.
4435         (gud-watch, gdb-stopped): Fix whitespace.
4436         (gdb-get-source-file): Don't try to display the source file if
4437         `gdb-main-file' is nil.
4439 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4441         * align.el: Try to generate fewer markers (bug#10047).
4442         (align--set-marker): New macro.
4443         (align-region): Use it.
4445 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4447         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4449 2011-11-29  Chong Yidong  <cyd@gnu.org>
4451         * indent.el (indent-for-tab-command, indent-according-to-mode):
4452         Doc fix.
4453         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
4455 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
4457         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4458         aware of remote file names.  (Bug#10124)
4460 2011-11-29  Chong Yidong  <cyd@gnu.org>
4462         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4464 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4466         * files.el (find-file): Don't use force-same-window (bug#10144).
4467         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4468         use pop-to-buffer if the selected window can't be used.
4469         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4471 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
4473         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4474         special-mode-map.
4476 2011-11-28  Chong Yidong  <cyd@gnu.org>
4478         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4480 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
4482         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4483           gdb-get-source-file-list on gdb-create-source-file-list.
4485 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
4487         * whitespace.el (whitespace-newline): Use a different foreground
4488         color for 16-color light-background displays.
4490 2011-11-24  Chong Yidong  <cyd@gnu.org>
4492         * window.el (display-buffer--special-action): Doc fix.
4494 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
4496         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4497         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4498         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4499         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4500         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4501         (avl-tree-stack-first):
4502         * emacs-lisp/cconv.el (cconv--analyse-use):
4503         * net/gnutls.el (gnutls-negotiate): Fix typos.
4505 2011-11-24  Glenn Morris  <rgm@gnu.org>
4507         * lpr.el (lpr-windows-system, lpr-lp-system):
4508         * mail/binhex.el (binhex-begin-line):
4509         * progmodes/grep.el (grep-history, grep-find-history):
4510         * textmodes/flyspell.el:
4511         * vc/pcvs-defs.el (cvs-global-menu):
4512         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4513         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4514         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4516         * net/tls.el: Fix case of "GnuTLS".
4518         * paths.el (rmail-file-name): Format doc-string for make-docfile.
4520         * version.el (emacs-build-system): Give it a doc-string.
4522 2011-11-24  Juri Linkov  <juri@jurta.org>
4524         * view.el (view-buffer): Revert revno:105285 from 2011-07-19 (bug#8615).
4526 2011-11-24  Glenn Morris  <rgm@gnu.org>
4528         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4529         if called on a non-mime message just toggle the headers.  (Bug#8006)
4531 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
4533         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4534         (allout-lead-with-comment-string, allout-structure-deleted-hook)
4535         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4536         (allout-rebullet-heading, allout-open-sibtopic)
4537         (allout-toggle-current-subtree-encryption)
4538         (allout-toggle-subtree-encryption, allout-encrypt-string)
4539         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4540         (allout-distinctive-bullets-string, allout-auto-activation):
4541         * window.el (window-normalize-buffer-to-display):
4542         * progmodes/verilog-mode.el (verilog-batch-indent):
4543         * textmodes/bibtex.el (bibtex-field-braces-opt)
4544         (bibtex-field-strings-opt):
4545         * vc/cvs-status.el (cvs-tree-merge):
4546         Fix typos.
4548 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
4550         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4551         `non-essential' to t, in order to avoid remote connections.
4553 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
4555         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4556         On MS-DOS and MS-Windows, compare with loaddefs.el
4557         case-insensitively.
4559 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
4561         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
4563 2011-11-23  Glenn Morris  <rgm@gnu.org>
4565         * paths.el (rmail-file-name): Reformat the doc-string so that it
4566         is picked up.
4568         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4569         (rmail-auto-file): Ignore case in the "special" field names,
4570         as mail-fetch-field does for all others.
4572         * mail/rmail.el (rmail-forward):
4573         * mail/rmailkwd.el (rmail-set-label):
4574         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4575         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
4577         * mail/rmail.el (rmail-current-message): Doc fix.
4579         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
4581 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4583         * server.el (server-eval-and-print): Allow C-g (bug#6585).
4585 2011-11-22  Glenn Morris  <rgm@gnu.org>
4587         * mail/rmailmm.el (test-rmail-mime-handler)
4588         (test-rmail-mime-bulk-handler)
4589         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4591 2011-11-21  Juri Linkov  <juri@jurta.org>
4593         * calc/calc.el (calc-read-key-sequence):
4594         Let-bind `input-method-function' to nil.  (Bug#10018)
4596 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4598         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4599         Tell the caller that the next line needs recomputation, even
4600         though it doesn't start a sexp (bug#10094).
4602 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4604         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4606 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4608         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4609         Use force-same-window.
4611 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
4613         * descr-text.el (describe-char-unicode-data):
4614         * json.el (json-string-escape):
4615         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4616         (Footnote-unicode, Footnote-style-p):
4617         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4619 2011-11-20  Chong Yidong  <cyd@gnu.org>
4621         * window.el (replace-buffer-in-windows): Restore interactive spec.
4623 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4625         * electric.el (electric-indent-mode): Fix last change (too optimistic).
4627         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4628         (byte-compile-global-not-obsolete-vars): New var.
4629         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4630         Use it.
4631         (byte-compile-warn-obsolete): Align text with the one in *Help*.
4633 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
4635         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4636         * progmodes/pascal.el (electric-pascal-equal):
4637         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4638         * xml.el (xml-substitute-special): Fix typos.
4640 2011-11-20  Glenn Morris  <rgm@gnu.org>
4642         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4643         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4644         Doc fixes.
4645         (rmail-decode-mime-charset): Mark as obsolete.
4647         * mail/rmailsum.el (rmail-message-regexp-p-1):
4648         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4649         Before using mime functions, check they are set.  (Bug#10077)
4651 2011-11-19  Juri Linkov  <juri@jurta.org>
4653         * info.el (Info-finder-find-node): Use `package--builtins' instead
4654         of `package-alist'.  Use node names formed by the pattern "Keyword "
4655         and the keyword name.
4657 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4659         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
4661 2011-11-19  Juri Linkov  <juri@jurta.org>
4663         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4664         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
4665         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4666         `old-history', `old-history-forward'.  Add let-binding
4667         `window-selected'.  Remove calls to `kill-buffer',
4668         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
4669         before calling `Info-find-node', so `Info-find-node-2' will reread
4670         the Info file.  Restore window positions only when `window-selected'
4671         is non-nil.
4673 2011-11-19  Juri Linkov  <juri@jurta.org>
4675         * isearch.el (isearch-lazy-highlight-new-loop):
4676         Remove condition `(not isearch-error)'.  (Bug#9918)
4678         * misearch.el (multi-isearch-search-fun): Add condition
4679         `(not bound)' to ignore lazy-highlighting search.
4680         Add the search-failed message "end of multi" when the end of
4681         multi-sequence is reached.  Uncapitalize the search-failed
4682         message "Repeat for next buffer".
4684         * info.el (Info-search): Add the search-failed message
4685         "end of the manual" when the end of the manual is reached
4686         in Isearch mode.
4688 2011-11-19  Juri Linkov  <juri@jurta.org>
4690         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4691         Use non-destructive `remove' instead of `delete' because
4692         `Info-history-list' stored to `Info-isearch-initial-history-list' in
4693         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4695 2011-11-19  Juri Linkov  <juri@jurta.org>
4697         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4698         to nil instead of binding `search-ring' and `regexp-search-ring'.
4699         (Bug#9185)
4701 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4703         * simple.el (line-move): Force movement by logical lines for any
4704         hscrolled window, not only when auto-hscroll-mode is on.
4705         (line-move-visual): Update doc string to that effect.  (Bug#10076)
4707 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
4709         * language/european.el (macintosh): Define as alias for mac-roman.
4711 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
4713         * mail/rmailmm.el (rmail-mime-display-header)
4714         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4715         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4716         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4717         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4718         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4719         of a raw aref.
4720         (rmail-mime-entity-segment): To get past the tagline, move forward
4721         2 more lines, to account for the 2 empty lines that precede and
4722         follow the line with the buttons.
4723         (rmail-mime-update-tagline): Move one more line, to get past the
4724         empty line that follows the buttons in the tagline.  (Bug#9520)
4726 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
4728         * window.el (window-max-delta-1, window-min-delta-1)
4729         (window-min-size-1, window-state-get-1, window-state-put-1)
4730         (window-state-put-2): Use "window--" prefix.
4732 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4734         * emacs-lisp/smie.el: Improve warnings and conflict detection.
4735         (smie-warning-count): New var.
4736         (smie-set-prec2tab): Use it.
4737         (smie-bnf->prec2): Improve warnings.  Add docstring.
4738         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4739         (smie-bnf--set-class): New function.
4740         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
4741         corner case.
4743         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4744         (compilation-error-properties, compilation-move-to-column):
4745         Handle compilation-first-column while in the target buffer.
4747         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4748         Don't hardcode point-min==1.
4750         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4751         (eshell-rewrite-for-command): Remove workaround.
4752         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4753         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4754         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4756         * files-x.el (modify-file-local-variable): Obey commenting conventions.
4758 2011-11-17  Glenn Morris  <rgm@gnu.org>
4760         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4761         Ignore buffer-local generated-autoload-file if it is the same
4762         as the global value.  (Bug#10049)
4764 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
4766         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4767         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4768         (reftex-toc-previous-heading, reftex-toc-max-level)
4769         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4770         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4771         (reftex-toc-do-promote, reftex-toc-promote-prepare)
4772         (reftex-toc-promote-action, reftex-toc-extract-section-number)
4773         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4774         (reftex-toc-rename-label, reftex-toc-visit-location)
4775         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4776         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4777         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4778         leaving "*toc*" only for references to the buffer.
4780 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
4782         * window.el (window-resize, delete-window, split-window):
4783         Replace window-splits by window-combination-resize.
4784         * cus-start.el (window-splits): Replace by window-combination-resize.
4786 2011-11-17  Glenn Morris  <rgm@gnu.org>
4788         * progmodes/sh-script.el (sh-font-lock-keywords-var):
4789         Make bash entry derive from sh entry, not shell entry.
4791 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
4793         * net/tramp-cache.el (tramp-flush-file-property): Flush also
4794         properties of linked files.  (Bug#9879)
4796         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4797         local file name.
4799 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4801         * menu-bar.el (menu-bar-file-menu):
4802         * printing.el (pr-ps-utility):
4803         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4804         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4805         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4806         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4807         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4808         (icalendar--convert-cyclic-to-ical)
4809         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4810         (icalendar--convert-ical-to-diary)
4811         (icalendar--convert-recurring-to-diary)
4812         (icalendar--convert-non-recurring-all-day-to-diary)
4813         (icalendar-import-format-sample):
4814         * progmodes/idlw-shell.el (idlwave-shell-mode):
4815         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4816         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4817         (vhdl-ps-print-init): Fix typos.
4819 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
4821         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4822         FSF and collapse date sequence, obscure author/maintainer email address
4823         better, remove extra version line, track relocation of author's webpage.
4825         * progmodes/python.el (python-pdbtrack-input-prompt)
4826         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4827         regular python pdb prompts.  Adjustments shamelessly taken exactly as
4828         suggested in EmacsWiki page (tiny change):
4829         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
4831 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
4833         * expand.el (expand-pos, expand-index, expand-point):
4834         Remove redundant info from docstring.
4835         (expand-add-abbrevs): Doc fix.
4836         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4837         (expand-sample-perl-mode-expand-list): Fix typos.
4839         * net/dbus.el (dbus-event-member-name):
4840         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4841         * term/pc-win.el (msdos-create-frame-with-faces):
4842         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4844 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
4846         * window.el (split-window, window-state-get-1)
4847         (window-state-put-1, window-state-put-2): Rename occurrences of
4848         window-nest to window-combination-limit.
4849         * cus-start.el (window-nest): Rename to window-combination-limit.
4851 2011-11-16  Chong Yidong  <cyd@gnu.org>
4853         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4854         regexp (Bug#10033).
4856 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4858         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4859         `completing-read' will remove *Completions* and will preserve
4860         current-buffer for us.
4861         (tmm-add-prompt): Users of *Completions* will always (re)set its
4862         major mode.
4863         (tmm-old-comp-map): Remove.
4865 2011-11-16  Glenn Morris  <rgm@gnu.org>
4867         * mail/rmailedit.el: Require rmailmm when compiling.
4868         (rmail-old-mime-state): New declaration.
4869         (rmail-edit-current-message): If editing a mime message,
4870         edit the "raw" message from the mbox buffer.
4871         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
4873 2011-11-15  Glenn Morris  <rgm@gnu.org>
4875         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4876         which wasn't being used.  Add optional arg to force given state.
4877         (rmail-mime): Add optional arg to force given state.
4879 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4881         * allout.el (allout-encryption-plaintext-sanitization-regexps):
4882         * frame.el (display-mm-dimensions-alist):
4883         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4884         (outline-move-subtree-down):
4885         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4886         (newsticker--treeview-do-get-node):
4887         * net/quickurl.el (quickurl-list-buffer-name):
4888         * progmodes/dcl-mode.el (dcl-mode):
4889         * progmodes/gdb-mi.el (gdb-mapcar*):
4890         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4892 2011-11-15  Glenn Morris  <rgm@gnu.org>
4894         * mail/rmail.el (rmail-file-coding-system): It's only ever used
4895         in a boolean sense, so just make it a boolean, and fix the doc.
4896         (rmail-show-mime-function, rmail-mime-feature)
4897         (rmail-require-mime-maybe): Doc fixes.
4898         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4900         * mail/rmailmm.el (rmail-show-mime): Doc fix.
4902 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
4904         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4905         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4906         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4907         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4909 2011-11-15  Glenn Morris  <rgm@gnu.org>
4911         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4912         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4913         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4914         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4915         (rmail-mime, rmail-show-mime): Doc fixes.
4917         * term/ns-win.el (mode-line-frame-identification):
4918         Leave it alone.  (Bug#10051)
4920         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
4922         * mail/rmailout.el (rmail-output-to-rmail-buffer):
4923         Handle empty buffers.  (Bug#9978)
4925 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
4927         * international/mule.el (define-charset):
4928         * mail/rmailmm.el (rmail-mime-find-header-encoding):
4929         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4930         * progmodes/verilog-mode.el (verilog-backward-token):
4931         * textmodes/ispell.el (lookup-words):
4932         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4934 2011-11-14  Glenn Morris  <rgm@gnu.org>
4936         * progmodes/executable.el
4937         (executable-make-buffer-file-executable-if-script-p):
4938         Handle file-modes returning nil.
4940         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4941         message - not necessary, and causes problems.  (Bug#9831)
4943         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4945         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4947         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4948         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
4949         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4951 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
4953         * window.el (window-resize, delete-window): Use window-splits
4954         variable instead of function.
4955         (window-state-get-1, window-state-put-2, window-state-put):
4956         Don't deal with windows' splits status.
4958 2011-11-12  Glenn Morris  <rgm@gnu.org>
4960         * apropos.el (apropos-do-all, apropos-library, apropos-value)
4961         (apropos-documentation): Doc fixes.
4963 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
4965         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4966         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4968 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4970         * electric.el (electric-indent-post-self-insert-function): Make it
4971         possible for a char to only indent in some circumstances.
4972         (electric-indent-mode): Simplify.
4974 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
4976         * window.el (windows-with-parameter): Remove unused function.
4977         (windows-at-side): Rename to window-at-side-list.
4978         (window-check, window-atom-check, window-atom-check-1)
4979         (window-side-check, window-size-ignore, window-size-fixed-1)
4980         (window-in-direction-2): Prefix with "window--".
4981         (window-tree-1): Rename to window--subtree, fix doc-string.
4983 2011-11-11  Glenn Morris  <rgm@gnu.org>
4985         * subr.el (eval-after-load): If FILE is already loaded,
4986         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
4988 2011-11-10  Glenn Morris  <rgm@gnu.org>
4990         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4991         Call svn via vc-svn-command rather than vc-do-command.
4992         (vc-svn-command): Add --non-interactive.  (Bug#9993)
4993         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4995         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4996         Add toggle-read-only.  (Bug#7292)
4997         * files.el (toggle-read-only): Mention that it should only
4998         be used interactively.  (Bug#10006)
5000 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5002         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5003         Adjust regexp for OCaml warnings.
5005         * electric.el (electric-pair-post-self-insert-function): Let user
5006         turn it off buffer-locally (bug#9932).
5008         * progmodes/python.el (python-beginning-of-statement):
5009         Rewrite (bug#2703).
5011         * progmodes/compile.el: Better handle TABs (bug#9749).
5012         (compilation-internal-error-properties)
5013         (compilation-next-error-function): Obey the target buffer's
5014         compilation-error-screen-columns.
5016 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
5018         * progmodes/meta-mode.el: Remove obsolete comments.
5019         (meta-right-comment-regexp, meta-ignore-comment-regexp):
5020         Fix typos in docstrings.
5022 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
5024         * window.el (window-size-fixed-p): Rewrite doc-string.
5025         (window-resizable-p): Rename to window--resizable-p.  Update callers.
5026         (window--resizable): New function.  Make all callers of
5027         window-resizable call window--resizable instead.
5028         (window-resizable): Rewrite in terms of window--resizable.
5030 2011-11-08  Glenn Morris  <rgm@gnu.org>
5032         * progmodes/delphi.el (delphi-mode-syntax-table):
5033         Let define-derived-mode define a proper syntax table.  (Bug#9994)
5035 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5037         * window.el: Stay away from defsubst.
5038         (window-list-no-nils): Remove.
5039         (window-state-get-1, window-state-get): Use backquote instead.
5041 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5043         * emacs-lisp/find-func.el (find-function-read):
5044         Fix incorrect use of default argument in `completing-read'.
5046 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
5048         * window.el (display-buffer-function, special-display-function):
5049         Mention display-buffer-record-window but do not mention
5050         help-setup parameter in doc-strings.
5051         (window-min-delta): Fix doc-string typo.
5053 2011-11-08  Chong Yidong  <cyd@gnu.org>
5055         * window.el (window-total-height, window-total-width): Doc fix.
5056         (window-body-size): Move from C.
5057         (window-body-height, window-body-width): Move to C.
5059 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5061         * window.el: Make special-display like display-buffer-alist (bug#9532).
5062         (display-buffer--special-action): New function, morphed
5063         from display-buffer--special.
5064         (display-buffer): Use it to handle special-display-buffers at higher
5065         priority (just after display-buffer-alist).
5066         (display-buffer-fallback-action, display-buffer--other-frame-action)
5067         (pop-to-buffer-same-window): Remove display-buffer--special.
5069 2011-11-07  Glenn Morris  <rgm@gnu.org>
5071         * calendar/cal-menu.el (cal-menu-set-date-title):
5072         Do nothing if not in a calendar.  (Bug#9976)
5074 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5076         * files.el (find-file): Always use selected-window.
5078 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
5080         * window.el (window-combinations): Make WINDOW argument
5081         mandatory.  Rewrite doc-string.
5082         (walk-window-subtree, window-atom-check, window-min-delta)
5083         (window-max-delta, window--resize-this-window)
5084         (window--resize-root-window-vertically, window-tree)
5085         (balance-windows, window-state-put): Rewrite doc-strings as to
5086         not mention the term "subwindow".
5087         (window--resize-subwindows-skip-p): Rename to
5088         window--resize-child-windows-skip-p.
5089         (window--resize-subwindows-normal): Rename to
5090         window--resize-child-windows-normal.
5091         (window--resize-subwindows): Rename to
5092         window--resize-child-windows.
5093         (window-or-subwindow-p): Rename to window--in-subtree-p.
5095 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5097         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5098         Ensure that mbox format messages end in two newlines (Bug#9974).
5100 2011-11-06  Chong Yidong  <cyd@gnu.org>
5102         * window.el (window-combination-p): Function deleted; its
5103         side-effect is not used in any existing code.
5104         (window-combinations, window-combined-p): Call window-*-child
5105         directly.
5107 2011-11-05  Chong Yidong  <cyd@gnu.org>
5109         * window.el (window-valid-p): Rename from window-any-p.
5110         (window-size-ignore, window-state-get): Callers changed.
5111         (window-normalize-window): Rename from window-normalize-any-window.
5112         New arg LIVE-ONLY, replacing window-normalize-live-window.
5113         (window-normalize-live-window): Delete.
5114         (window-combination-p, window-combined-p, window-combinations)
5115         (walk-window-subtree, window-atom-root, window-min-size)
5116         (window-sizable, window-sizable-p, window-size-fixed-p)
5117         (window-min-delta, window-max-delta, window-resizable)
5118         (window-resizable-p, window-full-height-p, window-full-width-p)
5119         (window-current-scroll-bars, window-point-1, set-window-point-1)
5120         (window-at-side-p, window-in-direction, window-resize)
5121         (adjust-window-trailing-edge, maximize-window, minimize-window)
5122         (window-deletable-p, delete-window, delete-other-windows)
5123         (record-window-buffer, unrecord-window-buffer)
5124         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5125         (quit-window, split-window, window-state-put)
5126         (set-window-text-height, fit-window-to-buffer)
5127         (shrink-window-if-larger-than-buffer): Callers changed.
5129 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
5131         * mail/rmail.el (rmail-simplified-subject): Decode subject with
5132         rfc2047-decode-string.
5133         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5134         warnings.
5136         * window.el (window-body-height, window-body-width): Mention in
5137         the doc string that the return values are in frame's canonical
5138         units.  (Bug#9949)
5140 2011-11-03  Alan Mackenzie  <acm@muc.de>
5142         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5143         change in cc-engine.el.
5145 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5147         * window.el (switch-to-buffer): Use `force-same-window' interactively.
5149 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
5151         * window.el (quit-window): Call unrecord-window-buffer after
5152         showing another buffer in the window.  (Bug#9937)
5153         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5155 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
5157         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5158         Accept status with more than 9 shelves.  (Bug#9935)
5159         Reported by Colin D Bennett <colin@gibibit.com>.
5161 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
5163         * help.el (with-help-window): Don't reference
5164         temp-buffer-show-specifiers in doc-string.
5166 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
5168         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5169         menu-item.
5171 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5173         * whitespace.el: New version 13.2.2.
5174         (whitespace-newline-mode): Disable properly.  Reported by Sarah
5175         <EmacsWiki>.
5177 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
5179         * net/newst-treeview.el: Remove "Time-stamp".
5180         (newsticker--group-manage-orphan-feeds): Do not call
5181         newsticker--treeview-tree-update.
5182         (newsticker-treeview-update, newsticker-treeview):
5183         Call newsticker--treeview-tree-update if necessary.
5185 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
5187         * window.el (window-iso-combination-p, window-iso-combined-p)
5188         (window-iso-combinations): Remove "iso-" infix.
5189         Suggested by Chong Yidong.
5190         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5191         (window-max-delta-1, window-resize, window--resize-siblings)
5192         (window--resize-this-window, adjust-window-trailing-edge)
5193         (split-window, balance-windows-1)
5194         (shrink-window-if-larger-than-buffer):
5195         * calendar/calendar.el (calendar-generate-window):
5196         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5198 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5200         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5201         in place (bug#9907).
5202         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5203         (eshell-rewrite-if-command, eshell-rewrite-for-command)
5204         (eshell-structure-basic-command, eshell-rewrite-while-command)
5205         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5206         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5207         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5208         (eshell-do-pipelines-synchronously, eshell-eval-command):
5209         Use backquotes and prefer setq to set.
5210         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5211         (eshell-macrop): Use functionp.
5212         (eshell-do-eval): Handle multiple expressions in `while' body.
5214 2011-10-30  Chong Yidong  <cyd@gnu.org>
5216         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5217         instead of set-mark (Bug#9810).
5219 2011-10-30  Chong Yidong  <cyd@gnu.org>
5221         * window.el (split-window-below, split-window-right): Rename from
5222         split-window-above-each-other and split-window-side-by-side
5223         respectively.  All callers changed.
5224         (split-window-sensibly, split-window-sensibly): Use them.
5225         (split-window-keep-point): Doc fix.
5227         * isearch.el: Add isearch-scroll property to split-window-below
5228         and split-window-right.
5230         * follow.el (follow-mode):
5231         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5232         * progmodes/ada-xref.el (ada-gdb-application):
5233         * emulation/vip.el (vip-buffer-in-two-windows):
5234         * image-dired.el (image-dired-dired-with-window-configuration):
5235         * dired-x.el (dired-do-find-marked-files):
5236         * dired.el (dired-pop-to-buffer):
5237         * bs.el (bs--show-with-configuration):
5238         * vc/emerge.el (emerge-setup-windows):
5239         * textmodes/two-column.el (2C-two-columns):
5240         * textmodes/reftex-toc.el (reftex-toc):
5241         * progmodes/gdb-mi.el (gdb-setup-windows):
5242         * progmodes/fortran.el (fortran-window-create):
5243         * net/newst-treeview.el (newsticker--treeview-window-init):
5244         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5245         * emulation/tpu-edt.el (tpu-gold-map):
5246         * emulation/crisp.el (crisp-mode-map):
5247         * calendar/calendar.el (calendar-basic-setup): Callers changed.
5249 2011-10-29  Chong Yidong  <cyd@gnu.org>
5251         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5253         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5255         * textmodes/flyspell.el (flyspell-word): Fix char offset for
5256         forged Ispell output (Bug#7904).
5258         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5260 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5262         * doc-view.el: Avoid ugly errors about not finding nil.
5263         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5264         (doc-view-dvipdf-program, doc-view-unoconv-program)
5265         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5266         Avoid nil or absolute file name as default value.
5267         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5269 2011-10-28  Alan Mackenzie  <acm@muc.de>
5271         * progmodes/cc-defs.el (c-version): -> 5.32.2.
5273 2011-10-28  Alan Mackenzie  <acm@muc.de>
5275         Amend the handling of c-beginning/end-of-defun in nested declaration
5276         scopes.
5278         * progmodes/cc-vars.el (c-defun-tactic): Move here from
5279         cc-langs.el.  Change it to a defcustom.
5281         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5282         cc-vars.el.
5284         * progmodes/cc-engine.el (c-beginning-of-statement-1):
5285         Prevent "class foo : bar" being spuriously recognized as a label.
5287         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5288         Add parameter `inclusive' (to include enclosing braces in the region).
5289         (c-widen-to-enclosing-decl-scope): New function.
5290         (c-while-widening-to-decl-block): New macro.
5291         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5292         outward for defun boundaries, and correspondingly change symbol
5293         `respect-enclosure' to `go-outward'.
5294         (c-declaration-limits): Change algorithm to report only the "innermost"
5295         defun's boundaries.
5297 2011-10-28  Deniz Dogan  <deniz@dogan.se>
5299         * net/rcirc.el (rcirc-mode): Use hard newlines.
5301 2011-10-28  Alan Mackenzie  <acm@muc.de>
5303         Amend to indent and fontify macros "which include their own semicolon"
5304         correctly, using the "virtual semicolon" mechanism.
5306         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5308         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5309         Recode to scan one line at a time rather than having \n and \r
5310         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5311         (c-forward-label): Amend for virtual semicolons.
5312         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5314         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5315         of the new C macros.
5317         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5318         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5319         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5320         (c-opt-cpp-macro-define): Make into a full language variable.
5321         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5322         AWK Mode (including \n, \r) removed, no longer needed.
5324         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5325         Invoke c-make-macro-with-semi-re.
5327         * progmodes/cc-vars.el (c-macro-with-semi-re):
5328         (c-macro-names-with-semicolon): New variables.
5329         (c-make-macro-with-semi-re): New function.
5331 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5333         * vc/log-edit.el: Fill empty field rather than adding new one.
5334         (log-edit-add-field): New function.
5335         (log-edit-insert-changelog): Use it.
5337 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
5339         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5341 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5343         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5344         (gdb--check-interpreter): New function.
5345         (gdb): Use it.
5347 2011-10-27  Glenn Morris  <rgm@gnu.org>
5349         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5350         (least-positive-float, least-negative-float)
5351         (least-positive-normalized-float, least-negative-normalized-float)
5352         (float-epsilon, float-negative-epsilon):
5353         Remove unnecessary declarations.
5355         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5356         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5357         (least-positive-float, least-negative-float)
5358         (least-positive-normalized-float, least-negative-normalized-float)
5359         (float-epsilon, float-negative-epsilon): Add doc-strings,
5360         based on those in cl.texi.
5362         * files.el (set-visited-file-name): If the major-mode changed,
5363         reload the local variables.  (Bug#9796)
5365 2011-10-27  Chong Yidong  <cyd@gnu.org>
5367         * subr.el (change-major-mode-after-body-hook): New hook.
5368         (run-mode-hooks): Run it.
5370         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5371         Use change-major-mode-before-body-hook.
5373         * simple.el (fundamental-mode):
5374         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5375         change introducing fundamental-mode-hook.
5377 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
5379         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5381 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
5383         * ido.el (ido-file-name-all-completions-1): Do not require
5384         tramp.el explicitly.  (Bug#7583)
5386 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5388         * progmodes/octave-mod.el:
5389         * progmodes/octave-inf.el: Update maintainer.
5391 2011-10-26  Chong Yidong  <cyd@gnu.org>
5393         * subr.el (with-wrapper-hook): Rewrite doc.
5395 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
5397         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5398         filenames "/method:foo:".  (Bug#9793)
5400 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5402         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5403         (bug#9865).
5405 2011-10-24  Glenn Morris  <rgm@gnu.org>
5407         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
5409 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
5411         * notifications.el: Add the requirement of a running D-Bus session
5412         bus to the Commentary.
5414 2011-10-24  Juri Linkov  <juri@jurta.org>
5416         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5417         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5418         (Bug#9364)
5420 2011-10-24  Juri Linkov  <juri@jurta.org>
5422         * info.el (Info-following-node-name-re): Add newline to the list
5423         of allowed characters for leading space.  (Bug#9824)
5425 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5427         * progmodes/octave-inf.el (inferior-octave-mode-map):
5428         Fix C-c C-h binding.
5429         * progmodes/octave-mod.el (octave-help): Remove.
5431 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
5433         Sync with Tramp 2.2.3.
5435         * net/tramp-cache.el (top): Pacify byte-compiler using
5436         `init-file-user' and `site-run-file'.
5438         * net/trampver.el: Update release number.
5440 2011-10-23  Chong Yidong  <cyd@gnu.org>
5442         * files.el (toggle-read-only): Remove obsolete comment about
5443         version control.
5445         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5446         for toggle-read-only.  Note that this hasn't called vc-next-action
5447         since 2008-05-02, though it wasn't documented at the time.
5449         * vc/ediff-init.el (ediff-toggle-read-only-function):
5450         Use toggle-read-only.
5452 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
5454         Fix bug #9560, sporadic wrong indentation; improve instrumentation
5455         of c-parse-state.
5457         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5458         correct faulty logical expression.
5459         (c-parse-state-state, c-record-parse-state-state):
5460         (c-replay-parse-state-state): New defvar/defuns.
5461         (c-debug-parse-state): Use new functions.
5463 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
5465         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5466         last fix.  Use window-in-direction correctly.
5468 2011-10-21  Chong Yidong  <cyd@gnu.org>
5470         * progmodes/idlwave.el (idlwave-mode):
5471         * progmodes/vera-mode.el (vera-mode): No need to set
5472         require-final-newline; that's done in prog-mode.
5473         Suggested by Stefan Monnier.
5475 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
5477         * mouse.el (mouse-drag-window-above)
5478         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5479         (mouse-drag-mode-line-1, mouse-drag-header-line)
5480         (mouse-drag-vertical-line-rightward-window): Remove.
5481         (mouse-drag-line): New function.
5482         (mouse-drag-mode-line, mouse-drag-header-line)
5483         (mouse-drag-vertical-line): Call mouse-drag-line.
5484         * window.el (window-at-side-p, windows-at-side): New functions.
5486 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
5488         * tar-mode.el (tar-grind-file-mode):
5489         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
5491 2011-10-21  Chong Yidong  <cyd@gnu.org>
5493         * progmodes/idlwave.el (idlwave-mode):
5494         * progmodes/vera-mode.el (vera-mode):
5495         Use mode-require-final-newline.
5497 2011-10-20  Glenn Morris  <rgm@gnu.org>
5499         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
5501 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
5503         * emulation/cua-base.el (cua-set-mark): Fix case of string.
5505 2011-10-20  Chong Yidong  <cyd@gnu.org>
5507         * emulation/cua-base.el (cua-mode):
5508         * mail/footnote.el (footnote-mode):
5509         * mail/mailabbrev.el (mail-abbrevs-mode):
5510         * net/xesam.el (xesam-minor-mode):
5511         * progmodes/bug-reference.el (bug-reference-mode):
5512         * progmodes/cap-words.el (capitalized-words-mode):
5513         * progmodes/compile.el (compilation-minor-mode)
5514         (compilation-shell-minor-mode):
5515         * progmodes/gud.el (gud-tooltip-mode):
5516         * progmodes/hideif.el (hide-ifdef-mode):
5517         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5518         * progmodes/subword.el (subword-mode):
5519         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5520         * progmodes/which-func.el (which-function-mode):
5521         * term/tvi970.el (tvi970-set-keypad-mode):
5522         * term/vt100.el (vt100-wide-mode):
5523         * textmodes/flyspell.el (flyspell-mode):
5524         * textmodes/ispell.el (ispell-minor-mode):
5525         * textmodes/nroff-mode.el (nroff-electric-mode):
5526         * textmodes/paragraphs.el (use-hard-newlines):
5527         * textmodes/refill.el (refill-mode):
5528         * textmodes/reftex.el (reftex-mode):
5529         * textmodes/rst.el (rst-minor-mode):
5530         * textmodes/sgml-mode.el (html-autoview-mode)
5531         (sgml-electric-tag-pair-mode):
5532         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5533         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5534         * emulation/crisp.el (crisp-mode):
5535         * emacs-lisp/eldoc.el (eldoc-mode):
5536         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5537         minor mode behavior.
5539 2011-10-19  Juri Linkov  <juri@jurta.org>
5541         * descr-text.el (describe-char): Add #x2010 and #x2011 to
5542         the list of hard-coded chars with escape-glyph face.
5544 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5546         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5548 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
5550         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5551         running process.
5553 2011-10-19  Glenn Morris  <rgm@gnu.org>
5555         * vc/vc-bzr.el (vc-bzr-after-dir-status):
5556         Ignore ignored files.  (Bug#9726)
5558 2011-10-19  Chong Yidong  <cyd@gnu.org>
5560         Doc fix for minor modes, stating that an omitted argument enables
5561         the mode unconditionally when called from Lisp.
5563         * abbrev.el (abbrev-mode):
5564         * allout.el (allout-mode):
5565         * autoinsert.el (auto-insert-mode):
5566         * autoarg.el (autoarg-mode, autoarg-kp-mode):
5567         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5568         (global-auto-revert-mode):
5569         * battery.el (display-battery-mode):
5570         * composite.el (global-auto-composition-mode)
5571         (auto-composition-mode):
5572         * delsel.el (delete-selection-mode):
5573         * desktop.el (desktop-save-mode):
5574         * dired-x.el (dired-omit-mode):
5575         * dirtrack.el (dirtrack-mode):
5576         * doc-view.el (doc-view-minor-mode):
5577         * double.el (double-mode):
5578         * electric.el (electric-indent-mode, electric-pair-mode):
5579         * emacs-lock.el (emacs-lock-mode):
5580         * epa-hook.el (auto-encryption-mode):
5581         * follow.el (follow-mode):
5582         * font-core.el (font-lock-mode):
5583         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5584         * help.el (temp-buffer-resize-mode):
5585         * hilit-chg.el (highlight-changes-mode)
5586         (highlight-changes-visible-mode):
5587         * hi-lock.el (hi-lock-mode):
5588         * hl-line.el (hl-line-mode, global-hl-line-mode):
5589         * icomplete.el (icomplete-mode):
5590         * ido.el (ido-everywhere):
5591         * image-file.el (auto-image-file-mode):
5592         * image-mode.el (image-minor-mode):
5593         * iswitchb.el (iswitchb-mode):
5594         * jka-cmpr-hook.el (auto-compression-mode):
5595         * linum.el (linum-mode):
5596         * longlines.el (longlines-mode):
5597         * master.el (master-mode):
5598         * mb-depth.el (minibuffer-depth-indicate-mode):
5599         * menu-bar.el (menu-bar-mode):
5600         * minibuf-eldef.el (minibuffer-electric-default-mode):
5601         * mouse-sel.el (mouse-sel-mode):
5602         * msb.el (msb-mode):
5603         * mwheel.el (mouse-wheel-mode):
5604         * outline.el (outline-minor-mode):
5605         * paren.el (show-paren-mode):
5606         * recentf.el (recentf-mode):
5607         * reveal.el (reveal-mode, global-reveal-mode):
5608         * rfn-eshadow.el (file-name-shadow-mode):
5609         * ruler-mode.el (ruler-mode):
5610         * savehist.el (savehist-mode):
5611         * scroll-all.el (scroll-all-mode):
5612         * scroll-bar.el (scroll-bar-mode):
5613         * server.el (server-mode):
5614         * shell.el (shell-dirtrack-mode):
5615         * simple.el (auto-fill-mode, transient-mark-mode)
5616         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5617         (line-number-mode, column-number-mode, size-indication-mode)
5618         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5619         * strokes.el (strokes-mode):
5620         * time.el (display-time-mode):
5621         * t-mouse.el (gpm-mouse-mode):
5622         * tool-bar.el (tool-bar-mode):
5623         * tooltip.el (tooltip-mode):
5624         * type-break.el (type-break-mode-line-message-mode)
5625         (type-break-query-mode):
5626         * view.el (view-mode):
5627         * whitespace.el (whitespace-mode, whitespace-newline-mode)
5628         (global-whitespace-mode, global-whitespace-newline-mode):
5629         * xt-mouse.el (xterm-mouse-mode): Doc fix.
5631         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5632         Fix autogenerated docstring.
5634 2011-10-19  Juri Linkov  <juri@jurta.org>
5636         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5637         by checking environment variables "DESKTOP_SESSION" and
5638         "XDG_CURRENT_DESKTOP".  (Bug#9779)
5640 2011-10-19  Juri Linkov  <juri@jurta.org>
5642         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5643         (browse-url-chromium-program, browse-url-chromium-arguments):
5644         New defcustoms.
5645         (browse-url-default-browser): Check for `browse-url-chromium' and
5646         call `browse-url-chromium-program'.
5647         (browse-url-chromium): New command.  (Bug#9779)
5649 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
5651         * facemenu.el (list-colors-duplicates): On Windows, detect more
5652         duplicates by assuming that only colors matching "^System" are
5653         special "system colors".  (Bug#9722)
5655 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5657         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5658         to distinguish the author from the committer.
5660 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
5662         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5664 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
5666         * international/mule.el (sgml-html-meta-auto-coding-function):
5667         Add support for detecting encoding in HTML5 specified only as
5668         <meta charset="UTF-8">.  Implementation just makes http-equiv and
5669         content-type parts from HTML4 encoding string optional.  (Bug#9716)
5671 2011-10-18  Glenn Morris  <rgm@gnu.org>
5673         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
5675 2011-10-18  Chong Yidong  <cyd@gnu.org>
5677         * faces.el (cursor): Doc fix.
5679 2011-10-17  Chong Yidong  <cyd@gnu.org>
5681         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5683 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
5685         * dirtrack.el (dirtrack): Support shell buffers with path
5686         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
5688 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
5690         * json.el: Bump version to 1.3 and note change in History.
5691         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5693 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5695         * comint.el (comint-insert-input, comint-send-input)
5696         (comint-get-old-input-default, comint-backward-matching-input)
5697         (comint-next-prompt): Use nil instead of `input' for field property of
5698         past user input (bug#114).
5700         * minibuffer.el (completion--replace): Inherit surrounding properties
5701         (bug#114).
5702         (minibuffer-complete-and-exit): Use it.
5704         * comint.el (comint--table-subvert): Quote the all-completions output
5705         (bug#9160).
5707 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
5709         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
5711         * menu-bar.el (menu-bar-file-menu): Add entry for making new
5712         window on right of selected.  (Bug#9350) Reword other window
5713         entries and separate them from frame entries.
5715 2011-10-15  Glenn Morris  <rgm@gnu.org>
5717         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5718         Doc fixes.
5720 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
5722         * net/network-stream.el (network-stream-open-starttls):
5723         Improve detection of failure due to lack of TLS support.
5725         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5726         putting the input text in front and in bold.
5728 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5730         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5732         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5733         empty buffer.
5735         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5736         unread-command-events rather than pushing yet-another event.
5738 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
5740         * mail/sendmail.el (sendmail-query-once): Improve the wording of
5741         the explanation of the possible choices.  Make the options passed
5742         to completing-read shorter.
5744 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5746         * textmodes/flyspell.el (flyspell-large-region): Make sure
5747         extended character mode is used if defined (Bug#1339).
5749 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
5751         * simple.el (what-cursor-position): Fix the display of the
5752         character info for LRE, LRO, RLE, and RLO characters by appending
5753         an invisible PDF.
5755 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5757         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5758         even in case of error; add debug spec; simplify data flow.
5759         (with-timeout-handler): Remove.
5761 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
5763         Fix Bug#6019, Bug#9315.
5765         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5766         complete `buffer-file-name', the local file name part could look
5767         remotely (for example on VMS).
5769         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5770         `tramp-run-real-handler'.
5771         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5772         already quoted by '"'.
5774         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5775         Let `file-name-handler-alist' be nil, the local file name part
5776         could look remotely (for example on VMS).
5778 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5780         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5781         from here...
5782         (flyspell-post-command-hook): ...to here.
5784 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5786         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5787         if not needed.
5788         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
5789         using completion.  Protect against "slow" callers.
5790         Remove the "message hack".
5792 2011-10-11  Juri Linkov  <juri@jurta.org>
5794         * isearch.el (isearch-lazy-highlight-word): New variable.
5795         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5796         Use it.  (Bug#9727)
5798 2011-10-11  Glenn Morris  <rgm@gnu.org>
5800         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5801         like f90-previous-statement does.
5803 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5805         * eshell/eshell.el (eshell-command): History should be saved
5806         only in interactive use, to avoid error.
5808 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5810         * minibuffer.el (completion-file-name-table): Fix last change,
5811         i.e. ignore normal errors but not the other ones.
5813 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
5815         * window.el (special-display-buffer-names)
5816         (special-display-regexps): Remove some remnants of earlier
5817         changes from doc-strings.
5818         (quit-windows-on): New function.
5820         * vc/vc.el (vc-revert, vc-rollback):
5821         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5822         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
5823         (Bug#6183) (Bug#7074) (Bug#7447)
5825 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
5827         * window.el (frame-auto-hide-function): Add version tag.
5828         (Bug#9699)
5830 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
5832         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5833         condition.
5835 2011-10-09  Leo Liu  <sdl.web@gmail.com>
5837         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5838         (Bug#9701)
5840 2011-10-08  Glenn Morris  <rgm@gnu.org>
5842         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5843         before the first code statement zero indent.  (Bug#9690)
5845 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
5847         * simple.el (count-words-region): Always count in the region.
5848         Report the number of lines and characters too.
5849         (count-words): New command, which counts in the buffer if the
5850         region is inactive, as count-words-region used to.
5851         (count-words--message): New function.  Handle plurals.
5852         (count-lines-region): Make it an alias for count-words-region.
5854         * bindings.el (esc-map): Replace count-lines-region with
5855         count-words-region.
5857 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
5859         * window.el (window--delete): Delete dedicated frame
5860         unconditionally when argument KILL is non-nil.  (Bug#9699)
5861         (switch-to-buffer): Fix doc-string typo.
5863 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5865         * eshell/eshell.el (eshell-command): Avoid using hooks.
5867 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
5869         * bindings.el ([M-left],[M-right]): Bind to left-word and
5870         right-word respectively.
5872 2011-10-07  Glenn Morris  <rgm@gnu.org>
5874         * cus-start.el (debug-on-quit): Fix custom type.
5876 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5878         * subr.el (define-key-after): Clarify that the function is not
5879         useful for non-menu keymaps.
5881         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5883 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5885         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
5886         in current minibuffer (Fix bug with recursive minibuffers).
5888 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
5890         * progmodes/gdb-mi.el (gdb): Doc fix.
5892 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
5894         * window.el (frame-auto-hide-function): New option replacing
5895         frame-auto-delete.  Suggested by Stefan Monnier.
5896         (window--delete): Call frame-auto-hide-function instead of
5897         investigating frame-auto-delete.
5898         (window-point-1, set-window-point-1): New functions.
5899         (window-in-direction, record-window-buffer, window-state-get-1)
5900         (display-buffer-record-window): Use window-point-1 instead of
5901         window-point.
5902         (set-window-buffer-start-and-point): Use set-window-point-1.
5904 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5906         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5908 2011-10-05  Glenn Morris  <rgm@gnu.org>
5910         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5911         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
5913 2011-10-05  Leo Liu  <sdl.web@gmail.com>
5915         * subr.el (read-char-choice): Fix argument to buffer-live-p which
5916         works with buffer object.
5918 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5920         * mpc.el (mpc-tool-bar-map): Add labels.
5922 2011-10-04  Glenn Morris  <rgm@gnu.org>
5924         * calendar/holidays.el (calendar-check-holidays): Doc fix.
5926 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
5928         * window.el (window--delete): New function.
5929         (frame-auto-delete): Resuscitate option.
5930         (bury-buffer, replace-buffer-in-windows)
5931         (quit-window): Rewrite using window--delete.
5932         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5933         Pass display-buffer-mark-dedicated to window--display-buffer-2
5934         (Bug#9639).
5936 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5938         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5939         returns a list (bug#9554).  Add remote file name completion.
5940         * comint.el (comint--table-subvert): Curry and get quote&unquote
5941         functions as arguments.
5942         (comint--complete-file-name-data): Adjust call accordingly.
5943         * pcomplete.el (pcomplete--table-subvert): Remove.
5944         (pcomplete-completions-at-point): Use comint--table-subvert instead.
5946         * minibuffer.el (completion-table-case-fold): Use currying.
5947         (completion--styles-type, completion--cycling-threshold-type):
5948         New constants.
5949         (completion-styles, completion-category-overrides)
5950         (completion-cycle-threshold): Use them.
5951         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5952         completion-table-case-fold.
5954 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
5956         * minibuffer.el (completion-category-overrides): Fix type of styles
5957         and add more user friendly tags (bug#9660).
5959 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5961         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5962         (mule-input-method-string): New widget.
5963         (default-input-method, language-info-custom-alist): Use it.
5965 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5967         * pcomplete.el: Require comint.
5968         (pcomplete--common-suffix): Remove.
5969         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5970         (pcomplete--table-subvert): Sync with comint--table-subvert.
5971         (pcomplete--entries): Use comint-completion-file-name-table.
5972         * comint.el (comint-unquote-filename): Simplify.
5973         (comint-completion-file-name-table): New function (bug#9616).
5974         (comint--complete-file-name-data): Use it.
5976         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5977         (pcmpl-gnu-tar-buffer): Remove.
5978         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
5979         around.  Make sure pcomplete-suffix-list is only changed temporarily.
5980         Don't look inside the tar's file if it's too large.
5982 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
5984         * cus-edit.el (custom-mode-map):
5985         * epa.el (epa-key-list-mode-map):
5986         * man.el (Man-mode-map):
5987         * startup.el (splash-screen-keymap):
5988         * simple.el (special-mode-map): Use scroll-up-command and
5989         scroll-down-command.
5991         * progmodes/idlw-help.el (idlwave-help-mode-map):
5992         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5993         * net/newst-plainview.el (newsticker-mode-map):
5994         * emulation/ws-mode.el (wordstar-mode-map):
5995         * emulation/vi.el (vi-com-map):
5996         * calc/calc-graph.el (calc-graph-show-dumb):
5997         * term/sun.el (terminal-init-sun):
5998         * term/ns-win.el (global-map):
5999         * progmodes/grep.el (grep-mode-map):
6000         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6001         * mail/rmail.el (rmail-mode-map):
6002         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6004         * custom.el (custom-safe-themes, load-theme): Treat value of t for
6005         custom-safe-themes as special.
6007 2011-10-01  Julien Danjou  <julien@danjou.info>
6009         * notifications.el (notifications-notify): Fix docstring.
6011 2011-10-01  Per Starbäck  <per@starback.se>
6013         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
6015 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
6017         * startup.el (command-line-1): Fix last fix by inserting
6018         initial-scratch-message into *scratch* before displaying it.
6019         (Bug#9605) and (Bug#9636)
6021 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
6023         * simple.el (line-move): If auto-hscroll-mode is disabled and the
6024         window is hscrolled, move by logical lines.  (Bug#9607)
6025         (line-move-visual): Update the doc string to the above effect.
6027 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
6029         * window.el (display-buffer-record-window): When WINDOW is the
6030         selected window use `point' instead of `window-point'.  (Bug#9626)
6032         * startup.el (command-line-1): Use insert-before-markers when
6033         inserting initial-scratch-message.  (Bug#9605)
6035         * help.el (help-window): Remove variable.
6037 2011-09-29  Glenn Morris  <rgm@gnu.org>
6039         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6041 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
6043         * descr-text.el (describe-char-categories): Accept category
6044         descriptions more than one line long.
6046 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6048         * simple.el (delete-trailing-whitespace): Fix last change.
6050         * progmodes/perl-mode.el (perl-syntax-propertize-function):
6051         Don't confuse "y => 3" as the beginning of a `y' operation.
6053         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6054         object has more than 4 slots (bug#9613).
6056 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
6058         * subr.el (with-output-to-temp-buffer):
6059         * net/quickurl.el (quickurl, quickurl-browse-url):
6060         Fix typos in docstrings.
6062 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
6064         * minibuffer.el (completion-styles)
6065         (completion-category-overrides): Cross reference each other in doc
6066         strings.
6068 2011-09-27  Glenn Morris  <rgm@gnu.org>
6070         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6071         to split-string.  (Bug#9606)
6073 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6075         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6076         (bug#9615).
6078 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
6080         * emacs-lisp/package.el (list-packages): Fix echo area message.
6082 2011-09-27  Leo Liu  <sdl.web@gmail.com>
6084         * ido.el (ido-read-internal): Accept cons cell HIST arg.
6086 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
6088         * net/dbus.el (dbus-unregister-object): Don't release services for
6089         registered signals.  (Bug#9581)
6091 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
6093         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6094         function that picks between cfengine 2 and 3 support
6095         automatically.  Update docs accordingly.
6097 2011-09-22  Kenichi Handa  <handa@m17n.org>
6099         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6100         ZERO.
6101         (indian-itrans-v5-table-for-tamil): New variable.
6102         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6104 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
6106         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6107         that's true if the current command involved collapsing of text.
6108         It's reset to false at the beginning of the next command.
6109         (allout-post-command-business): Move the cursor to the beginning
6110         of entry if the cursor is hidden and collapsing activity just
6111         happened.
6113 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
6115         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6116         tracking (Bug#9541).
6118 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
6120         * net/newst-reader.el (newsticker-html-renderer)
6121         (newsticker-show-news): Automatically load html rendering package
6122         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
6123         because w3m-fill-column is let-bound" and the error "Symbol's value
6124         as variable is void: w3m-fill-column".
6126 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
6128         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6129         Release services only if they are defined.  (Bug#9581)
6131 2011-09-23  Richard Stallman  <rms@gnu.org>
6133         * textmodes/paragraphs.el (forward-sentence): For backwards case,
6134         distinguish start of paragraph from start of its text.
6136         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6138         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6139         (rmail-generate-viewer-buffer): Put that hook on view buffer.
6140         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6142 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
6144         * international/mule-diag.el (mule-diag): Insert a newline after
6145         each fontset description.
6147 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6149         * simple.el (delete-trailing-whitespace):
6150         Document last change; simplify.
6152 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
6154         * simple.el (delete-trailing-whitespace): Also delete
6155         extra newlines at the end of the buffer.
6157         * textmodes/picture.el: Make motion commands obey shift-select-mode.
6158         (picture-newline): Use forward-line so as to ignore fields.
6160 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6162         * subr.el (with-wrapper-hook): Fix edebug spec.
6164 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6166         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6167         (bug#4538).
6169 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
6171         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6172         Fix nasty bug using wrong cached values.
6174 2011-09-23  Alan Mackenzie  <acm@muc.de>
6176         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6178 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
6180         * window.el (pop-to-buffer): Ensure right window is selected if we
6181         chose another frame.
6183 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
6185         * simple.el (what-cursor-position): Use get-char-property-change
6186         and next-single-char-property-change, to be able to show display
6187         properties that come from overlays as well as text properties.
6189 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
6191         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6193         * cmuscheme.el (run-scheme, switch-to-scheme):
6194         * cus-edit.el (customize-group, custom-buffer-create)
6195         (customize-browse):
6196         * info.el (info):
6197         * shell.el (shell):
6198         * mail/sendmail.el (mail):
6199         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6201 2011-09-22  Richard Stallman  <rms@gnu.org>
6203         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6204         move back only to line beg, don't move back over blank lines.
6206 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
6208         * files.el (copy-directory): Set directory attributes only in case
6209         they could be retrieved from the source directory.  (Bug#9565)
6211 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
6213         * progmodes/hideshow.el (hs-looking-at-block-start-p)
6214         (hs-find-block-beginning, hs-hide-level-recursive):
6215         Ignore strings as well as comments.  (Bug#9502)
6217 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
6219         * progmodes/sql.el (sql-comint-postgres):
6220         Convert port number to a string.  (Bug#9566)
6222 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
6224         * window.el (quit-window): Undedicate window when switching to
6225         previous buffer.  Reported by Thierry Volpiatto
6226         <thierry.volpiatto@gmail.com>.
6227         (special-display-popup-frame): When popping up a new frame reset
6228         its previous buffers to nil.  Simplify code.
6230 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
6232         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6233         and process filter, as done also in `shell-command'.
6235 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
6237         * window.el (set-window-buffer-start-and-point):
6238         Call set-window-start with NOFORCE argument t.
6239         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6240         (quit-window): Reword doc-string.  Handle new format of
6241         quit-restore parameter.  Don't delete window if it has a
6242         previous buffer we can show instead of the present one.
6243         (display-buffer-record-window): Rewrite using a new format for
6244         the quit-restore window parameter
6245         (special-display-popup-frame, display-buffer-same-window)
6246         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6247         (display-buffer-pop-up-window, display-buffer-use-some-window):
6248         Adapt symbol passed to display-buffer-record-window.
6249         * help.el (help-window-setup): Handle new format of quit-restore
6250         parameter.
6252 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6254         * faces.el (face-list): Fix docstring (bug#9564).
6256         * window.el (display-buffer--action-function-custom-type):
6257         Don't include internal functions in the Custom interface.
6259 2011-09-20  Juri Linkov  <juri@jurta.org>
6261         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6262         (Info-forward-node, Info-backward-node, Info-next-preorder)
6263         (Info-last-preorder): Use it.  (Bug#9528)
6265 2011-09-20  Juri Linkov  <juri@jurta.org>
6267         * info.el (Info-last-preorder): Visit last menu item only when
6268         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6270 2011-09-20  Julien Danjou  <julien@danjou.info>
6272         * password-cache.el (password-cache-remove): Remove entries even if the
6273         value is nil, so that password with a nil value (negative caching) is
6274         possible to invalidate.
6276 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
6278         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6279         all whitespace around breakpoint.  (Bug#9553)
6280         (f90-find-breakpoint): Only break at whitespace inside a comment.
6282 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6284         * minibuffer.el (completion-file-name-table): Keep track of errors.
6285         (completion-table-with-predicate): Handle the case where pred1 is nil.
6286         * pcomplete.el (pcomplete-completions-at-point): Simplify.
6288 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6290         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6291         (debugger-return-value): Signal an error if the debugging context does
6292         not await any return value.
6294         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6295         * image-mode.el (image-toggle-display-text)
6296         (image-toggle-display-image): Stay away from evil `intangible'.
6298 2011-09-19  Leo Liu  <sdl.web@gmail.com>
6300         * replace.el (occur-revert-arguments): Make it permanent-local.
6301         (occur-mode): Don't call font-lock-defontify.
6303 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
6305         * net/ldap.el (ldap-search-internal): Don't push empty search
6306         result (Bug#9508).
6308 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6310         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6312 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
6314         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6315         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6317 2011-09-18  Juri Linkov  <juri@jurta.org>
6319         * buff-menu.el (Buffer-menu-mode-map):
6320         * dired.el (dired-mode-map):
6321         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6322         (lisp-interaction-mode-map):
6323         * emacs-lisp/package.el (package-menu-mode-map):
6324         * epa.el (epa-key-list-mode-map):
6325         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6326         (menu-bar-options-menu):
6327         * outline.el (outline-mode-menu-bar-map):
6328         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6329         * vc/vc-dir.el (vc-dir-menu-map):
6330         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6331         Capitalize non-function content words in menu item strings.
6333         * dired.el (dired-mode-map): Add menu item for
6334         `image-dired-dired-toggle-marked-thumbs'.
6336 2011-09-18  Juri Linkov  <juri@jurta.org>
6338         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6339         to `isearch-case-fold-search' and restore its original value
6340         after the `isearch-mode' call.
6342 2011-09-18  Juri Linkov  <juri@jurta.org>
6344         * progmodes/grep.el (grep-process-setup): Don't check code for 1
6345         because `zgrep' returns 1 for successful matches (bug#9226).
6347 2011-09-18  Juri Linkov  <juri@jurta.org>
6349         * info.el (Info-extract-menu-node-name): Check the second match
6350         for empty string (second test-case of bug#9528).
6351         (Info-last-preorder): Let-bind `Info-history' to nil to not add
6352         intermediate nodes to the history (first test-case of bug#9528).
6354 2011-09-18  Juri Linkov  <juri@jurta.org>
6356         * info.el (Info-mode-syntax-table): New variable.
6357         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6359 2011-09-18  Juri Linkov  <juri@jurta.org>
6361         * info.el (Info-file-supports-index-cookies):
6362         Increment line-beginning-position's arg from 3 to 4 because makeinfo
6363         outputs one more line for long file names (bug#4142).
6365 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
6367         * newcomment.el (comment-normalize-vars): If prompting for
6368         comment-start, set comment-start-skip too (Bug#8424).
6370 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
6372         * icomplete.el: Fix previous fix of Bug#5849.
6373         (icomplete-mode): Don't set completion-show-inline-help.
6374         (icomplete-minibuffer-setup): Set completion-show-inline-help
6375         locally during icompletion.
6377 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
6379         * woman.el (woman2-process-escapes): Don't delete unrecognized
6380         escapes (Bug#7843).
6382         * files.el (inhibit-first-line-modes-regexps): Add image files.
6383         (hack-local-variables-prop-line): Return nil for malformed
6384         prop-lines (Bug#9044).
6386 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
6388         * net/tramp.el (top): Don't require 'shell.
6389         (tramp-methods): Fix docstring.
6390         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6391         Return complete remote file name.  Handle "smb" case.
6392         Use `tramp-tmpdir', if defined for the respective method.
6393         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6395         * net/tramp-compat.el (top): Require 'shell.
6397         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6398         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6399         `tramp-current-host'.
6400         (tramp-get-remote-tmpdir): Remove.
6402         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6403         `tramp-tmpdir' entries.
6404         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6405         (tramp-smb-handle-file-attributes): Ignore errors.
6406         (tramp-smb-wait-for-output): Check also for process end.
6408 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6410         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6411         when sending QUIT (bug#9312).
6413 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
6415         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6416         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6417         occur-mode-display-occurrence.
6418         (occur-edit-mode): Add usage message.
6419         (occur-cease-edit): New command.
6420         (occur-after-change-function): Use text properties to find the
6421         position of the prefix text.
6422         (occur-engine): Set stickiness of prefix text properties.
6424 2011-09-17  Glenn Morris  <rgm@gnu.org>
6426         * progmodes/etags.el (complete-tag):
6427         Fix call to completion-in-region.  (Bug#9526)
6429 2011-09-17  Juri Linkov  <juri@jurta.org>
6431         * textmodes/ispell.el (ispell-word): Add to the error message
6432         the word, ispell program name and current dictionary (bug#9121).
6433         (ispell-tex-arg-end): Capitalize "error" in the error message.
6435 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
6437         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6438         check.  (Bug#4251)
6440 2011-09-17  Juri Linkov  <juri@jurta.org>
6442         * window.el (window-safe-min-height, window-safe-min-width):
6443         Fix typos (followup to bug#9522).
6445 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
6447         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6449 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
6451         * simple.el (line-move): If goal-column is set, move by logical
6452         lines, not by display lines.  (Bug#971)
6453         (next-line, previous-line, goal-column, line-move-visual): Doc fix
6454         to reflect the above change.
6456 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6458         * image.el (imagemagick-register-types): Use regexp-opt.
6460 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
6462         * window.el (display-buffer-base-action): Rename from
6463         display-buffer-default-action.  Make default value empty.
6464         (display-buffer-overriding-action): Convert to defvar.
6465         (display-buffer-fallback-action): New var.
6467 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
6469         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6470         declaration.
6471         (package--add-to-archive-contents): If there is a duplicate entry
6472         with an older version, remove it.
6473         (package-menu-mark-delete, package-menu-mark-install)
6474         (package-menu-mark-unmark): Make unused args optional.
6475         (package-menu-mark-obsolete-for-deletion):
6476         Use package-menu-get-status instead of a regexp search.
6477         (package-menu-get-status): Use tabulated-list-entry.
6478         (package-menu-mark-upgrades): New command.
6479         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
6480         (package-menu-execute): Do installation before deletion.
6481         (package-menu-refresh, package-menu-execute): Use derived-mode-p
6482         instead of checking major-mode.
6483         (package-menu--find-upgrades): New function.
6485 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6487         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6488         passwords in the log buffer.
6489         (smtpmail-process-filter): Update the process marker so that the
6490         "broken by peer" status message is inserted in the right place.
6492 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6494         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6495         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6496         bibtex-completion-at-point-function.
6497         (bibtex-completion-at-point-function): Use them.
6499         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6501         * mpc.el (mpc-constraints-tag-lookup): New function.
6502         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6503         also to browser "album|playlist".
6505 2011-09-14  Juri Linkov  <juri@jurta.org>
6507         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
6508         (isearch-edit-string): Use length of `isearch-string' when
6509         `isearch-fail-pos' returns nil.
6510         (isearch-message): Remove duplicate code and call
6511         `isearch-fail-pos' with arg `t'.
6513 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
6515         * replace.el (occur-mode-goto-occurrence): Don't force using other
6516         window (Bug#9499).
6518         * dired-aux.el (dired-do-chmod): Don't provide initial input.
6520 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
6522         * window.el (display-buffer-window): Remove.
6523         (display-buffer-record-window): Use help-setup window parameter
6524         instead of variable display-buffer-window.
6525         (display-buffer-function, special-display-buffer-names)
6526         (special-display-function): Mention help-setup parameter instead
6527         of display-buffer-window in doc-string.
6528         * help.el (help-window-setup): New argument help-window.
6529         Use help-window-setup parameter instead of display-buffer-window.
6530         Reword some messages.
6531         (with-help-window): Pass window used for displaying the buffer
6532         to help-window-setup.  Don't set display-buffer-window.
6534 2011-09-13  Glenn Morris  <rgm@gnu.org>
6536         * emacs-lisp/debug.el (debugger-make-xrefs):
6537         Preserve point.  (Bug#9462)
6539 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
6541         * window.el (window-deletable-p): Use next-frame.
6543 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
6545         * window.el (window-auto-delete): Remove.
6546         (window-deletable-p): Remove argument FORCE.  Don't deal with
6547         dedication and previous buffers.
6548         (switch-to-prev-buffer): Don't delete window.
6549         (delete-windows-on): Delete a window's frame if and only if the
6550         window is dedicated.
6551         (replace-buffer-in-windows): Delete buffer's window or frame if
6552         and only if window is dedicated.
6553         (quit-window): Handle quit-restore as before last change.
6554         (bury-buffer): Delete window only if window-deletable-p returns t.
6556 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
6558         * window.el (window-deletable-p): Never delete the last frame on a
6559         given terminal.
6561 2011-09-13  Glenn Morris  <rgm@gnu.org>
6563         * help.el (describe-key-briefly): Copy previous standard-output change.
6565 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
6567         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
6569 2011-09-13  Glenn Morris  <rgm@gnu.org>
6571         * emacs-lisp/lisp-mode.el (lisp-indent-function):
6572         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6574 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
6576         * dired-aux.el (dired-mark-read-string): Don't return default
6577         value on empty input (Bug#9361).
6578         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6579         Omit initial minibuffer contents.
6580         (dired-do-chmod): Signal an error on empty input.
6581         (dired-mark-read-string): Don't return default on empty input.
6583         * files.el (file-modes-symbolic-to-number): Doc fix.
6585 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6587         * international/mule-cmds.el (ucs-completions): Remove.
6588         (read-char-by-name): Use complete-with-action instead; add metadata.
6590 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
6592         * window.el (display-buffer--action-function-custom-type)
6593         (display-buffer--action-custom-type): New vars.
6594         (display-buffer-alist, display-buffer-default-action)
6595         (display-buffer-overriding-action): Add defcustom types.
6597         * frame.el (delete-other-frames): Doc fix (Bug#276).
6599 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6601         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6603 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
6605         Change modes that used same-window-* vars to use switch-to-buffer.
6607         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6608         Use switch-to-buffer.
6610         * cus-edit.el (customize-group, custom-buffer-create)
6611         (customize-browse, custom-buffer-create-other-window):
6612         Use switch-to-buffer or switch-to-buffer-other-window.
6614         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6615         (Info-prev, Info-up, Info-speedbar-goto-node)
6616         (info-display-manual): Use switch-to-buffer.
6617         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6619         * mail/sendmail.el (mail): Use switch-to-buffer.
6620         (mail-recover): Use switch-to-buffer-other-window.
6622         * cmuscheme.el (run-scheme, switch-to-scheme):
6623         * ielm.el (ielm):
6624         * shell.el (shell):
6625         * net/rlogin.el (rlogin):
6626         * net/telnet.el (telnet, rsh):
6627         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6629 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
6631         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6633 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6635         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6636         so don't mention it (bug#9301).
6637         (dired-sort-toggle-or-edit): Clarify string further.
6639         * faces.el (face-spec-set-match-display): Make `(type graphic)'
6640         match `x', `w32' and `ns', like the manual says (bug#9029).
6642         * subr.el (eval-after-load): Doc string clarification (bug#9125).
6643         (process-kill-buffer-query-function): Mention the buffer name in
6644         the query.
6646         * image-mode.el (image-next-line): The line parameter is mandatory
6647         (bug#9258).
6649         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6650         which can be useful (bug#9301).
6652         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6654         * subr.el (match-string): Mention that the current buffer should
6655         be the same as the search was done in (bug#9282).
6657         * facemenu.el: Disable the remove-* commands if the mark isn't
6658         active (bug#9162).
6660 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
6662         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6663         of display-buffer.
6664         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6666         * replace.el (occur-mode-goto-occurrence)
6667         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6668         and display-buffer.
6670         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6671         display-buffer.
6673         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6674         special-display and same-window variables.
6675         (mail-other-window): Use switch-to-buffer-other-window.
6676         (mail-other-frame): USe switch-to-buffer-other-frame.
6678         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6679         Use display-buffer-other-frame.
6680         (gdb-display-gdb-buffer): Use pop-to-buffer.
6682         * progmodes/gud.el (gud-goto-info): Use info-other-window.
6684         * progmodes/python.el: Don't set same-window-buffer-names.
6686         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6688         * window.el (display-buffer-alist): Add *Python*.
6690 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
6692         * window.el (display-buffer-alist): Add entry for buffers
6693         previously handled same-window-*.
6694         (display-buffer-alist, display-buffer-default-action)
6695         (display-buffer-overriding-action): Mark as risky.
6696         (display-buffer-alist): Document action function changes.
6697         (display-buffer--same-window-action)
6698         (display-buffer--other-frame-action): New variables.
6699         (switch-to-buffer, display-buffer-other-frame): Use them.
6700         (display-buffer): Rename reuse-frame entry to reusable-frames.
6701         (display-buffer-reuse-selected-window): Function deleted.
6702         (display-buffer-reuse-window): Handle reusable-frames alist entry.
6703         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6704         (display-buffer-special): New function.
6705         (display-buffer--maybe-pop-up-frame-or-window): Rename from
6706         display-buffer-reuse-or-pop-window.  Split off special-display
6707         part into display-buffer-special.
6708         (display-buffer-use-some-window): Don't perform any special
6709         pop-up-frames handling.
6710         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
6711         (display-buffer--maybe-same-window): Rename from
6712         display-buffer-maybe-same-window.
6714         * info.el: Don't set same-window-regexps.
6715         (info-setup): New function.
6716         (info-other-window, info): Call it.
6718         * cus-edit.el: Don't set same-window-regexps.
6719         (customize-group): New argument.
6720         (customize-group-other-window): Use it.
6721         (customize-face, customize-face-other-window): Likewise.
6722         (custom-buffer-create-other-window): Use pop-to-buffer directly.
6724         * net/rlogin.el:
6725         * net/telnet.el:
6726         * progmodes/gud.el: Don't set same-window-regexps.
6728         * cmuscheme.el:
6729         * ielm.el:
6730         * shell.el:
6731         * mail/sendmail.el:
6732         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6734 2011-09-10  Juri Linkov  <juri@jurta.org>
6736         * isearch.el (isearch-edit-string): Remove obsolete mention of
6737         `C-w' (`isearch-yank-word-or-char') from docstring.
6738         (isearch-query-replace): Fix typo in docstring (bug#9466).
6740 2011-09-10  Juri Linkov  <juri@jurta.org>
6742         * paren.el (show-paren-function): Don't show escaped parens.
6743         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
6745 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
6747         * mail/sendmail.el (mml-to-mime, mml-attach-file)
6748         (mm-default-file-encoding): Remove autoload forms, they are
6749         replaced with autoload cookies in mml.el and mm-encode.el.
6750         (mail-add-attachment): New command.
6751         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6752         (mail-mode): Mention mail-insert-file and mail-add-attachment in
6753         the doc string.
6754         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6756 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
6758         * simple.el (count-words-region): Use buffer if there's no region
6759         (bug#9429).
6761 2011-09-09  Juri Linkov  <juri@jurta.org>
6763         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6764         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6765         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
6767 2011-09-09  Alan Mackenzie  <acm@muc.de>
6769         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6770         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
6772 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
6774         Fix for Savannah bug#9392.
6775         * simple.el (mail-encode-mml): New defvar.
6777         * mail/rmail.el (mail-encode-mml): Add a defvar.
6778         (rmail-enable-mime-composing): Default to t.
6779         (rmail-forward): Use MIME method of forwarding only if both
6780         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6781         Set mail-encode-mml non-nil if the MIME method was used.
6783         * mail/sendmail.el (mml-to-mime): Add autoload form.
6784         (mail-encode-mml): Add a defvar.
6785         (mail-mode): Make mail-encode-mml buffer-local and initialize it
6786         to nil.
6787         (mail-send): If mail-encode-mml is non-nil, run the outgoing
6788         message through mml-to-mime, and reset mail-encode-mml to nil.
6790 2011-09-09  Glenn Morris  <rgm@gnu.org>
6792         * woman.el (woman-if-body): When processing an .el block,
6793         do not delete the next .el block as well.  (Bug#9447)
6794         (woman-special-characters): Add oq, cq, and hy characters.
6796 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6798         * window.el (window-deletable-p): Make sure window is live before
6799         invoking window-prev-buffers.
6801 2011-09-08  Leo Liu  <sdl.web@gmail.com>
6803         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
6805 2011-09-08  Juri Linkov  <juri@jurta.org>
6807         * progmodes/compile.el (compilation-environment): Make it
6808         a defcustom (bug#8340).
6810 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
6812         * window.el (frame-auto-delete): Rename to window-auto-delete.
6813         Make it control auto-deletion of windows and/or frames.
6814         (window-deletable-p): New argument FORCE.  Rewrite conditions
6815         for deleting window/frame.  (Bug#9419)
6816         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6817         Rewrite handling of case when window/frame can be deleted.
6818         (delete-windows-on): Call window-deletable-p with new FORCE
6819         argument t.  (Bug#9456)
6821 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
6823         * help-mode.el (help-mode): Restore autoload.
6825 2011-09-07  Juri Linkov  <juri@jurta.org>
6827         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6828         `compilation-environment'.  Set buffer-local
6829         `compilation-environment' to `thisenv' later after (funcall mode).
6830         (Bug#8340)
6832         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
6833         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6834         instead of replacing its value.  (Bug#8340)
6836 2011-09-07  Juri Linkov  <juri@jurta.org>
6838         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6839         based on text properties put by `grep-filter' instead of matching
6840         escape sequences.
6841         (grep-mode): Set buffer-local `compilation-error-screen-columns'
6842         to the value of `grep-error-screen-columns' (bug#9438).
6844 2011-09-07  Juri Linkov  <juri@jurta.org>
6846         * simple.el (next-error-highlight, next-error-highlight-no-select):
6847         Doc fix (bug#9432).
6849 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
6851         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6852         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
6854 2011-09-07  Leo Liu  <sdl.web@gmail.com>
6856         * net/rcirc.el (rcirc-mode): Conditionally initialize
6857         rcirc-input-ring.
6859 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6861         * emacs-lisp/find-func.el (find-function-C-source): Only set
6862         find-function-C-source-directory after checking that we found a source
6863         file there (bug#9440).
6865 2011-09-06  Alan Mackenzie  <acm@muc.de>
6867         * isearch.el (isearch-other-meta-char): Wherever a key list is
6868         unread, "unread" the prefix arg, too.  This fixes bug #8901.
6870 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6872         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6874 2011-09-05  Juri Linkov  <juri@jurta.org>
6876         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6878 2011-09-05  Juri Linkov  <juri@jurta.org>
6880         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6881         keeping point where processing of grep matches begins, and
6882         continue to delete remaining escape sequences from the same point.
6883         (grep-filter): Make leading zero optional in "0?1;31m" because
6884         git-grep emits "\033[1;31m" escape sequences unlike expected
6885         "\033[01;31m" as GNU Grep does (bug#9408).
6886         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6888 2011-09-05  Juri Linkov  <juri@jurta.org>
6890         * subr.el (y-or-n-p): Capitalize "yes".
6892 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
6894         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
6895         `tramp-cache-unload-hook' where appropriate.
6896         (tramp-methods): Rename `tramp-remote-sh' to
6897         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
6898         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6900         * net/tramp-sh.el (top): Don't require 'shell.
6901         (tramp-methods): Add `tramp-remote-shell' and
6902         `tramp-remote-shell-args' entries.
6903         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6904         (tramp-sh-handle-shell-command): Remove.
6905         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6906         Use `tramp-remote-shell'.
6908 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
6910         * mail/sendmail.el (sendmail-query-once-function): Delete.
6911         (sendmail-query-once): Save directly to send-mail-function.
6912         Update message-send-mail-function too.
6914         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6916 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6918         * progmodes/python.el (python-mode-map): Use correct function to
6919         start python interpreter from menu-bar (as reported by Geert
6920         Kloosterman).
6921         (inferior-python-mode-map): Fix typo.
6922         (python-shell-map): Remove.
6924 2011-09-03  Deniz Dogan  <deniz@dogan.se>
6926         * net/rcirc.el (rcirc-print): Simplify code for
6927         rcirc-scroll-show-maximum-output.  There is no need to walk
6928         through all windows to find the right one.
6930 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
6932         * help.el (help-return-method): Doc fix.
6934 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
6936         * window.el (window-deletable-p): Don't return a non-nil value
6937         when there's a buffer that was shown in the window before.
6938         (Bug#9419)
6939         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6940         Set window's previous buffers to nil.
6942 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
6944         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6945         newline before and after the tag line, so it doesn't interfere
6946         with determining the paragraph direction of bidirectional text.
6948 2011-09-03  Leo Liu  <sdl.web@gmail.com>
6950         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
6952 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6954         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
6955         (pop-to-buffer): Change interactive spec.  Pass second argument
6956         directly to display-buffer.
6957         (display-buffer): Fix interactive spec.  Use functionp to
6958         distinguish between a function and a list of functions.
6960         * abbrev.el (edit-abbrevs):
6961         * arc-mode.el (archive-extract):
6962         * autoinsert.el (auto-insert):
6963         * bookmark.el (bookmark-bmenu-list):
6964         * files.el (find-file):
6965         * view.el (view-buffer):
6966         * progmodes/compile.el (compilation-goto-locus):
6967         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6969 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
6971         * window.el (display-buffer-alist): Doc fix.
6972         (display-buffer): Add docstring.  Don't treat
6973         display-buffer-default specially.
6974         (display-buffer-reuse-selected-window)
6975         (display-buffer-same-window, display-buffer-maybe-same-window)
6976         (display-buffer-reuse-window, display-buffer-pop-up-frame)
6977         (display-buffer-pop-up-window)
6978         (display-buffer-reuse-or-pop-window)
6979         (display-buffer-use-some-window): New functions.
6980         (display-buffer-default-action): Use them.
6981         (display-buffer-default): Delete.
6982         (pop-to-buffer-1): Fix choice of actions.
6984 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6986         * minibuffer.el (completion--insert-strings): Don't get confused by
6987         completion entries that end with an LF char.
6989 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
6991         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6993 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
6995         * window.el (display-buffer): Restore interactive spec.
6996         (display-buffer-same-window, display-buffer-other-window):
6997         New functions.
6998         (pop-to-buffer-1): New function.  Use the above.
6999         (pop-to-buffer, pop-to-buffer-same-window): Use it.
7000         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7002         * view.el (view-buffer-other-window, view-buffer-other-frame):
7003         Just use pop-to-buffer.
7005 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7007         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
7009 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
7011         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
7013 2011-08-31  Richard Stallman  <rms@gnu.org>
7015         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7016         of the separation of rmail-view-buffer from rmail-buffer.
7017         If you say no to "replace original", the decrypt is in the
7018         view buffer.  If you say yes, the decrypt goes into the
7019         rmail buffer also.
7021 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
7023         * window.el (display-buffer-window): Rewrite doc-string.
7024         (display-buffer-record-window): New function.
7025         (display-buffer-macro-specifiers)
7026         (display-buffer-even-window-sizes, display-buffer-set-height)
7027         (display-buffer-set-width, display-buffer-in-window)
7028         (display-buffer-reuse-window, display-buffer-split-specifiers)
7029         (display-buffer-side-specifiers, display-buffer-split-window-1)
7030         (display-buffer-split-window, display-buffer-split-atom-window)
7031         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7032         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7033         (display-buffer-other-window-means-other-frame)
7034         (display-buffer-normalize-special)
7035         (display-buffer-normalize-default)
7036         (display-buffer-normalize-argument)
7037         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7038         (display-buffer-normalize-specifiers, display-buffer-frame)
7039         (display-buffer-same-window, display-buffer-same-frame)
7040         (display-buffer-other-window)
7041         (display-buffer-same-frame-other-window)
7042         (display-buffer-other-frame, pop-to-buffer-same-window)
7043         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7044         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7045         (switch-to-buffer-same-frame)
7046         (switch-to-buffer-other-window-same-frame)
7047         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7048         (display-buffer-alist-set-1, display-buffer-alist-set-2)
7049         (display-buffer-alist-set): Remove.
7050         (display-buffer-function, special-display-buffer-names)
7051         (special-display-regexps, special-display-function):
7052         In doc-string refer to display-buffer-window and quit-restore
7053         parameter.
7054         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7055         (special-display-frame-alist, special-display-popup-frame)
7056         (same-window-buffer-names, same-window-regexps, same-window-p)
7057         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7058         (split-window-preferred-function, split-height-threshold)
7059         (split-width-threshold, window-splittable-p)
7060         (split-window-sensibly, window--try-to-split-window)
7061         (window--frame-usable-p, even-window-heights)
7062         (window--even-window-heights, window--display-buffer-1)
7063         (window--display-buffer-2, display-buffer-other-frame):
7064         Restore old Emacs 23 code, order and doc-strings where applicable.
7065         (display-buffer-default, display-buffer-assq-regexp): New functions.
7066         (display-buffer-alist): Rewrite doc-string.
7067         (display-buffer-default-action)
7068         (display-buffer-overriding-action): New variables.
7069         (display-buffer, switch-to-buffer): Rewrite.
7070         (pop-to-buffer): Restore Emacs 23 behavior but use
7071         window-normalize-buffer-to-display.
7072         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7073         Restore Emacs 23 behavior but use
7074         window-normalize-buffer-to-switch-to.
7075         (pop-to-buffer-same-window): Rewrite.
7076         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7077         Rewrite using Emacs 23 options.
7079 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
7081         * net/tramp.el (tramp-root-regexp): Remove.
7082         (tramp-completion-file-name-regexp-unified)
7083         (tramp-completion-file-name-regexp-separate)
7084         (tramp-completion-file-name-regexp-url): Don't use leading volume
7085         letter on win32 systems.  (Bug#5303, Bug#9311)
7086         (tramp-drop-volume-letter): Simplify definition.
7087         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7089 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7091         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7092         (bug#9356).
7094 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
7096         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7098 2011-08-29  Juri Linkov  <juri@jurta.org>
7100         * isearch.el (isearch-done): Don't display message "Mark saved"
7101         when arg `edit' is non-nil to prevent its flicker in the echo area.
7103 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
7105         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7106         obsolete packages for deletion.
7108 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
7110         * help-mode.el (help-mode-map): Add special-mode-map to parent.
7111         (help-mode): Derive help-mode from special-mode.  Don't invoke
7112         view-mode from help-mode.
7113         (help-xref-override-view-map): Remove.
7114         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7115         view-mode is not used anymore.
7117 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
7119         * server.el (server-port): Doc fix.
7121         * cus-theme.el (custom-theme-choose-mode): Inherit from
7122         special-mode (Bug#9124).
7123         (custom-theme-choose-mode-map): Add special-mode to parent.
7125 2011-08-28  Alan Mackenzie  <acm@muc.de>
7127         * progmodes/cc-fonts.el
7128         (c-make-font-lock-BO-decl-search-function): New function.
7129         (c-basic-matchers-after - "Fontify the clauses after various
7130         keywords"): Extract the three keyword lists for the 3 erroneous
7131         constructs from the list of four, and use the new function above
7132         in place of an old one.
7134 2011-08-28  Deniz Dogan  <deniz@dogan.se>
7136         * net/rcirc.el (rcirc-insert-prev-input)
7137         (rcirc-insert-next-input): Remove unused argument.
7139 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7141         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7143 2011-08-27  Alan Mackenzie  <acm@muc.de>
7145         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7146         handle function pointer parameters properly.
7148 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
7150         * window.el (display-buffer-reuse-window): Fix case where
7151         selected window was reused with non-nil OTHER-WINDOW argument.
7152         (Bug#9381)
7154 2011-08-27  Deniz Dogan  <deniz@dogan.se>
7156         * net/rcirc.el (rcirc-check-auth-status): Adding support for
7157         oftc's NickServ messages.
7159 2011-08-27  Glenn Morris  <rgm@gnu.org>
7161         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
7163 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
7165         * emacs-lisp/package.el (package-install): Call package-initialize
7166         if called interactively.
7168 2011-08-26  Leo Liu  <sdl.web@gmail.com>
7170         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
7172 2011-08-25  Juri Linkov  <juri@jurta.org>
7174         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7175         `search-whitespace-regexp' (bug#9364).
7177 2011-08-25  Juri Linkov  <juri@jurta.org>
7179         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7180         `regexp-search-ring' to their global values to protect from
7181         updating by `read-from-minibuffer' (bug#9185).
7183 2011-08-25  Juri Linkov  <juri@jurta.org>
7185         * textmodes/ispell.el (ispell-command-loop): Add newline
7186         at the end of the "Use option `i'..." line.
7188 2011-08-25  Juri Linkov  <juri@jurta.org>
7190         * battery.el (display-battery-mode): If `battery-status-function'
7191         or `battery-mode-line-format' is nil, display the message and set
7192         `display-battery-mode' to nil (bug#9363).
7194 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
7196         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7197         bidi-string-mark-left-to-right; they are unnecessary now.
7199 2011-08-25  Deniz Dogan  <deniz@dogan.se>
7201         * net/quickurl.el: Documentation typo fixes.
7203 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
7205         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7207 2011-08-25  Glenn Morris  <rgm@gnu.org>
7209         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7211         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7212         (smtpmail-via-smtp): Handle nil response from smtp.
7214 2011-08-24  Juri Linkov  <juri@jurta.org>
7216         * proced.el (proced-marked): Inherit from `error' instead of
7217         `font-lock-warning-face'.
7219         * ibuffer.el (ibuffer-marked-face): Change default face from
7220         `font-lock-warning-face' to `warning'.
7221         (ibuffer-deletion-face): Change default face from
7222         `font-lock-type-face' to `error'.
7224         * battery.el (battery-update): Use the face `error' instead of
7225         `font-lock-warning-face' (bug#6117).
7227 2011-08-24  Juri Linkov  <juri@jurta.org>
7229         * faces.el (success): Change face color from "Green3" to
7230         "ForestGreen" on light background (bug#9353).
7232 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
7234         * window.el (quit-window): Rename from quit-restore-window.
7235         Use same arglist as old quit-window.
7236         (frame-auto-delete): Doc fix.
7238         * view.el (view-mode-exit): Use quit-window.
7240 2011-08-24  Juri Linkov  <juri@jurta.org>
7242         * isearch.el (isearch-ring-adjust1): Start visiting previous
7243         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7244         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7245         for empty search string (when the last search string is reused
7246         automatically) to adjust the isearch ring to the last element and
7247         prepare the correct index for further M-p commands (bug#9185).
7249 2011-08-24  Kenichi Handa  <handa@m17n.org>
7251         * international/ucs-normalize.el: If decomposition property of
7252         CHAR is the default one (i.e. a list of CHAR itself), treat it as
7253         nil.
7254         (nfd, nfkd): Likewise.
7256 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7258         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7259         from process filters aren't reliably transmitted to the surrounding
7260         accept-process-output.
7261         (mpc-proc-check): New function.
7262         (mpc-proc-sync): Use it (bug#8293)
7264 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7266         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7267         Add compatibility functions (bug#9313).
7269 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
7271         * cus-start.el (all): Add entry for bidi-paragraph-direction.
7273         * international/uni-bidi.el: Regenerate.
7275 2011-08-23  Kenichi Handa  <handa@m17n.org>
7277         * international/charprop.el:
7278         * international/uni-bidi.el:
7279         * international/uni-category.el:
7280         * international/uni-combining.el:
7281         * international/uni-comment.el:
7282         * international/uni-decimal.el:
7283         * international/uni-decomposition.el:
7284         * international/uni-digit.el:
7285         * international/uni-lowercase.el:
7286         * international/uni-mirrored.el:
7287         * international/uni-name.el:
7288         * international/uni-numeric.el:
7289         * international/uni-old-name.el:
7290         * international/uni-titlecase.el:
7291         * international/uni-uppercase.el: Regenerate.
7293 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
7295         * help.el (help-window-setup): Fix message displayed when other
7296         window is reused.  (Bug#9341)
7298 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7300         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7301         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7303         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7304         Mark obsolete.
7305         * shell.el (shell-parse-pcomplete-arguments): New function.
7306         (shell-completion-vars): Use it instead (bug#9160).
7308 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7310         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7311         strings and comments (bug#9333).
7313         * emacs-lisp/debug.el (debug-arglist): New function.
7314         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
7315         (debug-on-entry-1): Handle interpreted closures (bug#9120).
7317 2011-08-22  Juri Linkov  <juri@jurta.org>
7319         * progmodes/compile.el (compilation-mode-font-lock-keywords):
7320         Revert regexp that highlights output switches to its old
7321         pre-2010-10-28 value and remove one `?' from it (bug#9319).
7323         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7324         to check for empty output (bug#9226).
7326 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
7328         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7329         symbol-constituent as the default, as that stops font-lock from
7330         working properly (Bug#8843).
7332 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7334         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7335         `coding-system-for-*' around the process open call to avoid
7336         auth-source side effects.
7337         (smtpmail-try-auth-methods): Expand the secret password.
7338         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7339         probe hangs.
7341 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
7343         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7345         * emacs-lisp/find-func.el (find-function-noselect): New arg
7346         lisp-only.
7348         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7349         signal an error for built-in functions (Bug#6664).
7351 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7353         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7354         (smtpmail-try-auth-methods): Use it.
7356 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
7358         * font-lock.el (font-lock-fontify-region)
7359         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7360         (font-lock-default-unfontify-buffer)
7361         (font-lock-default-fontify-region)
7362         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7364         * progmodes/compile.el (compilation-error-properties):
7365         Fix confusion between file struct and message struct (Bug#9319).
7366         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7367         `ant' regexp.
7369         * net/browse-url.el (browse-url-firefox): Don't call
7370         browse-url-firefox-sentinel unless using -remote (Bug#9328).
7372 2011-08-20  Glenn Morris  <rgm@gnu.org>
7374         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7376         * tutorial.el (tutorial--default-keys): Update some default bindings.
7378         * files.el (hack-local-variables): Fully ignore case for "mode:".
7380 2011-08-20  Alan Mackenzie  <acm@muc.de>
7382         Resolve invalid use of a regexp in regexp-opt.
7384         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7385         detection for a java annotation.
7387         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7388         detection for a java annotation.
7390         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7391         handling for java.
7392         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7394 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
7396         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7397         (Bug#9274).
7399 2011-08-20  Alan Mackenzie  <acm@muc.de>
7401         Fontify CPP expressions correctly when starting in the middle of
7402         such a construct.  Mainly for when jit-lock etc. starts a chunk
7403         here.
7405         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7406         variable.
7407         (c-make-font-lock-search-form): New function, extracted from
7408         c-make-font-lock-search-function.
7409         (c-make-font-lock-search-function): Use the above function.
7410         (c-make-font-lock-context-search-function): New function.
7411         (c-cpp-matchers): Enhance the preprocessor expression case with
7412         the above function
7413         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7414         which takes an expression.
7416         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7418 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
7420         * window.el (display-buffer-reuse-window)
7421         (display-buffer-pop-up-window): Don't reuse or split a side
7422         window.
7424 2011-08-19  Glenn Morris  <rgm@gnu.org>
7426         * files.el (hack-local-variables-prop-line, hack-local-variables):
7427         Downcase "Mode:".  (Bug#9331)
7429 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
7431         * international/characters.el: Add L and R categories.
7433         * subr.el (bidi-string-mark-left-to-right): Rename from
7434         string-mark-left-to-right.  Use category search.
7436         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7438 2011-08-18  Juri Linkov  <juri@jurta.org>
7440         * faces.el (error, warning, success): New faces with definitions
7441         copied from old default values of `font-lock-warning-face',
7442         `compilation-warning', `compilation-info' (bug#6117).
7444         * font-lock.el (font-lock-warning-face): Inherit from `error'.
7446         * progmodes/compile.el (compilation-error): Inherit from `error'.
7447         (compilation-warning): Inherit from `warning'.
7448         (compilation-info): Inherit from `success'.
7450         * dired.el (dired-marked): Inherit from `warning'.
7451         (dired-flagged): Inherit from `error'.
7453 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7455         * mail/smtpmail.el (auth-source): Require to avoid problems with
7456         binding variables (bug#9298).  Also clean up some unused
7457         autoloads.
7459         * net/network-stream.el (network-stream-open-starttls):
7460         Support using starttls.el without using gnutls-cli.
7462 2011-08-17  Juri Linkov  <juri@jurta.org>
7464         * progmodes/grep.el (rgrep): Handle the case when
7465         `grep-find-command' is a cons cell (bug#9278).
7467 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
7469         * window.el (display-buffer-pop-up-frame): Run frame creation
7470         function with BUFFER current (as special-display-popup-frame
7471         does).  Reported by Drew Adams.
7473 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
7475         * epa-mail.el: Simplify GnuPG group expansion using
7476         epg-expand-group.
7477         (epa-mail-group-alist, epa-mail-group-modtime)
7478         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7479         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7480         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7481         Remove.
7483 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
7485         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7487 2011-08-16  Alan Mackenzie  <acm@muc.de>
7489         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7490         Correct, to avoid the inside of macros.
7492 2011-08-16  Richard Stallman  <rms@gnu.org>
7494         * epa-mail.el: Handle GnuPG group definitions.
7495         (epa-mail-group-alist, epa-mail-group-modtime)
7496         (epa-mail-gnupg-conf-file): New variables.
7497         (epa-mail-parse-groups, epa-mail-sync-groups)
7498         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7499         (epa-mail-expand-recipients): New functions.
7500         (epa-mail-encrypt): Call epa-mail-expand-recipients.
7502         * mail/rmail.el (rmail-epa-decrypt): New command.
7504         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7505         Don't bind buffer-read-only, just inhibit-read-only.
7506         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7507         (epa-decrypt-armor-in-region): Make error message clearer.
7509 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7511         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7512         and "a2b" to "ab" for `prefix'.
7514 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
7516         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7517         filter groups.
7518         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
7519         Fourquet (Bug#8804).
7521 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
7523         * startup.el (argi): Declare as global variable (bug#9275).
7525 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
7527         * subr.el (string-mark-left-to-right): Search the entire string
7528         for RTL script, not just the terminating character.  Doc fix.
7530 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7532         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7533         New function.
7534         (js--regexp-literal, js-syntax-propertize-function): Remove.
7535         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7536         (js-mode-map): Don't rebind electric keys.
7537         (js-insert-and-indent): Remove.
7538         (js-mode): Setup electric-layout and electric-indent instead.
7540         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7542 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
7544         * epa.el (epa-progress-callback-function): Fix the logic of
7545         displaying progress.
7546         * epa-file.el (epa-file-insert-file-contents): Make progress
7547         display more user-friendly.
7548         (epa-file-write-region): Ditto.
7550 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
7552         * subr.el (string-mark-left-to-right): New function.
7554         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7555         Use string-mark-left-to-right.
7556         (list-buffers-noselect): Caller changed.
7558         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7559         Use string-mark-left-to-right.
7560         (tabulated-list-print): Recenter after moving point.
7562 2011-08-10  Juri Linkov  <juri@jurta.org>
7564         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7565         This finishes incomplete reversion of revno:104787 (2011-06-30)
7566         intended by revno:104988 (2011-07-06).
7568 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
7570         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7571         (Bug#7554).
7573 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7575         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7576         character.  (Bug#6594)
7578 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
7580         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7581         (image-dired--with-db-file): New macro.
7582         (image-dired-write-tags, image-dired-remove-tag)
7583         (image-dired-create-gallery-lists, image-dired-write-comments)
7584         (image-dired-get-comment, image-dired-mark-tagged-files)
7585         (image-dired-list-tags, image-dired-gallery-generate): Use it.
7586         (image-dired-gallery-generate): Use insert-file-contents.
7588         * time.el (display-time-world-list, display-time-world-display):
7589         * time-stamp.el (time-stamp-string):
7590         * vc/add-log.el (add-change-log-entry): Use setenv instead of
7591         set-time-zone-rule (Bug#7337).
7593 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
7595         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7596         (epg-error-to-string, epg-errors-to-string): New function.
7597         (epg-wait-for-completion): Reverse errors list.
7598         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7599         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7600         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7601         (epg-sign-keys, epg-generate-key-from-file)
7602         (epg-generate-key-from-string): Format errors by using
7603         epg-errors-to-string (bug#9255).
7604         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7606 2011-08-07  Juri Linkov  <juri@jurta.org>
7608         * faces.el (list-faces-display): Remove extra angle bracket
7609         from `help-mode-map'.
7611         * info.el (Info-history-toc-nodes): Doc fix.
7613         * longlines.el (longlines-mode): Doc fix.
7615 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7617         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7618         of statements and in a few more cases (bug#9183).
7620         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7621         New functions.
7622         (cl-transform-lambda): Use them (bug#9239).
7624 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
7626         * window.el (display-buffer-same-window)
7627         (display-buffer-same-frame, display-buffer-other-window)
7628         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7629         (pop-to-buffer-other-window)
7630         (pop-to-buffer-same-frame-other-window)
7631         (pop-to-buffer-other-frame): Make them defuns.
7632         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7634 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7636         * subr.el (make-composed-keymap): Move from C.  Change calling
7637         convention, and improve docstring to bring attention to a subtle point.
7638         * minibuffer.el (completing-read-default): Adjust accordingly.
7640 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
7642         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7643         (tramp-open-shell): Use `tramp-shell-quote-argument'.
7645         * net/trampver.el: Update release number.
7647 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7649         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7650         "in" (bug#9190).
7652 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7654         * mail/sendmail.el (sendmail-query-once): Restore the current
7655         buffer after querying (bug#9074).
7657         * dired.el (dired-flagged): Use different faces for marked and
7658         flagged files (bug#6117).
7660         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7661         (bug#4433).
7663         * ido.el (ido-mode): Switch off the message if called
7664         non-interactively.
7666         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7667         before 587, since it appears that that's more likely to work for
7668         more people.
7670         * cus-edit.el (custom-file): When running under emacs -q, always
7671         refuse to save the customizations, even if the .emacs file doesn't
7672         exist.
7674         * info.el: Remove the `Info-beginning-of-buffer' function
7675         (bug#8325).
7677         * net/network-stream.el (network-stream-open-starttls):
7678         Use `starttls-available-p' to see whether starttls.el can be used.
7680 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
7682         * window.el (display-buffer-in-window): Don't set dedicated status
7683         of window here (Bug#9215).
7684         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7685         (display-buffer-pop-up-side-window)
7686         (display-buffer-in-side-window): Set dedicated status of window here.
7688 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7690         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7691         before binding generated-autoload-file.
7693 2011-08-01  Deniz Dogan  <deniz@dogan.se>
7695         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7697 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
7699         Sync with Tramp 2.2.2.
7701         * net/trampver.el: Update release number.
7703 2011-07-30  Juri Linkov  <juri@jurta.org>
7705         * dired-aux.el (dired-touch-initial): Remove function.
7706         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7707         current time, and `default' to the last modification time of the
7708         current marked file (bug#6887).
7710 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
7712         * simple.el (goto-line): Use string-to-number to provide a
7713         numeric argument to read-number (bug#9163).
7715 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
7717         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7718         connection process, it could be nil.
7720 2011-07-27  Leo Liu  <sdl.web@gmail.com>
7722         Simplify url handling in rcirc-mode.
7724         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7725         (rcirc-browse-url-at-mouse): Remove.
7726         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7728 2011-07-26  Alan Mackenzie  <acm@muc.de>
7730         Fontify bitfield declarations properly.
7732         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7733         (c-symbol-chars): Now exported as a lang variable.
7734         (c-not-primitive-type-keywords): New lang variable.
7736         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7737         QT keyword "more" to prevent "more slots: ...." being spuriously
7738         parsed as a bitfield declaration.
7740         * progmodes/cc-engine.el (c-beginning-of-statement-1):
7741         Refactor and enhance to handle bitfield declarations.
7742         (c-punctuation-in): New function.
7743         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7744         declarations properly.
7746 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
7748         * calendar/icalendar.el (icalendar--all-events): Take care of
7749         multiple vcalendars in a single file.
7750         (icalendar--convert-float-to-ical): Checkdoc fixes.
7752 2011-07-25  Deniz Dogan  <deniz@dogan.se>
7754         * image.el (insert-image): Clarifying docstring.
7756 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
7758         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7759         `tramp-send-command-and-check' if there is no error.
7760         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7762 2011-07-22  Alan Mackenzie  <acm@muc.de>
7764         Prevent cc-langs.elc being loaded at run time.
7766         * progmodes/cc-mode.el: Remove two autoload forms which loaded
7767         cc-langs.
7769         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
7770         "(require 'cc-langs)".  Quote a form so it will evaluate at
7771         (cc-mode's) compilation time.
7773 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
7775         * net/tramp.el (tramp-file-name-handler): Avoid recursive
7776         loading.  (Bug#9114)
7778 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
7780         * window.el (display-buffer-pop-up-window)
7781         (display-buffer-pop-up-side-window)
7782         (display-buffer-in-side-window): Call display-buffer-set-height
7783         and display-buffer-set-width after setting the new window's
7784         buffer so `fit-window-to-buffer' and friends work on the right buffer.
7786 2011-07-20  Sam Steingold  <sds@gnu.org>
7788         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7789         (etags-tags-included-tables): Call `convert-standard-filename' on
7790         the file names contained in TAGS so that windows Emacs can handle
7791         TAGS files created by cygwin ctags.
7793 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7795         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7796         which apparently didn't work.
7798 2011-07-19  Roland Winkler  <winkler@gnu.org>
7800         * proced.el (proced-send-signal): For *Marked Processes* buffer
7801         put point at beginning of buffer.
7803 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
7805         * proced.el (proced-format): Make header lines align with the text
7806         (bug#1779).
7808 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7810         * view.el (view-buffer): Allow running in `special' modes if we're
7811         visiting a file (bug#8615).
7813 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
7815         * window.el (display-buffer-alist-of-strings-p)
7816         (display-buffer-alist-set-1, display-buffer-alist-set-2):
7817         New functions.
7818         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7819         more accurately.
7821 2011-07-18  Alan Mackenzie  <acm@muc.de>
7823         Fontify declarators properly when, e.g., a jit-lock chunk begins
7824         inside a declaration.
7826         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7828         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7829         New function.
7830         (c-complex-decl-matchers): Insert reference to
7831         c-font-lock-enclosing-decls.
7833         * progmodes/cc-engine.el (c-backward-single-comment):
7834         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7835         to nil around calls to (forward-comment -1).
7837 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7839         * image.el (put-image): Doc typo fix.
7841         * progmodes/etags.el (tags-search): Doc typo fix.
7843         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7844         password if we get errors 550 to 554.
7846 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7848         * net/gnutls.el (gnutls-log-level): Remove.
7850         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7851         indentation character (bug#6380).
7853         * files.el (buffer-offer-save): Made permanently local (bug#6241).
7855         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7856         to clarify what the problem is (bug#4291).
7858         * simple.el (current-kill): Clarify what
7859         `interprogram-paste-function' does (bug#7500).
7860         (auto-fill-mode): Document `auto-fill-function' in relation to
7861         `auto-fill-mode' (bug#2470).
7863 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
7865         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7866         method if slot is read-only (bug#9035).
7868 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
7870         * frame.el (select-frame-set-input-focus): New argument NORECORD.
7871         * window.el (pop-to-buffer): Select window used even if it was
7872         selected before, see discussion of (Bug#8615), (Bug#6954).
7873         Pass argument NORECORD on to select-frame-set-input-focus.
7875 2011-07-15  Glenn Morris  <rgm@gnu.org>
7877         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
7878         Respect help-form.
7880 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
7882         * net/gnutls.el (gnutls-min-prime-bits): New variable.
7883         (gnutls-negotiate): Use it.
7885 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7887         * net/gnutls.el (gnutls-negotiate):
7888         Upcase `gnutls-algorithm-priority'.
7890 2011-07-15  Glenn Morris  <rgm@gnu.org>
7892         * jka-compr.el (jka-compr-verbose): Move from here...
7893         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
7894         Add missing :version tag.
7895         * info.el: No need to require jka-compr when compiling.
7897 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7899         * net/gnutls.el (gnutls-algorithm-priority): New variable.
7900         (gnutls-negotiate): Use it.
7902         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7904         * info.el (Info-beginning-of-buffer): New command.
7905         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7906         announcing `b' as the key (bug#8325).
7907         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
7909         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7911         * international/mule-cmds.el
7912         (describe-specified-language-support): Make the error message
7913         clearer (bug#8905).
7915         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7917         * isearch.el (isearch-barrier): Add a doc string, since it's
7918         mentioned in a function doc string (bug#8678).
7920 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
7922         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7923         buffer argument (Bug#9083) and self-identifying label argument.
7925 2011-07-15  Glenn Morris  <rgm@gnu.org>
7927         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
7929 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7931         * man.el (Man-fontify-manpage): Fix message when formatting the
7932         man page (bug#7929).
7934 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7936         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7937         argument LRM; if non-nil, append an invisible LRM character to the
7938         buffer name.
7939         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7940         last argument non-nil, when formatting buffer names.
7941         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7942         paragraph direction.
7944 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7946         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7947         the man page name (bug#7929).
7949         * image.el (put-image): Mention the `put-image' overlay property
7950         (bug#7834).
7952         * scroll-bar.el (set-scroll-bar-mode): Mention that
7953         `scroll-bar-mode' lists the values (bug#7772).
7955         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7956         command (bug#7729).
7958         * rect.el (apply-on-rectangle): Return the point after the last
7959         operation.
7960         (string-rectangle): Go to the point after the last operation
7961         (bug#7522).
7963         * printing.el (pr-toggle-region): Clarify the documentation
7964         slightly (bug#7493).
7966         * time.el (display-time-update):
7967         Allow `display-time-mail-function' to return nil (bug#7158).
7968         Fix suggested by Detlev Zundel.
7970         * vc/diff.el (diff): Clarify the order the file names are read
7971         (bug#7111).
7973         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7974         the doc string (bug#7015).
7976         * font-lock.el (font-lock-maximum-decoration): Mention what
7977         numeric levels mean (bug#6935).
7979         * startup.el (initial-buffer-choice): Don't mention the `none'
7980         selection, which is against policy.
7982 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
7984         * window.el (display-buffer-normalize-special):
7985         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
7987 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
7989         * subr.el (version<, version<=, version=): Mention "-CVS" and
7990         "-12345" alpha version numbers.
7992 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7994         * bindings.el: Add advertised binding for set-mark-command
7995         (Bug#5772).
7997 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
7999         * bindings.el (mode-line-other-buffer):
8000         * bookmark.el (bookmark-bmenu-2-window):
8001         * bs.el (bs-cycle-next, bs-cycle-previous):
8002         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8003         switch-to-buffer.
8005         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8006         Delete.
8008 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
8010         * follow.el (follow-debug-message, follow-redisplay):
8011         * jka-cmpr-hook.el (with-auto-compression-mode):
8012         Fix typos in docstrings.
8014 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8016         * subr.el (with-silent-modifications): Clarify somewhat what the
8017         macro inhibits (bug#6525).
8019         * simple.el (eval-expression): Note what it does if called
8020         interactively (bug#6495).
8022 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
8024         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8025         Use pop-to-buffer buffer-or-name if it is nil.
8027         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8028         Remove switch-to-buffer.
8030 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8032         * files.el (make-directory): Clarify that an error will be raised
8033         if there's an error (bug#6397).
8035         * startup.el (initial-buffer-choice): Add `none' as a choice
8036         (bug#6234).
8038         * subr.el (add-hook): Clarify section about buffer-local hooks
8039         (bug#6218).
8041         * dired.el (dired-flagged): Clarify doc string (bug#6117).
8043 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
8045         * tabify.el (untabify): Preserve the current column so that point
8046         doesn't move (bug#6032).
8048 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8050         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8051         Rewrite to avoid awkward possessive "s" (bug#5986).
8053 2011-07-13  Glenn Morris  <rgm@gnu.org>
8055         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
8056         (dired-insert-directory): Give a message the first time
8057         if ls is found not to support --dired.
8059 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8061         * simple.el (toggle-truncate-lines): Clarify what is toggled
8062         (bug#5580).  Text by Drew Adams.
8064 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
8066         * simple.el (blink-matching-open): Make the error message from the
8067         last change less verbose.
8069 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
8071         * font-lock.el (font-lock-comment-face): Use the high contrast
8072         "yellow" color for font-lock-comment-face on low color terminals
8073         using a dark background color (bug#4221).
8075 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8077         * dired.el (dired-insert-set-properties): Make the doc string
8078         reflect what it does now (bug#5325).
8080         * simple.el (blink-matching-open): Say that we were unable to find
8081         the match within the limit, if we're limited (bug#5122).
8083         * international/mule-cmds.el (prefer-coding-system): Add an
8084         example (bug#4869).
8086         * progmodes/etags.el (tags-search): Document `file-list-form'
8087         (bug#4731).
8089 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
8091         * net/browse-url.el (browse-url-default-browser)
8092         (browse-url-browser-function): Make the default browser choice a
8093         bit more logical (bug#4300).  Also clean up the doc string.
8095 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
8097         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8098         binary endings (bug#4440).
8100 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8102         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8103         which can be pretty annoying (bug#8971).
8105         * jka-compr.el (jka-compr-verbose): New variable, and use
8106         throughout (bug#8971).
8108         * info.el (Info-find-file): Fall back on the installation
8109         directory if we can't find the info node anywhere else.
8111 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
8113         * vc/vc.el (vc-revert-file):
8114         Don't set file time-stamp in the past.  (Bug#5181)
8116 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8118         * files.el (after-find-file): Give a better error message when
8119         trying to find a symlink that points to a file that doesn't exist
8120         (bug#4398).
8122         * progmodes/cc-vars.el: Remove (probably) misleading comment
8123         (bug#4396).
8125 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
8127         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8129 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
8131         * mouse-sel.el: Hack restoring functionality, while keeping
8132         compatibility with 2010-07-03 changes to mouse selection.
8133         (mouse-sel-primary-overlay): New var.
8134         (mouse-sel-selection-alist): Use it.
8135         (mouse-sel-mode): Doc fix; remove points that are default features
8136         of mouse.el.
8138 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
8140         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8141         Fix previous fix (bug#2490).
8143 2011-07-12  Roland Winkler  <winkler@gnu.org>
8145         * textmodes/bibtex.el (bibtex-initialize):
8146         Use pop-to-buffer-same-window.
8147         (bibtex-search-entries): Fix interactive call.
8149 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8151         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8152         Fontise bytecomp Error lines more correctly (bug#2490).
8153         Fix suggested by Johan BockgÃ¥rd.
8155         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8157         * dired-x.el (dired-guess-default): Use `delete-dups'.
8159 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
8161         * dired.el (dired-mark-prompt):
8162         * dired-aux.el (dired-read-shell-command): Doc fix.
8164 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8166         * mail/sendmail.el (sendmail-query-once):
8167         Use `customize-save-variable' unconditionally, now that it works under
8168         emacs -Q.
8170         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8172         * cus-edit.el (custom-file): Take an optional no-error variable.
8173         (customize-save-variable): Set the variable, and give a warning if
8174         running under "emacs -q".
8176 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
8178         * loadhist.el (unload-feature-special-hooks):
8179         Add `auto-coding-functions', `fill-nobreak-predicate' and
8180         `find-directory-functions' (bug#5327).
8182 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8184         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8186         * cus-edit.el (custom-guess-name-alist): -alist variables should
8187         use the `alist' type (bug#3120).  Suggested by Drew Adams.
8189         * printing.el: Add documentation to all the `pr-toggle-' commands.
8191 2011-07-11  Leo Liu  <sdl.web@gmail.com>
8193         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8194         backends where it makes sense (bug#2623).
8196 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8198         * dired-x.el (dired-guess-default): Remove duplicate shell command
8199         entries (bug#2028).
8200         (dired-guess-default): Fix grammar in doc string (bug#2028).
8201         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8203         * subr.el (remove-duplicates): New conveniency function.
8205 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8207         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8208         (bug#1526).
8210 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
8212         * window.el (display-buffer-normalize-default): Don't invert
8213         meaning of even-window-heights.  Reported by Eli Zaretskii
8214         <eliz@gnu.org>.
8216 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
8218         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8220 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
8222         * window.el (display-buffer): Fix arguments to
8223         display-buffer-reuse-window in last change.
8225         * faces.el (link): Use a less saturated blue on light backgrounds.
8227         * startup.el (fancy-startup-text, fancy-about-text)
8228         (fancy-startup-tail): Use font-lock faces, for background safety.
8230 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
8232         * emulation/viper-cmd.el (viper-change-state-to-vi):
8233         Limit triggering of abbrev expansion (Bug#9038).
8235 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
8237         * window.el (display-buffer-default-specifiers): Remove.
8238         (display-buffer-macro-specifiers): Remove default specifiers.
8239         (display-buffer-alist): Default to nil.
8240         (display-buffer-reuse-window): New optional argument other-window.
8241         (display-buffer-pop-up-window): Allow splitting internal
8242         windows.  Check whether a live window was created.
8243         (display-buffer-other-window-means-other-frame)
8244         (display-buffer-normalize-arguments): Rename to
8245         display-buffer-normalize-argument and rewrite.  Set the
8246         other-window specifier.
8247         (display-buffer-normalize-special): New function.
8248         (display-buffer-normalize-options): Rename to
8249         display-buffer-normalize-default and rewrite.
8250         (display-buffer-normalize-options-inhibit): Remove.
8251         (display-buffer-normalize-specifiers): Rewrite.
8252         (display-buffer): Process other-window specifier and call
8253         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
8254         more faithfully.
8255         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8256         (display-buffer-alist-set): Don't handle 'unset default values.
8257         (display-buffer-in-window, display-buffer-alist-set):
8258         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
8259         <tassilo@member.fsf.org>.
8261 2011-07-09  Leo Liu  <sdl.web@gmail.com>
8263         * register.el (insert-register): Restore accidental change on
8264         2011-06-26.  (Bug#9028)
8266 2011-07-09  Glenn Morris  <rgm@gnu.org>
8268         * subr.el (remq): Handle the empty list.  (Bug#9024)
8270 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
8272         * mail/sendmail.el (send-mail-function): No longer delay custom
8273         initialization.
8274         * custom.el (custom-initialize-delay): Doc fix.
8276 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8278         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8280 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
8282         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8283         human-friendly prompt.
8285 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8287         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8288         provided by a particular plugin.
8290 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8292         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8293         save customizations (with "emacs -Q"), just set the variable
8294         instead of erroring out.
8296         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8298 2011-07-08  Juri Linkov  <juri@jurta.org>
8300         * arc-mode.el (archive-zip-expunge, archive-zip-update)
8301         (archive-zip-update-case): Use 7z if found by `executable-find'.
8302         The order of searching the available programs is the same as in
8303         `archive-zip-extract' (bug#8968).
8305 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8307         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8308         (menu-bar-options-menu): Tweak descriptions.
8310 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8312         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8313         menu items into verb phrases (bug#1421).  Also refill to fit under
8314         80 columns.
8316 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8318         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8319         (Info-read-node-name): Doc fix (Bug#1084).
8321         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8322         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8323         (end-of-sexp, beginning-of-sexp)
8324         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8325         (forward-symbol, forward-same-syntax, word-at-point)
8326         (sentence-at-point): Doc fix (Bug#1144).
8328 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8330         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8331         should cover it (bug#1281).
8333         * cus-edit.el (custom-show): Mark as obsolete.
8335         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8336         negotiation fails, then possibly try again with a non-encrypted
8337         connection (bug#9017).
8339         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8340         be used.
8342 2011-07-07  Richard Stallman  <rms@gnu.org>
8344         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8345         property, and handle its changed format.
8346         Look for the correct line number.
8347         Use file's line contents (but not past first =) to find
8348         correct line in message.
8350 2011-07-07  Kenichi Handa  <handa@m17n.org>
8352         * international/characters.el (build-unicode-category-table):
8353         Delete it.
8354         (unicode-category-table): Set it by unicode-property-table-internal.
8356         * international/mule-cmds.el (char-code-property-alist): Move to
8357         to src/chartab.c.
8358         (get-char-code-property): Call unicode-property-table-internal to
8359         load a file.  Call get-unicode-property-internal where necessary.
8360         (put-char-code-property): Call unicode-property-table-internal to
8361         load a file.  Call put-unicode-property-internal where necessary.
8362         put-unicode-property-internal where necessary.
8363         (char-code-property-description):
8364         Call unicode-property-table-internal to load a file.
8366         * international/charprop.el:
8367         * international/uni-bidi.el:
8368         * international/uni-category.el:
8369         * international/uni-combining.el:
8370         * international/uni-comment.el:
8371         * international/uni-decimal.el:
8372         * international/uni-decomposition.el:
8373         * international/uni-digit.el:
8374         * international/uni-lowercase.el:
8375         * international/uni-mirrored.el:
8376         * international/uni-name.el:
8377         * international/uni-numeric.el:
8378         * international/uni-old-name.el:
8379         * international/uni-titlecase.el:
8380         * international/uni-uppercase.el: Regenerate.
8382         * loadup.el: Load international/charprop.el before
8383         international/characters.
8385 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
8387         * window.el (next-buffer, previous-buffer): Signal an error if
8388         called from a minibuffer window.
8390         * bindings.el: Revert 2011-07-04 change.
8392 2011-07-06  Richard Stallman  <rms@gnu.org>
8394         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8395         (rmail-mime-insert-bulk, rmail-mime-insert-text):
8396         Treat markers like ints.
8397         (rmail-mime-entity): Doc fix.
8399 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8401         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8402         defcustom again for backwards compatibility.
8404         * simple.el (shell-command-on-region): Fill.
8406         * dired-aux.el (dired-kill-line): Add a doc string.
8408         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8409         to "\\sw\\|\\s_" (bug#358).
8411         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8412         (dired-unmark-backward): Ditto.
8413         (dired-flag-backup-files): Ditto.
8415         * dired-x.el (dired-mark-sexp): Ditto.
8417 2011-07-06  Richard Stallman  <rms@gnu.org>
8419         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8420         (rmail-mime-entity): New arg TRUNCATED.
8421         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8422         New functions.
8423         (rmail-mime-save): Warn if entity is truncated.
8424         (rmail-mime-toggle-hidden): Likewise, for showing.
8425         (rmail-mime-process-multipart): Record when an entity is truncated.
8427         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8428         if ENTITY is a string.
8430 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8432         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8433         of faces when `M-C-x'-ing their definitions (bug#8378).
8434         Also clean up the code slightly.
8436         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8437         because that makes the colors go away.
8439         * mail/sendmail.el (send-mail-function): Change the default to
8440         `sendmail-query-once'.
8441         (sendmail-query-once): Add an autoload cookie.
8443         * net/network-stream.el (network-stream-open-starttls): Try using
8444         a plain connection even if the server offered STARTTLS, and we
8445         kinda wanted to use it, if Emacs doesn't have any STARTTLS
8446         capability.  This should make smtpmail.el work in slightly more
8447         configurations.
8449 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
8451         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8452         New defun.
8453         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8455 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
8457         * progmodes/sql.el: Version 3.0
8458         (sql-product-alist): Add product :completion-object,
8459         :completion-column, and :statement attributes.
8460         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8461         (sql-mode-syntax-table): Mark all punctuation.
8462         (sql-font-lock-keywords-builder): Temporarily remove fallback on
8463         ansi keywords.
8464         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8465         (sql-mode-oracle-font-lock-keywords): Improve.
8466         (sql-oracle-show-reserved-words): New function for development.
8467         (sql-product-font-lock): Simplify for source code buffers.
8468         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8469         New functions.
8470         (sql-highlight-product): Set product specific syntax table.
8471         (sql-mode-map): Add statement movement functions.
8472         (sql-ansi-statement-starters, sql-oracle-statement-starters):
8473         New variable.
8474         (sql-statement-regexp, sql-beginning-of-statement)
8475         (sql-end-of-statement, sql-signum): New functions.
8476         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
8477         (sql-show-sqli-buffer): Bug fix.
8478         (sql-interactive-mode): Store connection data as buffer local.
8479         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
8480         with sql-interactive-mode.
8481         (sql-save-connection): Save buffer local settings.
8482         (sql-connection-menu-filter): Change menu entry name.
8483         (sql-product-interactive): Bug fix.
8484         (sql-preoutput-hold): New variable.
8485         (sql-interactive-remove-continuation-prompt): Bug fixes.
8486         (sql-debug-redirect): New variable.
8487         (sql-str-literal): New function.
8488         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
8489         Redesign.
8490         (sql-oracle-save-settings, sql-oracle-restore-settings)
8491         (sql-oracle-list-all, sql-oracle-list-table): New functions.
8492         (sql-completion-object, sql-completion-column)
8493         (sql-completion-sqlbuf): New variables.
8494         (sql-build-completions-1, sql-build-completions)
8495         (sql-try-completion): New functions.
8496         (sql-read-table-name): Use them.
8497         (sql-contains-names): New buffer local variable.
8498         (sql-list-all, sql-list-table): Use it.
8499         (sql-oracle-completion-types): New variable.
8500         (sql-oracle-completion-object, sql-sqlite-completion-object)
8501         (sql-postgres-completion-object): New functions.
8503 2011-07-06  Glenn Morris  <rgm@gnu.org>
8505         * window.el (pop-to-buffer): Doc fix.
8507 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
8509         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8511 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
8513         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8515         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8517 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
8519         * button.el (button): Inherit from link face.  Suggested by Dan
8520         Nicolaescu.
8522 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8524         * progmodes/gdb-mi.el: Fit in 80 columns.
8525         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8526         switch-to-buffer.
8528         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8529         if imenu is simply not configured (bug#8941).
8531 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
8533         * allout.el (allout-post-undo-hook): New allout outline-change
8534         event hook to signal undo activity.
8535         (allout-post-command-business): Run allout-post-undo-hook if an
8536         undo just occurred.
8537         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8538         * allout-widgets.el (allout-widgets-after-undo-function):
8539         Ensure the integrity of the current item's decoration after it has been
8540         in the vicinity of an undo.
8541         (allout-widgets-mode): Include allout-widgets-after-undo-function
8542         on the new allout-post-undo-hook.
8544 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8546         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8547         Let define-derived-mode define it.
8548         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8549         cycles of abbrev-table inheritance (bug#8998).
8551 2011-07-05  Roland Winkler  <winkler@gnu.org>
8553         * textmodes/bibtex.el: Add support for biblatex.
8554         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8555         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8556         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8557         (bibtex-entry-alist, bibtex-field-alist): New variables.
8558         (bibtex-entry-field-alist): Obsolete alias for
8559         bibtex-BibTeX-entry-alist.
8560         (bibtex-entry-alist, bibtex-field-alist): New widgets.
8561         (bibtex-set-dialect): New command.
8562         (bibtex-entry-type, bibtex-entry-head)
8563         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8564         Bind via bibtex-set-dialect.
8565         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8566         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8567         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8568         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8569         Define via bibtex-set-dialect.
8570         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8571         Obey bibtex-no-opt-remove-re.
8572         (bibtex-vec-push, bibtex-vec-incr): New functions.
8573         (bibtex-format-entry, bibtex-field-list)
8574         (bibtex-print-help-message, bibtex-validate)
8575         (bibtex-search-entries): Use new format of bibtex-entry-alist.
8577 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8579         * progmodes/compile.el (compilation-goto-locus):
8580         * net/tramp-cmds.el (tramp-append-tramp-buffers):
8581         * bs.el (bs-cycle-next, bs-cycle-previous):
8582         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8583         * bindings.el (mode-line-other-buffer):
8584         * autoinsert.el (auto-insert):
8585         * arc-mode.el (archive-extract):
8586         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8588 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8590         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8591         Fix check of `emacs-lock-unlockable-modes'.
8592         Coerce true values of `emacs-lock--try-unlocking' to t.
8594 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8596         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8597         * emacs-lock.el: New file.
8599 2011-07-05  Julien Danjou  <julien@danjou.info>
8601         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8602         than `boundp' to check if face is set.
8604 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
8606         * register.el (registerv-make):
8607         * window.el (window-min-height): Fix typos in docstrings.
8609 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
8611         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8612         Update doc string.
8614 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8616         * server.el (server-execute): Catch quit and call
8617         `server-return-error' to pass the error back to emacsclient and
8618         close the connection (bug#8942).
8620 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
8622         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8623         insecure exception for current topic.  Also note that auto-saves
8624         are handled differently.
8626         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
8627         State variables for tracking auto-save inhibition situation.
8629         (allout-write-contents-hook-handler): Rename from
8630         'allout-write-file-hook-handler', and describe how it depends on
8631         write-contents-functions sensitivity to non-nil value to prevent
8632         file write.
8634         (allout-auto-save-hook-handler): Remove.  auto-save does not check
8635         this in individual buffers, only in the starting buffer, so this
8636         is not the right way for us to inhibit auto-save in a buffer
8637         according to its condition.
8639         (allout-mode): Use new allout-write-contents-hook-handler, and
8640         only with write-contents-functions.  Remove auto-save provisions -
8641         they're implemented elsewhere.
8643         (allout-before-change-handler): If undo is in progress, note that
8644         for attention of allout-post-command-business.
8646         (allout-post-command-business): If the command we're following was
8647         an undo, check for change in the status of encrypted items and
8648         adjust auto-save inhibitions accordingly.
8650         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8651         according to whether there are or aren't any plain-text topics
8652         pending encryption.
8654         (allout-inhibit-auto-save-info-for-decryption):
8655         Adjust buffer-saved-size and some allout state to inhibit auto-saves
8656         if there are plain-text topics pending encryption.
8658         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8659         buffer-saved-size and some allout state to not inhibit auto-saves
8660         if there are no longer any plain-text topics pending encryption.
8662         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8663         No longer provide for exemption of the current topic.
8665 2011-07-04  Juri Linkov  <juri@jurta.org>
8667         Add 7z operations to delete and save changed members (bug#8968).
8668         * arc-mode.el (archive-7z-expunge, archive-7z-update):
8669         New defcustoms.
8670         (archive-7z-write-file-member): New function.
8671         (archive-7z-summarize): Fix the number of dashes in the
8672         listing output.
8674 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8676         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8677         (bug#8958).
8679 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
8681         * bindings.el: Ignore next-buffer and previous-buffer in
8682         minibuffer-local-map.
8684         * font-lock.el (font-lock-builtin-face): Change light background
8685         color to dark slate blue (Bug#6693).
8687 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
8689         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8691 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8693         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8694         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8695         Add switch-to-buffer.
8697 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8699         * isearch.el (isearch-search-fun-function): Clarify further the
8700         meaning of the function returned.
8702 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
8704         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8706         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8707         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8708         Use it.
8709         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
8710         `tramp-default-remote-path' does not exist.
8711         (tramp-send-command-and-read): New optional argument NOERROR.
8712         (tramp-open-connection-setup-interactive-shell)
8713         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8714         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8715         (tramp-process-sentinel): Flush also process' connection property.
8716         (tramp-sh-handle-start-file-process): Do not set process
8717         sentinel.  It is done now ...
8718         (tramp-maybe-open-connection): ... here.  (Bug#8929)
8720 2011-07-04  MON KEY  <monkey@sandpframing.com>
8722         * play/animate.el (animate-string): Doc fixes and allow changing
8723         the buffer name (bug#5417).
8725 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8727         * play/animate.el (animation-buffer-name): Rename from *animate*.
8729 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
8731         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8732         This is simpler and helps future-proof the code.
8733         (timer-until): Use time-subtract and float-time.
8734         (timer--time-less-p): Use time-less-p.
8736 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
8738         * type-break.el (timep): Use the value of `float-time' to avoid a
8739         byte-compiler warning.
8741         * server.el (server-eval-and-print): Return any result, even nil.
8743 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
8745         * type-break.el: Accept time formats that the builtins accept.
8746         (timep, type-break-time-difference): Accept any format that
8747         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8748         This is simpler and helps future-proof the code.
8749         (type-break-time-difference): Round rather than ignoring
8750         subseconds components.
8752 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8754         * info.el (Info-apropos-matches): Make non-interactive, since it
8755         doesn't seem to do anything useful as a command (bug#8829).
8757 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
8759         * frame.el (frame-background-mode, frame-set-background-mode):
8760         Move from faces.el.
8761         (frame-default-terminal-background): New function.
8763         * custom.el (custom-push-theme): Don't record faces in `changed'
8764         theme; this doesn't work correctly for per-frame face settings.
8765         (disable-theme): Use face-set-after-frame-default to reset faces.
8766         (custom--frame-color-default): New function.
8768 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8770         * dired.el (dired-flagging-regexp): Remove unused variable
8771         (bug#8769).
8773 2011-03-29  Kevin Ryde  <user42@zip.com.au>
8775         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8776         `perl-Test2' extend to match possible "fail #N" rep count
8777         (bug#8377).
8779 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8781         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8782         `smtpmail-via-smtp' now returns the error instead of nil.
8784         * isearch.el (isearch-search-fun-function): Clarify the doc string
8785         (bug#8101).
8787 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
8789         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8790         unnecessary spaces (bug#8987).
8792 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8794         * net/network-stream.el (open-network-stream): Use the
8795         :end-of-capability command thoughout.
8797 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8799         * net/network-stream.el (open-network-stream): Add the
8800         :end-of-capability command parameter, used by pop3.el.
8802 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8804         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8806         * fringe.el (fringe-query-style): Remove redundant text " (type ?
8807         for list)" (bug#6475).
8809         * files.el (file-expand-wildcards): Ignore non-readable
8810         sub-directories while trying to find matches instead of signaling
8811         an error (bug#6297).
8813         * man.el (Man-reference-regexp): Allow matching possible
8814         word-wrapped references (bug#6289).
8816         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8817         for consistency with the other vc buffers (bug#6197).
8818         (vc-checkin): Ditto.
8820         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8822         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8824 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8826         * custom.el (defcustom): Clarify that :set is only used in the
8827         Customize user interface (bug#6089).
8829         * progmodes/flymake.el (flymake-mode): If the buffer isn't
8830         associated with a file, refuse to run instead of erroring out
8831         (bug#6084).
8833         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8834         the doc string, since it appears that using `fill-column' always
8835         controls the width (bug#7845).
8837         * simple.el (shell-command-on-region): Say where the error output
8838         went if `shell-command-default-error-buffer' is set (bug#6857).
8840 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
8842         * allout.el (allout-yank-processing): Adjust cursor position for
8843         backwards-deleted space.
8845         (allout-rebullet-heading): Register changes with
8846         allout-exposure-changed-hook, so the modified topic is properly
8847         decorated.
8849 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8851         * minibuffer.el (completion-in-region): Document PREDICATE
8852         (bug#7136).
8854         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8855         of keyword/argument pairs (bug#6904).
8857         * replace.el (multi-occur):
8858         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
8860 2011-07-02  Drew Adams  <drew.adams@oracle.com>
8862         * dired.el (dired-mark-if): Make the message about whether it's
8863         marking or unmarking clearer (bug#8523).
8865 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8867         * disp-table.el (display-table-print-array): New function.
8868         (describe-display-table): Use it to print the vectors more pretty
8869         (Bug#8859).
8871 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
8873         * window.el (window-state-get-1): Don't assign clone numbers.
8874         Add clone-of item to list of window parameters.
8875         (window-state-put-2): Don't process clone numbers.
8876         (display-buffer-alist): Fix doc-string.
8878 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8880         * subr.el (remq): Don't allocate if it's not needed.
8881         (keymap--menu-item-binding, keymap--menu-item-with-binding)
8882         (keymap--merge-bindings): New functions.
8883         (keymap-canonicalize): Use them to refine the canonicalization.
8884         * minibuffer.el (minibuffer-local-completion-map)
8885         (minibuffer-local-must-match-map): Move initialization from C.
8886         (minibuffer-local-filename-completion-map): Move initialization from C;
8887         don't inherit from anything here.
8888         (minibuffer-local-filename-must-match-map): Make obsolete.
8889         (completing-read-default): Use make-composed-keymap to combine
8890         minibuffer-local-filename-completion-map with either
8891         minibuffer-local-must-match-map or
8892         minibuffer-local-filename-completion-map.
8894 2011-07-01  Glenn Morris  <rgm@gnu.org>
8896         * type-break.el (type-break-time-sum): Use dolist.
8898         * textmodes/flyspell.el (flyspell-word-search-backward):
8899         Replace CL function.
8901 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8903         * mouse.el (mouse--strip-first-event): New function.
8904         (function-key-map): Use it to map fringe clicks to normal clicks
8905         by default.
8907         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8908         (vc-bzr-revision-completion-table): Add support for annotate and date.
8910         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8911         inherit from parent.
8913 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8915         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
8916         (dired-show-file-type): Doc fixup (bug#8818).
8918         * dired.el (dired-mode): Fix up the doc string as suggested by
8919         Drew Adams (bug#8817).
8921         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8922         cookie, since the manual says that it should be possible to add
8923         this function to `find-file-hook' (bug#8709).
8925 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
8927         * progmodes/cfengine.el: Moved all cfengine3.el functionality
8928         here.  Noted Ted Zlatanov as the maintainer.
8929         (cfengine-common-settings, cfengine-common-syntax): New functions
8930         to set up common things between `cfengine-mode' and
8931         `cfengine3-mode'.
8932         (cfengine3-mode): New mode.
8933         (cfengine3-defuns cfengine3-defuns-regex
8934         (cfengine3-class-selector-regex cfengine3-category-regex)
8935         (cfengine3-vartypes cfengine3-font-lock-keywords)
8936         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
8937         (cfengine3-indent-line): Add from cfengine3.el.
8939 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
8941         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8943         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8945 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
8947         * window.el (same-window-buffer-names, same-window-regexps)
8948         (same-window-p, special-display-frame-alist)
8949         (special-display-popup-frame, special-display-function)
8950         (special-display-buffer-names, special-display-regexps)
8951         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8952         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8953         (split-window-preferred-function, split-height-threshold)
8954         (split-width-threshold, even-window-heights)
8955         (display-buffer-mark-dedicated, window-splittable-p)
8956         (split-window-sensibly, window-safely-shrinkable-p):
8957         Un-obsolete.
8958         (display-buffer): Don't spread args with function specifier
8959         because special-display-popup-frame won't like it.
8961 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
8963         Time-stamp simplifications and fixes.
8964         These improve accuracy slightly, and future-proof the code
8965         against some potential changes to current-time format.
8967         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8968         by using time-since and float-time.
8970         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8971         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
8972         + NNN microseconds".
8974         * type-break.el (type-break-time-sum): Rewrite using time-add.
8976         * play/hanoi.el (hanoi-current-time-float): Remove.
8977         All uses replaced by float-time.
8979         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8980         This yields a more-accurate answer.
8981         (rng-time-to-float): Remove; no longer needed.
8983         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8985         * calendar/timeclock.el (timeclock-seconds-to-time):
8986         Defalias to seconds-to-time, since they're the same thing.
8988         * emacs-lisp/elp.el (elp-elapsed-time):
8989         * emacs-lisp/benchmark.el (benchmark-elapse):
8990         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8992 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8994         * window.el (bury-buffer): Don't iconify the only frame.
8995         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8996         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
8998 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
9000         * eshell/em-smart.el (eshell-smart-display-navigate-list):
9001         Add mouse-yank-primary.
9003 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
9005         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9007 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9009         * emacs-lisp/find-func.el (find-library--load-name): New fun.
9010         (find-library-name): Use it to find relative load names when provided
9011         absolute file name (bug#8803).
9013 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9015         * textmodes/flyspell.el (flyspell-word): Consider words that
9016         differ only in case as potential doublons (bug#5687).
9018         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9019         Remove two rather uninteresting debugging-like messages to make
9020         debbugs.el more silent.
9022         * comint.el (comint-password-prompt-regexp): Accept "Response" as
9023         a password-like phrase.
9025 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
9027         * progmodes/cc-guess.el: New file.
9029         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9031         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9032         derived from `c-basic-common-init'.
9034         * progmodes/cc-mode.el (top-level): Require cc-guess.
9035         (c-basic-common-init): Use `cc-choose-style-for-mode'.
9037 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
9039         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9041 2011-06-30  Alan Mackenzie  <acm@muc.de>
9043         * progmodes/cc-engine.el (c-guess-continued-construct):
9044         Correct the handling of template-args-cont, particularly for when font
9045         lock is disabled.  Name this case as "CASE G".
9047 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
9049         * allout.el (allout-yank-processing): Fix injection of extra space
9050         between bullet and non-whitespace character in first topic when
9051         pasting, ensuring that the actual spacing in the pasted topic
9052         following the bullet char is preserved.  This extra space was
9053         causing pasted encrypted topics to get a decrypted status even
9054         when the content was actually still encrypted.  Now the decryption
9055         status from before the paste is preserved.
9057         (allout-flag-region): Set all allout overlays so they evaporate
9058         when reduced to zero length (evanescent), to prevent overlay
9059         leakage.
9061 2011-06-30  Glenn Morris  <rgm@gnu.org>
9063         * w32-fns.el (w32-charset-info-alist): Declare.
9065         * find-dired.el (find-grep-options): Simplify.
9067         * term/ns-win.el (ns-set-resource): Declare.
9069         * ses.el (row, col): Declare dynamic variables honestly.
9071         * textmodes/reftex-parse.el (index-tags): Declare.
9073 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
9075         * cus-edit.el (customize-push-and-save): New function.
9077         * files.el (hack-local-variables-confirm): Use it.
9079         * custom.el (load-theme): New arg NO-CONFIRM.
9080         Use customize-push-and-save (Bug#8720).
9081         (custom-enabled-themes): Doc fix.
9083         * cus-theme.el (customize-create-theme)
9084         (custom-theme-merge-theme): Callers to load-theme changed.
9086 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9088         * thingatpt.el (thing-at-point-short-url-regexp): Require that
9089         short URLs have at least one dot in them (bug #7614).
9091         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9092         nil, because using a pty is apparently too slow (bug #895).
9094 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9096         * mail/sendmail.el (sendmail-query-once): New function.
9097         (sendmail-query-once-function): New variable.
9099 2011-06-29  Glenn Morris  <rgm@gnu.org>
9101         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9103         * ses.el (top-level): Require cl when compiling.
9104         (ses-set-localvars): Fix error statement.
9105         Call it at compile time to silence a storm of warnings.
9107 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
9109         * window.el (normalize-live-buffer): Rename to
9110         window-normalize-buffer.
9111         (normalize-live-frame): Rename to window-normalize-frame.
9112         (normalize-any-window): Rename to window-normalize-any-window.
9113         (normalize-live-window): Rename to window-normalize-live-window.
9114         (make-window-atom): Rename to window-make-atom.
9115         (window-resize-reset): Rename to window--resize-reset.
9116         (window-resize-reset-1): Rename to window--resize-reset-1.
9117         (resize-mini-window): Rename to window--resize-mini-window.
9118         (resize-subwindows-skip-p): Rename to
9119         window--resize-subwindows-skip-p.
9120         (resize-subwindows-normal): Rename to
9121         window--resize-subwindows-normal.
9122         (resize-subwindows): Rename to window--resize-subwindows.
9123         (resize-other-windows): Rename to window--resize-siblings.
9124         (resize-this-window): Rename to window--resize-this-window.
9125         (resize-root-window): Rename to window--resize-root-window.
9126         (resize-root-window-vertically): Rename to
9127         window--resize-root-window-vertically.
9128         (normalize-buffer-to-display): Rename to
9129         window-normalize-buffer-to-display.
9130         (normalize-buffer-to-switch-to): Rename to
9131         window-normalize-buffer-to-switch-to.
9132         Correspondingly update all callers of the functions listed
9133         above.
9134         (display-buffer-alist, display-buffer-normalize-arguments)
9135         (display-buffer-normalize-options, display-buffer)
9136         (display-buffer-alist-set): Use "function" instead of
9137         "fun-with-args".
9139 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
9141         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9142         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
9143         debbugs.gnu.org.  Mention acknowledgment email.
9145 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9147         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9148         buffer multibyteness, since it shouldn't matter.
9150 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
9152         * window.el (display-buffer-in-side-window): Handle dedicated
9153         windows as in display-buffer-reuse-window.
9154         (display-buffer-normalize-alist): Use value of override
9155         specifier.
9156         (display-buffer-normalize-specifiers): Use value of
9157         other-window-means-other-frame specifier.
9158         (display-buffer-alist): Rewrite some texts in widgets.
9159         (display-buffer): Spread arguments when calling function
9160         specified by fun-with-args.
9162 2011-06-28  Deniz Dogan  <deniz@dogan.se>
9164         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9165         Unnest `let'.
9167         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9168         selectors (Bug#5732).
9169         (css-proprietary-nmstart-re): Use `regexp-opt'.
9171 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
9173         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9174         (eshell-ls-date-format): New defcustom.
9175         (eshell-ls-file): Use it.
9177 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9179         * help-fns.el (describe-variable): Fix message for terminal-local vars.
9181 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
9183         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9184         (ange-ftp-make-tmp-name): New arg.
9185         (ange-ftp-file-local-copy): Use it.
9187 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
9189         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9190         no-conversion (Bug#8870).
9192 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
9194         * window.el (window-right, window-left, window-child)
9195         (window-child-count, window-last-child)
9196         (window-iso-combination-p, walk-window-tree-1)
9197         (window-atom-check-1, window-tree-1, delete-window)
9198         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9199         new naming conventions - window-vchild, window-hchild,
9200         window-next and window-prev are now called window-top-child,
9201         window-left-child, window-next-sibling and window-prev-sibling
9202         respectively.
9203         (resize-window-reset): Rename to window-resize-reset.
9204         (resize-window-reset-1): Rename to window-resize-reset-1.
9205         (resize-window): Rename to window-resize.
9206         (window-min-height, window-min-width)
9207         (resize-mini-window, resize-this-window, resize-root-window)
9208         (resize-root-window-vertically, adjust-window-trailing-edge)
9209         (enlarge-window, shrink-window, maximize-window)
9210         (minimize-window, delete-window, quit-restore-window)
9211         (split-window, balance-windows, balance-windows-area-adjust)
9212         (balance-windows-area, window-state-put-2)
9213         (display-buffer-even-window-sizes, display-buffer-set-height)
9214         (display-buffer-set-width, set-window-text-height)
9215         (fit-window-to-buffer): Rename all "resize-window" prefixed
9216         calls to use the "window-resize" prefix convention.
9217         (display-buffer-alist): Fix symbol for label specifier.
9218         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9219         corresponding specifier.
9220         Reported by Juanma Barranquero <lekktu@gmail.com>.
9222 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9224         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9225         convention.
9226         (ses-call-printer): Does not pass an empty string to formatter when the
9227         cell is empty to keep from barking printer Calc math-format-value.
9229 2011-06-27  Richard Stallman  <rms@gnu.org>
9231         * battery.el (battery-mode-line-limit): New variable.
9232         (battery-update): Handle it.
9234         * mail/rmailmm.el (rmail-mime-process-multipart):
9235         Handle truncated messages.
9237 2011-06-27  Glenn Morris  <rgm@gnu.org>
9239         * progmodes/flymake.el (flymake-err-line-patterns):
9240         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
9242 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9244         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9245         (ses--clean-!, ses--clean-_): New functions.
9246         (ses-range): Add configurability of readout order, and conversion
9247         to Calc vector.
9249         * ses.el (ses-repair-cell-reference-all): New function.
9250         (ses-cell-symbol): Set macro as safe, so that it can be used in
9251         formulas.
9253         * ses.el: Update cycle detection algorithm.
9254         (ses-localvars): Add ses--Dijkstra-attempt-nb and
9255         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9256         (ses-set-localvars): New function.
9257         (ses-make-cell): Add property-list as a cell element.
9258         (ses-cell-property-get-fun, ses-cell-property-get)
9259         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9260         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9261         New functions.
9262         (ses-cell-property-set, ses-cell-property-pop)
9263         (ses-cell-property-get-handle): New macro.
9264         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9265         New aliases, used for code readability.
9266         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9267         cycle detection.
9268         (ses-self-reference-early-detection): New defcustom.
9269         (ses-formula-references): Robustify against self-referring cells.
9270         (ses-mode): Use ses-set-localvars.
9271         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9272         before lauching the update processing.
9273         (ses-initialize-Dijkstra-attempt): New function.
9274         (ses-recalculate-cell): Update for cycle detection based on
9275         Dijkstra algorithm.
9277         * ses.el: Fix commenting and indenting convention.
9279 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9281         * bs.el (bs-cycle-next): Complete last change.
9283 2011-06-27  Drew Adams  <drew.adams@oracle.com>
9285         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9287 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9289         * net/network-stream.el (network-stream-open-starttls):
9290         Don't re-get capabilities unless we've reestablished connection.
9291         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9293         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9294         to binary to possibly avoid line encoding issues on Windows (among
9295         other things).
9297 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9299         * net/network-stream.el (open-network-stream): Return an :error
9300         saying what the problem was, if possible.
9302         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9303         server.
9305         * net/network-stream.el (network-stream-open-starttls): If we
9306         wanted to use STARTTLS, and the server offered it, but we weren't
9307         able to because we had no STARTTLS support, then close the connection.
9308         (open-network-stream): Return an :error element, if present.
9310 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
9312         * hl-line.el (hl-line-sticky-flag): Doc fix.
9313         (global-hl-line-sticky-flag): New option (Bug#8323).
9314         (global-hl-line-highlight): Obey it.
9316         * vc/vc.el (vc-revert-show-diff): Default to t.
9318 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
9320         * allout-widgets.el (allout-widgets-post-command-business):
9321         Stop decorating intermediate isearch matches.  They're not being
9322         undecorated when an isearch is continued past, and isearch
9323         automatically collapses them.  This leads to "widget leaks", where
9324         decorated items accumulate in collapsed areas.  Lines with lots of
9325         hidden widgets can slow down cursor travel, substantially.
9326         Too much complicated machinery would be needed to ensure undecoration,
9327         so we're doing without this nicety.
9329         (allout-widgets-tally-string): Don't try to do a hash-table-count
9330         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
9331         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9332         *Messages* when allout-widgets-maintain-tally is t.
9334 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
9336         * window.el (display-buffer-normalize-argument): Rename to
9337         display-buffer-normalize-arguments.  Handle special meaning of
9338         LABEL argument.  Respect special-display-function when popping up
9339         a new frame.  Fix code searching for a window showing the buffer
9340         on another frame.
9341         (display-buffer-normalize-specifiers):
9342         Call display-buffer-normalize-arguments.
9343         (display-buffer-in-window): Don't undedicate the window if its
9344         buffer remains the same.
9345         Reported by Drew Adams <drew.adams@oracle.com>.
9346         (display-buffer-alist): Add choice for same-window macro
9347         specfier.
9348         (display-buffer): Mention special meaning of LABEL argument in
9349         doc-string.  Fix quoting.  Don't pop up a new frame even as
9350         fallback.
9352 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
9354         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9355         avoid deleting the current window in some cases (bug#8911).
9357 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
9359         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9360         (Bug#8934)
9362 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9364         * net/network-stream.el (network-stream-open-starttls):
9365         Use built-in TLS support if `gnutls-available-p' is true.
9366         (network-stream-open-tls): Ditto.
9368 2011-06-26  Leo Liu  <sdl.web@gmail.com>
9370         * register.el (registerv): New struct.
9371         (registerv-make): New function.
9372         (jump-to-register, describe-register-1, insert-register):
9373         Support the jump-func, print-func and insert-func slot of a registerv
9374         struct.  (Bug#8415)
9376 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
9378         * vc/vc.el (vc-revert-show-diff): New defcustom.
9379         (vc-diff-internal): New arg specifying diff buffer.
9380         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
9381         reuse an existing *vc-diff* buffer (Bug#8927).
9383         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9385 2011-06-26  Glenn Morris  <rgm@gnu.org>
9387         * progmodes/f90.el (f90-critical-indent): New option.
9388         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9389         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9390         (f90-mode): Doc fix.
9391         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9392         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9393         (f90-beginning-of-block, f90-next-block, f90-indent-region)
9394         (f90-match-end): Handle block, critical.
9396 2011-06-25  Glenn Morris  <rgm@gnu.org>
9398         * calendar/diary-lib.el (diary-included-files): Doc fix.
9399         (diary-include-files): New function, extracted from
9400         diary-include-other-diary-files and diary-mark-included-diary-files.
9401         (diary-include-other-diary-files, diary-mark-included-diary-files):
9402         Just call diary-include-files.
9403         (diary-mark-entries): Reset diary-included-files on first call.
9405         * calendar/diary-lib.el (diary-mark-entries)
9406         (diary-mark-included-diary-files):
9407         Visit included diary-files in temp buffers.
9409         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9410         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9411         (f90-start-block-re, f90-imenu-generic-expression)
9412         (f90-looking-at-program-block-start, f90-no-block-limit):
9413         Add support for submodules.
9415         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9416         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9418 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
9420         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9421         buffer-file-type before setting its value, to avoid disastrous
9422         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
9424 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
9426         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9428         * ses.el (ses-unload-function):
9429         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9431         * proced.el (proced-unload-function):
9432         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9434 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
9436         * server.el (server-create-window-system-frame): Add parameters arg.
9437         (server-process-filter): Doc fix.  Handle frame-parameters.
9439 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
9441         Fix bug#8730, bug#8781.
9443         * loadhist.el (unload--set-major-mode): New function.
9444         (unload-feature): Use it.
9446         * progmodes/python.el (python-after-info-look): Add autoload cookie.
9447         (python-unload-function): New function.
9449 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9451         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9453 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
9455         * net/browse-url.el (browse-url-firefox-program): Add icecat to
9456         the candidates list.
9458 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
9460         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9462 2011-06-23  Richard Stallman  <rms@gnu.org>
9464         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9465         (rmail-variables): Set next-error-move-function.
9466         (rmail-what-message): Take argument POS.
9467         (rmail-next-error-move): New function.
9469 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9471         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9472         messages for adjacent non-terminals.
9474 2011-06-23  Richard Stallman  <rms@gnu.org>
9476         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
9477         (rmail-show-message-1): Preserve buffer modified flag.
9478         (rmail-start-mail): Don't specify use of rmail-mail-return;
9479         that's done by mail-bury now.
9480         (rmail-mail-return): Handle arg NEWBUF.
9482 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
9484         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9485         SIZE is a number.
9487 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
9489         * window.el (get-lru-window, get-mru-window)
9490         (get-largest-window): Never return a minibuffer window.
9491         (display-buffer-pop-up-window): Fix a bug that could lead to
9492         reusing the minibuffer window.
9493         (display-buffer): Pass original specifier argument to
9494         display-buffer-function instead of the normalized one.
9495         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9497 2011-06-22  Leo Liu  <sdl.web@gmail.com>
9499         * minibuffer.el (completing-read-function)
9500         (completing-read-default): Move from minibuf.c
9502 2011-06-22  Richard Stallman  <rms@gnu.org>
9504         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9505         to Rmail even if not started by a special Rmail command.
9507         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9508         Copy the buffer currently showing just one message.
9510 2011-06-22  Roland Winkler  <winkler@gnu.org>
9512         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9513         (bibtex-clean-entry): First delete the old key so that a
9514         customized algorithm for generating the new key does not get
9515         confused by the old key.
9516         (bibtex-url): Obey regexp of first step.
9517         (bibtex-search-entries): Do not use add-to-list with local
9518         list-var.
9520 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9522         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9523         stored a user name, then query for the password first, instead of
9524         waiting for SMTP to give an error message and the trying again.
9526 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
9528         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9529         BUFFER in call-process.
9531 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9533         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9534         QUIT twice.
9535         (smtpmail-try-auth-methods): Require user name and password from
9536         auth-source.
9538 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
9540         * window.el (display-buffer-default-specifiers)
9541         (display-buffer-alist): Remove entries for pop-up-frame-alist.
9542         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
9543         (split-window): Normalize SIDE argument (Bug#8916).
9545         * frame.el (pop-up-frame-alist, pop-up-frame-function)
9546         (special-display-frame-alist, special-display-popup-frame):
9547         Remove duplicate declarations.  These are now in window.el.
9549 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9551         * mail/smtpmail.el (smtpmail-via-smtp):
9552         Set :use-starttls-if-possible so that we always use STARTTLS if the
9553         server supports it.  SMTP servers that support STARTTLS commonly
9554         require it.
9556         * net/network-stream.el (network-stream-open-starttls): Support
9557         upgrading to STARTTLS always, even if we don't have built-in support.
9558         (open-network-stream): Add the :always-query-capabilities keyword.
9560         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9561         upgrades with `open-network-stream', and rely solely on
9562         auth-source for all credentials.  Big changes throughout the file,
9563         but in particular:
9564         (smtpmail-auth-credentials): Remove.
9565         (smtpmail-starttls-credentials): Remove.
9566         (smtpmail-via-smtp): Check for servers saying they want AUTH after
9567         MAIL FROM, too.
9569         * net/network-stream.el (network-stream-open-starttls):
9570         Provide support for client certificates both for external and built-in
9571         STARTTLS.
9572         (auth-source): Require.
9573         (open-network-stream): Document the :client-certificate keyword.
9574         (network-stream-certificate): Change cert-cert to cert and
9575         cert-key to key.
9577 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
9579         * net/tramp-cache.el (top): Don't load the persistency file when
9580         "emacs -Q" has been called.
9582 2011-06-21  Tim Harper  <timcharper@gmail.com>
9584         * term/ns-win.el (ns-initialize-window-system):
9585         Set application-specific `ApplePressAndHoldEnabled' system
9586         resource to NO as it is not yet supported by the NS port.
9588 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
9590         * misc.el (list-dynamic-libraries--refresh): Compute header here...
9591         (list-dynamic-libraries): ...not here.
9593 2011-06-21  Leo Liu  <sdl.web@gmail.com>
9595         * subr.el (sha1): Implement sha1 using secure-hash.
9597 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
9599         * window.el (display-buffer-alist): In default value do not
9600         enforce searching a window on any but the selected frame.
9601         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9602         (display-buffer-select-window): Remove function.
9603         (display-buffer-in-window): When a window on another frame gets
9604         reused, do not select it any more but just raise its frame if
9605         necessary (Bug#8851) and (Bug#8856).
9606         (display-buffer-normalize-options): Handle pop-up-frames related
9607         options more faithfully.
9608         (pop-to-buffer): Don't rely on `display-buffer' selecting the
9609         window if it is on another frame.
9610         (display-buffer-alist, display-buffer-default-specifiers):
9611         Don't make new frame unsplittable by default.
9612         (display-buffer-normalize-argument): Fix doc-string typo and use
9613         'same-frame-other-window instead of 'other-window when associating
9614         with display-buffer-macro-specifiers.
9616 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
9618         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9619         New functions.
9620         (5x5-mode-map, 5x5-mode-menu): Bind them.
9621         (5x5-draw-grid): Tweak the solver's rendering.
9623 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9625         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9626         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9628 2011-06-21  Drew Adams  <drew.adams@oracle.com>
9630         * menu-bar.el: Use function variable instead of switch-to-buffer.
9631         (menu-bar-select-buffer-function): New variable.
9632         (menu-bar-update-buffers): Use it (bug#8876).
9634 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9636         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9637         variable's status.
9639 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
9641         * x-dnd.el (x-dnd-version-from-flags)
9642         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9643         and long as number (Bug#8899).
9644         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9646 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9648         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
9649         (completion-try-completion, completion-all-completions): Compute the
9650         metadata argument if it's missing; make it optional (bug#8795).
9652         * wid-edit.el: Use lex-bind and move towards completion-at-point.
9653         (widget-complete): Use new :completion-function property.
9654         (widget-completions-at-point): New function.
9655         (default): Use :completion-function instead of :complete.
9656         (widget-default-completions): Rename from widget-default-complete;
9657         Rewrite.
9658         (widget-string-complete, widget-file-complete, widget-color-complete):
9659         Remove functions.
9660         (file, symbol, function, variable, coding-system, color):
9661         * international/mule-cmds.el (default-input-method, charset)
9662         (language-info-custom-alist):
9663         * cus-edit.el (face): Use new property :completions.
9665         * progmodes/pascal.el (pascal-completions-at-point): New function.
9666         (pascal-mode): Use it.
9667         (pascal-mode-map): Use completion-at-point.
9668         (pascal-toggle-completions): Make obsolete.
9669         (pascal-complete-word, pascal-show-completions):
9670         * progmodes/octave-mod.el (octave-complete-symbol):
9671         Redefine as obsolete alias.
9672         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9673         Signal absence of completion info for old Octave,
9674         (inferior-octave-complete): Redefine as obsolete alias.
9675         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9676         (meta-completions-at-point): Rename from meta-complete-symbol and
9677         adapt it for use on completion-at-point-functions.
9678         (meta-common-mode): Use it.
9679         (meta-looking-at-backward, meta-match-buffer): Remove.
9680         (meta-complete-symbol): Redefine as obsolete alias.
9681         (meta-common-mode-map): Use completion-at-point.
9682         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9683         (makefile-mode-map): Use completion-at-point.
9684         (makefile-completions-at-point): Rename from makefile-complete and
9685         adapt it for use on completion-at-point-functions.
9686         (makefile-mode): Use it.
9687         (makefile-complete): Redefine as obsolete alias.
9689 2011-06-20  Deniz Dogan  <deniz@dogan.se>
9691         * net/rcirc.el: Delete trailing whitespaces once and for all.
9693 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
9695         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9697 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
9699         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9701         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9703 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
9705         * window.el (display-buffer-other-window-means-other-frame):
9706         Call display-buffer-normalize-alist.
9707         (display-buffer-normalize-specifiers-1): Rename to
9708         display-buffer-normalize-argument.  New argument other-frame.
9709         Rewrite.
9710         (display-buffer-normalize-specifiers-2): Rename to
9711         display-buffer-normalize-options.
9712         (display-buffer-normalize-alist-1): New function.
9713         (display-buffer-normalize-specifiers-3): Rename to
9714         display-buffer-normalize-alist.
9715         Call display-buffer-normalize-alist-1.
9716         (display-buffer-normalize-options-inhibit): New variable.
9717         (display-buffer-normalize-specifiers): Rewrite calling
9718         display-buffer-normalize-alist,
9719         display-buffer-normalize-argument, and
9720         display-buffer-normalize-options.  Don't call the latter if
9721         display-buffer-normalize-options-inhibit is non-nil.
9722         (frame-auto-delete): New option.
9723         (window-deletable-p): Use frame-auto-delete.
9724         (window-list-no-nils, window-state-ignored-parameters)
9725         (window-state-get-1, window-state-get, window-state-put-list)
9726         (window-state-put-1, window-state-put-2, window-state-put):
9727         New functions.
9728         (display-buffer-normalize-options): Move special-display-p group
9729         after pop-up-frame group (Bug#8851) and (Bug#8856).
9731 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
9733         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9734         groups (Bug#8776).
9735         (rx-submatch-n): New function.
9736         (rx): Document it.
9738         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9739         (Bug#8768).
9741         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9743         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9745         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9746         anytime existing face settings are present (Bug#8889).
9748         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9749         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9750         Remove unused argument.
9752 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
9754         * window.el (display-buffer-default-specifiers):
9755         Remove pop-up-frame.  Add pop-up-window-min-height,
9756         pop-up-window-min-width, and another reuse-window specifier
9757         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
9758         (display-buffer-normalize-specifiers-2):
9759         Handle split-height-threshold and split-width-threshold also when
9760         pop-up-windows is unset.  Add a reuse-window specifier for the
9761         case popping up a new window fails.
9762         (special-display-popup-frame): Remove double quoting.
9763         (display-buffer-normalize-specifiers-1): Fix thinko.
9765 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9767         * shell.el (shell-completion-vars): Set pcomplete-termination-string
9768         according to comint-completion-addsuffix.
9770         * pcomplete.el: Convert to lexical binding and fix bug#8819.
9771         (pcomplete-suffix-list): Mark as obsolete.
9772         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9773         pcomplete-seen in the closure.
9774         (pcomplete-comint-setup): Setup completion-at-point as well.
9775         (pcomplete--entries): New function.
9776         (pcomplete--env-regexp): New var.
9777         (pcomplete-entries): Rewrite to work with partial-completion and
9778         without relying on pcomplete-suffix-list.
9779         (pcomplete-pare-list): Remove, unused.
9781 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9783         * window.el (display-buffer-alist): Set pop-up-window-min-height
9784         and pop-up-window-min-width in default value.  Reported by
9785         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
9786         other-window-means-other-frame.
9787         (display-buffer-macro-specifiers): Comment out entry for
9788         other-window specifier.
9789         (display-buffer-other-window-means-other-frame): New function.
9790         (display-buffer-normalize-specifiers-1): New arguments
9791         buffer-name and label.  Treat other-window case specially.
9792         (display-buffer-normalize-specifiers-2): Treat other-window case
9793         specially.
9794         (display-buffer-normalize-specifiers-3): New function.
9795         (display-buffer-normalize-specifiers):
9796         Call display-buffer-normalize-specifiers-3.
9798 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
9800         * window.el (same-window-p): Fix two typos introduced when
9801         adding with-no-warnings.
9802         (display-buffer-normalize-specifiers-1): Don't check
9803         pop-up-frames for 'unset initialization.
9804         (display-buffer-normalize-specifiers-2): Major rewrite using
9805         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9806         (pop-up-frames, display-buffer-reuse-frames)
9807         (display-buffer-mark-dedicated): Don't initialize to 'unset.
9808         Suggested by David Engster <deng@randomsample.de>.
9809         (even-window-heights): Initialize to 'unset.
9810         (display-buffer-alist-set): Handle new 'unset initializations.
9811         (display-buffer-macro-specifiers): Don't pop up a new frame in the
9812         other window case.
9814 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
9816         * window.el (display-buffer-normalize-specifiers-1):
9817         Respect current value of pop-up-frames for most reasonable values of
9818         second argument of display-buffer (Bug#8865).
9819         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9820         (switch-to-buffer-other-window-same-frame)
9821         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
9822         Adams (Bug#8875).
9823         (display-buffer): Don't check noninteractive when calling
9824         display-buffer-pop-up-frame.
9825         (display-buffer-pop-up-frame): Never pop up a frame in
9826         noninteractive mode (Bug#8857).
9827         (enlarge-window, shrink-window): Don't report an error when the
9828         window can't be resized as requested (Bug#8862).
9830 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9832         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9834         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9836         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9838 2011-06-15  Alan Mackenzie  <acm@muc.de>
9840         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9841         for declarators, disable knr checking to speed up for normal files.
9842         2: Refactor, replacing a sequence of nested if forms by a cond form.
9844 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9846         * net/network-stream.el (open-network-stream): Add the keyword
9847         :always-query-capabilities for the case where you want to force a
9848         `plain' network connection, but the protocol still requires the
9849         capabilitiy command (i.e., SMTP and EHLO).
9851         * subr.el (process-live-p): Rename from `process-alive-p' for
9852         consistency with other `-live-p' functions.
9854 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9856         * window.el (same-window-buffer-names, same-window-regexps)
9857         (special-display-frame-alist, special-display-popup-frame)
9858         (special-display-function, special-display-buffer-names)
9859         (special-display-regexps, pop-up-frame-alist)
9860         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9861         (pop-up-windows, split-window-preferred-function)
9862         (split-height-threshold, split-width-threshold, even-window-heights)
9863         (display-buffer-mark-dedicated): Don't encourage the use of
9864         display-buffer-alist from Elisp code.
9866 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
9868         * progmodes/python.el (python-mode): Derive from prog-mode.
9869         * progmodes/ps-mode.el (ps-mode):
9870         * progmodes/mixal-mode.el (mixal-mode):
9871         * progmodes/cfengine.el (cfengine-mode):
9872         * progmodes/ld-script.el (ld-script-mode): Likewise.
9874 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
9876         * window.el (display-buffer-alist): Trim default value to avoid
9877         popping up a new frame (Bug#8857) or reusing an arbitrary window
9878         on another frame.
9879         (display-buffer): Do not fall back on popping up a new frame in
9880         batch mode (Bug#8857).
9882 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
9884         * cus-theme.el (describe-theme-1): Use custom-theme-p.
9885         (custom-theme-summary): New function.
9886         (customize-themes): Use it.
9888 2011-06-13  Glenn Morris  <rgm@gnu.org>
9890         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9892 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
9894         * help.el (help-window): Remove variable.
9895         (help-window-point-marker, temp-buffer-max-height)
9896         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9897         (help-print-return-message): Don't set help-window.
9898         (resize-temp-buffer-window): Rewrite cod eand doc-string.
9899         (help-window-setup-finish): Remove.
9900         (help-window-display-message, help-window-setup)
9901         (with-help-window): Major rewrite based on new
9902         display-buffer-window variable.
9904         * help-mode.el (help-mode-finish): Remove help-window related
9905         code.
9907         * view.el (view-exits-all-viewing-windows): Remove reference to
9908         view-return-to-alist in doc-string.
9909         (view-return-to-alist): Make obsolete.
9910         (view-buffer): Call pop-to-buffer-same-window and remove
9911         undo-window code.
9912         (view-buffer-other-window): Call pop-to-buffer-other-window and
9913         simplify code.  Ignore second argument.
9914         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9915         simplify code.  Ignore second argument.
9916         (view-return-to-alist-update): Make obsolete.
9917         (view-mode-enter): Rename second argument to QUIT-RESTORE.
9918         Rewrite using quit-restore window parameters.
9919         (view-mode-exit): Rename second argument to EXIT-ONLY.
9920         Rewrite using quit-restore-window.
9921         (View-exit, View-exit-and-edit, View-leave, View-quit)
9922         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9923         appropriate arguments.
9924         (view-end-message): Use quit-restore window parameter.
9926         * window.el (display-buffer-function): Rewrite doc-string.
9927         (display-buffer-window, display-buffer-alist): New variables.
9928         (display-buffer-split-specifiers)
9929         (display-buffer-side-specifiers)
9930         (display-buffer-macro-specifiers): New constants.
9931         (display-buffer-even-window-sizes, display-buffer-set-height)
9932         (display-buffer-set-width, display-buffer-select-window)
9933         (display-buffer-in-window, display-buffer-reuse-window)
9934         (display-buffer-split-window-1, display-buffer-split-window)
9935         (display-buffer-split-atom-window, display-buffer-pop-up-window)
9936         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9937         (display-buffer-in-side-window, normalize-buffer-to-display)
9938         (display-buffer-normalize-specifiers-1)
9939         (display-buffer-normalize-specifiers-2)
9940         (display-buffer-normalize-specifiers, display-buffer-frame):
9941         New functions.
9942         (display-buffer): Major rewrite.
9943         (display-buffer-other-window, display-buffer-other-frame)
9944         (pop-to-buffer, switch-to-buffer-other-window)
9945         (switch-to-buffer-other-frame): Rewrite.
9946         (display-buffer-same-window, display-buffer-same-frame)
9947         (display-buffer-same-frame-other-window)
9948         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9949         (pop-to-buffer-other-window)
9950         (pop-to-buffer-same-frame-other-window)
9951         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9952         (switch-to-buffer-other-window-same-frame): New functions.
9953         (same-window-p, special-display-p): Rewrite disabling warnings.
9954         Make obsolete.
9955         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9956         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9957         Make obsolete
9958         (same-window-buffer-names, same-window-regexps)
9959         (special-display-frame-alist, special-display-popup-frame)
9960         (special-display-function, special-display-buffer-names)
9961         (special-display-regexps, pop-up-frame-alist)
9962         (pop-up-frame-function, split-window-preferred-function)
9963         (split-height-threshold, split-width-threshold)
9964         (even-window-heights): Make obsolete.
9966 2011-06-12  Glenn Morris  <rgm@gnu.org>
9968         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
9969         Misc simplifications.
9971 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
9973         * window.el (window-safely-shrinkable-p): Restore function which
9974         was inadvertently removed in change from 2011-06-11.  Declare as
9975         obsolete.
9977         * calendar/calendar.el (calendar-generate-window):
9978         Use window-iso-combined-p instead of combination of one-window-p and
9979         window-safely-shrinkable-p.
9981 2011-06-12  Glenn Morris  <rgm@gnu.org>
9983         * progmodes/fortran.el (fortran-mode-syntax-table):
9984         * progmodes/f90.el (f90-mode-syntax-table):
9985         Set % to punctuation.  (Bug#8820)
9986         (f90-find-tag-default): Remove, no longer needed.
9988 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
9990         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9992 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
9994         * image.el (image-animated-p): Return animation delay in seconds.
9995         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9996         (image-animate-timeout): Remove DELAY argument.  Don't assume
9997         every subimage has the same delay; get it from image-animated-p.
9998         (image-animate): Caller changed.
10000 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
10002         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10003         to ignored backtrace functions.
10005 2011-06-11  Glenn Morris  <rgm@gnu.org>
10007         * calendar/appt.el (appt-disp-window-function): Doc fix.
10008         (appt-check): Handle overlapping appointments.  (Bug#8337)
10010 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
10012         * window.el (window-tree-1, window-tree): New functions, moving
10013         the latter to window.el.
10014         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10015         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10016         (bw-refresh-edges): Remove.
10017         (balance-windows-1, balance-windows-2): New functions.
10018         (balance-windows): Rewrite in terms of window tree functions,
10019         balance-windows-1 and balance-windows-2.
10020         (bw-adjust-window): Remove.
10021         (balance-windows-area-adjust): New function with functionality of
10022         bw-adjust-window but using resize-window.
10023         (set-window-text-height): Rewrite doc-string.
10024         Use normalize-live-window and resize-window.
10025         (enlarge-window-horizontally, shrink-window-horizontally):
10026         Rename argument to DELTA.
10027         (window-buffer-height): New function.
10028         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10029         Rewrite using new window resize routines.
10030         (kill-buffer-and-window, mouse-autoselect-window-select):
10031         Use ignore-errors instead of condition-case.
10032         (quit-window): Call delete-frame instead of delete-windows-on
10033         for the only buffer on frame.
10035 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
10037         * loadup.el (top-level): Load window before files for the sake
10038         of replace-buffer-in-windows.
10040         * files.el (read-buffer-to-switch)
10041         (switch-to-buffer-other-window)
10042         (switch-to-buffer-other-frame, display-buffer-other-frame):
10043         Move to window.el.
10045         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10046         (previous-buffer): Move to window.el.
10048         * bindings.el (unbury-buffer): Move to window.el.
10050         * window.el (delete-other-windows-vertically): Move after
10051         definition of delete-other-windows.
10052         (other-window, delete-windows-on, replace-buffer-in-windows):
10053         Move here from window.c.
10054         (record-window-buffer, unrecord-window-buffer)
10055         (set-window-buffer-start-and-point, switch-to-prev-buffer)
10056         (switch-to-next-buffer): New functions.
10057         (get-next-valid-buffer, last-buffer, next-buffer): Move here
10058         from simple.el.  Call switch-to-next-buffer.
10059         (previous-buffer): Move here from simple.el.
10060         Call switch-to-prev-buffer.
10061         (bury-buffer): Move here from buffer.c.  Switch to previous
10062         buffer when window cannot be deleted.
10063         (unbury-buffer): Move here from bindings.el.
10064         (ctl-x-map): Move binding for other-window from window.c to
10065         here.
10066         (read-buffer-to-switch, switch-to-buffer-other-window)
10067         (switch-to-buffer-other-frame): Move here from files.el.
10068         (normalize-buffer-to-switch-to): New functions.
10069         (switch-to-buffer): Move here from buffer.c.
10070         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10072 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
10074         * window.el (window-min-height, window-min-width): Move here
10075         from window.c.  Add defcustoms and rewrite doc-strings.
10076         (resize-mini-window, resize-window): New functions.
10077         (adjust-window-trailing-edge, enlarge-window, shrink-window):
10078         Move here from window.c.
10079         (maximize-window, minimize-window): New functions.
10080         (delete-window, delete-other-windows, split-window): Move here
10081         from window.c.
10082         (window-split-min-size): New function.
10083         (split-window-keep-point): Mention split-window-above-each-other
10084         instead of split-window-vertically.
10085         (split-window-above-each-other, split-window-vertically):
10086         Rename split-window-vertically to split-window-above-each-other
10087         and provide defalias for old definition.
10088         (split-window-side-by-side, split-window-horizontally):
10089         Rename split-window-horizontally to split-window-side-by-side
10090         and provide defalias for the old definition.
10091         (ctl-x-map): Move bindings for delete-window,
10092         delete-other-windows and enlarge-window here from window.c.
10093         Replace bindings for split-window-vertically and
10094         split-window-horizontally by bindings for
10095         split-window-above-each-other and split-window-side-by-side.
10097         * cus-start.el (all): Remove entries for window-min-height and
10098         window-min-width.  Add entries for window-splits and
10099         window-nest.
10101 2011-06-09  Glenn Morris  <rgm@gnu.org>
10103         * calendar/appt.el (appt-mode-line): New function.
10104         (appt-check, appt-disp-window): Use it.
10106         * files.el (hack-one-local-variable-eval-safep):
10107         Allow minor-modes with explicit +/-1 arguments.
10109 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
10111         * term/xterm.el (xterm): Add defgroup.
10112         (xterm-extra-capabilities): Add defcustom to supply known xterm
10113         capabilities, skip querying them, or query them (default).
10114         (terminal-init-xterm): Use it.
10115         (terminal-init-xterm-modify-other-keys): New function to set up
10116         modifyOtherKeys support to simplify `terminal-init-xterm'.
10118 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
10120         * window.el (resize-window-reset, resize-window-reset-1)
10121         (resize-subwindows-skip-p, resize-subwindows-normal)
10122         (resize-subwindows, resize-other-windows, resize-this-window)
10123         (resize-root-window, resize-root-window-vertically)
10124         (window-deletable-p, window-or-subwindow-p)
10125         (frame-root-window-p): New functions.
10127 2011-06-09  Glenn Morris  <rgm@gnu.org>
10129         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10130         (ange-ftp-get-files): Use it.
10132 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10134         * mail/sendmail.el (mail-recover-1, mail-recover):
10135         * files.el (recover-file, recover-session):
10136         Handle dired-listing-switches not being just a single short option.
10138 2011-06-09  Glenn Morris  <rgm@gnu.org>
10140         * calendar/appt.el (appt-display-message, appt-disp-window):
10141         Handle lists of appointments.
10143 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
10145         * window.el (one-window-p): Move down in code.
10146         Rewrite doc-string.
10147         (window-current-scroll-bars): Rewrite doc-string.
10148         Normalize live window argument.
10149         (walk-windows, get-window-with-predicate, count-windows):
10150         Rewrite doc-string.  Use window-list-1.
10151         (window-in-direction-2, window-in-direction, get-mru-window):
10152         New functions.
10154 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
10156         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10157         Doc fix (Bug#8713).
10159 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
10161         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10163 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
10165         * loadhist.el (unload-feature-special-hooks):
10166         Add `comint-output-filter-functions'.
10168 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
10170         * calendar/appt.el (appt-check): Move some initializations into the let.
10172 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
10174         * window.el (window-height): Defalias to window-total-height.
10175         (window-width): Defalias to window-body-width.
10177 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
10179         * image-mode.el (image-toggle-animation): New command.
10180         (image-mode-map): Bind it to RET.
10181         (image-mode): Update message.
10182         (image-toggle-display-image): Avoid a spurious cache flush.
10183         (image-transform-rotation): Doc fix.
10184         (image-transform-properties): Return quickly in the normal case.
10185         (image-animate-loop): Rename from image-animate-max-time.
10187         * image.el (image-animate-max-time): Move to image-mode.el.
10188         (create-animated-image): Remove unnecessary function.
10189         (image-animate): Rename from image-animate-start.  New arg.
10190         (image-animate-stop): Remove; just use image-animate-timer.
10191         (image-animate-timer): Use car-safe.
10192         (image-animate-timeout): Rename argument.
10194 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
10196         * window.el (get-lru-window, get-largest-window): Move here from
10197         window.c.  Rename first argument to ALL-FRAMES.
10198         Rephrase doc-strings.
10199         (get-buffer-window-list): Rewrite using window-list-1.
10200         Rephrase doc-string.
10201         (window-safe-min-height, window-safe-min-width): New constants.
10202         (window-size-ignore, window-min-size, window-min-size-1)
10203         (window-sizable, window-sizable-p, window-size-fixed-1)
10204         (window-size-fixed-p, window-min-delta-1, window-min-delta)
10205         (window-max-delta-1, window-max-delta, window-resizable)
10206         (window-resizable-p, window-total-height, window-total-width)
10207         (window-body-width): New functions.
10208         (window-full-height-p, window-full-width-p): Rewrite using
10209         window-total-size.
10210         (window-body-height): Rewrite using window-body-size.
10212 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
10214         * window.el (window-right, window-left, window-child)
10215         (window-child-count, window-last-child, window-any-p)
10216         (normalize-live-buffer, normalize-live-frame)
10217         (normalize-any-window, normalize-live-window)
10218         (window-iso-combination-p, window-iso-combined-p)
10219         (window-iso-combinations)
10220         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10221         (windows-with-parameter, window-with-parameter)
10222         (window-atom-root, make-window-atom, window-atom-check-1)
10223         (window-atom-check, window-side-check, window-check):
10224         New functions.
10225         (ignore-window-parameters, window-sides, window-sides-vertical)
10226         (window-sides-slots): New variables.
10227         (window-size-fixed): Move down in code.  Minor doc-string fix.
10229 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
10231         * comint.el (comint-dynamic-complete-as-filename)
10232         (comint-dynamic-complete-filename): Correctly call
10233         completion-in-region.
10235 2011-06-05  Deniz Dogan  <deniz@dogan.se>
10237         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10238         in last change.
10240 2011-06-05  Deniz Dogan  <deniz@dogan.se>
10242         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10243         (rcirc): Use it to prompt for encryption.
10245 2011-06-05  Roland Winkler  <winkler@gnu.org>
10247         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10248         (bibtex-search-entries): New command bound to C-c C-a.
10249         (bibtex-display-entries): New function.
10251 2011-06-05  Roland Winkler  <winkler@gnu.org>
10253         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10254         (bibtex-insert-kill): After yanking insert newline if necessary.
10255         (bibtex-initialize): Call bibtex-string-files-init only once.
10256         (bibtex-mode): Do not call easy-menu-add.
10257         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10258         (bibtex-yank): Set arg properly if nil.
10260 2011-06-05  Roland Winkler  <winkler@gnu.org>
10262         * textmodes/bibtex.el (bibtex-search-entry-globally):
10263         New variable.
10264         (bibtex-search-entry): Use it.
10266 2011-06-05  Roland Winkler  <winkler@gnu.org>
10268         * textmodes/bibtex.el (bibtex-entry-format): New option
10269         sort-fields.
10270         (bibtex-format-entry, bibtex-reformat): Honor this option.
10271         (bibtex-parse-entry): Return fields in proper order.
10273 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
10275         * doc-view.el (doc-view-remove-if): Move computation of result out
10276         of `dolist' to silence misleading lexical-binding warning.
10278 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
10280         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10281         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10283 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
10285         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10286         "SunOS 5.10".
10288 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
10290         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10291         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10292         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10293         (tramp-parse-putty):
10294         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10295         (tramp-completion-function-alist-ssh)
10296         (tramp-completion-function-alist-telnet)
10297         (tramp-completion-function-alist-su)
10298         (tramp-completion-function-alist-putty): Set `tramp-autoload'
10299         cookie.
10301         * net/tramp-ftp.el:
10302         * net/tramp-sh.el:
10303         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10304         load "tramp.el" `tramp-set-completion-function'.
10306 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10308         * shell.el: Require and use pcomplete.
10309         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10310         (shell-completion-vars): Set pcomplete-default-completion-function.
10312 2011-06-04  Deniz Dogan  <deniz@dogan.se>
10314         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10315         `memq' (Bug#8799).
10317 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10319         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10321 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
10323         * bs.el (bs--mark-unmark, bs--nth-wrapper):
10324         * mpc.el (mpc-select-extend, mpc-songpointer-context):
10325         * vc/log-view.el (log-view-beginning-of-defun):
10326         * vc/smerge-mode.el (smerge-apply-resolution-patch)
10327         (smerge-refine-forward, smerge-refine-chopup-region):
10328         Silence warning for unused `dotimes' counter variables.
10330 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10332         * net/tramp.el (tramp-with-progress-reporter): Rename from
10333         with-progress-reporter.  Use `declare'.
10334         * net/tramp-smb.el:
10335         * net/tramp-sh.el:
10336         * net/tramp-gvfs.el: Update all uses.
10338 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
10340         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10341         buffer isn't killed before making it current.
10343 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10345         Silence various byte-compiler warnings.
10346         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10347         `access-type' and new obsolescence format.
10348         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10349         new format.
10350         (byte-compile-check-variable): New `access-type' argument.
10351         Only warn if the access-type is obsolete.
10352         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10353         (byte-compile-variable-set): Adjust callers.
10354         * help-fns.el (describe-variable): Adjust to new obsolescence format.
10355         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10356         setting it as obsolete.
10357         * simple.el (minibuffer-completing-symbol):
10358         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10359         access as obsolete.
10360         * minibuffer.el (minibuffer-completing-file-name): Don't make it
10361         obsolete yet.
10362         * international/quail.el (quail-mouse-choose-completion): Remove unused
10363         code referring to obsolete var.
10364         (quail-choose-completion-string): Remove.
10365         * server.el (server-clients-with, server-kill-buffer-query-function)
10366         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10367         * proced.el (proced-send-signal):
10368         * emacs-lisp/lisp.el (lisp-complete-symbol):
10369         Replace completion-annotate-function with completion-extra-properties.
10371 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10373         * simple.el (goto-line): Use read-number.
10374         (overriding-map-is-bound): Remove.
10375         (saved-overriding-map): Change default.
10376         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10377         Take the map as argument.
10378         (universal-argument, negative-argument, digit-argument): Use it.
10379         (restore-overriding-map): Adjust.
10380         (do-auto-fill): Use fill-forward-paragraph.
10381         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10383         * minibuffer.el (minibuffer-inactive-mode-map): New var.
10384         (minibuffer-inactive-mode): New major mode.
10385         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10386         the *Messages* buffer" hack.
10387         (mouse-popup-menubar): Don't burp if the event is a normal key.
10389         Miscellaneous tweaks.
10390         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10391         lexical scoping as in subr.el's dolist and dotimes.
10392         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10393         Silence compiler warning.
10394         * thingatpt.el (forward-whitespace): Trivial coding style fix.
10395         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10396         * international/ccl.el (ccl-compile): Trivial simplification.
10397         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10398         * emacs-lisp/testcover.el (testcover-end): Remove spurious
10399         `printflag' argument.
10400         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10401         Purecopy the whole obsolescence data.
10403 2011-06-01  Leo Liu  <sdl.web@gmail.com>
10405         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10406         improve doc-string as suggested by Marco Pessotto
10407         <melmothx@gmail.com>.
10408         (rcirc-print): Fix last change.
10410 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10412         * minibuffer.el (complete-with-action): Return nil for the metadata and
10413         boundaries of non-functional tables.
10414         (completion-table-dynamic): Return nil for the metadata.
10415         (completion-table-with-terminator): Add default case, using
10416         complete-with-action.
10417         (completion--metadata): New function.
10418         (completion-all-sorted-completions, minibuffer-completion-help): Use it
10419         to try and avoid pathological performance problems.
10420         (completion--embedded-envvar-table): Return `category' metadata.
10422 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10424         * subr.el (process-alive-p): New tiny convenience function.
10426 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10428         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10429         content but also its previous major mode.
10431 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
10433         * emacs-lisp/debug.el (debug): Restore the previous content of the
10434         *Backtrace* buffer when we exit with C-M-c.
10436 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10438         * minibuffer.el: Add metadata method to completion tables.
10439         (completion-category-overrides): New defcustom.
10440         (completion-metadata, completion--field-metadata)
10441         (completion-metadata-get, completion--styles)
10442         (completion--cycle-threshold): New functions.
10443         (completion-try-completion, completion-all-completions):
10444         Add `metadata' argument to choose completion-styles.
10445         (completion--do-completion): Use metadata to choose cycling.
10446         (completion-all-sorted-completions): Use metadata for sorting.
10447         Remove :completion-cycle-penalty which is not needed any more.
10448         (completion--try-word-completion): Add `metadata' argument.
10449         (minibuffer-completion-help): Check metadata for annotation function
10450         and sorting.
10451         (completion-file-name-table): Return `category' metadata.
10452         (minibuffer-completing-file-name): Make obsolete.
10453         * simple.el (minibuffer-completing-symbol): Make obsolete.
10454         * icomplete.el (icomplete-completions): Pass new `metadata' param to
10455         completion-try-completion.
10457 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10459         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10461 2011-05-30  Leo Liu  <sdl.web@gmail.com>
10463         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10464         (rcirc-print): Decode all incoming messages (bug#8744).
10465         (rcirc-decode-coding-system): Allow value nil for automatic coding
10466         system detection.
10468 2011-06-01  Glenn Morris  <rgm@gnu.org>
10470         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10472 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10474         * image.el (image-animate-max-time): Allow nil and t values.
10475         Default to nil.
10476         (create-animated-image): Doc fix.
10477         (image-animate-start): Remove second arg; just use
10478         image-animate-max-time.
10479         (image-animate-timeout): Doc fix.  Args changed.
10481         * image-mode.el (image-toggle-display-image): Ensure that the
10482         image spec passed to the animate timer is the same object as in
10483         the buffer's display property (Bug#6981).
10484         (image-transform-properties): Doc fix.
10486         * image.el (image-animate-max-time): Default to nil.
10488 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
10490         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10491         entire buffer list (Bug#8184).
10493 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10495         * image.el (imagemagick-types-inhibit)
10496         (imagemagick-register-types): Doc fix.
10498 2011-05-29  Deniz Dogan  <deniz@dogan.se>
10500         * net/rcirc.el (rcirc): Use the user's stored encryption method by
10501         default.
10503 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
10505         * select.el: Don't perform clipboard-manager saving in hooks;
10506         leave the hooks empty.
10508 2011-05-28  Leo Liu  <sdl.web@gmail.com>
10510         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10511         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
10512         (occur-edit-mode): New major mode (Bug#8463).
10513         (occur-after-change-function): New function.
10514         (occur-engine): Give Occur tags a read-only property.
10516 2011-05-28  Kevin Ryde  <user42@zip.com.au>
10518         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10520 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10522         * bindings.el (help-echo): Make the initial non-indicator dash
10523         empty on graphical terminals (Bug#7295).
10525         * files.el (auto-mode-alist): Move config rule after the
10526         in-stripping one (Bug#8547).
10528         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10530         * startup.el (normal-splash-screen): Remove gratuitous mode-line
10531         setting (Bug#8740).
10533 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
10535         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10536         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10537         (Bug#8539).
10539 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10541         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10543 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
10545         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10546         (hs-hide-block-at-point, hs-find-block-beginning)
10547         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10548         (Bug#8279).
10550 2011-05-28  Glenn Morris  <rgm@gnu.org>
10552         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
10554 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
10556         * help-fns.el (describe-function-1): If the function is a derived
10557         major mode, print the parent mode.
10559         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10560         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10562 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10564         * minibuffer.el (completion--capf-wrapper): Check applicability before
10565         returning non-nil for non-exclusive completion data.
10566         * progmodes/etags.el (tags-completion-at-point-function):
10567         * info-look.el (info-lookup-completions-at-point): Mark as
10568         non-exclusive.
10569         (info-complete): Adjust accordingly.
10571         * info-look.el: Convert to lexical-binding and completion-at-point.
10572         (info-lookup-completions-at-point): New function.
10573         (info-complete): Use it and completion-in-region.
10575 2011-05-28  Drew Adams  <drew.adams@oracle.com>
10577         * isearch.el: Let M-e start with point at the first mismatched char.
10578         (isearch-fail-pos): New function.
10579         (isearch-edit-string): Use it.
10581 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
10583         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10585 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
10587         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
10588         traversal functions for avl-trees.
10589         (avl-tree--stack): New struct.
10590         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10591         (avl-tree-enter): Add optional `updatefun' arg.
10592         (avl-tree--do-enter): Add optional `updatefun' arg.
10593         Change return value.
10594         (avl-tree-delete): Add optional `test' and `nilflag' args.
10595         (avl-tree--do-delete): Add `test' and `nilflag' args.
10596         Change return value.
10597         (avl-tree-member): Add optional `nilflag'
10598         (avl-tree-member-p): New function.
10599         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10600         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10601         (avl-tree-stack-empty-p): New functions.
10603         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10604         avl-tree--del-balance1 and make it work both ways.
10605         (avl-tree--del-balance2): Remove.
10606         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10607         make it work both ways.
10608         (avl-tree--enter-balance2): Remove.
10609         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10610         New macros.
10611         (avl-tree--mapc, avl-tree-map): Add direction argument.
10613 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
10615         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10617 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
10619         * select.el: Support clipboard managers with built-in function
10620         x-clipboard-manager-save, via delete-frame-functions and
10621         kill-emacs-hook.
10622         (xselect-convert-to-targets): Add MULTIPLE target to list.
10623         (xselect-convert-to-save-targets): New function.
10625 2011-05-27  Kenichi Handa  <handa@m17n.org>
10627         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10628         let-binding rfc2047-encode-encoded-words to nil.
10630 2011-05-27  Glenn Morris  <rgm@gnu.org>
10632         * mail/emacsbug.el: Don't require url-util.
10634         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
10636         * files.el (set-auto-mode):
10637         Also respect mode: entries at the end of the file.  (Bug#8586)
10639 2011-05-26  Glenn Morris  <rgm@gnu.org>
10641         * files.el (hack-local-variables-prop-line, hack-local-variables):
10642         Downcase mode names, as seems to be traditional.
10643         (hack-local-variables, hack-local-variables-apply): Doc fixes.
10645         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10646         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
10648 2011-05-25  Julien Danjou  <julien@danjou.info>
10650         * textmodes/rst.el (rst-define-level-faces): Do not define face
10651         symbol if it is already defined.
10653 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10655         * play/5x5.el (5x5-new-game, 5x5-randomize):
10656         Reset 5x5-solver-output to nil when a new grid is cast.
10657         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10658         these debugging traces, as defmacro breaks the compiled code.
10660 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
10662         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10664 2011-05-24  Leo Liu  <sdl.web@gmail.com>
10666         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10667         (vc-bzr-sha1): Adapt.
10669         * sha1.el: Remove.  Function `sha1' is now builtin.
10671         * bindings.el: Provide sha1 feature.
10673 2011-05-24  Kenichi Handa  <handa@m17n.org>
10675         * mail/sendmail.el: Require `rfc2047'.
10676         (mail-insert-from-field): Do not perform RFC2047 encoding.
10677         (mail-encode-header): New function.
10678         (sendmail-send-it): Set buffer-file-coding-system of the work
10679         buffer to the return value of select-message-coding-system.
10680         Call mail-encode-header.
10682         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10684 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
10686         * mail/supercite.el (sc-default-cite-frame):
10687         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
10689 2011-05-24  Glenn Morris  <rgm@gnu.org>
10691         * progmodes/python.el (brm-menu): Declare.
10693         * emulation/viper.el (viper-set-hooks): Declare.
10695         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10696         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10697         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10698         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10699         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10700         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10702 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10704         Add an :exit-function for completion-at-point.
10706         * minibuffer.el (completion--done): New fun.
10707         (completion--do-completion): Use it.  New arg `expect-exact'.
10708         (minibuffer-complete, minibuffer-complete-word): Don't output message,
10709         since completion--do-completion does it for us now.
10710         (minibuffer-force-complete): Use completion--done and
10711         completion--replace.  Handle sole-completion case with more care.
10712         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10713         (completion-extra-properties): New var.
10714         (completion-annotate-function): Make obsolete.
10715         (minibuffer-completion-help): Adjust accordingly.
10716         Use completion-list-insert-choice-function.
10717         (completion-at-point, completion-help-at-point):
10718         Bind completion-extra-properties.
10719         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10720         * simple.el (completion-list-insert-choice-function): New var.
10721         (completion-setup-function): Preserve it.
10722         (choose-completion): Pay attention to it, shuffle the code a bit.
10723         (choose-completion-string): New arg `insert-function'.
10725         * textmodes/bibtex.el: Convert to lexical binding.
10726         (bibtex-mode-map): Use completion-at-point.
10727         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10728         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10729         (bibtex-complete): Define as obsolete alias.
10730         (bibtex-complete-internal): Remove.
10731         (bibtex-format-entry): Remove unused sub-group in regexp.
10732         * shell.el (shell--command-completion-data)
10733         (shell-environment-variable-completion):
10734         * pcomplete.el (pcomplete-completions-at-point):
10735         * comint.el (comint--complete-file-name-data): Use :exit-function
10736         instead of completion-table-with-terminator so it also works for
10737         choose-completion.
10739 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10741         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10743         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10744         (bug#8710).
10746         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10748 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
10750         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10751         customization variable and implement: If non-nil, auto-fill will
10752         be inhibited while on topic's header line.
10754 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10756         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
10757         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
10758         always have a solution in grid size = 5 cases.
10759         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10760         (5x5-solver-output, 5x5-log-buffer): New vars.
10761         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10762         Make these variables buffer local to achieve 5x5 multi-session-ness.
10763         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10764         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10765         (5x5-solve-suggest): New funs.
10766         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10767         randomize a grid so that we ensure that there is always a solution.
10768         (5x5-make-random-grid): Allow other movement than flipping.
10770 2011-05-23  Kevin Ryde  <user42@zip.com.au>
10772         * emacs-lisp/advice.el (ad-read-advised-function):
10773         Use `function-called-at-point' as the default, if it has
10774         advice and passes PREDICATE.
10776 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10778         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10779         byte-compile-lambda if it's actually a lambda.
10781         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10782         Fix function quoting.  Use backquote better.
10784 2011-05-22  Yuanle Song  <sylecn@gmail.com>
10786         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10787         matching (Bug#8516).
10789 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
10791         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10792         different face (Bug#8178).
10794 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
10796         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10797         defface (Bug#8144).
10799 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10801         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10802         funcall as well (bug#8712).  Warn when performing those conversions.
10803         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10805         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10807 2011-05-22  Glenn Morris  <rgm@gnu.org>
10809         * files.el (hack-local-variables-prop-line): Small simplifications.
10810         (hack-local-variables, hack-local-variables-prop-line):
10811         If MODE-ONLY, return the mode, rather than just `t'.
10813 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10815         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10817 2011-05-21  Glenn Morris  <rgm@gnu.org>
10819         * files.el (hack-local-variables-prop-line, hack-local-variables):
10820         If only interested in the mode, don't bother doing the other stuff.
10822         * image-mode.el (image-after-revert-hook):
10823         Redraw all frames on which the image is visible.  (Bug#8567)
10825         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
10827         * wid-edit.el (widget-checklist-match-inline):
10828         Fix 2011-04-19 change.  (Bug#8649)
10830 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10832         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10833         Also allow singlespace after single-letter capitals followed by a dot.
10835         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10836         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10838 2011-05-20  Nix  <nix@esperi.org.uk>
10840         * files.el (basic-save-buffer-2):
10841         Fix handling of break-hardlink-on-save with non-existent files.
10843 2011-05-19  Deniz Dogan  <deniz@dogan.se>
10845         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
10846         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
10848 2011-05-19  Glenn Morris  <rgm@gnu.org>
10850         * progmodes/f90.el (f90-type-def-re):
10851         Handle "type, bind(c)".  (Bug#8691)
10853         * emacs-lisp/autoload.el (batch-update-autoloads):
10854         Set autoload-excludes by parsing loadup.el rather than Makefiles.
10856 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
10858         * net/tramp.el (tramp-process-actions): Set "first-password-request"
10859         property for the correct connection in case of multihops.
10861 2011-05-18  Glenn Morris  <rgm@gnu.org>
10863         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
10864         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10866         Rationalize calendar handling of day and month abbrev-arrays.
10867         * calendar/calendar.el (calendar-customized-p): New function.
10868         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10869         (calendar-day-name-array, calendar-month-name-array): Doc fix.
10870         Add :set function.
10871         (calendar-abbrev-length, calendar-day-abbrev-array)
10872         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10873         (calendar-day-abbrev-array, calendar-month-abbrev-array):
10874         Elements may no longer be nil.
10875         (calendar-day-name, calendar-month-name):
10876         Update for changed nature of abbrev arrays.
10877         * calendar/diary-lib.el (diary-name-pattern):
10878         Update for changed nature of abbrev arrays.
10879         (diary-mark-entries-1): Update calendar-make-alist calls.
10880         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10881         * calendar/cal-html.el (cal-html-day-abbrev-array):
10882         Simply inherit from calendar-day-abbrev-array.
10884 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10886         * progmodes/grep.el (grep-mode): Disable default
10887         compilation-directory-matcher setting (bug#8684).
10889 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
10891         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10892         instead of "head" and "tail".  There were problems with SunOS 5.9,
10893         and it performs better.
10895 2011-05-17  Glenn Morris  <rgm@gnu.org>
10897         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10899         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10900         Replace obsolete function.
10902         * shell.el (pcomplete-parse-arguments-function): Declare.
10904         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10905         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10906         (appt-check): Doc fixes.
10907         (appt-disp-window-function, appt-delete-window-function):
10908         Remove needless special case in custom :type.
10909         (appt-display-count): Default to 0, not nil.
10910         (appt-check): Reset appt-display-count to 0, not nil.
10912 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
10914         * progmodes/python.el (python-font-lock-keywords):
10915         Add the Python 3.X keyword "nonlocal" (bug#8639).
10917 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10919         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10921 2011-05-16  Kevin Ryde  <user42@zip.com.au>
10923         * info-look.el (makefile-automake-mode): New setups, looking in
10924         automake manual, then makefile-mode.
10925         (makefile-mode): Remove automake manual, have it just in
10926         makefile-automake-mode since there's various things different or
10927         not relevant to plain make.
10928         (makefile-mode): Remove "other-modes" non-existent automake-mode,
10929         believe a hypothetical automake-mode would go to makefile-mode,
10930         not the other way around.
10932 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
10934         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10935         hunk-end tags (Bug#8672).
10937         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10938         vc-annotate-show-diff-revision-at-line (Bug#8671).
10940 2011-05-14  Glenn Morris  <rgm@gnu.org>
10942         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10943         in the middle of an existing one with multiple authors.  (Bug#8645)
10944         (change-log-font-lock-keywords): Also handle multiple author lines
10945         with leading tabs.  (Bug#8644)
10947         * calendar/appt.el (appt-check): Rename some local variables.
10948         Some simplification/reordering.
10950         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10951         (feedmail-sendmail-f-doesnt-sell-me-out)
10952         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10953         (feedmail-debug-sit-for, feedmail-queue-express-hook)
10954         (feedmail-queue-runner-message-sender): Set :version.
10955         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10956         (bbdb-dwim-net-address, vm-mail): Declare.
10957         (feedmail-binmail-gnulinuxish-template):
10958         Rename from feedmail-binmail-linuxish-template.
10959         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10960         Use insert-buffer-substring.
10962 2011-05-14  Bill Carpenter  <bill@carpenter.org>
10964         * mail/feedmail.el (feedmail-patch-level): Increase.
10965         (feedmail-debug): New custom group.
10966         (feedmail-confirm-outgoing-timeout)
10967         (feedmail-sendmail-f-doesnt-sell-me-out)
10968         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10969         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10970         (feedmail-sender-line, feedmail-from-line)
10971         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
10972         (feedmail-spray-this-address)
10973         (feedmail-spray-address-fiddle-plex-list)
10974         (feedmail-queue-use-send-time-for-date)
10975         (feedmail-queue-use-send-time-for-message-id)
10976         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10977         (feedmail-buffer-eating-function):
10978         Doc fixes.
10979         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10980         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10981         (feedmail-message-action-scroll-down): New functions.
10982         (feedmail-queue-directory, feedmail-queue-draft-directory):
10983         Use expand-file-name.
10984         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10985         Remove C-v help entry.
10986         (feedmail-queue-buffer-file-name): New variable.
10987         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10988         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10989         (feedmail-message-action-send-strong, feedmail-message-action-edit)
10990         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10991         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10992         (feedmail-message-action-toggle-spray)
10993         (feedmail-run-the-queue-no-prompts)
10994         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10995         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10996         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10997         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10998         (feedmail-envelope-deducer, feedmail-fiddle-from)
10999         (feedmail-fiddle-sender, feedmail-default-date-generator)
11000         (feedmail-fiddle-date, feedmail-fiddle-message-id)
11001         (feedmail-fiddle-spray-address)
11002         (feedmail-fiddle-list-of-spray-fiddle-plexes)
11003         (feedmail-fiddle-list-of-fiddle-plexes)
11004         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11005         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11006         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11007         Change default.  Doc fix.
11008         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11009         (feedmail-binmail-linuxish-template): New constant.
11010         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
11011         Respect feedmail-sendmail-f-doesnt-sell-me-out.
11012         (feedmail-send-it): Add debug call.
11013         Use feedmail-queue-buffer-file-name, and
11014         feedmail-send-it-immediately-wrapper.
11015         (feedmail-message-action-send): Add debug call.
11016         Use feedmail-send-it-immediately-wrapper.
11017         (feedmail-queue-express-to-queue): Add debug call.
11018         Run feedmail-queue-express-hook.
11019         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
11020         (feedmail-message-action-help-blat):
11021         Rename from feedmail-queue-send-edit-prompt-help-first.
11022         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
11023         Check line-endings.  Handle errors better.
11024         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11025         Doc fix.  Add debug call.
11026         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
11027         Use feedmail-queue-send-edit-prompt-inner.
11028         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11029         (feedmail-queue-send-edit-prompt-inner): New function, extracted
11030         from feedmail-queue-send-edit-prompt.
11031         (feedmail-queue-send-edit-prompt-help)
11032         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11033         (feedmail-tidy-up-slug): Add debug call.
11034         Respect feedmail-queue-slug-suspect-regexp.
11035         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11036         (feedmail-dump-message-to-queue): Add debug call.
11037         Expand queue-directory.
11038         (feedmail-dump-message-to-queue): Change message slightly.
11039         Use feedmail-say-chatter.
11040         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
11041         (feedmail-send-it-immediately-wrapper): New function.
11042         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
11043         Insert empty string rather than newline.  Handle full-frame case.
11044         Use catch/throw.  Use feedmail-say-chatter.
11045         (feedmail-fiddle-from): Try mail-host-address.
11046         (feedmail-default-message-id-generator): Doc fix.
11047         Bind system-time-locale.  Handle missing end.
11048         (feedmail-fiddle-x-mailer): Add debug call.
11049         Handle feedmail-x-mailer-line being nil.
11050         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11051         Add debug call.  Use buffer-substring-no-properties.
11052         (feedmail-say-debug, feedmail-say-chatter): New functions.
11053         (feedmail-find-eoh): Give an explicit error.
11055 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
11057         * net/newst-treeview.el (newsticker-treeview-face): Change default
11058         family from helvetica to sans.
11059         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11060         etc/images/newsticker.
11062         * net/newst-reader.el (newsticker-feed-face): Change default
11063         family from helvetica to sans.
11065         * net/newst-plainview.el (newsticker-new-item-face)
11066         (newsticker-old-item-face, newsticker-immortal-item-face)
11067         (newsticker-obsolete-item-face, newsticker-date-face)
11068         (newsticker-statistics-face): Change default family from
11069         helvetica to sans.
11070         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11071         etc/images/newsticker.
11073         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11074         (newsticker--process-auto-mark-filter-match): Tell user about
11075         auto-marking.
11077 2011-05-13  Didier Verna  <didier@xemacs.org>
11079         Common Lisp indentation improvements on defmethod and lambda-lists.
11080         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11081         TODO entries.
11082         (lisp-lambda-list-keyword-parameter-indentation)
11083         (lisp-lambda-list-keyword-parameter-alignment)
11084         (lisp-lambda-list-keyword-alignment): New customizable user options.
11085         (lisp-indent-defun-method): Improve docstring.
11086         (extended-loop-p): Fix comment.
11087         (lisp-indent-lambda-list-keywords-regexp): New variable.
11088         (lisp-indent-lambda-list): New function.
11089         (lisp-indent-259): Use it.
11090         (lisp-indent-defmethod): Support for more than one
11091         method qualifier and properly indent methods lambda-lists.
11092         (defgeneric): Provide a missing common-lisp-indent-function property.
11094 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11096         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11097         bounds for the empty string (bug#8667).
11099 2011-05-13  Glenn Morris  <rgm@gnu.org>
11101         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11103         * mail/sendmail.el (sendmail-program): Try executable-find first.
11104         (sendmail-send-it): `sendmail-program' cannot be unbound.
11106         * calendar/appt.el (appt-make-list): Simplify.
11107         (appt-time-msg-list): Doc fix.
11108         (appt-check): Change mode-line message at the time of the appointment.
11110 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
11112         * progmodes/ld-script.el (ld-script-keywords)
11113         (ld-script-builtins): Update keywords list.
11115 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11117         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11119         * shell.el (shell-completion-vars): New function.
11120         (shell-mode):
11121         * simple.el (read-shell-command): Use it.
11122         (blink-matching-open): No need for " [...]" in minibuffer-message.
11124 2011-05-12  Glenn Morris  <rgm@gnu.org>
11126         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11127         (appt-check): Simplify.
11129 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
11131         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11132         literal "/dev/null".
11134 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11136         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11137         Fix typo.
11139 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
11141         * progmodes/which-func.el (which-function):
11142         Use add-log-current-defun instead of add-log-current-defun-function,
11143         which might not be defined (Bug#8260).
11145 2011-05-12  Glenn Morris  <rgm@gnu.org>
11147         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11148         Let byte-compile-initial-macro-environment always take precedence.
11150 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11152         * net/rcirc.el: Add support for SSL/TLS connections.
11153         (rcirc-server-alist): New field `encryption'.
11154         (rcirc): Check `encryption' settings.
11155         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
11156         Merge make-local-variable into `set'.
11157         (rcirc--connection-open-p): New function.
11158         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11159         the process is not a network process (e.g. running gnutls-cli).
11160         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11161         Make rcirc-(en|de)code-coding-system local here.
11162         (rcirc-mode): Merge make-local-variable into `set'.
11163         (rcirc-parent-buffer): Make permanent buffer-local.
11164         (rcirc-multiline-minor-mode): Don't do it here.
11165         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11166         there's no server buffer.
11168 2011-05-11  Glenn Morris  <rgm@gnu.org>
11170         * newcomment.el (comment-kill): Prefix "unused" local.
11172         * term/w32console.el (get-screen-color): Declare.
11174         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11175         Handle symbol elements of byte-compile-initial-macro-environment.
11177 2011-05-10  Leo Liu  <sdl.web@gmail.com>
11179         * bookmark.el (bookmark-bmenu-mode-map):
11180         Bind bookmark-bmenu-search to `/'.
11182         * mail/footnote.el: Convert to utf-8 encoding.
11183         (footnote-unicode-string, footnote-unicode-regexp): New variable.
11184         (Footnote-unicode): New function.
11185         (footnote-style-alist): Add unicode style to the list.
11186         (footnote-style): Doc fix.
11188 2011-05-10  Jim Meyering  <meyering@redhat.com>
11190         Fix doubled-word typos.
11191         * international/quail.el (quail-insert-kbd-layout): and and -> and
11192         * kermit.el: and and -> and
11193         * net/ldap.el (ldap-search-internal): to to -> to
11194         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11195         * progmodes/js.el (js-mode): and and -> and
11196         * textmodes/artist.el (artist-move-to-xy): at at -> at
11197         (artist-draw-region-trim-line-endings): if if -> if
11198         And Safetyc -> Safety.
11199         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11201 2011-05-10  Glenn Morris  <rgm@gnu.org>
11202             Stefan Monnier  <monnier@iro.umontreal.ca>
11204         * files.el (hack-one-local-variable-eval-safep):
11205         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
11207 2011-05-10  Glenn Morris  <rgm@gnu.org>
11209         * calendar/diary-lib.el (diary-list-entries-hook)
11210         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11211         (diary-nongregorian-marking-hook, diary-list-entries)
11212         (diary-include-other-diary-files, diary-mark-entries)
11213         (diary-mark-included-diary-files): Doc fixes.
11215 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
11217         * misc.el: Require tabulated-list.el during compilation.
11219 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
11221         * progmodes/compile.el (compilation-start):
11222         Run compilation-filter-hook for the async case too.
11223         (compilation-filter-hook): Doc fix.
11225 2011-05-09  Deniz Dogan  <deniz@dogan.se>
11227         * wdired.el: Remove outdated installation comment.  Fix usage
11228         comment.
11230 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
11232         * misc.el: Implement new command `list-dynamic-libraries'.
11233         (list-dynamic-libraries--loaded-only-p): New variable.
11234         (list-dynamic-libraries--refresh): New function.
11235         (list-dynamic-libraries): New command.
11237 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
11239         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11240         Fix the ant regexp to handle end-line and end-column info from jikes.
11241         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
11242         higher priority to avoid clobbering by gnu.
11244 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
11246         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11247         if the face has existing theme settings (Bug#8454).
11249 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
11251         * progmodes/perl-mode.el (perl-imenu-generic-expression):
11252         Only match variables declared via `my' or `our' (Bug#8261).
11254         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11255         special file names `.' and `..' (Bug#8259).
11257 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
11259         * progmodes/grep.el (grep-mode-font-lock-keywords):
11260         Remove buffer-changing entries.
11261         (grep-filter): New function.
11262         (grep-mode): Add it to compilation-filter-hook.
11264         * progmodes/compile.el (compilation-filter-hook)
11265         (compilation-filter-start): New defvars.
11266         (compilation-filter): Call compilation-filter-hook prior to
11267         updating the process mark.
11269 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11271         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11273 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
11275         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11276         mailclient-send-it even if window-system is nil.  (Bug#8595)
11278         * term/w32console.el (terminal-init-w32console):
11279         Call get-screen-color and use its output to set the frame
11280         background-mode.  (Bug#8597)
11282 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11284         Make bytecomp.el understand that defmethod defines funs (bug#8631).
11285         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11286         New functions.
11287         (defgeneric, eieio--defmethod): Use them.
11288         (eieio-defgeneric): Remove.
11289         (defmethod): Call defgeneric in a way visible to the byte-compiler.
11291 2011-05-07  Glenn Morris  <rgm@gnu.org>
11293         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11294         Use let rather than let*.
11295         (timeclock-find-discrep): Remove unused local.
11297         * calendar/diary-lib.el (diary-comment-start): Doc fix.
11299         * calendar/appt.el (appt-time-msg-list): Doc fix.
11301 2011-05-06  Noah Friedman  <friedman@splode.com>
11303         * apropos.el (apropos-print-doc): Only use
11304         emacs-lisp-docstring-fill-column when it is bound to an integer,
11305         per that variable's documentation.
11307 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11309         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11310         and warnings are not silently discarded (e.g. use -d instead of -P).
11312 2011-05-06  Glenn Morris  <rgm@gnu.org>
11314         * calendar/appt.el (appt-message-warning-time): Doc fix.
11315         (appt-warning-time-regexp): New option.
11316         (appt-make-list): Respect appt-message-warning-time.
11318         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11319         New options.
11320         (diary-add-to-list): Strip comments from the displayed string.
11321         (diary-mode): Set comment-start and comment-end.
11323         * vc/diff-mode.el (smerge-refine-subst): Declare.
11324         (diff-refine-hunk): Don't require smerge-mode when compiling.
11326 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
11328         * simple.el (list-processes): Return nil as the docstring says.
11330 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
11332         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11333         to "".
11334         (ange-ftp-write-region, ange-ftp-insert-file-contents)
11335         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11336         determining of binary transfer.  (Bug#7383)
11338 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
11340         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11341         Fix port computation bug.  (Bug#8618)
11343 2011-05-05  Glenn Morris  <rgm@gnu.org>
11345         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11347         * simple.el (shell-dynamic-complete-functions)
11348         (comint-dynamic-complete-functions): Declare.
11350         * net/network-stream.el (gnutls-negotiate):
11351         * simple.el (tabulated-list-print): Fix declarations.
11353         * progmodes/gud.el (syntax-symbol, syntax-point):
11354         Remove unnecessary and incorrect declarations.
11356         * emacs-lisp/check-declare.el (check-declare-scan):
11357         Handle byte-compile-initial-macro-environment in bytecomp.el
11359 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11361         Fix earlier half-done eieio-defmethod change (bug#8338).
11362         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11363         Streamline and change calling convention.
11364         (defmethod): Adjust accordingly and simplify.
11365         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11366         new eieio--defmethod.
11367         (slot-boundp): Minor CSE simplification.
11369 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
11371         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11372         (glasses-make-readable): Use glasses-separate-capital-groups.
11374 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
11376         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11377         (warning-series): Doc fix.
11378         (display-warning): Don't try to create the buffer if we just found it.
11380 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
11382         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11383         (autoload-find-generated-file): New function.
11384         (generate-file-autoloads): Bind generated-autoload-file to
11385         buffer-file-name.
11386         (update-file-autoloads, update-directory-autoloads):
11387         Use autoload-find-generated-file.  If called interactively, prompt for
11388         output file (Bug#7989).
11389         (batch-update-autoloads): Doc fix.
11391 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
11393         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11395 2011-05-04  Glenn Morris  <rgm@gnu.org>
11397         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11398         function, so it follows changes in calendar-date-style.
11399         (diary-fancy-date-matcher): New function.
11400         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11401         (diary-fancy-font-lock-fontify-region-function):
11402         Use diary-fancy-date-pattern as a function.
11404         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11405         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
11407 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
11409         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11410         instead of positional arguments.  Allow :keylist and :crlfiles
11411         arguments.
11412         (open-gnutls-stream): Call it.
11414         * net/network-stream.el (network-stream-open-starttls): Adjust to
11415         call `gnutls-negotiate' with :process and :hostname arguments.
11417 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11419         * minibuffer.el (completion--message): New function.
11420         (completion--do-completion, minibuffer-complete)
11421         (minibuffer-force-complete, minibuffer-complete-word): Use it.
11422         (completion--do-completion): Don't ignore completion-auto-help when in
11423         icomplete-mode.
11425         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11426         internal encoding (e.g. tibetan zero is not whitespace).
11427         (global-whitespace-mode): Prefer save-current-buffer.
11428         (whitespace-trailing-regexp): Remove useless save-match-data.
11429         (whitespace-empty-at-bob-regexp): Minor simplification.
11431 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
11433         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11435 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11437         * textmodes/ispell.el (ispell-add-per-file-word-list):
11438         Use `concat' to create string for insertion.
11440 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11442         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11443         Avoid open-line which runs post-self-insert-hook.
11444         (bibtex-fill-entry): Remove unused `end' var.
11446 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
11448         * textmodes/ispell.el (ispell-add-per-file-word-list):
11449         Protect against `nil' value of `comment-start' (Bug#8579).
11451 2011-05-03  Leo Liu  <sdl.web@gmail.com>
11453         * isearch.el (isearch-yank-pop): New command.
11454         (isearch-mode-map): Bind it to `M-y'.
11455         (isearch-forward): Mention it.
11457 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11459         * simple.el (minibuffer-complete-shell-command): Remove.
11460         (minibuffer-local-shell-command-map): Use completion-at-point.
11461         (read-shell-command): Setup completion vars here instead.
11462         (read-expression-map): Bind TAB to symbol completion.
11464         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11465         error directly rather via storing it into `results'.
11467 2011-05-02  Leo Liu  <sdl.web@gmail.com>
11469         * vc/diff.el: Fix description.
11471 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11473         * server.el (server-eval-at): New function.
11475 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11477         * net/network-stream.el (open-network-stream): Take a :nowait
11478         parameter and pass it on to `make-network-process'.
11479         (network-stream-open-plain): Ditto.
11481 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11483         * faces.el (face-spec-set-match-display): Don't match toolkit
11484         options on terminal frames.
11486 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11488         * progmodes/pascal.el: Use lexical binding.
11489         (pascal-mode-map): Remove author preferences.
11491         * pcomplete.el (pcomplete-std-complete): Don't abuse
11492         completion-at-point.
11494 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
11496         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11497         removing code that has been dead since 1991 or so.
11499         * startup.el (command-line): When warning about "_emacs", use a
11500         delayed warning to allow the user to filter it out.
11502 2011-04-28  Deniz Dogan  <deniz@dogan.se>
11504         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11505         user has not joined.
11507 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11509         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11510         aren't any completions at point.
11512 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
11514         * subr.el (display-delayed-warnings): New function.
11515         (delayed-warnings-hook): New variable.
11517 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11519         * minibuffer.el (completion-at-point, completion-help-at-point):
11520         Don't presume that a given completion-at-point-function will always
11521         use the same calling convention.
11523         * pcomplete.el (pcomplete-completions-at-point):
11524         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
11525         pcomplete-seen is non-nil.
11526         (pcomplete-comint-setup): Also recognize the new comint/shell
11527         completion functions.
11528         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11529         pcomplete-seen is non-nil.
11531 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
11533         * calendar/icalendar.el (diary-lib): Add require statement.
11534         (icalendar--create-uid): Read out a uid from a text-property on
11535         the first character in the entry.  This allows for code to add its
11536         own uid to the entry.
11537         (icalendar--convert-float-to-ical): Add export of
11538         `diary-float'-entries save for those with the optional DAY
11539         argument.
11541 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
11543         * subr.el (shell-quote-argument): Use alternate escaping strategy
11544         when we spot a variable reference in a string.
11546 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
11548         * cus-start.el (all): Define customization for debug-on-event.
11550 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
11552         * subr.el (shell-quote-argument): Escape correctly under Windows.
11554 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11556         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11558 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
11560         * net/tramp.el (tramp-process-actions): Add POS argument.
11561         Delete region between POS and (pos).
11563         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11564         Use `nil' position in `tramp-process-actions' call.
11565         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11567         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11568         position in `tramp-process-actions' call.
11570         * net/trampver.el: Update release number.
11572 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11574         * custom.el (defcustom): Obey lexical-binding.
11576         Fix octave-inf completion problems reported by Alexander Klimov.
11577         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11578         Inherit from octave-mode-syntax-table.
11579         (inferior-octave-mode): Set info-lookup-mode.
11580         (inferior-octave-completion-at-point): New function.
11581         (inferior-octave-complete): Use it and completion-in-region.
11582         (inferior-octave-dynamic-complete-functions): Use it as well, and use
11583         comint-filename-completion.
11584         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11585         symbol elements which shouldn't be word elements.
11586         (octave-font-lock-keywords, octave-beginning-of-defun)
11587         (octave-function-header-regexp): Adjust regexps accordingly.
11588         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11590 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
11592         * net/gnutls.el (gnutls-errorp): Declare before first use.
11594 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
11596         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11597         verify-error, and verify-hostname-error parameters.  Check whether
11598         default trustfile exists before going to use it.  Add missing
11599         argument to gnutls-message-maybe call.  Return value.
11600         Reported by Claudio Bley <claudio.bley@gmail.com>.
11601         (open-gnutls-stream): Add usage example.
11603         * net/network-stream.el (network-stream-open-starttls): Give host
11604         parameter to `gnutls-negotiate'.
11605         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
11606         * subr.el (shell-quote-argument): Escape correctly under Windows.
11608 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
11610         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11611         Use correct match group (bug#8438).
11613 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
11615         * emacs-lisp/package.el (package-built-in-p): Fix typo.
11616         (package-menu--generate): New arg specifying packages to show.
11617         (package-menu-refresh, package-menu-execute, list-packages):
11618         Callers changed.
11619         (package-show-package-list): New function, replacing deleted
11620         package--list-packages (renamed because it is non-internal).
11622         * finder.el (finder-list-matches): Use package-show-package-list
11623         instead of deleted package--list-packages.
11625         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11626         Based on a previous implementation by Juanma Barranquero (Bug#8366).
11627         (vc-annotate-mode-map): Bind it to RET.
11629 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
11631         * progmodes/etags.el (next-file): Don't use set-buffer to change
11632         buffers (Bug#8478).
11634 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
11636         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11638         * apropos.el (apropos-label-face): Avoid variable-pitch face.
11639         (apropos-accumulator): Doc fix.
11640         (apropos-function, apropos-macro, apropos-command)
11641         (apropos-variable, apropos-face, apropos-group, apropos-widget)
11642         (apropos-plist): Add face property.
11643         (apropos-symbols-internal): Fix indentation.
11644         (apropos-print): Simplify help, and recognize apropos-multi-type.
11645         (apropos-print-doc): Use button-type-get to extract the button's
11646         face property.  Fill docstring (Bug#8352).
11648 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
11650         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11652         * play/mpuz.el (mpuz-silent): Doc fix.
11653         (mpuz-mode-map): Use mapc.
11654         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11655         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11656         Fix typos in docstrings.
11658         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11659         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11661         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11663 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
11665         * minibuffer.el (completion--do-completion): Avoid the "Next char
11666         not unique" prompt if icomplete-mode is enabled (Bug#5849).
11668         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11669         mouse-2 into unread-command-events, it is interpreted correctly.
11671         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
11672         (image-toggle-display): Doc fix.
11674 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
11676         * textmodes/page.el (what-page): Use line-number-at-pos to
11677         calculate line number (Bug#6825).
11679 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
11681         * eshell/esh-mode.el (find-tag-interactive): Declare function.
11682         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11683         Pass argument NO-DEFAULT to `find-tag-interactive'.
11685 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
11687         Lexical-binding cleanup.
11689         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11690         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11691         * progmodes/ada-prj.el (ada-prj-initialize-values)
11692         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11693         (ada-prj-show-value):
11694         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11695         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11696         (antlr-invalidate-context-cache, antlr-options-menu-filter)
11697         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11698         * progmodes/bug-reference.el (bug-reference-push-button):
11699         * progmodes/fortran.el (fortran-line-length):
11700         * progmodes/glasses.el (glasses-change):
11701         * progmodes/octave-mod.el (octave-fill-paragraph):
11702         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11703         (python-pdbtrack-grub-for-buffer, python-sentinel):
11704         * progmodes/sql.el (sql-save-connection):
11705         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11706         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11707         Mark unused parameters.
11709         * progmodes/compile.el (compilation--flush-directory-cache)
11710         (compilation--flush-parse, compile-internal): Mark unused parameters.
11711         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11712         (compilation-next-error-function): Remove unused variable `timestamp'.
11714         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11715         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11717         * progmodes/dcl-mode.el (dcl-end-of-command):
11718         Remove unused variable `start'.
11719         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11720         (dcl-option-value-basic, dcl-option-value-offset)
11721         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11722         Mark unused parameters.
11723         (dcl-save-local-variable): Remove unused variable `val'.
11724         (mode): Declare.
11726         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11727         Mark unused parameters.
11728         (delphi-ignore-changes): Move before first use.
11729         (delphi-charset-token-at): Remove unused variable `start'.
11730         (delphi-else-start): Remove unused variable `if-count'.
11731         (delphi-comment-block-start, delphi-comment-block-end):
11732         Remove unused variable `kind'.
11733         (delphi-indent-line): Remove unused variable `new-point'.
11735         * progmodes/ebrowse.el (ebrowse-files-list)
11736         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11737         Mark unused parameters.  Don't quote `lambda'.
11738         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11739         Don't quote `lambda'.
11740         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11741         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11742         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11743         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11744         Use `ignore-errors'.
11745         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11746         (ebrowse-view/find-file-and-search-pattern)
11747         (ebrowse-view/find-member-declaration/definition):
11748         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11749         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11750         Rename parameter PREFIX-ARG to PREFIX.
11751         (ebrowse-tags-read-name): Remove unused variables `start' and
11752         `member-info'.
11753         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11754         to `tags-file'.
11756         * progmodes/etags.el (local-find-tag-hook): Declare.
11757         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11758         Mark unused parameters.
11760         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11761         (executable-interpret): Mark unused parameter.
11763         * progmodes/flymake.el (flymake-process-sentinel)
11764         (flymake-after-change-function)
11765         (flymake-create-temp-with-folder-structure)
11766         (flymake-get-include-dirs-dot): Mark unused parameters.
11767         (flymake-safe-delete-directory): Remove unused variable `err'.
11769         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11770         (speedbar-timer-fn, speedbar-line-text)
11771         (speedbar-change-expand-button-char, speedbar-delete-subblock)
11772         (speedbar-center-buffer-smartly): Declare functions.
11773         (gdb-find-watch-expression): Remove unused variable `array'.
11774         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11775         (gdb-starting): Mark unused parameters.
11776         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11777         (gdb-table-string): Remove unused variable `res'.
11778         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11779         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11780         (gdb-display-buffer): Remove unused variable `cur-size'.
11782         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11783         allow lexical-binding compilation.
11784         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11785         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11786         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11787         Mark unused parameters.
11788         (gud-gdb-marker-filter): Remove unused variable `match'.
11789         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11790         lambda expressions and funcall them, instead of using `fset'.
11792         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11793         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11795         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11796         variable `header-beg'; use `let'.
11798         * progmodes/icon.el (indent-icon-exp): Remove unused variables
11799         `restart', `last-sexp' and `at-do'.
11801         * progmodes/js.el (js--debug): Mark unused parameter.
11802         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11803         (js--splice-into-items): Remove unused variable `item'.
11804         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11806         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11807         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11808         (makefile-complete): Remove unused variable `try'.
11809         (makefile-fill-paragraph, makefile-match-function-end):
11810         Mark unused parameters.
11812         * progmodes/octave-inf.el (inferior-octave-complete):
11813         Remove unused variable `proc'.
11814         (inferior-octave-output-digest): Mark unused parameter.
11816         * progmodes/perl-mode.el (perl-calculate-indent):
11817         Remove unused variable `err'.
11819         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11820         (prolog-indent-line): Mark unused parameters.
11821         (prolog-indent-line): Remove unused variable `beg'.
11823         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11824         (reporter-dont-compact-list): Declare.
11826         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11827         Remove unused variable `char'.
11828         (sh-debug): Mark unused parameter.
11829         (sh-get-indent-info): Remove unused variable `start'.
11830         (sh-calculate-indent): Remove unused variable `var'.
11832         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11833         (simula-electric-keyword): Remove unused variable `null'.
11834         (simula-search-backward, simula-search-forward): Remove unused
11835         variables `begin' and `end'.
11837         * progmodes/vera-mode.el (vera-guess-basic-syntax):
11838         Remove unused variable `pos'.
11839         (vera-electric-tab, vera-comment-uncomment-region):
11840         Mark unused parameters.
11841         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11843 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
11845         * emacs-lisp/package.el (package--builtins, package-alist)
11846         (package-load-descriptor, package-built-in-p, package-activate)
11847         (define-package, package-installed-p)
11848         (package-compute-transaction, package-buffer-info)
11849         (package--push): Doc fix.  Distinguish more clearly between
11850         version strings and version lists.
11852 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
11854         Lexical-binding cleanup.
11856         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11857         (5x5-make-mutate-best):
11858         * play/fortune.el (fortune-in-buffer):
11859         * play/gomoku.el (gomoku-init-display):
11860         * play/solitaire.el (solitaire, solitaire-do-check):
11861         * play/tetris.el (tetris-default-update-speed-function):
11862         Mark unused parameters.
11864         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11865         (bubbles--shift): Remove unused variable `char-org'.
11866         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
11867         (bubbles--show-images): Remove unused variable `char'.
11869         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11870         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11871         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11872         (decipher-analyze-buffer): Use ?\s.
11873         (decipher-make-checkpoint): Remove unused variable `mapping'.
11875         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11877         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11878         Remove unused variable `result'; use `let'.
11880         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11881         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11882         (gametree-children-shown-p, gametree-compute-reduced-score):
11883         Use `ignore-errors'.
11885         * play/handwrite.el (ps-lpr-switches): Declare.
11886         (handwrite): Remove unused variables `pmin' and `lastp'.
11888         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11890         * play/landmark.el (landmark-init-display)
11891         (landmark-update-naught-weights): Mark unused parameters.
11892         (landmark-y): Remove unused variable `noise'.  Simplify.
11893         (landmark-human-plays): Remove unused variable `score'.
11895         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11896         (mpuz-try-proposal): Remove unused variable `game'.
11898         * play/zone.el (life-patterns): Declare.
11900 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
11902         * vc/vc.el (ediff-vc-internal): Declare function.
11904 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11906         * shell.el: Use lexical-binding and std completion UI.
11907         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11908         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11909         comint-preoutput-filter-functions rather than on
11910         comint-output-filter-functions.
11911         (shell-command-completion, shell--command-completion-data)
11912         (shell-filename-completion, shell-environment-variable-completion)
11913         (shell-c-a-p-replace-by-expanded-directory): New functions.
11914         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11915         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11916         (shell-dynamic-complete-environment-variable): Use them.
11917         (shell-dynamic-complete-as-environment-variable)
11918         (shell-dynamic-complete-as-command): Remove.
11919         (shell-match-partial-variable): Match past point.
11920         * comint.el: Clean up use of completion-at-point-functions.
11921         (comint-completion-at-point): New function.
11922         (comint-mode): Use it completion-at-point-functions.
11923         (comint-dynamic-complete): Make it obsolete.
11924         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11925         (comint-c-a-p-replace-by-expanded-history): New function.
11926         (comint-dynamic-complete-functions)
11927         (comint-replace-by-expanded-history): Use it.
11928         * minibuffer.el (completion-table-with-terminator): Allow dynamic
11929         termination strings.  Try harder to avoid second try-completion.
11930         (completion-in-region-mode-map): Disable bindings that don't work yet.
11932         * comint.el: Use lexical-binding.  Require CL.
11933         (comint-dynamic-complete-functions): Use comint-filename-completion.
11934         (comint-completion-addsuffix): Tweak custom type.
11935         (comint-filename-completion, comint--common-suffix)
11936         (comint--common-quoted-suffix, comint--table-subvert)
11937         (comint--complete-file-name-data): New functions.
11938         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11939         (comint-dynamic-list-filename-completions): Use them.
11940         (comint-dynamic-simple-complete): Make obsolete.
11942         * minibuffer.el (completion-in-region-mode):
11943         Keep completion-in-region-mode--predicate global.
11944         (completion-in-region--postch):
11945         Assume completion-in-region-mode--predicate is not null.
11947         * progmodes/flymake.el (flymake-start-syntax-check-process):
11948         Obey `dir'.  Simplify.
11950         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11951         we're in VC after all.
11953 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
11955         * vc/vc.el (vc-diff-build-argument-list-internal)
11956         (vc-version-ediff, vc-ediff): New commands.
11957         (vc-version-diff): Use vc-diff-build-argument-list-internal.
11959 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11961         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11962         add sanity check.
11964         * obsolete/erc-hecomplete.el: Make obsolete.
11965         * obsolete/: Standardize obsolescence info in the header.
11967 2011-04-20  Glenn Morris  <rgm@gnu.org>
11969         * calendar/solar.el (solar-horizontal-coordinates):
11970         Use the longitude argument rather than `calendar-longitude'.
11971         (solar-date-next-longitude): Remove unused locals.
11973 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11975         * whitespace.el: New version 13.2.1.
11977 2011-04-20  felix  <EmacsWiki>  (tiny change)
11979         * whitespace.el (global-whitespace-mode): Keep highlight when
11980         switching between major modes on a file.
11982 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11984         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11985         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11986         multi-line comments as well.
11988 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
11990         Lexical-binding cleanup.
11992         * arc-mode.el (archive-mode-revert):
11993         * cmuscheme.el (scheme-interactively-start-process):
11994         * custom.el (custom-initialize-delay):
11995         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11996         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11997         * emacs-lock.el (emacs-lock-clear-sentinel):
11998         * ezimage.el (defezimage):
11999         * follow.el (follow-avoid-tail-recenter):
12000         * fringe.el (set-fringe-mode-1):
12001         * generic-x.el (bat-generic-mode-compile):
12002         * help-mode.el (help-info-variable, help-do-xref)
12003         (help-mode-revert-buffer):
12004         * help.el (view-emacs-todo):
12005         * iswitchb.el (iswitchb-completion-help):
12006         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12007         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12008         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12009         * locate.el (locate-update):
12010         * longlines.el (longlines-encode-region)
12011         (longlines-after-change-function):
12012         * outline.el (outline-isearch-open-invisible):
12013         * ps-def.el (declare-function, charset-dimension, char-width)
12014         (encode-char):
12015         * ps-mule.el (ps-mule-plot-string):
12016         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12017         (recentf-edit-list-select, recentf-edit-list-validate)
12018         (recentf-open-files-action):
12019         * rect.el (delete-whitespace-rectangle-line)
12020         (rectangle-number-line-callback):
12021         * register.el (window-configuration-to-register)
12022         (frame-configuration-to-register):
12023         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12024         * select.el (xselect-convert-to-string, xselect-convert-to-length)
12025         (xselect-convert-to-targets, xselect-convert-to-delete)
12026         (xselect-convert-to-filename, xselect-convert-to-charpos)
12027         (xselect-convert-to-lineno, xselect-convert-to-colno)
12028         (xselect-convert-to-os, xselect-convert-to-host)
12029         (xselect-convert-to-user, xselect-convert-to-class)
12030         (xselect-convert-to-name, xselect-convert-to-integer)
12031         (xselect-convert-to-atom, xselect-convert-to-identity):
12032         * subr.el (declare, ignore, process-kill-without-query)
12033         (text-clone-maintain):
12034         * terminal.el (te-get-char, te-tic-sentinel):
12035         * tool-bar.el (tool-bar-make-keymap):
12036         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12037         * type-break.el (type-break-mode, type-break-noninteractive-query):
12038         * view.el (View-back-to-mark):
12039         * wid-browse.el (widget-browse-action, widget-browse-widget)
12040         (widget-browse-widgets, widget-browse-sexp):
12041         * widget.el (define-widget-keywords):
12042         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12043         Mark unused parameters.
12045         * align.el (align-adjust-col-for-rule): Mark unused parameter.
12046         (align-areas): Remove unused variable `look'.
12047         (align-region): Remove unused variables `real-end' and `pos-list'.
12049         * apropos.el (apropos-score-doc): Remove unused variable `i'.
12051         * bindings.el (mode-line-modified, mode-line-remote):
12052         Mark unused parameters.
12053         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12055         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12056         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12058         * comint.el (comint-history-isearch-pop-state)
12059         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12060         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12061         (comint-substitute-in-file-name): Doc fix.
12063         * completion.el (cmpl-statistics-block): Mark unused parameter.
12064         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12065         (save-completions-to-file, load-completions-from-file):
12066         Remove unused local variable `e'.
12068         * composite.el (compose-chars): Remove unused variable `len'.
12069         (lgstring-insert-glyph): Remove unused variable `g'.
12070         (compose-glyph-string): Remove unused variables `ascent',
12071         `descent', `lbearing' and `rbearing'.
12072         (compose-glyph-string-relative): Remove unused variables
12073         `lbearing', `rbearing' and `wadjust'.
12074         (compose-gstring-for-graphic): Remove unused variables `header',
12075         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
12076         (compose-gstring-for-terminal): Remove unused variables `header'
12077         and `nchars'.  Use `let', not `let*'.
12079         * cus-edit.el (Custom-set, Custom-save, custom-reset)
12080         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12081         (Custom-buffer-done, custom-buffer-create-internal)
12082         (custom-browse-visibility-action, custom-browse-group-tag-action)
12083         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12084         (widget-magic-mouse-down-action, custom-toggle-parent)
12085         (custom-add-parent-links, custom-toggle-hide-variable)
12086         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12087         (custom-toggle-hide-face, face, hook, custom-group-link-action)
12088         (custom-face-menu-create, custom-variable-menu-create, get)
12089         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12090         (custom-reset-standard-save-and-update): Remove unused variable `value'.
12091         (customize-apropos): Remove unused variable `tests'.
12092         (custom-group-value-create): Remove unused variable `hidden-p'.
12093         (sort-fold-case): Declare.
12095         * cus-theme.el (custom-reset-standard-faces-list)
12096         (custom-reset-standard-variables-list): Declare.
12097         (customize-create-theme, custom-theme-revert, custom-theme-write)
12098         (custom-theme-choose-mode, customize-themes, custom-theme-save):
12099         Mark unused parameters.
12101         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12103         * delim-col.el (delimit-columns-max): Move defvar before first use.
12105         * descr-text.el (describe-char-categories): Don't quote `lambda'.
12106         (describe-char): Don't quote `lambda'.  Mark unused parameter.
12108         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12109         (auto-insert): Declare.
12110         (desktop-restore-file-buffer): Rename desktop-* parameters;
12111         mark unused ones.
12112         (desktop-create-buffer): Rename desktop-* parameters and bind them.
12113         (desktop-buffer): Rename desktop-* parameters.
12115         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12116         (dframe-reposition-frame-xemacs, dframe-help-echo)
12117         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12118         Mark unused parameters.
12120         * dired-aux.el (backup-extract-version-start, overwrite-query)
12121         (overwrite-backup-query, rename-regexp-query)
12122         (rename-non-directory-query): Declare.
12123         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12124         (dired-add-entry): Remove unused variable `orig-file-name'.
12125         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12126         Use parameter PRESERVE-TIME instead of accessing dynamic variable
12127         `dired-copy-preserve-time' directly.
12128         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12129         (dired-insert-subdir-newpos): Rename unused variable `pos'.
12131         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12132         (dired-virtual-revert, dired-make-relative-symlink):
12133         Mark unused parameters.
12134         (manual-program): Declare.
12135         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12136         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12137         wrapped in `with-no-warnings' to avoid replacing one warning by another.
12139         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12141         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12143         * echistory.el (electric-history-in-progress, Helper-return-blurb):
12144         Declare.
12146         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12148         * electric.el (Electric-command-loop): Rename parameter
12149         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12151         * expand.el (expand-in-literal): Remove unused variable `here'.
12153         * facemenu.el (facemenu-add-new-color):
12154         Remove unused variable `docstring'.
12156         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12157         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12158         (face-attr-construct): Mark unused parameter.  Doc fix.
12159         (read-color): Remove unused variable `hex-string'.
12161         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12162         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12163         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12164         (display-buffer-other-frame): Remove unused variable `old-window'.
12165         (kill-buffer-hook): Declare.
12166         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12167         Mark unused parameters.
12168         (after-find-file): Pass 1 to `auto-save-mode', not t.
12170         * files-x.el (auto-insert): Declare.
12171         (modify-file-local-variable-prop-line): Remove unused variable `val'.
12173         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12174         variable `buf'.  Mark unused parameter.
12175         (find-lisp-insert-directory): Mark unused parameter.
12177         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12178         (format-encode-region): Remove unused variables `cur-buf' and `result'.
12179         (format-common-tail): Remove, unused.
12180         (format-deannotate-region): Remove unused variable `loc'.
12181         (format-annotate-region): Remove unused variable `p'.
12182         (format-annotate-single-property-change): Remove unused variables
12183         `default' and `tail'.
12185         * forms.el (read-file-filter): Declare.
12186         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12188         * frame.el (frame-creation-function-alist): Mark unused parameter.
12189         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12191         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12192         Remove unused parameters.
12193         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12194         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12196         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12197         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12198         (hfy-prepare-tag-map): Mark unused parameters.
12199         (htmlfontify-buffer): Use `called-interactively-p'.
12201         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12202         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12203         (ibuffer-do-occur): Mark unused parameters.
12204         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12205         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12207         * ibuffer.el: Don't quote `lambda'.
12208         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12209         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12210         Mark unused parameters.
12212         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12213         (ido-completing-read): Mark unused parameters.
12214         (ido-copy-current-word): Mark unused parameters;
12215         remove unused variable `name'.
12216         (ido-sort-merged-list): Remove unused parameter `dirs'.
12218         * ielm.el (ielm-input-sender): Mark unused parameter.
12219         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12220         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12221         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12222         `ielm-string' as a dynamic variable accessible from the IELM prompt.
12223         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
12225         * image-dired.el (image-dired-display-thumbs): Remove unused
12226         variables `curr-file' and `count'.
12227         (image-dired-remove-tag): Remove unused variable `start'.
12228         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12229         variable `curr-file'
12230         (image-dired-rotate-original): Remove unused variable `temp-file'.
12231         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12232         Remove unused variable `file'.
12233         (image-dired-gallery-generate): Remove unused variable `curr'.
12234         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12236         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12238         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12240         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12242         * isearch.el (minibuffer-history-symbol): Declare.
12243         (isearch-edit-string): Remove unused variable `err'.
12244         (isearch-message-prefix, isearch-message-suffix):
12245         Mark unused parameters.
12247         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12249         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12251         * makesum.el (double-column): Remove unused variable `cnt'.
12253         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12254         (ido-ignore-item-temp-list): Declare.
12256         * mouse-drag.el (mouse-drag-throw): Remove unused variables
12257         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12258         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12259         (mouse-drag-drag): Remove unused variables `mouse-delta' and
12260         `mouse-col-delta'.
12262         * mouse-sel.el (mouse-extend-internal):
12263         Remove unused variable `orig-window-frame'.
12265         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12266         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12267         Move declarations before first use.
12268         (pcomplete-opt): Mark unused parameters; doc fix.
12270         * proced.el (proced-revert): Mark unused parameter.
12271         (proced-send-signal): Remove unused variable `err'.
12273         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12274         Rename parameter PREFIX-ARG to ARG.
12275         (ps-basic-plot-string, ps-basic-plot-whitespace):
12276         Mark unused parameters.
12278         * replace.el (replace-count): Define.
12279         (occur-revert-function): Mark unused parameters.
12280         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12281         (isearch-case-fold-search, isearch-string): Declare.
12282         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12283         bind `case-fold-search'.  Remove unused variables `beg' and `end',
12284         and simplify.
12285         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12286         COUNT and bind `replace-count'.
12287         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12288         to COUNT.
12290         * savehist.el (print-readably, print-string-length): Declare.
12292         * shadowfile.el (shadow-expand-cluster-in-file-name):
12293         Remove unused variable `cluster'.
12294         (shadow-copy-file): Remove unused variable `i'.
12295         (shadow-noquery, shadow-clusters, shadow-site-cluster)
12296         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12297         (shadow-define-literal-group, shadow-define-regexp-group)
12298         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12300         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12301         (shell): Use `called-interactively-p'.
12302         (shell-directory-tracker): Remove unused variable `chdir-failure'.
12304         * simple.el (compilation-context-lines, comint-file-name-quote-list)
12305         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12306         (delete-backward-char): Remove unused variable `ocol'.
12307         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12308         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12309         (event-apply-hyper-modifier, event-apply-shift-modifier)
12310         (event-apply-control-modifier, event-apply-meta-modifier):
12311         Mark unused parameters.
12312         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12313         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12315         * speedbar.el (speedbar-ignored-directory-expressions)
12316         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12317         (speedbar-find-file, speedbar-dir-follow)
12318         (speedbar-directory-buttons-follow, speedbar-tag-find)
12319         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12320         (speedbar-buffers-line-directory, speedbar-buffer-click):
12321         Mark unused parameters.
12322         (speedbar-tag-file): Remove unused variable `mode'.
12323         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12325         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12327         * talk.el (talk): Remove unused variable `display'.
12329         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12330         (tar-write-region-annotate): Mark unused parameter.
12332         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12333         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12334         Declare them, wrapped in `with-no-warnings' to avoid replacing one
12335         warning by another.
12337         * time-stamp.el (time-stamp-string-preprocess):
12338         Remove unused variable `require-padding'.
12340         * tree-widget.el (widget-glyph-enable): Declare.
12341         (tree-widget-action): Mark unused parameter.
12343         * w32-fns.el (x-get-selection): Mark unused parameter.
12344         (autoload-make-program, generated-autoload-file): Declare.
12346         * wdired.el (wdired-revert): Mark unused parameters.
12347         (wdired-xcase-word): Remove unused variable `err'.
12349         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12350         (whitespace-help-scroll): Remove unused variable `data-help'.
12352         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12353         (widget-image-insert, widget-after-change, default)
12354         (widget-default-format-handler, widget-default-notify)
12355         (widget-default-prompt-value, widget-info-link-action)
12356         (widget-url-link-action, widget-function-link-action)
12357         (widget-variable-link-action, widget-file-link-action)
12358         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12359         (widget-field-prompt-internal, widget-field-action, widget-field-match)
12360         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12361         (widget-insert-button-action, widget-delete-button-action, visibility)
12362         (widget-documentation-link-action, widget-documentation-string-action)
12363         (widget-const-prompt-value, widget-regexp-match, symbol)
12364         (widget-coding-system-prompt-value)
12365         (widget-key-sequence-value-to-external, sexp)
12366         (widget-sexp-value-to-internal, character, vector, cons)
12367         (widget-choice-prompt-value, widget-boolean-prompt-value)
12368         (widget-color--choose-action): Mark unused parameters.
12369         (widget-item-match-inline, widget-choice-match-inline)
12370         (widget-checklist-match, widget-checklist-match-inline)
12371         (widget-group-match): Rename parameter VALUES to VALS.
12372         (widget-field-value-set): Remove unused variable `size'.
12373         (widget-color-action): Remove unused variables `value' and `start'.
12375         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12376         variable `dir'.  Doc fix.
12377         (windmove-find-other-window): Don't pass it.
12379         * window.el (count-windows): Mark unused parameter.
12380         (bw-adjust-window): Remove unused variable `err'.
12382         * woman.el (woman-file-name): Remove unused variable `default'.
12383         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12384         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12385         (global-font-lock-mode): Declare.
12386         (woman-decode-region): Mark unused parameter.
12387         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12389         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12390         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12391         (x-dnd-handle-moz-url): Remove unused variable `title'.
12392         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12394         * xml.el (xml-parse-tag, xml-parse-attlist):
12395         Remove unused variable `pos'.
12397 2011-04-19  Glenn Morris  <rgm@gnu.org>
12399         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12400         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12401         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12402         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12403         * calendar/cal-html.el (cal-html-insert-minical):
12404         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12405         (calendar-mark-date-pattern):
12406         Prefix "unused" locals.
12408         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12409         optional argument `style'.
12411         * calendar/appt.el (appt-make-list):
12412         * calendar/cal-china.el (calendar-chinese-date-string):
12413         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12414         (diary-hebrew-yahrzeit):
12415         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12416         * calendar/calendar.el (calendar-generate-window):
12417         * calendar/time-date.el (time-to-days):
12418         Remove unused local variables.
12420 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
12422         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12423         glyphless-char-display table.
12424         (tabulated-list-glyphless-char-display): New var.
12426 2011-04-18  Sam Steingold  <sds@gnu.org>
12428         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12429         to acknowledgments.
12431 2011-04-17  Glenn Morris  <rgm@gnu.org>
12433         * calendar/diary-lib.el (diary-sexp-entry):
12434         * calendar/holidays.el (holiday-sexp):
12435         Set debug-on-error rather than the removed stack-trace-on-error.
12437 2011-04-16  Glenn Morris  <rgm@gnu.org>
12439         * progmodes/f90.el: Use lexical-binding.
12440         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12442 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12444         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12445         (mail-mode): Setup mailalias completion here instead.
12446         * mail/mailalias.el: Use lexical-binding.
12447         (pattern, mailalias-done): Declare dynamic.
12448         (mail-completion-at-point-function): New function, from mail-complete.
12449         (mail-complete): Use it.
12450         (mail-completion-expand): New function.
12451         (mail-get-names): Use it.
12452         (mail-directory, mail-directory-process, mail-directory-stream):
12453         Don't use `pattern' for lexically bound arg.
12455         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12457         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12458         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12459         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12461         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12462         (byte-save-window-excursion, byte-temp-output-buffer-setup)
12463         (byte-interactive-p): Define them again, for use when inlining
12464         old code.
12466 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
12468         * loadup.el: Use `string-to-number', not `string-to-int'.
12470 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12472         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12473         gud-gdb-complete-command.
12474         (gud-gdb-completions): New function, from gud-gdb-complete-command.
12475         (gud-gdb-completion-at-point): New function.
12476         (gud-gdb-completions): Remove.
12478 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
12480         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12481         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
12482         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12483         whether `executable-find' is bound.
12485         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12487 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12489         * minibuffer.el (completion-in-region-mode-predicate)
12490         (completion-in-region-mode--predicate): New vars.
12491         (completion-in-region, completion-in-region--postch)
12492         (completion-in-region-mode): Use them.
12493         (completion--capf-wrapper): Also return the hook function.
12494         (completion-at-point, completion-help-at-point):
12495         Adjust and provide a predicate.
12497         Preserve arg names for advice of subr and lexical functions (bug#8457).
12498         * help-fns.el (help-function-arglist): Consolidate the subr and
12499         new-byte-code cases.  Add argument `preserve-names' to extract names
12500         from the docstring when needed.
12501         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12502         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12503         (ad-arglist): Use help-function-arglist's new arg.
12504         (ad-definition-type): Use cond.
12506 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
12508         * autorevert.el (auto-revert-handler):
12509         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12510         which was removed in revno:101730 (2010-10-02).
12511         Don't quote lambda.
12513         * image-mode.el (image-transform-set-scale):
12514         Fix change in revno:103877 (2011-04-09).
12516 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12518         * net/network-stream.el (network-stream-open-starttls): Only do
12519         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
12520         Upgrades via gnutls-cli are too slow to be done opportunistically.
12522 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
12524         * dframe.el (dframe-current-frame): Remove spurious quote.
12526 2011-04-12  Glenn Morris  <rgm@gnu.org>
12528         * calendar/cal-tex.el (cal-tex-end-document):
12529         Try to automatically use latin1 input if needed.
12531         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12532         Don't try to cons a mark onto an empty element.
12534 2011-04-11  Leo Liu  <sdl.web@gmail.com>
12536         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12537         buffers.
12538         (ido-kill-buffer-at-head): Support killing virtual buffers.
12540 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
12542         * minibuffer.el (completion-show-inline-help): New var.
12543         (completion--do-completion, minibuffer-complete)
12544         (minibuffer-force-complete, minibuffer-complete-word):
12545         Inhibit minibuffer messages if completion-show-inline-help is nil.
12547         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12548         to avoid interference from inline help (Bug#5849).
12550 2011-04-10  Leo Liu  <sdl.web@gmail.com>
12552         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12553         Fix typo.
12555 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
12557         * image-mode.el (image-toggle-display-image): Signal an error if
12558         not in Image mode.
12559         (image-transform-mode, image-transform-resize)
12560         (image-transform-set-rotation): Doc fix.
12561         (image-transform-set-resize): Delete.
12562         (image-transform-set-scale, image-transform-fit-to-height)
12563         (image-transform-fit-to-width): Handle image-toggle-display-image
12564         and image-transform-resize directly.
12566 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
12568         * doc-view.el (doc-view-fit-width-to-window)
12569         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12570         New functions for fitting the shown image to the Emacs window size.
12571         (doc-view-mode-map): Add bindings for the new functions.
12573 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
12575         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
12576         Fix typo in docstring.
12578 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
12580         * files.el (file-size-human-readable): Produce one digit after
12581         decimal, like "ls -lh" does.
12583         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12584         the file size representation.
12586         * simple.el (list-processes): If async subprocesses are not
12587         available, error out with a clear error message.
12589 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
12591         * help.el (help-form-show): New function, to be called from C.
12592         Put help-form output in a buffer named differently than *Help*.
12594 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
12596         * files.el (file-size-human-readable): New function.
12598         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12599         computing the representation inline.  Don't require `cl'.
12601 2011-04-08  Glenn Morris  <rgm@gnu.org>
12603         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12605         * net/browse-url.el (browse-url-firefox):
12606         Test system-type, not system-configuration.
12608         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12609         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12610         Use log-edit-empty-buffer-p.  (Bug#7598)
12612         * net/rlogin.el (rlogin-process-connection-type): Simplify.
12613         (rlogin-mode-map): Initialize in the defvar.
12614         (rlogin): Use ignore-errors.
12616         * replace.el (occur-mode-map): Some fixes for menu items.
12618 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12620         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
12622 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
12624         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12625         issuing unused warnings.
12627         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12628         macro directly.
12630         * simple.el: Lisp reimplement of list-processes.  Based on an
12631         earlier reimplementation by Leo Liu, but using tabulated-list.el.
12632         (process-menu-mode): New major mode.
12633         (list-processes--refresh, list-processes):
12634         (process-menu-visit-buffer): New functions.
12636         * files.el (save-buffers-kill-emacs): Don't assume any return
12637         value of list-processes, which is undocumented anyway.
12639 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
12641         * emacs-lisp/tabulated-list.el: New file.
12643         * emacs-lisp/package.el: Use Tabulated List mode.
12644         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12645         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
12646         table format using Tabulated List mode variables.
12647         (package--push): New macro, replacing package-list-maybe-add.
12648         (package-menu--generate): Use package--push.  Renamed from
12649         package--generate-package-list.
12650         (package-menu-refresh, list-packages): Use it.
12651         (package-menu--print-info): Rename from package-print-package.
12652         Return insertion data instead of inserting it directly.
12653         (package-menu-describe-package, package-menu-execute):
12654         Use tabulated-list-get-id.
12655         (package-menu-mark-delete, package-menu-mark-install)
12656         (package-menu-mark-unmark, package-menu-backup-unmark)
12657         (package-menu-mark-obsolete-for-deletion):
12658         Use tabulated-list-put-tag.
12659         (package--list-packages, package-menu-revert)
12660         (package-menu-get-package, package-menu-get-version)
12661         (package-menu-sort-by-column): Functions deleted.
12662         (package-menu-package-list, package-menu-sort-key): Vars deleted.
12663         (package-menu--status-predicate, package-menu--version-predicate)
12664         (package-menu--name-predicate)
12665         (package-menu--description-predicate): Handle arguments in the
12666         Tabulated List format.
12667         (package-list-packages-no-fetch): Call list-packages.
12669 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
12671         * files.el (after-find-file-from-revert-buffer): Remove variable.
12672         (after-find-file): Don't bind it.
12673         (revert-buffer-in-progress-p): New variable.
12674         (revert-buffer): Bind it.
12675         Pass nil for `after-find-file-from-revert-buffer'.
12677         * saveplace.el (save-place-find-file-hook): Use new variable
12678         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12680 2011-04-06  Glenn Morris  <rgm@gnu.org>
12682         * Makefile.in (AUTOGEN_VCS): New variable.
12683         (autoloads): Use $AUTOGEN_VCS.
12685         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12686         * calendar/calendar.el (calendar-mode-map):
12687         Check for toolkit scroll bars.  (Bug#8305)
12689 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12691         * minibuffer.el (completion-in-region--postch)
12692         (completion-in-region-mode): Remove unnecessary messages.
12694 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
12696         * font-lock.el (font-lock-refresh-defaults):
12697         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12698         revno:99634.2.463 (2010-10-09) and revno:101913 (2010-10-12).
12700         * info.el (Info-directory-list, Info-read-node-name-2)
12701         (Info-split-parameter-string): Doc fixes.
12702         (Info-virtual-nodes): Reflow docstring.
12703         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12704         (Info-apropos-toc-nodes, info-finder, Info-get-token)
12705         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12706         Fix typos in docstrings.
12707         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12708         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12709         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12710         (Info-restore-desktop-buffer): Mark unused parameters.
12711         (Info-directory-find-file, Info-directory-find-node)
12712         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12713         (Info-virtual-index-find-node, Info-apropos-find-file)
12714         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
12715         Mark unused parameters; fix typos in docstrings.
12716         (Info-virtual-index): Remove unused local variable `nodename'.
12718 2011-04-05  Deniz Dogan  <deniz@dogan.se>
12720         * net/rcirc.el: Update my e-mail address.
12721         (rcirc-mode-map): Remove M-o binding.
12723 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
12725         * startup.el (command-line): Save the cursor's theme-face
12726         directly, instead of using face-override-spec.
12728         * custom.el (load-theme): Minor optimization in assigning faces.
12730 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12732         * help-fns.el (describe-variable): Complete all variables having
12733         documentation, including keywords.
12734         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12736 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
12738         Convert to lexical-binding.
12740         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12741         (bs--get-marked-string, bs--get-modified-string)
12742         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12743         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12744         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12746         * ehelp.el (electric-help-execute-extended)
12747         (electric-help-ctrl-x-prefix):
12748         * hexl.el (hexl-revert-buffer-function):
12749         * linum.el (linum-after-change, linum-after-scroll):
12750         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12752         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12754 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
12756         * epa-dired.el:
12757         * epa-mail.el:
12758         * epa-hook.el:
12759         * epa-file.el:
12760         * epa.el:
12761         * epg.el: Use lexical binding.
12763 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
12765         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12767         * textmodes/flyspell.el (flyspell-word): Recognize default
12768         dictionary case for flyspell-mark-duplications-exceptions.
12769         Use regexp matching for languages.
12770         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12771         default dictionary (Bug#7926).
12773 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
12775         * emacs-lisp/package.el (package--with-work-buffer):
12776         Recognize https URLs.
12778         * net/network-stream.el: Move from gnus/proto-stream.el.
12779         Change prefix to network-stream throughout.
12780         (open-protocol-stream): Merge into open-network-stream, leaving
12781         open-protocol-stream as an alias.  Handle nil BUFFER args.
12783         * subr.el (open-network-stream): Move to net/network-stream.el.
12785 2011-04-02  Glenn Morris  <rgm@gnu.org>
12787         * find-dired.el (find-exec-terminator): New option.
12788         (find-ls-option): Test for -ls support.
12789         (find-ls-subdir-switches): Test for -b in find-ls-option.
12790         (find-dired, find-grep-dired): Doc fixes.
12791         (find-dired): Use find-exec-terminator.
12793         * find-dired.el (find-ls-option, find-ls-subdir-switches)
12794         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12795         (find-name-arg): Remove purecopy.
12797         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12798         (grep-compute-defaults): Check for `-exec COMMAND +' support.
12799         Set grep-find-use-xargs, grep-find-command, and grep-find-template
12800         accordingly.  Don't add the null-device if not needed.
12802         * files.el (save-some-buffers): Doc fix.
12804 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
12806         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12808 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
12810         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12811         Use `dolist' rather than `mapcar'.
12813 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12815         Add lexical binding.
12817         * subr.el (apply-partially): Use new closures rather than CL.
12818         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12819         (dolist, dotimes): Use slightly different expansion for lexical code.
12820         (functionp): Move to C.
12821         (letrec): New macro.
12822         (with-wrapper-hook): Use it and apply-partially instead of CL.
12823         (eval-after-load): Preserve lexical-binding.
12824         (save-window-excursion, with-output-to-temp-buffer): Turn them
12825         into macros.
12827         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12829         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12830         than the arglist.
12831         (help-add-fundoc-usage): Don't add `Not documented'.
12832         (help-function-arglist): Handle closures, subroutines, and new
12833         byte-code-functions.
12834         (help-make-usage): Remove leading underscores.
12835         (describe-function-1): Handle closures.
12836         (describe-variable): Use special-variable-p for completion.
12838         * files.el (lexical-binding): Declare safe.
12840         * emacs-lisp/pcase.el: Don't use destructuring-bind.
12841         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
12842         (pcase): Add `let' pattern.
12843         Change memoization so it actually works.
12844         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12845         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12846         <let>: New case.
12848         * emacs-lisp/macroexp.el: Use lexical binding.
12849         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
12850         Don't convert ' to #' without checking that it's indeed quoting
12851         a lambda.
12853         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
12854         Use eval-sexp-add-defvars.
12855         (eval-sexp-add-defvars): New fun.
12857         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12859         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12860         Don't autoload.
12861         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12862         than the internal `byte-compile-lambda'.
12863         (defmethod): Don't hide code under quotes.
12864         (eieio-defmethod): New `code' argument.
12866         * emacs-lisp/eieio-comp.el: Remove.
12868         * emacs-lisp/edebug.el (edebug-eval-defun)
12869         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12870         (edebug-toggle): Avoid `eval'.
12872         * emacs-lisp/disass.el (disassemble-internal): Handle new
12873         `closure' objects.
12874         (disassemble-1): Handle new byte codes.
12876         * emacs-lisp/cl.el (pushnew): Silence warning.
12878         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12879         (cl-byte-compile-throw): Remove.
12880         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12882         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12883         closures.
12885         * emacs-lisp/cconv.el: New file.
12887         * emacs-lisp/bytecomp.el: Use lexical binding instead of
12888         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
12889         (byte-compile-initial-macro-environment):
12890         Handle declare-function here.
12891         (byte-compile--lexical-environment): New var.
12892         (byte-stack-ref, byte-stack-set, byte-discardN)
12893         (byte-discardN-preserve-tos): New lap codes.
12894         (byte-interactive-p): Don't use any more.
12895         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12896         New macros.
12897         (byte-compile-lapcode): Use them and handle new lap codes.
12898         (byte-compile-obsolete): Remove.
12899         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12900         (byte-compile-arglist-warn): Check late def of inlinable funs.
12901         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12902         since they should have been expanded by now.
12903         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12904         (byte-compile-from-buffer): Remove unused second arg.
12905         (byte-compile-preprocess): New function.
12906         (byte-compile-toplevel-file-form): New function to distinguish
12907         file-form calls from outside from file-form calls from hunk-handlers.
12908         (byte-compile-file-form): Simplify.
12909         (byte-compile-file-form-defsubst): Remove.
12910         (byte-compile-file-form-defmumble): Simplify now that
12911         byte-compile-lambda always returns a byte-code-function.
12912         (byte-compile): Preprocess.
12913         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12914         Remove, not used any more.
12915         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12916         (byte-compile-make-args-desc): New funs.
12917         (byte-compile-lambda): Handle lexical functions.  Always return
12918         a byte-code-function.
12919         (byte-compile-reserved-constants): New var, to make up room for
12920         closed-over variables.
12921         (byte-compile-constants-vector): Obey it.
12922         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12923         (byte-compile-macroexpand-declare-function): New function.
12924         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12925         byte-code-functions.
12926         (byte-compile-form): Check obsolescence here.
12927         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12928         (byte-compile-variable-ref): Remove.
12929         (byte-compile-dynamic-variable-op): New fun.
12930         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12931         (byte-compile-variable-set): New funs.
12932         (byte-compile-discard): Add 2 args.
12933         (byte-compile-stack-ref, byte-compile-stack-set)
12934         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12935         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12936         macroexpand-all instead.
12937         (byte-compile-quote-form): Remove.
12938         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12939         (byte-compile-bind, byte-compile-unbind): New funs.
12940         (byte-compile-let): Handle let* and lexical binding.
12941         (byte-compile-let*): Remove.
12942         (byte-compile-catch, byte-compile-unwind-protect)
12943         (byte-compile-track-mouse, byte-compile-condition-case):
12944         Handle a new :fun-body form, used for lexical scoping.
12945         (byte-compile-save-window-excursion)
12946         (byte-compile-with-output-to-temp-buffer): Remove.
12947         (byte-compile-defun): Simplify.
12948         (byte-compile-stack-adjustment): New fun.
12949         (byte-compile-out): Use it.
12950         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12952         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12953         handler any more.
12955         * emacs-lisp/byte-opt.el: Use lexical binding.
12956         (byte-inline-lapcode): Remove (to bytecomp).
12957         (byte-compile-inline-expand): Pay attention to inlining to/from
12958         lexically bound code.
12959         (byte-compile-unfold-lambda): Don't handle byte-code-functions
12960         any more.
12961         (byte-optimize-form-code-walker): Don't handle save-window-excursion
12962         any more and don't call compiler-macros.
12963         (byte-compile-splice-in-already-compiled-code): Remove.
12964         (byte-code): Don't inline any more.
12965         (disassemble-offset): Receive `bytes' as argument rather than via
12966         dynamic scoping.
12967         (byte-compile-tag-number): Declare before first use.
12968         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12969         `return' even if make-spliceable.
12970         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12971         obsolete interactive-p.
12972         (byte-optimize-lapcode): Optimize new lap-codes.
12973         Don't trip up on new form of `byte-constant' lap code.
12975         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12977         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12979         * custom.el (custom-initialize-default, custom-declare-variable):
12980         Use `defvar'.
12982         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12983         New variables.
12984         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12985         (COMPILE_FIRST): Add macroexp and cconv.
12986         * makefile.w32-in: Mirror changes in Makefile.in.
12988         * vc/cvs-status.el:
12989         * vc/diff-mode.el:
12990         * vc/log-edit.el:
12991         * vc/log-view.el:
12992         * vc/smerge-mode.el:
12993         * textmodes/bibtex-style.el:
12994         * textmodes/css.el:
12995         * startup.el:
12996         * uniquify.el:
12997         * minibuffer.el:
12998         * newcomment.el:
12999         * reveal.el:
13000         * server.el:
13001         * mpc.el:
13002         * emacs-lisp/smie.el:
13003         * doc-view.el:
13004         * dired.el:
13005         * abbrev.el: Use lexical binding.
13007 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
13009         * info.el (info-display-manual): New function.
13011 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13013         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13015 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
13017         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13018         an entry for that server in rcirc-authinfo.  (Bug#8385)
13020 2011-03-31  Glenn Morris  <rgm@gnu.org>
13022         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13024         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13026 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
13028         * progmodes/python.el (python-default-interpreter)
13029         (python-python-command-args, python-jython-command-args)
13030         (python-which-shell, python-which-args, python-which-bufname)
13031         (python-file-queue, python-comint-output-filter-function)
13032         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13033         variables and functions.
13035 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13037         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13038         (completion-in-region-mode): New minor mode.
13039         (completion-in-region): Use it.
13040         (completion-in-region--data, completion-in-region-mode-map): New vars.
13041         (completion-in-region--postch): New function.
13042         (completion--capf-misbehave-funs, completion--capf-safe-funs):
13043         New vars.
13044         (completion--capf-wrapper): New function.
13045         (completion-at-point): Use it to track well-behavedness of
13046         hook functions.
13047         (completion-help-at-point): New command.
13049 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
13051         * vc/add-log.el (add-change-log-entry): Don't use whitespace
13052         syntax class to search for whitespace on a single line
13053         (Message-ID: <4D938140.4030905@redhat.com>).
13055 2011-03-30  Leo Liu  <sdl.web@gmail.com>
13057         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13058         New commands.
13059         (edit-abbrevs-map): Bind them here.
13060         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
13062 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
13064         * allout.el (allout-hide-by-annotation, allout-flag-region):
13065         Reduce possibility of overlay leakage by making them volatile.
13067         * allout-widgets.el (allout-widgets-tally): Define as nil so the
13068         hash is not shared between buffers.  Mode initialization is
13069         responsible for giving it a useful starting value.
13070         (allout-item-span): Reduce possibility of overlay leakage by
13071         making them volatile.
13072         (allout-widgets-count-buttons-in-region): Add diagnostic function
13073         for tracking down button overlay leaks.
13075 2011-03-29  Leo Liu  <sdl.web@gmail.com>
13077         * ido.el (ido-read-internal): Use the default history var
13078         minibuffer-history if no HISTORY is specified.
13080 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
13082         * net/imap.el (imap-shell-open, imap-process-connection-type):
13083         Use imap-process-connection-type for 'shell' streams as well as
13084         Kerberos, SSL, other subprocesses.
13086 2011-03-28  Leo Liu  <sdl.web@gmail.com>
13088         * abbrev.el (abbrev-table-empty-p): New function.
13089         (prepare-abbrev-list-buffer): Place empty abbrev tables after
13090         nonempty ones.  (Bug#5937)
13092 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
13094         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13096 2011-03-27  Leo Liu  <sdl.web@gmail.com>
13098         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13099         for foreground and background colors.
13100         (ansi-color-make-color-map): Adapt.
13102 2011-03-25  Leo Liu  <sdl.web@gmail.com>
13104         * midnight.el (midnight-time-float): Remove.  Note it calculates
13105         the microsecond component incorrectly and seconds-to-time does the
13106         same job.
13107         Remove redundant (require 'timer).
13109         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13110         (ido-completions): Remove unused arguments.  (Bug#8329)
13112 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13114         * minibuffer.el (completion--flush-all-sorted-completions):
13115         Remove itself from hook.
13116         (completion-at-point): Let the functions perform the completion
13117         immediately and return nil or t.
13118         * comint.el (comint-dynamic-complete-functions): Now identical to
13119         completion-at-point-functions.
13120         (comint-dynamic-list-input-ring): Remove unused var `index'.
13121         (comint--match-partial-filename, comint--unquote&expand-filename):
13122         New funs, split from comint-match-partial-filename.
13123         (comint-dynamic-complete): Use completion-at-point.
13124         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13126 2011-03-24  Drew Adams  <drew.adams@oracle.com>
13128         * thingatpt.el: Support `defun'.
13130 2011-03-23  Leo Liu  <sdl.web@gmail.com>
13132         * abbrevlist.el: Move to obsolete/abbrevlist.el.
13134         * help-mode.el (help-mode-finish): Tweak regexp.
13136 2011-03-23  Glenn Morris  <rgm@gnu.org>
13138         * eshell/esh-opt.el (eshell-eval-using-options):
13139         Do not bind unused local variable `eshell-option-stub'.
13141         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13143 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
13145         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13146         keymap variable in `with-no-warnings' to avoid a warning when the
13147         keymap has been already `defconst'ed.
13149 2011-03-22  Leo Liu  <sdl.web@gmail.com>
13151         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13152         encode all chars in abbrevs; otherwise use emacs-mule or
13153         utf-8-emacs.  (Bug#8308)
13155 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
13157         * simple.el (backward-delete-char-untabify):
13158         Avoid warning about using `delete-backward-char'.
13160         * image.el (image-type-file-name-regexps): Make it variable.
13161         `imagemagick-register-types' modifies it, and the user may want
13162         to add new extensions for known image types.
13163         (imagemagick-register-types): Throw error if not using ImageMagick.
13165 2011-03-22  Leo Liu  <sdl.web@gmail.com>
13167         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13168         located before rcirc-prompt-end-marker.
13169         (rcirc-complete): Error if point is not after rcirc prompt.
13170         Handle the case when table is nil.
13171         (rcirc-user-authenticated): Define to fix compiler warning.
13173 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
13175         * custom.el (custom--inhibit-theme-enable): Make it affect only
13176         custom-theme-set-variables and custom-theme-set-faces.
13177         (provide-theme): Ignore custom--inhibit-theme-enable.
13178         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13179         (custom-enabling-themes): Delete variable.
13180         (enable-theme): Accept only loaded themes as arguments.
13181         Ignore the special custom-enabled-themes variable.
13182         (custom-enabled-themes): Forbid themes from setting this.
13183         Eliminate use of custom-enabling-themes.
13184         (custom-push-theme): Quote "changed" custom var entry.
13186 2011-03-21  Leo Liu  <sdl.web@gmail.com>
13188         * ido.el (ido-read-internal): Add ido-selected to history instead
13189         of user input.
13191 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13193         * subr.el (deferred-action-list, deferred-action-function):
13194         Mark obsolete.
13196 2011-03-21  Leo Liu  <sdl.web@gmail.com>
13198         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13199         change on 2011-02-13 (bug#8309).
13201         * minibuffer.el (read-file-name-function): Change default value.
13202         (read-file-name--defaults): Rename from read-file-name-defaults.
13203         (read-file-name-default): Rename from read-file-name.
13204         (read-file-name): Call read-file-name-function.
13206 2011-03-21  Glenn Morris  <rgm@gnu.org>
13208         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13209         Doc fixes.
13211 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
13213         * cus-theme.el: Add missing provide statement.
13214         (customize-create-theme): Extract theme value correctly.
13215         (custom-theme-visit-theme): Autoload.
13216         (customize-create-theme): Prompt before inserting default faces.
13218 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
13220         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13221         units and musical notes.
13223 2011-03-20  Leo Liu  <sdl.web@gmail.com>
13225         * ido.el (ido-read-internal): Use completing-read-default.
13226         (ido-completing-read): Fix compatibility with completing-read.
13228 2011-03-20  Christian Ohler  <ohler@gnu.org>
13230         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13231         (ert-delete-all-tests): Use `called-interactively-p' rather than
13232         `interactive-p'.
13233         (ert--make-xrefs-region): Respect END.
13235 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
13237         * dired-aux.el (dired-create-directory): Signal an error if the
13238         directory already exists (Bug#8246).
13240         * facemenu.el (list-colors-display): Call list-faces-display
13241         inside with-help-window.
13242         (list-colors-print): Use display property to align the final
13243         column, instead of checking window-width.
13245 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
13247         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13248         windows-nt systems.
13249         (emerge-protect-metachars): Quote correctly for ms-dos and
13250         windows-nt systems.
13252 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
13254         * info.el (info-initialize): Replace all uses of `:' with
13255         path-separator for compatibility with non-Unix systems.
13256         Cache quoting of path-separator.  (Bug#8258)
13258 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
13260         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13261         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13262         (mouse-avoidance-mode): Fix typos in docstrings.
13264 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
13266         * startup.el (package-subdirectory-regexp): Move from package.el.
13267         Omit \\` and \\', and let callers add them.
13269         * emacs-lisp/package.el (package-strip-version)
13270         (package-load-all-descriptors): Add \\` and \\' to
13271         package-subdirectory-regexp before using it.
13272         (package-untar-buffer): New arg DIR; ensure that file untars only
13273         into this expected directory.  Remove superfluous delete-region.
13274         (package-unpack): Caller changed.
13275         (package-tar-file-info): Use package-subdirectory-regexp.
13277 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13279         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13280         diff-mode-shared-map (bug#8284).
13281         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13283 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13285         * calendar/time-date.el (format-seconds): Use assoc instead of
13286         assoc-string, since assoc-string doesn't exist in XEmacs.
13288 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
13290         * custom.el (custom-known-themes): Reflow docstring.
13291         (custom-theme-load-path): Fix typo in docstring.
13292         (load-theme): Fix typo in error message.
13293         (custom-available-themes, custom-variable-theme-value):
13294         Use `let', not `let*'.
13296 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
13298         * calc/README: Mention inclusion of musical notes.
13300         * calc/calc-units.el (calc-lu-quant): Rename from
13301         `calc-logunits-quantity'.
13302         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13303         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13304         (calc-db): Rename from `calc-dblevel'.
13305         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13306         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13307         (calc-np): Rename from `calc-nplevel'.
13308         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13309         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13310         (calc-lu-plus): Rename from `calc-logunits-add'.
13311         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13312         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13313         (calc-lu-minus): Rename from `calc-logunits-sub'.
13314         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13315         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13316         (calc-lu-times): Rename from `calc-logunits-mul'.
13317         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13318         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13319         (calc-lu-divide): Rename from `calc-logunits-div'.
13320         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13321         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13323         * calc/calc-ext.el (calc-init-extensions): Update the names of the
13324         functions being autoloaded.
13326         * calc/calc.el (calc-lu-power-reference): Rename from
13327         `calc-logunits-power-reference'.
13328         (calc-lu-field-reference): Rename from
13329         `calc-logunits-field-reference'.
13331         * calc/calc-help.el (calc-l-prefix-help):
13332         Mention musical note functions.
13334 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13336         * minibuffer.el (completion-all-sorted-completions):
13337         Use :completion-cycle-penalty text property if present.
13339 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
13341         * allout.el (allout-yank-processing): Adjust for new rebulleting
13342         regime so bullet being yanked is used without prompting the user
13343         for a choice.
13345 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
13347         * startup.el (command-line): Warn the user that _emacs is deprecated.
13349 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
13351         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13352         (delphi-verbose, delphi-comment-face, delphi-string-face)
13353         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13354         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13355         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13356         (delphi-new-comment-line, delphi-font-lock-defaults)
13357         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13358         Fix typos in docstrings.
13360 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
13362         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13363         Invert the roles of character and string values for INSTEAD, so a
13364         string is used for the more common case of a defaulting prompt.
13366 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13368         * progmodes/ruby-mode.el (ruby-backward-sexp):
13369         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13370         * play/gamegrid.el (gamegrid-make-face):
13371         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13372         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13373         * notifications.el (notifications-notify):
13374         * net/xesam.el (xesam-search-engines):
13375         * net/quickurl.el (quickurl-list-insert):
13376         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13378 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
13380         * startup.el (command-line): Update package subdirectory regexp.
13382 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13384         * allout.el (allout-abbreviate-flattened-numbering)
13385         (allout-mode-deactivate-hook): Fix up obsolescence "date".
13387         * subr.el (read-char-choice): Only show the cursor after the prompt,
13388         not after the answer.
13390 2011-03-15  Kevin Ryde  <user42@zip.com.au>
13392         * help-fns.el (variable-at-point): Skip leading quotes, if any
13393         (bug#8253).
13395 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13397         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13398         warning message.
13400 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
13402         * shell.el (shell): When called interactively, offer to change the
13403         shell file name on remote hosts.
13405 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
13407         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13408         integration for LDAP parameters.  The host, base, user or binddn,
13409         and secret tokens can be specified in a netrc file, for instance.
13410         This is optional because an `auth-source' parameter must be
13411         specified in the search attributes.
13413 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
13415         * help.el (describe-mode): Link to the mode's definition (bug#8185).
13417 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13419         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13420         into declaration.  Remove redundant and harmful binding.
13422 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
13424         * files.el (file-ownership-preserved-p): Pass `integer' as an
13425         explicit 2nd argument to `file-attributes'.  If the file's owner
13426         is the Administrators group on Windows, and the current user is
13427         Administrator, consider that a match.
13429         * server.el (server-ensure-safe-dir): Consider server directory
13430         safe on MS-Windows if its owner is the Administrators group while
13431         the current Emacs user is Administrator.  Use `=' to compare
13432         numerical UIDs, since they could be integers or floats.
13434 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
13436         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13438 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
13440         Sync with Tramp 2.2.1.
13442         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13444         * net/trampver.el: Update release number.
13446 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13448         * progmodes/compile.el (compilation--previous-directory): Fix up
13449         various nil/dead-marker mismatches (bug#8014).
13450         (compilation-directory-properties, compilation-error-properties):
13451         Don't call it at a position past the one we're about to change.
13453         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13454         Disable obsolescence warnings in the file that declares it.
13456 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
13458         * allout-widgets.el (allout-widgets-tally):
13459         Initialize allout-widgets-tally as a hash table rather than nil to
13460         prevent mode-line redisplay warnings.  Also, clarify the module
13461         description and fix a comment typo.
13463 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
13465         * help-fns.el (describe-variable): Don't complete keywords.
13466         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13468 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
13470         * emacs-lisp/package.el (package-version-join): Impose a standard
13471         string representation for pre/alpha/beta version lists.
13472         (package-unpack-single): Standardize the directory name by passing
13473         it through package-version-join.
13474         (package-strip-rcs-id): Accept any version string that does not
13475         signal an error in version-to-list.
13477 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
13479         * simple.el (delete-trailing-whitespace): Return nil for the
13480         benefit of `write-file-functions'.
13482 2011-03-10  Glenn Morris  <rgm@gnu.org>
13484         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13486         * vc/vc-git.el (vc-git-program): New option.
13487         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13488         (vc-git--call): Use it.
13490         * eshell/esh-util.el (eshell-condition-case): Doc fix.
13492         * cus-edit.el (Custom-newline): If no button at point, look
13493         for a subgroup button at start-of-line.  (Bug#2298)
13495         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13497 2011-03-10  Julien Danjou  <julien@danjou.info>
13499         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13500         `cursor-type' is nil.
13502 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
13504         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13506 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
13508         * allout.el: Change so yank of distinctive-bullet items
13509         preserves the existing header prefix, rebulleting it if necessary,
13510         rather than replacing it.  This is necessary for proper operation
13511         of cooperative addons like allout-widgets.
13512         (allout-make-topic-prefix, allout-rebullet-heading):
13513         Change SOLICIT arg to INSTEAD, and interpret additionally a string
13514         value as alternate bullet to be used, instead of prompting the user
13515         for a bullet character.
13517 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
13519         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13520         Do not use `tramp-file-name-port', because this returns also
13521         `tramp-default-port'.
13523 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
13525         * net/rcirc.el (rcirc-handler-001): Remove useless
13526         with-rcirc-process-buffer.
13527         (rcirc-check-auth-status): Swap arguments to string-match.
13529 2011-03-09  Glenn Morris  <rgm@gnu.org>
13531         * shell.el (shell-mode):
13532         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
13534         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13535         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
13537 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
13539         * emacs-lisp/package.el (package-refresh-contents)
13540         (package-menu-execute): Use condition-case-no-debug.
13542 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
13544         * simple.el (shell-command-to-string): Use `process-file'.
13546         * emacs-lisp/package.el (package-tar-file-info): Handle also
13547         remote files.
13549         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13550         Use `equal' for upload base check.
13552 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
13554         * textmodes/texinfo.el (texinfo-environments):
13555         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
13557 2011-03-08  Glenn Morris  <rgm@gnu.org>
13559         * cus-start.el (cursor-in-non-selected-windows):
13560         Fix :set quoting oddness.  (Bug#8192)
13562         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13563         in some setf expressions.  (Bug#2159)
13565 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
13567         * custom.el (custom-available-themes): Return themes in
13568         alphabetical order.
13570 See ChangeLog.15 for earlier changes.
13572 ;; Local Variables:
13573 ;; coding: utf-8
13574 ;; End:
13576   Copyright (C) 2011-2012  Free Software Foundation, Inc.
13578   This file is part of GNU Emacs.
13580   GNU Emacs is free software: you can redistribute it and/or modify
13581   it under the terms of the GNU General Public License as published by
13582   the Free Software Foundation, either version 3 of the License, or
13583   (at your option) any later version.
13585   GNU Emacs is distributed in the hope that it will be useful,
13586   but WITHOUT ANY WARRANTY; without even the implied warranty of
13587   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13588   GNU General Public License for more details.
13590   You should have received a copy of the GNU General Public License
13591   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.