Bump version to 24.0.91.
[emacs.git] / lisp / ChangeLog
blob74d578abf56a36aa2396762af939c0e4d9fb9a39
1 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3         * whitespace.el: New version 13.2.2.
4         (whitespace-newline-mode): Disable properly.  Reported by Sarah
5         <EmacsWiki>.
7 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
9         * net/newst-treeview.el: Remove "Time-stamp".
10         (newsticker--group-manage-orphan-feeds): Do not call
11         newsticker--treeview-tree-update.
12         (newsticker-treeview-update, newsticker-treeview): Call
13         newsticker--treeview-tree-update if necessary.
15 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
17         * window.el (window-iso-combination-p, window-iso-combined-p)
18         (window-iso-combinations): Remove "iso-" infix.  Suggested by
19         Chong Yidong.
20         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
21         (window-max-delta-1, window-resize, window--resize-siblings)
22         (window--resize-this-window, adjust-window-trailing-edge)
23         (split-window, balance-windows-1)
24         (shrink-window-if-larger-than-buffer):
25         * calendar/calendar.el (calendar-generate-window):
26         * help.el (resize-temp-buffer-window): Adjust callers
27         accordingly.
29 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
31         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
32         in place (bug#9907).
33         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
34         (eshell-rewrite-if-command, eshell-rewrite-for-command)
35         (eshell-structure-basic-command, eshell-rewrite-while-command)
36         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
37         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
38         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
39         (eshell-do-pipelines-synchronously, eshell-eval-command):
40         Use backquotes and prefer setq to set.
41         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
42         (eshell-macrop): Use functionp.
43         (eshell-do-eval): Handle multiple expressions in `while' body.
45 2011-10-30  Chong Yidong  <cyd@gnu.org>
47         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
48         instead of set-mark (Bug#9810).
50 2011-10-30  Chong Yidong  <cyd@gnu.org>
52         * window.el (split-window-below, split-window-right): Rename from
53         split-window-above-each-other and split-window-side-by-side
54         respectively.  All callers changed.
55         (split-window-sensibly, split-window-sensibly): Use them.
56         (split-window-keep-point): Doc fix.
58         * isearch.el: Add isearch-scroll property to split-window-below
59         and split-window-right.
61         * follow.el (follow-mode):
62         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
63         * progmodes/ada-xref.el (ada-gdb-application):
64         * emulation/vip.el (vip-buffer-in-two-windows):
65         * image-dired.el (image-dired-dired-with-window-configuration):
66         * dired-x.el (dired-do-find-marked-files):
67         * dired.el (dired-pop-to-buffer):
68         * bs.el (bs--show-with-configuration):
69         * vc/emerge.el (emerge-setup-windows):
70         * textmodes/two-column.el (2C-two-columns):
71         * textmodes/reftex-toc.el (reftex-toc):
72         * progmodes/gdb-mi.el (gdb-setup-windows):
73         * progmodes/fortran.el (fortran-window-create):
74         * net/newst-treeview.el (newsticker--treeview-window-init):
75         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
76         * emulation/tpu-edt.el (tpu-gold-map):
77         * emulation/crisp.el (crisp-mode-map):
78         * calendar/calendar.el (calendar-basic-setup): Callers changed.
80 2011-10-29  Chong Yidong  <cyd@gnu.org>
82         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
84         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
86         * textmodes/flyspell.el (flyspell-word): Fix char offset for
87         forged Ispell output (Bug#7904).
89         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
91 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
93         * doc-view.el: Avoid ugly errors about not finding nil.
94         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
95         (doc-view-dvipdf-program, doc-view-unoconv-program)
96         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
97         Avoid nil or absolute file name as default value.
98         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
100 2011-10-28  Alan Mackenzie  <acm@muc.de>
102         * progmodes/cc-defs.el (c-version).  -> 5.32.2.
104 2011-10-28  Alan Mackenzie  <acm@muc.de>
106         Amend the handling of c-beginning/end-of-defun in nested declaration
107         scopes.
109         * progmodes/cc-vars.el (c-defun-tactic): Move here from
110         cc-langs.el.  Change it to a defcustom.
112         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
113         cc-vars.el.
114         (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
116         * progmodes/cc-engine.el (c-beginning-of-statement-1):
117         Prevent "class foo : bar" being spuriously recognized as a label.
119         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
120         Add parameter `inclusive' (to include enclosing braces in the
121         region).
122         (c-widen-to-enclosing-decl-scope): New function.
123         (c-while-widening-to-decl-block): New macro.
124         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
125         outward for defun boundaries, and correspondingly change symbol
126         `respect-enclosure' to `go-outward'.
127         (c-declaration-limits): Change algorithm to report only the "innermost"
128         defun's boundaries.
130 2011-10-28  Deniz Dogan  <deniz@dogan.se>
132         * net/rcirc.el (rcirc-mode): Use hard newlines.
134 2011-10-28  Alan Mackenzie  <acm@muc.de>
136         Amend to indent and fontify macros "which include their own semicolon"
137         correctly, using the "virtual semicolon" mechanism.
139         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
141         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
142         Recoded to scan one line at at time rather than having \n and \r
143         explicitly in c-stmt-delim-chars
144         (for some modes, e.g. AWK).
145         (c-forward-label): Amend for virtual semicolons.
146         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
148         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
149         of the new C macros.
151         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
152         (c-vsemi-status-unknown-p-fn): move to earlier in the file.
153         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
154         (c-opt-cpp-macro-define): Make into a full language variable.
155         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
156         AWK Mode (including \n, \r) removed, no longer needed.
158         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
159         Invoke c-make-macro-with-semi-re.
161         * progmodes/cc-vars.el (c-macro-with-semi-re):
162         (c-macro-names-with-semicolon): New variables.
163         (c-make-macro-with-semi-re): New function
165 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
167         * vc/log-edit.el: Fill empty field rather than adding new one.
168         (log-edit-add-field): New function.
169         (log-edit-insert-changelog): Use it.
171 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
173         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
175 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
177         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
178         (gdb--check-interpreter): New function.
179         (gdb): Use it.
181 2011-10-27  Glenn Morris  <rgm@gnu.org>
183         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
184         (least-positive-float, least-negative-float)
185         (least-positive-normalized-float, least-negative-normalized-float)
186         (float-epsilon, float-negative-epsilon):
187         Remove unnecessary declarations.
189         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
190         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
191         (least-positive-float, least-negative-float)
192         (least-positive-normalized-float, least-negative-normalized-float)
193         (float-epsilon, float-negative-epsilon): Add doc-strings,
194         based on those in cl.texi.
196         * files.el (set-visited-file-name): If the major-mode changed,
197         reload the local variables.  (Bug#9796)
199 2011-10-27  Chong Yidong  <cyd@gnu.org>
201         * subr.el (change-major-mode-after-body-hook): New hook.
202         (run-mode-hooks): Run it.
204         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
205         Use change-major-mode-before-body-hook.
207         * simple.el (fundamental-mode):
208         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
209         change introducing fundamental-mode-hook.
211 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
213         * term/w32-win.el (w32-default-color-map): Declare obsolete.  (Bug#9785)
215 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
217         * ido.el (ido-file-name-all-completions-1): Do not require
218         tramp.el explicitely.  (Bug#7583)
220 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
222         * progmodes/octave-mod.el:
223         * progmodes/octave-inf.el: Update maintainer.
225 2011-10-26  Chong Yidong  <cyd@gnu.org>
227         * subr.el (with-wrapper-hook): Rewrite doc.
229 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
231         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
232         filenames "/method:foo:".  (Bug#9793)
234 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
236         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
237         (bug#9865).
239 2011-10-24  Glenn Morris  <rgm@gnu.org>
241         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
243 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
245         * notifications.el: Add the requirement of a running D-Bus session
246         bus to the Commentary.
248 2011-10-24  Juri Linkov  <juri@jurta.org>
250         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
251         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
252         (Bug#9364)
254 2011-10-24  Juri Linkov  <juri@jurta.org>
256         * info.el (Info-following-node-name-re): Add newline to the list
257         of allowed characters for leading space.  (Bug#9824)
259 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
261         * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
262         * progmodes/octave-mod.el (octave-help): Remove.
264 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
266         Sync with Tramp 2.2.3.
268         * net/tramp-cache.el (top): Pacify byte-compiler using
269         `init-file-user' and `site-run-file'.
271         * net/trampver.el: Update release number.
273 2011-10-23  Chong Yidong  <cyd@gnu.org>
275         * files.el (toggle-read-only): Remove obsolete comment about
276         version control.
278         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
279         for toggle-read-only.  Note that this hasn't called vc-next-action
280         since 2008-05-02, though it wasn't documented at the time.
282         * vc/ediff-init.el (ediff-toggle-read-only-function):
283         Use toggle-read-only.
285 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
287         Fix bug #9560, sporadic wrong indentation; improve instrumentation
288         of c-parse-state.
290         * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
291         correct faulty logical expression.
292         (c-parse-state-state, c-record-parse-state-state):
293         (c-replay-parse-state-state): New defvar/defuns.
294         (c-debug-parse-state): Use new functions.
296 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
298         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
299         last fix.  Use window-in-direction correctly.
301 2011-10-21  Chong Yidong  <cyd@gnu.org>
303         * progmodes/idlwave.el (idlwave-mode):
304         * progmodes/vera-mode.el (vera-mode): No need to set
305         require-final-newline; that's done in prog-mode.
306         Suggested by Stefan Monnier.
308 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
310         * mouse.el (mouse-drag-window-above)
311         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
312         (mouse-drag-mode-line-1, mouse-drag-header-line)
313         (mouse-drag-vertical-line-rightward-window): Remove.
314         (mouse-drag-line): New function.
315         (mouse-drag-mode-line, mouse-drag-header-line)
316         (mouse-drag-vertical-line): Call mouse-drag-line.
317         * window.el (window-at-side-p, windows-at-side): New functions.
319 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
321         * tar-mode.el (tar-grind-file-mode):
322         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
324 2011-10-21  Chong Yidong  <cyd@gnu.org>
326         * progmodes/idlwave.el (idlwave-mode):
327         * progmodes/vera-mode.el (vera-mode):
328         Use mode-require-final-newline.
330 2011-10-20  Glenn Morris  <rgm@gnu.org>
332         * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
334 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
336         * emulation/cua-base.el (cua-set-mark): Fix case of string.
338 2011-10-20  Chong Yidong  <cyd@gnu.org>
340         * emulation/cua-base.el (cua-mode):
341         * mail/footnote.el (footnote-mode):
342         * mail/mailabbrev.el (mail-abbrevs-mode):
343         * net/xesam.el (xesam-minor-mode):
344         * progmodes/bug-reference.el (bug-reference-mode):
345         * progmodes/cap-words.el (capitalized-words-mode):
346         * progmodes/compile.el (compilation-minor-mode)
347         (compilation-shell-minor-mode):
348         * progmodes/gud.el (gud-tooltip-mode):
349         * progmodes/hideif.el (hide-ifdef-mode):
350         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
351         * progmodes/subword.el (subword-mode):
352         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
353         * progmodes/which-func.el (which-function-mode):
354         * term/tvi970.el (tvi970-set-keypad-mode):
355         * term/vt100.el (vt100-wide-mode):
356         * textmodes/flyspell.el (flyspell-mode):
357         * textmodes/ispell.el (ispell-minor-mode):
358         * textmodes/nroff-mode.el (nroff-electric-mode):
359         * textmodes/paragraphs.el (use-hard-newlines):
360         * textmodes/refill.el (refill-mode):
361         * textmodes/reftex.el (reftex-mode):
362         * textmodes/rst.el (rst-minor-mode):
363         * textmodes/sgml-mode.el (html-autoview-mode)
364         (sgml-electric-tag-pair-mode):
365         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
366         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
367         * emulation/crisp.el (crisp-mode):
368         * emacs-lisp/eldoc.el (eldoc-mode):
369         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
370         minor mode behavior.
372 2011-10-19  Juri Linkov  <juri@jurta.org>
374         * descr-text.el (describe-char): Add #x2010 and #x2011 to
375         the list of hard-coded chars with escape-glyph face.
377 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
379         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
381 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
383         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
384         running process.
386 2011-10-19  Glenn Morris  <rgm@gnu.org>
388         * vc/vc-bzr.el (vc-bzr-after-dir-status):
389         Ignore ignored files.  (Bug#9726)
391 2011-10-19  Chong Yidong  <cyd@gnu.org>
393         Doc fix for minor modes, stating that an omitted argument enables
394         the mode unconditionally when called from Lisp.
396         * abbrev.el (abbrev-mode):
397         * allout.el (allout-mode):
398         * autoinsert.el (auto-insert-mode):
399         * autoarg.el (autoarg-mode, autoarg-kp-mode):
400         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
401         (global-auto-revert-mode):
402         * battery.el (display-battery-mode):
403         * composite.el (global-auto-composition-mode)
404         (auto-composition-mode):
405         * delsel.el (delete-selection-mode):
406         * desktop.el (desktop-save-mode):
407         * dired-x.el (dired-omit-mode):
408         * dirtrack.el (dirtrack-mode):
409         * doc-view.el (doc-view-minor-mode):
410         * double.el (double-mode):
411         * electric.el (electric-indent-mode, electric-pair-mode):
412         * emacs-lock.el (emacs-lock-mode):
413         * epa-hook.el (auto-encryption-mode):
414         * follow.el (follow-mode):
415         * font-core.el (font-lock-mode):
416         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
417         * help.el (temp-buffer-resize-mode):
418         * hilit-chg.el (highlight-changes-mode)
419         (highlight-changes-visible-mode):
420         * hi-lock.el (hi-lock-mode):
421         * hl-line.el (hl-line-mode, global-hl-line-mode):
422         * icomplete.el (icomplete-mode):
423         * ido.el (ido-everywhere):
424         * image-file.el (auto-image-file-mode):
425         * image-mode.el (image-minor-mode):
426         * iswitchb.el (iswitchb-mode):
427         * jka-cmpr-hook.el (auto-compression-mode):
428         * linum.el (linum-mode):
429         * longlines.el (longlines-mode):
430         * master.el (master-mode):
431         * mb-depth.el (minibuffer-depth-indicate-mode):
432         * menu-bar.el (menu-bar-mode):
433         * minibuf-eldef.el (minibuffer-electric-default-mode):
434         * mouse-sel.el (mouse-sel-mode):
435         * msb.el (msb-mode):
436         * mwheel.el (mouse-wheel-mode):
437         * outline.el (outline-minor-mode):
438         * paren.el (show-paren-mode):
439         * recentf.el (recentf-mode):
440         * reveal.el (reveal-mode, global-reveal-mode):
441         * rfn-eshadow.el (file-name-shadow-mode):
442         * ruler-mode.el (ruler-mode):
443         * savehist.el (savehist-mode):
444         * scroll-all.el (scroll-all-mode):
445         * scroll-bar.el (scroll-bar-mode):
446         * server.el (server-mode):
447         * shell.el (shell-dirtrack-mode):
448         * simple.el (auto-fill-mode, transient-mark-mode)
449         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
450         (line-number-mode, column-number-mode, size-indication-mode)
451         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
452         * strokes.el (strokes-mode):
453         * time.el (display-time-mode):
454         * t-mouse.el (gpm-mouse-mode):
455         * tool-bar.el (tool-bar-mode):
456         * tooltip.el (tooltip-mode):
457         * type-break.el (type-break-mode-line-message-mode)
458         (type-break-query-mode):
459         * view.el (view-mode):
460         * whitespace.el (whitespace-mode, whitespace-newline-mode)
461         (global-whitespace-mode, global-whitespace-newline-mode):
462         * xt-mouse.el (xterm-mouse-mode): Doc fix.
464         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
465         Fix autogenerated docstring.
467 2011-10-19  Juri Linkov  <juri@jurta.org>
469         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
470         by checking environment variables "DESKTOP_SESSION" and
471         "XDG_CURRENT_DESKTOP".  (Bug#9779)
473 2011-10-19  Juri Linkov  <juri@jurta.org>
475         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
476         (browse-url-chromium-program, browse-url-chromium-arguments):
477         New defcustoms.
478         (browse-url-default-browser): Check for `browse-url-chromium' and
479         call `browse-url-chromium-program'.
480         (browse-url-chromium): New command.  (Bug#9779)
482 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
484         * facemenu.el (list-colors-duplicates): On Windows, detect more
485         duplicates by assuming that only colors matching "^System" are
486         special "system colors".  (Bug#9722)
488 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
490         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
491         to distinguish the author from the committer.
493 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
495         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
497 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
499         * international/mule.el (sgml-html-meta-auto-coding-function):
500         Add support for detecting encoding in HTML5 specified only as
501         <meta charset="UTF-8">.  Implementation just makes http-equiv and
502         content-type parts from HTML4 encoding string optional.  (Bug#9716)
504 2011-10-18  Glenn Morris  <rgm@gnu.org>
506         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
508 2011-10-18  Chong Yidong  <cyd@gnu.org>
510         * faces.el (cursor): Doc fix.
512 2011-10-17  Chong Yidong  <cyd@gnu.org>
514         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
516 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
518         * dirtrack.el (dirtrack): Support shell buffers with path
519         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
521 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
523         * json.el: Bump version to 1.3 and note change in History.
524         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
526 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
528         * comint.el (comint-insert-input, comint-send-input)
529         (comint-get-old-input-default, comint-backward-matching-input)
530         (comint-next-prompt): Use nil instead of `input' for field property of
531         past user input (bug#114).
533         * minibuffer.el (completion--replace): Inherit surrounding properties
534         (bug#114).
535         (minibuffer-complete-and-exit): Use it.
537         * comint.el (comint--table-subvert): Quote the all-completions output
538         (bug#9160).
540 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
542         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
544         * menu-bar.el (menu-bar-file-menu): Add entry for making new
545         window on right of selected.  (Bug#9350) Reword other window
546         entries and separate them from frame entries.
548 2011-10-15  Glenn Morris  <rgm@gnu.org>
550         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
551         Doc fixes.
553 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
555         * net/network-stream.el (network-stream-open-starttls):
556         Improve detection of failure due to lack of TLS support.
558         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
559         putting the input text in front and in bold.
561 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
563         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
565         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
566         empty buffer.
568         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
569         unread-command-events rather than pushing yet-another event.
571 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
573         * mail/sendmail.el (sendmail-query-once): Improve the wording of
574         the explanation of the possible choices.  Make the options passed
575         to completing-read shorter.
577 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
579         * textmodes/flyspell.el (flyspell-large-region): Make sure
580         extended character mode is used if defined (Bug#1339).
582 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
584         * simple.el (what-cursor-position): Fix the display of the
585         character info for LRE, LRO, RLE, and RLO characters by appending
586         an invisible PDF.
588 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
590         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
591         even in case of error; add debug spec; simplify data flow.
592         (with-timeout-handler): Remove.
594 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
596         Fix Bug#6019, Bug#9315.
598         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
599         complete `buffer-file-name', the local file name part could look
600         remotely (for example on VMS).
602         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
603         `tramp-run-real-handler'.
604         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
605         already quoted by '"'.
607         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
608         Let `file-name-handler-alist' be nil, the local file name part
609         could look remotely (for example on VMS).
611 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
613         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
614         from here...
615         (flyspell-post-command-hook): ...to here.
617 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
619         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
620         if not needed.
621         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
622         using completion.  Protect against "slow" callers.
623         Remove the "message hack".
625 2011-10-11  Juri Linkov  <juri@jurta.org>
627         * isearch.el (isearch-lazy-highlight-word): New variable.
628         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
629         Use it.  (Bug#9727)
631 2011-10-11  Glenn Morris  <rgm@gnu.org>
633         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
634         like f90-previous-statement does.
636 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
638         * eshell/eshell.el (eshell-command): History should be saved
639         only in interactive use, to avoid error.
641 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
643         * minibuffer.el (completion-file-name-table): Fix last change,
644         i.e. ignore normal errors but not the other ones.
646 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
648         * window.el (special-display-buffer-names)
649         (special-display-regexps): Remove some remnants of earlier
650         changes from doc-strings.
651         (quit-windows-on): New function.
653         * vc/vc.el (vc-revert, vc-rollback):
654         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
655         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
656         (Bug#6183) (Bug#7074) (Bug#7447)
658 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
660         * window.el (frame-auto-hide-function): Add version tag.
661         (Bug#9699)
663 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
665         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
666         condition.
668 2011-10-09  Leo Liu  <sdl.web@gmail.com>
670         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
671         (Bug#9701)
673 2011-10-08  Glenn Morris  <rgm@gnu.org>
675         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
676         before the first code statement zero indent.  (Bug#9690)
678 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
680         * simple.el (count-words-region): Always count in the region.
681         Report the number of lines and characters too.
682         (count-words): New command, which counts in the buffer if the
683         region is inactive, as count-words-region used to.
684         (count-words--message): New function.  Handle plurals.
685         (count-lines-region): Make it an alias for count-words-region.
687         * bindings.el (esc-map): Replace count-lines-region with
688         count-words-region.
690 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
692         * window.el (window--delete): Delete dedicated frame
693         unconditionally when argument KILL is non-nil.  (Bug#9699)
694         (switch-to-buffer): Fix doc-string typo.
696 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
698         * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
700 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
702         * bindings.el ([M-left],[M-right]): Bind to left-word and
703         right-word respectively.
705 2011-10-07  Glenn Morris  <rgm@gnu.org>
707         * cus-start.el (debug-on-quit): Fix custom type.
709 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
711         * subr.el (define-key-after): Clarify that the function is not
712         useful for non-menu keymaps.
714         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
716 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
718         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
719         in current minibuffer (Fix bug with recursive minibuffers).
721 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
723         * progmodes/gdb-mi.el (gdb): Doc fix.
725 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
727         * window.el (frame-auto-hide-function): New option replacing
728         frame-auto-delete.  Suggested by Stefan Monnier.
729         (window--delete): Call frame-auto-hide-function instead of
730         investigating frame-auto-delete.
731         (window-point-1, set-window-point-1): New functions.
732         (window-in-direction, record-window-buffer, window-state-get-1)
733         (display-buffer-record-window): Use window-point-1 instead of
734         window-point.
735         (set-window-buffer-start-and-point): Use set-window-point-1.
737 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
739         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
741 2011-10-05  Glenn Morris  <rgm@gnu.org>
743         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
744         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
746 2011-10-05  Leo Liu  <sdl.web@gmail.com>
748         * subr.el (read-char-choice): Fix argument to buffer-live-p which
749         works with buffer object.
751 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
753         * mpc.el (mpc-tool-bar-map): Add labels.
755 2011-10-04  Glenn Morris  <rgm@gnu.org>
757         * calendar/holidays.el (calendar-check-holidays): Doc fix.
759 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
761         * window.el (window--delete): New function.
762         (frame-auto-delete): Resuscitate option.
763         (bury-buffer, replace-buffer-in-windows)
764         (quit-window): Rewrite using window--delete.
765         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
766         Pass display-buffer-mark-dedicated to window--display-buffer-2
767         (Bug#9639).
769 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
771         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
772         returns a list (bug#9554).  Add remote file name completion.
773         * comint.el (comint--table-subvert): Curry and get quote&unquote
774         functions as arguments.
775         (comint--complete-file-name-data): Adjust call accordingly.
776         * pcomplete.el (pcomplete--table-subvert): Remove.
777         (pcomplete-completions-at-point): Use comint--table-subvert instead.
779         * minibuffer.el (completion-table-case-fold): Use currying.
780         (completion--styles-type, completion--cycling-threshold-type):
781         New constants.
782         (completion-styles, completion-category-overrides)
783         (completion-cycle-threshold): Use them.
784         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
785         completion-table-case-fold.
787 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
789         * minibuffer.el (completion-category-overrides): Fix type of styles
790         and add more user friendly tags (bug#9660).
792 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
794         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
795         (mule-input-method-string): New widget.
796         (default-input-method, language-info-custom-alist): Use it.
798 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
800         * pcomplete.el: Require comint.
801         (pcomplete--common-suffix): Remove.
802         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
803         (pcomplete--table-subvert): Sync with comint--table-subvert.
804         (pcomplete--entries): Use comint-completion-file-name-table.
805         * comint.el (comint-unquote-filename): Simplify.
806         (comint-completion-file-name-table): New function (bug#9616).
807         (comint--complete-file-name-data): Use it.
809         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
810         (pcmpl-gnu-tar-buffer): Remove.
811         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
812         around.  Make sure pcomplete-suffix-list is only changed temporarily.
813         Don't look inside the tar's file if it's too large.
815 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
817         * cus-edit.el (custom-mode-map):
818         * epa.el (epa-key-list-mode-map):
819         * man.el (Man-mode-map):
820         * startup.el (splash-screen-keymap):
821         * simple.el (special-mode-map): Use scroll-up-command and
822         scroll-down-command.
824         * progmodes/idlw-help.el (idlwave-help-mode-map):
825         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
826         * net/newst-plainview.el (newsticker-mode-map):
827         * emulation/ws-mode.el (wordstar-mode-map):
828         * emulation/vi.el (vi-com-map):
829         * calc/calc-graph.el (calc-graph-show-dumb):
830         * term/sun.el (terminal-init-sun):
831         * term/ns-win.el (global-map):
832         * progmodes/grep.el (grep-mode-map):
833         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
834         * mail/rmail.el (rmail-mode-map):
835         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
837         * custom.el (custom-safe-themes, load-theme): Treat value of t for
838         custom-safe-themes as special.
840 2011-10-01  Julien Danjou  <julien@danjou.info>
842         * notifications.el (notifications-notify): Fix docstring.
844 2011-10-01  Per Starbäck  <per@starback.se>
846         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
848 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
850         * startup.el (command-line-1): Fix last fix by inserting
851         initial-scratch-message into *scratch* before displaying it.
852         (Bug#9605) and (Bug#9636)
854 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
856         * simple.el (line-move): If auto-hscroll-mode is disabled and the
857         window is hscrolled, move by logical lines.  (Bug#9607)
858         (line-move-visual): Update the doc string to the above effect.
860 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
862         * window.el (display-buffer-record-window): When WINDOW is the
863         selected window use `point' instead of `window-point'.  (Bug#9626)
865         * startup.el (command-line-1): Use insert-before-markers when
866         inserting initial-scratch-message.  (Bug#9605)
868         * help.el (help-window): Remove variable.
870 2011-09-29  Glenn Morris  <rgm@gnu.org>
872         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
874 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
876         * descr-text.el (describe-char-categories): Accept category
877         descriptions more than one line long.
879 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
881         * simple.el (delete-trailing-whitespace): Fix last change.
883         * progmodes/perl-mode.el (perl-syntax-propertize-function):
884         Don't confuse "y => 3" as the beginning of a `y' operation.
886         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
887         object has more than 4 slots (bug#9613).
889 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
891         * subr.el (with-output-to-temp-buffer):
892         * net/quickurl.el (quickurl, quickurl-browse-url):
893         Fix typos in docstrings.
895 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
897         * minibuffer.el (completion-styles)
898         (completion-category-overrides): Cross reference each other in doc
899         strings.
901 2011-09-27  Glenn Morris  <rgm@gnu.org>
903         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
904         to split-string.  (Bug#9606)
906 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
908         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
909         (bug#9615).
911 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
913         * emacs-lisp/package.el (list-packages): Fix echo area message.
915 2011-09-27  Leo Liu  <sdl.web@gmail.com>
917         * ido.el (ido-read-internal): Accept cons cell HIST arg.
919 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
921         * net/dbus.el (dbus-unregister-object): Don't release services for
922         registered signals.  (Bug#9581)
924 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
926         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
927         function that picks between cfengine 2 and 3 support
928         automatically.  Update docs accordingly.
930 2011-09-22  Kenichi Handa  <handa@m17n.org>
932         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
933         ZERO.
934         (indian-itrans-v5-table-for-tamil): New variable.
935         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
937 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
939         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
940         that's true if the current command involved collapsing of text.
941         It's reset to false at the beginning of the next command.
942         (allout-post-command-business): Move the cursor to the beginning
943         of entry if the cursor is hidden and collapsing activity just
944         happened.
946 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
948         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
949         tracking (Bug#9541).
951 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
953         * net/newst-reader.el (newsticker-html-renderer)
954         (newsticker-show-news): Automatically
955         load html rendering package if newsticker-html-renderer is set.
956         Fixes "Warning: defvar ignored because w3m-fill-column is
957         let-bound" and the error "Symbol's value as variable is void:
958         w3m-fill-column".
960 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
962         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
963         Release services only if they are defined.  (Bug#9581)
965 2011-09-23  Richard Stallman  <rms@gnu.org>
967         * textmodes/paragraphs.el (forward-sentence): For backwards case,
968         distinguish start of paragraph from start of its text.
970         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
972         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
973         (rmail-generate-viewer-buffer): Put that hook on view buffer.
974         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
976 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
978         * international/mule-diag.el (mule-diag): Insert a newline after
979         each fontset description.
981 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
983         * simple.el (delete-trailing-whitespace):
984         Document last change; simplify.
986 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
988         * simple.el (delete-trailing-whitespace): Also delete
989         extra newlines at the end of the buffer.
991         * textmodes/picture.el: Make motion commands obey shift-select-mode.
992         (picture-newline): Use forward-line so as to ignore fields.
994 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
996         * subr.el (with-wrapper-hook): Fix edebug spec.
998 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1000         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1001         (bug#4538).
1003 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
1005         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1006         Fix nasty bug using wrong cached values.
1008 2011-09-23  Alan Mackenzie  <acm@muc.de>
1010         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1012 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
1014         * window.el (pop-to-buffer): Ensure right window is selected if we
1015         chose another frame.
1017 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
1019         * simple.el (what-cursor-position): Use get-char-property-change
1020         and next-single-char-property-change, to be able to show display
1021         properties that come from overlays as well as text properties.
1023 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
1025         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1027         * cmuscheme.el (run-scheme, switch-to-scheme):
1028         * cus-edit.el (customize-group, custom-buffer-create)
1029         (customize-browse):
1030         * info.el (info):
1031         * shell.el (shell):
1032         * mail/sendmail.el (mail):
1033         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1035 2011-09-22  Richard Stallman  <rms@gnu.org>
1037         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1038         move back only to line beg, don't move back over blank lines.
1040 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
1042         * files.el (copy-directory): Set directory attributes only in case
1043         they could be retrieved from the source directory.  (Bug#9565)
1045 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
1047         * progmodes/hideshow.el (hs-looking-at-block-start-p)
1048         (hs-find-block-beginning, hs-hide-level-recursive):
1049         Ignore strings as well as comments.  (Bug#9502)
1051 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
1053         * progmodes/sql.el (sql-comint-postgres):
1054         Convert port number to a string.  (Bug#9566)
1056 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
1058         * window.el (quit-window): Undedicate window when switching to
1059         previous buffer.  Reported by Thierry Volpiatto
1060         <thierry.volpiatto@gmail.com>.
1061         (special-display-popup-frame): When popping up a new frame reset
1062         its previous buffers to nil.  Simplify code.
1064 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
1066         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1067         and process filter, as done also in `shell-command'.
1069 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
1071         * window.el (set-window-buffer-start-and-point):
1072         Call set-window-start with NOFORCE argument t.  Suggested by Thierry
1073         Volpiatto <thierry.volpiatto@gmail.com>.
1074         (quit-window): Reword doc-string.  Handle new format of
1075         quit-restore parameter.  Don't delete window if it has a
1076         previous buffer we can show instead of the present one.
1077         (display-buffer-record-window): Rewrite using a new format for
1078         the quit-restore window parameter
1079         (special-display-popup-frame, display-buffer-same-window)
1080         (display-buffer-reuse-window, display-buffer-pop-up-frame)
1081         (display-buffer-pop-up-window, display-buffer-use-some-window):
1082         Adapt symbol passed to display-buffer-record-window.
1083         * help.el (help-window-setup): Handle new format of quit-restore
1084         parameter.
1086 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1088         * faces.el (face-list): Fix docstring (bug#9564).
1090         * window.el (display-buffer--action-function-custom-type):
1091         Don't include internal functions in the Custom interface.
1093 2011-09-20  Juri Linkov  <juri@jurta.org>
1095         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1096         (Info-forward-node, Info-backward-node, Info-next-preorder)
1097         (Info-last-preorder): Use it.  (Bug#9528)
1099 2011-09-20  Juri Linkov  <juri@jurta.org>
1101         * info.el (Info-last-preorder): Visit last menu item only when
1102         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1104 2011-09-20  Julien Danjou  <julien@danjou.info>
1106         * password-cache.el (password-cache-remove): Remove entries even if the
1107         value is nil, so that password with a nil value (negative caching) is
1108         possible to invalidate.
1110 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
1112         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1113         all whitespace around breakpoint.  (Bug#9553)
1114         (f90-find-breakpoint): Only break at whitespace inside a comment.
1116 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1118         * minibuffer.el (completion-file-name-table): Keep track of errors.
1119         (completion-table-with-predicate): Handle the case where pred1 is nil.
1120         * pcomplete.el (pcomplete-completions-at-point): Simplify.
1122 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1124         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1125         (debugger-return-value): Signal an error if the debugging context does
1126         not await any return value.
1128         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1129         * image-mode.el (image-toggle-display-text)
1130         (image-toggle-display-image): Stay away from evil `intangible'.
1132 2011-09-19  Leo Liu  <sdl.web@gmail.com>
1134         * replace.el (occur-revert-arguments): Make it permanent-local.
1135         (occur-mode): Don't call font-lock-defontify.
1137 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
1139         * net/ldap.el (ldap-search-internal): Don't push empty search
1140         result (Bug#9508).
1142 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1144         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1146 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
1148         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1149         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1151 2011-09-18  Juri Linkov  <juri@jurta.org>
1153         * buff-menu.el (Buffer-menu-mode-map):
1154         * dired.el (dired-mode-map):
1155         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1156         (lisp-interaction-mode-map):
1157         * emacs-lisp/package.el (package-menu-mode-map):
1158         * epa.el (epa-key-list-mode-map):
1159         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1160         (menu-bar-options-menu):
1161         * outline.el (outline-mode-menu-bar-map):
1162         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1163         * vc/vc-dir.el (vc-dir-menu-map):
1164         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1165         Capitalize non-function content words in menu item strings.
1167         * dired.el (dired-mode-map): Add menu item for
1168         `image-dired-dired-toggle-marked-thumbs'.
1170 2011-09-18  Juri Linkov  <juri@jurta.org>
1172         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1173         to `isearch-case-fold-search' and restore its original value
1174         after the `isearch-mode' call.
1176 2011-09-18  Juri Linkov  <juri@jurta.org>
1178         * progmodes/grep.el (grep-process-setup): Don't check code for 1
1179         because `zgrep' returns 1 for successful matches (bug#9226).
1181 2011-09-18  Juri Linkov  <juri@jurta.org>
1183         * info.el (Info-extract-menu-node-name): Check the second match
1184         for empty string (second test-case of bug#9528).
1185         (Info-last-preorder): Let-bind `Info-history' to nil to not add
1186         intermediate nodes to the history (first test-case of bug#9528).
1188 2011-09-18  Juri Linkov  <juri@jurta.org>
1190         * info.el (Info-mode-syntax-table): New variable.
1191         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'.  (Bug#3312)
1193 2011-09-18  Juri Linkov  <juri@jurta.org>
1195         * info.el (Info-file-supports-index-cookies): Increment
1196         line-beginning-position's arg from 3 to 4 because makeinfo outputs
1197         one more line for long file names (bug#4142).
1199 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
1201         * newcomment.el (comment-normalize-vars): If prompting for
1202         comment-start, set comment-start-skip too (Bug#8424).
1204 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
1206         * icomplete.el: Fix previous fix of Bug#5849.
1207         (icomplete-mode): Don't set completion-show-inline-help.
1208         (icomplete-minibuffer-setup): Set completion-show-inline-help
1209         locally during icompletion.
1211 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
1213         * woman.el (woman2-process-escapes): Don't delete unrecognized
1214         escapes (Bug#7843).
1216         * files.el (inhibit-first-line-modes-regexps): Add image files.
1217         (hack-local-variables-prop-line): Return nil for malformed
1218         prop-lines (Bug#9044).
1220 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
1222         * net/tramp.el (top): Don't require 'shell.
1223         (tramp-methods): Fix docstring.
1224         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
1225         Return complete remote file name.  Handle "smb" case.
1226         Use `tramp-tmpdir', if defined for the respective method.
1227         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1229         * net/tramp-compat.el (top): Require 'shell.
1231         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1232         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1233         `tramp-current-host'.
1234         (tramp-get-remote-tmpdir): Remove.
1236         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1237         `tramp-tmpdir' entries.
1238         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1239         (tramp-smb-handle-file-attributes): Ignore errors.
1240         (tramp-smb-wait-for-output): Check also for process end.
1242 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1244         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1245         when sending QUIT (bug#9312).
1247 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
1249         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1250         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1251         occur-mode-display-occurrence.
1252         (occur-edit-mode): Add usage message.
1253         (occur-cease-edit): New command.
1254         (occur-after-change-function): Use text properties to find the
1255         position of the prefix text.
1256         (occur-engine): Set stickiness of prefix text properties.
1258 2011-09-17  Glenn Morris  <rgm@gnu.org>
1260         * progmodes/etags.el (complete-tag):
1261         Fix call to completion-in-region.  (Bug#9526)
1263 2011-09-17  Juri Linkov  <juri@jurta.org>
1265         * textmodes/ispell.el (ispell-word): Add to the error message
1266         the word, ispell program name and current dictionary (bug#9121).
1267         (ispell-tex-arg-end): Capitalize "error" in the error message.
1269 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
1271         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1272         check.  (Bug#4251)
1274 2011-09-17  Juri Linkov  <juri@jurta.org>
1276         * window.el (window-safe-min-height, window-safe-min-width):
1277         Fix typos (followup to bug#9522).
1279 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
1281         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1283 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
1285         * simple.el (line-move): If goal-column is set, move by logical
1286         lines, not by display lines.  (Bug#971)
1287         (next-line, previous-line, goal-column, line-move-visual): Doc fix
1288         to reflect the above change.
1290 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1292         * image.el (imagemagick-register-types): Use regexp-opt.
1294 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
1296         * window.el (display-buffer-base-action): Rename from
1297         display-buffer-default-action.  Make default value empty.
1298         (display-buffer-overriding-action): Convert to defvar.
1299         (display-buffer-fallback-action): New var.
1301 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
1303         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1304         declaration.
1305         (package--add-to-archive-contents): If there is a duplicate entry
1306         with an older version, remove it.
1307         (package-menu-mark-delete, package-menu-mark-install)
1308         (package-menu-mark-unmark): Make unused args optional.
1309         (package-menu-mark-obsolete-for-deletion):
1310         Use package-menu-get-status instead of a regexp search.
1311         (package-menu-get-status): Use tabulated-list-entry.
1312         (package-menu-mark-upgrades): New command.
1313         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
1314         (package-menu-execute): Do installation before deletion.
1315         (package-menu-refresh, package-menu-execute): Use derived-mode-p
1316         instead of checking major-mode.
1317         (package-menu--find-upgrades): New function.
1319 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1321         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1322         passwords in the log buffer.
1323         (smtpmail-process-filter): Update the process marker so that the
1324         "broken by peer" status message is inserted in the right place.
1326 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1328         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1329         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1330         bibtex-completion-at-point-function.
1331         (bibtex-completion-at-point-function): Use them.
1333         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1335         * mpc.el (mpc-constraints-tag-lookup): New function.
1336         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1337         also to browser "album|playlist".
1339 2011-09-14  Juri Linkov  <juri@jurta.org>
1341         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
1342         (isearch-edit-string): Use length of `isearch-string' when
1343         `isearch-fail-pos' returns nil.
1344         (isearch-message): Remove duplicate code and call
1345         `isearch-fail-pos' with arg `t'.
1347 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
1349         * replace.el (occur-mode-goto-occurrence): Don't force using other
1350         window (Bug#9499).
1352         * dired-aux.el (dired-do-chmod): Don't provide initial input.
1354 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
1356         * window.el (display-buffer-window): Remove.
1357         (display-buffer-record-window): Use help-setup window parameter
1358         instead of variable display-buffer-window.
1359         (display-buffer-function, special-display-buffer-names)
1360         (special-display-function): Mention help-setup parameter instead
1361         of display-buffer-window in doc-string.
1362         * help.el (help-window-setup): New argument help-window.
1363         Use help-window-setup parameter instead of display-buffer-window.
1364         Reword some messages.
1365         (with-help-window): Pass window used for displaying the buffer
1366         to help-window-setup.  Don't set display-buffer-window.
1368 2011-09-13  Glenn Morris  <rgm@gnu.org>
1370         * emacs-lisp/debug.el (debugger-make-xrefs):
1371         Preserve point.  (Bug#9462)
1373 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
1375         * window.el (window-deletable-p): Use next-frame.
1377 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
1379         * window.el (window-auto-delete): Remove.
1380         (window-deletable-p): Remove argument FORCE.  Don't deal with
1381         dedicatedness and previous buffers.
1382         (switch-to-prev-buffer): Don't delete window.
1383         (delete-windows-on): Delete a window's frame if and only if the
1384         window is dedicated.
1385         (replace-buffer-in-windows): Delete buffer's window or frame if
1386         and only if window is dedicated.
1387         (quit-window): Handle quit-restore as before last change.
1388         (bury-buffer): Delete window only if window-deletable-p returns t.
1390 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
1392         * window.el (window-deletable-p): Never delete the last frame on a
1393         given terminal.
1395 2011-09-13  Glenn Morris  <rgm@gnu.org>
1397         * help.el (describe-key-briefly): Copy previous standard-output change.
1399 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
1401         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
1403 2011-09-13  Glenn Morris  <rgm@gnu.org>
1405         * emacs-lisp/lisp-mode.el (lisp-indent-function):
1406         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1408 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
1410         * dired-aux.el (dired-mark-read-string): Don't return default
1411         value on empty input (Bug#9361).
1412         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1413         Omit initial minibuffer contents.
1414         (dired-do-chmod): Signal an error on empty input.
1415         (dired-mark-read-string): Don't return default on empty input.
1417         * files.el (file-modes-symbolic-to-number): Doc fix.
1419 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1421         * international/mule-cmds.el (ucs-completions): Remove.
1422         (read-char-by-name): Use complete-with-action instead; add metadata.
1424 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
1426         * window.el (display-buffer--action-function-custom-type)
1427         (display-buffer--action-custom-type): New vars.
1428         (display-buffer-alist, display-buffer-default-action)
1429         (display-buffer-overriding-action): Add defcustom types.
1431         * frame.el (delete-other-frames): Doc fix (Bug#276).
1433 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1435         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1437 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
1439         Change modes that used same-window-* vars to use switch-to-buffer.
1441         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1442         Use switch-to-buffer.
1444         * cus-edit.el (customize-group, custom-buffer-create)
1445         (customize-browse, custom-buffer-create-other-window):
1446         Use switch-to-buffer or switch-to-buffer-other-window.
1448         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1449         (Info-prev, Info-up, Info-speedbar-goto-node)
1450         (info-display-manual): Use switch-to-buffer.
1451         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1453         * mail/sendmail.el (mail): Use switch-to-buffer.
1454         (mail-recover): Use switch-to-buffer-other-window.
1456         * cmuscheme.el (run-scheme, switch-to-scheme):
1457         * ielm.el (ielm):
1458         * shell.el (shell):
1459         * net/rlogin.el (rlogin):
1460         * net/telnet.el (telnet, rsh):
1461         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1463 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
1465         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1467 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1469         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1470         so don't mention it (bug#9301).
1471         (dired-sort-toggle-or-edit): Clarify string further.
1473         * faces.el (face-spec-set-match-display): Make `(type graphic)'
1474         match `x', `w32' and `ns', like the manual says (bug#9029).
1476         * subr.el (eval-after-load): Doc string clarification (bug#9125).
1477         (process-kill-buffer-query-function): Mention the buffer name in
1478         the query.
1480         * image-mode.el (image-next-line): The line parameter is mandatory
1481         (bug#9258).
1483         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1484         which can be useful (bug#9301).
1486         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1488         * subr.el (match-string): Mention that the current buffer should
1489         be the same as the search was done in (bug#9282).
1491         * facemenu.el: Disable the remove-* commands if the mark isn't
1492         active (bug#9162).
1494 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
1496         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1497         of display-buffer.
1498         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1500         * replace.el (occur-mode-goto-occurrence)
1501         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1502         and display-buffer.
1504         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1505         display-buffer.
1507         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1508         special-display and same-window variables.
1509         (mail-other-window): Use switch-to-buffer-other-window.
1510         (mail-other-frame): USe switch-to-buffer-other-frame.
1512         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1513         Use display-buffer-other-frame.
1514         (gdb-display-gdb-buffer): Use pop-to-buffer.
1516         * progmodes/gud.el (gud-goto-info): Use info-other-window.
1518         * progmodes/python.el: Don't set same-window-buffer-names.
1520         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1522         * window.el (display-buffer-alist): Add *Python*.
1524 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
1526         * window.el (display-buffer-alist): Add entry for buffers
1527         previously handled same-window-*.
1528         (display-buffer-alist, display-buffer-default-action)
1529         (display-buffer-overriding-action): Mark as risky.
1530         (display-buffer-alist): Document action function changes.
1531         (display-buffer--same-window-action)
1532         (display-buffer--other-frame-action): New variables.
1533         (switch-to-buffer, display-buffer-other-frame): Use them.
1534         (display-buffer): Rename reuse-frame entry to reusable-frames.
1535         (display-buffer-reuse-selected-window): Function deleted.
1536         (display-buffer-reuse-window): Handle reusable-frames alist entry.
1537         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1538         (display-buffer-special): New function.
1539         (display-buffer--maybe-pop-up-frame-or-window): Rename from
1540         display-buffer-reuse-or-pop-window.  Split off special-display
1541         part into display-buffer-special.
1542         (display-buffer-use-some-window): Don't perform any special
1543         pop-up-frames handling.
1544         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
1545         (display-buffer--maybe-same-window): Rename from
1546         display-buffer-maybe-same-window.
1548         * info.el: Don't set same-window-regexps.
1549         (info-setup): New function.
1550         (info-other-window, info): Call it.
1552         * cus-edit.el: Don't set same-window-regexps.
1553         (customize-group): New argument.
1554         (customize-group-other-window): Use it.
1555         (customize-face, customize-face-other-window): Likewise.
1556         (custom-buffer-create-other-window): Use pop-to-buffer directly.
1558         * net/rlogin.el:
1559         * net/telnet.el:
1560         * progmodes/gud.el: Don't set same-window-regexps.
1562         * cmuscheme.el:
1563         * ielm.el:
1564         * shell.el:
1565         * mail/sendmail.el:
1566         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1568 2011-09-10  Juri Linkov  <juri@jurta.org>
1570         * isearch.el (isearch-edit-string): Remove obsolete mention of
1571         `C-w' (`isearch-yank-word-or-char') from docstring.
1572         (isearch-query-replace): Fix typo in docstring (bug#9466).
1574 2011-09-10  Juri Linkov  <juri@jurta.org>
1576         * paren.el (show-paren-function): Don't show escaped parens.
1577         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
1579 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
1581         * mail/sendmail.el (mml-to-mime, mml-attach-file)
1582         (mm-default-file-encoding): Remove autoload forms, they are
1583         replaced with autoload cookies in mml.el and mm-encode.el.
1584         (mail-add-attachment): New command.
1585         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1586         (mail-mode): Mention mail-insert-file and mail-add-attachment in
1587         the doc string.
1588         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1590 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
1592         * simple.el (count-words-region): Use buffer if there's no region
1593         (bug#9429).
1595 2011-09-09  Juri Linkov  <juri@jurta.org>
1597         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1598         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1599         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
1601 2011-09-09  Alan Mackenzie  <acm@muc.de>
1603         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1604         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
1606 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
1608         Fix for Savannah bug#9392.
1609         * simple.el (mail-encode-mml): New defvar.
1611         * mail/rmail.el (mail-encode-mml): Add a defvar.
1612         (rmail-enable-mime-composing): Default to t.
1613         (rmail-forward): Use MIME method of forwarding only if both
1614         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1615         Set mail-encode-mml non-nil if the MIME method was used.
1617         * mail/sendmail.el (mml-to-mime): Add autoload form.
1618         (mail-encode-mml): Add a defvar.
1619         (mail-mode): Make mail-encode-mml buffer-local and initialize it
1620         to nil.
1621         (mail-send): If mail-encode-mml is non-nil, run the outgoing
1622         message through mml-to-mime, and reset mail-encode-mml to nil.
1624 2011-09-09  Glenn Morris  <rgm@gnu.org>
1626         * woman.el (woman-if-body): When processing an .el block,
1627         do not delete the next .el block as well.  (Bug#9447)
1628         (woman-special-characters): Add oq, cq, and hy characters.
1630 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
1632         * window.el (window-deletable-p): Make sure window is live before
1633         invoking window-prev-buffers.
1635 2011-09-08  Leo Liu  <sdl.web@gmail.com>
1637         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
1639 2011-09-08  Juri Linkov  <juri@jurta.org>
1641         * progmodes/compile.el (compilation-environment): Make it
1642         a defcustom (bug#8340).
1644 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
1646         * window.el (frame-auto-delete): Rename to window-auto-delete.
1647         Make it control auto-deletion of windows and/or frames.
1648         (window-deletable-p): New argument FORCE.  Rewrite conditions
1649         for deleting window/frame.  (Bug#9419)
1650         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1651         Rewrite handling of case when window/frame can be deleted.
1652         (delete-windows-on): Call window-deletable-p with new FORCE
1653         argument t.  (Bug#9456)
1655 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
1657         * help-mode.el (help-mode): Restore autoload.
1659 2011-09-07  Juri Linkov  <juri@jurta.org>
1661         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1662         `compilation-environment'.  Set buffer-local
1663         `compilation-environment' to `thisenv' later after (funcall mode).
1664         (Bug#8340)
1666         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
1667         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1668         instead of replacing its value.  (Bug#8340)
1670 2011-09-07  Juri Linkov  <juri@jurta.org>
1672         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1673         based on text properties put by `grep-filter' instead of matching
1674         escape sequences.
1675         (grep-mode): Set buffer-local `compilation-error-screen-columns'
1676         to the value of `grep-error-screen-columns' (bug#9438).
1678 2011-09-07  Juri Linkov  <juri@jurta.org>
1680         * simple.el (next-error-highlight, next-error-highlight-no-select):
1681         Doc fix (bug#9432).
1683 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
1685         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1686         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
1688 2011-09-07  Leo Liu  <sdl.web@gmail.com>
1690         * net/rcirc.el (rcirc-mode): Conditionally initialize
1691         rcirc-input-ring.
1693 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1695         * emacs-lisp/find-func.el (find-function-C-source): Only set
1696         find-function-C-source-directory after checking that we found a source
1697         file there (bug#9440).
1699 2011-09-06  Alan Mackenzie  <acm@muc.de>
1701         * isearch.el (isearch-other-meta-char): Wherever a key list is
1702         unread, "unread" the prefix arg, too.  This fixes bug #8901.
1704 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
1706         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1708 2011-09-05  Juri Linkov  <juri@jurta.org>
1710         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1712 2011-09-05  Juri Linkov  <juri@jurta.org>
1714         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1715         keeping point where processing of grep matches begins, and
1716         continue to delete remaining escape sequences from the same point.
1717         (grep-filter): Make leading zero optional in "0?1;31m" because
1718         git-grep emits "\033[1;31m" escape sequences unlike expected
1719         "\033[01;31m" as GNU Grep does (bug#9408).
1720         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1722 2011-09-05  Juri Linkov  <juri@jurta.org>
1724         * subr.el (y-or-n-p): Capitalize "yes".
1726 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
1728         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
1729         `tramp-cache-unload-hook' where appropriate.
1730         (tramp-methods): Rename `tramp-remote-sh' to
1731         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
1732         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1734         * net/tramp-sh.el (top): Don't require 'shell.
1735         (tramp-methods): Add `tramp-remote-shell' and
1736         `tramp-remote-shell-args' entries.
1737         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1738         (tramp-sh-handle-shell-command): Remove.
1739         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1740         Use `tramp-remote-shell'.
1742 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
1744         * mail/sendmail.el (sendmail-query-once-function): Delete.
1745         (sendmail-query-once): Save directly to send-mail-function.
1746         Update message-send-mail-function too.
1748         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1750 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
1752         * progmodes/python.el (python-mode-map): Use correct function to
1753         start python interpreter from menu-bar (as reported by Geert
1754         Kloosterman).
1755         (inferior-python-mode-map): Fix typo.
1756         (python-shell-map): Remove.
1758 2011-09-03  Deniz Dogan  <deniz@dogan.se>
1760         * net/rcirc.el (rcirc-print): Simplify code for
1761         rcirc-scroll-show-maximum-output.  There is no need to walk
1762         through all windows to find the right one.
1764 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
1766         * help.el (help-return-method): Doc fix.
1768 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
1770         * window.el (window-deletable-p): Don't return a non-nil value
1771         when there's a buffer that was shown in the window before.
1772         (Bug#9419)
1773         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1774         Set window's previous buffers to nil.
1776 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
1778         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1779         newline before and after the tag line, so it doesn't interfere
1780         with determining the paragraph direction of bidirectional text.
1782 2011-09-03  Leo Liu  <sdl.web@gmail.com>
1784         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
1786 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
1788         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
1789         (pop-to-buffer): Change interactive spec.  Pass second argument
1790         directly to display-buffer.
1791         (display-buffer): Fix interactive spec.  Use functionp to
1792         distinguish between a function and a list of functions.
1794         * abbrev.el (edit-abbrevs):
1795         * arc-mode.el (archive-extract):
1796         * autoinsert.el (auto-insert):
1797         * bookmark.el (bookmark-bmenu-list):
1798         * files.el (find-file):
1799         * view.el (view-buffer):
1800         * progmodes/compile.el (compilation-goto-locus):
1801         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1803 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
1805         * window.el (display-buffer-alist): Doc fix.
1806         (display-buffer): Add docstring.  Don't treat
1807         display-buffer-default specially.
1808         (display-buffer-reuse-selected-window)
1809         (display-buffer-same-window, display-buffer-maybe-same-window)
1810         (display-buffer-reuse-window, display-buffer-pop-up-frame)
1811         (display-buffer-pop-up-window)
1812         (display-buffer-reuse-or-pop-window)
1813         (display-buffer-use-some-window): New functions.
1814         (display-buffer-default-action): Use them.
1815         (display-buffer-default): Delete.
1816         (pop-to-buffer-1): Fix choice of actions.
1818 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1820         * minibuffer.el (completion--insert-strings): Don't get confused by
1821         completion entries that end with an LF char.
1823 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
1825         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1827 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
1829         * window.el (display-buffer): Restore interactive spec.
1830         (display-buffer-same-window, display-buffer-other-window):
1831         New functions.
1832         (pop-to-buffer-1): New function.  Use the above.
1833         (pop-to-buffer, pop-to-buffer-same-window): Use it.
1834         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
1836         * view.el (view-buffer-other-window, view-buffer-other-frame):
1837         Just use pop-to-buffer.
1839 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1841         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
1843 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
1845         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
1847 2011-08-31  Richard Stallman  <rms@gnu.org>
1849         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1850         of the separation of rmail-view-buffer from rmail-buffer.
1851         If you say no to "replace original", the decrypt is in the
1852         view buffer.  If you say yes, the decrypt goes into the
1853         rmail buffer also.
1855 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
1857         * window.el (display-buffer-window): Rewrite doc-string.
1858         (display-buffer-record-window): New function.
1859         (display-buffer-macro-specifiers)
1860         (display-buffer-even-window-sizes, display-buffer-set-height)
1861         (display-buffer-set-width, display-buffer-in-window)
1862         (display-buffer-reuse-window, display-buffer-split-specifiers)
1863         (display-buffer-side-specifiers, display-buffer-split-window-1)
1864         (display-buffer-split-window, display-buffer-split-atom-window)
1865         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1866         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1867         (display-buffer-other-window-means-other-frame)
1868         (display-buffer-normalize-special)
1869         (display-buffer-normalize-default)
1870         (display-buffer-normalize-argument)
1871         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1872         (display-buffer-normalize-specifiers, display-buffer-frame)
1873         (display-buffer-same-window, display-buffer-same-frame)
1874         (display-buffer-other-window)
1875         (display-buffer-same-frame-other-window)
1876         (display-buffer-other-frame, pop-to-buffer-same-window)
1877         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1878         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1879         (switch-to-buffer-same-frame)
1880         (switch-to-buffer-other-window-same-frame)
1881         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1882         (display-buffer-alist-set-1, display-buffer-alist-set-2)
1883         (display-buffer-alist-set): Remove.
1884         (display-buffer-function, special-display-buffer-names)
1885         (special-display-regexps, special-display-function):
1886         In doc-string refer to display-buffer-window and quit-restore
1887         parameter.
1888         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1889         (special-display-frame-alist, special-display-popup-frame)
1890         (same-window-buffer-names, same-window-regexps, same-window-p)
1891         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1892         (split-window-preferred-function, split-height-threshold)
1893         (split-width-threshold, window-splittable-p)
1894         (split-window-sensibly, window--try-to-split-window)
1895         (window--frame-usable-p, even-window-heights)
1896         (window--even-window-heights, window--display-buffer-1)
1897         (window--display-buffer-2, display-buffer-other-frame):
1898         Restore old Emacs 23 code, order and doc-strings where applicable.
1899         (display-buffer-default, display-buffer-assq-regexp): New functions.
1900         (display-buffer-alist): Rewrite doc-string.
1901         (display-buffer-default-action)
1902         (display-buffer-overriding-action): New variables.
1903         (display-buffer, switch-to-buffer): Rewrite.
1904         (pop-to-buffer): Restore Emacs 23 behavior but use
1905         window-normalize-buffer-to-display.
1906         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1907         Restore Emacs 23 behavior but use
1908         window-normalize-buffer-to-switch-to.
1909         (pop-to-buffer-same-window): Rewrite.
1910         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1911         Rewrite using Emacs 23 options.
1913 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
1915         * net/tramp.el (tramp-root-regexp): Remove.
1916         (tramp-completion-file-name-regexp-unified)
1917         (tramp-completion-file-name-regexp-separate)
1918         (tramp-completion-file-name-regexp-url): Don't use leading volume
1919         letter on win32 systems.  (Bug#5303, Bug#9311)
1920         (tramp-drop-volume-letter): Simplify definition.
1921         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1923 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1925         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1926         (bug#9356).
1928 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
1930         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
1932 2011-08-29  Juri Linkov  <juri@jurta.org>
1934         * isearch.el (isearch-done): Don't display message "Mark saved"
1935         when arg `edit' is non-nil to prevent its flicker in the echo area.
1937 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
1939         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1940         obsolete packages for deletion.
1942 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
1944         * help-mode.el (help-mode-map): Add special-mode-map to parent.
1945         (help-mode): Derive help-mode from special-mode.  Don't invoke
1946         view-mode from help-mode.
1947         (help-xref-override-view-map): Remove.
1948         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1949         view-mode is not used anymore.
1951 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
1953         * server.el (server-port): Doc fix.
1955         * cus-theme.el (custom-theme-choose-mode): Inherit from
1956         special-mode (Bug#9124).
1957         (custom-theme-choose-mode-map): Add special-mode to parent.
1959 2011-08-28  Alan Mackenzie  <acm@muc.de>
1961         * progmodes/cc-fonts.el
1962         (c-make-font-lock-BO-decl-search-function): New function.
1963         (c-basic-matchers-after - "Fontify the clauses after various
1964         keywords"): Extract the three keyword lists for the 3 erroneous
1965         constructs from the list of four, and use the new function above
1966         in place of an old one.
1968 2011-08-28  Deniz Dogan  <deniz@dogan.se>
1970         * net/rcirc.el (rcirc-insert-prev-input)
1971         (rcirc-insert-next-input): Remove unused argument.
1973 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1975         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1977 2011-08-27  Alan Mackenzie  <acm@muc.de>
1979         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1980         handle function pointer parameters properly.
1982 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
1984         * window.el (display-buffer-reuse-window): Fix case where
1985         selected window was reused with non-nil OTHER-WINDOW argument.
1986         (Bug#9381)
1988 2011-08-27  Deniz Dogan  <deniz@dogan.se>
1990         * net/rcirc.el (rcirc-check-auth-status): Adding support for
1991         oftc's NickServ messages.
1993 2011-08-27  Glenn Morris  <rgm@gnu.org>
1995         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
1997 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
1999         * emacs-lisp/package.el (package-install): Call package-initialize
2000         if called interactively.
2002 2011-08-26  Leo Liu  <sdl.web@gmail.com>
2004         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
2006 2011-08-25  Juri Linkov  <juri@jurta.org>
2008         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2009         `search-whitespace-regexp' (bug#9364).
2011 2011-08-25  Juri Linkov  <juri@jurta.org>
2013         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2014         `regexp-search-ring' to their global values to protect from
2015         updating by `read-from-minibuffer' (bug#9185).
2017 2011-08-25  Juri Linkov  <juri@jurta.org>
2019         * textmodes/ispell.el (ispell-command-loop): Add newline
2020         at the end of the "Use option `i'..." line.
2022 2011-08-25  Juri Linkov  <juri@jurta.org>
2024         * battery.el (display-battery-mode): If `battery-status-function'
2025         or `battery-mode-line-format' is nil, display the message and set
2026         `display-battery-mode' to nil (bug#9363).
2028 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
2030         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2031         bidi-string-mark-left-to-right; they are unnecessary now.
2033 2011-08-25  Deniz Dogan  <deniz@dogan.se>
2035         * net/quickurl.el: Documentation typo fixes.
2037 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
2039         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2041 2011-08-25  Glenn Morris  <rgm@gnu.org>
2043         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2045         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2046         (smtpmail-via-smtp): Handle nil response from smtp.
2048 2011-08-24  Juri Linkov  <juri@jurta.org>
2050         * proced.el (proced-marked): Inherit from `error' instead of
2051         `font-lock-warning-face'.
2053         * ibuffer.el (ibuffer-marked-face): Change default face from
2054         `font-lock-warning-face' to `warning'.
2055         (ibuffer-deletion-face): Change default face from
2056         `font-lock-type-face' to `error'.
2058         * battery.el (battery-update): Use the face `error' instead of
2059         `font-lock-warning-face' (bug#6117).
2061 2011-08-24  Juri Linkov  <juri@jurta.org>
2063         * faces.el (success): Change face color from "Green3" to
2064         "ForestGreen" on light background (bug#9353).
2066 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
2068         * window.el (quit-window): Rename from quit-restore-window.
2069         Use same arglist as old quit-window.
2070         (frame-auto-delete): Doc fix.
2072         * view.el (view-mode-exit): Use quit-window.
2074 2011-08-24  Juri Linkov  <juri@jurta.org>
2076         * isearch.el (isearch-ring-adjust1): Start visiting previous
2077         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2078         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2079         for empty search string (when the last search string is reused
2080         automatically) to adjust the isearch ring to the last element and
2081         prepare the correct index for further M-p commands (bug#9185).
2083 2011-08-24  Kenichi Handa  <handa@m17n.org>
2085         * international/ucs-normalize.el: If decomposition property of
2086         CHAR is the default one (i.e. a list of CHAR itself), treat it as
2087         nil.
2088         (nfd, nfkd): Likewise.
2090 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2092         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2093         from process filters aren't reliably transmitted to the surrounding
2094         accept-process-output.
2095         (mpc-proc-check): New function.
2096         (mpc-proc-sync): Use it (bug#8293)
2098 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2100         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2101         Add compatibility functions (bug#9313).
2103 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
2105         * cus-start.el (all): Add entry for bidi-paragraph-direction.
2107         * international/uni-bidi.el: Regenerated.
2109 2011-08-23  Kenichi Handa  <handa@m17n.org>
2111         * international/charprop.el:
2112         * international/uni-bidi.el:
2113         * international/uni-category.el:
2114         * international/uni-combining.el:
2115         * international/uni-comment.el:
2116         * international/uni-decimal.el:
2117         * international/uni-decomposition.el:
2118         * international/uni-digit.el:
2119         * international/uni-lowercase.el:
2120         * international/uni-mirrored.el:
2121         * international/uni-name.el:
2122         * international/uni-numeric.el:
2123         * international/uni-old-name.el:
2124         * international/uni-titlecase.el:
2125         * international/uni-uppercase.el: Regenerate.
2127 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
2129         * help.el (help-window-setup): Fix message displayed when other
2130         window is reused.  (Bug#9341)
2132 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2134         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2135         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2137         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2138         Mark obsolete.
2139         * shell.el (shell-parse-pcomplete-arguments): New function.
2140         (shell-completion-vars): Use it instead (bug#9160).
2142 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2144         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2145         strings and comments (bug#9333).
2147         * emacs-lisp/debug.el (debug-arglist): New function.
2148         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
2149         (debug-on-entry-1): Handle interpreted closures (bug#9120).
2151 2011-08-22  Juri Linkov  <juri@jurta.org>
2153         * progmodes/compile.el (compilation-mode-font-lock-keywords):
2154         Revert regexp that highlights output switches to its old
2155         pre-2010-10-28 value and remove one `?' from it (bug#9319).
2157         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2158         to check for empty output (bug#9226).
2160 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
2162         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2163         symbol-constituent as the default, as that stops font-lock from
2164         working properly (Bug#8843).
2166 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2168         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2169         `coding-system-for-*' around the process open call to avoid
2170         auth-source side effects.
2171         (smtpmail-try-auth-methods): Expand the secret password.
2172         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2173         probe hangs.
2175 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
2177         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2179         * emacs-lisp/find-func.el (find-function-noselect): New arg
2180         lisp-only.
2182         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2183         signal an error for built-in functions (Bug#6664).
2185 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2187         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2188         (smtpmail-try-auth-methods): Use it.
2190 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
2192         * font-lock.el (font-lock-fontify-region)
2193         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2194         (font-lock-default-unfontify-buffer)
2195         (font-lock-default-fontify-region)
2196         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2198         * progmodes/compile.el (compilation-error-properties):
2199         Fix confusion between file struct and message struct (Bug#9319).
2200         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2201         `ant' regexp.
2203         * net/browse-url.el (browse-url-firefox): Don't call
2204         browse-url-firefox-sentinel unless using -remote (Bug#9328).
2206 2011-08-20  Glenn Morris  <rgm@gnu.org>
2208         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2210         * tutorial.el (tutorial--default-keys): Update some default bindings.
2212         * files.el (hack-local-variables): Fully ignore case for "mode:".
2214 2011-08-20  Alan Mackenzie  <acm@muc.de>
2216         Resolve invalid use of a regexp in regexp-opt.
2218         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2219         detection for a java annotation.
2221         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
2222         detection for a java annotation.
2224         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2225         handling for java.
2226         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2228 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
2230         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2231         (Bug#9274).
2233 2011-08-20  Alan Mackenzie  <acm@muc.de>
2235         * Fontify CPP expressions correctly when starting in the middle of
2236         such a construct.  Mainly for when jit-lock etc. starts a chunk
2237         here.
2239         * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2240         variable.
2241         (c-make-font-lock-search-form): new function, extracted from
2242         c-make-font-lock-search-function.
2243         (c-make-font-lock-search-function): Use the above function.
2244         (c-make-font-lock-context-search-function): New function.
2245         (c-cpp-matchers): Enhance the preprocessor expression case with
2246         the above function
2247         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2248         which takes an expression.
2250         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2252 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
2254         * window.el (display-buffer-reuse-window)
2255         (display-buffer-pop-up-window): Don't reuse or split a side
2256         window.
2258 2011-08-19  Glenn Morris  <rgm@gnu.org>
2260         * files.el (hack-local-variables-prop-line, hack-local-variables):
2261         Downcase "Mode:".  (Bug#9331)
2263 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
2265         * international/characters.el: Add L and R categories.
2267         * subr.el (bidi-string-mark-left-to-right): Rename from
2268         string-mark-left-to-right.  Use category search.
2270         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2272 2011-08-18  Juri Linkov  <juri@jurta.org>
2274         * faces.el (error, warning, success): New faces with definitions
2275         copied from old default values of `font-lock-warning-face',
2276         `compilation-warning', `compilation-info' (bug#6117).
2278         * font-lock.el (font-lock-warning-face): Inherit from `error'.
2280         * progmodes/compile.el (compilation-error): Inherit from `error'.
2281         (compilation-warning): Inherit from `warning'.
2282         (compilation-info): Inherit from `success'.
2284         * dired.el (dired-marked): Inherit from `warning'.
2285         (dired-flagged): Inherit from `error'.
2287 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2289         * mail/smtpmail.el (auth-source): Require to avoid problems with
2290         binding variables (bug#9298).  Also clean up some unused
2291         autoloads.
2293         * net/network-stream.el (network-stream-open-starttls):
2294         Support using starttls.el without using gnutls-cli.
2296 2011-08-17  Juri Linkov  <juri@jurta.org>
2298         * progmodes/grep.el (rgrep): Handle the case when
2299         `grep-find-command' is a cons cell (bug#9278).
2301 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
2303         * window.el (display-buffer-pop-up-frame): Run frame creation
2304         function with BUFFER current (as special-display-popup-frame
2305         does).  Reported by Drew Adams.
2307 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
2309         * epa-mail.el: Simplify GnuPG group expansion using
2310         epg-expand-group.
2311         (epa-mail-group-alist, epa-mail-group-modtime)
2312         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2313         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2314         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2315         Remove.
2317 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
2319         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2321 2011-08-16  Alan Mackenzie  <acm@muc.de>
2323         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2324         Correct, to avoid the inside of macros.
2326 2011-08-16  Richard Stallman  <rms@gnu.org>
2328         * epa-mail.el: Handle GnuPG group definitions.
2329         (epa-mail-group-alist, epa-mail-group-modtime)
2330         (epa-mail-gnupg-conf-file): New variables.
2331         (epa-mail-parse-groups, epa-mail-sync-groups)
2332         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2333         (epa-mail-expand-recipients): New functions.
2334         (epa-mail-encrypt): Call epa-mail-expand-recipients.
2336         * mail/rmail.el (rmail-epa-decrypt): New command.
2338         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2339         Don't bind buffer-read-only, just inhibit-read-only.
2340         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2341         (epa-decrypt-armor-in-region): Make error message clearer.
2343 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2345         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2346         and "a2b" to "ab" for `prefix'.
2348 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
2350         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2351         filter groups.
2352         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
2353         Fourquet (Bug#8804).
2355 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
2357         * startup.el (argi): Declare as global variable (bug#9275).
2359 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
2361         * subr.el (string-mark-left-to-right): Search the entire string
2362         for RTL script, not just the terminating character.  Doc fix.
2364 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2366         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2367         New function.
2368         (js--regexp-literal, js-syntax-propertize-function): Remove.
2369         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2370         (js-mode-map): Don't rebind electric keys.
2371         (js-insert-and-indent): Remove.
2372         (js-mode): Setup electric-layout and electric-indent instead.
2374         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2376 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
2378         * epa.el (epa-progress-callback-function): Fix the logic of
2379         displaying progress.
2380         * epa-file.el (epa-file-insert-file-contents): Make progress
2381         display more user-friendly.
2382         (epa-file-write-region): Ditto.
2384 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
2386         * subr.el (string-mark-left-to-right): New function.
2388         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2389         Use string-mark-left-to-right.
2390         (list-buffers-noselect): Caller changed.
2392         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2393         Use string-mark-left-to-right.
2394         (tabulated-list-print): Recenter after moving point.
2396 2011-08-10  Juri Linkov  <juri@jurta.org>
2398         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2399         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2400         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2402 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
2404         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2405         (Bug#7554).
2407 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2409         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2410         character.  (Bug#6594)
2412 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
2414         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2415         (image-dired--with-db-file): New macro.
2416         (image-dired-write-tags, image-dired-remove-tag)
2417         (image-dired-create-gallery-lists, image-dired-write-comments)
2418         (image-dired-get-comment, image-dired-mark-tagged-files)
2419         (image-dired-list-tags, image-dired-gallery-generate): Use it.
2420         (image-dired-gallery-generate): Use insert-file-contents.
2422         * time.el (display-time-world-list, display-time-world-display):
2423         * time-stamp.el (time-stamp-string):
2424         * vc/add-log.el (add-change-log-entry): Use setenv instead of
2425         set-time-zone-rule (Bug#7337).
2427 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
2429         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2430         (epg-error-to-string, epg-errors-to-string): New function.
2431         (epg-wait-for-completion): Reverse errors list.
2432         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2433         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2434         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2435         (epg-sign-keys, epg-generate-key-from-file)
2436         (epg-generate-key-from-string): Format errors by using
2437         epg-errors-to-string (bug#9255).
2438         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2440 2011-08-07  Juri Linkov  <juri@jurta.org>
2442         * faces.el (list-faces-display): Remove extra angle bracket
2443         from `help-mode-map'.
2445         * info.el (Info-history-toc-nodes): Doc fix.
2447         * longlines.el (longlines-mode): Doc fix.
2449 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2451         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2452         of statements and in a few more cases (bug#9183).
2454         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2455         New functions.
2456         (cl-transform-lambda): Use them (bug#9239).
2458 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
2460         * window.el (display-buffer-same-window)
2461         (display-buffer-same-frame, display-buffer-other-window)
2462         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2463         (pop-to-buffer-other-window)
2464         (pop-to-buffer-same-frame-other-window)
2465         (pop-to-buffer-other-frame): Make them defuns.
2466         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2468 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2470         * subr.el (make-composed-keymap): Move from C.  Change calling
2471         convention, and improve docstring to bring attention to a subtle point.
2472         * minibuffer.el (completing-read-default): Adjust accordingly.
2474 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
2476         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2477         (tramp-open-shell): Use `tramp-shell-quote-argument'.
2479         * net/trampver.el: Update release number.
2481 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2483         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2484         "in" (bug#9190).
2486 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2488         * mail/sendmail.el (sendmail-query-once): Restore the current
2489         buffer after querying (bug#9074).
2491         * dired.el (dired-flagged): Use different faces for marked and
2492         flagged files (bug#6117).
2494         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2495         (bug#4433).
2497         * ido.el (ido-mode): Switch off the message if called
2498         non-interactively.
2500         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2501         before 587, since it appears that that's more likely to work for
2502         more people.
2504         * cus-edit.el (custom-file): When running under emacs -q, always
2505         refuse to save the customisations, even if the .emacs file doesn't
2506         exist.
2508         * info.el: Remove the `Info-beginning-of-buffer' function
2509         (bug#8325).
2511         * net/network-stream.el (network-stream-open-starttls):
2512         Use `starttls-available-p' to see whether starttls.el can be used.
2514 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
2516         * window.el (display-buffer-in-window): Don't set dedicated status
2517         of window here (Bug#9215).
2518         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2519         (display-buffer-pop-up-side-window)
2520         (display-buffer-in-side-window): Set dedicated status of window here.
2522 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2524         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2525         before binding generated-autoload-file.
2527 2011-08-01  Deniz Dogan  <deniz@dogan.se>
2529         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2531 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
2533         Sync with Tramp 2.2.2.
2535         * net/trampver.el: Update release number.
2537 2011-07-30  Juri Linkov  <juri@jurta.org>
2539         * dired-aux.el (dired-touch-initial): Remove function.
2540         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2541         current time, and `default' to the last modification time of the
2542         current marked file (bug#6887).
2544 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
2546         * simple.el (goto-line): Use string-to-number to provide a
2547         numeric argument to read-number (bug#9163).
2549 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
2551         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2552         connection process, it could be nil.
2554 2011-07-27  Leo Liu  <sdl.web@gmail.com>
2556         Simplify url handling in rcirc-mode.
2558         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2559         (rcirc-browse-url-at-mouse): Remove.
2560         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2562 2011-07-26  Alan Mackenzie  <acm@muc.de>
2564         Fontify bitfield declarations properly.
2566         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2567         (c-symbol-chars): Now exported as a lang variable.
2568         (c-not-primitive-type-keywords): New lang variable.
2570         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2571         QT keyword "more" to prevent "more slots: ...." being spuriously
2572         parsed as a bitfield declaraion.
2574         * progmodes/cc-engine.el (c-beginning-of-statement-1):
2575         Refactor and enhance to handle bitfield declarations.
2576         (c-punctuation-in): New function.
2577         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2578         declarations properly.
2580 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
2582         * calendar/icalendar.el (icalendar--all-events): Take care of
2583         multiple vcalendars in a single file.
2584         (icalendar--convert-float-to-ical): Checkdoc fixes.
2586 2011-07-25  Deniz Dogan  <deniz@dogan.se>
2588         * image.el (insert-image): Clarifying docstring.
2590 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
2592         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2593         `tramp-send-command-and-check' if there is no error.
2594         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2596 2011-07-22  Alan Mackenzie  <acm@muc.de>
2598         Prevent cc-langs.elc being loaded at run time.
2600         * progmodes/cc-mode.el: Remove two autoload forms which loaded
2601         cc-langs.
2603         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
2604         "(require 'cc-langs)".  Quote a form so it will evaluate at
2605         (cc-mode's) compilation time.
2607 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
2609         * net/tramp.el (tramp-file-name-handler): Avoid recursive
2610         loading.  (Bug#9114)
2612 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
2614         * window.el (display-buffer-pop-up-window)
2615         (display-buffer-pop-up-side-window)
2616         (display-buffer-in-side-window): Call display-buffer-set-height
2617         and display-buffer-set-width after setting the new window's
2618         buffer so `fit-window-to-buffer' and friends work on the right buffer.
2620 2011-07-20  Sam Steingold  <sds@gnu.org>
2622         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2623         (etags-tags-included-tables): Call `convert-standard-filename' on
2624         the file names contained in TAGS so that windows Emacs can handle
2625         TAGS files created by cygwin ctags.
2627 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2629         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2630         which apparently didn't work.
2632 2011-07-19  Roland Winkler  <winkler@gnu.org>
2634         * proced.el (proced-send-signal): For *Marked Processes* buffer
2635         put point at beginning of buffer.
2637 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
2639         * proced.el (proced-format): Make header lines align with the text
2640         (bug#1779).
2642 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2644         * view.el (view-buffer): Allow running in `special' modes if we're
2645         visiting a file (bug#8615).
2647 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
2649         * window.el (display-buffer-alist-of-strings-p)
2650         (display-buffer-alist-set-1, display-buffer-alist-set-2):
2651         New functions.
2652         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2653         more accurately.
2655 2011-07-18  Alan Mackenzie  <acm@muc.de>
2657         Fontify declarators properly when, e.g., a jit-lock chunk begins
2658         inside a declaration.
2660         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2662         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2663         New function.
2664         (c-complex-decl-matchers): Insert reference to
2665         c-font-lock-enclosing-decls.
2667         * progmodes/cc-engine.el (c-backward-single-comment):
2668         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2669         to nil around calls to (forward-comment -1).
2671 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2673         * image.el (put-image): Doc typo fix.
2675         * progmodes/etags.el (tags-search): Doc typo fix.
2677         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2678         password if we get errors 550 to 554.
2680 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2682         * net/gnutls.el (gnutls-log-level): Remove.
2684         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2685         indentation character (bug#6380).
2687         * files.el (buffer-offer-save): Made permanently local (bug#6241).
2689         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2690         to clarify what the problem is (bug#4291).
2692         * simple.el (current-kill): Clarify what
2693         `interprogram-paste-function' does (bug#7500).
2694         (auto-fill-mode): Document `auto-fill-function' in relation to
2695         `auto-fill-mode' (bug#2470).
2697 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
2699         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2700         method if slot is read-only (bug#9035).
2702 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
2704         * frame.el (select-frame-set-input-focus): New argument NORECORD.
2705         * window.el (pop-to-buffer): Select window used even if it was
2706         selected before, see discussion of (Bug#8615), (Bug#6954).
2707         Pass argument NORECORD on to select-frame-set-input-focus.
2709 2011-07-15  Glenn Morris  <rgm@gnu.org>
2711         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
2712         Respect help-form.
2714 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
2716         * net/gnutls.el (gnutls-min-prime-bits): New variable.
2717         (gnutls-negotiate): Use it.
2719 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2721         * net/gnutls.el (gnutls-negotiate):
2722         Upcase `gnutls-algorithm-priority'.
2724 2011-07-15  Glenn Morris  <rgm@gnu.org>
2726         * jka-compr.el (jka-compr-verbose): Move from here...
2727         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
2728         Add missing :version tag.
2729         * info.el: No need to require jka-compr when compiling.
2731 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2733         * net/gnutls.el (gnutls-algorithm-priority): New variable.
2734         (gnutls-negotiate): Use it.
2736         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2738         * info.el (Info-beginning-of-buffer): New command.
2739         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2740         announcing `b' as the key (bug#8325).
2741         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
2743         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2745         * international/mule-cmds.el
2746         (describe-specified-language-support): Make the error message
2747         clearer (bug#8905).
2749         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2751         * isearch.el (isearch-barrier): Add a doc string, since it's
2752         mentioned in a function doc string (bug#8678).
2754 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
2756         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2757         buffer argument (Bug#9083) and self-identifying label argument.
2759 2011-07-15  Glenn Morris  <rgm@gnu.org>
2761         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
2763 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2765         * man.el (Man-fontify-manpage): Fix message when formatting the
2766         man page (bug#7929).
2768 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
2770         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2771         argument LRM; if non-nil, append an invisible LRM character to the
2772         buffer name.
2773         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2774         last argument non-nil, when formatting buffer names.
2775         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2776         paragraph direction.
2778 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2780         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2781         the man page name (bug#7929).
2783         * image.el (put-image): Mention the `put-image' overlay property
2784         (bug#7834).
2786         * scroll-bar.el (set-scroll-bar-mode): Mention that
2787         `scroll-bar-mode' lists the values (bug#7772).
2789         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2790         command (bug#7729).
2792         * rect.el (apply-on-rectangle): Return the point after the last
2793         operation.
2794         (string-rectangle): Go to the point after the last operation
2795         (bug#7522).
2797         * printing.el (pr-toggle-region): Clarify the documentation
2798         slightly (bug#7493).
2800         * time.el (display-time-update):
2801         Allow `display-time-mail-function' to return nil (bug#7158).
2802         Fix suggested by Detlev Zundel.
2804         * vc/diff.el (diff): Clarify the order the file names are read
2805         (bug#7111).
2807         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2808         the doc string (bug#7015).
2810         * font-lock.el (font-lock-maximum-decoration): Mention what
2811         numeric levels mean (bug#6935).
2813         * startup.el (initial-buffer-choice): Don't mention the `none'
2814         selection, which is against policy.
2816 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
2818         * window.el (display-buffer-normalize-special):
2819         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
2821 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
2823         * subr.el (version<, version<=, version=): Mention "-CVS" and
2824         "-12345" alpha version numbers.
2826 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
2828         * bindings.el: Add advertised binding for set-mark-command
2829         (Bug#5772).
2831 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
2833         * bindings.el (mode-line-other-buffer):
2834         * bookmark.el (bookmark-bmenu-2-window):
2835         * bs.el (bs-cycle-next, bs-cycle-previous):
2836         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2837         switch-to-buffer.
2839         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2840         Delete.
2842 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
2844         * follow.el (follow-debug-message, follow-redisplay):
2845         * jka-cmpr-hook.el (with-auto-compression-mode):
2846         Fix typos in docstrings.
2848 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2850         * subr.el (with-silent-modifications): Clarify somewhat what the
2851         macro inhibits (bug#6525).
2853         * simple.el (eval-expression): Note what it does if called
2854         interactively (bug#6495).
2856 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
2858         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2859         Use pop-to-buffer buffer-or-name if it is nil.
2861         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2862         Remove switch-to-buffer.
2864 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2866         * files.el (make-directory): Clarify that an error will be raised
2867         if there's an error (bug#6397).
2869         * startup.el (initial-buffer-choice): Add `none' as a choice
2870         (bug#6234).
2872         * subr.el (add-hook): Clarify section about buffer-local hooks
2873         (bug#6218).
2875         * dired.el (dired-flagged): Clarify doc string (bug#6117).
2877 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
2879         * tabify.el (untabify): Preserve the current column so that point
2880         doesn't move (bug#6032).
2882 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2884         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2885         Rewrite to avoid awkward possessive "s" (bug#5986).
2887 2011-07-13  Glenn Morris  <rgm@gnu.org>
2889         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
2890         (dired-insert-directory): Give a message the first time
2891         if ls is found not to support --dired.
2893 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2895         * simple.el (toggle-truncate-lines): Clarify what is toggled
2896         (bug#5580).  Text by Drew Adams.
2898 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
2900         * simple.el (blink-matching-open): Make the error message from the
2901         last change less verbose.
2903 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
2905         * font-lock.el (font-lock-comment-face): Use the high contrast
2906         "yellow" color for font-lock-comment-face on low color terminals
2907         using a dark background color (bug#4221).
2909 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2911         * dired.el (dired-insert-set-properties): Make the doc string
2912         reflect what it does now (bug#5325).
2914         * simple.el (blink-matching-open): Say that we were unable to find
2915         the match within the limit, if we're limited (bug#5122).
2917         * international/mule-cmds.el (prefer-coding-system): Add an
2918         example (bug#4869).
2920         * progmodes/etags.el (tags-search): Document `file-list-form'
2921         (bug#4731).
2923 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
2925         * net/browse-url.el (browse-url-default-browser)
2926         (browse-url-browser-function): Make the default browser choice a
2927         bit more logical (bug#4300).  Also clean up the doc string.
2929 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
2931         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2932         binary endings (bug#4440).
2934 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2936         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2937         which can be pretty annoying (bug#8971).
2939         * jka-compr.el (jka-compr-verbose): New variable, and use
2940         throughout (bug#8971).
2942         * info.el (Info-find-file): Fall back on the installation
2943         directory if we can't find the info node anywhere else.
2945 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
2947         * vc/vc.el (vc-revert-file):
2948         Don't set file time-stamp in the past.  (Bug#5181)
2950 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2952         * files.el (after-find-file): Give a better error message when
2953         trying to find a symlink that points to a file that doesn't exist
2954         (bug#4398).
2956         * progmodes/cc-vars.el: Remove (probably) misleading comment
2957         (bug#4396).
2959 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
2961         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2963 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
2965         * mouse-sel.el: Hack restoring functionality, while keeping
2966         compatibility with 2010-07-03 changes to mouse selection.
2967         (mouse-sel-primary-overlay): New var.
2968         (mouse-sel-selection-alist): Use it.
2969         (mouse-sel-mode): Doc fix; remove points that are default features
2970         of mouse.el.
2972 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
2974         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2975         Fix previous fix (bug#2490).
2977 2011-07-12  Roland Winkler  <winkler@gnu.org>
2979         * textmodes/bibtex.el (bibtex-initialize):
2980         Use pop-to-buffer-same-window.
2981         (bibtex-search-entries): Fix interactive call.
2983 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2985         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2986         Fontise bytecomp Error lines more correctly (bug#2490).
2987         Fix suggested by Johan BockgÃ¥rd.
2989         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2991         * dired-x.el (dired-guess-default): Use `delete-dups'.
2993 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
2995         * dired.el (dired-mark-prompt):
2996         * dired-aux.el (dired-read-shell-command): Doc fix.
2998 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3000         * mail/sendmail.el (sendmail-query-once):
3001         Use `customize-save-variable' unconditionally, now that it works under
3002         emacs -Q.
3004         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3006         * cus-edit.el (custom-file): Take an optional no-error variable.
3007         (customize-save-variable): Set the variable, and give a warning if
3008         running under "emacs -q".
3010 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
3012         * loadhist.el (unload-feature-special-hooks):
3013         Add `auto-coding-functions', `fill-nobreak-predicate' and
3014         `find-directory-functions' (bug#5327).
3016 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3018         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3020         * cus-edit.el (custom-guess-name-alist): -alist variables should
3021         use the `alist' type (bug#3120).  Suggested by Drew Adams.
3023         * printing.el: Add documentation to all the `pr-toggle-' commands.
3025 2011-07-11  Leo  <sdl.web@gmail.com>  (tiny change)
3027         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3028         backends where it makes sense (bug#2623).
3030 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3032         * dired-x.el (dired-guess-default): Remove duplicate shell command
3033         entries (bug#2028).
3034         (dired-guess-default): Fix grammar in doc string (bug#2028).
3035         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
3037         * subr.el (remove-duplicates): New conveniency function.
3039 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3041         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3042         (bug#1526).
3044 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
3046         * window.el (display-buffer-normalize-default): Don't invert
3047         meaning of even-window-heights.  Reported by Eli Zaretskii
3048         <eliz@gnu.org>.
3050 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
3052         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3054 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
3056         * window.el (display-buffer): Fix arguments to
3057         display-buffer-reuse-window in last change.
3059         * faces.el (link): Use a less saturated blue on light backgrounds.
3061         * startup.el (fancy-startup-text, fancy-about-text)
3062         (fancy-startup-tail): Use font-lock faces, for background safety.
3064 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
3066         * emulation/viper-cmd.el (viper-change-state-to-vi):
3067         Limit triggering of abbrev expansion (Bug#9038).
3069 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
3071         * window.el (display-buffer-default-specifiers): Remove.
3072         (display-buffer-macro-specifiers): Remove default specifiers.
3073         (display-buffer-alist): Default to nil.
3074         (display-buffer-reuse-window): New optional argument other-window.
3075         (display-buffer-pop-up-window): Allow splitting internal
3076         windows.  Check whether a live window was created.
3077         (display-buffer-other-window-means-other-frame)
3078         (display-buffer-normalize-arguments): Rename to
3079         display-buffer-normalize-argument and rewrite.  Set the
3080         other-window specifier.
3081         (display-buffer-normalize-special): New function.
3082         (display-buffer-normalize-options): Rename to
3083         display-buffer-normalize-default and rewrite.
3084         (display-buffer-normalize-options-inhibit): Remove.
3085         (display-buffer-normalize-specifiers): Rewrite.
3086         (display-buffer): Process other-window specifier and call
3087         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
3088         more faithfully.
3089         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
3090         (display-buffer-alist-set): Don't handle 'unset default values.
3091         (display-buffer-in-window, display-buffer-alist-set):
3092         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
3093         <tassilo@member.fsf.org>.
3095 2011-07-09  Leo Liu  <sdl.web@gmail.com>
3097         * register.el (insert-register): Restore accidental change on
3098         2011-06-26.  (Bug#9028)
3100 2011-07-09  Glenn Morris  <rgm@gnu.org>
3102         * subr.el (remq): Handle the empty list.  (Bug#9024)
3104 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
3106         * mail/sendmail.el (send-mail-function): No longer delay custom
3107         initialization.
3108         * custom.el (custom-initialize-delay): Doc fix.
3110 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3112         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3114 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
3116         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3117         human-friendly prompt.
3119 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3121         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3122         provided by a particular plugin.
3124 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3126         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3127         save customizations (with "emacs -Q"), just set the variable
3128         instead of erroring out.
3130         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3132 2011-07-08  Juri Linkov  <juri@jurta.org>
3134         * arc-mode.el (archive-zip-expunge, archive-zip-update)
3135         (archive-zip-update-case): Use 7z if found by `executable-find'.
3136         The order of searching the available programs is the same as in
3137         `archive-zip-extract' (bug#8968).
3139 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
3141         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3142         (menu-bar-options-menu): Tweak descriptions.
3144 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3146         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3147         menu items into verb phrases (bug#1421).  Also refill to fit under
3148         80 columns.
3150 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
3152         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3153         (Info-read-node-name): Doc fix (Bug#1084).
3155         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3156         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3157         (end-of-sexp, beginning-of-sexp)
3158         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3159         (forward-symbol, forward-same-syntax, word-at-point)
3160         (sentence-at-point): Doc fix (Bug#1144).
3162 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3164         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3165         should cover it (bug#1281).
3167         * cus-edit.el (custom-show): Mark as obsolete.
3169         * net/network-stream.el (network-stream-open-starttls): If gnutls
3170         negotiation fails, then possibly try again with a non-encrypted
3171         connection (bug#9017).
3173         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3174         be used.
3176 2011-07-07  Richard Stallman  <rms@gnu.org>
3178         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3179         property, and handle its changed format.
3180         Look for the correct line number.
3181         Use file's line contents (but not past first =) to find
3182         correct line in message.
3184 2011-07-07  Kenichi Handa  <handa@m17n.org>
3186         * international/characters.el (build-unicode-category-table):
3187         Delete it.
3188         (unicode-category-table): Set it by unicode-property-table-internal.
3190         * international/mule-cmds.el (char-code-property-alist): Move to
3191         to src/chartab.c.
3192         (get-char-code-property): Call unicode-property-table-internal to
3193         load a file.  Call get-unicode-property-internal where necessary.
3194         (put-char-code-property): Call unicode-property-table-internal to
3195         load a file.  Call put-unicode-property-internal where necessary.
3196         put-unicode-property-internal where necessary.
3197         (char-code-property-description):
3198         Call unicode-property-table-internal to load a file.
3200         * international/charprop.el:
3201         * international/uni-bidi.el:
3202         * international/uni-category.el:
3203         * international/uni-combining.el:
3204         * international/uni-comment.el:
3205         * international/uni-decimal.el:
3206         * international/uni-decomposition.el:
3207         * international/uni-digit.el:
3208         * international/uni-lowercase.el:
3209         * international/uni-mirrored.el:
3210         * international/uni-name.el:
3211         * international/uni-numeric.el:
3212         * international/uni-old-name.el:
3213         * international/uni-titlecase.el:
3214         * international/uni-uppercase.el: Regenerate.
3216         * loadup.el: Load international/charprop.el before
3217         international/characters.
3219 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
3221         * window.el (next-buffer, previous-buffer): Signal an error if
3222         called from a minibuffer window.
3224         * bindings.el: Revert 2011-07-04 change.
3226 2011-07-06  Richard Stallman  <rms@gnu.org>
3228         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3229         (rmail-mime-insert-bulk, rmail-mime-insert-text):
3230         Treat markers like ints.
3231         (rmail-mime-entity): Doc fix.
3233 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3235         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3236         defcustom again for backwards compatibility.
3238         * simple.el (shell-command-on-region): Fill.
3240         * dired-aux.el (dired-kill-line): Add a doc string.
3242         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3243         to "\\sw\\|\\s_" (bug#358).
3245         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3246         (dired-unmark-backward): Ditto.
3247         (dired-flag-backup-files): Ditto.
3249         * dired-x.el (dired-mark-sexp): Ditto.
3251 2011-07-06  Richard Stallman  <rms@gnu.org>
3253         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3254         (rmail-mime-entity): New arg TRUNCATED.
3255         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3256         New functions.
3257         (rmail-mime-save): Warn if entity is truncated.
3258         (rmail-mime-toggle-hidden): Likewise, for showing.
3259         (rmail-mime-process-multipart): Record when an entity is truncated.
3261         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3262         if ENTITY is a string.
3264 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3266         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
3267         of faces when `M-C-x'-ing their definitions (bug#8378).
3268         Also clean up the code slightly.
3270         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3271         because that makes the colours go away.
3273         * mail/sendmail.el (send-mail-function): Change the default to
3274         `sendmail-query-once'.
3275         (sendmail-query-once): Add an autoload cookie.
3277         * net/network-stream.el (network-stream-open-starttls): Try using
3278         a plain connection even if the server offered STARTTLS, and we
3279         kinda wanted to use it, if Emacs doesn't have any STARTTLS
3280         capability.  This should make smtpmail.el work in slightly more
3281         configurations.
3283 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
3285         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3286         New defun.
3287         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3289 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
3291         * progmodes/sql.el: Version 3.0
3292         (sql-product-alist): Add product :completion-object,
3293         :completion-column, and :statement attributes.
3294         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
3295         (sql-mode-syntax-table): Mark all punctuation.
3296         (sql-font-lock-keywords-builder): Temporarily remove fallback on
3297         ansi keywords.
3298         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
3299         (sql-mode-oracle-font-lock-keywords): Improve.
3300         (sql-oracle-show-reserved-words): New function for development.
3301         (sql-product-font-lock): Simplify for source code buffers.
3302         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3303         New functions.
3304         (sql-highlight-product): Set product specific syntax table.
3305         (sql-mode-map): Add statement movement functions.
3306         (sql-ansi-statement-starters, sql-oracle-statement-starters):
3307         New variable.
3308         (sql-statement-regexp, sql-beginning-of-statement)
3309         (sql-end-of-statement, sql-signum): New functions.
3310         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
3311         (sql-show-sqli-buffer): Bug fix.
3312         (sql-interactive-mode): Store connection data as buffer local.
3313         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
3314         with sql-interactive-mode.
3315         (sql-save-connection): Save buffer local settings.
3316         (sql-connection-menu-filter): Change menu entry name.
3317         (sql-product-interactive): Bug fix.
3318         (sql-preoutput-hold): New variable.
3319         (sql-interactive-remove-continuation-prompt): Bug fixes.
3320         (sql-debug-redirect): New variable.
3321         (sql-str-literal): New function.
3322         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
3323         Redesign.
3324         (sql-oracle-save-settings, sql-oracle-restore-settings)
3325         (sql-oracle-list-all, sql-oracle-list-table): New functions.
3326         (sql-completion-object, sql-completion-column)
3327         (sql-completion-sqlbuf): New variables.
3328         (sql-build-completions-1, sql-build-completions)
3329         (sql-try-completion): New functions.
3330         (sql-read-table-name): Use them.
3331         (sql-contains-names): New buffer local variable.
3332         (sql-list-all, sql-list-table): Use it.
3333         (sql-oracle-completion-types): New variable.
3334         (sql-oracle-completion-object, sql-sqlite-completion-object)
3335         (sql-postgres-completion-object): New functions.
3337 2011-07-06  Glenn Morris  <rgm@gnu.org>
3339         * window.el (pop-to-buffer): Doc fix.
3341 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
3343         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3345 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
3347         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3349         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
3351 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
3353         * button.el (button): Inherit from link face.  Suggested by Dan
3354         Nicolaescu.
3356 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3358         * progmodes/gdb-mi.el: Fit in 80 columns.
3359         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3360         switch-to-buffer.
3362         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3363         if imenu is simply not configured (bug#8941).
3365 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
3367         * allout.el (allout-post-undo-hook): New allout outline-change
3368         event hook to signal undo activity.
3369         (allout-post-command-business): Run allout-post-undo-hook if an
3370         undo just occurred.
3371         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3372         * allout-widgets.el (allout-widgets-after-undo-function):
3373         Ensure the integrity of the current item's decoration after it has been
3374         in the vicinity of an undo.
3375         (allout-widgets-mode): Include allout-widgets-after-undo-function
3376         on the new allout-post-undo-hook.
3378 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3380         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3381         Let define-derived-mode define it.
3382         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3383         cycles of abbrev-table inheritance (bug#8998).
3385 2011-07-05  Roland Winkler  <winkler@gnu.org>
3387         * textmodes/bibtex.el: Add support for biblatex.
3388         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3389         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3390         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3391         (bibtex-entry-alist, bibtex-field-alist): New variables.
3392         (bibtex-entry-field-alist): Obsolete alias for
3393         bibtex-BibTeX-entry-alist.
3394         (bibtex-entry-alist, bibtex-field-alist): New widgets.
3395         (bibtex-set-dialect): New command.
3396         (bibtex-entry-type, bibtex-entry-head)
3397         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3398         Bind via bibtex-set-dialect.
3399         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3400         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3401         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3402         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3403         Define via bibtex-set-dialect.
3404         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3405         Obey bibtex-no-opt-remove-re.
3406         (bibtex-vec-push, bibtex-vec-incr): New functions.
3407         (bibtex-format-entry, bibtex-field-list)
3408         (bibtex-print-help-message, bibtex-validate)
3409         (bibtex-search-entries): Use new format of bibtex-entry-alist.
3411 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3413         * progmodes/compile.el (compilation-goto-locus):
3414         * net/tramp-cmds.el (tramp-append-tramp-buffers):
3415         * bs.el (bs-cycle-next, bs-cycle-previous):
3416         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3417         * bindings.el (mode-line-other-buffer):
3418         * autoinsert.el (auto-insert):
3419         * arc-mode.el (archive-extract):
3420         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3422 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
3424         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3425         Fix check of `emacs-lock-unlockable-modes'.
3426         Coerce true values of `emacs-lock--try-unlocking' to t.
3428 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
3430         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3431         * emacs-lock.el: New file.
3433 2011-07-05  Julien Danjou  <julien@danjou.info>
3435         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3436         than `boundp' to check if face is set.
3438 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
3440         * register.el (registerv-make):
3441         * window.el (window-min-height): Fix typos in docstrings.
3443 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
3445         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3446         Update doc string.
3448 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
3450         * server.el (server-execute): Catch quit and call
3451         `server-return-error' to pass the error back to emacsclient and
3452         close the connection (bug#8942).
3454 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
3456         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3457         insecure exception for current topic.  Also note that auto-saves
3458         are handled differently.
3460         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3461         State variables for tracking auto-save inhibition situation.
3463         (allout-write-contents-hook-handler): Rename from
3464         'allout-write-file-hook-handler', and describe how it depends on
3465         write-contents-functions sensitivity to non-nil value to prevent
3466         file write.
3468         (allout-auto-save-hook-handler): Remove.  auto-save does not check
3469         this in individual buffers, only in the starting buffer, so this
3470         is not the right way for us to inhibit auto-save in a buffer
3471         according to its condition.
3473         (allout-mode): Use new allout-write-contents-hook-handler, and
3474         only with write-contents-functions.  Remove auto-save provisions -
3475         they're implemented elsewhere.
3477         (allout-before-change-handler): If undo is in progress, note that
3478         for attention of allout-post-command-business.
3480         (allout-post-command-business): If the command we're following was
3481         an undo, check for change in the status of encrypted items and
3482         adjust auto-save inhibitions accordingly.
3484         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3485         according to whether there are or aren't any plain-text topics
3486         pending encryption.
3488         (allout-inhibit-auto-save-info-for-decryption):
3489         Adjust buffer-saved-size and some allout state to inhibit auto-saves if
3490         there are plain-text topics pending encryption.
3492         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3493         buffer-saved-size and some allout state to not inhibit auto-saves
3494         if there are no longer any plain-text topics pending encryption.
3496         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3497         No longer provide for exemption of the current topic.
3499 2011-07-04  Juri Linkov  <juri@jurta.org>
3501         Add 7z operations to delete and save changed members (bug#8968).
3502         * arc-mode.el (archive-7z-expunge, archive-7z-update):
3503         New defcustoms.
3504         (archive-7z-write-file-member): New function.
3505         (archive-7z-summarize): Fix the number of dashes in the
3506         listing output.
3508 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3510         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3511         (bug#8958).
3513 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
3515         * bindings.el: Ignore next-buffer and previous-buffer in
3516         minibuffer-local-map.
3518         * font-lock.el (font-lock-builtin-face): Change light background
3519         color to dark slate blue (Bug#6693).
3521 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
3523         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3525 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3527         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3528         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3529         Add switch-to-buffer.
3531 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3533         * isearch.el (isearch-search-fun-function): Clarify further the
3534         meaning of the function returned.
3536 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
3538         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3540         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3541         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3542         Use it.
3543         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
3544         `tramp-default-remote-path' does not exist.
3545         (tramp-send-command-and-read): New optional argument NOERROR.
3546         (tramp-open-connection-setup-interactive-shell)
3547         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3548         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3549         (tramp-process-sentinel): Flush also process' connection property.
3550         (tramp-sh-handle-start-file-process): Do not set process
3551         sentinel.  It is done now ...
3552         (tramp-maybe-open-connection): ... here.  (Bug#8929)
3554 2011-07-04  MON KEY  <monkey@sandpframing.com>
3556         * play/animate.el (animate-string): Doc fixes and allow changing
3557         the buffer name (bug#5417).
3559 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3561         * play/animate.el (animation-buffer-name): Rename from *animate*.
3563 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
3565         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3566         This is simpler and helps future-proof the code.
3567         (timer-until): Use time-subtract and float-time.
3568         (timer--time-less-p): Use time-less-p.
3570 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
3572         * type-break.el (timep): Use the value of `float-time' to avoid a
3573         byte-compiler warning.
3575         * server.el (server-eval-and-print): Return any result, even nil.
3577 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
3579         * type-break.el: Accept time formats that the builtins accept.
3580         (timep, type-break-time-difference): Accept any format that
3581         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3582         This is simpler and helps future-proof the code.
3583         (type-break-time-difference): Round rather than ignoring
3584         subseconds components.
3586 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3588         * info.el (Info-apropos-matches): Make non-interactive, since it
3589         doesn't seem to do anything useful as a command (bug#8829).
3591 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
3593         * frame.el (frame-background-mode, frame-set-background-mode):
3594         Move from faces.el.
3595         (frame-default-terminal-background): New function.
3597         * custom.el (custom-push-theme): Don't record faces in `changed'
3598         theme; this doesn't work correctly for per-frame face settings.
3599         (disable-theme): Use face-set-after-frame-default to reset faces.
3600         (custom--frame-color-default): New function.
3602 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3604         * dired.el (dired-flagging-regexp): Remove unused variable
3605         (bug#8769).
3607 2011-03-29  Kevin Ryde  <user42@zip.com.au>
3609         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3610         `perl-Test2' extend to match possible "fail #N" rep count
3611         (bug#8377).
3613 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3615         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3616         `smtpmail-via-smtp' now returns the error instead of nil.
3618         * isearch.el (isearch-search-fun-function): Clarify the doc string
3619         (bug#8101).
3621 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
3623         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3624         unnecessary spaces (bug#8987).
3626 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3628         * net/network-stream.el (open-network-stream): Use the
3629         :end-of-capability command thoughout.
3631 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
3633         * net/network-stream.el (open-network-stream): Add the
3634         :end-of-capability command parameter, used by pop3.el.
3636 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3638         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3640         * fringe.el (fringe-query-style): Remove redundant text " (type ?
3641         for list)" (bug#6475).
3643         * files.el (file-expand-wildcards): Ignore non-readable
3644         sub-directories while trying to find matches instead of signalling
3645         an error (bug#6297).
3647         * man.el (Man-reference-regexp): Allow matching possible
3648         word-wrapped references (bug#6289).
3650         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3651         for consistency with the other vc buffers (bug#6197).
3652         (vc-checkin): Ditto.
3654         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3656         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3658 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3660         * custom.el (defcustom): Clarify that :set is only used in the
3661         Customize user interface (bug#6089).
3663         * progmodes/flymake.el (flymake-mode): If the buffer isn't
3664         associated with a file, refuse to run instead of erroring out
3665         (bug#6084).
3667         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3668         the doc string, since it appears that using `fill-column' always
3669         controls the width (bug#7845).
3671         * simple.el (shell-command-on-region): Say where the error output
3672         went if `shell-command-default-error-buffer' is set (bug#6857).
3674 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
3676         * allout.el (allout-yank-processing): Adjust cursor position for
3677         backwards-deleted space.
3679         (allout-rebullet-heading): Register changes with
3680         allout-exposure-changed-hook, so the modified topic is properly
3681         decorated.
3683 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3685         * minibuffer.el (completion-in-region): Document PREDICATE
3686         (bug#7136).
3688         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3689         of keyword/argument pairs (bug#6904).
3691         * replace.el (multi-occur):
3692         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
3694 2011-07-02  Drew Adams  <drew.adams@oracle.com>
3696         * dired.el (dired-mark-if): Make the message about whether it's
3697         marking or unmarking clearer (bug#8523).
3699 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3701         * disp-table.el (display-table-print-array): New function.
3702         (describe-display-table): Use it to print the vectors more pretty
3703         (Bug#8859).
3705 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
3707         * window.el (window-state-get-1): Don't assign clone numbers.
3708         Add clone-of item to list of window parameters.
3709         (window-state-put-2): Don't process clone numbers.
3710         (display-buffer-alist): Fix doc-string.
3712 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3714         * subr.el (remq): Don't allocate if it's not needed.
3715         (keymap--menu-item-binding, keymap--menu-item-with-binding)
3716         (keymap--merge-bindings): New functions.
3717         (keymap-canonicalize): Use them to refine the canonicalization.
3718         * minibuffer.el (minibuffer-local-completion-map)
3719         (minibuffer-local-must-match-map): Move initialization from C.
3720         (minibuffer-local-filename-completion-map): Move initialization from C;
3721         don't inherit from anything here.
3722         (minibuffer-local-filename-must-match-map): Make obsolete.
3723         (completing-read-default): Use make-composed-keymap to combine
3724         minibuffer-local-filename-completion-map with either
3725         minibuffer-local-must-match-map or
3726         minibuffer-local-filename-completion-map.
3728 2011-07-01  Glenn Morris  <rgm@gnu.org>
3730         * type-break.el (type-break-time-sum): Use dolist.
3732         * textmodes/flyspell.el (flyspell-word-search-backward):
3733         Replace CL function.
3735 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3737         * mouse.el (mouse--strip-first-event): New function.
3738         (function-key-map): Use it to map fringe clicks to normal clicks
3739         by default.
3741         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3742         (vc-bzr-revision-completion-table): Add support for annotate and date.
3744         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3745         inherit from parent.
3747 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3749         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
3750         (dired-show-file-type): Doc fixup (bug#8818).
3752         * dired.el (dired-mode): Fix up the doc string as suggested by
3753         Drew Adams (bug#8817).
3755         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3756         cookie, since the manual says that it should be possible to add
3757         this function to `find-file-hook' (bug#8709).
3759 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
3761         * progmodes/cfengine.el: Moved all cfengine3.el functionality
3762         here.  Noted Ted Zlatanov as the maintainer.
3763         (cfengine-common-settings, cfengine-common-syntax): New functions
3764         to set up common things between `cfengine-mode' and
3765         `cfengine3-mode'.
3766         (cfengine3-mode): New mode.
3767         (cfengine3-defuns cfengine3-defuns-regex
3768         (cfengine3-class-selector-regex cfengine3-category-regex)
3769         (cfengine3-vartypes cfengine3-font-lock-keywords)
3770         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
3771         (cfengine3-indent-line): Add from cfengine3.el.
3773 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
3775         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3777         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3779 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
3781         * window.el (same-window-buffer-names, same-window-regexps)
3782         (same-window-p, special-display-frame-alist)
3783         (special-display-popup-frame, special-display-function)
3784         (special-display-buffer-names, special-display-regexps)
3785         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3786         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3787         (split-window-preferred-function, split-height-threshold)
3788         (split-width-threshold, even-window-heights)
3789         (display-buffer-mark-dedicated, window-splittable-p)
3790         (split-window-sensibly, window-safely-shrinkable-p):
3791         Un-obsolete.
3792         (display-buffer): Don't spread args with function specifier
3793         because special-display-popup-frame won't like it.
3795 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
3797         Time-stamp simplifications and fixes.
3798         These improve accuracy slightly, and future-proof the code
3799         against some potential changes to current-time format.
3801         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3802         by using time-since and float-time.
3804         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3805         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
3806         + NNN microseconds".
3808         * type-break.el (type-break-time-sum): Rewrite using time-add.
3810         * play/hanoi.el (hanoi-current-time-float): Remove.
3811         All uses replaced by float-time.
3813         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3814         This yields a more-accurate answer.
3815         (rng-time-to-float): Remove; no longer needed.
3817         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3819         * calendar/timeclock.el (timeclock-seconds-to-time):
3820         Defalias to seconds-to-time, since they're the same thing.
3822         * emacs-lisp/elp.el (elp-elapsed-time):
3823         * emacs-lisp/benchmark.el (benchmark-elapse):
3824         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3826 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3828         * window.el (bury-buffer): Don't iconify the only frame.
3829         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3830         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
3832 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
3834         * eshell/em-smart.el (eshell-smart-display-navigate-list):
3835         Add mouse-yank-primary.
3837 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
3839         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3841 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3843         * emacs-lisp/find-func.el (find-library--load-name): New fun.
3844         (find-library-name): Use it to find relative load names when provided
3845         absolute file name (bug#8803).
3847 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3849         * textmodes/flyspell.el (flyspell-word): Consider words that
3850         differ only in case as potential doublons (bug#5687).
3852         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3853         Remove two rather uninteresting debugging-like messages to make
3854         debbugs.el more silent.
3856         * comint.el (comint-password-prompt-regexp): Accept "Response" as
3857         a password-like phrase.
3859 2011-06-30  Mastake YAMATO  <yamato@redhat.com>
3861         * progmodes/cc-guess.el: New file.
3863         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
3865         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3866         derived from `c-basic-common-init'.
3868         * progmodes/cc-mode.el (top-level): Require cc-guess.
3869         (c-basic-common-init): Use `cc-choose-style-for-mode'.
3871 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
3873         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3875 2011-06-30  Alan Mackenzie  <acm@muc.de>
3877         * progmodes/cc-engine.el (c-guess-continued-construct):
3878         Correct the handling of template-args-cont, particularly for when font
3879         lock is disabled.  Name this case as "CASE G".
3881 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
3883         * allout.el (allout-yank-processing): Fix injection of extra space
3884         between bullet and non-whitespace character in first topic when
3885         pasting, ensuring that the actual spacing in the pasted topic
3886         following the bullet char is preserved.  This extra space was
3887         causing pasted encrypted topics to get a decrypted status even
3888         when the content was actually still encrypted.  Now the decryption
3889         status from before the paste is preserved.
3891         (allout-flag-region): Set all allout overlays so they evaporate
3892         when reduced to zero length (evanescent), to prevent overlay
3893         leakage.
3895 2011-06-30  Glenn Morris  <rgm@gnu.org>
3897         * w32-fns.el (w32-charset-info-alist): Declare.
3899         * find-dired.el (find-grep-options): Simplify.
3901         * term/ns-win.el (ns-set-resource): Declare.
3903         * ses.el (row, col): Declare dynamic variables honestly.
3905         * textmodes/reftex-parse.el (index-tags): Declare.
3907 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
3909         * cus-edit.el (customize-push-and-save): New function.
3911         * files.el (hack-local-variables-confirm): Use it.
3913         * custom.el (load-theme): New arg NO-CONFIRM.
3914         Use customize-push-and-save (Bug#8720).
3915         (custom-enabled-themes): Doc fix.
3917         * cus-theme.el (customize-create-theme)
3918         (custom-theme-merge-theme): Callers to load-theme changed.
3920 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3922         * thingatpt.el (thing-at-point-short-url-regexp): Require that
3923         short URLs have at least one dot in them (bug #7614).
3925         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3926         nil, because using a pty is apparently too slow (bug #895).
3928 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3930         * mail/sendmail.el (sendmail-query-once): New function.
3931         (sendmail-query-once-function): New variable.
3933 2011-06-29  Glenn Morris  <rgm@gnu.org>
3935         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3937         * ses.el (top-level): Require cl when compiling.
3938         (ses-set-localvars): Fix error statement.
3939         Call it at compile time to silence a storm of warnings.
3941 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
3943         * window.el (normalize-live-buffer): Rename to
3944         window-normalize-buffer.
3945         (normalize-live-frame): Rename to window-normalize-frame.
3946         (normalize-any-window): Rename to window-normalize-any-window.
3947         (normalize-live-window): Rename to window-normalize-live-window.
3948         (make-window-atom): Rename to window-make-atom.
3949         (window-resize-reset): Rename to window--resize-reset.
3950         (window-resize-reset-1): Rename to window--resize-reset-1.
3951         (resize-mini-window): Rename to window--resize-mini-window.
3952         (resize-subwindows-skip-p): Rename to
3953         window--resize-subwindows-skip-p.
3954         (resize-subwindows-normal): Rename to
3955         window--resize-subwindows-normal.
3956         (resize-subwindows): Rename to window--resize-subwindows.
3957         (resize-other-windows): Rename to window--resize-siblings.
3958         (resize-this-window): Rename to window--resize-this-window.
3959         (resize-root-window): Rename to window--resize-root-window.
3960         (resize-root-window-vertically): Rename to
3961         window--resize-root-window-vertically.
3962         (normalize-buffer-to-display): Rename to
3963         window-normalize-buffer-to-display.
3964         (normalize-buffer-to-switch-to): Rename to
3965         window-normalize-buffer-to-switch-to.
3966         Correspondingly update all callers of the functions listed
3967         above.
3968         (display-buffer-alist, display-buffer-normalize-arguments)
3969         (display-buffer-normalize-options, display-buffer)
3970         (display-buffer-alist-set): Use "function" instead of
3971         "fun-with-args".
3973 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
3975         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3976         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
3977         debbugs.gnu.org.  Mention acknowledgment email.
3979 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3981         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3982         buffer multibyteness, since it shouldn't matter.
3984 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
3986         * window.el (display-buffer-in-side-window): Handle dedicated
3987         windows as in display-buffer-reuse-window.
3988         (display-buffer-normalize-alist): Use value of override
3989         specifier.
3990         (display-buffer-normalize-specifiers): Use value of
3991         other-window-means-other-frame specifier.
3992         (display-buffer-alist): Rewrite some texts in widgets.
3993         (display-buffer): Spread arguments when calling function
3994         specified by fun-with-args.
3996 2011-06-28  Deniz Dogan  <deniz@dogan.se>
3998         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3999         Unnest `let'.
4001         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4002         selectors (Bug#5732).
4003         (css-proprietary-nmstart-re): Use `regexp-opt'.
4005 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
4007         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4008         (eshell-ls-date-format): New defcustom.
4009         (eshell-ls-file): Use it.
4011 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4013         * help-fns.el (describe-variable): Fix message for terminal-local vars.
4015 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
4017         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4018         (ange-ftp-make-tmp-name): New arg.
4019         (ange-ftp-file-local-copy): Use it.
4021 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
4023         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4024         no-conversion (Bug#8870).
4026 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
4028         * window.el (window-right, window-left, window-child)
4029         (window-child-count, window-last-child)
4030         (window-iso-combination-p, walk-window-tree-1)
4031         (window-atom-check-1, window-tree-1, delete-window)
4032         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4033         new naming conventions - window-vchild, window-hchild,
4034         window-next and window-prev are now called window-top-child,
4035         window-left-child, window-next-sibling and window-prev-sibling
4036         respectively.
4037         (resize-window-reset): Rename to window-resize-reset.
4038         (resize-window-reset-1): Rename to window-resize-reset-1.
4039         (resize-window): Rename to window-resize.
4040         (window-min-height, window-min-width)
4041         (resize-mini-window, resize-this-window, resize-root-window)
4042         (resize-root-window-vertically, adjust-window-trailing-edge)
4043         (enlarge-window, shrink-window, maximize-window)
4044         (minimize-window, delete-window, quit-restore-window)
4045         (split-window, balance-windows, balance-windows-area-adjust)
4046         (balance-windows-area, window-state-put-2)
4047         (display-buffer-even-window-sizes, display-buffer-set-height)
4048         (display-buffer-set-width, set-window-text-height)
4049         (fit-window-to-buffer): Rename all "resize-window" prefixed
4050         calls to use the "window-resize" prefix convention.
4051         (display-buffer-alist): Fix symbol for label specifier.
4052         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4053         corresponding specifier.
4054         Reported by Juanma Barranquero <lekktu@gmail.com>.
4056 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4058         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4059         convention.
4060         (ses-call-printer): Does not pass an empty string to formatter when the
4061         cell is empty to keep from barking printer Calc math-format-value.
4063 2011-06-27  Richard Stallman  <rms@gnu.org>
4065         * battery.el (battery-mode-line-limit): New variable.
4066         (battery-update): Handle it.
4068         * mail/rmailmm.el (rmail-mime-process-multipart):
4069         Handle truncated messages.
4071 2011-06-27  Glenn Morris  <rgm@gnu.org>
4073         * progmodes/flymake.el (flymake-err-line-patterns):
4074         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
4076 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4078         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
4079         (ses--clean-!, ses--clean-_): New functions.
4080         (ses-range): Add configurability of readout order, and conversion
4081         to Calc vector.
4083         * ses.el (ses-repair-cell-reference-all): New function.
4084         (ses-cell-symbol): Set macro as safe, so that it can be used in
4085         formulas.
4087         * ses.el: Update cycle detection algorithm.
4088         (ses-localvars): Add ses--Dijkstra-attempt-nb and
4089         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
4090         (ses-set-localvars): New function.
4091         (ses-make-cell): Add property-list as a cell element.
4092         (ses-cell-property-get-fun, ses-cell-property-get)
4093         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
4094         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4095         New functions.
4096         (ses-cell-property-set, ses-cell-property-pop)
4097         (ses-cell-property-get-handle): New macro.
4098         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4099         New aliases, used for code readability.
4100         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4101         cycle detection.
4102         (ses-self-reference-early-detection): New defcustom.
4103         (ses-formula-references): Robustify against self-refering cells.
4104         (ses-mode): Use ses-set-localvars.
4105         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4106         before lauching the update processing.
4107         (ses-initialize-Dijkstra-attempt): New function.
4108         (ses-recalculate-cell): Update for cycle detection based on
4109         Dijkstra algorithm.
4111         * ses.el: Fix commenting and indenting convention.
4113 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4115         * bs.el (bs-cycle-next): Complete last change.
4117 2011-06-27  Drew Adams  <drew.adams@oracle.com>
4119         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4121 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4123         * net/network-stream.el (network-stream-open-starttls):
4124         Don't re-get capabilities unless we've reestablished connection.
4125         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4127         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4128         to binary to possibly avoid line encoding issues on Windows (among
4129         other things).
4131 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4133         * net/network-stream.el (open-network-stream): Return an :error
4134         saying what the problem was, if possible.
4136         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4137         server.
4139         * net/network-stream.el (network-stream-open-starttls): If we
4140         wanted to use STARTTLS, and the server offered it, but we weren't
4141         able to because we had no STARTTLS support, then close the connection.
4142         (open-network-stream): Return an :error element, if present.
4144 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
4146         * hl-line.el (hl-line-sticky-flag): Doc fix.
4147         (global-hl-line-sticky-flag): New option (Bug#8323).
4148         (global-hl-line-highlight): Obey it.
4150         * vc/vc.el (vc-revert-show-diff): Default to t.
4152 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
4154         * allout-widgets.el (allout-widgets-post-command-business):
4155         Stop decorating intermediate isearch matches.  They're not being
4156         undecorated when an isearch is continued past, and isearch
4157         automatically collapses them.  This leads to "widget leaks", where
4158         decorated items accumulate in collapsed areas.  Lines with lots of
4159         hidden widgets can slow down cursor travel, substantially.
4160         Too much complicated machinery would be needed to ensure undecoration,
4161         so we're doing without this nicety.
4163         (allout-widgets-tally-string): Don't try to do a hash-table-count
4164         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
4165         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4166         *Messages* when allout-widgets-maintain-tally is t.
4168 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
4170         * window.el (display-buffer-normalize-argument): Rename to
4171         display-buffer-normalize-arguments.  Handle special meaning of
4172         LABEL argument.  Respect special-display-function when popping up
4173         a new frame.  Fix code searching for a window showing the buffer
4174         on another frame.
4175         (display-buffer-normalize-specifiers):
4176         Call display-buffer-normalize-arguments.
4177         (display-buffer-in-window): Don't undedicate the window if its
4178         buffer remains the same.
4179         Reported by Drew Adams <drew.adams@oracle.com>.
4180         (display-buffer-alist): Add choice for same-window macro
4181         specfier.
4182         (display-buffer): Mention special meaning of LABEL argument in
4183         doc-string.  Fix quoting.  Don't pop up a new frame even as
4184         fallback.
4186 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
4188         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4189         avoid deleting the current window in some cases (bug#8911).
4191 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
4193         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4194         (Bug#8934)
4196 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4198         * net/network-stream.el (network-stream-open-starttls):
4199         Use built-in TLS support if `gnutls-available-p' is true.
4200         (network-stream-open-tls): Ditto.
4202 2011-06-26  Leo Liu  <sdl.web@gmail.com>
4204         * register.el (registerv): New struct.
4205         (registerv-make): New function.
4206         (jump-to-register, describe-register-1, insert-register):
4207         Support the jump-func, print-func and insert-func slot of a registerv
4208         struct.  (Bug#8415)
4210 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
4212         * vc/vc.el (vc-revert-show-diff): New defcustom.
4213         (vc-diff-internal): New arg specifying diff buffer.
4214         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
4215         reuse an existing *vc-diff* buffer (Bug#8927).
4217         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4219 2011-06-26  Glenn Morris  <rgm@gnu.org>
4221         * progmodes/f90.el (f90-critical-indent): New option.
4222         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4223         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4224         (f90-mode): Doc fix.
4225         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4226         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4227         (f90-beginning-of-block, f90-next-block, f90-indent-region)
4228         (f90-match-end): Handle block, critical.
4230 2011-06-25  Glenn Morris  <rgm@gnu.org>
4232         * calendar/diary-lib.el (diary-included-files): Doc fix.
4233         (diary-include-files): New function, extracted from
4234         diary-include-other-diary-files and diary-mark-included-diary-files.
4235         (diary-include-other-diary-files, diary-mark-included-diary-files):
4236         Just call diary-include-files.
4237         (diary-mark-entries): Reset diary-included-files on first call.
4239         * calendar/diary-lib.el (diary-mark-entries)
4240         (diary-mark-included-diary-files):
4241         Visit included diary-files in temp buffers.
4243         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4244         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4245         (f90-start-block-re, f90-imenu-generic-expression)
4246         (f90-looking-at-program-block-start, f90-no-block-limit):
4247         Add support for submodules.
4249         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4250         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
4252 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
4254         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4255         buffer-file-type before setting its value, to avoid disastrous
4256         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
4258 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
4260         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4262         * ses.el (ses-unload-function):
4263         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4265         * proced.el (proced-unload-function):
4266         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4268 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
4270         * server.el (server-create-window-system-frame): Add parameters arg.
4271         (server-process-filter): Doc fix.  Handle frame-parameters.
4273 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
4275         Fix bug#8730, bug#8781.
4277         * loadhist.el (unload--set-major-mode): New function.
4278         (unload-feature): Use it.
4280         * progmodes/python.el (python-after-info-look): Add autoload cookie.
4281         (python-unload-function): New function.
4283 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4285         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4287 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
4289         * net/browse-url.el (browse-url-firefox-program): Add icecat to
4290         the candidates list.
4292 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
4294         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4296 2011-06-23  Richard Stallman  <rms@gnu.org>
4298         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4299         (rmail-variables): Set next-error-move-function.
4300         (rmail-what-message): Take argument POS.
4301         (rmail-next-error-move): New function.
4303 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4305         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4306         messages for adjacent non-terminals.
4308 2011-06-23  Richard Stallman  <rms@gnu.org>
4310         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
4311         (rmail-show-message-1): Preserve buffer modified flag.
4312         (rmail-start-mail): Don't specify use of rmail-mail-return;
4313         that's done by mail-bury now.
4314         (rmail-mail-return): Handle arg NEWBUF.
4316 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
4318         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4319         SIZE is a number.
4321 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
4323         * window.el (get-lru-window, get-mru-window)
4324         (get-largest-window): Never return a minibuffer window.
4325         (display-buffer-pop-up-window): Fix a bug that could lead to
4326         reusing the minibuffer window.
4327         (display-buffer): Pass original specifier argument to
4328         display-buffer-function instead of the normalized one.
4329         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4331 2011-06-22  Leo Liu  <sdl.web@gmail.com>
4333         * minibuffer.el (completing-read-function)
4334         (completing-read-default): Move from minibuf.c
4336 2011-06-22  Richard Stallman  <rms@gnu.org>
4338         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4339         to Rmail even if not started by a special Rmail command.
4341         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4342         Copy the buffer currently showing just one message.
4344 2011-06-22  Roland Winkler  <winkler@gnu.org>
4346         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4347         (bibtex-clean-entry): First delete the old key so that a
4348         customized algorithm for generating the new key does not get
4349         confused by the old key.
4350         (bibtex-url): Obey regexp of first step.
4351         (bibtex-search-entries): Do not use add-to-list with local
4352         list-var.
4354 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4356         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4357         stored a user name, then query for the password first, instead of
4358         waiting for SMTP to give an error message and the trying again.
4360 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
4362         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4363         BUFFER in call-process.
4365 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4367         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4368         QUIT twice.
4369         (smtpmail-try-auth-methods): Require user name and password from
4370         auth-source.
4372 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
4374         * window.el (display-buffer-default-specifiers)
4375         (display-buffer-alist): Remove entries for pop-up-frame-alist.
4376         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
4377         (split-window): Normalize SIDE argument (Bug#8916).
4379         * frame.el (pop-up-frame-alist, pop-up-frame-function)
4380         (special-display-frame-alist, special-display-popup-frame):
4381         Remove duplicate declarations.  These are now in window.el.
4383 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4385         * mail/smtpmail.el (smtpmail-via-smtp):
4386         Set :use-starttls-if-possible so that we always use STARTTLS if the
4387         server supports it.  SMTP servers that support STARTTLS commonly
4388         require it.
4390         * net/network-stream.el (network-stream-open-starttls): Support
4391         upgrading to STARTTLS always, even if we don't have built-in support.
4392         (open-network-stream): Add the :always-query-capabilies keyword.
4394         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4395         upgrades with `open-network-stream', and rely solely on
4396         auth-source for all credentials.  Big changes throughout the file,
4397         but in particular:
4398         (smtpmail-auth-credentials): Remove.
4399         (smtpmail-starttls-credentials): Remove.
4400         (smtpmail-via-smtp): Check for servers saying they want AUTH after
4401         MAIL FROM, too.
4403         * net/network-stream.el (network-stream-open-starttls):
4404         Provide support for client certificates both for external and built-in
4405         STARTTLS.
4406         (auth-source): Require.
4407         (open-network-stream): Document the :client-certificate keyword.
4408         (network-stream-certificate): Change cert-cert to cert and
4409         cert-key to key.
4411 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
4413         * net/tramp-cache.el (top): Don't load the persistency file when
4414         "emacs -Q" has been called.
4416 2011-06-21  Tim Harper  <timcharper@gmail.com>
4418         * term/ns-win.el (ns-initialize-window-system):
4419         Set application-specific `ApplePressAndHoldEnabled' system
4420         resource to NO as it is not yet supported by the NS port.
4422 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
4424         * misc.el (list-dynamic-libraries--refresh): Compute header here...
4425         (list-dynamic-libraries): ...not here.
4427 2011-06-21  Leo Liu  <sdl.web@gmail.com>
4429         * subr.el (sha1): Implement sha1 using secure-hash.
4431 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
4433         * window.el (display-buffer-alist): In default value do not
4434         enforce searching a window on any but the selected frame.
4435         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4436         (display-buffer-select-window): Remove function.
4437         (display-buffer-in-window): When a window on another frame gets
4438         reused, do not select it any more but just raise its frame if
4439         necessary (Bug#8851) and (Bug#8856).
4440         (display-buffer-normalize-options): Handle pop-up-frames related
4441         options more faithfully.
4442         (pop-to-buffer): Don't rely on `display-buffer' selecting the
4443         window if it is on another frame.
4444         (display-buffer-alist, display-buffer-default-specifiers):
4445         Don't make new frame unsplittable by default.
4446         (display-buffer-normalize-argument): Fix doc-string typo and use
4447         'same-frame-other-window instead of 'other-window when associating
4448         with display-buffer-macro-specifiers.
4450 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
4452         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4453         New functions.
4454         (5x5-mode-map, 5x5-mode-menu): Bind them.
4455         (5x5-draw-grid): Tweak the solver's rendering.
4457 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4459         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4460         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4462 2011-06-21  Drew Adams  <drew.adams@oracle.com>
4464         * menu-bar.el: Use function variable instead of switch-to-buffer.
4465         (menu-bar-select-buffer-function): New variable.
4466         (menu-bar-update-buffers): Use it (bug#8876).
4468 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4470         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4471         variable's status.
4473 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
4475         * x-dnd.el (x-dnd-version-from-flags)
4476         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4477         and long as number (Bug#8899).
4478         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4480 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4482         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4483         (completion-try-completion, completion-all-completions): Compute the
4484         metadata argument if it's missing; make it optional (bug#8795).
4486         * wid-edit.el: Use lex-bind and move towards completion-at-point.
4487         (widget-complete): Use new :completion-function property.
4488         (widget-completions-at-point): New function.
4489         (default): Use :completion-function instead of :complete.
4490         (widget-default-completions): Rename from widget-default-complete;
4491         Rewrite.
4492         (widget-string-complete, widget-file-complete, widget-color-complete):
4493         Remove functions.
4494         (file, symbol, function, variable, coding-system, color):
4495         * international/mule-cmds.el (default-input-method, charset)
4496         (language-info-custom-alist):
4497         * cus-edit.el (face): Use new property :completions.
4499         * progmodes/pascal.el (pascal-completions-at-point): New function.
4500         (pascal-mode): Use it.
4501         (pascal-mode-map): Use completion-at-point.
4502         (pascal-toggle-completions): Make obsolete.
4503         (pascal-complete-word, pascal-show-completions):
4504         * progmodes/octave-mod.el (octave-complete-symbol):
4505         Redefine as obsolete alias.
4506         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4507         Signal absence of completion info for old Octave,
4508         (inferior-octave-complete): Redefine as obsolete alias.
4509         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4510         (meta-completions-at-point): Rename from meta-complete-symbol and
4511         adapt it for use on completion-at-point-functions.
4512         (meta-common-mode): Use it.
4513         (meta-looking-at-backward, meta-match-buffer): Remove.
4514         (meta-complete-symbol): Redefine as obsolete alias.
4515         (meta-common-mode-map): Use completion-at-point.
4516         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4517         (makefile-mode-map): Use completion-at-point.
4518         (makefile-completions-at-point): Rename from makefile-complete and
4519         adapt it for use on completion-at-point-functions.
4520         (makefile-mode): Use it.
4521         (makefile-complete): Redefine as obsolete alias.
4523 2011-06-20  Deniz Dogan  <deniz@dogan.se>
4525         * net/rcirc.el: Delete trailing whitespaces once and for all.
4527 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
4529         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4531 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
4533         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4535         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4537 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
4539         * window.el (display-buffer-other-window-means-other-frame):
4540         Call display-buffer-normalize-alist.
4541         (display-buffer-normalize-specifiers-1): Rename to
4542         display-buffer-normalize-argument.  New argument other-frame.
4543         Rewrite.
4544         (display-buffer-normalize-specifiers-2): Rename to
4545         display-buffer-normalize-options.
4546         (display-buffer-normalize-alist-1): New function.
4547         (display-buffer-normalize-specifiers-3): Rename to
4548         display-buffer-normalize-alist.
4549         Call display-buffer-normalize-alist-1.
4550         (display-buffer-normalize-options-inhibit): New variable.
4551         (display-buffer-normalize-specifiers): Rewrite calling
4552         display-buffer-normalize-alist,
4553         display-buffer-normalize-argument, and
4554         display-buffer-normalize-options.  Don't call the latter if
4555         display-buffer-normalize-options-inhibit is non-nil.
4556         (frame-auto-delete): New option.
4557         (window-deletable-p): Use frame-auto-delete.
4558         (window-list-no-nils, window-state-ignored-parameters)
4559         (window-state-get-1, window-state-get, window-state-put-list)
4560         (window-state-put-1, window-state-put-2, window-state-put):
4561         New functions.
4562         (display-buffer-normalize-options): Move special-display-p group
4563         after pop-up-frame group (Bug#8851) and (Bug#8856).
4565 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
4567         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4568         groups (Bug#8776).
4569         (rx-submatch-n): New function.
4570         (rx): Document it.
4572         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4573         (Bug#8768).
4575         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4577         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4579         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4580         anytime existing face settings are present (Bug#8889).
4582         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4583         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4584         Remove unused argument.
4586 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
4588         * window.el (display-buffer-default-specifiers):
4589         Remove pop-up-frame.  Add pop-up-window-min-height,
4590         pop-up-window-min-width, and another reuse-window specifier
4591         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
4592         (display-buffer-normalize-specifiers-2):
4593         Handle split-height-threshold and split-width-threshold also when
4594         pop-up-windows is unset.  Add a reuse-window specifier for the
4595         case popping up a new window fails.
4596         (special-display-popup-frame): Remove double quoting.
4597         (display-buffer-normalize-specifiers-1): Fix thinko.
4599 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4601         * shell.el (shell-completion-vars): Set pcomplete-termination-string
4602         according to comint-completion-addsuffix.
4604         * pcomplete.el: Convert to lexical binding and fix bug#8819.
4605         (pcomplete-suffix-list): Mark as obsolete.
4606         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4607         pcomplete-seen in the closure.
4608         (pcomplete-comint-setup): Setup completion-at-point as well.
4609         (pcomplete--entries): New function.
4610         (pcomplete--env-regexp): New var.
4611         (pcomplete-entries): Rewrite to work with partial-completion and
4612         without relying on pcomplete-suffix-list.
4613         (pcomplete-pare-list): Remove, unused.
4615 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
4617         * window.el (display-buffer-alist): Set pop-up-window-min-height
4618         and pop-up-window-min-width in default value.  Reported by
4619         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
4620         other-window-means-other-frame.
4621         (display-buffer-macro-specifiers): Comment out entry for
4622         other-window specifier.
4623         (display-buffer-other-window-means-other-frame): New function.
4624         (display-buffer-normalize-specifiers-1): New arguments
4625         buffer-name and label.  Treat other-window case specially.
4626         (display-buffer-normalize-specifiers-2): Treat other-window case
4627         specially.
4628         (display-buffer-normalize-specifiers-3): New function.
4629         (display-buffer-normalize-specifiers):
4630         Call display-buffer-normalize-specifiers-3.
4632 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
4634         * window.el (same-window-p): Fix two typos introduced when
4635         adding with-no-warnings.
4636         (display-buffer-normalize-specifiers-1): Don't check
4637         pop-up-frames for 'unset initialization.
4638         (display-buffer-normalize-specifiers-2): Major rewrite using
4639         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4640         (pop-up-frames, display-buffer-reuse-frames)
4641         (display-buffer-mark-dedicated): Don't initialize to 'unset.
4642         Suggested by David Engster <deng@randomsample.de>.
4643         (even-window-heights): Initialize to 'unset.
4644         (display-buffer-alist-set): Handle new 'unset initializations.
4645         (display-buffer-macro-specifiers): Don't pop up a new frame in the
4646         other window case.
4648 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
4650         * window.el (display-buffer-normalize-specifiers-1):
4651         Respect current value of pop-up-frames for most reasonable values of
4652         second argument of display-buffer (Bug#8865).
4653         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4654         (switch-to-buffer-other-window-same-frame)
4655         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
4656         Adams (Bug#8875).
4657         (display-buffer): Don't check noninteractive when calling
4658         display-buffer-pop-up-frame.
4659         (display-buffer-pop-up-frame): Never pop up a frame in
4660         noninteractive mode (Bug#8857).
4661         (enlarge-window, shrink-window): Don't report an error when the
4662         window can't be resized as requested (Bug#8862).
4664 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4666         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4668         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4670         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4672 2011-06-15  Alan Mackenzie  <acm@muc.de>
4674         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4675         for declarators, disable knr checking to speed up for normal files.
4676         2: Refactor, replacing a sequence of nested if forms by a cond form.
4678 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4680         * net/network-stream.el (open-network-stream): Add the keyword
4681         :always-query-capabilities for the case where you want to force a
4682         `plain' network connection, but the protocol still requires the
4683         capabilitiy command (i.e., SMTP and EHLO).
4685         * subr.el (process-live-p): Rename from `process-alive-p' for
4686         consistency with other `-live-p' functions.
4688 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4690         * window.el (same-window-buffer-names, same-window-regexps)
4691         (special-display-frame-alist, special-display-popup-frame)
4692         (special-display-function, special-display-buffer-names)
4693         (special-display-regexps, pop-up-frame-alist)
4694         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4695         (pop-up-windows, split-window-preferred-function)
4696         (split-height-threshold, split-width-threshold, even-window-heights)
4697         (display-buffer-mark-dedicated): Don't encourage the use of
4698         display-buffer-alist from Elisp code.
4700 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
4702         * progmodes/python.el (python-mode): Derive from prog-mode.
4703         * progmodes/ps-mode.el (ps-mode):
4704         * progmodes/mixal-mode.el (mixal-mode):
4705         * progmodes/cfengine.el (cfengine-mode):
4706         * progmodes/ld-script.el (ld-script-mode): Likewise.
4708 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
4710         * window.el (display-buffer-alist): Trim default value to avoid
4711         popping up a new frame (Bug#8857) or reusing an arbitrary window
4712         on another frame.
4713         (display-buffer): Do not fall back on popping up a new frame in
4714         batch mode (Bug#8857).
4716 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
4718         * cus-theme.el (describe-theme-1): Use custom-theme-p.
4719         (custom-theme-summary): New function.
4720         (customize-themes): Use it.
4722 2011-06-13  Glenn Morris  <rgm@gnu.org>
4724         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4726 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
4728         * help.el (help-window): Remove variable.
4729         (help-window-point-marker, temp-buffer-max-height)
4730         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4731         (help-print-return-message): Don't set help-window.
4732         (resize-temp-buffer-window): Rewrite cod eand doc-string.
4733         (help-window-setup-finish): Remove.
4734         (help-window-display-message, help-window-setup)
4735         (with-help-window): Major rewrite based on new
4736         display-buffer-window variable.
4738         * help-mode.el (help-mode-finish): Remove help-window related
4739         code.
4741         * view.el (view-exits-all-viewing-windows): Remove reference to
4742         view-return-to-alist in doc-string.
4743         (view-return-to-alist): Make obsolete.
4744         (view-buffer): Call pop-to-buffer-same-window and remove
4745         undo-window code.
4746         (view-buffer-other-window): Call pop-to-buffer-other-window and
4747         simplify code.  Ignore second argument.
4748         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4749         simplify code.  Ignore second argument.
4750         (view-return-to-alist-update): Make obsolete.
4751         (view-mode-enter): Rename second argument to QUIT-RESTORE.
4752         Rewrite using quit-restore window parameters.
4753         (view-mode-exit): Rename second argument to EXIT-ONLY.
4754         Rewrite using quit-restore-window.
4755         (View-exit, View-exit-and-edit, View-leave, View-quit)
4756         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4757         appropriate arguments.
4758         (view-end-message): Use quit-restore window parameter.
4760         * window.el (display-buffer-function): Rewrite doc-string.
4761         (display-buffer-window, display-buffer-alist): New variables.
4762         (display-buffer-split-specifiers)
4763         (display-buffer-side-specifiers)
4764         (display-buffer-macro-specifiers): New constants.
4765         (display-buffer-even-window-sizes, display-buffer-set-height)
4766         (display-buffer-set-width, display-buffer-select-window)
4767         (display-buffer-in-window, display-buffer-reuse-window)
4768         (display-buffer-split-window-1, display-buffer-split-window)
4769         (display-buffer-split-atom-window, display-buffer-pop-up-window)
4770         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4771         (display-buffer-in-side-window, normalize-buffer-to-display)
4772         (display-buffer-normalize-specifiers-1)
4773         (display-buffer-normalize-specifiers-2)
4774         (display-buffer-normalize-specifiers, display-buffer-frame):
4775         New functions.
4776         (display-buffer): Major rewrite.
4777         (display-buffer-other-window, display-buffer-other-frame)
4778         (pop-to-buffer, switch-to-buffer-other-window)
4779         (switch-to-buffer-other-frame): Rewrite.
4780         (display-buffer-same-window, display-buffer-same-frame)
4781         (display-buffer-same-frame-other-window)
4782         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4783         (pop-to-buffer-other-window)
4784         (pop-to-buffer-same-frame-other-window)
4785         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4786         (switch-to-buffer-other-window-same-frame): New functions.
4787         (same-window-p, special-display-p): Rewrite disabling warnings.
4788         Make obsolete.
4789         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4790         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4791         Make obsolete
4792         (same-window-buffer-names, same-window-regexps)
4793         (special-display-frame-alist, special-display-popup-frame)
4794         (special-display-function, special-display-buffer-names)
4795         (special-display-regexps, pop-up-frame-alist)
4796         (pop-up-frame-function, split-window-preferred-function)
4797         (split-height-threshold, split-width-threshold)
4798         (even-window-heights): Make obsolete.
4800 2011-06-12  Glenn Morris  <rgm@gnu.org>
4802         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
4803         Misc simplifications.
4805 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
4807         * window.el (window-safely-shrinkable-p): Restore function which
4808         was inadvertently removed in change from 2011-06-11.  Declare as
4809         obsolete.
4811         * calendar/calendar.el (calendar-generate-window):
4812         Use window-iso-combined-p instead of combination of one-window-p and
4813         window-safely-shrinkable-p.
4815 2011-06-12  Glenn Morris  <rgm@gnu.org>
4817         * progmodes/fortran.el (fortran-mode-syntax-table):
4818         * progmodes/f90.el (f90-mode-syntax-table):
4819         Set % to punctuation.  (Bug#8820)
4820         (f90-find-tag-default): Remove, no longer needed.
4822 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
4824         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4826 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
4828         * image.el (image-animated-p): Return animation delay in seconds.
4829         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4830         (image-animate-timeout): Remove DELAY argument.  Don't assume
4831         every subimage has the same delay; get it from image-animated-p.
4832         (image-animate): Caller changed.
4834 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
4836         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4837         to ignored backtrace functions.
4839 2011-06-11  Glenn Morris  <rgm@gnu.org>
4841         * calendar/appt.el (appt-disp-window-function): Doc fix.
4842         (appt-check): Handle overlapping appointments.  (Bug#8337)
4844 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
4846         * window.el (window-tree-1, window-tree): New functions, moving
4847         the latter to window.el.
4848         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4849         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4850         (bw-refresh-edges): Remove.
4851         (balance-windows-1, balance-windows-2): New functions.
4852         (balance-windows): Rewrite in terms of window tree functions,
4853         balance-windows-1 and balance-windows-2.
4854         (bw-adjust-window): Remove.
4855         (balance-windows-area-adjust): New function with functionality of
4856         bw-adjust-window but using resize-window.
4857         (set-window-text-height): Rewrite doc-string.
4858         Use normalize-live-window and resize-window.
4859         (enlarge-window-horizontally, shrink-window-horizontally):
4860         Rename argument to DELTA.
4861         (window-buffer-height): New function.
4862         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4863         Rewrite using new window resize routines.
4864         (kill-buffer-and-window, mouse-autoselect-window-select):
4865         Use ignore-errors instead of condition-case.
4866         (quit-window): Call delete-frame instead of delete-windows-on
4867         for the only buffer on frame.
4869 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
4871         * loadup.el (top-level): Load window before files for the sake
4872         of replace-buffer-in-windows.
4874         * files.el (read-buffer-to-switch)
4875         (switch-to-buffer-other-window)
4876         (switch-to-buffer-other-frame, display-buffer-other-frame):
4877         Move to window.el.
4879         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4880         (previous-buffer): Move to window.el.
4882         * bindings.el (unbury-buffer): Move to window.el.
4884         * window.el (delete-other-windows-vertically): Move after
4885         definition of delete-other-windows.
4886         (other-window, delete-windows-on, replace-buffer-in-windows):
4887         Move here from window.c.
4888         (record-window-buffer, unrecord-window-buffer)
4889         (set-window-buffer-start-and-point, switch-to-prev-buffer)
4890         (switch-to-next-buffer): New functions.
4891         (get-next-valid-buffer, last-buffer, next-buffer): Move here
4892         from simple.el.  Call switch-to-next-buffer.
4893         (previous-buffer): Move here from simple.el.
4894         Call switch-to-prev-buffer.
4895         (bury-buffer): Move here from buffer.c.  Switch to previous
4896         buffer when window cannot be deleted.
4897         (unbury-buffer): Move here from bindings.el.
4898         (ctl-x-map): Move binding for other-window from window.c to
4899         here.
4900         (read-buffer-to-switch, switch-to-buffer-other-window)
4901         (switch-to-buffer-other-frame): Move here from files.el.
4902         (normalize-buffer-to-switch-to): New functions.
4903         (switch-to-buffer): Move here from buffer.c.
4904         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
4906 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
4908         * window.el (window-min-height, window-min-width): Move here
4909         from window.c.  Add defcustoms and rewrite doc-strings.
4910         (resize-mini-window, resize-window): New functions.
4911         (adjust-window-trailing-edge, enlarge-window, shrink-window):
4912         Move here from window.c.
4913         (maximize-window, minimize-window): New functions.
4914         (delete-window, delete-other-windows, split-window): Move here
4915         from window.c.
4916         (window-split-min-size): New function.
4917         (split-window-keep-point): Mention split-window-above-each-other
4918         instead of split-window-vertically.
4919         (split-window-above-each-other, split-window-vertically):
4920         Rename split-window-vertically to split-window-above-each-other and
4921         provide defalias for old definition.
4922         (split-window-side-by-side, split-window-horizontally): Rename
4923         split-window-horizontally to split-window-side-by-side and provide
4924         defalias for the old definition.
4925         (ctl-x-map): Move bindings for delete-window,
4926         delete-other-windows and enlarge-window here from window.c.
4927         Replace bindings for split-window-vertically and
4928         split-window-horizontally by bindings for
4929         split-window-above-each-other and split-window-side-by-side.
4931         * cus-start.el (all): Remove entries for window-min-height and
4932         window-min-width.  Add entries for window-splits and
4933         window-nest.
4935 2011-06-09  Glenn Morris  <rgm@gnu.org>
4937         * calendar/appt.el (appt-mode-line): New function.
4938         (appt-check, appt-disp-window): Use it.
4940         * files.el (hack-one-local-variable-eval-safep):
4941         Allow minor-modes with explicit +/-1 arguments.
4943 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
4945         * term/xterm.el (xterm): Add defgroup.
4946         (xterm-extra-capabilities): Add defcustom to supply known xterm
4947         capabilities, skip querying them, or query them (default).
4948         (terminal-init-xterm): Use it.
4949         (terminal-init-xterm-modify-other-keys): New function to set up
4950         modifyOtherKeys support to simplify `terminal-init-xterm'.
4952 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
4954         * window.el (resize-window-reset, resize-window-reset-1)
4955         (resize-subwindows-skip-p, resize-subwindows-normal)
4956         (resize-subwindows, resize-other-windows, resize-this-window)
4957         (resize-root-window, resize-root-window-vertically)
4958         (window-deletable-p, window-or-subwindow-p)
4959         (frame-root-window-p): New functions.
4961 2011-06-09  Glenn Morris  <rgm@gnu.org>
4963         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4964         (ange-ftp-get-files): Use it.
4966 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4968         * mail/sendmail.el (mail-recover-1, mail-recover):
4969         * files.el (recover-file, recover-session):
4970         Handle dired-listing-switches not being just a single short option.
4972 2011-06-09  Glenn Morris  <rgm@gnu.org>
4974         * calendar/appt.el (appt-display-message, appt-disp-window):
4975         Handle lists of appointments.
4977 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
4979         * window.el (one-window-p): Move down in code.
4980         Rewrite doc-string.
4981         (window-current-scroll-bars): Rewrite doc-string.
4982         Normalize live window argument.
4983         (walk-windows, get-window-with-predicate, count-windows):
4984         Rewrite doc-string.  Use window-list-1.
4985         (window-in-direction-2, window-in-direction, get-mru-window):
4986         New functions.
4988 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
4990         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4991         Doc fix (Bug#8713).
4993 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
4995         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4997 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
4999         * loadhist.el (unload-feature-special-hooks):
5000         Add `comint-output-filter-functions'.
5002 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
5004         * calendar/appt.el (appt-check): Move some initializations into the let.
5006 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
5008         * window.el (window-height): Defalias to window-total-height.
5009         (window-width): Defalias to window-body-width.
5011 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
5013         * image-mode.el (image-toggle-animation): New command.
5014         (image-mode-map): Bind it to RET.
5015         (image-mode): Update message.
5016         (image-toggle-display-image): Avoid a spurious cache flush.
5017         (image-transform-rotation): Doc fix.
5018         (image-transform-properties): Return quickly in the normal case.
5019         (image-animate-loop): Rename from image-animate-max-time.
5021         * image.el (image-animate-max-time): Move to image-mode.el.
5022         (create-animated-image): Remove unnecessary function.
5023         (image-animate): Rename from image-animate-start.  New arg.
5024         (image-animate-stop): Remove; just use image-animate-timer.
5025         (image-animate-timer): Use car-safe.
5026         (image-animate-timeout): Rename argument.
5028 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
5030         * window.el (get-lru-window, get-largest-window): Move here from
5031         window.c.  Rename first argument to ALL-FRAMES.
5032         Rephrase doc-strings.
5033         (get-buffer-window-list): Rewrite using window-list-1.
5034         Rephrase doc-string.
5035         (window-safe-min-height, window-safe-min-width): New constants.
5036         (window-size-ignore, window-min-size, window-min-size-1)
5037         (window-sizable, window-sizable-p, window-size-fixed-1)
5038         (window-size-fixed-p, window-min-delta-1, window-min-delta)
5039         (window-max-delta-1, window-max-delta, window-resizable)
5040         (window-resizable-p, window-total-height, window-total-width)
5041         (window-body-width): New functions.
5042         (window-full-height-p, window-full-width-p): Rewrite using
5043         window-total-size.
5044         (window-body-height): Rewrite using window-body-size.
5046 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
5048         * window.el (window-right, window-left, window-child)
5049         (window-child-count, window-last-child, window-any-p)
5050         (normalize-live-buffer, normalize-live-frame)
5051         (normalize-any-window, normalize-live-window)
5052         (window-iso-combination-p, window-iso-combined-p)
5053         (window-iso-combinations)
5054         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5055         (windows-with-parameter, window-with-parameter)
5056         (window-atom-root, make-window-atom, window-atom-check-1)
5057         (window-atom-check, window-side-check, window-check):
5058         New functions.
5059         (ignore-window-parameters, window-sides, window-sides-vertical)
5060         (window-sides-slots): New variables.
5061         (window-size-fixed): Move down in code.  Minor doc-string fix.
5063 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
5065         * comint.el (comint-dynamic-complete-as-filename)
5066         (comint-dynamic-complete-filename): Correctly call
5067         completion-in-region.
5069 2011-06-05  Deniz Dogan  <deniz@dogan.se>
5071         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5072         in last change.
5074 2011-06-05  Deniz Dogan  <deniz@dogan.se>
5076         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5077         (rcirc): Use it to prompt for encryption.
5079 2011-06-05  Roland Winkler  <winkler@gnu.org>
5081         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5082         (bibtex-search-entries): New command bound to C-c C-a.
5083         (bibtex-display-entries): New function.
5085 2011-06-05  Roland Winkler  <winkler@gnu.org>
5087         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5088         (bibtex-insert-kill): After yanking insert newline if necessary.
5089         (bibtex-initialize): Call bibtex-string-files-init only once.
5090         (bibtex-mode): Do not call easy-menu-add.
5091         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5092         (bibtex-yank): Set arg properly if nil.
5094 2011-06-05  Roland Winkler  <winkler@gnu.org>
5096         * textmodes/bibtex.el (bibtex-search-entry-globally):
5097         New variable.
5098         (bibtex-search-entry): Use it.
5100 2011-06-05  Roland Winkler  <winkler@gnu.org>
5102         * textmodes/bibtex.el (bibtex-entry-format): New option
5103         sort-fields.
5104         (bibtex-format-entry, bibtex-reformat): Honor this option.
5105         (bibtex-parse-entry): Return fields in proper order.
5107 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
5109         * doc-view.el (doc-view-remove-if): Move computation of result out
5110         of `dolist' to silence misleading lexical-binding warning.
5112 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
5114         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5115         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5117 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
5119         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5120         "SunOS 5.10".
5122 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
5124         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5125         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5126         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5127         (tramp-parse-putty):
5128         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5129         (tramp-completion-function-alist-ssh)
5130         (tramp-completion-function-alist-telnet)
5131         (tramp-completion-function-alist-su)
5132         (tramp-completion-function-alist-putty): Set `tramp-autoload'
5133         cookie.
5135         * net/tramp-ftp.el:
5136         * net/tramp-sh.el:
5137         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5138         load "tramp.el" `tramp-set-completion-function'.
5140 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5142         * shell.el: Require and use pcomplete.
5143         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5144         (shell-completion-vars): Set pcomplete-default-completion-function.
5146 2011-06-04  Deniz Dogan  <deniz@dogan.se>
5148         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5149         `memq' (Bug#8799).
5151 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5153         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5155 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
5157         * bs.el (bs--mark-unmark, bs--nth-wrapper):
5158         * mpc.el (mpc-select-extend, mpc-songpointer-context):
5159         * vc/log-view.el (log-view-beginning-of-defun):
5160         * vc/smerge-mode.el (smerge-apply-resolution-patch)
5161         (smerge-refine-forward, smerge-refine-chopup-region):
5162         Silence warning for unused `dotimes' counter variables.
5164 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5166         * net/tramp.el (tramp-with-progress-reporter): Rename from
5167         with-progress-reporter.  Use `declare'.
5168         * net/tramp-smb.el:
5169         * net/tramp-sh.el:
5170         * net/tramp-gvfs.el: Update all uses.
5172 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
5174         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5175         buffer isn't killed before making it current.
5177 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5179         Silence various byte-compiler warnings.
5180         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5181         `access-type' and new obsolescence format.
5182         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5183         new format.
5184         (byte-compile-check-variable): New `access-type' argument.
5185         Only warn if the access-type is obsolete.
5186         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5187         (byte-compile-variable-set): Adjust callers.
5188         * help-fns.el (describe-variable): Adjust to new obsolescence format.
5189         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5190         setting it as obsolete.
5191         * simple.el (minibuffer-completing-symbol):
5192         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5193         access as obsolete.
5194         * minibuffer.el (minibuffer-completing-file-name): Don't make it
5195         obsolete yet.
5196         * international/quail.el (quail-mouse-choose-completion): Remove unused
5197         code referring to obsolete var.
5198         (quail-choose-completion-string): Remove.
5199         * server.el (server-clients-with, server-kill-buffer-query-function)
5200         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5201         * proced.el (proced-send-signal):
5202         * emacs-lisp/lisp.el (lisp-complete-symbol):
5203         Replace completion-annotate-function with completion-extra-properties.
5205 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5207         * simple.el (goto-line): Use read-number.
5208         (overriding-map-is-bound): Remove.
5209         (saved-overriding-map): Change default.
5210         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5211         Take the map as argument.
5212         (universal-argument, negative-argument, digit-argument): Use it.
5213         (restore-overriding-map): Adjust.
5214         (do-auto-fill): Use fill-forward-paragraph.
5215         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5217         * minibuffer.el (minibuffer-inactive-mode-map): New var.
5218         (minibuffer-inactive-mode): New major mode.
5219         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5220         the *Messages* buffer" hack.
5221         (mouse-popup-menubar): Don't burp if the event is a normal key.
5223         Miscellaneous tweaks.
5224         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5225         lexical scoping as in subr.el's dolist and dotimes.
5226         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5227         Silence compiler warning.
5228         * thingatpt.el (forward-whitespace): Trivial coding style fix.
5229         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5230         * international/ccl.el (ccl-compile): Trivial simplification.
5231         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5232         * emacs-lisp/testcover.el (testcover-end): Remove spurious
5233         `printflag' argument.
5234         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5235         Purecopy the whole obsolescence data.
5237 2011-06-01  Leo Liu  <sdl.web@gmail.com>
5239         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5240         improve doc-string as suggested by Marco Pessotto
5241         <melmothx@gmail.com>.
5242         (rcirc-print): Fix last change.
5244 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5246         * minibuffer.el (complete-with-action): Return nil for the metadata and
5247         boundaries of non-functional tables.
5248         (completion-table-dynamic): Return nil for the metadata.
5249         (completion-table-with-terminator): Add default case, using
5250         complete-with-action.
5251         (completion--metadata): New function.
5252         (completion-all-sorted-completions, minibuffer-completion-help): Use it
5253         to try and avoid pathological performance problems.
5254         (completion--embedded-envvar-table): Return `category' metadata.
5256 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5258         * subr.el (process-alive-p): New tiny convenience function.
5260 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5262         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5263         content but also its previous major mode.
5265 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
5267         * emacs-lisp/debug.el (debug): Restore the previous content of the
5268         *Backtrace* buffer when we exit with C-M-c.
5270 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5272         * minibuffer.el: Add metadata method to completion tables.
5273         (completion-category-overrides): New defcustom.
5274         (completion-metadata, completion--field-metadata)
5275         (completion-metadata-get, completion--styles)
5276         (completion--cycle-threshold): New functions.
5277         (completion-try-completion, completion-all-completions):
5278         Add `metadata' argument to choose completion-styles.
5279         (completion--do-completion): Use metadata to choose cycling.
5280         (completion-all-sorted-completions): Use metadata for sorting.
5281         Remove :completion-cycle-penalty which is not needed any more.
5282         (completion--try-word-completion): Add `metadata' argument.
5283         (minibuffer-completion-help): Check metadata for annotation function
5284         and sorting.
5285         (completion-file-name-table): Return `category' metadata.
5286         (minibuffer-completing-file-name): Make obsolete.
5287         * simple.el (minibuffer-completing-symbol): Make obsolete.
5288         * icomplete.el (icomplete-completions): Pass new `metadata' param to
5289         completion-try-completion.
5291 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5293         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5295 2011-05-30  Leo Liu  <sdl.web@gmail.com>
5297         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5298         (rcirc-print): Decode all incoming messages (bug#8744).
5299         (rcirc-decode-coding-system): Allow value nil for automatic coding
5300         system detection.
5302 2011-06-01  Glenn Morris  <rgm@gnu.org>
5304         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5306 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
5308         * image.el (image-animate-max-time): Allow nil and t values.
5309         Default to nil.
5310         (create-animated-image): Doc fix.
5311         (image-animate-start): Remove second arg; just use
5312         image-animate-max-time.
5313         (image-animate-timeout): Doc fix.  Args changed.
5315         * image-mode.el (image-toggle-display-image): Ensure that the
5316         image spec passed to the animate timer is the same object as in
5317         the the buffer's display property (Bug#6981).
5318         (image-transform-properties): Doc fix.
5320         * image.el (image-animate-max-time): Default to nil.
5322 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
5324         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5325         entire buffer list (Bug#8184).
5327 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
5329         * image.el (imagemagick-types-inhibit)
5330         (imagemagick-register-types): Doc fix.
5332 2011-05-29  Deniz Dogan  <deniz@dogan.se>
5334         * net/rcirc.el (rcirc): Use the user's stored encryption method by
5335         default.
5337 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
5339         * select.el: Don't perform clipboard-manager saving in hooks;
5340         leave the hooks empty.
5342 2011-05-28  Leo Liu  <sdl.web@gmail.com>
5344         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5345         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
5346         (occur-edit-mode): New major mode (Bug#8463).
5347         (occur-after-change-function): New function.
5348         (occur-engine): Give Occur tags a read-only property.
5350 2011-05-28  Kevin Ryde  <user42@zip.com.au>
5352         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5354 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
5356         * bindings.el (help-echo): Make the initial non-indicator dash
5357         empty on graphical terminals (Bug#7295).
5359         * files.el (auto-mode-alist): Move config rule after the
5360         in-stripping one (Bug#8547).
5362         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5364         * startup.el (normal-splash-screen): Remove gratuitous mode-line
5365         setting (Bug#8740).
5367 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
5369         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5370         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5371         (Bug#8539).
5373 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
5375         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5377 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
5379         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5380         (hs-hide-block-at-point, hs-find-block-beginning)
5381         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5382         (Bug#8279).
5384 2011-05-28  Glenn Morris  <rgm@gnu.org>
5386         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
5388 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
5390         * help-fns.el (describe-function-1): If the function is a derived
5391         major mode, print the parent mode.
5393         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5394         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5396 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5398         * minibuffer.el (completion--capf-wrapper): Check applicability before
5399         retuning non-nil for non-exclusive completion data.
5400         * progmodes/etags.el (tags-completion-at-point-function):
5401         * info-look.el (info-lookup-completions-at-point): Mark as
5402         non-exclusive.
5403         (info-complete): Adjust accordingly.
5405         * info-look.el: Convert to lexical-binding and completion-at-point.
5406         (info-lookup-completions-at-point): New function.
5407         (info-complete): Use it and completion-in-region.
5409 2011-05-28  Drew Adams  <drew.adams@oracle.com>
5411         * isearch.el: Let M-e start with point at the first mismatched char.
5412         (isearch-fail-pos): New function.
5413         (isearch-edit-string): Use it.
5415 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
5417         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5419 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
5421         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
5422         traversal functions for avl-trees.
5423         (avl-tree--stack): New struct.
5424         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5425         (avl-tree-enter): Add optional `updatefun' arg.
5426         (avl-tree--do-enter): Add optional `updatefun' arg.
5427         Change return value.
5428         (avl-tree-delete): Add optional `test' and `nilflag' args.
5429         (avl-tree--do-delete): Add `test' and `nilflag' args.
5430         Change return value.
5431         (avl-tree-member): Add optional `nilflag'
5432         (avl-tree-member-p): New function.
5433         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5434         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5435         (avl-tree-stack-empty-p): New functions.
5437 2009-11-23  Toby Cubitt  <toby-predictive@dr-qubit.org>
5439         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5440         avl-tree--del-balance1 and make it work both ways.
5441         (avl-tree--del-balance2): Remove.
5442         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5443         make it work both ways.
5444         (avl-tree--enter-balance2): Remove.
5445         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5446         New macros.
5447         (avl-tree--mapc, avl-tree-map): Add direction argument.
5449 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
5451         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5453 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
5455         * select.el: Support clipboard managers with built-in function
5456         x-clipboard-manager-save, via delete-frame-functions and
5457         kill-emacs-hook.
5458         (xselect-convert-to-targets): Add MULTIPLE target to list.
5459         (xselect-convert-to-save-targets): New function.
5461 2011-05-27  Kenichi Handa  <handa@m17n.org>
5463         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5464         let-binding rfc2047-encode-encoded-words to nil.
5466 2011-05-27  Glenn Morris  <rgm@gnu.org>
5468         * mail/emacsbug.el: Don't require url-util.
5470         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
5472         * files.el (set-auto-mode):
5473         Also respect mode: entries at the end of the file.  (Bug#8586)
5475 2011-05-26  Glenn Morris  <rgm@gnu.org>
5477         * files.el (hack-local-variables-prop-line, hack-local-variables):
5478         Downcase mode names, as seems to be traditional.
5479         (hack-local-variables, hack-local-variables-apply): Doc fixes.
5481         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5482         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
5484 2011-05-25  Julien Danjou  <julien@danjou.info>
5486         * textmodes/rst.el (rst-define-level-faces): Do not define face
5487         symbol if it is already defined.
5489 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5491         * play/5x5.el (5x5-new-game, 5x5-randomize):
5492         Reset 5x5-solver-output to nil when a new grid is cast.
5493         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5494         these debugging traces, as defmacro breaks the compiled code.
5496 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
5498         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5500 2011-05-24  Leo Liu  <sdl.web@gmail.com>
5502         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5503         (vc-bzr-sha1): Adapt.
5505         * sha1.el: Remove.  Function `sha1' is now builtin.
5507         * bindings.el: Provide sha1 feature.
5509 2011-05-24  Kenichi Handa  <handa@m17n.org>
5511         * mail/sendmail.el: Require `rfc2047'.
5512         (mail-insert-from-field): Do not perform RFC2047 encoding.
5513         (mail-encode-header): New function.
5514         (sendmail-send-it): Set buffer-file-coding-system of the work
5515         buffer to the return value of select-message-coding-system.
5516         Call mail-encode-header.
5518         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5520 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
5522         * mail/supercite.el (sc-default-cite-frame):
5523         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
5525 2011-05-24  Glenn Morris  <rgm@gnu.org>
5527         * progmodes/python.el (brm-menu): Declare.
5529         * emulation/viper.el (viper-set-hooks): Declare.
5531         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5532         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5533         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5534         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5535         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5536         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5538 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5540         Add an :exit-function for completion-at-point.
5542         * minibuffer.el (completion--done): New fun.
5543         (completion--do-completion): Use it.  New arg `expect-exact'.
5544         (minibuffer-complete, minibuffer-complete-word): Don't output message,
5545         since completion--do-completion does it for us now.
5546         (minibuffer-force-complete): Use completion--done and
5547         completion--replace.  Handle sole-completion case with more care.
5548         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5549         (completion-extra-properties): New var.
5550         (completion-annotate-function): Make obsolete.
5551         (minibuffer-completion-help): Adjust accordingly.
5552         Use completion-list-insert-choice-function.
5553         (completion-at-point, completion-help-at-point):
5554         Bind completion-extra-properties.
5555         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5556         * simple.el (completion-list-insert-choice-function): New var.
5557         (completion-setup-function): Preserve it.
5558         (choose-completion): Pay attention to it, shuffle the code a bit.
5559         (choose-completion-string): New arg `insert-function'.
5561         * textmodes/bibtex.el: Convert to lexical binding.
5562         (bibtex-mode-map): Use completion-at-point.
5563         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5564         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5565         (bibtex-complete): Define as obsolete alias.
5566         (bibtex-complete-internal): Remove.
5567         (bibtex-format-entry): Remove unused sub-group in regexp.
5568         * shell.el (shell--command-completion-data)
5569         (shell-environment-variable-completion):
5570         * pcomplete.el (pcomplete-completions-at-point):
5571         * comint.el (comint--complete-file-name-data): Use :exit-function
5572         instead of completion-table-with-terminator so it also works for
5573         choose-completion.
5575 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5577         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5579         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5580         (bug#8710).
5582         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5584 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
5586         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5587         customization variable and implement: If non-nil, auto-fill will
5588         be inhibited while on topic's header line.
5590 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5592         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
5593         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
5594         always have a solution in grid size = 5 cases.
5595         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5596         (5x5-solver-output, 5x5-log-buffer): New vars.
5597         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5598         Make these variables buffer local to achieve 5x5 multi-session-ness.
5599         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5600         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5601         (5x5-solve-suggest): New funs.
5602         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5603         randomize a grid so that we ensure that there is always a solution.
5604         (5x5-make-random-grid): Allow other movement than flipping.
5606 2011-05-23  Kevin Ryde  <user42@zip.com.au>
5608         * emacs-lisp/advice.el (ad-read-advised-function):
5609         Use `function-called-at-point' as the default default, if it has
5610         advice and passes PREDICATE.
5612 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5614         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5615         byte-compile-lambda if it's actually a lambda.
5617         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5618         Fix function quoting.  Use backquote better.
5620 2011-05-22  Yuanle Song  <sylecn@gmail.com>
5622         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5623         matching (Bug#8516).
5625 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
5627         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5628         different face (Bug#8178).
5630 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
5632         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5633         defface (Bug#8144).
5635 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5637         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5638         funcall as well (bug#8712).  Warn when performing those conversions.
5639         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5641         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5643 2011-05-22  Glenn Morris  <rgm@gnu.org>
5645         * files.el (hack-local-variables-prop-line): Small simplifications.
5646         (hack-local-variables, hack-local-variables-prop-line):
5647         If MODE-ONLY, return the mode, rather than just `t'.
5649 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5651         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5653 2011-05-21  Glenn Morris  <rgm@gnu.org>
5655         * files.el (hack-local-variables-prop-line, hack-local-variables):
5656         If only interested in the mode, don't bother doing the other stuff.
5658         * image-mode.el (image-after-revert-hook):
5659         Redraw all frames on which the image is visible.  (Bug#8567)
5661         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
5663         * wid-edit.el (widget-checklist-match-inline):
5664         Fix 2011-04-19 change.  (Bug#8649)
5666 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5668         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5669         Also allow singlespace after single-letter capitals followed by a dot.
5671         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5672         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5674 2011-05-20  Nix  <nix@esperi.org.uk>
5676         * files.el (basic-save-buffer-2):
5677         Fix handling of break-hardlink-on-save with non-existent files.
5679 2011-05-19  Deniz Dogan  <deniz@dogan.se>
5681         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
5682         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
5684 2011-05-19  Glenn Morris  <rgm@gnu.org>
5686         * progmodes/f90.el (f90-type-def-re):
5687         Handle "type, bind(c)".  (Bug#8691)
5689         * emacs-lisp/autoload.el (batch-update-autoloads):
5690         Set autoload-excludes by parsing loadup.el rather than Makefiles.
5692 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
5694         * net/tramp.el (tramp-process-actions): Set "first-password-request"
5695         property for the correct connection in case of multihops.
5697 2011-05-18  Glenn Morris  <rgm@gnu.org>
5699         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
5700         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5702         Rationalize calendar handling of day and month abbrev-arrays.
5703         * calendar/calendar.el (calendar-customized-p): New function.
5704         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5705         (calendar-day-name-array, calendar-month-name-array): Doc fix.
5706         Add :set function.
5707         (calendar-abbrev-length, calendar-day-abbrev-array)
5708         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5709         (calendar-day-abbrev-array, calendar-month-abbrev-array):
5710         Elements may no longer be nil.
5711         (calendar-day-name, calendar-month-name):
5712         Update for changed nature of abbrev arrays.
5713         * calendar/diary-lib.el (diary-name-pattern):
5714         Update for changed nature of abbrev arrays.
5715         (diary-mark-entries-1): Update calendar-make-alist calls.
5716         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5717         * calendar/cal-html.el (cal-html-day-abbrev-array):
5718         Simply inherit from calendar-day-abbrev-array.
5720 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5722         * progmodes/grep.el (grep-mode): Disable default
5723         compilation-directory-matcher setting (bug#8684).
5725 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
5727         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5728         instead of "head" and "tail".  There were problems with SunOS 5.9,
5729         and it performs better.
5731 2011-05-17  Glenn Morris  <rgm@gnu.org>
5733         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5735         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5736         Replace obsolete function.
5738         * shell.el (pcomplete-parse-arguments-function): Declare.
5740         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5741         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5742         (appt-check): Doc fixes.
5743         (appt-disp-window-function, appt-delete-window-function):
5744         Remove needless special case in custom :type.
5745         (appt-display-count): Default to 0, not nil.
5746         (appt-check): Reset appt-display-count to 0, not nil.
5748 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
5750         * progmodes/python.el (python-font-lock-keywords):
5751         Add the Python 3.X keyword "nonlocal" (bug#8639).
5753 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5755         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5757 2011-05-16  Kevin Ryde  <user42@zip.com.au>
5759         * info-look.el (makefile-automake-mode): New setups, looking in
5760         automake manual, then makefile-mode.
5761         (makefile-mode): Remove automake manual, have it just in
5762         makefile-automake-mode since there's various things different or
5763         not relevant to plain make.
5764         (makefile-mode): Remove "other-modes" non-existent automake-mode,
5765         believe a hypothetical automake-mode would go to makefile-mode,
5766         not the other way around.
5768 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
5770         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5771         hunk-end tags (Bug#8672).
5773         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5774         vc-annotate-show-diff-revision-at-line (Bug#8671).
5776 2011-05-14  Glenn Morris  <rgm@gnu.org>
5778         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5779         in the middle of an existing one with multiple authors.  (Bug#8645)
5780         (change-log-font-lock-keywords): Also handle multiple author lines
5781         with leading tabs.  (Bug#8644)
5783         * calendar/appt.el (appt-check): Rename some local variables.
5784         Some simplification/reordering.
5786         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5787         (feedmail-sendmail-f-doesnt-sell-me-out)
5788         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5789         (feedmail-debug-sit-for, feedmail-queue-express-hook)
5790         (feedmail-queue-runner-message-sender): Set :version.
5791         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5792         (bbdb-dwim-net-address, vm-mail): Declare.
5793         (feedmail-binmail-gnulinuxish-template):
5794         Rename from feedmail-binmail-linuxish-template.
5795         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5796         Use insert-buffer-substring.
5798 2011-05-14  Bill Carpenter  <bill@carpenter.org>
5800         * mail/feedmail.el (feedmail-patch-level): Increase.
5801         (feedmail-debug): New custom group.
5802         (feedmail-confirm-outgoing-timeout)
5803         (feedmail-sendmail-f-doesnt-sell-me-out)
5804         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5805         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5806         (feedmail-sender-line, feedmail-from-line)
5807         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
5808         (feedmail-spray-this-address)
5809         (feedmail-spray-address-fiddle-plex-list)
5810         (feedmail-queue-use-send-time-for-date)
5811         (feedmail-queue-use-send-time-for-message-id)
5812         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5813         (feedmail-buffer-eating-function):
5814         Doc fixes.
5815         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5816         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5817         (feedmail-message-action-scroll-down): New functions.
5818         (feedmail-queue-directory, feedmail-queue-draft-directory):
5819         Use expand-file-name.
5820         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5821         Remove C-v help entry.
5822         (feedmail-queue-buffer-file-name): New variable.
5823         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5824         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5825         (feedmail-message-action-send-strong, feedmail-message-action-edit)
5826         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5827         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5828         (feedmail-message-action-toggle-spray)
5829         (feedmail-run-the-queue-no-prompts)
5830         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5831         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5832         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5833         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5834         (feedmail-envelope-deducer, feedmail-fiddle-from)
5835         (feedmail-fiddle-sender, feedmail-default-date-generator)
5836         (feedmail-fiddle-date, feedmail-fiddle-message-id)
5837         (feedmail-fiddle-spray-address)
5838         (feedmail-fiddle-list-of-spray-fiddle-plexes)
5839         (feedmail-fiddle-list-of-fiddle-plexes)
5840         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5841         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5842         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5843         Change default.  Doc fix.
5844         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5845         (feedmail-binmail-linuxish-template): New constant.
5846         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
5847         Respect feedmail-sendmail-f-doesnt-sell-me-out.
5848         (feedmail-send-it): Add debug call.
5849         Use feedmail-queue-buffer-file-name, and
5850         feedmail-send-it-immediately-wrapper.
5851         (feedmail-message-action-send): Add debug call.
5852         Use feedmail-send-it-immediately-wrapper.
5853         (feedmail-queue-express-to-queue): Add debug call.
5854         Run feedmail-queue-express-hook.
5855         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
5856         (feedmail-message-action-help-blat):
5857         Rename from feedmail-queue-send-edit-prompt-help-first.
5858         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
5859         Check line-endings.  Handle errors better.
5860         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5861         Doc fix.  Add debug call.
5862         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
5863         Use feedmail-queue-send-edit-prompt-inner.
5864         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5865         (feedmail-queue-send-edit-prompt-inner): New function, extracted
5866         from feedmail-queue-send-edit-prompt.
5867         (feedmail-queue-send-edit-prompt-help)
5868         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5869         (feedmail-tidy-up-slug): Add debug call.
5870         Respect feedmail-queue-slug-suspect-regexp.
5871         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5872         (feedmail-dump-message-to-queue): Add debug call.
5873         Expand queue-directory.
5874         (feedmail-dump-message-to-queue): Change message slightly.
5875         Use feedmail-say-chatter.
5876         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
5877         (feedmail-send-it-immediately-wrapper): New function.
5878         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
5879         Insert empty string rather than newline.  Handle full-frame case.
5880         Use catch/throw.  Use feedmail-say-chatter.
5881         (feedmail-fiddle-from): Try mail-host-address.
5882         (feedmail-default-message-id-generator): Doc fix.
5883         Bind system-time-locale.  Handle missing end.
5884         (feedmail-fiddle-x-mailer): Add debug call.
5885         Handle feedmail-x-mailer-line being nil.
5886         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5887         Add debug call.  Use buffer-substring-no-properties.
5888         (feedmail-say-debug, feedmail-say-chatter): New functions.
5889         (feedmail-find-eoh): Give an explicit error.
5891 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
5893         * net/newst-treeview.el (newsticker-treeview-face): Change default
5894         family from helvetica to sans.
5895         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
5896         etc/images/newsticker.
5898         * net/newst-reader.el (newsticker-feed-face): Change default
5899         family from helvetica to sans.
5901         * net/newst-plainview.el (newsticker-new-item-face)
5902         (newsticker-old-item-face, newsticker-immortal-item-face)
5903         (newsticker-obsolete-item-face, newsticker-date-face)
5904         (newsticker-statistics-face): Change default family from
5905         helvetica to sans.
5906         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
5907         etc/images/newsticker.
5909         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5910         (newsticker--process-auto-mark-filter-match): : Tell user about
5911         auto-marking.
5913 2011-05-13  Didier Verna  <didier@xemacs.org>
5915         Common Lisp indentation improvements on defmethod and lambda-lists.
5916         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5917         TODO entries.
5918         (lisp-lambda-list-keyword-parameter-indentation)
5919         (lisp-lambda-list-keyword-parameter-alignment)
5920         (lisp-lambda-list-keyword-alignment): New customizable user options.
5921         (lisp-indent-defun-method): Improve docstring.
5922         (extended-loop-p): Fix comment.
5923         (lisp-indent-lambda-list-keywords-regexp): New variable.
5924         (lisp-indent-lambda-list): New function.
5925         (lisp-indent-259): Use it.
5926         (lisp-indent-defmethod): Support for more than one
5927         method qualifier and properly indent methods lambda-lists.
5928         (defgeneric): Provide a missing common-lisp-indent-function property.
5930 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5932         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5933         bounds for the empty string (bug#8667).
5935 2011-05-13  Glenn Morris  <rgm@gnu.org>
5937         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5939         * mail/sendmail.el (sendmail-program): Try executable-find first.
5940         (sendmail-send-it): `sendmail-program' cannot be unbound.
5942         * calendar/appt.el (appt-make-list): Simplify.
5943         (appt-time-msg-list): Doc fix.
5944         (appt-check): Change mode-line message at the time of the appointment.
5946 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
5948         * progmodes/ld-script.el (ld-script-keywords)
5949         (ld-script-builtins): Update keywords list.
5951 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5953         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5955         * shell.el (shell-completion-vars): New function.
5956         (shell-mode):
5957         * simple.el (read-shell-command): Use it.
5958         (blink-matching-open): No need for " [...]" in minibuffer-message.
5960 2011-05-12  Glenn Morris  <rgm@gnu.org>
5962         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5963         (appt-check): Simplify.
5965 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
5967         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
5968         literal "/dev/null".
5970 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5972         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5973         Fix typo.
5975 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
5977         * progmodes/which-func.el (which-function):
5978         Use add-log-current-defun instead of add-log-current-defun-function,
5979         which might not be defined (Bug#8260).
5981 2011-05-12  Glenn Morris  <rgm@gnu.org>
5983         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5984         Let byte-compile-initial-macro-environment always take precedence.
5986 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5988         * net/rcirc.el: Add support for SSL/TLS connections.
5989         (rcirc-server-alist): New field `encryption'.
5990         (rcirc): Check `encryption' settings.
5991         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
5992         Merge make-local-variable into `set'.
5993         (rcirc--connection-open-p): New function.
5994         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5995         the process is not a network process (e.g. running gnutls-cli).
5996         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5997         Make rcirc-(en|de)code-coding-system local here.
5998         (rcirc-mode): Merge make-local-variable into `set'.
5999         (rcirc-parent-buffer): Make permanent buffer-local.
6000         (rcirc-multiline-minor-mode): Don't do it here.
6001         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6002         there's no server buffer.
6004 2011-05-11  Glenn Morris  <rgm@gnu.org>
6006         * newcomment.el (comment-kill): Prefix "unused" local.
6008         * term/w32console.el (get-screen-color): Declare.
6010         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6011         Handle symbol elements of byte-compile-initial-macro-environment.
6013 2011-05-10  Leo Liu  <sdl.web@gmail.com>
6015         * bookmark.el (bookmark-bmenu-mode-map):
6016         Bind bookmark-bmenu-search to `/'.
6018         * mail/footnote.el: Convert to utf-8 encoding.
6019         (footnote-unicode-string, footnote-unicode-regexp): New variable.
6020         (Footnote-unicode): New function.
6021         (footnote-style-alist): Add unicode style to the list.
6022         (footnote-style): Doc fix.
6024 2011-05-10  Jim Meyering  <meyering@redhat.com>
6026         Fix doubled-word typos.
6027         * international/quail.el (quail-insert-kbd-layout): and and -> and
6028         * kermit.el: and and -> and
6029         * net/ldap.el (ldap-search-internal): to to -> to
6030         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6031         * progmodes/js.el (js-mode): and and -> and
6032         * textmodes/artist.el (artist-move-to-xy): at at -> at
6033         (artist-draw-region-trim-line-endings): if if -> if
6034         And Safetyc -> Safety.
6035         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6037 2011-05-10  Glenn Morris  <rgm@gnu.org>
6038             Stefan Monnier  <monnier@iro.umontreal.ca>
6040         * files.el (hack-one-local-variable-eval-safep):
6041         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
6043 2011-05-10  Glenn Morris  <rgm@gnu.org>
6045         * calendar/diary-lib.el (diary-list-entries-hook)
6046         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6047         (diary-nongregorian-marking-hook, diary-list-entries)
6048         (diary-include-other-diary-files, diary-mark-entries)
6049         (diary-mark-included-diary-files): Doc fixes.
6051 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
6053         * misc.el: Require tabulated-list.el during compilation.
6055 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
6057         * progmodes/compile.el (compilation-start):
6058         Run compilation-filter-hook for the async case too.
6059         (compilation-filter-hook): Doc fix.
6061 2011-05-09  Deniz Dogan  <deniz@dogan.se>
6063         * wdired.el: Remove outdated installation comment.  Fix usage
6064         comment.
6066 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
6068         * misc.el: Implement new command `list-dynamic-libraries'.
6069         (list-dynamic-libraries--loaded-only-p): New variable.
6070         (list-dynamic-libraries--refresh): New function.
6071         (list-dynamic-libraries): New command.
6073 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
6075         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6076         Fix the ant regexp to handle end-line and end-column info from jikes.
6077         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
6078         higher priority to avoid clobbering by gnu.
6080 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
6082         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6083         if the face has existing theme settings (Bug#8454).
6085 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
6087         * progmodes/perl-mode.el (perl-imenu-generic-expression):
6088         Only match variables declared via `my' or `our' (Bug#8261).
6090         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6091         special file names `.' and `..' (Bug#8259).
6093 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
6095         * progmodes/grep.el (grep-mode-font-lock-keywords):
6096         Remove buffer-changing entries.
6097         (grep-filter): New function.
6098         (grep-mode): Add it to compilation-filter-hook.
6100         * progmodes/compile.el (compilation-filter-hook)
6101         (compilation-filter-start): New defvars.
6102         (compilation-filter): Call compilation-filter-hook prior to
6103         updating the process mark.
6105 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6107         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6109 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
6111         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6112         mailclient-send-it even if window-system is nil.  (Bug#8595)
6114         * term/w32console.el (terminal-init-w32console):
6115         Call get-screen-color and use its output to set the frame
6116         background-mode.  (Bug#8597)
6118 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6120         Make bytecomp.el understand that defmethod defines funs (bug#8631).
6121         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6122         New functions.
6123         (defgeneric, eieio--defmethod): Use them.
6124         (eieio-defgeneric): Remove.
6125         (defmethod): Call defgeneric in a way visible to the byte-compiler.
6127 2011-05-07  Glenn Morris  <rgm@gnu.org>
6129         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6130         Use let rather than let*.
6131         (timeclock-find-discrep): Remove unused local.
6133         * calendar/diary-lib.el (diary-comment-start): Doc fix.
6135         * calendar/appt.el (appt-time-msg-list): Doc fix.
6137 2011-05-06  Noah Friedman  <friedman@splode.com>
6139         * apropos.el (apropos-print-doc): Only use
6140         emacs-lisp-docstring-fill-column when it is bound to an integer,
6141         per that variable's documentation.
6143 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6145         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
6146         and warnings are not silently discarded (e.g. use -d instead of -P).
6148 2011-05-06  Glenn Morris  <rgm@gnu.org>
6150         * calendar/appt.el (appt-message-warning-time): Doc fix.
6151         (appt-warning-time-regexp): New option.
6152         (appt-make-list): Respect appt-message-warning-time.
6154         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6155         New options.
6156         (diary-add-to-list): Strip comments from the displayed string.
6157         (diary-mode): Set comment-start and comment-end.
6159         * vc/diff-mode.el (smerge-refine-subst): Declare.
6160         (diff-refine-hunk): Don't require smerge-mode when compiling.
6162 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
6164         * simple.el (list-processes): Return nil as the docstring says.
6166 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
6168         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6169         to "".
6170         (ange-ftp-write-region, ange-ftp-insert-file-contents)
6171         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6172         determining of binary transfer.  (Bug#7383)
6174 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
6176         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6177         Fix port computation bug.  (Bug#8618)
6179 2011-05-05  Glenn Morris  <rgm@gnu.org>
6181         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6183         * simple.el (shell-dynamic-complete-functions)
6184         (comint-dynamic-complete-functions): Declare.
6186         * net/network-stream.el (gnutls-negotiate):
6187         * simple.el (tabulated-list-print): Fix declarations.
6189         * progmodes/gud.el (syntax-symbol, syntax-point):
6190         Remove unnecessary and incorrect declarations.
6192         * emacs-lisp/check-declare.el (check-declare-scan):
6193         Handle byte-compile-initial-macro-environment in bytecomp.el
6195 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6197         Fix earlier half-done eieio-defmethod change (bug#8338).
6198         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6199         Streamline and change calling convention.
6200         (defmethod): Adjust accordingly and simplify.
6201         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6202         new eieio--defmethod.
6203         (slot-boundp): Minor CSE simplification.
6205 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
6207         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6208         (glasses-make-readable): Use glasses-separate-capital-groups.
6210 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
6212         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6213         (warning-series): Doc fix.
6214         (display-warning): Don't try to create the buffer if we just found it.
6216 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
6218         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6219         (autoload-find-generated-file): New function.
6220         (generate-file-autoloads): Bind generated-autoload-file to
6221         buffer-file-name.
6222         (update-file-autoloads, update-directory-autoloads):
6223         Use autoload-find-generated-file.  If called interactively, prompt for
6224         output file (Bug#7989).
6225         (batch-update-autoloads): Doc fix.
6227 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
6229         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6231 2011-05-04  Glenn Morris  <rgm@gnu.org>
6233         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6234         function, so it follows changes in calendar-date-style.
6235         (diary-fancy-date-matcher): New function.
6236         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6237         (diary-fancy-font-lock-fontify-region-function):
6238         Use diary-fancy-date-pattern as a function.
6240         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6241         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
6243 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
6245         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6246         instead of positional arguments.  Allow :keylist and :crlfiles
6247         arguments.
6248         (open-gnutls-stream): Call it.
6250         * net/network-stream.el (network-stream-open-starttls): Adjust to
6251         call `gnutls-negotiate' with :process and :hostname arguments.
6253 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6255         * minibuffer.el (completion--message): New function.
6256         (completion--do-completion, minibuffer-complete)
6257         (minibuffer-force-complete, minibuffer-complete-word): Use it.
6258         (completion--do-completion): Don't ignore completion-auto-help when in
6259         icomplete-mode.
6261         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6262         internal encoding (e.g. tibetan zero is not whitespace).
6263         (global-whitespace-mode): Prefer save-current-buffer.
6264         (whitespace-trailing-regexp): Remove useless save-match-data.
6265         (whitespace-empty-at-bob-regexp): Minor simplification.
6267 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
6269         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6271 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6273         * textmodes/ispell.el (ispell-add-per-file-word-list):
6274         Use `concat' to create string for insertion.
6276 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6278         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6279         Avoid open-line which runs post-self-insert-hook.
6280         (bibtex-fill-entry): Remove unused `end' var.
6282 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
6284         * textmodes/ispell.el (ispell-add-per-file-word-list):
6285         Protect against `nil' value of `comment-start' (Bug#8579).
6287 2011-05-03  Leo Liu  <sdl.web@gmail.com>
6289         * isearch.el (isearch-yank-pop): New command.
6290         (isearch-mode-map): Bind it to `M-y'.
6291         (isearch-forward): Mention it.
6293 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6295         * simple.el (minibuffer-complete-shell-command): Remove.
6296         (minibuffer-local-shell-command-map): Use completion-at-point.
6297         (read-shell-command): Setup completion vars here instead.
6298         (read-expression-map): Bind TAB to symbol completion.
6300         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6301         error directly rather via storing it into `results'.
6303 2011-05-02  Leo Liu  <sdl.web@gmail.com>
6305         * vc/diff.el: Fix description.
6307 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6309         * server.el (server-eval-at): New function.
6311 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6313         * net/network-stream.el (open-network-stream): Take a :nowait
6314         parameter and pass it on to `make-network-process'.
6315         (network-stream-open-plain): Ditto.
6317 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6319         * faces.el (face-spec-set-match-display): Don't match toolkit
6320         options on terminal frames.
6322 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6324         * progmodes/pascal.el: Use lexical binding.
6325         (pascal-mode-map): Remove author preferences.
6327         * pcomplete.el (pcomplete-std-complete): Don't abuse
6328         completion-at-point.
6330 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
6332         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6333         removing code that has been dead since 1991 or so.
6335         * startup.el (command-line): When warning about "_emacs", use a
6336         delayed warning to allow the user to filter it out.
6338 2011-04-28  Deniz Dogan  <deniz@dogan.se>
6340         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6341         user has not joined.
6343 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6345         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6346         aren't any completions at point.
6348 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
6350         * subr.el (display-delayed-warnings): New function.
6351         (delayed-warnings-hook): New variable.
6353 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6355         * minibuffer.el (completion-at-point, completion-help-at-point):
6356         Don't presume that a given completion-at-point-function will always
6357         use the same calling convention.
6359         * pcomplete.el (pcomplete-completions-at-point):
6360         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
6361         pcomplete-seen is non-nil.
6362         (pcomplete-comint-setup): Also recognize the new comint/shell
6363         completion functions.
6364         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6365         pcomplete-seen is non-nil.
6367 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
6369         * calendar/icalendar.el (diary-lib): Add require statement.
6370         (icalendar--create-uid): Read out a uid from a text-property on
6371         the first character in the entry.  This allows for code to add its
6372         own uid to the entry.
6373         (icalendar--convert-float-to-ical): Add export of
6374         `diary-float'-entries save for those with the optional DAY
6375         argument.
6377 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
6379         * subr.el (shell-quote-argument): Use alternate escaping strategy
6380         when we spot a variable reference in a string.
6382 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
6384         * cus-start.el (all): Define customization for debug-on-event.
6386 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
6388         * subr.el (shell-quote-argument): Escape correctly under Windows.
6390 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6392         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6394 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
6396         * net/tramp.el (tramp-process-actions): Add POS argument.
6397         Delete region between POS and (pos).
6399         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6400         Use `nil' position in `tramp-process-actions' call.
6401         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6403         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6404         position in `tramp-process-actions' call.
6406         * net/trampver.el: Update release number.
6408 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6410         * custom.el (defcustom): Obey lexical-binding.
6412         Fix octave-inf completion problems reported by Alexander Klimov.
6413         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6414         Inherit from octave-mode-syntax-table.
6415         (inferior-octave-mode): Set info-lookup-mode.
6416         (inferior-octave-completion-at-point): New function.
6417         (inferior-octave-complete): Use it and completion-in-region.
6418         (inferior-octave-dynamic-complete-functions): Use it as well, and use
6419         comint-filename-completion.
6420         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6421         symbol elements which shouldn't be word elements.
6422         (octave-font-lock-keywords, octave-beginning-of-defun)
6423         (octave-function-header-regexp): Adjust regexps accordingly.
6424         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6426 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
6428         * net/gnutls.el (gnutls-errorp): Declare before first use.
6430 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
6432         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6433         verify-error, and verify-hostname-error parameters.  Check whether
6434         default trustfile exists before going to use it.  Add missing
6435         argument to gnutls-message-maybe call.  Return return value.
6436         Reported by Claudio Bley <claudio.bley@gmail.com>.
6437         (open-gnutls-stream): Add usage example.
6439         * net/network-stream.el (network-stream-open-starttls): Give host
6440         parameter to `gnutls-negotiate'.
6441         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
6442         * subr.el (shell-quote-argument): Escape correctly under Windows.
6444 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
6446         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6447         Use correct match group (bug#8438).
6449 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
6451         * emacs-lisp/package.el (package-built-in-p): Fix typo.
6452         (package-menu--generate): New arg specifying packages to show.
6453         (package-menu-refresh, package-menu-execute, list-packages):
6454         Callers changed.
6455         (package-show-package-list): New function, replacing deleted
6456         package--list-packages (renamed because it is non-internal).
6458         * finder.el (finder-list-matches): Use package-show-package-list
6459         instead of deleted package--list-packages.
6461         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6462         Based on a previous implementation by Juanma Barranquero (Bug#8366).
6463         (vc-annotate-mode-map): Bind it to RET.
6465 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
6467         * progmodes/etags.el (next-file): Don't use set-buffer to change
6468         buffers (Bug#8478).
6470 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
6472         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6474         * apropos.el (apropos-label-face): Avoid variable-pitch face.
6475         (apropos-accumulator): Doc fix.
6476         (apropos-function, apropos-macro, apropos-command)
6477         (apropos-variable, apropos-face, apropos-group, apropos-widget)
6478         (apropos-plist): Add face property.
6479         (apropos-symbols-internal): Fix indentation.
6480         (apropos-print): Simplify help, and recognize apropos-multi-type.
6481         (apropos-print-doc): Use button-type-get to extract the button's
6482         face property.  Fill docstring (Bug#8352).
6484 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
6486         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6488         * play/mpuz.el (mpuz-silent): Doc fix.
6489         (mpuz-mode-map): Use mapc.
6490         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6491         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6492         Fix typos in docstrings.
6494         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6495         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6497         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6499 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
6501         * minibuffer.el (completion--do-completion): Avoid the "Next char
6502         not unique" prompt if icomplete-mode is enabled (Bug#5849).
6504         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6505         mouse-2 into unread-command-events, it is interpreted correctly.
6507         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6508         (image-toggle-display): Doc fix.
6510 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
6512         * textmodes/page.el (what-page): Use line-number-at-pos to
6513         calculate line number (Bug#6825).
6515 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
6517         * eshell/esh-mode.el (find-tag-interactive): Declare function.
6518         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6519         Pass argument NO-DEFAULT to `find-tag-interactive'.
6521 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
6523         Lexical-binding cleanup.
6525         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6526         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6527         * progmodes/ada-prj.el (ada-prj-initialize-values)
6528         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6529         (ada-prj-show-value):
6530         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6531         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6532         (antlr-invalidate-context-cache, antlr-options-menu-filter)
6533         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6534         * progmodes/bug-reference.el (bug-reference-push-button):
6535         * progmodes/fortran.el (fortran-line-length):
6536         * progmodes/glasses.el (glasses-change):
6537         * progmodes/octave-mod.el (octave-fill-paragraph):
6538         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6539         (python-pdbtrack-grub-for-buffer, python-sentinel):
6540         * progmodes/sql.el (sql-save-connection):
6541         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6542         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6543         Mark unused parameters.
6545         * progmodes/compile.el (compilation--flush-directory-cache)
6546         (compilation--flush-parse, compile-internal): Mark unused parameters.
6547         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6548         (compilation-next-error-function): Remove unused variable `timestamp'.
6550         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6551         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6553         * progmodes/dcl-mode.el (dcl-end-of-command):
6554         Remove unused variable `start'.
6555         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6556         (dcl-option-value-basic, dcl-option-value-offset)
6557         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6558         Mark unused parameters.
6559         (dcl-save-local-variable): Remove unused variable `val'.
6560         (mode): Declare.
6562         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6563         Mark unused parameters.
6564         (delphi-ignore-changes): Move before first use.
6565         (delphi-charset-token-at): Remove unused variable `start'.
6566         (delphi-else-start): Remove unused variable `if-count'.
6567         (delphi-comment-block-start, delphi-comment-block-end):
6568         Remove unused variable `kind'.
6569         (delphi-indent-line): Remove unused variable `new-point'.
6571         * progmodes/ebrowse.el (ebrowse-files-list)
6572         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6573         Mark unused parameters.  Don't quote `lambda'.
6574         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6575         Don't quote `lambda'.
6576         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6577         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6578         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6579         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6580         Use `ignore-errors'.
6581         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6582         (ebrowse-view/find-file-and-search-pattern)
6583         (ebrowse-view/find-member-declaration/definition):
6584         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6585         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6586         Rename parameter PREFIX-ARG to PREFIX.
6587         (ebrowse-tags-read-name): Remove unused variables `start' and
6588         `member-info'.
6589         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6590         to `tags-file'.
6592         * progmodes/etags.el (local-find-tag-hook): Declare.
6593         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6594         Mark unused parameters.
6596         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6597         (executable-interpret): Mark unused parameter.
6599         * progmodes/flymake.el (flymake-process-sentinel)
6600         (flymake-after-change-function)
6601         (flymake-create-temp-with-folder-structure)
6602         (flymake-get-include-dirs-dot): Mark unused parameters.
6603         (flymake-safe-delete-directory): Remove unused variable `err'.
6605         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6606         (speedbar-timer-fn, speedbar-line-text)
6607         (speedbar-change-expand-button-char, speedbar-delete-subblock)
6608         (speedbar-center-buffer-smartly): Declare functions.
6609         (gdb-find-watch-expression): Remove unused variable `array'.
6610         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6611         (gdb-starting): Mark unused parameters.
6612         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6613         (gdb-table-string): Remove unused variable `res'.
6614         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6615         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6616         (gdb-display-buffer): Remove unused variable `cur-size'.
6618         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6619         allow lexical-binding compilation.
6620         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6621         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6622         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6623         Mark unused parameters.
6624         (gud-gdb-marker-filter): Remove unused variable `match'.
6625         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6626         lambda expressions and funcall them, instead of using `fset'.
6628         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6629         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6631         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6632         variable `header-beg'; use `let'.
6634         * progmodes/icon.el (indent-icon-exp): Remove unused variables
6635         `restart', `last-sexp' and `at-do'.
6637         * progmodes/js.el (js--debug): Mark unused parameter.
6638         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6639         (js--splice-into-items): Remove unused variable `item'.
6640         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6642         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6643         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6644         (makefile-complete): Remove unused variable `try'.
6645         (makefile-fill-paragraph, makefile-match-function-end):
6646         Mark unused parameters.
6648         * progmodes/octave-inf.el (inferior-octave-complete):
6649         Remove unused variable `proc'.
6650         (inferior-octave-output-digest): Mark unused parameter.
6652         * progmodes/perl-mode.el (perl-calculate-indent):
6653         Remove unused variable `err'.
6655         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6656         (prolog-indent-line): Mark unused parameters.
6657         (prolog-indent-line): Remove unused variable `beg'.
6659         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6660         (reporter-dont-compact-list): Declare.
6662         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6663         Remove unused variable `char'.
6664         (sh-debug): Mark unused parameter.
6665         (sh-get-indent-info): Remove unused variable `start'.
6666         (sh-calculate-indent): Remove unused variable `var'.
6668         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6669         (simula-electric-keyword): Remove unused variable `null'.
6670         (simula-search-backward, simula-search-forward): Remove unused
6671         variables `begin' and `end'.
6673         * progmodes/vera-mode.el (vera-guess-basic-syntax):
6674         Remove unused variable `pos'.
6675         (vera-electric-tab, vera-comment-uncomment-region):
6676         Mark unused parameters.
6677         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6679 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
6681         * emacs-lisp/package.el (package--builtins, package-alist)
6682         (package-load-descriptor, package-built-in-p, package-activate)
6683         (define-package, package-installed-p)
6684         (package-compute-transaction, package-buffer-info)
6685         (package--push): Doc fix.  Distinguish more clearly between
6686         version strings and version lists.
6688 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
6690         Lexical-binding cleanup.
6692         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6693         (5x5-make-mutate-best):
6694         * play/fortune.el (fortune-in-buffer):
6695         * play/gomoku.el (gomoku-init-display):
6696         * play/solitaire.el (solitaire, solitaire-do-check):
6697         * play/tetris.el (tetris-default-update-speed-function):
6698         Mark unused parameters.
6700         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6701         (bubbles--shift): Remove unused variable `char-org'.
6702         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
6703         (bubbles--show-images): Remove unused variable `char'.
6705         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6706         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6707         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6708         (decipher-analyze-buffer): Use ?\s.
6709         (decipher-make-checkpoint): Remove unused variable `mapping'.
6711         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6713         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6714         Remove unused variable `result'; use `let'.
6716         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6717         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6718         (gametree-children-shown-p, gametree-compute-reduced-score):
6719         Use `ignore-errors'.
6721         * play/handwrite.el (ps-lpr-switches): Declare.
6722         (handwrite): Remove unused variables `pmin' and `lastp'.
6724         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6726         * play/landmark.el (landmark-init-display)
6727         (landmark-update-naught-weights): Mark unused parameters.
6728         (landmark-y): Remove unused variable `noise'.  Simplify.
6729         (landmark-human-plays): Remove unused variable `score'.
6731         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6732         (mpuz-try-proposal): Remove unused variable `game'.
6734         * play/zone.el (life-patterns): Declare.
6736 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
6738         * vc/vc.el (ediff-vc-internal): Declare function.
6740 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6742         * shell.el: Use lexical-binding and std completion UI.
6743         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6744         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6745         comint-preoutput-filter-functions rather than on
6746         comint-output-filter-functions.
6747         (shell-command-completion, shell--command-completion-data)
6748         (shell-filename-completion, shell-environment-variable-completion)
6749         (shell-c-a-p-replace-by-expanded-directory): New functions.
6750         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6751         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6752         (shell-dynamic-complete-environment-variable): Use them.
6753         (shell-dynamic-complete-as-environment-variable)
6754         (shell-dynamic-complete-as-command): Remove.
6755         (shell-match-partial-variable): Match past point.
6756         * comint.el: Clean up use of completion-at-point-functions.
6757         (comint-completion-at-point): New function.
6758         (comint-mode): Use it completion-at-point-functions.
6759         (comint-dynamic-complete): Make it obsolete.
6760         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6761         (comint-c-a-p-replace-by-expanded-history): New function.
6762         (comint-dynamic-complete-functions)
6763         (comint-replace-by-expanded-history): Use it.
6764         * minibuffer.el (completion-table-with-terminator): Allow dynamic
6765         termination strings.  Try harder to avoid second try-completion.
6766         (completion-in-region-mode-map): Disable bindings that don't work yet.
6768         * comint.el: Use lexical-binding.  Require CL.
6769         (comint-dynamic-complete-functions): Use comint-filename-completion.
6770         (comint-completion-addsuffix): Tweak custom type.
6771         (comint-filename-completion, comint--common-suffix)
6772         (comint--common-quoted-suffix, comint--table-subvert)
6773         (comint--complete-file-name-data): New functions.
6774         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6775         (comint-dynamic-list-filename-completions): Use them.
6776         (comint-dynamic-simple-complete): Make obsolete.
6778         * minibuffer.el (completion-in-region-mode):
6779         Keep completion-in-region-mode--predicate global.
6780         (completion-in-region--postch):
6781         Assume completion-in-region-mode--predicate is not null.
6783         * progmodes/flymake.el (flymake-start-syntax-check-process):
6784         Obey `dir'.  Simplify.
6786         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6787         we're in VC after all.
6789 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
6791         * vc/vc.el (vc-diff-build-argument-list-internal)
6792         (vc-version-ediff, vc-ediff): New commands.
6793         (vc-version-diff): Use vc-diff-build-argument-list-internal.
6795 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6797         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6798         add sanity check.
6800         * obsolete/erc-hecomplete.el: Make obsolete.
6801         * obsolete/: Standardize obsolescence info in the header.
6803 2011-04-20  Glenn Morris  <rgm@gnu.org>
6805         * calendar/solar.el (solar-horizontal-coordinates):
6806         Use the longitude argument rather than `calendar-longitude'.
6807         (solar-date-next-longitude): Remove unused locals.
6809 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6811         * whitespace.el: New version 13.2.1.
6813 2011-04-20  felix  <EmacsWiki>  (tiny change)
6815         * whitespace.el (global-whitespace-mode): Keep highlight when
6816         switching between major modes on a file.
6818 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6820         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6821         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6822         multi-line comments as well.
6824 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
6826         Lexical-binding cleanup.
6828         * arc-mode.el (archive-mode-revert):
6829         * cmuscheme.el (scheme-interactively-start-process):
6830         * custom.el (custom-initialize-delay):
6831         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6832         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6833         * emacs-lock.el (emacs-lock-clear-sentinel):
6834         * ezimage.el (defezimage):
6835         * follow.el (follow-avoid-tail-recenter):
6836         * fringe.el (set-fringe-mode-1):
6837         * generic-x.el (bat-generic-mode-compile):
6838         * help-mode.el (help-info-variable, help-do-xref)
6839         (help-mode-revert-buffer):
6840         * help.el (view-emacs-todo):
6841         * iswitchb.el (iswitchb-completion-help):
6842         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6843         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6844         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6845         * locate.el (locate-update):
6846         * longlines.el (longlines-encode-region)
6847         (longlines-after-change-function):
6848         * outline.el (outline-isearch-open-invisible):
6849         * ps-def.el (declare-function, charset-dimension, char-width)
6850         (encode-char):
6851         * ps-mule.el (ps-mule-plot-string):
6852         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6853         (recentf-edit-list-select, recentf-edit-list-validate)
6854         (recentf-open-files-action):
6855         * rect.el (delete-whitespace-rectangle-line)
6856         (rectangle-number-line-callback):
6857         * register.el (window-configuration-to-register)
6858         (frame-configuration-to-register):
6859         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6860         * select.el (xselect-convert-to-string, xselect-convert-to-length)
6861         (xselect-convert-to-targets, xselect-convert-to-delete)
6862         (xselect-convert-to-filename, xselect-convert-to-charpos)
6863         (xselect-convert-to-lineno, xselect-convert-to-colno)
6864         (xselect-convert-to-os, xselect-convert-to-host)
6865         (xselect-convert-to-user, xselect-convert-to-class)
6866         (xselect-convert-to-name, xselect-convert-to-integer)
6867         (xselect-convert-to-atom, xselect-convert-to-identity):
6868         * subr.el (declare, ignore, process-kill-without-query)
6869         (text-clone-maintain):
6870         * terminal.el (te-get-char, te-tic-sentinel):
6871         * tool-bar.el (tool-bar-make-keymap):
6872         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6873         * type-break.el (type-break-mode, type-break-noninteractive-query):
6874         * view.el (View-back-to-mark):
6875         * wid-browse.el (widget-browse-action, widget-browse-widget)
6876         (widget-browse-widgets, widget-browse-sexp):
6877         * widget.el (define-widget-keywords):
6878         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6879         Mark unused parameters.
6881         * align.el (align-adjust-col-for-rule): Mark unused parameter.
6882         (align-areas): Remove unused variable `look'.
6883         (align-region): Remove unused variables `real-end' and `pos-list'.
6885         * apropos.el (apropos-score-doc): Remove unused variable `i'.
6887         * bindings.el (mode-line-modified, mode-line-remote):
6888         Mark unused parameters.
6889         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6891         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6892         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6894         * comint.el (comint-history-isearch-pop-state)
6895         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6896         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6897         (comint-substitute-in-file-name): Doc fix.
6899         * completion.el (cmpl-statistics-block): Mark unused parameter.
6900         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6901         (save-completions-to-file, load-completions-from-file):
6902         Remove unused local variable `e'.
6904         * composite.el (compose-chars): Remove unused variable `len'.
6905         (lgstring-insert-glyph): Remove unused variable `g'.
6906         (compose-glyph-string): Remove unused variables `ascent',
6907         `descent', `lbearing' and `rbearing'.
6908         (compose-glyph-string-relative): Remove unused variables
6909         `lbearing', `rbearing' and `wadjust'.
6910         (compose-gstring-for-graphic): Remove unused variables `header',
6911         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
6912         (compose-gstring-for-terminal): Remove unused variables `header'
6913         and `nchars'.  Use `let', not `let*'.
6915         * cus-edit.el (Custom-set, Custom-save, custom-reset)
6916         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6917         (Custom-buffer-done, custom-buffer-create-internal)
6918         (custom-browse-visibility-action, custom-browse-group-tag-action)
6919         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6920         (widget-magic-mouse-down-action, custom-toggle-parent)
6921         (custom-add-parent-links, custom-toggle-hide-variable)
6922         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6923         (custom-toggle-hide-face, face, hook, custom-group-link-action)
6924         (custom-face-menu-create, custom-variable-menu-create, get)
6925         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6926         (custom-reset-standard-save-and-update): Remove unused variable `value'.
6927         (customize-apropos): Remove unused variable `tests'.
6928         (custom-group-value-create): Remove unused variable `hidden-p'.
6929         (sort-fold-case): Declare.
6931         * cus-theme.el (custom-reset-standard-faces-list)
6932         (custom-reset-standard-variables-list): Declare.
6933         (customize-create-theme, custom-theme-revert, custom-theme-write)
6934         (custom-theme-choose-mode, customize-themes, custom-theme-save):
6935         Mark unused parameters.
6937         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6939         * delim-col.el (delimit-columns-max): Move defvar before first use.
6941         * descr-text.el (describe-char-categories): Don't quote `lambda'.
6942         (describe-char): Don't quote `lambda'.  Mark unused parameter.
6944         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6945         (auto-insert): Declare.
6946         (desktop-restore-file-buffer): Rename desktop-* parameters;
6947         mark unused ones.
6948         (desktop-create-buffer): Rename desktop-* parameters and bind them.
6949         (desktop-buffer): Rename desktop-* parameters.
6951         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6952         (dframe-reposition-frame-xemacs, dframe-help-echo)
6953         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6954         Mark unused parameters.
6956         * dired-aux.el (backup-extract-version-start, overwrite-query)
6957         (overwrite-backup-query, rename-regexp-query)
6958         (rename-non-directory-query): Declare.
6959         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6960         (dired-add-entry): Remove unused variable `orig-file-name'.
6961         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6962         Use parameter PRESERVE-TIME instead of accessing dynamic variable
6963         `dired-copy-preserve-time' directly.
6964         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6965         (dired-insert-subdir-newpos): Rename unused variable `pos'.
6967         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6968         (dired-virtual-revert, dired-make-relative-symlink):
6969         Mark unused parameters.
6970         (manual-program): Declare.
6971         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6972         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6973         wrapped in `with-no-warnings' to avoid replacing one warning by another.
6975         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6977         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6979         * echistory.el (electric-history-in-progress, Helper-return-blurb):
6980         Declare.
6982         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6984         * electric.el (Electric-command-loop): Rename parameter
6985         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6987         * expand.el (expand-in-literal): Remove unused variable `here'.
6989         * facemenu.el (facemenu-add-new-color):
6990         Remove unused variable `docstring'.
6992         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6993         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6994         (face-attr-construct): Mark unused parameter.  Doc fix.
6995         (read-color): Remove unused variable `hex-string'.
6997         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6998         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6999         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7000         (display-buffer-other-frame): Remove unused variable `old-window'.
7001         (kill-buffer-hook): Declare.
7002         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7003         Mark unused parameters.
7004         (after-find-file): Pass 1 to `auto-save-mode', not t.
7006         * files-x.el (auto-insert): Declare.
7007         (modify-file-local-variable-prop-line): Remove unused variable `val'.
7009         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
7010         variable `buf'.  Mark unused parameter.
7011         (find-lisp-insert-directory): Mark unused parameter.
7013         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7014         (format-encode-region): Remove unused variables `cur-buf' and `result'.
7015         (format-common-tail): Remove, unused.
7016         (format-deannotate-region): Remove unused variable `loc'.
7017         (format-annotate-region): Remove unused variable `p'.
7018         (format-annotate-single-property-change): Remove unused variables
7019         `default' and `tail'.
7021         * forms.el (read-file-filter): Declare.
7022         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7024         * frame.el (frame-creation-function-alist): Mark unused parameter.
7025         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7027         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7028         Remove unused parameters.
7029         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7030         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7032         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7033         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7034         (hfy-prepare-tag-map): Mark unused parameters.
7035         (htmlfontify-buffer): Use `called-interactively-p'.
7037         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7038         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7039         (ibuffer-do-occur): Mark unused parameters.
7040         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7041         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7043         * ibuffer.el: Don't quote `lambda'.
7044         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7045         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7046         Mark unused parameters.
7048         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7049         (ido-completing-read): Mark unused parameters.
7050         (ido-copy-current-word): Mark unused parameters;
7051         remove unused variable `name'.
7052         (ido-sort-merged-list): Remove unused parameter `dirs'.
7054         * ielm.el (ielm-input-sender): Mark unused parameter.
7055         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7056         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7057         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7058         `ielm-string' as a dynamic variable accessible from the IELM prompt.
7059         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
7061         * image-dired.el (image-dired-display-thumbs): Remove unused
7062         variables `curr-file' and `count'.
7063         (image-dired-remove-tag): Remove unused variable `start'.
7064         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7065         variable `curr-file'
7066         (image-dired-rotate-original): Remove unused variable `temp-file'.
7067         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7068         Remove unused variable `file'.
7069         (image-dired-gallery-generate): Remove unused variable `curr'.
7070         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7072         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7074         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7076         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7078         * isearch.el (minibuffer-history-symbol): Declare.
7079         (isearch-edit-string): Remove unused variable `err'.
7080         (isearch-message-prefix, isearch-message-suffix):
7081         Mark unused parameters.
7083         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7085         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7087         * makesum.el (double-column): Remove unused variable `cnt'.
7089         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7090         (ido-ignore-item-temp-list): Declare.
7092         * mouse-drag.el (mouse-drag-throw): Remove unused variables
7093         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7094         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7095         (mouse-drag-drag): Remove unused variables `mouse-delta' and
7096         `mouse-col-delta'.
7098         * mouse-sel.el (mouse-extend-internal):
7099         Remove unused variable `orig-window-frame'.
7101         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7102         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7103         Move declarations before first use.
7104         (pcomplete-opt): Mark unused parameters; doc fix.
7106         * proced.el (proced-revert): Mark unused parameter.
7107         (proced-send-signal): Remove unused variable `err'.
7109         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7110         Rename parameter PREFIX-ARG to ARG.
7111         (ps-basic-plot-string, ps-basic-plot-whitespace):
7112         Mark unused parameters.
7114         * replace.el (replace-count): Define.
7115         (occur-revert-function): Mark unused parameters.
7116         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7117         (isearch-case-fold-search, isearch-string): Declare.
7118         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7119         bind `case-fold-search'.  Remove unused variables `beg' and `end',
7120         and simplify.
7121         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7122         COUNT and bind `replace-count'.
7123         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7124         to COUNT.
7126         * savehist.el (print-readably, print-string-length): Declare.
7128         * shadowfile.el (shadow-expand-cluster-in-file-name):
7129         Remove unused variable `cluster'.
7130         (shadow-copy-file): Remove unused variable `i'.
7131         (shadow-noquery, shadow-clusters, shadow-site-cluster)
7132         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7133         (shadow-define-literal-group, shadow-define-regexp-group)
7134         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7136         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7137         (shell): Use `called-interactively-p'.
7138         (shell-directory-tracker): Remove unused variable `chdir-failure'.
7140         * simple.el (compilation-context-lines, comint-file-name-quote-list)
7141         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7142         (delete-backward-char): Remove unused variable `ocol'.
7143         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7144         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7145         (event-apply-hyper-modifier, event-apply-shift-modifier)
7146         (event-apply-control-modifier, event-apply-meta-modifier):
7147         Mark unused parameters.
7148         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7149         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7151         * speedbar.el (speedbar-ignored-directory-expressions)
7152         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7153         (speedbar-find-file, speedbar-dir-follow)
7154         (speedbar-directory-buttons-follow, speedbar-tag-find)
7155         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7156         (speedbar-buffers-line-directory, speedbar-buffer-click):
7157         Mark unused parameters.
7158         (speedbar-tag-file): Remove unused variable `mode'.
7159         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7161         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7163         * talk.el (talk): Remove unused variable `display'.
7165         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7166         (tar-write-region-annotate): Mark unused parameter.
7168         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7169         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7170         Declare them, wrapped in `with-no-warnings' to avoid replacing one
7171         warning by another.
7173         * time-stamp.el (time-stamp-string-preprocess):
7174         Remove unused variable `require-padding'.
7176         * tree-widget.el (widget-glyph-enable): Declare.
7177         (tree-widget-action): Mark unused parameter.
7179         * w32-fns.el (x-get-selection): Mark unused parameter.
7180         (autoload-make-program, generated-autoload-file): Declare.
7182         * wdired.el (wdired-revert): Mark unused parameters.
7183         (wdired-xcase-word): Remove unused variable `err'.
7185         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7186         (whitespace-help-scroll): Remove unused variable `data-help'.
7188         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7189         (widget-image-insert, widget-after-change, default)
7190         (widget-default-format-handler, widget-default-notify)
7191         (widget-default-prompt-value, widget-info-link-action)
7192         (widget-url-link-action, widget-function-link-action)
7193         (widget-variable-link-action, widget-file-link-action)
7194         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7195         (widget-field-prompt-internal, widget-field-action, widget-field-match)
7196         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7197         (widget-insert-button-action, widget-delete-button-action, visibility)
7198         (widget-documentation-link-action, widget-documentation-string-action)
7199         (widget-const-prompt-value, widget-regexp-match, symbol)
7200         (widget-coding-system-prompt-value)
7201         (widget-key-sequence-value-to-external, sexp)
7202         (widget-sexp-value-to-internal, character, vector, cons)
7203         (widget-choice-prompt-value, widget-boolean-prompt-value)
7204         (widget-color--choose-action): Mark unused parameters.
7205         (widget-item-match-inline, widget-choice-match-inline)
7206         (widget-checklist-match, widget-checklist-match-inline)
7207         (widget-group-match): Rename parameter VALUES to VALS.
7208         (widget-field-value-set): Remove unused variable `size'.
7209         (widget-color-action): Remove unused variables `value' and `start'.
7211         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
7212         variable `dir'.  Doc fix.
7213         (windmove-find-other-window): Don't pass it.
7215         * window.el (count-windows): Mark unused parameter.
7216         (bw-adjust-window): Remove unused variable `err'.
7218         * woman.el (woman-file-name): Remove unused variable `default'.
7219         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7220         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7221         (global-font-lock-mode): Declare.
7222         (woman-decode-region): Mark unused parameter.
7223         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7225         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7226         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7227         (x-dnd-handle-moz-url): Remove unused variable `title'.
7228         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7230         * xml.el (xml-parse-tag, xml-parse-attlist):
7231         Remove unused variable `pos'.
7233 2011-04-19  Glenn Morris  <rgm@gnu.org>
7235         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7236         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7237         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7238         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7239         * calendar/cal-html.el (cal-html-insert-minical):
7240         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7241         (calendar-mark-date-pattern):
7242         Prefix "unused" locals.
7244         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7245         optional argument `style'.
7247         * calendar/appt.el (appt-make-list):
7248         * calendar/cal-china.el (calendar-chinese-date-string):
7249         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7250         (diary-hebrew-yahrzeit):
7251         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7252         * calendar/calendar.el (calendar-generate-window):
7253         * calendar/time-date.el (time-to-days):
7254         Remove unused local variables.
7256 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
7258         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7259         glyphless-char-display table.
7260         (tabulated-list-glyphless-char-display): New var.
7262 2011-04-18  Sam Steingold  <sds@gnu.org>
7264         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7265         to acknowledgments.
7267 2011-04-17  Glenn Morris  <rgm@gnu.org>
7269         * calendar/diary-lib.el (diary-sexp-entry):
7270         * calendar/holidays.el (holiday-sexp):
7271         Set debug-on-error rather than the removed stack-trace-on-error.
7273 2011-04-16  Glenn Morris  <rgm@gnu.org>
7275         * progmodes/f90.el: Use lexical-binding.
7276         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7278 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7280         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7281         (mail-mode): Setup mailalias completion here instead.
7282         * mail/mailalias.el: Use lexical-binding.
7283         (pattern, mailalias-done): Declare dynamic.
7284         (mail-completion-at-point-function): New function, from mail-complete.
7285         (mail-complete): Use it.
7286         (mail-completion-expand): New function.
7287         (mail-get-names): Use it.
7288         (mail-directory, mail-directory-process, mail-directory-stream):
7289         Don't use `pattern' for lexically bound arg.
7291         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7293         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7294         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7295         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7297         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7298         (byte-save-window-excursion, byte-temp-output-buffer-setup)
7299         (byte-interactive-p): Define them again, for use when inlining
7300         old code.
7302 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
7304         * loadup.el: Use `string-to-number', not `string-to-int'.
7306 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7308         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7309         gud-gdb-complete-command.
7310         (gud-gdb-completions): New function, from gud-gdb-complete-command.
7311         (gud-gdb-completion-at-point): New function.
7312         (gud-gdb-completions): Remove.
7314 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
7316         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7317         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
7318         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7319         whether `executable-find' is bound.
7321         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7323 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7325         * minibuffer.el (completion-in-region-mode-predicate)
7326         (completion-in-region-mode--predicate): New vars.
7327         (completion-in-region, completion-in-region--postch)
7328         (completion-in-region-mode): Use them.
7329         (completion--capf-wrapper): Also return the hook function.
7330         (completion-at-point, completion-help-at-point):
7331         Adjust and provide a predicate.
7333         Preserve arg names for advice of subr and lexical functions (bug#8457).
7334         * help-fns.el (help-function-arglist): Consolidate the subr and
7335         new-byte-code cases.  Add argument `preserve-names' to extract names
7336         from the docstring when needed.
7337         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7338         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7339         (ad-arglist): Use help-function-arglist's new arg.
7340         (ad-definition-type): Use cond.
7342 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
7344         * autorevert.el (auto-revert-handler):
7345         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7346         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7347         Don't quote lambda.
7349         * image-mode.el (image-transform-set-scale):
7350         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7352 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7354         * net/network-stream.el (network-stream-open-starttls): Only do
7355         opportunistic STARTTLS upgrades if we have built-in gnutls support.
7356         Upgrades via gnutls-cli are too slow to be done opportunistically.
7358 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
7360         * dframe.el (dframe-current-frame): Remove spurious quote.
7362 2011-04-12  Glenn Morris  <rgm@gnu.org>
7364         * calendar/cal-tex.el (cal-tex-end-document):
7365         Try to automatically use latin1 input if needed.
7367         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7368         Don't try to cons a mark onto an empty element.
7370 2011-04-11  Leo Liu  <sdl.web@gmail.com>
7372         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7373         buffers.
7374         (ido-kill-buffer-at-head): Support killing virtual buffers.
7376 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
7378         * minibuffer.el (completion-show-inline-help): New var.
7379         (completion--do-completion, minibuffer-complete)
7380         (minibuffer-force-complete, minibuffer-complete-word):
7381         Inhibit minibuffer messages if completion-show-inline-help is nil.
7383         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7384         to avoid interference from inline help (Bug#5849).
7386 2011-04-10  Leo Liu  <sdl.web@gmail.com>
7388         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7389         Fix typo.
7391 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
7393         * image-mode.el (image-toggle-display-image): Signal an error if
7394         not in Image mode.
7395         (image-transform-mode, image-transform-resize)
7396         (image-transform-set-rotation): Doc fix.
7397         (image-transform-set-resize): Delete.
7398         (image-transform-set-scale, image-transform-fit-to-height)
7399         (image-transform-fit-to-width): Handle image-toggle-display-image
7400         and image-transform-resize directly.
7402 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
7404         * doc-view.el (doc-view-fit-width-to-window)
7405         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7406         New functions for fitting the shown image to the Emacs window size.
7407         (doc-view-mode-map): Add bindings for the new functions.
7409 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
7411         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
7412         Fix typo in docstring.
7414 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
7416         * files.el (file-size-human-readable): Produce one digit after
7417         decimal, like "ls -lh" does.
7419         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7420         the file size representation.
7422         * simple.el (list-processes): If async subprocesses are not
7423         available, error out with a clear error message.
7425 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
7427         * help.el (help-form-show): New function, to be called from C.
7428         Put help-form output in a buffer named differently than *Help*.
7430 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
7432         * files.el (file-size-human-readable): New function.
7434         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7435         computing the representation inline.  Don't require `cl'.
7437 2011-04-08  Glenn Morris  <rgm@gnu.org>
7439         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7441         * net/browse-url.el (browse-url-firefox):
7442         Test system-type, not system-configuration.
7444         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7445         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7446         Use log-edit-empty-buffer-p.  (Bug#7598)
7448         * net/rlogin.el (rlogin-process-connection-type): Simplify.
7449         (rlogin-mode-map): Initialize in the defvar.
7450         (rlogin): Use ignore-errors.
7452         * replace.el (occur-mode-map): Some fixes for menu items.
7454 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7456         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
7458 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
7460         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7461         issuing unused warnings.
7463         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7464         macro directly.
7466         * simple.el: Lisp reimplement of list-processes.  Based on an
7467         earlier reimplementation by Leo Liu, but using tabulated-list.el.
7468         (process-menu-mode): New major mode.
7469         (list-processes--refresh, list-processes):
7470         (process-menu-visit-buffer): New functions.
7472         * files.el (save-buffers-kill-emacs): Don't assume any return
7473         value of list-processes, which is undocumented anyway.
7475 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
7477         * emacs-lisp/tabulated-list.el: New file.
7479         * emacs-lisp/package.el: Use Tabulated List mode.
7480         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7481         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
7482         table format using Tabulated List mode variables.
7483         (package--push): New macro, replacing package-list-maybe-add.
7484         (package-menu--generate): Use package--push.  Renamed from
7485         package--generate-package-list.
7486         (package-menu-refresh, list-packages): Use it.
7487         (package-menu--print-info): Rename from package-print-package.
7488         Return insertion data instead of inserting it directly.
7489         (package-menu-describe-package, package-menu-execute):
7490         Use tabulated-list-get-id.
7491         (package-menu-mark-delete, package-menu-mark-install)
7492         (package-menu-mark-unmark, package-menu-backup-unmark)
7493         (package-menu-mark-obsolete-for-deletion):
7494         Use tabulated-list-put-tag.
7495         (package--list-packages, package-menu-revert)
7496         (package-menu-get-package, package-menu-get-version)
7497         (package-menu-sort-by-column): Functions deleted.
7498         (package-menu-package-list, package-menu-sort-key): Vars deleted.
7499         (package-menu--status-predicate, package-menu--version-predicate)
7500         (package-menu--name-predicate)
7501         (package-menu--description-predicate): Handle arguments in the
7502         Tabulated List format.
7503         (package-list-packages-no-fetch): Call list-packages.
7505 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
7507         * files.el (after-find-file-from-revert-buffer): Remove variable.
7508         (after-find-file): Don't bind it.
7509         (revert-buffer-in-progress-p): New variable.
7510         (revert-buffer): Bind it.
7511         Pass nil for `after-find-file-from-revert-buffer'.
7513         * saveplace.el (save-place-find-file-hook): Use new variable
7514         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7516 2011-04-06  Glenn Morris  <rgm@gnu.org>
7518         * Makefile.in (AUTOGEN_VCS): New variable.
7519         (autoloads): Use $AUTOGEN_VCS.
7521         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7522         * calendar/calendar.el (calendar-mode-map):
7523         Check for toolkit scroll bars.  (Bug#8305)
7525 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
7527         * minibuffer.el (completion-in-region--postch)
7528         (completion-in-region-mode): Remove unnecessary messages.
7530 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
7532         * font-lock.el (font-lock-refresh-defaults):
7533         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7534         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7536         * info.el (Info-directory-list, Info-read-node-name-2)
7537         (Info-split-parameter-string): Doc fixes.
7538         (Info-virtual-nodes): Reflow docstring.
7539         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7540         (Info-apropos-toc-nodes, info-finder, Info-get-token)
7541         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7542         Fix typos in docstrings.
7543         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7544         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7545         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7546         (Info-restore-desktop-buffer): Mark unused parameters.
7547         (Info-directory-find-file, Info-directory-find-node)
7548         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7549         (Info-virtual-index-find-node, Info-apropos-find-file)
7550         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
7551         Mark unused parameters; fix typos in docstrings.
7552         (Info-virtual-index): Remove unused local variable `nodename'.
7554 2011-04-05  Deniz Dogan  <deniz@dogan.se>
7556         * net/rcirc.el: Update my e-mail address.
7557         (rcirc-mode-map): Remove M-o binding.
7559 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
7561         * startup.el (command-line): Save the cursor's theme-face
7562         directly, instead of using face-override-spec.
7564         * custom.el (load-theme): Minor optimization in assigning faces.
7566 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
7568         * help-fns.el (describe-variable): Complete all variables having
7569         documentation, including keywords.
7570         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7572 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
7574         Convert to lexical-binding.
7576         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7577         (bs--get-marked-string, bs--get-modified-string)
7578         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7579         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7580         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7582         * ehelp.el (electric-help-execute-extended)
7583         (electric-help-ctrl-x-prefix):
7584         * hexl.el (hexl-revert-buffer-function):
7585         * linum.el (linum-after-change, linum-after-scroll):
7586         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7588         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7590 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
7592         * epa-dired.el:
7593         * epa-mail.el:
7594         * epa-hook.el:
7595         * epa-file.el:
7596         * epa.el:
7597         * epg.el: Use lexical binding.
7599 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
7601         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7603         * textmodes/flyspell.el (flyspell-word): Recognize default
7604         dictionary case for flyspell-mark-duplications-exceptions.
7605         Use regexp matching for languages.
7606         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7607         default dictionary (Bug#7926).
7609 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
7611         * emacs-lisp/package.el (package--with-work-buffer):
7612         Recognize https URLs.
7614         * net/network-stream.el: Move from gnus/proto-stream.el.
7615         Change prefix to network-stream throughout.
7616         (open-protocol-stream): Merge into open-network-stream, leaving
7617         open-protocol-stream as an alias.  Handle nil BUFFER args.
7619         * subr.el (open-network-stream): Move to net/network-stream.el.
7621 2011-04-02  Glenn Morris  <rgm@gnu.org>
7623         * find-dired.el (find-exec-terminator): New option.
7624         (find-ls-option): Test for -ls support.
7625         (find-ls-subdir-switches): Test for -b in find-ls-option.
7626         (find-dired, find-grep-dired): Doc fixes.
7627         (find-dired): Use find-exec-terminator.
7629         * find-dired.el (find-ls-option, find-ls-subdir-switches)
7630         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7631         (find-name-arg): Remove purecopy.
7633         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7634         (grep-compute-defaults): Check for `-exec COMMAND +' support.
7635         Set grep-find-use-xargs, grep-find-command, and grep-find-template
7636         accordingly.  Don't add the null-device if not needed.
7638         * files.el (save-some-buffers): Doc fix.
7640 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
7642         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7644 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
7646         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7647         Use `dolist' rather than `mapcar'.
7649 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7651         Add lexical binding.
7653         * subr.el (apply-partially): Use new closures rather than CL.
7654         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7655         (dolist, dotimes): Use slightly different expansion for lexical code.
7656         (functionp): Move to C.
7657         (letrec): New macro.
7658         (with-wrapper-hook): Use it and apply-partially instead of CL.
7659         (eval-after-load): Preserve lexical-binding.
7660         (save-window-excursion, with-output-to-temp-buffer): Turn them
7661         into macros.
7663         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7665         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7666         than the arglist.
7667         (help-add-fundoc-usage): Don't add `Not documented'.
7668         (help-function-arglist): Handle closures, subroutines, and new
7669         byte-code-functions.
7670         (help-make-usage): Remove leading underscores.
7671         (describe-function-1): Handle closures.
7672         (describe-variable): Use special-variable-p for completion.
7674         * files.el (lexical-binding): Declare safe.
7676         * emacs-lisp/pcase.el: Don't use destructuring-bind.
7677         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
7678         (pcase): Add `let' pattern.
7679         Change memoization so it actually works.
7680         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7681         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7682         <let>: New case.
7684         * emacs-lisp/macroexp.el: Use lexical binding.
7685         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
7686         Don't convert ' to #' without checking that it's indeed quoting
7687         a lambda.
7689         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
7690         Use eval-sexp-add-defvars.
7691         (eval-sexp-add-defvars): New fun.
7693         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7695         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7696         Don't autoload.
7697         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7698         than the internal `byte-compile-lambda'.
7699         (defmethod): Don't hide code under quotes.
7700         (eieio-defmethod): New `code' argument.
7702         * emacs-lisp/eieio-comp.el: Remove.
7704         * emacs-lisp/edebug.el (edebug-eval-defun)
7705         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7706         (edebug-toggle): Avoid `eval'.
7708         * emacs-lisp/disass.el (disassemble-internal): Handle new
7709         `closure' objects.
7710         (disassemble-1): Handle new byte codes.
7712         * emacs-lisp/cl.el (pushnew): Silence warning.
7714         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7715         (cl-byte-compile-throw): Remove.
7716         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7718         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7719         closures.
7721         * emacs-lisp/cconv.el: New file.
7723         * emacs-lisp/bytecomp.el: Use lexical binding instead of
7724         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
7725         (byte-compile-initial-macro-environment):
7726         Handle declare-function here.
7727         (byte-compile--lexical-environment): New var.
7728         (byte-stack-ref, byte-stack-set, byte-discardN)
7729         (byte-discardN-preserve-tos): New lap codes.
7730         (byte-interactive-p): Don't use any more.
7731         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7732         New macros.
7733         (byte-compile-lapcode): Use them and handle new lap codes.
7734         (byte-compile-obsolete): Remove.
7735         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7736         (byte-compile-arglist-warn): Check late def of inlinable funs.
7737         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7738         since they should have been expanded by now.
7739         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7740         (byte-compile-from-buffer): Remove unused second arg.
7741         (byte-compile-preprocess): New function.
7742         (byte-compile-toplevel-file-form): New function to distinguish
7743         file-form calls from outside from file-form calls from hunk-handlers.
7744         (byte-compile-file-form): Simplify.
7745         (byte-compile-file-form-defsubst): Remove.
7746         (byte-compile-file-form-defmumble): Simplify now that
7747         byte-compile-lambda always returns a byte-code-function.
7748         (byte-compile): Preprocess.
7749         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7750         Remove, not used any more.
7751         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7752         (byte-compile-make-args-desc): New funs.
7753         (byte-compile-lambda): Handle lexical functions.  Always return
7754         a byte-code-function.
7755         (byte-compile-reserved-constants): New var, to make up room for
7756         closed-over variables.
7757         (byte-compile-constants-vector): Obey it.
7758         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7759         (byte-compile-macroexpand-declare-function): New function.
7760         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7761         byte-code-functions.
7762         (byte-compile-form): Check obsolescence here.
7763         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7764         (byte-compile-variable-ref): Remove.
7765         (byte-compile-dynamic-variable-op): New fun.
7766         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7767         (byte-compile-variable-set): New funs.
7768         (byte-compile-discard): Add 2 args.
7769         (byte-compile-stack-ref, byte-compile-stack-set)
7770         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7771         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7772         macroexpand-all instead.
7773         (byte-compile-quote-form): Remove.
7774         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7775         (byte-compile-bind, byte-compile-unbind): New funs.
7776         (byte-compile-let): Handle let* and lexical binding.
7777         (byte-compile-let*): Remove.
7778         (byte-compile-catch, byte-compile-unwind-protect)
7779         (byte-compile-track-mouse, byte-compile-condition-case):
7780         Handle a new :fun-body form, used for lexical scoping.
7781         (byte-compile-save-window-excursion)
7782         (byte-compile-with-output-to-temp-buffer): Remove.
7783         (byte-compile-defun): Simplify.
7784         (byte-compile-stack-adjustment): New fun.
7785         (byte-compile-out): Use it.
7786         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7788         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7789         handler any more.
7791         * emacs-lisp/byte-opt.el: Use lexical binding.
7792         (byte-inline-lapcode): Remove (to bytecomp).
7793         (byte-compile-inline-expand): Pay attention to inlining to/from
7794         lexically bound code.
7795         (byte-compile-unfold-lambda): Don't handle byte-code-functions
7796         any more.
7797         (byte-optimize-form-code-walker): Don't handle save-window-excursion
7798         any more and don't call compiler-macros.
7799         (byte-compile-splice-in-already-compiled-code): Remove.
7800         (byte-code): Don't inline any more.
7801         (disassemble-offset): Receive `bytes' as argument rather than via
7802         dynamic scoping.
7803         (byte-compile-tag-number): Declare before first use.
7804         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7805         `return' even if make-spliceable.
7806         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7807         obsolete interactive-p.
7808         (byte-optimize-lapcode): Optimize new lap-codes.
7809         Don't trip up on new form of `byte-constant' lap code.
7811         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7813         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7815         * custom.el (custom-initialize-default, custom-declare-variable):
7816         Use `defvar'.
7818         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7819         New variables.
7820         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7821         (COMPILE_FIRST): Add macroexp and cconv.
7822         * makefile.w32-in: Mirror changes in Makefile.in.
7824         * vc/cvs-status.el:
7825         * vc/diff-mode.el:
7826         * vc/log-edit.el:
7827         * vc/log-view.el:
7828         * vc/smerge-mode.el:
7829         * textmodes/bibtex-style.el:
7830         * textmodes/css.el:
7831         * startup.el:
7832         * uniquify.el:
7833         * minibuffer.el:
7834         * newcomment.el:
7835         * reveal.el:
7836         * server.el:
7837         * mpc.el:
7838         * emacs-lisp/smie.el:
7839         * doc-view.el:
7840         * dired.el:
7841         * abbrev.el: Use lexical binding.
7843 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
7845         * info.el (info-display-manual): New function.
7847 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7849         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7851 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
7853         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
7854         an entry for that server in rcirc-authinfo.  (Bug#8385)
7856 2011-03-31  Glenn Morris  <rgm@gnu.org>
7858         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7860         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7862 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
7864         * progmodes/python.el (python-default-interpreter)
7865         (python-python-command-args, python-jython-command-args)
7866         (python-which-shell, python-which-args, python-which-bufname)
7867         (python-file-queue, python-comint-output-filter-function)
7868         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7869         variables and functions.
7871 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7873         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7874         (completion-in-region-mode): New minor mode.
7875         (completion-in-region): Use it.
7876         (completion-in-region--data, completion-in-region-mode-map): New vars.
7877         (completion-in-region--postch): New function.
7878         (completion--capf-misbehave-funs, completion--capf-safe-funs):
7879         New vars.
7880         (completion--capf-wrapper): New function.
7881         (completion-at-point): Use it to track well-behavedness of
7882         hook functions.
7883         (completion-help-at-point): New command.
7885 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
7887         * vc/add-log.el (add-change-log-entry): Don't use whitespace
7888         syntax class to search for whitespace on a single line
7889         (Message-ID: <4D938140.4030905@redhat.com>).
7891 2011-03-30  Leo Liu  <sdl.web@gmail.com>
7893         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7894         New commands.
7895         (edit-abbrevs-map): Bind them here.
7896         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
7898 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
7900         * allout.el (allout-hide-by-annotation, allout-flag-region):
7901         Reduce possibility of overlay leakage by making them volatile.
7903         * allout-widgets.el (allout-widgets-tally): Define as nil so the
7904         hash is not shared between buffers.  Mode initialization is
7905         responsible for giving it a useful starting value.
7906         (allout-item-span): Reduce possibility of overlay leakage by
7907         making them volatile.
7908         (allout-widgets-count-buttons-in-region): Add diagnostic function
7909         for tracking down button overlay leaks.
7911 2011-03-29  Leo Liu  <sdl.web@gmail.com>
7913         * ido.el (ido-read-internal): Use the default history var
7914         minibuffer-history if no HISTORY is specified.
7916 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
7918         * net/imap.el (imap-shell-open, imap-process-connection-type):
7919         Use imap-process-connection-type for 'shell' streams as well as
7920         Kerberos, SSL, other subprocesses.
7922 2011-03-28  Leo Liu  <sdl.web@gmail.com>
7924         * abbrev.el (abbrev-table-empty-p): New function.
7925         (prepare-abbrev-list-buffer): Place empty abbrev tables after
7926         nonempty ones.  (Bug#5937)
7928 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
7930         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7932 2011-03-27  Leo Liu  <sdl.web@gmail.com>
7934         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7935         for foreground and background colors.
7936         (ansi-color-make-color-map): Adapt.
7938 2011-03-25  Leo Liu  <sdl.web@gmail.com>
7940         * midnight.el (midnight-time-float): Remove.  Note it calculates
7941         the microsecond component incorrectly and seconds-to-time does the
7942         same job.
7943         Remove redundant (require 'timer).
7945         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7946         (ido-completions): Remove unused arguments.  (Bug#8329)
7948 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7950         * minibuffer.el (completion--flush-all-sorted-completions):
7951         Remove itself from hook.
7952         (completion-at-point): Let the functions perform the completion
7953         immediately and return nil or t.
7954         * comint.el (comint-dynamic-complete-functions): Now identical to
7955         completion-at-point-functions.
7956         (comint-dynamic-list-input-ring): Remove unused var `index'.
7957         (comint--match-partial-filename, comint--unquote&expand-filename):
7958         New funs, split from comint-match-partial-filename.
7959         (comint-dynamic-complete): Use completion-at-point.
7960         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7962 2011-03-24  Drew Adams  <drew.adams@oracle.com>
7964         * thingatpt.el: Support `defun'.
7966 2011-03-23  Leo Liu  <sdl.web@gmail.com>
7968         * abbrevlist.el: Move to obsolete/abbrevlist.el.
7970         * help-mode.el (help-mode-finish): Tweak regexp.
7972 2011-03-23  Glenn Morris  <rgm@gnu.org>
7974         * eshell/esh-opt.el (eshell-eval-using-options):
7975         Do not bind unused local variable `eshell-option-stub'.
7977         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7979 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
7981         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7982         keymap variable in `with-no-warnings' to avoid a warning when the
7983         keymap has been already `defconst'ed.
7985 2011-03-22  Leo Liu  <sdl.web@gmail.com>
7987         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7988         encode all chars in abbrevs; otherwise use emacs-mule or
7989         utf-8-emacs.  (Bug#8308)
7991 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
7993         * simple.el (backward-delete-char-untabify):
7994         Avoid warning about using `delete-backward-char'.
7996         * image.el (image-type-file-name-regexps): Make it variable.
7997         `imagemagick-register-types' modifies it, and the user may want
7998         to add new extensions for known image types.
7999         (imagemagick-register-types): Throw error if not using ImageMagick.
8001 2011-03-22  Leo Liu  <sdl.web@gmail.com>
8003         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8004         located before rcirc-prompt-end-marker.
8005         (rcirc-complete): Error if point is not after rcirc prompt.
8006         Handle the case when table is nil.
8007         (rcirc-user-authenticated): Define to fix compiler warning.
8009 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
8011         * custom.el (custom--inhibit-theme-enable): Make it affect only
8012         custom-theme-set-variables and custom-theme-set-faces.
8013         (provide-theme): Ignore custom--inhibit-theme-enable.
8014         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8015         (custom-enabling-themes): Delete variable.
8016         (enable-theme): Accept only loaded themes as arguments.
8017         Ignore the special custom-enabled-themes variable.
8018         (custom-enabled-themes): Forbid themes from setting this.
8019         Eliminate use of custom-enabling-themes.
8020         (custom-push-theme): Quote "changed" custom var entry.
8022 2011-03-21  Leo Liu  <sdl.web@gmail.com>
8024         * ido.el (ido-read-internal): Add ido-selected to history instead
8025         of user input.
8027 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8029         * subr.el (deferred-action-list, deferred-action-function):
8030         Mark obsolete.
8032 2011-03-21  Leo Liu  <sdl.web@gmail.com>
8034         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8035         change on 2011-02-13 (bug#8309).
8037         * minibuffer.el (read-file-name-function): Change default value.
8038         (read-file-name--defaults): Rename from read-file-name-defaults.
8039         (read-file-name-default): Rename from read-file-name.
8040         (read-file-name): Call read-file-name-function.
8042 2011-03-21  Glenn Morris  <rgm@gnu.org>
8044         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8045         Doc fixes.
8047 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
8049         * cus-theme.el: Add missing provide statement.
8050         (customize-create-theme): Extract theme value correctly.
8051         (custom-theme-visit-theme): Autoload.
8052         (customize-create-theme): Prompt before inserting default faces.
8054 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
8056         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8057         units and musical notes.
8059 2011-03-20  Leo  <sdl.web@gmail.com>
8061         * ido.el (ido-read-internal): Use completing-read-default.
8062         (ido-completing-read): Fix compatibility with completing-read.
8064 2011-03-20  Christian Ohler  <ohler@gnu.org>
8066         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8067         (ert-delete-all-tests): Use `called-interactively-p' rather than
8068         `interactive-p'.
8069         (ert--make-xrefs-region): Respect END.
8071 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
8073         * dired-aux.el (dired-create-directory): Signal an error if the
8074         directory already exists (Bug#8246).
8076         * facemenu.el (list-colors-display): Call list-faces-display
8077         inside with-help-window.
8078         (list-colors-print): Use display property to align the final
8079         column, instead of checking window-width.
8081 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
8083         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
8084         windows-nt systems.
8085         (emerge-protect-metachars): Quote correctly for ms-dos and
8086         windows-nt systems.
8088 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
8090         * info.el (info-initialize): Replace all uses of `:' with
8091         path-separator for compatibility with non-Unix systems.
8092         Cache quoting of path-separator.  (Bug#8258)
8094 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
8096         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8097         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8098         (mouse-avoidance-mode): Fix typos in docstrings.
8100 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
8102         * startup.el (package-subdirectory-regexp): Move from package.el.
8103         Omit \\` and \\', and let callers add them.
8105         * emacs-lisp/package.el (package-strip-version)
8106         (package-load-all-descriptors): Add \\` and \\' to
8107         package-subdirectory-regexp before using it.
8108         (package-untar-buffer): New arg DIR; ensure that file untars only
8109         into this expected directory.  Remove superfluous delete-region.
8110         (package-unpack): Caller changed.
8111         (package-tar-file-info): Use package-subdirectory-regexp.
8113 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8115         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8116         diff-mode-shared-map (bug#8284).
8117         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
8119 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8121         * calendar/time-date.el (format-seconds): Use assoc instead of
8122         assoc-string, since assoc-string doesn't exist in XEmacs.
8124 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
8126         * custom.el (custom-known-themes): Reflow docstring.
8127         (custom-theme-load-path): Fix typo in docstring.
8128         (load-theme): Fix typo in error message.
8129         (custom-available-themes, custom-variable-theme-value):
8130         Use `let', not `let*'.
8132 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
8134         * calc/README: Mention inclusion of musical notes.
8136         * calc/calc-units.el (calc-lu-quant): Rename from
8137         `calc-logunits-quantity'.
8138         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8139         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8140         (calc-db): Rename from `calc-dblevel'.
8141         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8142         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8143         (calc-np): Rename from `calc-nplevel'.
8144         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8145         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8146         (calc-lu-plus): Rename from `calc-logunits-add'.
8147         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8148         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8149         (calc-lu-minus): Rename from `calc-logunits-sub'.
8150         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8151         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8152         (calc-lu-times): Rename from `calc-logunits-mul'.
8153         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8154         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8155         (calc-lu-divide): Rename from `calc-logunits-div'.
8156         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8157         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8159         * calc/calc-ext.el (calc-init-extensions): Update the names of the
8160         functions being autoloaded.
8162         * calc/calc.el (calc-lu-power-reference): Rename from
8163         `calc-logunits-power-reference'.
8164         (calc-lu-field-reference): Rename from
8165         `calc-logunits-field-reference'.
8167         * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8169 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8171         * minibuffer.el (completion-all-sorted-completions):
8172         Use :completion-cycle-penalty text property if present.
8174 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
8176         * allout.el (allout-yank-processing): Adjust for new rebulleting
8177         regime so bullet being yanked is used without prompting the user
8178         for a choice.
8180 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
8182         * startup.el (command-line): Warn the user that _emacs is deprecated.
8184 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
8186         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8187         (delphi-verbose, delphi-comment-face, delphi-string-face)
8188         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8189         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8190         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8191         (delphi-new-comment-line, delphi-font-lock-defaults)
8192         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8193         Fix typos in docstrings.
8195 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
8197         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
8198         Invert the roles of character and string values for INSTEAD, so a
8199         string is used for the more common case of a defaulting prompt.
8201 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8203         * progmodes/ruby-mode.el (ruby-backward-sexp):
8204         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8205         * play/gamegrid.el (gamegrid-make-face):
8206         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8207         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8208         * notifications.el (notifications-notify):
8209         * net/xesam.el (xesam-search-engines):
8210         * net/quickurl.el (quickurl-list-insert):
8211         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8213 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
8215         * startup.el (command-line): Update package subdirectory regexp.
8217 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8219         * allout.el (allout-abbreviate-flattened-numbering)
8220         (allout-mode-deactivate-hook): Fix up obsolescence "date".
8222         * subr.el (read-char-choice): Only show the cursor after the prompt,
8223         not after the answer.
8225 2011-03-15  Kevin Ryde  <user42@zip.com.au>
8227         * help-fns.el (variable-at-point): Skip leading quotes, if any
8228         (bug#8253).
8230 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8232         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8233         warning message.
8235 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
8237         * shell.el (shell): When called interactively, offer to change the
8238         shell file name on remote hosts.
8240 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
8242         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8243         integration for LDAP parameters.  The host, base, user or binddn,
8244         and secret tokens can be specified in a netrc file, for instance.
8245         This is optional because an `auth-source' parameter must be
8246         specified in the search attributes.
8248 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
8250         * help.el (describe-mode): Link to the mode's definition (bug#8185).
8252 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8254         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8255         into declaration.  Remove redundant and harmful binding.
8257 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
8259         * files.el (file-ownership-preserved-p): Pass `integer' as an
8260         explicit 2nd argument to `file-attributes'.  If the file's owner
8261         is the Administrators group on Windows, and the current user is
8262         Administrator, consider that a match.
8264         * server.el (server-ensure-safe-dir): Consider server directory
8265         safe on MS-Windows if its owner is the Administrators group while
8266         the current Emacs user is Administrator.  Use `=' to compare
8267         numerical UIDs, since they could be integers or floats.
8269 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
8271         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8273 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
8275         Sync with Tramp 2.2.1.
8277         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8279         * net/trampver.el: Update release number.
8281 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8283         * progmodes/compile.el (compilation--previous-directory): Fix up
8284         various nil/dead-marker mismatches (bug#8014).
8285         (compilation-directory-properties, compilation-error-properties):
8286         Don't call it at a position past the one we're about to change.
8288         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8289         Disable obsolescence warnings in the file that declares it.
8291 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
8293         * allout-widgets.el (allout-widgets-tally):
8294         Initialize allout-widgets-tally as a hash table rather than nil to
8295         prevent mode-line redisplay warnings.  Also, clarify the module
8296         description and fix a comment typo.
8298 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
8300         * help-fns.el (describe-variable): Don't complete keywords.
8301         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8303 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
8305         * emacs-lisp/package.el (package-version-join): Impose a standard
8306         string representation for pre/alpha/beta version lists.
8307         (package-unpack-single): Standardize the directory name by passing
8308         it through package-version-join.
8309         (package-strip-rcs-id): Accept any version string that does not
8310         signal an error in version-to-list.
8312 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
8314         * simple.el (delete-trailing-whitespace): Return nil for the
8315         benefit of `write-file-functions'.
8317 2011-03-10  Glenn Morris  <rgm@gnu.org>
8319         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8321         * vc/vc-git.el (vc-git-program): New option.
8322         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8323         (vc-git--call): Use it.
8325         * eshell/esh-util.el (eshell-condition-case): Doc fix.
8327         * cus-edit.el (Custom-newline): If no button at point, look
8328         for a subgroup button at start-of-line.  (Bug#2298)
8330         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8332 2011-03-10  Julien Danjou  <julien@danjou.info>
8334         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8335         `cursor-type' is nil.
8337 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
8339         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8341 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
8343         * allout.el Summary: Change so yank of distinctive-bullet items
8344         preserves the existing header prefix, rebulleting it if necessary,
8345         rather than replacing it.  This is necessary for proper operation
8346         of cooperative addons like allout-widgets.
8347         (allout-make-topic-prefix, allout-rebullet-heading): Change
8348         SOLICIT arg to INSTEAD, and interpret additionally a string value
8349         as alternate bullet to be used, instead of prompting the user for
8350         a bullet character.
8352 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
8354         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8355         Do not use `tramp-file-name-port', because this returns also
8356         `tramp-default-port'.
8358 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8360         * net/rcirc.el (rcirc-handler-001): Remove useless
8361         with-rcirc-process-buffer.
8362         (rcirc-check-auth-status): Swap arguments to string-match.
8364 2011-03-09  Glenn Morris  <rgm@gnu.org>
8366         * shell.el (shell-mode):
8367         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
8369         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8370         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
8372 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
8374         * emacs-lisp/package.el (package-refresh-contents)
8375         (package-menu-execute): Use condition-case-no-debug.
8377 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
8379         * simple.el (shell-command-to-string): Use `process-file'.
8381         * emacs-lisp/package.el (package-tar-file-info): Handle also
8382         remote files.
8384         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8385         Use `equal' for upload base check.
8387 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
8389         * textmodes/texinfo.el (texinfo-environments):
8390         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
8392 2011-03-08  Glenn Morris  <rgm@gnu.org>
8394         * cus-start.el (cursor-in-non-selected-windows):
8395         Fix :set quoting oddness.  (Bug#8192)
8397         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8398         in some setf expressions.  (Bug#2159)
8400 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
8402         * custom.el (custom-available-themes): Return themes in
8403         alphabetical order.
8405 See ChangeLog.15 for earlier changes.
8407 ;; Local Variables:
8408 ;; coding: utf-8
8409 ;; End:
8411   Copyright (C) 2011  Free Software Foundation, Inc.
8413   This file is part of GNU Emacs.
8415   GNU Emacs is free software: you can redistribute it and/or modify
8416   it under the terms of the GNU General Public License as published by
8417   the Free Software Foundation, either version 3 of the License, or
8418   (at your option) any later version.
8420   GNU Emacs is distributed in the hope that it will be useful,
8421   but WITHOUT ANY WARRANTY; without even the implied warranty of
8422   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8423   GNU General Public License for more details.
8425   You should have received a copy of the GNU General Public License
8426   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.