Tweak previous vz-bzr change yet again
[emacs.git] / lisp / ChangeLog
blobf0d01df98af7785d930b793ec46521131e4f21f6
1 2012-03-22  Glenn Morris  <rgm@gnu.org>
3         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
4         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8         * net/network-stream.el (network-stream-open-starttls): Make error
9         message under Windows be less misleading.
11 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
13         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14         understands (bug#9942).
16 2012-03-22  Chong Yidong  <cyd@gnu.org>
18         * simple.el (end-of-visible-line): Handle return value of
19         next-single-property-change properly (Bug#9371).
21 2012-03-22  Kenichi Handa  <handa@m17n.org>
23         * international/quail.el (quail-insert-kbd-layout): Fix previous
24         change.  To avoid unwanted bidi reordering, use
25         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
27 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
29         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
30         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
31         (ruby-beginning-of-indent): Be more careful with the difference
32         between word-boundary and symbol boundary.
33         (ruby-mode-syntax-table): Make : a symbol constituent.
35 2012-03-21  Andreas Politz  <politza@fh-trier.de>
37         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
39 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
41         * progmodes/etags.el (tags-completion-at-point-function):
42         Improve last fix.
44         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
46 2012-03-21  Sam Steingold  <sds@gnu.org>
48         * progmodes/etags.el (tags-completion-at-point-function):
49         Avoid the error when point is inside the pattern.
51 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
53         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
54         line (Bug#10855).
56 2012-03-21  Drew Adams  <drew.adams@oracle.com>
58         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
60 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
62         * ido.el (ido-set-current-directory, ido-read-internal)
63         (ido-choose-completion-string, ido-completion-help): Handle nil
64         value of ido-completion-buffer (Bug#11008).
66 2012-03-21  Sam Steingold  <sds@gnu.org>
68         * window.el (switch-to-prev-buffer): Do not switch to a visible
69         window previous buffer, just like with the frame previous buffers.
71 2012-03-21  Chong Yidong  <cyd@gnu.org>
73         * faces.el (make-face, make-empty-face, copy-face):
74         * face-remap.el (face-remap-add-relative, face-remap-set-base):
75         Doc fixes.
77 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
79         * wid-edit.el (widget-complete-field): Remove (bug#11051).
80         (widget-complete): Remove broken use of it.
82 2012-03-20  Chong Yidong  <cyd@gnu.org>
84         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
85         Use string-width and truncate-string-width to handle arbitrary
86         characters.
88 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
90         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
91         to draw rectangles, not squares.  (Regression introduced by revno
92         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
94 2012-03-18  Chong Yidong  <cyd@gnu.org>
96         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
97         it is not yet defined (for temacs).
99 2012-03-18  Leo Liu  <sdl.web@gmail.com>
101         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
103 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
105         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
106         (ispell-choices-win-default-height, ispell-silently-savep)
107         (ispell-dictionary-alist, ispell-encoding8-command)
108         (ispell-check-version, ispell-aspell-find-dictionary)
109         (ispell-valid-dictionary-list, ispell-words-keyword)
110         (ispell-get-word, ispell-internal-change-dictionary)
111         (ispell-region, ispell-skip-region-list)
112         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
113         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
114         (ispell-message-text-end, ispell-message)
115         (ispell-buffer-local-parsing): Doc fix.
117 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
119         * htmlfontify.el: Add support for code block fontification for ODT
120         export (Bug #9914).
121         (hfy-optimisations): Define new option
122         `body-text-only'
123         (hfy-fontify-buffer): Honor above setting.
124         (hfy-begin-span, hfy-end-span): New routines factored out form
125         `hfy-fontify-buffer'.
126         (hfy-begin-span-handler, hfy-end-span-handler): New variables
127         that permit insertion of custom tags.
128         (hfy-fontify-buffer): Use above handlers.
129         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
130         (hfy-face-to-css): Re-defined to be a variable.
131         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
132         over multiple runs. This is made possible by having the caller let
133         bind a special variable `hfy-user-sheet-assoc'.
134         (htmlfontify-string): New defun.
135         (hfy-compile-face-map): Make sure that the last char in the
136         buffer is correctly fontified.
137         (hfy-face-resolve-face): Whitespace only change.
139 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
141         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
142         message more clear.
144 2012-03-16  Leo Liu  <sdl.web@gmail.com>
146         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
148 2012-03-16  Alan Mackenzie  <acm@muc.de>
150         Further optimise the handling of large macros.
152         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
153         limit to a call of `c-literal-limits'.
154         (c-determine-+ve-limit): New function.
155         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
156         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
157         In CASE 5B, restrict a search limit to 500.
158         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
160         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
161         Restrict macro bounds to +-500 from after-change's BEG END.
163 2012-03-16  Leo Liu  <sdl.web@gmail.com>
165         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
167 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
169         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
170         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
172 2012-03-16  Glenn Morris  <rgm@gnu.org>
174         * view.el (view-buffer, view-buffer-other-window)
175         (view-buffer-other-frame): Doc fixes re special mode-class.
177         * subr.el (eval-after-load): If named feature is provided not from
178         a file, run after-load forms.  (Bug#10946)
180         * calendar/calendar.el (calendar-insert-at-column):
181         Handle non-unit-width characters a bit better.  (Bug#10978)
183 2012-03-15  Chong Yidong  <cyd@gnu.org>
185         * emacs-lisp/ring.el (ring-extend): New function.
186         (ring-insert+extend): Extend the ring correctly (Bug#11019).
188         * comint.el (comint-read-input-ring)
189         (comint-add-to-input-history): Grow comint-input-ring lazily.
191 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
193         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
194         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
196         * imenu.el: Fix multiple inheritance breakage (bug#9199).
197         (imenu-add-to-menubar): Don't add a redundant index.
198         (imenu-update-menubar): Handle a dynamically composed keymap.
200 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
202         * mail/sendmail.el (mail-encode-header):
203         Bind rfc2047-encode-encoded-words to nil.
205 2012-03-13  Glenn Morris  <rgm@gnu.org>
207         * calendar/calendar.el (calendar-string-spread):
208         Handle non-unit-width characters a bit better.  (Bug#10978)
210 2012-03-13  Leo Liu  <sdl.web@gmail.com>
212         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
213         directory and file as argument (Bug#10822).
215 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
217         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
218         For dynamically generated code, follow $PC.
219         (gdb-disassembly-handler-custom): Handle no function name case.
221 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
223         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
224         * emulation/ws-mode.el (ws-query-replace):
225         * sort.el (sort-regexp-fields):
226         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
228 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
230         * dabbrev.el: Fix cycle completion order (bug#10963).
231         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
232         (dabbrev-completion): Don't use an obarray; provide
233         a cycle-sort-function.
235 2012-03-12  Leo Liu  <sdl.web@gmail.com>
237         * simple.el (kill-new): Use equal-including-properties for comparison.
238         (kill-do-not-save-duplicates): Doc fix.
240 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
242         * dabbrev.el: Fix cycle completion (bug#10963).
243         Use lexical binding and wrap to 80 columns.
244         (dabbrev-completion): Delay computing the list of completions.
246 2012-03-12  Kenichi Handa  <handa@m17n.org>
248         * international/quail.el (quail-insert-kbd-layout): Surround each
249         row by LRO and PDF instead of inserting many LRMs.  Pad the left
250         and right of each non-spacing marks.  Insert invisible space
251         between lower and upper characters to prevent composition.
253 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
255         * minibuffer.el (minibuffer-complete): Don't get confused when the
256         function is run twice via different commands (bug#10958).
257         (complete-with-action): Fix docstring.
259 2012-03-12  Chong Yidong  <cyd@gnu.org>
261         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
262         (nxml-completion-at-point-function): New function.
263         (nxml-mode): Use it.
264         (nxml-bind-meta-tab-to-complete-flag): Default to t.
266         * emacs-lisp/package.el (package-unpack, package-unpack-single):
267         Load generated autoloads file before byte compiling (Bug#10970).
268         (package--make-autoloads-and-compile): New helper fun.
270 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
272         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
274 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
276         * autorevert.el (auto-revert-handler): Ensure, that
277         file-readable-p is applied only for local files or in
278         auto-revert-tail-mode.
280 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
282         * server.el (server-eval-at): Handle non-tcp connections.
283         Decode result string.
285         * server.el (server-msg-size): New constant.
286         (server-reply-print): New function.
287         (server-eval-and-print): Use it.
288         (server-eval-at): Use server-quote-arg and server-unquote-arg.
289         Handle -print-nonl.
291 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
293         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
294         (Bug#10987).
296 2012-03-11  Chong Yidong  <cyd@gnu.org>
298         * simple.el (goto-line): Doc fix (Bug#9938).
300         * subr.el (save-window-excursion): Doc fix (Bug#9979).
302         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
303         when finished (Bug#10963).
305 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
307         * window.el (split-window-below): Fix bug in case where
308         split-window-keep-point is nil (Bug#10971).
310 2012-03-11  Juri Linkov  <juri@jurta.org>
312         * replace.el (replace-highlight): Set isearch-word to nil
313         unconditionally.  (Bug#10887)
315 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
317         * net/mairix.el (mairix-replace-invalid-chars): Rename from
318         mairix-replace-illegal-chars; all callers changed.  Don't remove
319         ^, ~, and = characters: they are meaningful in mairix search specs.
320         (mairix-widget-create-query): Add usage information about mairix
321         search forms: negating words, searching for substrings, etc.
323 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
325         * international/fontset.el (font-encoding-alist): Add an entry for
326         ksx1001 (Bug#5667).
328 2012-03-10  Richard Stallman  <rms@gnu.org>
330         * mail/sendmail.el (mail-encode-header):
331         Set rfc2047-encode-encoded-words.
333         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
335         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
336         view buffer means not swapped.
337         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
338         (rmail-write-region-annotate): Error if real text has disappeared.
340         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
342 2012-03-10  Chong Yidong  <cyd@gnu.org>
344         * emulation/cua-rect.el (cua--init-rectangles):
345         * emulation/cua-base.el (cua--init-keymaps):
346         Add delete-forward-char to remappings (Bug#9666).
348 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
350         * speedbar.el (speedbar-unhighlight-one-tag-line):
351         Avoid unhighlighting due to frame switching (Bug#10275).
353 2012-03-10  Chong Yidong  <cyd@gnu.org>
355         * minibuffer.el (completion-in-region, completion-help-at-point):
356         Give the completion field overlay a high priority (Bug#6830).
358         * dired.el (dired-goto-file): Recognize absolute file name
359         listings (Bug#7126).
360         (dired-goto-file-1): New helper function.
361         (dired-toggle-read-only): Inhibit warnings.
363 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
365         * net/dbus.el: (dbus-property-handler): Return empty array if
366         there are no properties.
368 2012-03-09  Leo Liu  <sdl.web@gmail.com>
370         * savehist.el (savehist-printable): Stricter check for string
371         value (Bug#10937).
373 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
375         * mail/smtpmail.el (smtpmail-send-it):
376         Bind coding-system-for-write to *-unix, so that FCC files are kept in
377         valid mbox format.
379 2012-03-09  Glenn Morris  <rgm@gnu.org>
381         * files.el (dir-locals-find-file):
382         Don't check result is regular, readable.
383         (dir-locals-read-from-file): Demote errors.
385 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
387         * international/quail.el (quail-insert-kbd-layout):
388         Insert invisible LRM characters before each character in a keyboard
389         layout cell, to prevent their reordering by bidi display engine.
390         For details, see the discussion in
391         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
393 2012-03-08  Alan Mackenzie  <acm@muc.de>
395         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
396         the starting position; make it extend the marked region when
397         invoked repeatedly - all under appropriate circumstances.
398         Fixes bugs #5525, #10906.
400 2012-03-08  Glenn Morris  <rgm@gnu.org>
402         * files.el (locate-dominating-file, dir-locals-find-file):
403         Undo 2012-03-06 change.
405 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
407         * international/quail.el (quail-help):
408         Force bidi-paragraph-direction be left-to-right.  See discussion in
409         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
410         for the reason.
412 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
414         Avoid superfluous registering of signals.  (Bug#10807)
416         * notifications.el (notifications-on-action-object)
417         (notifications-on-close-object): New defvars.
418         (notifications-on-action-signal, notifications-on-closed-signal):
419         Unregister the signal if not needed any longer.
420         (notifications-notify): Register `notifications-action-signal' or
421         `notifications-closed-signal', if :on-action or :on-close has been
422         passed as argument.
424 2012-03-07  Chong Yidong  <cyd@gnu.org>
426         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
427         non-X platforms.
429 2012-03-06  Glenn Morris  <rgm@gnu.org>
431         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
432         (x-disown-selection-internal, x-get-selection-internal):
433         Doc fix (add arglist signatures).  (Bug#10783)
435 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
437         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
438         Handle breakpoints with no "type".
440 2012-03-06  Glenn Morris  <rgm@gnu.org>
442         * files.el (locate-dominating-file): Add optional predicate argument.
443         (dir-locals-find-file): Make use of above change.
445 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
447         * info.el (Info-insert-dir): Also try "dir.gz".
449 2012-03-06  Glenn Morris  <rgm@gnu.org>
451         * files.el (dir-locals-find-file):
452         Ignore non-readable or non-regular files.  (Bug#10928)
454         * files.el (locate-dominating-file): Doc fix.
456 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
458         * calendar/calendar.el (calendar-set-mode-line):
459         `getenv' returns a string.  (Bug#10951)
461 2012-03-05  Leo Liu  <sdl.web@gmail.com>
463         * simple.el (backward-delete-char-untabify): Constrain point to
464         field (Bug#10939).
466         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
468 2012-03-05  Chong Yidong  <cyd@gnu.org>
470         * simple.el (count-words): If called from Lisp, return the word
471         count, for symmetry with `count-lines'.  Arglist changed.
472         (count-words--message): Args changed.  Consolidate counting code
473         from count-words and count-words-region.
474         (count-words-region): Caller changed.
475         (count-lines-region): Make it an obsolete alias.
477 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
479         * saveplace.el (save-place-to-alist)
480         (save-place-ignore-files-regexp): Allow value nil to disable this
481         feature.
483 2012-03-04  Chong Yidong  <cyd@gnu.org>
485         * faces.el (face-spec-reset-face): For the default face, reset the
486         attributes to default values (Bug#10748).
488 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
490         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
491         previous patch: Check `message-send-mail-function', and not the
492         default function (bug#10897).
494 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
496         * notifications.el (notifications-on-action-signal)
497         (notifications-on-closed-signal): Check for unique service name of
498         incoming event.  Fix error in removing entry.
499         (top): Register for signals with wildcard service name.
500         (notifications-notify): Use daemon unique service name for map entries.
502 2012-03-04  Chong Yidong  <cyd@gnu.org>
504         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
506 2012-03-04  Glenn Morris  <rgm@gnu.org>
508         * abbrev.el (copy-abbrev-table, abbrev-table-p)
509         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
510         (expand-abbrev, define-abbrev-table): Doc fixes.
512 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
514         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
515         `message-default-send-mail-function' and not `send-mail-function'
516         when doing the prompting for `sendmail-query-once' before sending
517         in Message buffers (bug#10897).
519         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
520         This is inconsistent with all the other stream functions, which leave
521         the setting up to the higher levels (if so wanted) (bug#10931).
523 2012-03-02  Alan Mackenzie  <acm@muc.de>
525         Depessimize the handling of very large macros.
527         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
528         (c-macro-cache-syntactic): New variables to implement a one
529         element macro cache.
530         (c-invalidate-macro-cache): New function.
531         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
532         Adapt to use the new cache.
533         (c-state-safe-place): Use better the cache of safe positions.
534         (c-state-semi-nonlit-pos-cache)
535         (c-state-semi-nonlit-pos-cache-limit):
536         New variables for...
537         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
538         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
539         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
540         Use c-state-semi-safe-place.
542         * progmodes/cc-langs.el (c-get-state-before-change-functions):
543         Add c-invalidate-macro-cache to the C, C++, Obj entries.
545 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
547         * jka-compr.el (jka-compr-call-process):
548         Apply `file-accessible-directory-p' only when the default directory is
549         not remote.
551 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
553         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
554         access of FILE2, if FILE1 does not exist.
556         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
557         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
559         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
560         Add "PAGER=" to `process-environment'.
562 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
564         * progmodes/sql.el: Bug fix
565         (sql-get-login-ext): Save login values in globals.
566         (sql-get-login): Use new version of `sql-get-login-ext'.
567         (sql-interactive-mode): Set global `sql-connection' to nil.
568         (sql-connect): Set global values for connection.
569         (sql-product-interactive): Save global values as buffer local.
571 2012-02-29  Leo Liu  <sdl.web@gmail.com>
573         * abbrev.el (define-abbrevs): Reset sys to nil.
575 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
577         * files.el (file-equal-p): Rename from `files-equal-p'.
578         Return nil when one or both files don't exist.
579         (file-subdir-of-p): Now only top directory must exists,
580         return nil if it doesn't.
581         (copy-directory): No need to test with `file-subdir-of-p' after
582         creating dir.
583         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
584         to `file-equal-p'.
586 2012-02-28  Glenn Morris  <rgm@gnu.org>
588         * shell.el (shell-mode):
589         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
590         * play/landmark.el (landmark-font-lock-face-O):
591         * play/handwrite.el (handwrite):
592         * play/gomoku.el (gomoku-O):
593         * net/browse-url.el (browse-url-browser-display):
594         * international/mule.el (define-charset):
595         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
596         * filesets.el (filesets-find-file-delay):
597         * eshell/em-xtra.el (eshell-xtra):
598         * eshell/em-unix.el (eshell-grep):
599         * emulation/viper.el (viper-mode):
600         * emacs-lisp/regexp-opt.el (regexp-opt-group):
601         * emacs-lisp/easymenu.el (easy-menu-define):
602         * calendar/timeclock.el (timeclock-use-display-time):
603         * bs.el (bs-mode):
604         * bookmark.el (bookmark-save-flag):
605         Doc fix (standardize possessive apostrophe usage).
607 2012-02-27  Chong Yidong  <cyd@gnu.org>
609         * emulation/viper-cmd.el (viper-intercept-ESC-key):
610         Fix key-binding lookup for ESC key (Bug#9146).
612         * font-lock.el (font-lock-specified-p): Rename from
613         font-lock-spec-present.  Callers changed.
615 2012-02-27  Daniel Hackney  <dan@haxney.org>
617         * emacs-lisp/package.el (package-compute-transaction):
618         Handle holding a package version to t in package-load-list.
620 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
622         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
623         (tramp-get-inode, tramp-get-device): Use cached values.
625 2012-02-26  Alan Mackenzie  <acm@muc.de>
627         Check there is a font-lock specification before doing initial
628         fontification.
630         * font-core.el (font-lock-mode): Move the conditional from
631         :after-hook to font-lock-initial-fontify.
632         (font-lock-default-function): Move the check for a specification
633         to font-lock-spec-present.
635         * font-lock.el (font-lock-initial-fontify): Call ...
636         (font-lock-spec-present): New function.
638 2012-02-26  Jim Blandy  <jimb@red-bean.com>
640         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
641         (gdb-send): Apply it to the operand of the '-interpreter-exec
642         console' command, so that we can pass arguments with (say) quotes
643         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
645 2012-02-26  Chong Yidong  <cyd@gnu.org>
647         * help-fns.el (describe-function-1): Clarify description of
648         remapping (Bug#10844).
650         * files.el (files-equal-p): Doc fix.
651         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
652         and quit the loop once a mismatch is found.
654 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
656         * bs.el (bs--show-with-configuration): Don't throw an error
657         if the window cannot be split; otherwise, subsequent calls to
658         bs-show fail, restoring a stale window config.  (Bug#10882)
660 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
662         * term/ns-win.el (global-map): Bind ns-drag-file to
663         ns-find-file (Bug#5855, Bug#10050).
665 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
667         * calendar/parse-time.el (parse-time-string): Allow extractor to
668         return nil.
670 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
672         * net/tramp.el (tramp-file-name-for-operation):
673         Add `files-equal-p' and `file-subdir-of-p'.
675         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
676         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
677         Add COPY-CONTENTS argument.
679 2012-02-25  Chong Yidong  <cyd@gnu.org>
681         Add custom groups for VC backends, for consistency with vc-bzr.
683         * vc/vc-arch.el (vc-arch):
684         * vc/vc-cvs.el (vc-cvs):
685         * vc/vc-git.el (vc-git):
686         * vc/vc-hg.el (vc-hg):
687         * vc/vc-mtn.el (vc-mtn):
688         * vc/vc-rcs.el (vc-rcs):
689         * vc/vc-sccs.el (vc-sccs):
690         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
691         All relevant defcustoms reassigned.
693 2012-02-25  Chong Yidong  <cyd@gnu.org>
695         * newcomment.el (comment-styles): Add autoload (Bug#10868).
697         * term/x-win.el (x-initialize-window-system): Reduce default for
698         x-selection-timeout to 5 seconds (Bug#8869).
700 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
702         * files.el (file-subdir-of-p): Fix typo.
704 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
706         * files.el (files-equal-p, file-subdir-of-p): New functions.
707         (copy-directory): Error when trying to copy a directory on itself.
708         Add missing copy-contents arg to tramp handler.
709         * dired-aux.el (dired-copy-file-recursive): Same.
710         (dired-create-files): Modify destination when source is equal to
711         dest when copying files.
712         Return also when dest is a subdir of source.  (Bug#10489)
714 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
716         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
717         (Bug#10874)
719 2012-02-23  Alan Mackenzie  <acm@muc.de>
721         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
722         parameter "after-hook:" to allow the expansion to run code after
723         the execution of the mode hooks.
725         * font-lock.el (font-lock-initial-fontify): New function extracted
726         from font-lock-mode-internal.
728         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
729         :after-hook.
731 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
733         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
734         (completion--cache-all-sorted-completions): New function.
735         (completion-all-sorted-completions): Use it.
736         (completion--do-completion, minibuffer-force-complete):
737         Use it to re-instate the flush hook.
739         * icomplete.el (icomplete-completions): Replace last fix with a better
740         one (bug#10850).
742 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
744         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
745         when it might call us back infinitely (bug#10797).
747 2012-02-23  Glenn Morris  <rgm@gnu.org>
749         * minibuffer.el (completion-category-overrides): Doc fix.
751 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
753         * minibuffer.el (completion-table-with-context): Fix inf-loop.
754         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
756 2012-02-23  Glenn Morris  <rgm@gnu.org>
758         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
759         (authors-obsolete-files-regexps, authors-ignored-files)
760         (authors-ambiguous-files, authors-renamed-files-alist):
761         Add more entries.
763 2012-02-23  Juri Linkov  <juri@jurta.org>
765         * isearch.el (isearch-occur): Sync interactive spec with occur's
766         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
768         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
770 2012-02-22  Juri Linkov  <juri@jurta.org>
772         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
773         (ucs-insert): Doc fix.  Check for hex digits in the string.
774         Don't display `nil' in the error message.  (Bug#10857)
776 2012-02-22  Alan Mackenzie  <acm@muc.de>
778         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
780 2012-02-22  Glenn Morris  <rgm@gnu.org>
782         * ffap.el (ffap-c-path):
783         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
785 2012-02-22  Chong Yidong  <cyd@gnu.org>
787         * custom.el (load-theme): Doc fix.
789 2012-02-22  Glenn Morris  <rgm@gnu.org>
791         * dired-x.el (dired-guess-shell-alist-default):
792         Remove escape sequences from nroff output.  (Bug#172)
794 2012-02-21  Glenn Morris  <rgm@gnu.org>
796         * vc/emerge.el (emerge-defvar-local):
797         Set `permanent-local' property rather than unused `preserved'.
799         * textmodes/picture.el (picture-delete-char): New alias.
800         (picture-mode-map): Use it.  (Bug#10860)
801         (picture-mode): Doc fix.
803 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
805         * newcomment.el (uncomment-region-default): Remove unused binding.
807 2012-02-21  Glenn Morris  <rgm@gnu.org>
809         * textmodes/picture.el (picture-motion, picture-motion-reverse)
810         (picture-self-insert, picture-tab-chars): Doc fix.
811         (picture-mode-map): Fix C-a, C-e.
813 2012-02-20  Glenn Morris  <rgm@gnu.org>
815         * emacs-lisp/authors.el (authors-aliases): Add another entry.
817 2012-02-20  Leo Liu  <sdl.web@gmail.com>
819         * icomplete.el (icomplete-completions): Check FROM arg before
820         passing to substring (Bug#10850).
822 2012-02-19  Chong Yidong  <cyd@gnu.org>
824         * comint.el: Require ansi-color.
825         (comint-output-filter-functions): Add ansi-color-process-output.
827         * ansi-color.el: Don't set comint-output-filter-functions; it is
828         now in the initial value defined in comint.el.
829         (ansi-color-apply-face-function): New variable.
830         (ansi-color-apply-on-region): Use it.
831         (ansi-color-apply-overlay-face): New function.
833         * shell.el (shell): No need to require ansi-color.
834         (shell-mode): Use ansi-color-apply-face-function to highlight
835         color escapes using font-lock-face property (Bug#10835).
837 2012-02-19  Chong Yidong  <cyd@gnu.org>
839         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
840         mode-line formats (Bug#10839).
842 2012-02-18  Glenn Morris  <rgm@gnu.org>
844         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
846         * mail/undigest.el (unforward-rmail-message): Doc fix.
848         * saveplace.el (save-place-ignore-files-regexp): Add :version.
850 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
852         * international/characters.el (script-list): Sync with the latest
853         Unicode Character Database.
855 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
857         * international/titdic-cnv.el: Remove duplicate coding tag.
858         * language/cham.el: Likewise.
859         * language/tai-viet.el: Likewise.
861 2012-02-18  Glenn Morris  <rgm@gnu.org>
863         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
864         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
865         (calendar-bahai-all-holidays-flag, calendar-other-dates):
866         * calendar/diary-lib.el (diary-abbreviated-year-flag):
867         * calendar/holidays.el (holiday-bahai-holidays)
868         (calendar-holidays, list-holidays):
869         Use utf-8 Bahá'í in doc-strings, menus, etc.
871 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
873         * saveplace.el (save-place-ignore-files-regexp): New variable
874         allowing for excluding files from saving their location of point.
875         The default value matches the temporary commit message editing
876         files from Git, SVN, Bazaar, and Mercurial.
877         (save-place-to-alist): Use it.
879 2012-02-17  Lawrence Mitchell <wence@gmx.li>
880             Stefan Monnier  <monnier@iro.umontreal.ca>
882         * newcomment.el (uncomment-region-default): Don't leave extra space
883         when an arg is provided (bug#8150).
885 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
887         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
889 2012-02-17  Glenn Morris  <rgm@gnu.org>
891         * net/socks.el: Require network-stream.  (Bug#10599)
893 2012-02-17  Kenichi Handa  <handa@m17n.org>
895         * international/charprop.el:
896         * international/uni-name.el:
897         * international/uni-old-name.el:
898         * international/uni-comment.el: Regenerate.
900 2012-02-16  Glenn Morris  <rgm@gnu.org>
902         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
903         Interactively in calendar buffer, give an error if not on a date.
905 2012-02-15  Glenn Morris  <rgm@gnu.org>
907         * shell.el (shell-delimiter-argument-list):
908         Revert 2011-02-17 change.  (Bug#8027)
910 2012-02-15  Chong Yidong  <cyd@gnu.org>
912         * minibuffer.el (completion-at-point-functions): Doc fix.
914         * custom.el (defcustom): Doc fix; note use of defvar.
916 2012-02-15  Glenn Morris  <rgm@gnu.org>
918         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
919         Doc fixes.
921 2012-02-14  Glenn Morris  <rgm@gnu.org>
923         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
925 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
927         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
928         way the ports list is computed.
929         (smtpmail-query-smtp-server): Prompt the user for a port number if
930         we can't connect to any of the standard ports (bug#10810).
932 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
934         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
936 2012-02-13  Glenn Morris  <rgm@gnu.org>
938         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
940 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
942         * net/gnutls.el (gnutls-trustfiles): New variable.
943         (gnutls-negotiate): Use it.
945 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
947         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
948         does its stuff if Gnus is running.
950 2012-02-13  Alan Mackenzie  <acm@muc.de>
952         Fix a loop in c-set-fl-decl-start.
954         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
955         c-backward-syntactic-ws actually moves backwards.
957 2012-02-13  Leo Liu  <sdl.web@gmail.com>
959         * net/rcirc.el (rcirc-markup-attributes): Move point to the
960         beginning so that all \C-o chars are removed.
962 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
964         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
966 2012-02-12  Alan Mackenzie  <acm@muc.de>
968         Fix infinite loop with long macros.
969         * cc-engine.el (c-state-safe-place): Handle macros properly.
971 2012-02-12  Chong Yidong  <cyd@gnu.org>
973         * window.el (display-buffer): Doc fix (Bug#10785).
975 2012-02-12  Glenn Morris  <rgm@gnu.org>
977         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
978         (x-disown-selection-internal, x-get-selection-internal):
979         Sync docs with the xselect.c versions.
981         * allout-widgets.el: Add missing license notice.
983 2012-02-11  Glenn Morris  <rgm@gnu.org>
985         * select.el (x-get-selection-internal, x-own-selection-internal)
986         (x-disown-selection-internal):
987         * x-dnd.el (x-get-selection-internal): Update declarations.
989         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
991         * window.el (window-sides-slots):
992         * tool-bar.el (tool-bar-position):
993         * term/xterm.el (xterm-extra-capabilities):
994         * ses.el (ses-self-reference-early-detection):
995         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
996         (verilog-auto-wire-type)
997         (verilog-auto-delete-trailing-whitespace)
998         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
999         (verilog-auto-tieoff-declaration):
1000         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1001         (sql-oracle-statement-starters, sql-oracle-scan-on):
1002         * progmodes/prolog.el (prolog-align-comments-flag)
1003         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1004         (prolog-left-indent-regexp, prolog-paren-indent-p)
1005         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1006         (prolog-types, prolog-mode-specificators)
1007         (prolog-determinism-specificators, prolog-directives)
1008         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1009         (prolog-electric-dot-flag)
1010         (prolog-electric-dot-full-predicate-template)
1011         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1012         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1013         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1014         (prolog-program-switches, prolog-prompt-regexp)
1015         (prolog-debug-on-string, prolog-debug-off-string)
1016         (prolog-trace-on-string, prolog-trace-off-string)
1017         (prolog-zip-on-string, prolog-zip-off-string)
1018         (prolog-use-standard-consult-compile-method-flag)
1019         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1020         (prolog-imenu-max-lines, prolog-info-predicate-index)
1021         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1022         (prolog-char-quote-workaround):
1023         * progmodes/cc-vars.el (c-defun-tactic):
1024         * net/tramp.el (tramp-encoding-command-interactive)
1025         (tramp-local-end-of-line):
1026         * net/soap-client.el (soap-client):
1027         * net/netrc.el (netrc-file):
1028         * net/gnutls.el (gnutls):
1029         * minibuffer.el (completion-category-overrides)
1030         (completion-cycle-threshold)
1031         (completion-pcm-complete-word-inserts-delimiters):
1032         * man.el (Man-name-local-regexp):
1033         * mail/feedmail.el (feedmail-display-full-frame):
1034         * international/characters.el (glyphless-char-display-control):
1035         * eshell/em-ls.el (eshell-ls-date-format):
1036         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1037         (lisp-lambda-list-keyword-parameter-indentation)
1038         (lisp-lambda-list-keyword-parameter-alignment):
1039         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1040         * dired-x.el (dired-omit-verbose):
1041         * cus-theme.el (custom-theme-allow-multiple-selections):
1042         * calc/calc.el (calc-highlight-selections-with-faces)
1043         (calc-lu-field-reference, calc-lu-power-reference)
1044         (calc-note-threshold):
1045         * battery.el (battery-mode-line-limit):
1046         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1047         (archive-7z-update):
1048         * allout.el (allout-prefixed-keybindings)
1049         (allout-unprefixed-keybindings)
1050         (allout-inhibit-auto-fill-on-headline)
1051         (allout-flattened-numbering-abbreviation):
1052         * allout-widgets.el (allout-widgets-auto-activation)
1053         (allout-widgets-icons-dark-subdir)
1054         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1055         (allout-widgets-theme-dark-background)
1056         (allout-widgets-theme-light-background)
1057         (allout-widgets-item-image-properties-emacs)
1058         (allout-widgets-item-image-properties-xemacs)
1059         (allout-widgets-run-unit-tests-on-load)
1060         (allout-widgets-time-decoration-activity)
1061         (allout-widgets-hook-error-post-time)
1062         (allout-widgets-track-decoration):
1063         Add missing :version tags to new defcustoms and defgroups.
1065         * progmodes/sql.el (sql-ansi-statement-starters)
1066         (sql-oracle-statement-starters): Add custom type.
1068         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1069         (prolog-system-version): Give it a type.
1071 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
1073         * term/pc-win.el (x-select-text, x-selection-owner-p)
1074         (x-own-selection-internal, x-disown-selection-internal)
1075         (x-get-selection-internal): Sync doc strings and argument lists
1076         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
1078 2012-02-11  Leo Liu  <sdl.web@gmail.com>
1080         * progmodes/python.el (python-end-of-statement): Fix infinite
1081         loop.  (Bug#10788)
1083 2012-02-10  Glenn Morris  <rgm@gnu.org>
1085         * international/mule-cmds.el (unify-8859-on-encoding-mode)
1086         (unify-8859-on-decoding-mode): Properly mark as obsolete.
1088 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1090         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1091         about SMTP before checking the From header.
1093         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1094         into own function for reuse by emacsbug.el.
1096 2012-02-10  Leo Liu  <sdl.web@gmail.com>
1098         * subr.el (condition-case-unless-debug): Rename from
1099         condition-case-no-debug.  All callers changed.
1100         (with-demoted-errors): Fix caller.
1102         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1103         * nxml/rng-valid.el (rng-do-some-validation):
1104         * emacs-lisp/package.el (package-refresh-contents)
1105         (package-menu-execute):
1106         * desktop.el (desktop-create-buffer):
1107         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1109 2012-02-10  Glenn Morris  <rgm@gnu.org>
1111         * textmodes/bibtex.el:
1112         Add missing :version tags for new/changed defcustoms.
1114         * files.el (remote-file-name-inhibit-cache): Doc fixes.
1116 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
1118         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1119         (smtpmail-via-smtp): Use it, or fall back on the From address.
1120         (smtpmail-send-it): Ditto.
1122 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1124         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1125         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
1126         (byte-compile-tmp-var): New const.
1127         (byte-compile-defvar): Use it to minimize .elc size.
1128         Just use `defvar' rather than simulate it (bug#10761).
1130 2012-02-09  Glenn Morris  <rgm@gnu.org>
1132         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
1134         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1135         Add :version tags.
1137         * progmodes/compile.el (compilation-error-screen-columns)
1138         (compilation-first-column, compilation-filter-start): Doc fixes.
1140         * vc/log-view.el (log-view-toggle-entry-display):
1141         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1143         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1144         (report-emacs-bug-can-use-xdg-email):
1145         (report-emacs-bug-insert-to-mailer): Doc fixes.
1146         (report-emacs-bug): Message fix.
1148         * net/browse-url.el (browse-url-can-use-xdg-open)
1149         (browse-url-xdg-open): Doc fixes.
1151         * electric.el (electric-indent-mode, electric-pair-mode)
1152         (electric-layout-rules, electric-layout-mode): Doc fixes.
1153         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1155 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
1157         * server.el (server-unselect-display): Don't inadvertently kill
1158         the current buffer.  (Bug#10729)
1160 2012-02-08  Glenn Morris  <rgm@gnu.org>
1162         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1163         (sql-list-table): Doc fixes.
1165         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1166         Comment out (does nothing).
1168         * completion.el (dynamic-completion-mode):
1169         * dirtrack.el (dirtrack-debug-mode):
1170         * electric.el (electric-layout-mode):
1171         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1172         * face-remap.el (text-scale-mode, buffer-face-mode):
1173         * iimage.el (iimage-mode):
1174         * image-mode.el (image-transform-mode):
1175         * minibuffer.el (completion-in-region-mode):
1176         * scroll-lock.el (scroll-lock-mode):
1177         * simple.el (next-error-follow-minor-mode):
1178         * tar-mode.el (tar-subfile-mode):
1179         * tooltip.el (tooltip-mode):
1180         * vcursor.el (vcursor-use-vcursor-map):
1181         * wid-browse.el (widget-minor-mode):
1182         * emulation/tpu-edt.el (tpu-edt-mode):
1183         * emulation/tpu-extras.el (tpu-cursor-free-mode):
1184         * international/iso-ascii.el (iso-ascii-mode):
1185         * language/thai-util.el (thai-word-mode):
1186         * mail/supercite.el (sc-minor-mode):
1187         * net/goto-addr.el (goto-address-mode):
1188         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1189         * progmodes/cwarn.el (cwarn-mode):
1190         * progmodes/flymake.el (flymake-mode):
1191         * progmodes/glasses.el (glasses-mode):
1192         * progmodes/hideshow.el (hs-minor-mode):
1193         * progmodes/pascal.el (pascal-outline-mode):
1194         * textmodes/enriched.el (enriched-mode):
1195         * vc/smerge-mode.el (smerge-mode):
1196         Doc fixes (minor mode argument).
1198 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
1200         * ls-lisp.el (ls-lisp-sanitize): New function.
1201         (ls-lisp-insert-directory): Use it to fix or remove any elements
1202         in file-alist with missing attributes.  (Bug#4673)
1204 2012-02-07  Alan Mackenzie  <acm@muc.de>
1206         Fix spurious recognition of c-in-knr-argdecl.
1208         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1209         putative K&R region.
1211 2012-02-07  Alan Mackenzie  <acm@muc.de>
1213         * progmodes/cc-engine.el (c-forward-objc-directive):
1214         Prevent looping in "#pragma mark @implementation".
1216 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
1218         * notifications.el (notifications-on-closed-signal): Make `reason'
1219         optional.  (Bug#10744)
1221 2012-02-07  Glenn Morris  <rgm@gnu.org>
1223         * emacs-lisp/easy-mmode.el (define-minor-mode):
1224         Doc fixes for the macro and the mode it defines.
1226         * image.el (imagemagick-types-inhibit): Doc fix.
1228         * cus-start.el (imagemagick-render-type): Add it.
1230 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1232         * progmodes/cc-mode.el
1233         (c-standard-font-lock-fontify-region-function): Set the default at
1234         load time, too, so that `font-lock-fontify-buffer' can be called
1235         without setting up the entire mode first.  This fixes a bug in
1236         `mm-inline-text' with C MIME parts.
1238 2012-02-06  Chong Yidong  <cyd@gnu.org>
1240         * simple.el (list-processes--refresh): Delete exited processes
1241         (Bug#8094).
1243         * comint.el (comint-next-prompt): next-single-char-property-change
1244         and prev-single-char-property-change never return nil (Bug#8657).
1246         * custom.el (defcustom): Doc fix (Bug#9711).
1248 2012-02-05  Chong Yidong  <cyd@gnu.org>
1250         * cus-edit.el (custom-variable-reset-backup): Quote the value
1251         before storing it in the customized-value property (Bug#6712).
1252         (custom-display): Add a customization type tag.
1253         (custom-buffer-create-internal): Improve tooltip message.
1255         * wid-edit.el (widget-field-value-get): New optional arg to
1256         suppress trailing whitespace truncation.
1257         (character): Use it (Bug#2689).
1259 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
1261         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1262         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1264 2012-02-05  Chong Yidong  <cyd@gnu.org>
1266         * cus-edit.el (custom-variable-value-create): For mismatched
1267         types, show the current value (Bug#7600).
1269         * custom.el (defcustom): Doc fix.
1271 2012-02-05  Glenn Morris  <rgm@gnu.org>
1273         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1275 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
1277         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1278         (pp-buffer): Use `ignore-errors', `looking-at-p'.
1279         (pp-last-sexp): Use `looking-at-p'.
1281 2012-02-04  Glenn Morris  <rgm@gnu.org>
1283         * files.el (revert-buffer):
1284         Doc fix (mention revert-buffer-in-progress-p).
1286         * emacs-lisp/ert-x.el (ert-simulate-command):
1287         Check deferred-action-list (which is obsolete) is bound.
1289         * subr.el (with-wrapper-hook): Doc fixes.
1291         * simple.el (filter-buffer-substring-functions)
1292         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1294 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1296         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1297         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1299 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1301         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1303 2012-02-04  Glenn Morris  <rgm@gnu.org>
1305         * image.el (image-extension-data): Add obsolete alias.
1307         * isearch.el (isearch-update): Doc fix.
1309         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1311         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1313 2012-02-03  Glenn Morris  <rgm@gnu.org>
1315         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1316         (image-animate-timeout): Doc fix.
1318         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1320 2012-02-02  Glenn Morris  <rgm@gnu.org>
1322         * server.el (server-auth-dir): Doc fix.
1323         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1325         * subr.el (run-mode-hooks): Doc fix.
1327 2012-02-02  Juri Linkov  <juri@jurta.org>
1329         * image-mode.el (image-toggle-display-image): Remove tautological
1330         `major-mode' from the `derived-mode-p' test.
1332 2012-02-02  Kenichi Handa  <handa@m17n.org>
1334         * composite.el (compose-region): Cancel previous change.
1336 2012-02-02  Kenichi Handa  <handa@m17n.org>
1338         * composite.el (compose-region, compose-string): Signal error for
1339         a null string component (Bug#6988).
1341 2012-02-01  Chong Yidong  <cyd@gnu.org>
1343         * view.el (view-buffer-other-window, view-buffer-other-frame):
1344         Handle special modes like view-buffer (Bug#10650).
1345         (view-buffer): Simplify.
1347         * frame.el (set-frame-font): Tweak meaning of third argument.
1349         * dynamic-setting.el (font-setting-change-default-font):
1350         Use set-frame-font (Bug#9982).
1352 2012-02-01  Glenn Morris  <rgm@gnu.org>
1354         * progmodes/compile.el (compilation-internal-error-properties):
1355         Respect compilation-first-column in the "*compilation*" buffer.
1357         * emacs-lisp/easy-mmode.el (define-minor-mode):
1358         Relax :variable's test for a named function.
1360 2012-01-31  Alan Mackenzie  <acm@muc.de>
1362         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1363         off by one error.
1365 2012-01-31  Chong Yidong  <cyd@gnu.org>
1367         * frame.el (set-frame-font): New arg ALL-FRAMES.
1369         * menu-bar.el (menu-set-font): Use set-frame-font.
1371         * faces.el (face-spec-reset-face): Don't apply unspecified
1372         attribute values to the default face.
1374 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1376         * progmodes/cwarn.el (cwarn): Remove dead link.
1377         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1378         Remove * from defcustom docstrings.
1379         (turn-on-cwarn-mode): Make obsolete.
1380         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1381         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1383 2012-01-31  Glenn Morris  <rgm@gnu.org>
1385         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1386         Fix :variable handling of mode a symbol not equal to modefun.
1387         Allow named functions to be used as the cdr of :variable.
1389 2012-01-30  Glenn Morris  <rgm@gnu.org>
1391         * emacs-lisp/authors.el (authors-fixed-entries):
1392         Remove reference to deleted file rnewspost.el.
1394 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1396         * window.el (window-with-parameter): Remove unused variable `windows'.
1397         (window--side-check): Remove unused variable `code'.
1398         (window--resize-siblings): Remove unused variable `first'.
1399         (adjust-window-trailing-edge): Remove unused variable `failed'.
1400         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1401         Use `let', not `let*'.
1402         (balance-windows-2): Remove unused variable `found'.
1403         (window--state-put-2): Remove unused variable `splits'.
1404         (window-state-put): Remove unused variable `selected'.
1405         (same-window-p): Use `string-match-p'.
1406         (display-buffer-assq-regexp): Remove unused variable `value'.
1407         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1408         Mark argument ALIST as ignored.
1409         (pop-to-buffer): Remove unused variable `old-window'.
1411 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1413         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1414         and .lzma compressed files.
1416 2012-01-29  Chong Yidong  <cyd@gnu.org>
1418         * frame.el (window-system-default-frame-alist): Doc fix.
1420         * dynamic-setting.el (font-setting-change-default-font): Don't
1421         change the default face if SET-FONT argument is non-nil (Bug#9982).
1423 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1425         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1427 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1429         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1430         breakpoints in files outside current directory (Bug#6098).
1432 2012-01-29  Chong Yidong  <cyd@gnu.org>
1434         * progmodes/python.el: Require ansi-color at top-level.
1436         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1437         Define and use in Emacs Lisp mode (Bug#9360).
1438         (lisp-mode-abbrev-table): Add doc.
1439         (lisp-mode-variables): Don't set local-abbrev-table.
1440         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1442 2012-01-28  Roland Winkler  <winkler@gnu.org>
1444         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1446 2012-01-28  Roland Winkler  <winkler@gnu.org>
1448         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1449         (bibtex-set-dialect): Use it.  Either set global values of
1450         dialect-dependent variables or bind these variables buffer-locally
1451         (Bug#10254).
1452         (bibtex-mode): Call bibtex-set-dialect via
1453         hack-local-variables-hook.
1454         (bibtex-dialect): Update docstring.
1455         Add safe-local-variable predicate.
1456         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1457         bibtex-set-dialect.
1458         (bibtex-mode-map): Define menu for each dialect.
1459         (bibtex-entry): Fix docstring.
1461 2012-01-28  Chong Yidong  <cyd@gnu.org>
1463         * eshell/esh-arg.el (eshell-quote-argument): New function.
1465         * eshell/esh-ext.el (eshell-invoke-batch-file):
1466         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1467         first arg to eshell-parse-command (Bug#10523).
1469 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1471         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1472         `default-directory' is non-nil.
1474 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1476         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1477         line that displays system-configuration-options.  (Bug#9924)
1479 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1481         * descr-text.el (describe-char): Show information about POS, in
1482         addition to information about the character at POS.  Improve and
1483         update the doc string.  Change "code point" to "code point in
1484         charset", to avoid confusion with the character's Unicode code
1485         point shown above that.  (Bug#10129)
1487 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1489         * descr-text.el (describe-char): Show the raw character, not only
1490         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1491         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1492         for the reasons.
1494 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1496         * emacs-lisp/package.el (package-install):
1497         Run package-refresh-contents if there is no archive yet (Bug#9798).
1499 2012-01-28  Chong Yidong  <cyd@gnu.org>
1501         * emacs-lisp/package.el (package-maybe-load-descriptor):
1502         New function, split from package-maybe-load-descriptor.
1503         (package-maybe-load-descriptor): Use it.
1504         (package-download-transaction): Fully load required packages
1505         inside the loop, so that `require' calls work (Bug#10593).
1506         (package-install): No need to call package-initialize now.
1508 2012-01-28  Chong Yidong  <cyd@gnu.org>
1510         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1512         * tooltip.el (tooltip-mode): Doc fix.
1513         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1515         * frame.el (set-cursor-color): Doc fix (Bug#352).
1517         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1518         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1520         * cus-edit.el (custom-buffer-create-internal): Fix search button
1521         action (Bug#10542).
1522         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1524 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1526         * dired.el (dired-mark-files-regexp):
1527         Include any subdirectory components.  (Bug#10445)
1529 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1531         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1532         Handle [host]:port syntax.  (Bug#10533)
1534 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1536         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1538 2012-01-26  Glenn Morris  <rgm@gnu.org>
1540         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1541         * term.el (term-raw-escape-map): Use Control-X-prefix.
1542         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1544 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
1546         * window.el (window-state-get, window--state-get-1): Don't deal
1547         with fixed-sizeness of windows.  Simplify code.
1549 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
1551         * window.el (window--state-get-1, window--state-put-2):
1552         Don't save and restore the mark.
1554 2012-01-25  Chong Yidong  <cyd@gnu.org>
1556         * custom.el (custom-variable-p): Doc fix.
1558 2012-01-25  Glenn Morris  <rgm@gnu.org>
1560         * dired.el (dired-goto-file): Handle some of the more common
1561         characters that `ls -b' escapes.  (Bug#10596)
1563         * progmodes/compile.el (compilation-next-error-function):
1564         Respect compilation-first-column in the "*compilation*" buffer.
1565         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
1567         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
1569 2012-01-24  Glenn Morris  <rgm@gnu.org>
1571         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
1573 2012-01-24  Julien Danjou  <julien@danjou.info>
1575         * color.el (color-rgb-to-hsl): Fix value computing.
1576         (color-hue-to-rgb): New function.
1577         (color-hsl-to-rgb): New function.
1578         (color-clamp, color-saturate-hsl, color-saturate-name)
1579         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1580         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1582 2012-01-24  Glenn Morris  <rgm@gnu.org>
1584         * vc/vc-rcs.el (vc-rcs-create-tag):
1585         * vc/vc-sccs.el (vc-sccs-create-tag):
1586         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
1588 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1590         * eshell/esh-util.el (eshell-read-hosts-file):
1591         Skip comment lines.  (Bug#10549)
1593         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
1595 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
1597         * subr.el (display-delayed-warnings): Doc fix.
1598         (collapse-delayed-warnings): New function to collapse identical
1599         adjacent warnings.
1600         (delayed-warnings-hook): Add it.
1602 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
1604         * net/tramp.el (tramp-action-login): Set connection property "login-as".
1606         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1607         properties, when "login-as" is set.
1609         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1610         (tramp-default-user-alist): Don't add "pscp".
1611         (tramp-do-copy-or-rename-file-out-of-band): Use connection
1612         property "login-as", if set.  (Bug#10530)
1614 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
1616         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1617         "plink1" and "psftp".  (Bug#10530)
1619 2012-01-21  Kenichi Handa  <handa@m17n.org>
1621         * international/mule-cmds.el (prefer-coding-system): Show a
1622         warning message if the default value of file-name-coding-system
1623         was not changed.
1625 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1627         * windmove.el (windmove-reference-loc):
1628         Fix windmove-reference-loc miscalculation.
1630 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1632         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1633         default unit.
1635 2012-01-21  Glenn Morris  <rgm@gnu.org>
1637         * international/mule.el (auto-coding-alist): Add .tbz.
1639         * files.el (local-enable-local-variables): Doc fix.
1640         (inhibit-local-variables-regexps): Rename from
1641         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
1642         Doc fix.  Add some extensions from auto-coding-alist.
1643         (inhibit-local-variables-suffixes):
1644         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
1645         (inhibit-local-variables-p):
1646         New function, extracted from set-auto-mode-1.
1647         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
1648         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
1649         (hack-local-variables): Doc fix.  Make the mode-only case
1650         respect enable-local-variables and friends.
1651         Respect inhibit-local-variables-regexps for file-locals, but
1652         not for directory-locals.
1653         (set-visited-file-name):
1654         Take account of inhibit-local-variables-regexps.
1655         Whether it applies may change as the file name is changed.
1656         * jka-cmpr-hook.el (jka-compr-install):
1657         * jka-compr.el (jka-compr-uninstall):
1658         Update for inhibit-first-line-modes-suffixes name change.
1660 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
1662         * help-macro.el (make-help-screen): Temporarily restore original
1663         binding for minor-mode-map-alist (Bug#10454).
1665 2012-01-19  Julien Danjou  <julien@danjou.info>
1667         * color.el (color-name-to-rgb): Use the white color to find the max
1668         color component value and return correctly computed values.
1669         (color-name-to-rgb): Add missing float conversion for max value.
1671 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
1673         * window.el (window--state-get-1, window-state-get): Do not use
1674         special state value for window-persistent-parameters.
1675         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
1676         (window--state-put-2): Reset all window parameters to nil before
1677         assigning values of persistent parameters.
1679 2012-01-18  Alan Mackenzie  <acm@muc.de>
1681         Eliminate sluggishness and hangs in fontification of "semicolon
1682         deserts".
1684         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1685         Change value 10000 -> 3000.
1686         (c-state-safe-place): Reformulate so it doesn't stack up an
1687         infinite number of wrong entries in c-state-nonlit-pos-cache.
1688         (c-determine-limit-get-base, c-determine-limit): New functions to
1689         determine backward search limits disregarding literals.
1690         (c-find-decl-spots): Amend commenting.
1691         (c-cheap-inside-bracelist-p): New function which detects "={".
1693         * progmodes/cc-fonts.el
1694         (c-make-font-lock-BO-decl-search-function): Give a limit to a
1695         backward search.
1696         (c-font-lock-declarations): Fix an occurrence of point being
1697         undefined.  Check additionally for point being in a bracelist or
1698         near a macro invocation without a semicolon so as to avoid a
1699         fruitless time consuming search for a declarator.  Give a more
1700         precise search limit for declarators using the new
1701         c-determine-limit.
1703 2012-01-18  Glenn Morris  <rgm@gnu.org>
1705         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1706         (set-auto-mode): Doc fixes.
1708 2012-01-17  Glenn Morris  <rgm@gnu.org>
1710         * isearch.el (search-nonincremental-instead): Fix doc typo.
1712         * dired.el (dired-insert-directory): Handle newlines in directory name.
1713         (dired-build-subdir-alist): Unescape newlines in directory name.
1715 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
1717         * net/tramp.el (tramp-local-end-of-line): New defcustom.
1718         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1719         (tramp-action-terminal): Use it.  (Bug#10530)
1721 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1723         * minibuffer.el (completion--replace): Strip properties (bug#10062).
1725 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
1727         * window.el (window-state-ignored-parameters): Remove variable.
1728         (window--state-get-1): Rename argument MARKERS to IGNORE.
1729         Handle persistent window parameters.  Make copy of clone-of
1730         parameter only if requested.  (Bug#10348)
1731         (window--state-put-2): Install a window parameter only if it has
1732         a non-nil value or an existing parameter shall be overwritten.
1734 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
1736         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1738 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
1740         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1741         don't pass the (nil) value of `upnode' to string-match.
1743 2012-01-14  Chong Yidong  <cyd@gnu.org>
1745         * startup.el (command-line): Fix X resource class for cursorColor.
1746         Fix values recognized by the cursorBlink resource.
1748 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
1750         * epg.el (epg--make-temp-file): Avoid permission race condition
1751         when running on old Emacs versions (bug#10403).
1753 2012-01-14  Glenn Morris  <rgm@gnu.org>
1755         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1757 2012-01-13  Alan Mackenzie  <acm@muc.de>
1759         Fix filling for when filladapt mode is enabled.
1761         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1762         c-mask-paragraph, pass in `fill-paragraph' rather than
1763         `fill-region-as-paragraph'.  (This is a reversion of a previous
1764         change.)
1765         * progmodes/cc-mode.el (c-basic-common-init):
1766         Make fill-paragraph-handle-comment buffer local and set it to nil.
1768 2012-01-13  Glenn Morris  <rgm@gnu.org>
1770         * dired.el (dired-switches-escape-p): New function.
1771         (dired-insert-directory): Use dired-switches-escape-p.
1772         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
1774         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
1776 2012-01-12  Glenn Morris  <rgm@gnu.org>
1778         * mail/sendmail.el (mail-mode): Update paragraph-separate for
1779         changes in adaptive-fill-regexp.  (Bug#10276)
1781 2012-01-11  Alan Mackenzie  <acm@muc.de>
1783         Fix Emacs bug #10463 - put `widen's around the critical spots.
1785         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
1786         widen around each invocation of c-state-pp-to-literal.  Remove an
1787         unused let variable.
1789 2012-01-11  Glenn Morris  <rgm@gnu.org>
1791         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
1792         Doc fix.
1794 2012-01-10  Chong Yidong  <cyd@gnu.org>
1796         * net/network-stream.el (network-stream-open-starttls):
1797         Avoid emitting a confusing error message when the server gives a bad
1798         response to the capability command.
1800 2012-01-10  Glenn Morris  <rgm@gnu.org>
1802         * mail/unrmail.el (unrmail): Tweak previous change.
1804 2012-01-09  Chong Yidong  <cyd@gnu.org>
1806         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1808 2012-01-08  Alan Mackenzie  <acm@muc.de>
1810         Optimise font locking in long enum definitions.
1812         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1813         arm to a cond form to handle enums.
1814         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1815         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1817 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1819         * files.el (move-file-to-trash): Preserve default file modes on error.
1820         (Bug#10401)
1822 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1824         * faces.el (set-face-attribute): Clarify the meaning of the nil
1825         frame (bug#10294).
1827         * subr.el (with-selected-frame): Mention that the selected frame
1828         is restored (bug#9980).
1830         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1831         (bug#9759).
1833         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
1834         (password-read): Don't autoload unused function.
1836 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
1838         * progmodes/which-func.el (which-func-mode): Turn into a
1839         non-interactive function and mark as obsolete (bug#10428).
1841 2012-01-06  Chong Yidong  <cyd@gnu.org>
1843         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1844         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1845         functions, along with 1 and -1.
1847 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
1849         * time.el (display-time-load-average)
1850         (display-time-default-load-average): Doc fixes.  See the thread
1851         starting at
1852         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1853         for the details.
1855 2012-01-06  Glenn Morris  <rgm@gnu.org>
1857         * mail/unrmail.el (unrmail): Give an explicit error if the input file
1858         has no messages.  (Bug#10377)
1860         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1861         than Info-edit.  (Bug#10385)
1863         * time.el (display-time-load-average, display-time-next-load-average):
1864         Doc fixes.
1866         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1867         local setting of buffer-read-only to the input buffer.  (Bug#10419)
1869         * calendar/calendar.el (calendar-mode):
1870         Locally set scroll-margin to 0.  (Bug#10379)
1872 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
1874         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
1876 2012-01-05  Glenn Morris  <rgm@gnu.org>
1878         * eshell/em-unix.el (diff-no-select): Autoload it.
1879         (eshell/diff): Use diff-no-select.  (Bug#10420)
1881 2012-01-05  Chong Yidong  <cyd@gnu.org>
1883         * shell.el (shell-dynamic-complete-functions): Revert last change.
1884         (shell-command-completion-function): New function.
1885         (shell-completion-vars): Use it to implement
1886         shell-completion-execonly (Bug#10417).
1888         * custom.el (enable-theme): Don't set custom-safe-themes.
1890         * cus-theme.el (custom-theme-merge-theme):
1891         Ignore custom-enabled-themes and custom-safe-themes.
1893 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
1895         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1896         first prompt in `sql-interacive-mode'.
1897         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
1898         keywords.
1899         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
1900         (sql-product-interactive): Bug fix: Set `sql-buffer' in
1901         context of original buffer.  Invoke `sql-login-hook'.
1903 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
1905         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1906         letters in cite-prefix.
1908 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1910         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1912 2012-01-03  Chong Yidong  <cyd@gnu.org>
1914         * shell.el (shell-dynamic-complete-functions):
1915         Put pcomplete-completions-at-point, so as to try
1916         comint-filename-completion first (Bug#10417).
1918 2012-01-02  Richard Stallman  <rms@gnu.org>
1920         * battery.el (battery-status-function):
1921         Detect when to use battery-yeeloong-sysfs.
1922         (battery-echo-area-format): Add string for Yeeloong.
1923         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1924         (battery-yeeloong-sysfs): New function.
1926 2012-01-02  Chong Yidong  <cyd@gnu.org>
1928         * dirtrack.el (dirtrack-list): Eliminate unused third element.
1929         (dirtrack): Merge code for handling relative filenames in prompt
1930         from shell-dir-cookie-watcher.
1931         (dirtrack-debug-message): New arg to avoid excess format calls.
1933         * shell.el (shell-dir-cookie-re): Variable deleted.
1934         (shell-dir-cookie-watcher): Function deleted.
1935         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1936         with dirtrack-mode.
1938 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
1940         * term/w32-win.el (dynamic-library-alist) <gnutls>:
1941         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
1942         libgnutls-26.dll.
1944 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
1946         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1948 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
1950         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1951         headers of non-MIME messages, when rmail-enable-mime is non-nil.
1953 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
1955         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1956         also for alternative shells.
1957         (tramp-open-connection-setup-interactive-shell): Check, whether
1958         the shell is a busybox.
1959         (tramp-send-command): Don't suppress multiple prompts for
1960         busyboxes, it hurts.
1962 2011-12-28  Chong Yidong  <cyd@gnu.org>
1964         * progmodes/gdb-mi.el (gdb-get-source-file-list)
1965         (gdb-get-source-file): Move mode line update to
1966         gdb-get-source-file (Bug#10087).
1968 2011-12-25  Chong Yidong  <cyd@gnu.org>
1970         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1971         gud-gdb-marker-filter without taking it as an argument.
1972         (gud-gdb-run-command-fetch-lines): Caller changed.
1973         (gud-gdb-completion-function): New variable.
1974         (gud-gdb-completion-at-point): Use it.
1975         (gud-gdb-completions-1): Split from gud-gdb-completions.
1977         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1978         function as separate arguments.
1979         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1980         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1981         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1982         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1983         (gdb-stopped, def-gdb-auto-update-trigger)
1984         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
1985         (gdb-get-changed-registers, gdb-get-main-selected-frame):
1986         Callers changed.
1987         (gud-gdbmi-completions): New function.
1988         (gdb): Use it for generating the completion table.
1990 2011-12-24  Alan Mackenzie  <acm@muc.de>
1992         Introduce a mechanism to widen the region used in context font
1993         locking.  Use this to protect declarations from losing their contexts.
1995         * progmodes/cc-langs.el (c-before-font-lock-functions):
1996         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
1997         (c-before-context-fontification-functions): New defvar, a list of
1998         functions to be run just before context (etc.) font locking.
2000         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2001         New, functionality extracted from
2002         c-neutralize-syntax-in-and-mark-CPP.
2003         (c-in-after-change-fontification): New variable.
2004         (c-after-change): Set c-in-after-change-fontification.
2005         (c-set-fl-decl-start): Rejig its interface, so it can be called
2006         from both after-change and context fontifying.
2007         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2008         New functions.
2009         (c-standard-font-lock-fontify-region-function): New variable.
2010         (c-font-lock-fontify-region): New function.
2012 2011-12-24  Juri Linkov  <juri@jurta.org>
2014         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2015         (Bug#10348)
2017 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
2019         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2020         existence of source file.  (Bug#10325)
2022 2011-12-23  Alan Mackenzie  <acm@muc.de>
2024         Fix unstable fontification inside templates.
2026         * progmodes/cc-langs.el (c-before-font-lock-functions):
2027         Newly created from the singular version.  The (c c++ objc) entry now
2028         additionally has c-set-fl-decl-start.  The other languages (apart
2029         from AWK) have that as a single entry.
2031         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2032         The functionality for "local" declarations has been extracted to
2033         c-set-fl-decl-start.
2035         * progmodes/cc-mode.el (c-common-init, c-after-change):
2036         Changes due to pluralisation of c-before-font-lock-functions.
2037         (c-set-fl-decl-start): New function, extracted from
2038         c-font-lock-enclosing-decls and enhanced.
2040 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
2042         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2044 2011-12-22  Juri Linkov  <juri@jurta.org>
2046         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
2048 2011-12-22  Chong Yidong  <cyd@gnu.org>
2050         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2052 2011-12-21  Drew Adams  <drew.adams@oracle.com>
2054         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
2056 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2058         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2060 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
2062         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
2063         highlighting and support.  Fix up comments for capitalization.
2064         (cfengine-mode-debug): New var.
2065         (cfengine3-mode): Change the modeline indicator to "CFE3".
2066         (cfengine3-font-lock-keywords): Improve defun highlighting.
2067         (cfengine2-actions): Rename from `cfengine-actions'.
2068         (cfengine2-font-lock-keywords): Rename from
2069         `cfengine-font-lock-keywords'.
2070         (cfengine2-imenu-expression): Rename from
2071         `cfengine-imenu-expression'.
2072         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2073         (cfengine2-beginning-of-defun): Rename from
2074         `cfengine-beginning-of-defun'.
2075         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2076         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2077         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
2078         modeline indicator to "CFE2".
2079         (cfengine-mode): Defalias to `cfengine-auto-mode'.
2080         (cfengine-mode-abbrevs): Mark obsolete.
2082 2011-12-21  Chong Yidong  <cyd@gnu.org>
2084         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2085         filename argument.
2087 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
2089         * window.el (window-normalize-buffer-to-display): Remove.
2090         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2092 2011-12-19  Chong Yidong  <cyd@gnu.org>
2094         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2095         Don't signal an error in a predicate function; return non-nil.
2096         (vc-dir-mark-file): Move the error here.
2097         (vc-dir-mark-unmark): If acting on the region, keep going if one
2098         of the entries cannot be marked/unmarked.
2099         (vc-dir-mark-all-files): If current entry is a directory, mark
2100         only child files, as documented.
2102 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2104         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2105         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2106         addition.
2108 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
2110         * term/ns-win.el (ns-get-selection-internal)
2111         (ns-store-selection-internal): Declare.
2112         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2113         Declare as obsolete.
2114         (ns-get-pasteboard, ns-paste-secondary):
2115         Use ns-get-selection-internal.
2116         (ns-set-pasteboard,  ns-copy-including-secondary):
2117         Use ns-store-selection-internal.
2119 2011-12-17  Chong Yidong  <cyd@gnu.org>
2121         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2122         (vc-deduce-fileset): Doc fix.
2124 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
2126         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2128 2011-12-13  Sam Steingold  <sds@gnu.org>
2130         * man.el (Man-getpage-in-background): When running under a
2131         window-system, ignore $MANWIDTH and $COLUMNS.
2133 2011-12-15  Kenichi Handa  <handa@m17n.org>
2135         * language/ethio-util.el: Change coding tag to utf-8-emacs.
2136         (setup-ethiopic-environment-internal): Comment out key-binding for
2137         ethio-toggle-punctuation.
2139 2011-12-13  Alan Mackenzie  <acm@muc.de>
2141         Add the switch statement to AWK Mode.
2143         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2144         "default" to the keywords regexp.
2146         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2147         expression as the rest.
2148         (c-nonlabel-token-key): Allow string literals for AWK.
2149         Refactor for the other modes.
2151         Large brace-block initialisation makes CC Mode slow: Fix.
2152         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2153         routines.  Limit backward searching in c-font-lock-enclosing.decl.
2155         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2156         pp-state and literal type in addition to the limits.
2157         (c-state-safe-place): New defun, extracted from c-state-literal-at.
2158         (c-state-literal-at): Use the above new defun.
2159         (c-slow-in-literal, c-fast-in-literal): Remove.
2160         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2162         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2163         being in a literal.  Add a limit for backward searching.
2165         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2166         c-slow-in-literal.
2168 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2170         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2172 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
2174         * window.el (delete-other-windows): Use correct frame in call to
2175         window-with-parameter.
2177 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
2179         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2180         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2181         (makefile-gmake-statements, makefile-makepp-statements):
2182         Use it and add new makepp keywords.
2183         (makefile-makepp-font-lock-keywords): Add new patterns.
2184         (makefile-match-function-end): Match new [...] and [[...]].
2186 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
2188         * ses.el (ses-call-printer-return, ses-cell-property-get)
2189         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2190         (ses-create-cell-variable, ses-reset-header-string)
2191         (ses-cell-set-formula, ses-repair-cell-reference-all)
2192         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2193         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2194         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2195         (ses-aset-with-undo, ses-load, ses-truncate-cell)
2196         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2197         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2198         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2199         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2200         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2201         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2202         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2203         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2205 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2207         * ses.el: The overall change is to add cell renaming, that is
2208         setting fancy names for cell symbols other than name matching
2209         "\\`[A-Z]+[0-9]+\\'" regexp .
2210         (ses-create-cell-variable): New defun.
2211         (ses-relocate-formula): Relocate formulas only for cells the
2212         symbols of which are not renamed, i.e. symbols whose names do not
2213         match regexp "\\`[A-Z]+[0-9]+\\'".
2214         (ses-relocate-all): Relocate values only for cells the symbols of
2215         which are not renamed.
2216         (ses-load): Create cells variables as the (ses-cell ...) are read,
2217         in order to check row col consistency with cell symbol name only
2218         for cells that are not renamed.
2219         (ses-replace-name-in-formula): New defun.
2220         (ses-rename-cell): New defun.
2222 2011-12-11  Chong Yidong  <cyd@gnu.org>
2224         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2225         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2227 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
2229         * window.el (other-window): Fix docstring.
2231 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2233         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2234         `from' or `to' address before taking its substring.
2235         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2236         encoded name is chopped in the middle of the encoded string, and
2237         thus displayed encoded.
2239 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
2241         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2243 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2245         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
2246         to use texinfo-update-node and commands that call it if the
2247         Texinfo file uses @node lines without next/prev/up pointers.
2248         Correct outdated description about texinfo-master-menu.
2249         (texinfo-all-menus-update, texinfo-master-menu)
2250         (texinfo-update-node, texinfo-every-node-update)
2251         (texinfo-multiple-files-update): Doc fix.  Warn against updating
2252         all the @node lines.
2253         (texinfo-master-menu): Only call texinfo-update-node if the prefix
2254         argument is numeric.  Explain better in the doc string what the
2255         function really does.
2256         (texinfo-insert-master-menu-list): Improve the error message
2257         displayed if there's no menu in the Top node.
2258         (Bug#2975)  See also this thread:
2259         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2261 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
2263         * speedbar.el (speedbar-supported-extension-expressions):
2264         Add .adb and .ads, commonly used for Ada source code (bug#10256).
2266 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
2268         * printing.el (pr-mode-alist):
2269         * simple.el (filter-buffer-substring-functions)
2270         (completion-list-insert-choice-function):
2271         * window.el (window-with-parameter, window-atom-root)
2272         (window-sides-slots, window-size-fixed, window-min-delta)
2273         (window-max-delta, window--resize-mini-window)
2274         (window--resize-child-windows-normal, window-tree)
2275         (delete-other-windows, quit-window, split-window)
2276         (display-buffer-record-window, special-display-buffer-names)
2277         (special-display-regexps, special-display-popup-frame)
2278         (same-window-p, split-window-sensibly)
2279         (display-buffer-overriding-action, display-buffer-alist)
2280         (display-buffer-base-action, display-buffer, switch-to-buffer)
2281         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2282         (fit-window-to-buffer, recenter-positions)
2283         (mouse-autoselect-window-state, mouse-autoselect-window-select):
2284         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2285         and remove unneeded backslashes in docstrings.
2287 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2289         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2291         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2292         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2293         end in ".mk".
2294         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2295         when reading the makefile (bug#10116).
2297 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2299         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2300         (bug#10116).
2302 2011-12-06  Glenn Morris  <rgm@gnu.org>
2304         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2306 2011-12-06  Chong Yidong  <cyd@gnu.org>
2308         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2310 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2312         * textmodes/table.el (table-shorten-cell): Fix typo.
2314 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2316         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2318 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2320         * descr-text.el (describe-char): Fix display of strong
2321         right-to-left characters and directional embeddings and overrides.
2323         * simple.el (what-cursor-position): Fix display of codepoints of
2324         strong right-to-left characters.
2326 2011-12-05  Chong Yidong  <cyd@gnu.org>
2328         * faces.el (read-color): Doc fix.
2330 2011-12-05  Glenn Morris  <rgm@gnu.org>
2332         * align.el (align--set-marker): Add doc-string.
2333         Don't try to move something that is not a marker.  (Bug#10216)
2335 2011-12-04  Glenn Morris  <rgm@gnu.org>
2337         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2338         overly zealous deletion of trailing whitespace.
2340 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2342         * server.el (server-delete-client): On Windows, do not try to delete
2343         the only terminal.
2344         (server-process-filter): On Windows, treat requests for a tty frame as
2345         if they were for a GUI frame if the running server is in GUI mode.
2347 2011-12-03  Glenn Morris  <rgm@gnu.org>
2349         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2351 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2353         * electric.el: Streamline electric-indent's hook.
2354         (electric-indent-chars): Revert to simple list.
2355         (electric-indent-functions): New var.
2356         (electric-indent-post-self-insert-function): Use it.
2358         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2359         there's no inferior buffer (bug#10196).
2360         (prolog-consult-compile): Don't use toggle-read-only.
2362 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2364         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2365         interrupt.  (Bug#10187)
2367 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2369         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2370         (bug#9160).
2372         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2373         (bug#10191).
2375 2011-12-02  Juri Linkov  <juri@jurta.org>
2377         * info.el (Info-search): Display "end of manual" when Isearch
2378         reaches the end of single-file Info manual.  (Bug#9918)
2380 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2382         * isearch.el (isearch-message-prefix): Run the input method part
2383         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2385 2011-12-02  Juri Linkov  <juri@jurta.org>
2387         * isearch.el (isearch-occur): Use `word-search-regexp' for
2388         `isearch-word'.
2389         (isearch-search-and-update): Add condition for `isearch-word' and
2390         call `word-search-regexp'.  (Bug#10145)
2392 2011-12-01  Glenn Morris  <rgm@gnu.org>
2394         * eshell/em-hist.el (eshell-hist-initialize):
2395         Handle eshell-history-size nil and HISTSIZE set or unset.
2396         (eshell-history-file-name, eshell-history-size): Fix custom type.
2398 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2400         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2402 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2404         * progmodes/verilog-mode.el (verilog-pretty-expr):
2405         Rework verilog-pretty-expr to handle new assignment operators in system
2406         verilog, such as += *= and the like.
2407         (verilog-assignment-operator-re): Regular expression to find the
2408         assigment operator in a verilog assignment.
2409         (verilog-assignment-operation-re): Regular expression to find an
2410         assignment statement for pretty-expr.
2411         (verilog-in-attribute-p): Query returns true if point is in an
2412         attribute context; used to skip these for expression line up from
2413         pretty-expr.
2414         (verilog-in-parameter-p): Query returns true if point is in an
2415         parameter definition context; used to skip these for expression
2416         line up from pretty-expr.
2417         (verilog-in-parenthesis-p): Query returns true if point is in a
2418         parenthetical expression, specifically ( ) but not [ ] or { };
2419         used by pretty-expr.
2420         (verilog-just-one-space): If there is no space, don't add one.
2421         (verilog-get-lineup-indent-2): Specifically skip just attribute
2422         contexts for expression lineup, rather than skipping all
2423         parenthetical expressions.
2424         (verilog-calculate-indent): Fix comment, and fix indent.
2425         (verilog-do-indent): Indent declarations in lists (suggested by
2426         Joachim Lechner).
2427         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2428         skeleton items.
2429         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2430         by Alain Mellan).
2432 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2434         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2435         parameters with embedded comments.  Reported by Ray Stevens.
2436         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2437         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2438         Reported by Tim Holt.
2439         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2440         instantiated by upper module causing wrong expansion until AUTOed a
2441         second time.  Reported by K C Buckenmaier.
2442         (verilog-diff-auto): Fix showing .* as a difference when
2443         `verilog-auto-star-save' off.  Reported by Dan Dever.
2444         (verilog-auto-reset, verilog-read-always-signals)
2445         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2446         temporary signals in reset list if
2447         verilog-auto-reset-blocking-in-non is nil, and match assignment
2448         style to each signal's assignment type, bug381.
2449         Reported by Thomas Esposito.
2450         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2451         (verilog-uvm-statement-re): Support UVM indentation and
2452         highlighting, with old OVM keywords only.
2453         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2454         Support AUTOTIEOFF creating non-wire data types.
2455         Suggested by Jonathan Greenlaw.
2456         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2457         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2458         (verilog-inject-sense, verilog-read-inst-pins)
2459         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2460         Fix mismatching parenthesis inside commented out code when deleting
2461         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2462         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2463         non-numeric vector width.  Reported by Alex Reed.
2464         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2465         detecting signals with parameter widths.  Reported by Alex Reed.
2466         (verilog-auto-delete-trailing-whitespace):
2467         With `verilog-auto-delete-trailing-whitespace' remove trailing
2468         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2469         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2470         Fix verilog-scan-cache corruption when running user AUTO expansion
2471         hooks that call indentation routines.
2472         (verilog-simplify-range-expression): Fix typo ignoring lower case
2473         identifiers.
2474         (verilog-delete-auto): Fix delete-autos to also remove user created
2475         automatics, as long as they start with AUTO.
2476         (verilog-batch-diff-auto, verilog-diff-auto)
2477         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2478         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2479         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2480         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2481         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2482         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2483         is disabled and its cache will get corrupt, causing AUTOS not to
2484         expand.  Instead use only -quick functions.
2485         (verilog-scan-region): Fix scanning over escaped quotes.
2486         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2487         (verilog-re-search-backward-quick)
2488         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2489         related functions now ignore strings, to fix misparsing of strings
2490         with magic comments embedded in them.
2491         (verilog-read-auto-template):
2492         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2493         Reported by Brad Dobbie.
2494         (verilog-read-auto-template):
2495         Fix 'verilog-auto-inst-template-numbers' with comments.
2496         Reported by Brad Dobbie.
2497         (verilog-auto-inst, verilog-auto-inst-param)
2498         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2499         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2500         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2501         debugging templates without merge conflicts, bug357.
2502         Reported by Brad Dobbie.
2503         (verilog-read-auto-template):
2504         Fix verilog-auto-inst-template-numbers with multiple templates.
2505         Reported by Brad Dobbie.
2506         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2507         abbrevs so user won't be asked to save.
2508         (verilog-read-auto-lisp-present): Fix to start at beginning of
2509         buffer in case called outside of verilog-auto.
2510         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2511         to "X-2".  Reported by Matthew Myers.
2512         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2513         all inputs from module templates.  Reported by Leith Johnson.
2514         (verilog-module-inside-filename-p): Fix locating programs as with
2515         modules.
2516         (verilog-auto-inst-port): Fix vl-width expressions when using
2517         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2518         (verilog-decls-get-regs, verilog-decls-get-signals,
2519         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2520         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2521         verilog-read-decls): Combine reg and wire structures into one var
2522         structure to represent SystemVerilog concepts.
2523         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2524         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2525         (verilog-auto-wire-type, verilog-insert-definition):
2526         Add verilog-auto-wire-type and AUTOLOGIC to support using
2527         SystemVerilog "logic" keyword instead of "wire"/"reg".
2528         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2529         to declares outputs that also have assignments (presumably in an
2530         ifdef or generate if so there's not a driver conflict).
2531         Reported by Matthew Myers.
2532         (verilog-auto-declare-nettype, verilog-insert-definition):
2533         Add verilog-auto-declare-nettype to fix declarations using
2534         `default_nettype none.  Reported by Julian Gorfajn.
2535         (verilog-read-always-signals-recurse, verilog-read-decls)
2536         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2537         malformed end statement, bug325.  Reported by Joshua Wise and
2538         Andrew Drake.
2539         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2540         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2541         when expanding .* in interfaces, bug320.
2542         Reported by Pierre-David Pfister.
2543         (verilog-read-module-name): Fix import statements between module
2544         name and open parenthesis, bug317.
2545         Reported by Pierre-David Pfister.
2546         (verilog-simplify-range-expression): Fix simplification of
2547         multiplications inside AUTOWIRE connections, bug303.
2548         (verilog-auto-inst-port): Support parameter expansion in
2549         multidimensional arrays.
2550         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2551         after "assert property".  Reported by Julian Gorfajn.
2552         (verilog-simplify-range-expression): Fix "couldn't merge" errors
2553         with multiplication, bug303.
2554         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2555         Reported by Jan Frode Lonnum.
2557 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
2559         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2560         (hfy-shell-file-name, hfy-shell):
2561         * international/fontset.el (x-decompose-font-name): Fix typos.
2563 2011-11-29  Ken Brown  <kbrown@cornell.edu>
2565         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2566         (gdb-version): Remove defvar.
2567         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2568         (gdb-gud-context-command, gdb-non-stop-handler)
2569         (gdb-current-context-command, gdb-stopped): Use it.
2570         (gdb-init-1): Enable pretty printing here.
2571         (gdb-non-stop-handler): Don't enable pretty-printing here.
2572         Check to see if the target supports non-stop mode; if not, turn off
2573         non-stop mode.  Use the following.
2574         (gdb-check-target-async): New defun.
2575         (gud-watch, gdb-stopped): Fix whitespace.
2576         (gdb-get-source-file): Don't try to display the source file if
2577         `gdb-main-file' is nil.
2579 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2581         * align.el: Try to generate fewer markers (bug#10047).
2582         (align--set-marker): New macro.
2583         (align-region): Use it.
2585 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2587         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2589 2011-11-29  Chong Yidong  <cyd@gnu.org>
2591         * indent.el (indent-for-tab-command, indent-according-to-mode):
2592         Doc fix.
2593         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
2595 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
2597         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2598         aware of remote file names.  (Bug#10124)
2600 2011-11-29  Chong Yidong  <cyd@gnu.org>
2602         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2604 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2606         * files.el (find-file): Don't use force-same-window (bug#10144).
2607         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2608         use pop-to-buffer if the selected window can't be used.
2609         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2611 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
2613         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2614         special-mode-map.
2616 2011-11-28  Chong Yidong  <cyd@gnu.org>
2618         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2620 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
2622         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2623           gdb-get-source-file-list on gdb-create-source-file-list.
2625 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
2627         * whitespace.el (whitespace-newline): Use a different foreground
2628         color for 16-color light-background displays.
2630 2011-11-24  Chong Yidong  <cyd@gnu.org>
2632         * window.el (display-buffer--special-action): Doc fix.
2634 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
2636         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2637         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2638         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2639         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2640         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2641         (avl-tree-stack-first):
2642         * emacs-lisp/cconv.el (cconv--analyse-use):
2643         * net/gnutls.el (gnutls-negotiate): Fix typos.
2645 2011-11-24  Glenn Morris  <rgm@gnu.org>
2647         * lpr.el (lpr-windows-system, lpr-lp-system):
2648         * mail/binhex.el (binhex-begin-line):
2649         * progmodes/grep.el (grep-history, grep-find-history):
2650         * textmodes/flyspell.el:
2651         * vc/pcvs-defs.el (cvs-global-menu):
2652         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2653         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2654         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2656         * net/tls.el: Fix case of "GnuTLS".
2658         * paths.el (rmail-file-name): Format doc-string for make-docfile.
2660         * version.el (emacs-build-system): Give it a doc-string.
2662 2011-11-24  Juri Linkov  <juri@jurta.org>
2664         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2666 2011-11-24  Glenn Morris  <rgm@gnu.org>
2668         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2669         if called on a non-mime message just toggle the headers.  (Bug#8006)
2671 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
2673         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2674         (allout-lead-with-comment-string, allout-structure-deleted-hook)
2675         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2676         (allout-rebullet-heading, allout-open-sibtopic)
2677         (allout-toggle-current-subtree-encryption)
2678         (allout-toggle-subtree-encryption, allout-encrypt-string)
2679         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2680         (allout-distinctive-bullets-string, allout-auto-activation):
2681         * window.el (window-normalize-buffer-to-display):
2682         * progmodes/verilog-mode.el (verilog-batch-indent):
2683         * textmodes/bibtex.el (bibtex-field-braces-opt)
2684         (bibtex-field-strings-opt):
2685         * vc/cvs-status.el (cvs-tree-merge):
2686         Fix typos.
2688 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
2690         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2691         `non-essential' to t, in order to avoid remote connections.
2693 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
2695         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2696         On MS-DOS and MS-Windows, compare with loaddefs.el
2697         case-insensitively.
2699 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2701         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
2703 2011-11-23  Glenn Morris  <rgm@gnu.org>
2705         * paths.el (rmail-file-name): Reformat the doc-string so that it
2706         is picked up.
2708         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2709         (rmail-auto-file): Ignore case in the "special" field names,
2710         as mail-fetch-field does for all others.
2712         * mail/rmail.el (rmail-forward):
2713         * mail/rmailkwd.el (rmail-set-label):
2714         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2715         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
2717         * mail/rmail.el (rmail-current-message): Doc fix.
2719         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
2721 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2723         * server.el (server-eval-and-print): Allow C-g (bug#6585).
2725 2011-11-22  Glenn Morris  <rgm@gnu.org>
2727         * mail/rmailmm.el (test-rmail-mime-handler)
2728         (test-rmail-mime-bulk-handler)
2729         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2731 2011-11-21  Juri Linkov  <juri@jurta.org>
2733         * calc/calc.el (calc-read-key-sequence):
2734         Let-bind `input-method-function' to nil.  (Bug#10018)
2736 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2738         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2739         Tell the caller that the next line needs recomputation, even
2740         though it doesn't start a sexp (bug#10094).
2742 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2744         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2746 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2749         Use force-same-window.
2751 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2753         * descr-text.el (describe-char-unicode-data):
2754         * json.el (json-string-escape):
2755         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2756         (Footnote-unicode, Footnote-style-p):
2757         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2759 2011-11-20  Chong Yidong  <cyd@gnu.org>
2761         * window.el (replace-buffer-in-windows): Restore interactive spec.
2763 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2765         * electric.el (electric-indent-mode): Fix last change (too optimistic).
2767         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2768         (byte-compile-global-not-obsolete-vars): New var.
2769         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2770         Use it.
2771         (byte-compile-warn-obsolete): Align text with the one in *Help*.
2773 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2775         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2776         * progmodes/pascal.el (electric-pascal-equal):
2777         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2778         * xml.el (xml-substitute-special): Fix typos.
2780 2011-11-20  Glenn Morris  <rgm@gnu.org>
2782         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2783         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2784         Doc fixes.
2785         (rmail-decode-mime-charset): Mark as obsolete.
2787         * mail/rmailsum.el (rmail-message-regexp-p-1):
2788         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2789         Before using mime functions, check they are set.  (Bug#10077)
2791 2011-11-19  Juri Linkov  <juri@jurta.org>
2793         * info.el (Info-finder-find-node): Use `package--builtins' instead
2794         of `package-alist'.  Use node names formed by the pattern "Keyword "
2795         and the keyword name.
2797 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2799         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
2801 2011-11-19  Juri Linkov  <juri@jurta.org>
2803         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2804         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
2805         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2806         `old-history', `old-history-forward'.  Add let-binding
2807         `window-selected'.  Remove calls to `kill-buffer',
2808         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
2809         before calling `Info-find-node', so `Info-find-node-2' will reread
2810         the Info file.  Restore window positions only when `window-selected'
2811         is non-nil.
2813 2011-11-19  Juri Linkov  <juri@jurta.org>
2815         * isearch.el (isearch-lazy-highlight-new-loop):
2816         Remove condition `(not isearch-error)'.  (Bug#9918)
2818         * misearch.el (multi-isearch-search-fun): Add condition
2819         `(not bound)' to ignore lazy-highlighting search.
2820         Add the search-failed message "end of multi" when the end of
2821         multi-sequence is reached.  Uncapitalize the search-failed
2822         message "Repeat for next buffer".
2824         * info.el (Info-search): Add the search-failed message
2825         "end of the manual" when the end of the manual is reached
2826         in Isearch mode.
2828 2011-11-19  Juri Linkov  <juri@jurta.org>
2830         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2831         Use non-destructive `remove' instead of `delete' because
2832         `Info-history-list' stored to `Info-isearch-initial-history-list' in
2833         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2835 2011-11-19  Juri Linkov  <juri@jurta.org>
2837         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2838         to nil instead of binding `search-ring' and `regexp-search-ring'.
2839         (Bug#9185)
2841 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2843         * simple.el (line-move): Force movement by logical lines for any
2844         hscrolled window, not only when auto-hscroll-mode is on.
2845         (line-move-visual): Update doc string to that effect.  (Bug#10076)
2847 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2849         * language/european.el (macintosh): Define as alias for mac-roman.
2851 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2853         * mail/rmailmm.el (rmail-mime-display-header)
2854         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2855         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2856         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2857         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2858         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2859         of a raw aref.
2860         (rmail-mime-entity-segment): To get past the tagline, move forward
2861         2 more lines, to account for the 2 empty lines that precede and
2862         follow the line with the buttons.
2863         (rmail-mime-update-tagline): Move one more line, to get past the
2864         empty line that follows the buttons in the tagline.  (Bug#9520)
2866 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
2868         * window.el (window-max-delta-1, window-min-delta-1)
2869         (window-min-size-1, window-state-get-1, window-state-put-1)
2870         (window-state-put-2): Use "window--" prefix.
2872 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2874         * emacs-lisp/smie.el: Improve warnings and conflict detection.
2875         (smie-warning-count): New var.
2876         (smie-set-prec2tab): Use it.
2877         (smie-bnf->prec2): Improve warnings.  Add docstring.
2878         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2879         (smie-bnf--set-class): New function.
2880         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
2881         corner case.
2883         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2884         (compilation-error-properties, compilation-move-to-column):
2885         Handle compilation-first-column while in the target buffer.
2887         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2888         Don't hardcode point-min==1.
2890         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2891         (eshell-rewrite-for-command): Remove workaround.
2892         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2893         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2894         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2896         * files-x.el (modify-file-local-variable): Obey commenting conventions.
2898 2011-11-17  Glenn Morris  <rgm@gnu.org>
2900         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2901         Ignore buffer-local generated-autoload-file if it is the same
2902         as the global value.  (Bug#10049)
2904 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
2906         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2907         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2908         (reftex-toc-previous-heading, reftex-toc-max-level)
2909         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2910         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2911         (reftex-toc-do-promote, reftex-toc-promote-prepare)
2912         (reftex-toc-promote-action, reftex-toc-extract-section-number)
2913         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2914         (reftex-toc-rename-label, reftex-toc-visit-location)
2915         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2916         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2917         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2918         leaving "*toc*" only for references to the buffer.
2920 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
2922         * window.el (window-resize, delete-window, split-window):
2923         Replace window-splits by window-combination-resize.
2924         * cus-start.el (window-splits): Replace by window-combination-resize.
2926 2011-11-17  Glenn Morris  <rgm@gnu.org>
2928         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2929         Make bash entry derive from sh entry, not shell entry.
2931 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
2933         * net/tramp-cache.el (tramp-flush-file-property): Flush also
2934         properties of linked files.  (Bug#9879)
2936         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2937         local file name.
2939 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2941         * menu-bar.el (menu-bar-file-menu):
2942         * printing.el (pr-ps-utility):
2943         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2944         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2945         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2946         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2947         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2948         (icalendar--convert-cyclic-to-ical)
2949         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2950         (icalendar--convert-ical-to-diary)
2951         (icalendar--convert-recurring-to-diary)
2952         (icalendar--convert-non-recurring-all-day-to-diary)
2953         (icalendar-import-format-sample):
2954         * progmodes/idlw-shell.el (idlwave-shell-mode):
2955         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2956         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2957         (vhdl-ps-print-init): Fix typos.
2959 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
2961         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2962         FSF and collapse date sequence, obscure author/maintainer email address
2963         better, remove extra version line, track relocation of author's webpage.
2965         * progmodes/python.el (python-pdbtrack-input-prompt)
2966         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2967         regular python pdb prompts.  Adjustments shamelessly taken exactly as
2968         suggested in EmacsWiki page (tiny change):
2969         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
2971 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2973         * expand.el (expand-pos, expand-index, expand-point):
2974         Remove redundant info from docstring.
2975         (expand-add-abbrevs): Doc fix.
2976         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2977         (expand-sample-perl-mode-expand-list): Fix typos.
2979         * net/dbus.el (dbus-event-member-name):
2980         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2981         * term/pc-win.el (msdos-create-frame-with-faces):
2982         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2984 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
2986         * window.el (split-window, window-state-get-1)
2987         (window-state-put-1, window-state-put-2): Rename occurrences of
2988         window-nest to window-combination-limit.
2989         * cus-start.el (window-nest): Rename to window-combination-limit.
2991 2011-11-16  Chong Yidong  <cyd@gnu.org>
2993         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2994         regexp (Bug#10033).
2996 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2998         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2999         `completing-read' will remove *Completions* and will preserve
3000         current-buffer for us.
3001         (tmm-add-prompt): Users of *Completions* will always (re)set its
3002         major mode.
3003         (tmm-old-comp-map): Remove.
3005 2011-11-16  Glenn Morris  <rgm@gnu.org>
3007         * mail/rmailedit.el: Require rmailmm when compiling.
3008         (rmail-old-mime-state): New declaration.
3009         (rmail-edit-current-message): If editing a mime message,
3010         edit the "raw" message from the mbox buffer.
3011         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
3013 2011-11-15  Glenn Morris  <rgm@gnu.org>
3015         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3016         which wasn't being used.  Add optional arg to force given state.
3017         (rmail-mime): Add optional arg to force given state.
3019 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3021         * allout.el (allout-encryption-plaintext-sanitization-regexps):
3022         * frame.el (display-mm-dimensions-alist):
3023         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3024         (outline-move-subtree-down):
3025         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3026         (newsticker--treeview-do-get-node):
3027         * net/quickurl.el (quickurl-list-buffer-name):
3028         * progmodes/dcl-mode.el (dcl-mode):
3029         * progmodes/gdb-mi.el (gdb-mapcar*):
3030         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3032 2011-11-15  Glenn Morris  <rgm@gnu.org>
3034         * mail/rmail.el (rmail-file-coding-system): It's only ever used
3035         in a boolean sense, so just make it a boolean, and fix the doc.
3036         (rmail-show-mime-function, rmail-mime-feature)
3037         (rmail-require-mime-maybe): Doc fixes.
3038         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3040         * mail/rmailmm.el (rmail-show-mime): Doc fix.
3042 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3044         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3045         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3046         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3047         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3049 2011-11-15  Glenn Morris  <rgm@gnu.org>
3051         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3052         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3053         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3054         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3055         (rmail-mime, rmail-show-mime): Doc fixes.
3057         * term/ns-win.el (mode-line-frame-identification):
3058         Leave it alone.  (Bug#10051)
3060         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
3062         * mail/rmailout.el (rmail-output-to-rmail-buffer):
3063         Handle empty buffers.  (Bug#9978)
3065 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
3067         * international/mule.el (define-charset):
3068         * mail/rmailmm.el (rmail-mime-find-header-encoding):
3069         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3070         * progmodes/verilog-mode.el (verilog-backward-token):
3071         * textmodes/ispell.el (lookup-words):
3072         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3074 2011-11-14  Glenn Morris  <rgm@gnu.org>
3076         * progmodes/executable.el
3077         (executable-make-buffer-file-executable-if-script-p):
3078         Handle file-modes returning nil.
3080         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3081         message - not necessary, and causes problems.  (Bug#9831)
3083         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3085         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3087         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3088         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
3089         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3091 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
3093         * window.el (window-resize, delete-window): Use window-splits
3094         variable instead of function.
3095         (window-state-get-1, window-state-put-2, window-state-put):
3096         Don't deal with windows' splits status.
3098 2011-11-12  Glenn Morris  <rgm@gnu.org>
3100         * apropos.el (apropos-do-all, apropos-library, apropos-value)
3101         (apropos-documentation): Doc fixes.
3103 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
3105         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3106         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3108 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3110         * electric.el (electric-indent-post-self-insert-function): Make it
3111         possible for a char to only indent in some circumstances.
3112         (electric-indent-mode): Simplify.
3114 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
3116         * window.el (windows-with-parameter): Remove unused function.
3117         (windows-at-side): Rename to window-at-side-list.
3118         (window-check, window-atom-check, window-atom-check-1)
3119         (window-side-check, window-size-ignore, window-size-fixed-1)
3120         (window-in-direction-2): Prefix with "window--".
3121         (window-tree-1): Rename to window--subtree, fix doc-string.
3123 2011-11-11  Glenn Morris  <rgm@gnu.org>
3125         * subr.el (eval-after-load): If FILE is already loaded,
3126         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
3128 2011-11-10  Glenn Morris  <rgm@gnu.org>
3130         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3131         Call svn via vc-svn-command rather than vc-do-command.
3132         (vc-svn-command): Add --non-interactive.  (Bug#9993)
3133         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3135         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3136         Add toggle-read-only.  (Bug#7292)
3137         * files.el (toggle-read-only): Mention that it should only
3138         be used interactively.  (Bug#10006)
3140 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3142         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3143         Adjust regexp for OCaml warnings.
3145         * electric.el (electric-pair-post-self-insert-function): Let user
3146         turn it off buffer-locally (bug#9932).
3148         * progmodes/python.el (python-beginning-of-statement):
3149         Rewrite (bug#2703).
3151         * progmodes/compile.el: Better handle TABs (bug#9749).
3152         (compilation-internal-error-properties)
3153         (compilation-next-error-function): Obey the target buffer's
3154         compilation-error-screen-columns.
3156 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
3158         * progmodes/meta-mode.el: Remove obsolete comments.
3159         (meta-right-comment-regexp, meta-ignore-comment-regexp):
3160         Fix typos in docstrings.
3162 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
3164         * window.el (window-size-fixed-p): Rewrite doc-string.
3165         (window-resizable-p): Rename to window--resizable-p.  Update callers.
3166         (window--resizable): New function.  Make all callers of
3167         window-resizable call window--resizable instead.
3168         (window-resizable): Rewrite in terms of window--resizable.
3170 2011-11-08  Glenn Morris  <rgm@gnu.org>
3172         * progmodes/delphi.el (delphi-mode-syntax-table):
3173         Let define-derived-mode define a proper syntax table.  (Bug#9994)
3175 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3177         * window.el: Stay away from defsubst.
3178         (window-list-no-nils): Remove.
3179         (window-state-get-1, window-state-get): Use backquote instead.
3181 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3183         * emacs-lisp/find-func.el (find-function-read):
3184         Fix incorrect use of default argument in `completing-read'.
3186 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
3188         * window.el (display-buffer-function, special-display-function):
3189         Mention display-buffer-record-window but do not mention
3190         help-setup parameter in doc-strings.
3191         (window-min-delta): Fix doc-string typo.
3193 2011-11-08  Chong Yidong  <cyd@gnu.org>
3195         * window.el (window-total-height, window-total-width): Doc fix.
3196         (window-body-size): Move from C.
3197         (window-body-height, window-body-width): Move to C.
3199 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3201         * window.el: Make special-display like display-buffer-alist (bug#9532).
3202         (display-buffer--special-action): New function, morphed
3203         from display-buffer--special.
3204         (display-buffer): Use it to handle special-display-buffers at higher
3205         priority (just after display-buffer-alist).
3206         (display-buffer-fallback-action, display-buffer--other-frame-action)
3207         (pop-to-buffer-same-window): Remove display-buffer--special.
3209 2011-11-07  Glenn Morris  <rgm@gnu.org>
3211         * calendar/cal-menu.el (cal-menu-set-date-title):
3212         Do nothing if not in a calendar.  (Bug#9976)
3214 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3216         * files.el (find-file): Always use selected-window.
3218 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
3220         * window.el (window-combinations): Make WINDOW argument
3221         mandatory.  Rewrite doc-string.
3222         (walk-window-subtree, window-atom-check, window-min-delta)
3223         (window-max-delta, window--resize-this-window)
3224         (window--resize-root-window-vertically, window-tree)
3225         (balance-windows, window-state-put): Rewrite doc-strings as to
3226         not mention the term "subwindow".
3227         (window--resize-subwindows-skip-p): Rename to
3228         window--resize-child-windows-skip-p.
3229         (window--resize-subwindows-normal): Rename to
3230         window--resize-child-windows-normal.
3231         (window--resize-subwindows): Rename to
3232         window--resize-child-windows.
3233         (window-or-subwindow-p): Rename to window--in-subtree-p.
3235 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3237         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3238         Ensure that mbox format messages end in two newlines (Bug#9974).
3240 2011-11-06  Chong Yidong  <cyd@gnu.org>
3242         * window.el (window-combination-p): Function deleted; its
3243         side-effect is not used in any existing code.
3244         (window-combinations, window-combined-p): Call window-*-child
3245         directly.
3247 2011-11-05  Chong Yidong  <cyd@gnu.org>
3249         * window.el (window-valid-p): Rename from window-any-p.
3250         (window-size-ignore, window-state-get): Callers changed.
3251         (window-normalize-window): Rename from window-normalize-any-window.
3252         New arg LIVE-ONLY, replacing window-normalize-live-window.
3253         (window-normalize-live-window): Delete.
3254         (window-combination-p, window-combined-p, window-combinations)
3255         (walk-window-subtree, window-atom-root, window-min-size)
3256         (window-sizable, window-sizable-p, window-size-fixed-p)
3257         (window-min-delta, window-max-delta, window-resizable)
3258         (window-resizable-p, window-full-height-p, window-full-width-p)
3259         (window-current-scroll-bars, window-point-1, set-window-point-1)
3260         (window-at-side-p, window-in-direction, window-resize)
3261         (adjust-window-trailing-edge, maximize-window, minimize-window)
3262         (window-deletable-p, delete-window, delete-other-windows)
3263         (record-window-buffer, unrecord-window-buffer)
3264         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3265         (quit-window, split-window, window-state-put)
3266         (set-window-text-height, fit-window-to-buffer)
3267         (shrink-window-if-larger-than-buffer): Callers changed.
3269 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
3271         * mail/rmail.el (rmail-simplified-subject): Decode subject with
3272         rfc2047-decode-string.
3273         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3274         warnings.
3276         * window.el (window-body-height, window-body-width): Mention in
3277         the doc string that the return values are in frame's canonical
3278         units.  (Bug#9949)
3280 2011-11-03  Alan Mackenzie  <acm@muc.de>
3282         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3283         change in cc-engine.el.
3285 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3287         * window.el (switch-to-buffer): Use `force-same-window' interactively.
3289 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
3291         * window.el (quit-window): Call unrecord-window-buffer after
3292         showing another buffer in the window.  (Bug#9937)
3293         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3295 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3297         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3298         Accept status with more than 9 shelves.  (Bug#9935)
3299         Reported by Colin D Bennett <colin@gibibit.com>.
3301 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3303         * help.el (with-help-window): Don't reference
3304         temp-buffer-show-specifiers in doc-string.
3306 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3308         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3309         menu-item.
3311 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3313         * whitespace.el: New version 13.2.2.
3314         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3315         <EmacsWiki>.
3317 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3319         * net/newst-treeview.el: Remove "Time-stamp".
3320         (newsticker--group-manage-orphan-feeds): Do not call
3321         newsticker--treeview-tree-update.
3322         (newsticker-treeview-update, newsticker-treeview):
3323         Call newsticker--treeview-tree-update if necessary.
3325 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3327         * window.el (window-iso-combination-p, window-iso-combined-p)
3328         (window-iso-combinations): Remove "iso-" infix.
3329         Suggested by Chong Yidong.
3330         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3331         (window-max-delta-1, window-resize, window--resize-siblings)
3332         (window--resize-this-window, adjust-window-trailing-edge)
3333         (split-window, balance-windows-1)
3334         (shrink-window-if-larger-than-buffer):
3335         * calendar/calendar.el (calendar-generate-window):
3336         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3338 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3340         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3341         in place (bug#9907).
3342         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3343         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3344         (eshell-structure-basic-command, eshell-rewrite-while-command)
3345         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3346         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3347         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3348         (eshell-do-pipelines-synchronously, eshell-eval-command):
3349         Use backquotes and prefer setq to set.
3350         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3351         (eshell-macrop): Use functionp.
3352         (eshell-do-eval): Handle multiple expressions in `while' body.
3354 2011-10-30  Chong Yidong  <cyd@gnu.org>
3356         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3357         instead of set-mark (Bug#9810).
3359 2011-10-30  Chong Yidong  <cyd@gnu.org>
3361         * window.el (split-window-below, split-window-right): Rename from
3362         split-window-above-each-other and split-window-side-by-side
3363         respectively.  All callers changed.
3364         (split-window-sensibly, split-window-sensibly): Use them.
3365         (split-window-keep-point): Doc fix.
3367         * isearch.el: Add isearch-scroll property to split-window-below
3368         and split-window-right.
3370         * follow.el (follow-mode):
3371         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3372         * progmodes/ada-xref.el (ada-gdb-application):
3373         * emulation/vip.el (vip-buffer-in-two-windows):
3374         * image-dired.el (image-dired-dired-with-window-configuration):
3375         * dired-x.el (dired-do-find-marked-files):
3376         * dired.el (dired-pop-to-buffer):
3377         * bs.el (bs--show-with-configuration):
3378         * vc/emerge.el (emerge-setup-windows):
3379         * textmodes/two-column.el (2C-two-columns):
3380         * textmodes/reftex-toc.el (reftex-toc):
3381         * progmodes/gdb-mi.el (gdb-setup-windows):
3382         * progmodes/fortran.el (fortran-window-create):
3383         * net/newst-treeview.el (newsticker--treeview-window-init):
3384         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3385         * emulation/tpu-edt.el (tpu-gold-map):
3386         * emulation/crisp.el (crisp-mode-map):
3387         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3389 2011-10-29  Chong Yidong  <cyd@gnu.org>
3391         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3393         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3395         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3396         forged Ispell output (Bug#7904).
3398         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3400 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3402         * doc-view.el: Avoid ugly errors about not finding nil.
3403         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3404         (doc-view-dvipdf-program, doc-view-unoconv-program)
3405         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3406         Avoid nil or absolute file name as default value.
3407         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3409 2011-10-28  Alan Mackenzie  <acm@muc.de>
3411         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3413 2011-10-28  Alan Mackenzie  <acm@muc.de>
3415         Amend the handling of c-beginning/end-of-defun in nested declaration
3416         scopes.
3418         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3419         cc-langs.el.  Change it to a defcustom.
3421         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3422         cc-vars.el.
3424         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3425         Prevent "class foo : bar" being spuriously recognized as a label.
3427         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3428         Add parameter `inclusive' (to include enclosing braces in the region).
3429         (c-widen-to-enclosing-decl-scope): New function.
3430         (c-while-widening-to-decl-block): New macro.
3431         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3432         outward for defun boundaries, and correspondingly change symbol
3433         `respect-enclosure' to `go-outward'.
3434         (c-declaration-limits): Change algorithm to report only the "innermost"
3435         defun's boundaries.
3437 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3439         * net/rcirc.el (rcirc-mode): Use hard newlines.
3441 2011-10-28  Alan Mackenzie  <acm@muc.de>
3443         Amend to indent and fontify macros "which include their own semicolon"
3444         correctly, using the "virtual semicolon" mechanism.
3446         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3448         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3449         Recode to scan one line at a time rather than having \n and \r
3450         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3451         (c-forward-label): Amend for virtual semicolons.
3452         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3454         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3455         of the new C macros.
3457         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3458         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3459         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3460         (c-opt-cpp-macro-define): Make into a full language variable.
3461         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3462         AWK Mode (including \n, \r) removed, no longer needed.
3464         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3465         Invoke c-make-macro-with-semi-re.
3467         * progmodes/cc-vars.el (c-macro-with-semi-re):
3468         (c-macro-names-with-semicolon): New variables.
3469         (c-make-macro-with-semi-re): New function.
3471 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3473         * vc/log-edit.el: Fill empty field rather than adding new one.
3474         (log-edit-add-field): New function.
3475         (log-edit-insert-changelog): Use it.
3477 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3479         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3481 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3483         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3484         (gdb--check-interpreter): New function.
3485         (gdb): Use it.
3487 2011-10-27  Glenn Morris  <rgm@gnu.org>
3489         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3490         (least-positive-float, least-negative-float)
3491         (least-positive-normalized-float, least-negative-normalized-float)
3492         (float-epsilon, float-negative-epsilon):
3493         Remove unnecessary declarations.
3495         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3496         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3497         (least-positive-float, least-negative-float)
3498         (least-positive-normalized-float, least-negative-normalized-float)
3499         (float-epsilon, float-negative-epsilon): Add doc-strings,
3500         based on those in cl.texi.
3502         * files.el (set-visited-file-name): If the major-mode changed,
3503         reload the local variables.  (Bug#9796)
3505 2011-10-27  Chong Yidong  <cyd@gnu.org>
3507         * subr.el (change-major-mode-after-body-hook): New hook.
3508         (run-mode-hooks): Run it.
3510         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3511         Use change-major-mode-before-body-hook.
3513         * simple.el (fundamental-mode):
3514         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3515         change introducing fundamental-mode-hook.
3517 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3519         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3521 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3523         * ido.el (ido-file-name-all-completions-1): Do not require
3524         tramp.el explicitly.  (Bug#7583)
3526 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * progmodes/octave-mod.el:
3529         * progmodes/octave-inf.el: Update maintainer.
3531 2011-10-26  Chong Yidong  <cyd@gnu.org>
3533         * subr.el (with-wrapper-hook): Rewrite doc.
3535 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3537         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3538         filenames "/method:foo:".  (Bug#9793)
3540 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3542         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3543         (bug#9865).
3545 2011-10-24  Glenn Morris  <rgm@gnu.org>
3547         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
3549 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
3551         * notifications.el: Add the requirement of a running D-Bus session
3552         bus to the Commentary.
3554 2011-10-24  Juri Linkov  <juri@jurta.org>
3556         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3557         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3558         (Bug#9364)
3560 2011-10-24  Juri Linkov  <juri@jurta.org>
3562         * info.el (Info-following-node-name-re): Add newline to the list
3563         of allowed characters for leading space.  (Bug#9824)
3565 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3567         * progmodes/octave-inf.el (inferior-octave-mode-map):
3568         Fix C-c C-h binding.
3569         * progmodes/octave-mod.el (octave-help): Remove.
3571 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
3573         Sync with Tramp 2.2.3.
3575         * net/tramp-cache.el (top): Pacify byte-compiler using
3576         `init-file-user' and `site-run-file'.
3578         * net/trampver.el: Update release number.
3580 2011-10-23  Chong Yidong  <cyd@gnu.org>
3582         * files.el (toggle-read-only): Remove obsolete comment about
3583         version control.
3585         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3586         for toggle-read-only.  Note that this hasn't called vc-next-action
3587         since 2008-05-02, though it wasn't documented at the time.
3589         * vc/ediff-init.el (ediff-toggle-read-only-function):
3590         Use toggle-read-only.
3592 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
3594         Fix bug #9560, sporadic wrong indentation; improve instrumentation
3595         of c-parse-state.
3597         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3598         correct faulty logical expression.
3599         (c-parse-state-state, c-record-parse-state-state):
3600         (c-replay-parse-state-state): New defvar/defuns.
3601         (c-debug-parse-state): Use new functions.
3603 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
3605         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3606         last fix.  Use window-in-direction correctly.
3608 2011-10-21  Chong Yidong  <cyd@gnu.org>
3610         * progmodes/idlwave.el (idlwave-mode):
3611         * progmodes/vera-mode.el (vera-mode): No need to set
3612         require-final-newline; that's done in prog-mode.
3613         Suggested by Stefan Monnier.
3615 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
3617         * mouse.el (mouse-drag-window-above)
3618         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3619         (mouse-drag-mode-line-1, mouse-drag-header-line)
3620         (mouse-drag-vertical-line-rightward-window): Remove.
3621         (mouse-drag-line): New function.
3622         (mouse-drag-mode-line, mouse-drag-header-line)
3623         (mouse-drag-vertical-line): Call mouse-drag-line.
3624         * window.el (window-at-side-p, windows-at-side): New functions.
3626 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
3628         * tar-mode.el (tar-grind-file-mode):
3629         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
3631 2011-10-21  Chong Yidong  <cyd@gnu.org>
3633         * progmodes/idlwave.el (idlwave-mode):
3634         * progmodes/vera-mode.el (vera-mode):
3635         Use mode-require-final-newline.
3637 2011-10-20  Glenn Morris  <rgm@gnu.org>
3639         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
3641 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
3643         * emulation/cua-base.el (cua-set-mark): Fix case of string.
3645 2011-10-20  Chong Yidong  <cyd@gnu.org>
3647         * emulation/cua-base.el (cua-mode):
3648         * mail/footnote.el (footnote-mode):
3649         * mail/mailabbrev.el (mail-abbrevs-mode):
3650         * net/xesam.el (xesam-minor-mode):
3651         * progmodes/bug-reference.el (bug-reference-mode):
3652         * progmodes/cap-words.el (capitalized-words-mode):
3653         * progmodes/compile.el (compilation-minor-mode)
3654         (compilation-shell-minor-mode):
3655         * progmodes/gud.el (gud-tooltip-mode):
3656         * progmodes/hideif.el (hide-ifdef-mode):
3657         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3658         * progmodes/subword.el (subword-mode):
3659         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3660         * progmodes/which-func.el (which-function-mode):
3661         * term/tvi970.el (tvi970-set-keypad-mode):
3662         * term/vt100.el (vt100-wide-mode):
3663         * textmodes/flyspell.el (flyspell-mode):
3664         * textmodes/ispell.el (ispell-minor-mode):
3665         * textmodes/nroff-mode.el (nroff-electric-mode):
3666         * textmodes/paragraphs.el (use-hard-newlines):
3667         * textmodes/refill.el (refill-mode):
3668         * textmodes/reftex.el (reftex-mode):
3669         * textmodes/rst.el (rst-minor-mode):
3670         * textmodes/sgml-mode.el (html-autoview-mode)
3671         (sgml-electric-tag-pair-mode):
3672         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3673         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3674         * emulation/crisp.el (crisp-mode):
3675         * emacs-lisp/eldoc.el (eldoc-mode):
3676         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3677         minor mode behavior.
3679 2011-10-19  Juri Linkov  <juri@jurta.org>
3681         * descr-text.el (describe-char): Add #x2010 and #x2011 to
3682         the list of hard-coded chars with escape-glyph face.
3684 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3686         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3688 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
3690         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3691         running process.
3693 2011-10-19  Glenn Morris  <rgm@gnu.org>
3695         * vc/vc-bzr.el (vc-bzr-after-dir-status):
3696         Ignore ignored files.  (Bug#9726)
3698 2011-10-19  Chong Yidong  <cyd@gnu.org>
3700         Doc fix for minor modes, stating that an omitted argument enables
3701         the mode unconditionally when called from Lisp.
3703         * abbrev.el (abbrev-mode):
3704         * allout.el (allout-mode):
3705         * autoinsert.el (auto-insert-mode):
3706         * autoarg.el (autoarg-mode, autoarg-kp-mode):
3707         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3708         (global-auto-revert-mode):
3709         * battery.el (display-battery-mode):
3710         * composite.el (global-auto-composition-mode)
3711         (auto-composition-mode):
3712         * delsel.el (delete-selection-mode):
3713         * desktop.el (desktop-save-mode):
3714         * dired-x.el (dired-omit-mode):
3715         * dirtrack.el (dirtrack-mode):
3716         * doc-view.el (doc-view-minor-mode):
3717         * double.el (double-mode):
3718         * electric.el (electric-indent-mode, electric-pair-mode):
3719         * emacs-lock.el (emacs-lock-mode):
3720         * epa-hook.el (auto-encryption-mode):
3721         * follow.el (follow-mode):
3722         * font-core.el (font-lock-mode):
3723         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3724         * help.el (temp-buffer-resize-mode):
3725         * hilit-chg.el (highlight-changes-mode)
3726         (highlight-changes-visible-mode):
3727         * hi-lock.el (hi-lock-mode):
3728         * hl-line.el (hl-line-mode, global-hl-line-mode):
3729         * icomplete.el (icomplete-mode):
3730         * ido.el (ido-everywhere):
3731         * image-file.el (auto-image-file-mode):
3732         * image-mode.el (image-minor-mode):
3733         * iswitchb.el (iswitchb-mode):
3734         * jka-cmpr-hook.el (auto-compression-mode):
3735         * linum.el (linum-mode):
3736         * longlines.el (longlines-mode):
3737         * master.el (master-mode):
3738         * mb-depth.el (minibuffer-depth-indicate-mode):
3739         * menu-bar.el (menu-bar-mode):
3740         * minibuf-eldef.el (minibuffer-electric-default-mode):
3741         * mouse-sel.el (mouse-sel-mode):
3742         * msb.el (msb-mode):
3743         * mwheel.el (mouse-wheel-mode):
3744         * outline.el (outline-minor-mode):
3745         * paren.el (show-paren-mode):
3746         * recentf.el (recentf-mode):
3747         * reveal.el (reveal-mode, global-reveal-mode):
3748         * rfn-eshadow.el (file-name-shadow-mode):
3749         * ruler-mode.el (ruler-mode):
3750         * savehist.el (savehist-mode):
3751         * scroll-all.el (scroll-all-mode):
3752         * scroll-bar.el (scroll-bar-mode):
3753         * server.el (server-mode):
3754         * shell.el (shell-dirtrack-mode):
3755         * simple.el (auto-fill-mode, transient-mark-mode)
3756         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3757         (line-number-mode, column-number-mode, size-indication-mode)
3758         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3759         * strokes.el (strokes-mode):
3760         * time.el (display-time-mode):
3761         * t-mouse.el (gpm-mouse-mode):
3762         * tool-bar.el (tool-bar-mode):
3763         * tooltip.el (tooltip-mode):
3764         * type-break.el (type-break-mode-line-message-mode)
3765         (type-break-query-mode):
3766         * view.el (view-mode):
3767         * whitespace.el (whitespace-mode, whitespace-newline-mode)
3768         (global-whitespace-mode, global-whitespace-newline-mode):
3769         * xt-mouse.el (xterm-mouse-mode): Doc fix.
3771         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3772         Fix autogenerated docstring.
3774 2011-10-19  Juri Linkov  <juri@jurta.org>
3776         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3777         by checking environment variables "DESKTOP_SESSION" and
3778         "XDG_CURRENT_DESKTOP".  (Bug#9779)
3780 2011-10-19  Juri Linkov  <juri@jurta.org>
3782         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3783         (browse-url-chromium-program, browse-url-chromium-arguments):
3784         New defcustoms.
3785         (browse-url-default-browser): Check for `browse-url-chromium' and
3786         call `browse-url-chromium-program'.
3787         (browse-url-chromium): New command.  (Bug#9779)
3789 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
3791         * facemenu.el (list-colors-duplicates): On Windows, detect more
3792         duplicates by assuming that only colors matching "^System" are
3793         special "system colors".  (Bug#9722)
3795 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3797         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3798         to distinguish the author from the committer.
3800 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
3802         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3804 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
3806         * international/mule.el (sgml-html-meta-auto-coding-function):
3807         Add support for detecting encoding in HTML5 specified only as
3808         <meta charset="UTF-8">.  Implementation just makes http-equiv and
3809         content-type parts from HTML4 encoding string optional.  (Bug#9716)
3811 2011-10-18  Glenn Morris  <rgm@gnu.org>
3813         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
3815 2011-10-18  Chong Yidong  <cyd@gnu.org>
3817         * faces.el (cursor): Doc fix.
3819 2011-10-17  Chong Yidong  <cyd@gnu.org>
3821         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3823 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
3825         * dirtrack.el (dirtrack): Support shell buffers with path
3826         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
3828 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
3830         * json.el: Bump version to 1.3 and note change in History.
3831         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3833 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3835         * comint.el (comint-insert-input, comint-send-input)
3836         (comint-get-old-input-default, comint-backward-matching-input)
3837         (comint-next-prompt): Use nil instead of `input' for field property of
3838         past user input (bug#114).
3840         * minibuffer.el (completion--replace): Inherit surrounding properties
3841         (bug#114).
3842         (minibuffer-complete-and-exit): Use it.
3844         * comint.el (comint--table-subvert): Quote the all-completions output
3845         (bug#9160).
3847 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
3849         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
3851         * menu-bar.el (menu-bar-file-menu): Add entry for making new
3852         window on right of selected.  (Bug#9350) Reword other window
3853         entries and separate them from frame entries.
3855 2011-10-15  Glenn Morris  <rgm@gnu.org>
3857         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3858         Doc fixes.
3860 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
3862         * net/network-stream.el (network-stream-open-starttls):
3863         Improve detection of failure due to lack of TLS support.
3865         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3866         putting the input text in front and in bold.
3868 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3870         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3872         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3873         empty buffer.
3875         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3876         unread-command-events rather than pushing yet-another event.
3878 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
3880         * mail/sendmail.el (sendmail-query-once): Improve the wording of
3881         the explanation of the possible choices.  Make the options passed
3882         to completing-read shorter.
3884 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3886         * textmodes/flyspell.el (flyspell-large-region): Make sure
3887         extended character mode is used if defined (Bug#1339).
3889 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
3891         * simple.el (what-cursor-position): Fix the display of the
3892         character info for LRE, LRO, RLE, and RLO characters by appending
3893         an invisible PDF.
3895 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3897         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3898         even in case of error; add debug spec; simplify data flow.
3899         (with-timeout-handler): Remove.
3901 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
3903         Fix Bug#6019, Bug#9315.
3905         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3906         complete `buffer-file-name', the local file name part could look
3907         remotely (for example on VMS).
3909         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3910         `tramp-run-real-handler'.
3911         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3912         already quoted by '"'.
3914         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3915         Let `file-name-handler-alist' be nil, the local file name part
3916         could look remotely (for example on VMS).
3918 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3920         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3921         from here...
3922         (flyspell-post-command-hook): ...to here.
3924 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3926         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3927         if not needed.
3928         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
3929         using completion.  Protect against "slow" callers.
3930         Remove the "message hack".
3932 2011-10-11  Juri Linkov  <juri@jurta.org>
3934         * isearch.el (isearch-lazy-highlight-word): New variable.
3935         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3936         Use it.  (Bug#9727)
3938 2011-10-11  Glenn Morris  <rgm@gnu.org>
3940         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3941         like f90-previous-statement does.
3943 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3945         * eshell/eshell.el (eshell-command): History should be saved
3946         only in interactive use, to avoid error.
3948 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3950         * minibuffer.el (completion-file-name-table): Fix last change,
3951         i.e. ignore normal errors but not the other ones.
3953 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
3955         * window.el (special-display-buffer-names)
3956         (special-display-regexps): Remove some remnants of earlier
3957         changes from doc-strings.
3958         (quit-windows-on): New function.
3960         * vc/vc.el (vc-revert, vc-rollback):
3961         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3962         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
3963         (Bug#6183) (Bug#7074) (Bug#7447)
3965 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
3967         * window.el (frame-auto-hide-function): Add version tag.
3968         (Bug#9699)
3970 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
3972         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3973         condition.
3975 2011-10-09  Leo Liu  <sdl.web@gmail.com>
3977         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3978         (Bug#9701)
3980 2011-10-08  Glenn Morris  <rgm@gnu.org>
3982         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3983         before the first code statement zero indent.  (Bug#9690)
3985 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
3987         * simple.el (count-words-region): Always count in the region.
3988         Report the number of lines and characters too.
3989         (count-words): New command, which counts in the buffer if the
3990         region is inactive, as count-words-region used to.
3991         (count-words--message): New function.  Handle plurals.
3992         (count-lines-region): Make it an alias for count-words-region.
3994         * bindings.el (esc-map): Replace count-lines-region with
3995         count-words-region.
3997 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
3999         * window.el (window--delete): Delete dedicated frame
4000         unconditionally when argument KILL is non-nil.  (Bug#9699)
4001         (switch-to-buffer): Fix doc-string typo.
4003 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4005         * eshell/eshell.el (eshell-command): Avoid using hooks.
4007 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
4009         * bindings.el ([M-left],[M-right]): Bind to left-word and
4010         right-word respectively.
4012 2011-10-07  Glenn Morris  <rgm@gnu.org>
4014         * cus-start.el (debug-on-quit): Fix custom type.
4016 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4018         * subr.el (define-key-after): Clarify that the function is not
4019         useful for non-menu keymaps.
4021         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4023 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4025         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4026         in current minibuffer (Fix bug with recursive minibuffers).
4028 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
4030         * progmodes/gdb-mi.el (gdb): Doc fix.
4032 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
4034         * window.el (frame-auto-hide-function): New option replacing
4035         frame-auto-delete.  Suggested by Stefan Monnier.
4036         (window--delete): Call frame-auto-hide-function instead of
4037         investigating frame-auto-delete.
4038         (window-point-1, set-window-point-1): New functions.
4039         (window-in-direction, record-window-buffer, window-state-get-1)
4040         (display-buffer-record-window): Use window-point-1 instead of
4041         window-point.
4042         (set-window-buffer-start-and-point): Use set-window-point-1.
4044 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4046         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4048 2011-10-05  Glenn Morris  <rgm@gnu.org>
4050         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4051         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
4053 2011-10-05  Leo Liu  <sdl.web@gmail.com>
4055         * subr.el (read-char-choice): Fix argument to buffer-live-p which
4056         works with buffer object.
4058 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4060         * mpc.el (mpc-tool-bar-map): Add labels.
4062 2011-10-04  Glenn Morris  <rgm@gnu.org>
4064         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4066 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
4068         * window.el (window--delete): New function.
4069         (frame-auto-delete): Resuscitate option.
4070         (bury-buffer, replace-buffer-in-windows)
4071         (quit-window): Rewrite using window--delete.
4072         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4073         Pass display-buffer-mark-dedicated to window--display-buffer-2
4074         (Bug#9639).
4076 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4078         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4079         returns a list (bug#9554).  Add remote file name completion.
4080         * comint.el (comint--table-subvert): Curry and get quote&unquote
4081         functions as arguments.
4082         (comint--complete-file-name-data): Adjust call accordingly.
4083         * pcomplete.el (pcomplete--table-subvert): Remove.
4084         (pcomplete-completions-at-point): Use comint--table-subvert instead.
4086         * minibuffer.el (completion-table-case-fold): Use currying.
4087         (completion--styles-type, completion--cycling-threshold-type):
4088         New constants.
4089         (completion-styles, completion-category-overrides)
4090         (completion-cycle-threshold): Use them.
4091         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4092         completion-table-case-fold.
4094 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
4096         * minibuffer.el (completion-category-overrides): Fix type of styles
4097         and add more user friendly tags (bug#9660).
4099 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4101         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4102         (mule-input-method-string): New widget.
4103         (default-input-method, language-info-custom-alist): Use it.
4105 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4107         * pcomplete.el: Require comint.
4108         (pcomplete--common-suffix): Remove.
4109         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4110         (pcomplete--table-subvert): Sync with comint--table-subvert.
4111         (pcomplete--entries): Use comint-completion-file-name-table.
4112         * comint.el (comint-unquote-filename): Simplify.
4113         (comint-completion-file-name-table): New function (bug#9616).
4114         (comint--complete-file-name-data): Use it.
4116         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4117         (pcmpl-gnu-tar-buffer): Remove.
4118         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4119         around.  Make sure pcomplete-suffix-list is only changed temporarily.
4120         Don't look inside the tar's file if it's too large.
4122 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
4124         * cus-edit.el (custom-mode-map):
4125         * epa.el (epa-key-list-mode-map):
4126         * man.el (Man-mode-map):
4127         * startup.el (splash-screen-keymap):
4128         * simple.el (special-mode-map): Use scroll-up-command and
4129         scroll-down-command.
4131         * progmodes/idlw-help.el (idlwave-help-mode-map):
4132         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4133         * net/newst-plainview.el (newsticker-mode-map):
4134         * emulation/ws-mode.el (wordstar-mode-map):
4135         * emulation/vi.el (vi-com-map):
4136         * calc/calc-graph.el (calc-graph-show-dumb):
4137         * term/sun.el (terminal-init-sun):
4138         * term/ns-win.el (global-map):
4139         * progmodes/grep.el (grep-mode-map):
4140         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4141         * mail/rmail.el (rmail-mode-map):
4142         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4144         * custom.el (custom-safe-themes, load-theme): Treat value of t for
4145         custom-safe-themes as special.
4147 2011-10-01  Julien Danjou  <julien@danjou.info>
4149         * notifications.el (notifications-notify): Fix docstring.
4151 2011-10-01  Per Starbäck  <per@starback.se>
4153         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
4155 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
4157         * startup.el (command-line-1): Fix last fix by inserting
4158         initial-scratch-message into *scratch* before displaying it.
4159         (Bug#9605) and (Bug#9636)
4161 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
4163         * simple.el (line-move): If auto-hscroll-mode is disabled and the
4164         window is hscrolled, move by logical lines.  (Bug#9607)
4165         (line-move-visual): Update the doc string to the above effect.
4167 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
4169         * window.el (display-buffer-record-window): When WINDOW is the
4170         selected window use `point' instead of `window-point'.  (Bug#9626)
4172         * startup.el (command-line-1): Use insert-before-markers when
4173         inserting initial-scratch-message.  (Bug#9605)
4175         * help.el (help-window): Remove variable.
4177 2011-09-29  Glenn Morris  <rgm@gnu.org>
4179         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4181 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
4183         * descr-text.el (describe-char-categories): Accept category
4184         descriptions more than one line long.
4186 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4188         * simple.el (delete-trailing-whitespace): Fix last change.
4190         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4191         Don't confuse "y => 3" as the beginning of a `y' operation.
4193         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4194         object has more than 4 slots (bug#9613).
4196 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
4198         * subr.el (with-output-to-temp-buffer):
4199         * net/quickurl.el (quickurl, quickurl-browse-url):
4200         Fix typos in docstrings.
4202 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
4204         * minibuffer.el (completion-styles)
4205         (completion-category-overrides): Cross reference each other in doc
4206         strings.
4208 2011-09-27  Glenn Morris  <rgm@gnu.org>
4210         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4211         to split-string.  (Bug#9606)
4213 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4215         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4216         (bug#9615).
4218 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
4220         * emacs-lisp/package.el (list-packages): Fix echo area message.
4222 2011-09-27  Leo Liu  <sdl.web@gmail.com>
4224         * ido.el (ido-read-internal): Accept cons cell HIST arg.
4226 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
4228         * net/dbus.el (dbus-unregister-object): Don't release services for
4229         registered signals.  (Bug#9581)
4231 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
4233         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4234         function that picks between cfengine 2 and 3 support
4235         automatically.  Update docs accordingly.
4237 2011-09-22  Kenichi Handa  <handa@m17n.org>
4239         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4240         ZERO.
4241         (indian-itrans-v5-table-for-tamil): New variable.
4242         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4244 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
4246         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4247         that's true if the current command involved collapsing of text.
4248         It's reset to false at the beginning of the next command.
4249         (allout-post-command-business): Move the cursor to the beginning
4250         of entry if the cursor is hidden and collapsing activity just
4251         happened.
4253 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
4255         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4256         tracking (Bug#9541).
4258 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
4260         * net/newst-reader.el (newsticker-html-renderer)
4261         (newsticker-show-news): Automatically load html rendering package
4262         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
4263         because w3m-fill-column is let-bound" and the error "Symbol's value
4264         as variable is void: w3m-fill-column".
4266 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
4268         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4269         Release services only if they are defined.  (Bug#9581)
4271 2011-09-23  Richard Stallman  <rms@gnu.org>
4273         * textmodes/paragraphs.el (forward-sentence): For backwards case,
4274         distinguish start of paragraph from start of its text.
4276         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4278         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4279         (rmail-generate-viewer-buffer): Put that hook on view buffer.
4280         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4282 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
4284         * international/mule-diag.el (mule-diag): Insert a newline after
4285         each fontset description.
4287 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4289         * simple.el (delete-trailing-whitespace):
4290         Document last change; simplify.
4292 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4294         * simple.el (delete-trailing-whitespace): Also delete
4295         extra newlines at the end of the buffer.
4297         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4298         (picture-newline): Use forward-line so as to ignore fields.
4300 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4302         * subr.el (with-wrapper-hook): Fix edebug spec.
4304 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4306         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4307         (bug#4538).
4309 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4311         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4312         Fix nasty bug using wrong cached values.
4314 2011-09-23  Alan Mackenzie  <acm@muc.de>
4316         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4318 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4320         * window.el (pop-to-buffer): Ensure right window is selected if we
4321         chose another frame.
4323 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4325         * simple.el (what-cursor-position): Use get-char-property-change
4326         and next-single-char-property-change, to be able to show display
4327         properties that come from overlays as well as text properties.
4329 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4331         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4333         * cmuscheme.el (run-scheme, switch-to-scheme):
4334         * cus-edit.el (customize-group, custom-buffer-create)
4335         (customize-browse):
4336         * info.el (info):
4337         * shell.el (shell):
4338         * mail/sendmail.el (mail):
4339         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4341 2011-09-22  Richard Stallman  <rms@gnu.org>
4343         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4344         move back only to line beg, don't move back over blank lines.
4346 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4348         * files.el (copy-directory): Set directory attributes only in case
4349         they could be retrieved from the source directory.  (Bug#9565)
4351 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4353         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4354         (hs-find-block-beginning, hs-hide-level-recursive):
4355         Ignore strings as well as comments.  (Bug#9502)
4357 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4359         * progmodes/sql.el (sql-comint-postgres):
4360         Convert port number to a string.  (Bug#9566)
4362 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4364         * window.el (quit-window): Undedicate window when switching to
4365         previous buffer.  Reported by Thierry Volpiatto
4366         <thierry.volpiatto@gmail.com>.
4367         (special-display-popup-frame): When popping up a new frame reset
4368         its previous buffers to nil.  Simplify code.
4370 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4372         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4373         and process filter, as done also in `shell-command'.
4375 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4377         * window.el (set-window-buffer-start-and-point):
4378         Call set-window-start with NOFORCE argument t.
4379         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4380         (quit-window): Reword doc-string.  Handle new format of
4381         quit-restore parameter.  Don't delete window if it has a
4382         previous buffer we can show instead of the present one.
4383         (display-buffer-record-window): Rewrite using a new format for
4384         the quit-restore window parameter
4385         (special-display-popup-frame, display-buffer-same-window)
4386         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4387         (display-buffer-pop-up-window, display-buffer-use-some-window):
4388         Adapt symbol passed to display-buffer-record-window.
4389         * help.el (help-window-setup): Handle new format of quit-restore
4390         parameter.
4392 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4394         * faces.el (face-list): Fix docstring (bug#9564).
4396         * window.el (display-buffer--action-function-custom-type):
4397         Don't include internal functions in the Custom interface.
4399 2011-09-20  Juri Linkov  <juri@jurta.org>
4401         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4402         (Info-forward-node, Info-backward-node, Info-next-preorder)
4403         (Info-last-preorder): Use it.  (Bug#9528)
4405 2011-09-20  Juri Linkov  <juri@jurta.org>
4407         * info.el (Info-last-preorder): Visit last menu item only when
4408         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4410 2011-09-20  Julien Danjou  <julien@danjou.info>
4412         * password-cache.el (password-cache-remove): Remove entries even if the
4413         value is nil, so that password with a nil value (negative caching) is
4414         possible to invalidate.
4416 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4418         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4419         all whitespace around breakpoint.  (Bug#9553)
4420         (f90-find-breakpoint): Only break at whitespace inside a comment.
4422 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4424         * minibuffer.el (completion-file-name-table): Keep track of errors.
4425         (completion-table-with-predicate): Handle the case where pred1 is nil.
4426         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4428 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4430         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4431         (debugger-return-value): Signal an error if the debugging context does
4432         not await any return value.
4434         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4435         * image-mode.el (image-toggle-display-text)
4436         (image-toggle-display-image): Stay away from evil `intangible'.
4438 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4440         * replace.el (occur-revert-arguments): Make it permanent-local.
4441         (occur-mode): Don't call font-lock-defontify.
4443 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4445         * net/ldap.el (ldap-search-internal): Don't push empty search
4446         result (Bug#9508).
4448 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4450         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4452 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4454         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4455         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4457 2011-09-18  Juri Linkov  <juri@jurta.org>
4459         * buff-menu.el (Buffer-menu-mode-map):
4460         * dired.el (dired-mode-map):
4461         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4462         (lisp-interaction-mode-map):
4463         * emacs-lisp/package.el (package-menu-mode-map):
4464         * epa.el (epa-key-list-mode-map):
4465         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4466         (menu-bar-options-menu):
4467         * outline.el (outline-mode-menu-bar-map):
4468         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4469         * vc/vc-dir.el (vc-dir-menu-map):
4470         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4471         Capitalize non-function content words in menu item strings.
4473         * dired.el (dired-mode-map): Add menu item for
4474         `image-dired-dired-toggle-marked-thumbs'.
4476 2011-09-18  Juri Linkov  <juri@jurta.org>
4478         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4479         to `isearch-case-fold-search' and restore its original value
4480         after the `isearch-mode' call.
4482 2011-09-18  Juri Linkov  <juri@jurta.org>
4484         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4485         because `zgrep' returns 1 for successful matches (bug#9226).
4487 2011-09-18  Juri Linkov  <juri@jurta.org>
4489         * info.el (Info-extract-menu-node-name): Check the second match
4490         for empty string (second test-case of bug#9528).
4491         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4492         intermediate nodes to the history (first test-case of bug#9528).
4494 2011-09-18  Juri Linkov  <juri@jurta.org>
4496         * info.el (Info-mode-syntax-table): New variable.
4497         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4499 2011-09-18  Juri Linkov  <juri@jurta.org>
4501         * info.el (Info-file-supports-index-cookies):
4502         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4503         outputs one more line for long file names (bug#4142).
4505 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4507         * newcomment.el (comment-normalize-vars): If prompting for
4508         comment-start, set comment-start-skip too (Bug#8424).
4510 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
4512         * icomplete.el: Fix previous fix of Bug#5849.
4513         (icomplete-mode): Don't set completion-show-inline-help.
4514         (icomplete-minibuffer-setup): Set completion-show-inline-help
4515         locally during icompletion.
4517 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4519         * woman.el (woman2-process-escapes): Don't delete unrecognized
4520         escapes (Bug#7843).
4522         * files.el (inhibit-first-line-modes-regexps): Add image files.
4523         (hack-local-variables-prop-line): Return nil for malformed
4524         prop-lines (Bug#9044).
4526 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4528         * net/tramp.el (top): Don't require 'shell.
4529         (tramp-methods): Fix docstring.
4530         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4531         Return complete remote file name.  Handle "smb" case.
4532         Use `tramp-tmpdir', if defined for the respective method.
4533         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4535         * net/tramp-compat.el (top): Require 'shell.
4537         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4538         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4539         `tramp-current-host'.
4540         (tramp-get-remote-tmpdir): Remove.
4542         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4543         `tramp-tmpdir' entries.
4544         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4545         (tramp-smb-handle-file-attributes): Ignore errors.
4546         (tramp-smb-wait-for-output): Check also for process end.
4548 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4550         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4551         when sending QUIT (bug#9312).
4553 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
4555         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4556         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4557         occur-mode-display-occurrence.
4558         (occur-edit-mode): Add usage message.
4559         (occur-cease-edit): New command.
4560         (occur-after-change-function): Use text properties to find the
4561         position of the prefix text.
4562         (occur-engine): Set stickiness of prefix text properties.
4564 2011-09-17  Glenn Morris  <rgm@gnu.org>
4566         * progmodes/etags.el (complete-tag):
4567         Fix call to completion-in-region.  (Bug#9526)
4569 2011-09-17  Juri Linkov  <juri@jurta.org>
4571         * textmodes/ispell.el (ispell-word): Add to the error message
4572         the word, ispell program name and current dictionary (bug#9121).
4573         (ispell-tex-arg-end): Capitalize "error" in the error message.
4575 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
4577         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4578         check.  (Bug#4251)
4580 2011-09-17  Juri Linkov  <juri@jurta.org>
4582         * window.el (window-safe-min-height, window-safe-min-width):
4583         Fix typos (followup to bug#9522).
4585 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
4587         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4589 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
4591         * simple.el (line-move): If goal-column is set, move by logical
4592         lines, not by display lines.  (Bug#971)
4593         (next-line, previous-line, goal-column, line-move-visual): Doc fix
4594         to reflect the above change.
4596 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4598         * image.el (imagemagick-register-types): Use regexp-opt.
4600 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4602         * window.el (display-buffer-base-action): Rename from
4603         display-buffer-default-action.  Make default value empty.
4604         (display-buffer-overriding-action): Convert to defvar.
4605         (display-buffer-fallback-action): New var.
4607 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4609         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4610         declaration.
4611         (package--add-to-archive-contents): If there is a duplicate entry
4612         with an older version, remove it.
4613         (package-menu-mark-delete, package-menu-mark-install)
4614         (package-menu-mark-unmark): Make unused args optional.
4615         (package-menu-mark-obsolete-for-deletion):
4616         Use package-menu-get-status instead of a regexp search.
4617         (package-menu-get-status): Use tabulated-list-entry.
4618         (package-menu-mark-upgrades): New command.
4619         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
4620         (package-menu-execute): Do installation before deletion.
4621         (package-menu-refresh, package-menu-execute): Use derived-mode-p
4622         instead of checking major-mode.
4623         (package-menu--find-upgrades): New function.
4625 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4627         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4628         passwords in the log buffer.
4629         (smtpmail-process-filter): Update the process marker so that the
4630         "broken by peer" status message is inserted in the right place.
4632 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4634         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4635         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4636         bibtex-completion-at-point-function.
4637         (bibtex-completion-at-point-function): Use them.
4639         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4641         * mpc.el (mpc-constraints-tag-lookup): New function.
4642         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4643         also to browser "album|playlist".
4645 2011-09-14  Juri Linkov  <juri@jurta.org>
4647         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
4648         (isearch-edit-string): Use length of `isearch-string' when
4649         `isearch-fail-pos' returns nil.
4650         (isearch-message): Remove duplicate code and call
4651         `isearch-fail-pos' with arg `t'.
4653 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
4655         * replace.el (occur-mode-goto-occurrence): Don't force using other
4656         window (Bug#9499).
4658         * dired-aux.el (dired-do-chmod): Don't provide initial input.
4660 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
4662         * window.el (display-buffer-window): Remove.
4663         (display-buffer-record-window): Use help-setup window parameter
4664         instead of variable display-buffer-window.
4665         (display-buffer-function, special-display-buffer-names)
4666         (special-display-function): Mention help-setup parameter instead
4667         of display-buffer-window in doc-string.
4668         * help.el (help-window-setup): New argument help-window.
4669         Use help-window-setup parameter instead of display-buffer-window.
4670         Reword some messages.
4671         (with-help-window): Pass window used for displaying the buffer
4672         to help-window-setup.  Don't set display-buffer-window.
4674 2011-09-13  Glenn Morris  <rgm@gnu.org>
4676         * emacs-lisp/debug.el (debugger-make-xrefs):
4677         Preserve point.  (Bug#9462)
4679 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4681         * window.el (window-deletable-p): Use next-frame.
4683 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
4685         * window.el (window-auto-delete): Remove.
4686         (window-deletable-p): Remove argument FORCE.  Don't deal with
4687         dedication and previous buffers.
4688         (switch-to-prev-buffer): Don't delete window.
4689         (delete-windows-on): Delete a window's frame if and only if the
4690         window is dedicated.
4691         (replace-buffer-in-windows): Delete buffer's window or frame if
4692         and only if window is dedicated.
4693         (quit-window): Handle quit-restore as before last change.
4694         (bury-buffer): Delete window only if window-deletable-p returns t.
4696 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4698         * window.el (window-deletable-p): Never delete the last frame on a
4699         given terminal.
4701 2011-09-13  Glenn Morris  <rgm@gnu.org>
4703         * help.el (describe-key-briefly): Copy previous standard-output change.
4705 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
4707         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
4709 2011-09-13  Glenn Morris  <rgm@gnu.org>
4711         * emacs-lisp/lisp-mode.el (lisp-indent-function):
4712         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4714 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
4716         * dired-aux.el (dired-mark-read-string): Don't return default
4717         value on empty input (Bug#9361).
4718         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4719         Omit initial minibuffer contents.
4720         (dired-do-chmod): Signal an error on empty input.
4721         (dired-mark-read-string): Don't return default on empty input.
4723         * files.el (file-modes-symbolic-to-number): Doc fix.
4725 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4727         * international/mule-cmds.el (ucs-completions): Remove.
4728         (read-char-by-name): Use complete-with-action instead; add metadata.
4730 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4732         * window.el (display-buffer--action-function-custom-type)
4733         (display-buffer--action-custom-type): New vars.
4734         (display-buffer-alist, display-buffer-default-action)
4735         (display-buffer-overriding-action): Add defcustom types.
4737         * frame.el (delete-other-frames): Doc fix (Bug#276).
4739 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4741         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4743 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4745         Change modes that used same-window-* vars to use switch-to-buffer.
4747         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4748         Use switch-to-buffer.
4750         * cus-edit.el (customize-group, custom-buffer-create)
4751         (customize-browse, custom-buffer-create-other-window):
4752         Use switch-to-buffer or switch-to-buffer-other-window.
4754         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4755         (Info-prev, Info-up, Info-speedbar-goto-node)
4756         (info-display-manual): Use switch-to-buffer.
4757         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4759         * mail/sendmail.el (mail): Use switch-to-buffer.
4760         (mail-recover): Use switch-to-buffer-other-window.
4762         * cmuscheme.el (run-scheme, switch-to-scheme):
4763         * ielm.el (ielm):
4764         * shell.el (shell):
4765         * net/rlogin.el (rlogin):
4766         * net/telnet.el (telnet, rsh):
4767         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4769 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
4771         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4773 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4775         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4776         so don't mention it (bug#9301).
4777         (dired-sort-toggle-or-edit): Clarify string further.
4779         * faces.el (face-spec-set-match-display): Make `(type graphic)'
4780         match `x', `w32' and `ns', like the manual says (bug#9029).
4782         * subr.el (eval-after-load): Doc string clarification (bug#9125).
4783         (process-kill-buffer-query-function): Mention the buffer name in
4784         the query.
4786         * image-mode.el (image-next-line): The line parameter is mandatory
4787         (bug#9258).
4789         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4790         which can be useful (bug#9301).
4792         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4794         * subr.el (match-string): Mention that the current buffer should
4795         be the same as the search was done in (bug#9282).
4797         * facemenu.el: Disable the remove-* commands if the mark isn't
4798         active (bug#9162).
4800 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4802         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4803         of display-buffer.
4804         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4806         * replace.el (occur-mode-goto-occurrence)
4807         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4808         and display-buffer.
4810         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4811         display-buffer.
4813         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4814         special-display and same-window variables.
4815         (mail-other-window): Use switch-to-buffer-other-window.
4816         (mail-other-frame): USe switch-to-buffer-other-frame.
4818         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4819         Use display-buffer-other-frame.
4820         (gdb-display-gdb-buffer): Use pop-to-buffer.
4822         * progmodes/gud.el (gud-goto-info): Use info-other-window.
4824         * progmodes/python.el: Don't set same-window-buffer-names.
4826         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4828         * window.el (display-buffer-alist): Add *Python*.
4830 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4832         * window.el (display-buffer-alist): Add entry for buffers
4833         previously handled same-window-*.
4834         (display-buffer-alist, display-buffer-default-action)
4835         (display-buffer-overriding-action): Mark as risky.
4836         (display-buffer-alist): Document action function changes.
4837         (display-buffer--same-window-action)
4838         (display-buffer--other-frame-action): New variables.
4839         (switch-to-buffer, display-buffer-other-frame): Use them.
4840         (display-buffer): Rename reuse-frame entry to reusable-frames.
4841         (display-buffer-reuse-selected-window): Function deleted.
4842         (display-buffer-reuse-window): Handle reusable-frames alist entry.
4843         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4844         (display-buffer-special): New function.
4845         (display-buffer--maybe-pop-up-frame-or-window): Rename from
4846         display-buffer-reuse-or-pop-window.  Split off special-display
4847         part into display-buffer-special.
4848         (display-buffer-use-some-window): Don't perform any special
4849         pop-up-frames handling.
4850         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
4851         (display-buffer--maybe-same-window): Rename from
4852         display-buffer-maybe-same-window.
4854         * info.el: Don't set same-window-regexps.
4855         (info-setup): New function.
4856         (info-other-window, info): Call it.
4858         * cus-edit.el: Don't set same-window-regexps.
4859         (customize-group): New argument.
4860         (customize-group-other-window): Use it.
4861         (customize-face, customize-face-other-window): Likewise.
4862         (custom-buffer-create-other-window): Use pop-to-buffer directly.
4864         * net/rlogin.el:
4865         * net/telnet.el:
4866         * progmodes/gud.el: Don't set same-window-regexps.
4868         * cmuscheme.el:
4869         * ielm.el:
4870         * shell.el:
4871         * mail/sendmail.el:
4872         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4874 2011-09-10  Juri Linkov  <juri@jurta.org>
4876         * isearch.el (isearch-edit-string): Remove obsolete mention of
4877         `C-w' (`isearch-yank-word-or-char') from docstring.
4878         (isearch-query-replace): Fix typo in docstring (bug#9466).
4880 2011-09-10  Juri Linkov  <juri@jurta.org>
4882         * paren.el (show-paren-function): Don't show escaped parens.
4883         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
4885 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
4887         * mail/sendmail.el (mml-to-mime, mml-attach-file)
4888         (mm-default-file-encoding): Remove autoload forms, they are
4889         replaced with autoload cookies in mml.el and mm-encode.el.
4890         (mail-add-attachment): New command.
4891         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4892         (mail-mode): Mention mail-insert-file and mail-add-attachment in
4893         the doc string.
4894         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4896 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
4898         * simple.el (count-words-region): Use buffer if there's no region
4899         (bug#9429).
4901 2011-09-09  Juri Linkov  <juri@jurta.org>
4903         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4904         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4905         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
4907 2011-09-09  Alan Mackenzie  <acm@muc.de>
4909         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4910         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
4912 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
4914         Fix for Savannah bug#9392.
4915         * simple.el (mail-encode-mml): New defvar.
4917         * mail/rmail.el (mail-encode-mml): Add a defvar.
4918         (rmail-enable-mime-composing): Default to t.
4919         (rmail-forward): Use MIME method of forwarding only if both
4920         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4921         Set mail-encode-mml non-nil if the MIME method was used.
4923         * mail/sendmail.el (mml-to-mime): Add autoload form.
4924         (mail-encode-mml): Add a defvar.
4925         (mail-mode): Make mail-encode-mml buffer-local and initialize it
4926         to nil.
4927         (mail-send): If mail-encode-mml is non-nil, run the outgoing
4928         message through mml-to-mime, and reset mail-encode-mml to nil.
4930 2011-09-09  Glenn Morris  <rgm@gnu.org>
4932         * woman.el (woman-if-body): When processing an .el block,
4933         do not delete the next .el block as well.  (Bug#9447)
4934         (woman-special-characters): Add oq, cq, and hy characters.
4936 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4938         * window.el (window-deletable-p): Make sure window is live before
4939         invoking window-prev-buffers.
4941 2011-09-08  Leo Liu  <sdl.web@gmail.com>
4943         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
4945 2011-09-08  Juri Linkov  <juri@jurta.org>
4947         * progmodes/compile.el (compilation-environment): Make it
4948         a defcustom (bug#8340).
4950 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4952         * window.el (frame-auto-delete): Rename to window-auto-delete.
4953         Make it control auto-deletion of windows and/or frames.
4954         (window-deletable-p): New argument FORCE.  Rewrite conditions
4955         for deleting window/frame.  (Bug#9419)
4956         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4957         Rewrite handling of case when window/frame can be deleted.
4958         (delete-windows-on): Call window-deletable-p with new FORCE
4959         argument t.  (Bug#9456)
4961 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
4963         * help-mode.el (help-mode): Restore autoload.
4965 2011-09-07  Juri Linkov  <juri@jurta.org>
4967         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4968         `compilation-environment'.  Set buffer-local
4969         `compilation-environment' to `thisenv' later after (funcall mode).
4970         (Bug#8340)
4972         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
4973         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4974         instead of replacing its value.  (Bug#8340)
4976 2011-09-07  Juri Linkov  <juri@jurta.org>
4978         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4979         based on text properties put by `grep-filter' instead of matching
4980         escape sequences.
4981         (grep-mode): Set buffer-local `compilation-error-screen-columns'
4982         to the value of `grep-error-screen-columns' (bug#9438).
4984 2011-09-07  Juri Linkov  <juri@jurta.org>
4986         * simple.el (next-error-highlight, next-error-highlight-no-select):
4987         Doc fix (bug#9432).
4989 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
4991         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4992         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
4994 2011-09-07  Leo Liu  <sdl.web@gmail.com>
4996         * net/rcirc.el (rcirc-mode): Conditionally initialize
4997         rcirc-input-ring.
4999 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5001         * emacs-lisp/find-func.el (find-function-C-source): Only set
5002         find-function-C-source-directory after checking that we found a source
5003         file there (bug#9440).
5005 2011-09-06  Alan Mackenzie  <acm@muc.de>
5007         * isearch.el (isearch-other-meta-char): Wherever a key list is
5008         unread, "unread" the prefix arg, too.  This fixes bug #8901.
5010 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5012         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5014 2011-09-05  Juri Linkov  <juri@jurta.org>
5016         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5018 2011-09-05  Juri Linkov  <juri@jurta.org>
5020         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5021         keeping point where processing of grep matches begins, and
5022         continue to delete remaining escape sequences from the same point.
5023         (grep-filter): Make leading zero optional in "0?1;31m" because
5024         git-grep emits "\033[1;31m" escape sequences unlike expected
5025         "\033[01;31m" as GNU Grep does (bug#9408).
5026         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5028 2011-09-05  Juri Linkov  <juri@jurta.org>
5030         * subr.el (y-or-n-p): Capitalize "yes".
5032 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
5034         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
5035         `tramp-cache-unload-hook' where appropriate.
5036         (tramp-methods): Rename `tramp-remote-sh' to
5037         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
5038         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5040         * net/tramp-sh.el (top): Don't require 'shell.
5041         (tramp-methods): Add `tramp-remote-shell' and
5042         `tramp-remote-shell-args' entries.
5043         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5044         (tramp-sh-handle-shell-command): Remove.
5045         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5046         Use `tramp-remote-shell'.
5048 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
5050         * mail/sendmail.el (sendmail-query-once-function): Delete.
5051         (sendmail-query-once): Save directly to send-mail-function.
5052         Update message-send-mail-function too.
5054         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5056 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5058         * progmodes/python.el (python-mode-map): Use correct function to
5059         start python interpreter from menu-bar (as reported by Geert
5060         Kloosterman).
5061         (inferior-python-mode-map): Fix typo.
5062         (python-shell-map): Remove.
5064 2011-09-03  Deniz Dogan  <deniz@dogan.se>
5066         * net/rcirc.el (rcirc-print): Simplify code for
5067         rcirc-scroll-show-maximum-output.  There is no need to walk
5068         through all windows to find the right one.
5070 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5072         * help.el (help-return-method): Doc fix.
5074 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
5076         * window.el (window-deletable-p): Don't return a non-nil value
5077         when there's a buffer that was shown in the window before.
5078         (Bug#9419)
5079         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5080         Set window's previous buffers to nil.
5082 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
5084         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5085         newline before and after the tag line, so it doesn't interfere
5086         with determining the paragraph direction of bidirectional text.
5088 2011-09-03  Leo Liu  <sdl.web@gmail.com>
5090         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
5092 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5094         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5095         (pop-to-buffer): Change interactive spec.  Pass second argument
5096         directly to display-buffer.
5097         (display-buffer): Fix interactive spec.  Use functionp to
5098         distinguish between a function and a list of functions.
5100         * abbrev.el (edit-abbrevs):
5101         * arc-mode.el (archive-extract):
5102         * autoinsert.el (auto-insert):
5103         * bookmark.el (bookmark-bmenu-list):
5104         * files.el (find-file):
5105         * view.el (view-buffer):
5106         * progmodes/compile.el (compilation-goto-locus):
5107         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5109 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5111         * window.el (display-buffer-alist): Doc fix.
5112         (display-buffer): Add docstring.  Don't treat
5113         display-buffer-default specially.
5114         (display-buffer-reuse-selected-window)
5115         (display-buffer-same-window, display-buffer-maybe-same-window)
5116         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5117         (display-buffer-pop-up-window)
5118         (display-buffer-reuse-or-pop-window)
5119         (display-buffer-use-some-window): New functions.
5120         (display-buffer-default-action): Use them.
5121         (display-buffer-default): Delete.
5122         (pop-to-buffer-1): Fix choice of actions.
5124 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5126         * minibuffer.el (completion--insert-strings): Don't get confused by
5127         completion entries that end with an LF char.
5129 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
5131         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5133 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
5135         * window.el (display-buffer): Restore interactive spec.
5136         (display-buffer-same-window, display-buffer-other-window):
5137         New functions.
5138         (pop-to-buffer-1): New function.  Use the above.
5139         (pop-to-buffer, pop-to-buffer-same-window): Use it.
5140         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5142         * view.el (view-buffer-other-window, view-buffer-other-frame):
5143         Just use pop-to-buffer.
5145 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5147         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
5149 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
5151         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
5153 2011-08-31  Richard Stallman  <rms@gnu.org>
5155         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5156         of the separation of rmail-view-buffer from rmail-buffer.
5157         If you say no to "replace original", the decrypt is in the
5158         view buffer.  If you say yes, the decrypt goes into the
5159         rmail buffer also.
5161 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
5163         * window.el (display-buffer-window): Rewrite doc-string.
5164         (display-buffer-record-window): New function.
5165         (display-buffer-macro-specifiers)
5166         (display-buffer-even-window-sizes, display-buffer-set-height)
5167         (display-buffer-set-width, display-buffer-in-window)
5168         (display-buffer-reuse-window, display-buffer-split-specifiers)
5169         (display-buffer-side-specifiers, display-buffer-split-window-1)
5170         (display-buffer-split-window, display-buffer-split-atom-window)
5171         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5172         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5173         (display-buffer-other-window-means-other-frame)
5174         (display-buffer-normalize-special)
5175         (display-buffer-normalize-default)
5176         (display-buffer-normalize-argument)
5177         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5178         (display-buffer-normalize-specifiers, display-buffer-frame)
5179         (display-buffer-same-window, display-buffer-same-frame)
5180         (display-buffer-other-window)
5181         (display-buffer-same-frame-other-window)
5182         (display-buffer-other-frame, pop-to-buffer-same-window)
5183         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5184         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5185         (switch-to-buffer-same-frame)
5186         (switch-to-buffer-other-window-same-frame)
5187         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5188         (display-buffer-alist-set-1, display-buffer-alist-set-2)
5189         (display-buffer-alist-set): Remove.
5190         (display-buffer-function, special-display-buffer-names)
5191         (special-display-regexps, special-display-function):
5192         In doc-string refer to display-buffer-window and quit-restore
5193         parameter.
5194         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5195         (special-display-frame-alist, special-display-popup-frame)
5196         (same-window-buffer-names, same-window-regexps, same-window-p)
5197         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5198         (split-window-preferred-function, split-height-threshold)
5199         (split-width-threshold, window-splittable-p)
5200         (split-window-sensibly, window--try-to-split-window)
5201         (window--frame-usable-p, even-window-heights)
5202         (window--even-window-heights, window--display-buffer-1)
5203         (window--display-buffer-2, display-buffer-other-frame):
5204         Restore old Emacs 23 code, order and doc-strings where applicable.
5205         (display-buffer-default, display-buffer-assq-regexp): New functions.
5206         (display-buffer-alist): Rewrite doc-string.
5207         (display-buffer-default-action)
5208         (display-buffer-overriding-action): New variables.
5209         (display-buffer, switch-to-buffer): Rewrite.
5210         (pop-to-buffer): Restore Emacs 23 behavior but use
5211         window-normalize-buffer-to-display.
5212         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5213         Restore Emacs 23 behavior but use
5214         window-normalize-buffer-to-switch-to.
5215         (pop-to-buffer-same-window): Rewrite.
5216         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5217         Rewrite using Emacs 23 options.
5219 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
5221         * net/tramp.el (tramp-root-regexp): Remove.
5222         (tramp-completion-file-name-regexp-unified)
5223         (tramp-completion-file-name-regexp-separate)
5224         (tramp-completion-file-name-regexp-url): Don't use leading volume
5225         letter on win32 systems.  (Bug#5303, Bug#9311)
5226         (tramp-drop-volume-letter): Simplify definition.
5227         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5229 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5231         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5232         (bug#9356).
5234 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
5236         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5238 2011-08-29  Juri Linkov  <juri@jurta.org>
5240         * isearch.el (isearch-done): Don't display message "Mark saved"
5241         when arg `edit' is non-nil to prevent its flicker in the echo area.
5243 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5245         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5246         obsolete packages for deletion.
5248 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
5250         * help-mode.el (help-mode-map): Add special-mode-map to parent.
5251         (help-mode): Derive help-mode from special-mode.  Don't invoke
5252         view-mode from help-mode.
5253         (help-xref-override-view-map): Remove.
5254         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5255         view-mode is not used anymore.
5257 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5259         * server.el (server-port): Doc fix.
5261         * cus-theme.el (custom-theme-choose-mode): Inherit from
5262         special-mode (Bug#9124).
5263         (custom-theme-choose-mode-map): Add special-mode to parent.
5265 2011-08-28  Alan Mackenzie  <acm@muc.de>
5267         * progmodes/cc-fonts.el
5268         (c-make-font-lock-BO-decl-search-function): New function.
5269         (c-basic-matchers-after - "Fontify the clauses after various
5270         keywords"): Extract the three keyword lists for the 3 erroneous
5271         constructs from the list of four, and use the new function above
5272         in place of an old one.
5274 2011-08-28  Deniz Dogan  <deniz@dogan.se>
5276         * net/rcirc.el (rcirc-insert-prev-input)
5277         (rcirc-insert-next-input): Remove unused argument.
5279 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5281         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5283 2011-08-27  Alan Mackenzie  <acm@muc.de>
5285         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5286         handle function pointer parameters properly.
5288 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
5290         * window.el (display-buffer-reuse-window): Fix case where
5291         selected window was reused with non-nil OTHER-WINDOW argument.
5292         (Bug#9381)
5294 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5296         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5297         oftc's NickServ messages.
5299 2011-08-27  Glenn Morris  <rgm@gnu.org>
5301         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5303 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5305         * emacs-lisp/package.el (package-install): Call package-initialize
5306         if called interactively.
5308 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5310         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5312 2011-08-25  Juri Linkov  <juri@jurta.org>
5314         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5315         `search-whitespace-regexp' (bug#9364).
5317 2011-08-25  Juri Linkov  <juri@jurta.org>
5319         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5320         `regexp-search-ring' to their global values to protect from
5321         updating by `read-from-minibuffer' (bug#9185).
5323 2011-08-25  Juri Linkov  <juri@jurta.org>
5325         * textmodes/ispell.el (ispell-command-loop): Add newline
5326         at the end of the "Use option `i'..." line.
5328 2011-08-25  Juri Linkov  <juri@jurta.org>
5330         * battery.el (display-battery-mode): If `battery-status-function'
5331         or `battery-mode-line-format' is nil, display the message and set
5332         `display-battery-mode' to nil (bug#9363).
5334 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5336         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5337         bidi-string-mark-left-to-right; they are unnecessary now.
5339 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5341         * net/quickurl.el: Documentation typo fixes.
5343 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5345         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5347 2011-08-25  Glenn Morris  <rgm@gnu.org>
5349         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5351         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5352         (smtpmail-via-smtp): Handle nil response from smtp.
5354 2011-08-24  Juri Linkov  <juri@jurta.org>
5356         * proced.el (proced-marked): Inherit from `error' instead of
5357         `font-lock-warning-face'.
5359         * ibuffer.el (ibuffer-marked-face): Change default face from
5360         `font-lock-warning-face' to `warning'.
5361         (ibuffer-deletion-face): Change default face from
5362         `font-lock-type-face' to `error'.
5364         * battery.el (battery-update): Use the face `error' instead of
5365         `font-lock-warning-face' (bug#6117).
5367 2011-08-24  Juri Linkov  <juri@jurta.org>
5369         * faces.el (success): Change face color from "Green3" to
5370         "ForestGreen" on light background (bug#9353).
5372 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5374         * window.el (quit-window): Rename from quit-restore-window.
5375         Use same arglist as old quit-window.
5376         (frame-auto-delete): Doc fix.
5378         * view.el (view-mode-exit): Use quit-window.
5380 2011-08-24  Juri Linkov  <juri@jurta.org>
5382         * isearch.el (isearch-ring-adjust1): Start visiting previous
5383         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5384         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5385         for empty search string (when the last search string is reused
5386         automatically) to adjust the isearch ring to the last element and
5387         prepare the correct index for further M-p commands (bug#9185).
5389 2011-08-24  Kenichi Handa  <handa@m17n.org>
5391         * international/ucs-normalize.el: If decomposition property of
5392         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5393         nil.
5394         (nfd, nfkd): Likewise.
5396 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5398         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5399         from process filters aren't reliably transmitted to the surrounding
5400         accept-process-output.
5401         (mpc-proc-check): New function.
5402         (mpc-proc-sync): Use it (bug#8293)
5404 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5406         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5407         Add compatibility functions (bug#9313).
5409 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5411         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5413         * international/uni-bidi.el: Regenerate.
5415 2011-08-23  Kenichi Handa  <handa@m17n.org>
5417         * international/charprop.el:
5418         * international/uni-bidi.el:
5419         * international/uni-category.el:
5420         * international/uni-combining.el:
5421         * international/uni-comment.el:
5422         * international/uni-decimal.el:
5423         * international/uni-decomposition.el:
5424         * international/uni-digit.el:
5425         * international/uni-lowercase.el:
5426         * international/uni-mirrored.el:
5427         * international/uni-name.el:
5428         * international/uni-numeric.el:
5429         * international/uni-old-name.el:
5430         * international/uni-titlecase.el:
5431         * international/uni-uppercase.el: Regenerate.
5433 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5435         * help.el (help-window-setup): Fix message displayed when other
5436         window is reused.  (Bug#9341)
5438 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5440         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5441         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5443         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5444         Mark obsolete.
5445         * shell.el (shell-parse-pcomplete-arguments): New function.
5446         (shell-completion-vars): Use it instead (bug#9160).
5448 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5450         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5451         strings and comments (bug#9333).
5453         * emacs-lisp/debug.el (debug-arglist): New function.
5454         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5455         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5457 2011-08-22  Juri Linkov  <juri@jurta.org>
5459         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5460         Revert regexp that highlights output switches to its old
5461         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5463         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5464         to check for empty output (bug#9226).
5466 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5468         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5469         symbol-constituent as the default, as that stops font-lock from
5470         working properly (Bug#8843).
5472 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5474         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5475         `coding-system-for-*' around the process open call to avoid
5476         auth-source side effects.
5477         (smtpmail-try-auth-methods): Expand the secret password.
5478         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5479         probe hangs.
5481 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5483         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5485         * emacs-lisp/find-func.el (find-function-noselect): New arg
5486         lisp-only.
5488         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5489         signal an error for built-in functions (Bug#6664).
5491 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5493         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5494         (smtpmail-try-auth-methods): Use it.
5496 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5498         * font-lock.el (font-lock-fontify-region)
5499         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5500         (font-lock-default-unfontify-buffer)
5501         (font-lock-default-fontify-region)
5502         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5504         * progmodes/compile.el (compilation-error-properties):
5505         Fix confusion between file struct and message struct (Bug#9319).
5506         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5507         `ant' regexp.
5509         * net/browse-url.el (browse-url-firefox): Don't call
5510         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5512 2011-08-20  Glenn Morris  <rgm@gnu.org>
5514         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5516         * tutorial.el (tutorial--default-keys): Update some default bindings.
5518         * files.el (hack-local-variables): Fully ignore case for "mode:".
5520 2011-08-20  Alan Mackenzie  <acm@muc.de>
5522         Resolve invalid use of a regexp in regexp-opt.
5524         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5525         detection for a java annotation.
5527         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5528         detection for a java annotation.
5530         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5531         handling for java.
5532         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5534 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5536         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5537         (Bug#9274).
5539 2011-08-20  Alan Mackenzie  <acm@muc.de>
5541         Fontify CPP expressions correctly when starting in the middle of
5542         such a construct.  Mainly for when jit-lock etc. starts a chunk
5543         here.
5545         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5546         variable.
5547         (c-make-font-lock-search-form): New function, extracted from
5548         c-make-font-lock-search-function.
5549         (c-make-font-lock-search-function): Use the above function.
5550         (c-make-font-lock-context-search-function): New function.
5551         (c-cpp-matchers): Enhance the preprocessor expression case with
5552         the above function
5553         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5554         which takes an expression.
5556         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5558 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
5560         * window.el (display-buffer-reuse-window)
5561         (display-buffer-pop-up-window): Don't reuse or split a side
5562         window.
5564 2011-08-19  Glenn Morris  <rgm@gnu.org>
5566         * files.el (hack-local-variables-prop-line, hack-local-variables):
5567         Downcase "Mode:".  (Bug#9331)
5569 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
5571         * international/characters.el: Add L and R categories.
5573         * subr.el (bidi-string-mark-left-to-right): Rename from
5574         string-mark-left-to-right.  Use category search.
5576         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5578 2011-08-18  Juri Linkov  <juri@jurta.org>
5580         * faces.el (error, warning, success): New faces with definitions
5581         copied from old default values of `font-lock-warning-face',
5582         `compilation-warning', `compilation-info' (bug#6117).
5584         * font-lock.el (font-lock-warning-face): Inherit from `error'.
5586         * progmodes/compile.el (compilation-error): Inherit from `error'.
5587         (compilation-warning): Inherit from `warning'.
5588         (compilation-info): Inherit from `success'.
5590         * dired.el (dired-marked): Inherit from `warning'.
5591         (dired-flagged): Inherit from `error'.
5593 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5595         * mail/smtpmail.el (auth-source): Require to avoid problems with
5596         binding variables (bug#9298).  Also clean up some unused
5597         autoloads.
5599         * net/network-stream.el (network-stream-open-starttls):
5600         Support using starttls.el without using gnutls-cli.
5602 2011-08-17  Juri Linkov  <juri@jurta.org>
5604         * progmodes/grep.el (rgrep): Handle the case when
5605         `grep-find-command' is a cons cell (bug#9278).
5607 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
5609         * window.el (display-buffer-pop-up-frame): Run frame creation
5610         function with BUFFER current (as special-display-popup-frame
5611         does).  Reported by Drew Adams.
5613 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
5615         * epa-mail.el: Simplify GnuPG group expansion using
5616         epg-expand-group.
5617         (epa-mail-group-alist, epa-mail-group-modtime)
5618         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5619         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5620         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5621         Remove.
5623 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
5625         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5627 2011-08-16  Alan Mackenzie  <acm@muc.de>
5629         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5630         Correct, to avoid the inside of macros.
5632 2011-08-16  Richard Stallman  <rms@gnu.org>
5634         * epa-mail.el: Handle GnuPG group definitions.
5635         (epa-mail-group-alist, epa-mail-group-modtime)
5636         (epa-mail-gnupg-conf-file): New variables.
5637         (epa-mail-parse-groups, epa-mail-sync-groups)
5638         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5639         (epa-mail-expand-recipients): New functions.
5640         (epa-mail-encrypt): Call epa-mail-expand-recipients.
5642         * mail/rmail.el (rmail-epa-decrypt): New command.
5644         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5645         Don't bind buffer-read-only, just inhibit-read-only.
5646         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5647         (epa-decrypt-armor-in-region): Make error message clearer.
5649 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5651         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5652         and "a2b" to "ab" for `prefix'.
5654 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
5656         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5657         filter groups.
5658         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
5659         Fourquet (Bug#8804).
5661 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
5663         * startup.el (argi): Declare as global variable (bug#9275).
5665 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
5667         * subr.el (string-mark-left-to-right): Search the entire string
5668         for RTL script, not just the terminating character.  Doc fix.
5670 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5672         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5673         New function.
5674         (js--regexp-literal, js-syntax-propertize-function): Remove.
5675         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5676         (js-mode-map): Don't rebind electric keys.
5677         (js-insert-and-indent): Remove.
5678         (js-mode): Setup electric-layout and electric-indent instead.
5680         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5682 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
5684         * epa.el (epa-progress-callback-function): Fix the logic of
5685         displaying progress.
5686         * epa-file.el (epa-file-insert-file-contents): Make progress
5687         display more user-friendly.
5688         (epa-file-write-region): Ditto.
5690 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
5692         * subr.el (string-mark-left-to-right): New function.
5694         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5695         Use string-mark-left-to-right.
5696         (list-buffers-noselect): Caller changed.
5698         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5699         Use string-mark-left-to-right.
5700         (tabulated-list-print): Recenter after moving point.
5702 2011-08-10  Juri Linkov  <juri@jurta.org>
5704         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5705         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5706         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5708 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
5710         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5711         (Bug#7554).
5713 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5715         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5716         character.  (Bug#6594)
5718 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
5720         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5721         (image-dired--with-db-file): New macro.
5722         (image-dired-write-tags, image-dired-remove-tag)
5723         (image-dired-create-gallery-lists, image-dired-write-comments)
5724         (image-dired-get-comment, image-dired-mark-tagged-files)
5725         (image-dired-list-tags, image-dired-gallery-generate): Use it.
5726         (image-dired-gallery-generate): Use insert-file-contents.
5728         * time.el (display-time-world-list, display-time-world-display):
5729         * time-stamp.el (time-stamp-string):
5730         * vc/add-log.el (add-change-log-entry): Use setenv instead of
5731         set-time-zone-rule (Bug#7337).
5733 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
5735         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5736         (epg-error-to-string, epg-errors-to-string): New function.
5737         (epg-wait-for-completion): Reverse errors list.
5738         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5739         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5740         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5741         (epg-sign-keys, epg-generate-key-from-file)
5742         (epg-generate-key-from-string): Format errors by using
5743         epg-errors-to-string (bug#9255).
5744         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5746 2011-08-07  Juri Linkov  <juri@jurta.org>
5748         * faces.el (list-faces-display): Remove extra angle bracket
5749         from `help-mode-map'.
5751         * info.el (Info-history-toc-nodes): Doc fix.
5753         * longlines.el (longlines-mode): Doc fix.
5755 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5757         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5758         of statements and in a few more cases (bug#9183).
5760         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5761         New functions.
5762         (cl-transform-lambda): Use them (bug#9239).
5764 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
5766         * window.el (display-buffer-same-window)
5767         (display-buffer-same-frame, display-buffer-other-window)
5768         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5769         (pop-to-buffer-other-window)
5770         (pop-to-buffer-same-frame-other-window)
5771         (pop-to-buffer-other-frame): Make them defuns.
5772         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5774 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5776         * subr.el (make-composed-keymap): Move from C.  Change calling
5777         convention, and improve docstring to bring attention to a subtle point.
5778         * minibuffer.el (completing-read-default): Adjust accordingly.
5780 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
5782         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5783         (tramp-open-shell): Use `tramp-shell-quote-argument'.
5785         * net/trampver.el: Update release number.
5787 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5789         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5790         "in" (bug#9190).
5792 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5794         * mail/sendmail.el (sendmail-query-once): Restore the current
5795         buffer after querying (bug#9074).
5797         * dired.el (dired-flagged): Use different faces for marked and
5798         flagged files (bug#6117).
5800         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5801         (bug#4433).
5803         * ido.el (ido-mode): Switch off the message if called
5804         non-interactively.
5806         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5807         before 587, since it appears that that's more likely to work for
5808         more people.
5810         * cus-edit.el (custom-file): When running under emacs -q, always
5811         refuse to save the customizations, even if the .emacs file doesn't
5812         exist.
5814         * info.el: Remove the `Info-beginning-of-buffer' function
5815         (bug#8325).
5817         * net/network-stream.el (network-stream-open-starttls):
5818         Use `starttls-available-p' to see whether starttls.el can be used.
5820 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
5822         * window.el (display-buffer-in-window): Don't set dedicated status
5823         of window here (Bug#9215).
5824         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5825         (display-buffer-pop-up-side-window)
5826         (display-buffer-in-side-window): Set dedicated status of window here.
5828 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5830         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5831         before binding generated-autoload-file.
5833 2011-08-01  Deniz Dogan  <deniz@dogan.se>
5835         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5837 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
5839         Sync with Tramp 2.2.2.
5841         * net/trampver.el: Update release number.
5843 2011-07-30  Juri Linkov  <juri@jurta.org>
5845         * dired-aux.el (dired-touch-initial): Remove function.
5846         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5847         current time, and `default' to the last modification time of the
5848         current marked file (bug#6887).
5850 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
5852         * simple.el (goto-line): Use string-to-number to provide a
5853         numeric argument to read-number (bug#9163).
5855 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
5857         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5858         connection process, it could be nil.
5860 2011-07-27  Leo Liu  <sdl.web@gmail.com>
5862         Simplify url handling in rcirc-mode.
5864         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5865         (rcirc-browse-url-at-mouse): Remove.
5866         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5868 2011-07-26  Alan Mackenzie  <acm@muc.de>
5870         Fontify bitfield declarations properly.
5872         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5873         (c-symbol-chars): Now exported as a lang variable.
5874         (c-not-primitive-type-keywords): New lang variable.
5876         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5877         QT keyword "more" to prevent "more slots: ...." being spuriously
5878         parsed as a bitfield declaration.
5880         * progmodes/cc-engine.el (c-beginning-of-statement-1):
5881         Refactor and enhance to handle bitfield declarations.
5882         (c-punctuation-in): New function.
5883         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5884         declarations properly.
5886 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
5888         * calendar/icalendar.el (icalendar--all-events): Take care of
5889         multiple vcalendars in a single file.
5890         (icalendar--convert-float-to-ical): Checkdoc fixes.
5892 2011-07-25  Deniz Dogan  <deniz@dogan.se>
5894         * image.el (insert-image): Clarifying docstring.
5896 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
5898         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5899         `tramp-send-command-and-check' if there is no error.
5900         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5902 2011-07-22  Alan Mackenzie  <acm@muc.de>
5904         Prevent cc-langs.elc being loaded at run time.
5906         * progmodes/cc-mode.el: Remove two autoload forms which loaded
5907         cc-langs.
5909         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
5910         "(require 'cc-langs)".  Quote a form so it will evaluate at
5911         (cc-mode's) compilation time.
5913 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
5915         * net/tramp.el (tramp-file-name-handler): Avoid recursive
5916         loading.  (Bug#9114)
5918 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
5920         * window.el (display-buffer-pop-up-window)
5921         (display-buffer-pop-up-side-window)
5922         (display-buffer-in-side-window): Call display-buffer-set-height
5923         and display-buffer-set-width after setting the new window's
5924         buffer so `fit-window-to-buffer' and friends work on the right buffer.
5926 2011-07-20  Sam Steingold  <sds@gnu.org>
5928         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5929         (etags-tags-included-tables): Call `convert-standard-filename' on
5930         the file names contained in TAGS so that windows Emacs can handle
5931         TAGS files created by cygwin ctags.
5933 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5935         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5936         which apparently didn't work.
5938 2011-07-19  Roland Winkler  <winkler@gnu.org>
5940         * proced.el (proced-send-signal): For *Marked Processes* buffer
5941         put point at beginning of buffer.
5943 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
5945         * proced.el (proced-format): Make header lines align with the text
5946         (bug#1779).
5948 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5950         * view.el (view-buffer): Allow running in `special' modes if we're
5951         visiting a file (bug#8615).
5953 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
5955         * window.el (display-buffer-alist-of-strings-p)
5956         (display-buffer-alist-set-1, display-buffer-alist-set-2):
5957         New functions.
5958         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5959         more accurately.
5961 2011-07-18  Alan Mackenzie  <acm@muc.de>
5963         Fontify declarators properly when, e.g., a jit-lock chunk begins
5964         inside a declaration.
5966         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5968         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5969         New function.
5970         (c-complex-decl-matchers): Insert reference to
5971         c-font-lock-enclosing-decls.
5973         * progmodes/cc-engine.el (c-backward-single-comment):
5974         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5975         to nil around calls to (forward-comment -1).
5977 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5979         * image.el (put-image): Doc typo fix.
5981         * progmodes/etags.el (tags-search): Doc typo fix.
5983         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5984         password if we get errors 550 to 554.
5986 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5988         * net/gnutls.el (gnutls-log-level): Remove.
5990         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5991         indentation character (bug#6380).
5993         * files.el (buffer-offer-save): Made permanently local (bug#6241).
5995         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5996         to clarify what the problem is (bug#4291).
5998         * simple.el (current-kill): Clarify what
5999         `interprogram-paste-function' does (bug#7500).
6000         (auto-fill-mode): Document `auto-fill-function' in relation to
6001         `auto-fill-mode' (bug#2470).
6003 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
6005         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6006         method if slot is read-only (bug#9035).
6008 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
6010         * frame.el (select-frame-set-input-focus): New argument NORECORD.
6011         * window.el (pop-to-buffer): Select window used even if it was
6012         selected before, see discussion of (Bug#8615), (Bug#6954).
6013         Pass argument NORECORD on to select-frame-set-input-focus.
6015 2011-07-15  Glenn Morris  <rgm@gnu.org>
6017         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
6018         Respect help-form.
6020 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
6022         * net/gnutls.el (gnutls-min-prime-bits): New variable.
6023         (gnutls-negotiate): Use it.
6025 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6027         * net/gnutls.el (gnutls-negotiate):
6028         Upcase `gnutls-algorithm-priority'.
6030 2011-07-15  Glenn Morris  <rgm@gnu.org>
6032         * jka-compr.el (jka-compr-verbose): Move from here...
6033         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
6034         Add missing :version tag.
6035         * info.el: No need to require jka-compr when compiling.
6037 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6039         * net/gnutls.el (gnutls-algorithm-priority): New variable.
6040         (gnutls-negotiate): Use it.
6042         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6044         * info.el (Info-beginning-of-buffer): New command.
6045         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6046         announcing `b' as the key (bug#8325).
6047         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6049         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6051         * international/mule-cmds.el
6052         (describe-specified-language-support): Make the error message
6053         clearer (bug#8905).
6055         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6057         * isearch.el (isearch-barrier): Add a doc string, since it's
6058         mentioned in a function doc string (bug#8678).
6060 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
6062         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6063         buffer argument (Bug#9083) and self-identifying label argument.
6065 2011-07-15  Glenn Morris  <rgm@gnu.org>
6067         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
6069 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6071         * man.el (Man-fontify-manpage): Fix message when formatting the
6072         man page (bug#7929).
6074 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6076         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6077         argument LRM; if non-nil, append an invisible LRM character to the
6078         buffer name.
6079         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6080         last argument non-nil, when formatting buffer names.
6081         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6082         paragraph direction.
6084 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6086         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6087         the man page name (bug#7929).
6089         * image.el (put-image): Mention the `put-image' overlay property
6090         (bug#7834).
6092         * scroll-bar.el (set-scroll-bar-mode): Mention that
6093         `scroll-bar-mode' lists the values (bug#7772).
6095         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6096         command (bug#7729).
6098         * rect.el (apply-on-rectangle): Return the point after the last
6099         operation.
6100         (string-rectangle): Go to the point after the last operation
6101         (bug#7522).
6103         * printing.el (pr-toggle-region): Clarify the documentation
6104         slightly (bug#7493).
6106         * time.el (display-time-update):
6107         Allow `display-time-mail-function' to return nil (bug#7158).
6108         Fix suggested by Detlev Zundel.
6110         * vc/diff.el (diff): Clarify the order the file names are read
6111         (bug#7111).
6113         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6114         the doc string (bug#7015).
6116         * font-lock.el (font-lock-maximum-decoration): Mention what
6117         numeric levels mean (bug#6935).
6119         * startup.el (initial-buffer-choice): Don't mention the `none'
6120         selection, which is against policy.
6122 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
6124         * window.el (display-buffer-normalize-special):
6125         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6127 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6129         * subr.el (version<, version<=, version=): Mention "-CVS" and
6130         "-12345" alpha version numbers.
6132 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6134         * bindings.el: Add advertised binding for set-mark-command
6135         (Bug#5772).
6137 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6139         * bindings.el (mode-line-other-buffer):
6140         * bookmark.el (bookmark-bmenu-2-window):
6141         * bs.el (bs-cycle-next, bs-cycle-previous):
6142         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6143         switch-to-buffer.
6145         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6146         Delete.
6148 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
6150         * follow.el (follow-debug-message, follow-redisplay):
6151         * jka-cmpr-hook.el (with-auto-compression-mode):
6152         Fix typos in docstrings.
6154 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6156         * subr.el (with-silent-modifications): Clarify somewhat what the
6157         macro inhibits (bug#6525).
6159         * simple.el (eval-expression): Note what it does if called
6160         interactively (bug#6495).
6162 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6164         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6165         Use pop-to-buffer buffer-or-name if it is nil.
6167         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6168         Remove switch-to-buffer.
6170 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6172         * files.el (make-directory): Clarify that an error will be raised
6173         if there's an error (bug#6397).
6175         * startup.el (initial-buffer-choice): Add `none' as a choice
6176         (bug#6234).
6178         * subr.el (add-hook): Clarify section about buffer-local hooks
6179         (bug#6218).
6181         * dired.el (dired-flagged): Clarify doc string (bug#6117).
6183 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6185         * tabify.el (untabify): Preserve the current column so that point
6186         doesn't move (bug#6032).
6188 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6190         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6191         Rewrite to avoid awkward possessive "s" (bug#5986).
6193 2011-07-13  Glenn Morris  <rgm@gnu.org>
6195         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
6196         (dired-insert-directory): Give a message the first time
6197         if ls is found not to support --dired.
6199 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6201         * simple.el (toggle-truncate-lines): Clarify what is toggled
6202         (bug#5580).  Text by Drew Adams.
6204 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6206         * simple.el (blink-matching-open): Make the error message from the
6207         last change less verbose.
6209 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
6211         * font-lock.el (font-lock-comment-face): Use the high contrast
6212         "yellow" color for font-lock-comment-face on low color terminals
6213         using a dark background color (bug#4221).
6215 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6217         * dired.el (dired-insert-set-properties): Make the doc string
6218         reflect what it does now (bug#5325).
6220         * simple.el (blink-matching-open): Say that we were unable to find
6221         the match within the limit, if we're limited (bug#5122).
6223         * international/mule-cmds.el (prefer-coding-system): Add an
6224         example (bug#4869).
6226         * progmodes/etags.el (tags-search): Document `file-list-form'
6227         (bug#4731).
6229 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
6231         * net/browse-url.el (browse-url-default-browser)
6232         (browse-url-browser-function): Make the default browser choice a
6233         bit more logical (bug#4300).  Also clean up the doc string.
6235 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6237         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6238         binary endings (bug#4440).
6240 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6242         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6243         which can be pretty annoying (bug#8971).
6245         * jka-compr.el (jka-compr-verbose): New variable, and use
6246         throughout (bug#8971).
6248         * info.el (Info-find-file): Fall back on the installation
6249         directory if we can't find the info node anywhere else.
6251 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
6253         * vc/vc.el (vc-revert-file):
6254         Don't set file time-stamp in the past.  (Bug#5181)
6256 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6258         * files.el (after-find-file): Give a better error message when
6259         trying to find a symlink that points to a file that doesn't exist
6260         (bug#4398).
6262         * progmodes/cc-vars.el: Remove (probably) misleading comment
6263         (bug#4396).
6265 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
6267         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6269 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6271         * mouse-sel.el: Hack restoring functionality, while keeping
6272         compatibility with 2010-07-03 changes to mouse selection.
6273         (mouse-sel-primary-overlay): New var.
6274         (mouse-sel-selection-alist): Use it.
6275         (mouse-sel-mode): Doc fix; remove points that are default features
6276         of mouse.el.
6278 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
6280         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6281         Fix previous fix (bug#2490).
6283 2011-07-12  Roland Winkler  <winkler@gnu.org>
6285         * textmodes/bibtex.el (bibtex-initialize):
6286         Use pop-to-buffer-same-window.
6287         (bibtex-search-entries): Fix interactive call.
6289 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6291         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6292         Fontise bytecomp Error lines more correctly (bug#2490).
6293         Fix suggested by Johan BockgÃ¥rd.
6295         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6297         * dired-x.el (dired-guess-default): Use `delete-dups'.
6299 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6301         * dired.el (dired-mark-prompt):
6302         * dired-aux.el (dired-read-shell-command): Doc fix.
6304 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6306         * mail/sendmail.el (sendmail-query-once):
6307         Use `customize-save-variable' unconditionally, now that it works under
6308         emacs -Q.
6310         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6312         * cus-edit.el (custom-file): Take an optional no-error variable.
6313         (customize-save-variable): Set the variable, and give a warning if
6314         running under "emacs -q".
6316 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6318         * loadhist.el (unload-feature-special-hooks):
6319         Add `auto-coding-functions', `fill-nobreak-predicate' and
6320         `find-directory-functions' (bug#5327).
6322 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6324         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6326         * cus-edit.el (custom-guess-name-alist): -alist variables should
6327         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6329         * printing.el: Add documentation to all the `pr-toggle-' commands.
6331 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6333         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6334         backends where it makes sense (bug#2623).
6336 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6338         * dired-x.el (dired-guess-default): Remove duplicate shell command
6339         entries (bug#2028).
6340         (dired-guess-default): Fix grammar in doc string (bug#2028).
6341         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6343         * subr.el (remove-duplicates): New conveniency function.
6345 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6347         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6348         (bug#1526).
6350 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6352         * window.el (display-buffer-normalize-default): Don't invert
6353         meaning of even-window-heights.  Reported by Eli Zaretskii
6354         <eliz@gnu.org>.
6356 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6358         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6360 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6362         * window.el (display-buffer): Fix arguments to
6363         display-buffer-reuse-window in last change.
6365         * faces.el (link): Use a less saturated blue on light backgrounds.
6367         * startup.el (fancy-startup-text, fancy-about-text)
6368         (fancy-startup-tail): Use font-lock faces, for background safety.
6370 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6372         * emulation/viper-cmd.el (viper-change-state-to-vi):
6373         Limit triggering of abbrev expansion (Bug#9038).
6375 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6377         * window.el (display-buffer-default-specifiers): Remove.
6378         (display-buffer-macro-specifiers): Remove default specifiers.
6379         (display-buffer-alist): Default to nil.
6380         (display-buffer-reuse-window): New optional argument other-window.
6381         (display-buffer-pop-up-window): Allow splitting internal
6382         windows.  Check whether a live window was created.
6383         (display-buffer-other-window-means-other-frame)
6384         (display-buffer-normalize-arguments): Rename to
6385         display-buffer-normalize-argument and rewrite.  Set the
6386         other-window specifier.
6387         (display-buffer-normalize-special): New function.
6388         (display-buffer-normalize-options): Rename to
6389         display-buffer-normalize-default and rewrite.
6390         (display-buffer-normalize-options-inhibit): Remove.
6391         (display-buffer-normalize-specifiers): Rewrite.
6392         (display-buffer): Process other-window specifier and call
6393         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6394         more faithfully.
6395         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6396         (display-buffer-alist-set): Don't handle 'unset default values.
6397         (display-buffer-in-window, display-buffer-alist-set):
6398         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6399         <tassilo@member.fsf.org>.
6401 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6403         * register.el (insert-register): Restore accidental change on
6404         2011-06-26.  (Bug#9028)
6406 2011-07-09  Glenn Morris  <rgm@gnu.org>
6408         * subr.el (remq): Handle the empty list.  (Bug#9024)
6410 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6412         * mail/sendmail.el (send-mail-function): No longer delay custom
6413         initialization.
6414         * custom.el (custom-initialize-delay): Doc fix.
6416 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6418         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6420 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6422         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6423         human-friendly prompt.
6425 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6427         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6428         provided by a particular plugin.
6430 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6432         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6433         save customizations (with "emacs -Q"), just set the variable
6434         instead of erroring out.
6436         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6438 2011-07-08  Juri Linkov  <juri@jurta.org>
6440         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6441         (archive-zip-update-case): Use 7z if found by `executable-find'.
6442         The order of searching the available programs is the same as in
6443         `archive-zip-extract' (bug#8968).
6445 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6447         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6448         (menu-bar-options-menu): Tweak descriptions.
6450 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6452         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6453         menu items into verb phrases (bug#1421).  Also refill to fit under
6454         80 columns.
6456 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6458         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6459         (Info-read-node-name): Doc fix (Bug#1084).
6461         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6462         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6463         (end-of-sexp, beginning-of-sexp)
6464         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6465         (forward-symbol, forward-same-syntax, word-at-point)
6466         (sentence-at-point): Doc fix (Bug#1144).
6468 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6470         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6471         should cover it (bug#1281).
6473         * cus-edit.el (custom-show): Mark as obsolete.
6475         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6476         negotiation fails, then possibly try again with a non-encrypted
6477         connection (bug#9017).
6479         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6480         be used.
6482 2011-07-07  Richard Stallman  <rms@gnu.org>
6484         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6485         property, and handle its changed format.
6486         Look for the correct line number.
6487         Use file's line contents (but not past first =) to find
6488         correct line in message.
6490 2011-07-07  Kenichi Handa  <handa@m17n.org>
6492         * international/characters.el (build-unicode-category-table):
6493         Delete it.
6494         (unicode-category-table): Set it by unicode-property-table-internal.
6496         * international/mule-cmds.el (char-code-property-alist): Move to
6497         to src/chartab.c.
6498         (get-char-code-property): Call unicode-property-table-internal to
6499         load a file.  Call get-unicode-property-internal where necessary.
6500         (put-char-code-property): Call unicode-property-table-internal to
6501         load a file.  Call put-unicode-property-internal where necessary.
6502         put-unicode-property-internal where necessary.
6503         (char-code-property-description):
6504         Call unicode-property-table-internal to load a file.
6506         * international/charprop.el:
6507         * international/uni-bidi.el:
6508         * international/uni-category.el:
6509         * international/uni-combining.el:
6510         * international/uni-comment.el:
6511         * international/uni-decimal.el:
6512         * international/uni-decomposition.el:
6513         * international/uni-digit.el:
6514         * international/uni-lowercase.el:
6515         * international/uni-mirrored.el:
6516         * international/uni-name.el:
6517         * international/uni-numeric.el:
6518         * international/uni-old-name.el:
6519         * international/uni-titlecase.el:
6520         * international/uni-uppercase.el: Regenerate.
6522         * loadup.el: Load international/charprop.el before
6523         international/characters.
6525 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6527         * window.el (next-buffer, previous-buffer): Signal an error if
6528         called from a minibuffer window.
6530         * bindings.el: Revert 2011-07-04 change.
6532 2011-07-06  Richard Stallman  <rms@gnu.org>
6534         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6535         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6536         Treat markers like ints.
6537         (rmail-mime-entity): Doc fix.
6539 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6541         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6542         defcustom again for backwards compatibility.
6544         * simple.el (shell-command-on-region): Fill.
6546         * dired-aux.el (dired-kill-line): Add a doc string.
6548         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6549         to "\\sw\\|\\s_" (bug#358).
6551         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6552         (dired-unmark-backward): Ditto.
6553         (dired-flag-backup-files): Ditto.
6555         * dired-x.el (dired-mark-sexp): Ditto.
6557 2011-07-06  Richard Stallman  <rms@gnu.org>
6559         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6560         (rmail-mime-entity): New arg TRUNCATED.
6561         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6562         New functions.
6563         (rmail-mime-save): Warn if entity is truncated.
6564         (rmail-mime-toggle-hidden): Likewise, for showing.
6565         (rmail-mime-process-multipart): Record when an entity is truncated.
6567         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6568         if ENTITY is a string.
6570 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6572         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6573         of faces when `M-C-x'-ing their definitions (bug#8378).
6574         Also clean up the code slightly.
6576         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6577         because that makes the colors go away.
6579         * mail/sendmail.el (send-mail-function): Change the default to
6580         `sendmail-query-once'.
6581         (sendmail-query-once): Add an autoload cookie.
6583         * net/network-stream.el (network-stream-open-starttls): Try using
6584         a plain connection even if the server offered STARTTLS, and we
6585         kinda wanted to use it, if Emacs doesn't have any STARTTLS
6586         capability.  This should make smtpmail.el work in slightly more
6587         configurations.
6589 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
6591         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6592         New defun.
6593         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6595 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
6597         * progmodes/sql.el: Version 3.0
6598         (sql-product-alist): Add product :completion-object,
6599         :completion-column, and :statement attributes.
6600         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6601         (sql-mode-syntax-table): Mark all punctuation.
6602         (sql-font-lock-keywords-builder): Temporarily remove fallback on
6603         ansi keywords.
6604         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6605         (sql-mode-oracle-font-lock-keywords): Improve.
6606         (sql-oracle-show-reserved-words): New function for development.
6607         (sql-product-font-lock): Simplify for source code buffers.
6608         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6609         New functions.
6610         (sql-highlight-product): Set product specific syntax table.
6611         (sql-mode-map): Add statement movement functions.
6612         (sql-ansi-statement-starters, sql-oracle-statement-starters):
6613         New variable.
6614         (sql-statement-regexp, sql-beginning-of-statement)
6615         (sql-end-of-statement, sql-signum): New functions.
6616         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6617         (sql-show-sqli-buffer): Bug fix.
6618         (sql-interactive-mode): Store connection data as buffer local.
6619         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
6620         with sql-interactive-mode.
6621         (sql-save-connection): Save buffer local settings.
6622         (sql-connection-menu-filter): Change menu entry name.
6623         (sql-product-interactive): Bug fix.
6624         (sql-preoutput-hold): New variable.
6625         (sql-interactive-remove-continuation-prompt): Bug fixes.
6626         (sql-debug-redirect): New variable.
6627         (sql-str-literal): New function.
6628         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6629         Redesign.
6630         (sql-oracle-save-settings, sql-oracle-restore-settings)
6631         (sql-oracle-list-all, sql-oracle-list-table): New functions.
6632         (sql-completion-object, sql-completion-column)
6633         (sql-completion-sqlbuf): New variables.
6634         (sql-build-completions-1, sql-build-completions)
6635         (sql-try-completion): New functions.
6636         (sql-read-table-name): Use them.
6637         (sql-contains-names): New buffer local variable.
6638         (sql-list-all, sql-list-table): Use it.
6639         (sql-oracle-completion-types): New variable.
6640         (sql-oracle-completion-object, sql-sqlite-completion-object)
6641         (sql-postgres-completion-object): New functions.
6643 2011-07-06  Glenn Morris  <rgm@gnu.org>
6645         * window.el (pop-to-buffer): Doc fix.
6647 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
6649         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6651 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
6653         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6655         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6657 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
6659         * button.el (button): Inherit from link face.  Suggested by Dan
6660         Nicolaescu.
6662 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6664         * progmodes/gdb-mi.el: Fit in 80 columns.
6665         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6666         switch-to-buffer.
6668         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6669         if imenu is simply not configured (bug#8941).
6671 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
6673         * allout.el (allout-post-undo-hook): New allout outline-change
6674         event hook to signal undo activity.
6675         (allout-post-command-business): Run allout-post-undo-hook if an
6676         undo just occurred.
6677         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6678         * allout-widgets.el (allout-widgets-after-undo-function):
6679         Ensure the integrity of the current item's decoration after it has been
6680         in the vicinity of an undo.
6681         (allout-widgets-mode): Include allout-widgets-after-undo-function
6682         on the new allout-post-undo-hook.
6684 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6686         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6687         Let define-derived-mode define it.
6688         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6689         cycles of abbrev-table inheritance (bug#8998).
6691 2011-07-05  Roland Winkler  <winkler@gnu.org>
6693         * textmodes/bibtex.el: Add support for biblatex.
6694         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6695         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6696         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6697         (bibtex-entry-alist, bibtex-field-alist): New variables.
6698         (bibtex-entry-field-alist): Obsolete alias for
6699         bibtex-BibTeX-entry-alist.
6700         (bibtex-entry-alist, bibtex-field-alist): New widgets.
6701         (bibtex-set-dialect): New command.
6702         (bibtex-entry-type, bibtex-entry-head)
6703         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6704         Bind via bibtex-set-dialect.
6705         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6706         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6707         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6708         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6709         Define via bibtex-set-dialect.
6710         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6711         Obey bibtex-no-opt-remove-re.
6712         (bibtex-vec-push, bibtex-vec-incr): New functions.
6713         (bibtex-format-entry, bibtex-field-list)
6714         (bibtex-print-help-message, bibtex-validate)
6715         (bibtex-search-entries): Use new format of bibtex-entry-alist.
6717 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6719         * progmodes/compile.el (compilation-goto-locus):
6720         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6721         * bs.el (bs-cycle-next, bs-cycle-previous):
6722         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6723         * bindings.el (mode-line-other-buffer):
6724         * autoinsert.el (auto-insert):
6725         * arc-mode.el (archive-extract):
6726         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6728 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6730         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6731         Fix check of `emacs-lock-unlockable-modes'.
6732         Coerce true values of `emacs-lock--try-unlocking' to t.
6734 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6736         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6737         * emacs-lock.el: New file.
6739 2011-07-05  Julien Danjou  <julien@danjou.info>
6741         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6742         than `boundp' to check if face is set.
6744 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6746         * register.el (registerv-make):
6747         * window.el (window-min-height): Fix typos in docstrings.
6749 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
6751         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6752         Update doc string.
6754 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6756         * server.el (server-execute): Catch quit and call
6757         `server-return-error' to pass the error back to emacsclient and
6758         close the connection (bug#8942).
6760 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
6762         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6763         insecure exception for current topic.  Also note that auto-saves
6764         are handled differently.
6766         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6767         State variables for tracking auto-save inhibition situation.
6769         (allout-write-contents-hook-handler): Rename from
6770         'allout-write-file-hook-handler', and describe how it depends on
6771         write-contents-functions sensitivity to non-nil value to prevent
6772         file write.
6774         (allout-auto-save-hook-handler): Remove.  auto-save does not check
6775         this in individual buffers, only in the starting buffer, so this
6776         is not the right way for us to inhibit auto-save in a buffer
6777         according to its condition.
6779         (allout-mode): Use new allout-write-contents-hook-handler, and
6780         only with write-contents-functions.  Remove auto-save provisions -
6781         they're implemented elsewhere.
6783         (allout-before-change-handler): If undo is in progress, note that
6784         for attention of allout-post-command-business.
6786         (allout-post-command-business): If the command we're following was
6787         an undo, check for change in the status of encrypted items and
6788         adjust auto-save inhibitions accordingly.
6790         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6791         according to whether there are or aren't any plain-text topics
6792         pending encryption.
6794         (allout-inhibit-auto-save-info-for-decryption):
6795         Adjust buffer-saved-size and some allout state to inhibit auto-saves
6796         if there are plain-text topics pending encryption.
6798         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6799         buffer-saved-size and some allout state to not inhibit auto-saves
6800         if there are no longer any plain-text topics pending encryption.
6802         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6803         No longer provide for exemption of the current topic.
6805 2011-07-04  Juri Linkov  <juri@jurta.org>
6807         Add 7z operations to delete and save changed members (bug#8968).
6808         * arc-mode.el (archive-7z-expunge, archive-7z-update):
6809         New defcustoms.
6810         (archive-7z-write-file-member): New function.
6811         (archive-7z-summarize): Fix the number of dashes in the
6812         listing output.
6814 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6816         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6817         (bug#8958).
6819 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
6821         * bindings.el: Ignore next-buffer and previous-buffer in
6822         minibuffer-local-map.
6824         * font-lock.el (font-lock-builtin-face): Change light background
6825         color to dark slate blue (Bug#6693).
6827 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
6829         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6831 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6833         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6834         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6835         Add switch-to-buffer.
6837 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6839         * isearch.el (isearch-search-fun-function): Clarify further the
6840         meaning of the function returned.
6842 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
6844         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6846         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6847         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6848         Use it.
6849         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
6850         `tramp-default-remote-path' does not exist.
6851         (tramp-send-command-and-read): New optional argument NOERROR.
6852         (tramp-open-connection-setup-interactive-shell)
6853         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6854         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6855         (tramp-process-sentinel): Flush also process' connection property.
6856         (tramp-sh-handle-start-file-process): Do not set process
6857         sentinel.  It is done now ...
6858         (tramp-maybe-open-connection): ... here.  (Bug#8929)
6860 2011-07-04  MON KEY  <monkey@sandpframing.com>
6862         * play/animate.el (animate-string): Doc fixes and allow changing
6863         the buffer name (bug#5417).
6865 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6867         * play/animate.el (animation-buffer-name): Rename from *animate*.
6869 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
6871         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6872         This is simpler and helps future-proof the code.
6873         (timer-until): Use time-subtract and float-time.
6874         (timer--time-less-p): Use time-less-p.
6876 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6878         * type-break.el (timep): Use the value of `float-time' to avoid a
6879         byte-compiler warning.
6881         * server.el (server-eval-and-print): Return any result, even nil.
6883 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
6885         * type-break.el: Accept time formats that the builtins accept.
6886         (timep, type-break-time-difference): Accept any format that
6887         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6888         This is simpler and helps future-proof the code.
6889         (type-break-time-difference): Round rather than ignoring
6890         subseconds components.
6892 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6894         * info.el (Info-apropos-matches): Make non-interactive, since it
6895         doesn't seem to do anything useful as a command (bug#8829).
6897 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
6899         * frame.el (frame-background-mode, frame-set-background-mode):
6900         Move from faces.el.
6901         (frame-default-terminal-background): New function.
6903         * custom.el (custom-push-theme): Don't record faces in `changed'
6904         theme; this doesn't work correctly for per-frame face settings.
6905         (disable-theme): Use face-set-after-frame-default to reset faces.
6906         (custom--frame-color-default): New function.
6908 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6910         * dired.el (dired-flagging-regexp): Remove unused variable
6911         (bug#8769).
6913 2011-03-29  Kevin Ryde  <user42@zip.com.au>
6915         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6916         `perl-Test2' extend to match possible "fail #N" rep count
6917         (bug#8377).
6919 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6921         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6922         `smtpmail-via-smtp' now returns the error instead of nil.
6924         * isearch.el (isearch-search-fun-function): Clarify the doc string
6925         (bug#8101).
6927 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
6929         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6930         unnecessary spaces (bug#8987).
6932 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6934         * net/network-stream.el (open-network-stream): Use the
6935         :end-of-capability command thoughout.
6937 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
6939         * net/network-stream.el (open-network-stream): Add the
6940         :end-of-capability command parameter, used by pop3.el.
6942 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6944         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6946         * fringe.el (fringe-query-style): Remove redundant text " (type ?
6947         for list)" (bug#6475).
6949         * files.el (file-expand-wildcards): Ignore non-readable
6950         sub-directories while trying to find matches instead of signaling
6951         an error (bug#6297).
6953         * man.el (Man-reference-regexp): Allow matching possible
6954         word-wrapped references (bug#6289).
6956         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6957         for consistency with the other vc buffers (bug#6197).
6958         (vc-checkin): Ditto.
6960         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6962         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6964 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6966         * custom.el (defcustom): Clarify that :set is only used in the
6967         Customize user interface (bug#6089).
6969         * progmodes/flymake.el (flymake-mode): If the buffer isn't
6970         associated with a file, refuse to run instead of erroring out
6971         (bug#6084).
6973         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6974         the doc string, since it appears that using `fill-column' always
6975         controls the width (bug#7845).
6977         * simple.el (shell-command-on-region): Say where the error output
6978         went if `shell-command-default-error-buffer' is set (bug#6857).
6980 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
6982         * allout.el (allout-yank-processing): Adjust cursor position for
6983         backwards-deleted space.
6985         (allout-rebullet-heading): Register changes with
6986         allout-exposure-changed-hook, so the modified topic is properly
6987         decorated.
6989 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6991         * minibuffer.el (completion-in-region): Document PREDICATE
6992         (bug#7136).
6994         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6995         of keyword/argument pairs (bug#6904).
6997         * replace.el (multi-occur):
6998         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7000 2011-07-02  Drew Adams  <drew.adams@oracle.com>
7002         * dired.el (dired-mark-if): Make the message about whether it's
7003         marking or unmarking clearer (bug#8523).
7005 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7007         * disp-table.el (display-table-print-array): New function.
7008         (describe-display-table): Use it to print the vectors more pretty
7009         (Bug#8859).
7011 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
7013         * window.el (window-state-get-1): Don't assign clone numbers.
7014         Add clone-of item to list of window parameters.
7015         (window-state-put-2): Don't process clone numbers.
7016         (display-buffer-alist): Fix doc-string.
7018 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7020         * subr.el (remq): Don't allocate if it's not needed.
7021         (keymap--menu-item-binding, keymap--menu-item-with-binding)
7022         (keymap--merge-bindings): New functions.
7023         (keymap-canonicalize): Use them to refine the canonicalization.
7024         * minibuffer.el (minibuffer-local-completion-map)
7025         (minibuffer-local-must-match-map): Move initialization from C.
7026         (minibuffer-local-filename-completion-map): Move initialization from C;
7027         don't inherit from anything here.
7028         (minibuffer-local-filename-must-match-map): Make obsolete.
7029         (completing-read-default): Use make-composed-keymap to combine
7030         minibuffer-local-filename-completion-map with either
7031         minibuffer-local-must-match-map or
7032         minibuffer-local-filename-completion-map.
7034 2011-07-01  Glenn Morris  <rgm@gnu.org>
7036         * type-break.el (type-break-time-sum): Use dolist.
7038         * textmodes/flyspell.el (flyspell-word-search-backward):
7039         Replace CL function.
7041 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7043         * mouse.el (mouse--strip-first-event): New function.
7044         (function-key-map): Use it to map fringe clicks to normal clicks
7045         by default.
7047         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7048         (vc-bzr-revision-completion-table): Add support for annotate and date.
7050         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7051         inherit from parent.
7053 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7055         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7056         (dired-show-file-type): Doc fixup (bug#8818).
7058         * dired.el (dired-mode): Fix up the doc string as suggested by
7059         Drew Adams (bug#8817).
7061         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7062         cookie, since the manual says that it should be possible to add
7063         this function to `find-file-hook' (bug#8709).
7065 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7067         * progmodes/cfengine.el: Moved all cfengine3.el functionality
7068         here.  Noted Ted Zlatanov as the maintainer.
7069         (cfengine-common-settings, cfengine-common-syntax): New functions
7070         to set up common things between `cfengine-mode' and
7071         `cfengine3-mode'.
7072         (cfengine3-mode): New mode.
7073         (cfengine3-defuns cfengine3-defuns-regex
7074         (cfengine3-class-selector-regex cfengine3-category-regex)
7075         (cfengine3-vartypes cfengine3-font-lock-keywords)
7076         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7077         (cfengine3-indent-line): Add from cfengine3.el.
7079 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
7081         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7083         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7085 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
7087         * window.el (same-window-buffer-names, same-window-regexps)
7088         (same-window-p, special-display-frame-alist)
7089         (special-display-popup-frame, special-display-function)
7090         (special-display-buffer-names, special-display-regexps)
7091         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7092         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7093         (split-window-preferred-function, split-height-threshold)
7094         (split-width-threshold, even-window-heights)
7095         (display-buffer-mark-dedicated, window-splittable-p)
7096         (split-window-sensibly, window-safely-shrinkable-p):
7097         Un-obsolete.
7098         (display-buffer): Don't spread args with function specifier
7099         because special-display-popup-frame won't like it.
7101 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7103         Time-stamp simplifications and fixes.
7104         These improve accuracy slightly, and future-proof the code
7105         against some potential changes to current-time format.
7107         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7108         by using time-since and float-time.
7110         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7111         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
7112         + NNN microseconds".
7114         * type-break.el (type-break-time-sum): Rewrite using time-add.
7116         * play/hanoi.el (hanoi-current-time-float): Remove.
7117         All uses replaced by float-time.
7119         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7120         This yields a more-accurate answer.
7121         (rng-time-to-float): Remove; no longer needed.
7123         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7125         * calendar/timeclock.el (timeclock-seconds-to-time):
7126         Defalias to seconds-to-time, since they're the same thing.
7128         * emacs-lisp/elp.el (elp-elapsed-time):
7129         * emacs-lisp/benchmark.el (benchmark-elapse):
7130         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7132 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7134         * window.el (bury-buffer): Don't iconify the only frame.
7135         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7136         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
7138 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
7140         * eshell/em-smart.el (eshell-smart-display-navigate-list):
7141         Add mouse-yank-primary.
7143 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7145         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7147 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7149         * emacs-lisp/find-func.el (find-library--load-name): New fun.
7150         (find-library-name): Use it to find relative load names when provided
7151         absolute file name (bug#8803).
7153 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7155         * textmodes/flyspell.el (flyspell-word): Consider words that
7156         differ only in case as potential doublons (bug#5687).
7158         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7159         Remove two rather uninteresting debugging-like messages to make
7160         debbugs.el more silent.
7162         * comint.el (comint-password-prompt-regexp): Accept "Response" as
7163         a password-like phrase.
7165 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
7167         * progmodes/cc-guess.el: New file.
7169         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7171         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7172         derived from `c-basic-common-init'.
7174         * progmodes/cc-mode.el (top-level): Require cc-guess.
7175         (c-basic-common-init): Use `cc-choose-style-for-mode'.
7177 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
7179         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7181 2011-06-30  Alan Mackenzie  <acm@muc.de>
7183         * progmodes/cc-engine.el (c-guess-continued-construct):
7184         Correct the handling of template-args-cont, particularly for when font
7185         lock is disabled.  Name this case as "CASE G".
7187 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
7189         * allout.el (allout-yank-processing): Fix injection of extra space
7190         between bullet and non-whitespace character in first topic when
7191         pasting, ensuring that the actual spacing in the pasted topic
7192         following the bullet char is preserved.  This extra space was
7193         causing pasted encrypted topics to get a decrypted status even
7194         when the content was actually still encrypted.  Now the decryption
7195         status from before the paste is preserved.
7197         (allout-flag-region): Set all allout overlays so they evaporate
7198         when reduced to zero length (evanescent), to prevent overlay
7199         leakage.
7201 2011-06-30  Glenn Morris  <rgm@gnu.org>
7203         * w32-fns.el (w32-charset-info-alist): Declare.
7205         * find-dired.el (find-grep-options): Simplify.
7207         * term/ns-win.el (ns-set-resource): Declare.
7209         * ses.el (row, col): Declare dynamic variables honestly.
7211         * textmodes/reftex-parse.el (index-tags): Declare.
7213 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
7215         * cus-edit.el (customize-push-and-save): New function.
7217         * files.el (hack-local-variables-confirm): Use it.
7219         * custom.el (load-theme): New arg NO-CONFIRM.
7220         Use customize-push-and-save (Bug#8720).
7221         (custom-enabled-themes): Doc fix.
7223         * cus-theme.el (customize-create-theme)
7224         (custom-theme-merge-theme): Callers to load-theme changed.
7226 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7228         * thingatpt.el (thing-at-point-short-url-regexp): Require that
7229         short URLs have at least one dot in them (bug #7614).
7231         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7232         nil, because using a pty is apparently too slow (bug #895).
7234 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7236         * mail/sendmail.el (sendmail-query-once): New function.
7237         (sendmail-query-once-function): New variable.
7239 2011-06-29  Glenn Morris  <rgm@gnu.org>
7241         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7243         * ses.el (top-level): Require cl when compiling.
7244         (ses-set-localvars): Fix error statement.
7245         Call it at compile time to silence a storm of warnings.
7247 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
7249         * window.el (normalize-live-buffer): Rename to
7250         window-normalize-buffer.
7251         (normalize-live-frame): Rename to window-normalize-frame.
7252         (normalize-any-window): Rename to window-normalize-any-window.
7253         (normalize-live-window): Rename to window-normalize-live-window.
7254         (make-window-atom): Rename to window-make-atom.
7255         (window-resize-reset): Rename to window--resize-reset.
7256         (window-resize-reset-1): Rename to window--resize-reset-1.
7257         (resize-mini-window): Rename to window--resize-mini-window.
7258         (resize-subwindows-skip-p): Rename to
7259         window--resize-subwindows-skip-p.
7260         (resize-subwindows-normal): Rename to
7261         window--resize-subwindows-normal.
7262         (resize-subwindows): Rename to window--resize-subwindows.
7263         (resize-other-windows): Rename to window--resize-siblings.
7264         (resize-this-window): Rename to window--resize-this-window.
7265         (resize-root-window): Rename to window--resize-root-window.
7266         (resize-root-window-vertically): Rename to
7267         window--resize-root-window-vertically.
7268         (normalize-buffer-to-display): Rename to
7269         window-normalize-buffer-to-display.
7270         (normalize-buffer-to-switch-to): Rename to
7271         window-normalize-buffer-to-switch-to.
7272         Correspondingly update all callers of the functions listed
7273         above.
7274         (display-buffer-alist, display-buffer-normalize-arguments)
7275         (display-buffer-normalize-options, display-buffer)
7276         (display-buffer-alist-set): Use "function" instead of
7277         "fun-with-args".
7279 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
7281         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7282         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
7283         debbugs.gnu.org.  Mention acknowledgment email.
7285 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7287         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7288         buffer multibyteness, since it shouldn't matter.
7290 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7292         * window.el (display-buffer-in-side-window): Handle dedicated
7293         windows as in display-buffer-reuse-window.
7294         (display-buffer-normalize-alist): Use value of override
7295         specifier.
7296         (display-buffer-normalize-specifiers): Use value of
7297         other-window-means-other-frame specifier.
7298         (display-buffer-alist): Rewrite some texts in widgets.
7299         (display-buffer): Spread arguments when calling function
7300         specified by fun-with-args.
7302 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7304         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7305         Unnest `let'.
7307         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7308         selectors (Bug#5732).
7309         (css-proprietary-nmstart-re): Use `regexp-opt'.
7311 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7313         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7314         (eshell-ls-date-format): New defcustom.
7315         (eshell-ls-file): Use it.
7317 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7319         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7321 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7323         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7324         (ange-ftp-make-tmp-name): New arg.
7325         (ange-ftp-file-local-copy): Use it.
7327 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7329         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7330         no-conversion (Bug#8870).
7332 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7334         * window.el (window-right, window-left, window-child)
7335         (window-child-count, window-last-child)
7336         (window-iso-combination-p, walk-window-tree-1)
7337         (window-atom-check-1, window-tree-1, delete-window)
7338         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7339         new naming conventions - window-vchild, window-hchild,
7340         window-next and window-prev are now called window-top-child,
7341         window-left-child, window-next-sibling and window-prev-sibling
7342         respectively.
7343         (resize-window-reset): Rename to window-resize-reset.
7344         (resize-window-reset-1): Rename to window-resize-reset-1.
7345         (resize-window): Rename to window-resize.
7346         (window-min-height, window-min-width)
7347         (resize-mini-window, resize-this-window, resize-root-window)
7348         (resize-root-window-vertically, adjust-window-trailing-edge)
7349         (enlarge-window, shrink-window, maximize-window)
7350         (minimize-window, delete-window, quit-restore-window)
7351         (split-window, balance-windows, balance-windows-area-adjust)
7352         (balance-windows-area, window-state-put-2)
7353         (display-buffer-even-window-sizes, display-buffer-set-height)
7354         (display-buffer-set-width, set-window-text-height)
7355         (fit-window-to-buffer): Rename all "resize-window" prefixed
7356         calls to use the "window-resize" prefix convention.
7357         (display-buffer-alist): Fix symbol for label specifier.
7358         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7359         corresponding specifier.
7360         Reported by Juanma Barranquero <lekktu@gmail.com>.
7362 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7364         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7365         convention.
7366         (ses-call-printer): Does not pass an empty string to formatter when the
7367         cell is empty to keep from barking printer Calc math-format-value.
7369 2011-06-27  Richard Stallman  <rms@gnu.org>
7371         * battery.el (battery-mode-line-limit): New variable.
7372         (battery-update): Handle it.
7374         * mail/rmailmm.el (rmail-mime-process-multipart):
7375         Handle truncated messages.
7377 2011-06-27  Glenn Morris  <rgm@gnu.org>
7379         * progmodes/flymake.el (flymake-err-line-patterns):
7380         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7382 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7384         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7385         (ses--clean-!, ses--clean-_): New functions.
7386         (ses-range): Add configurability of readout order, and conversion
7387         to Calc vector.
7389         * ses.el (ses-repair-cell-reference-all): New function.
7390         (ses-cell-symbol): Set macro as safe, so that it can be used in
7391         formulas.
7393         * ses.el: Update cycle detection algorithm.
7394         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7395         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7396         (ses-set-localvars): New function.
7397         (ses-make-cell): Add property-list as a cell element.
7398         (ses-cell-property-get-fun, ses-cell-property-get)
7399         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7400         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7401         New functions.
7402         (ses-cell-property-set, ses-cell-property-pop)
7403         (ses-cell-property-get-handle): New macro.
7404         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7405         New aliases, used for code readability.
7406         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7407         cycle detection.
7408         (ses-self-reference-early-detection): New defcustom.
7409         (ses-formula-references): Robustify against self-referring cells.
7410         (ses-mode): Use ses-set-localvars.
7411         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7412         before lauching the update processing.
7413         (ses-initialize-Dijkstra-attempt): New function.
7414         (ses-recalculate-cell): Update for cycle detection based on
7415         Dijkstra algorithm.
7417         * ses.el: Fix commenting and indenting convention.
7419 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7421         * bs.el (bs-cycle-next): Complete last change.
7423 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7425         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7427 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7429         * net/network-stream.el (network-stream-open-starttls):
7430         Don't re-get capabilities unless we've reestablished connection.
7431         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7433         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7434         to binary to possibly avoid line encoding issues on Windows (among
7435         other things).
7437 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7439         * net/network-stream.el (open-network-stream): Return an :error
7440         saying what the problem was, if possible.
7442         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7443         server.
7445         * net/network-stream.el (network-stream-open-starttls): If we
7446         wanted to use STARTTLS, and the server offered it, but we weren't
7447         able to because we had no STARTTLS support, then close the connection.
7448         (open-network-stream): Return an :error element, if present.
7450 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7452         * hl-line.el (hl-line-sticky-flag): Doc fix.
7453         (global-hl-line-sticky-flag): New option (Bug#8323).
7454         (global-hl-line-highlight): Obey it.
7456         * vc/vc.el (vc-revert-show-diff): Default to t.
7458 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7460         * allout-widgets.el (allout-widgets-post-command-business):
7461         Stop decorating intermediate isearch matches.  They're not being
7462         undecorated when an isearch is continued past, and isearch
7463         automatically collapses them.  This leads to "widget leaks", where
7464         decorated items accumulate in collapsed areas.  Lines with lots of
7465         hidden widgets can slow down cursor travel, substantially.
7466         Too much complicated machinery would be needed to ensure undecoration,
7467         so we're doing without this nicety.
7469         (allout-widgets-tally-string): Don't try to do a hash-table-count
7470         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7471         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7472         *Messages* when allout-widgets-maintain-tally is t.
7474 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7476         * window.el (display-buffer-normalize-argument): Rename to
7477         display-buffer-normalize-arguments.  Handle special meaning of
7478         LABEL argument.  Respect special-display-function when popping up
7479         a new frame.  Fix code searching for a window showing the buffer
7480         on another frame.
7481         (display-buffer-normalize-specifiers):
7482         Call display-buffer-normalize-arguments.
7483         (display-buffer-in-window): Don't undedicate the window if its
7484         buffer remains the same.
7485         Reported by Drew Adams <drew.adams@oracle.com>.
7486         (display-buffer-alist): Add choice for same-window macro
7487         specfier.
7488         (display-buffer): Mention special meaning of LABEL argument in
7489         doc-string.  Fix quoting.  Don't pop up a new frame even as
7490         fallback.
7492 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7494         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7495         avoid deleting the current window in some cases (bug#8911).
7497 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7499         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7500         (Bug#8934)
7502 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7504         * net/network-stream.el (network-stream-open-starttls):
7505         Use built-in TLS support if `gnutls-available-p' is true.
7506         (network-stream-open-tls): Ditto.
7508 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7510         * register.el (registerv): New struct.
7511         (registerv-make): New function.
7512         (jump-to-register, describe-register-1, insert-register):
7513         Support the jump-func, print-func and insert-func slot of a registerv
7514         struct.  (Bug#8415)
7516 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7518         * vc/vc.el (vc-revert-show-diff): New defcustom.
7519         (vc-diff-internal): New arg specifying diff buffer.
7520         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7521         reuse an existing *vc-diff* buffer (Bug#8927).
7523         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7525 2011-06-26  Glenn Morris  <rgm@gnu.org>
7527         * progmodes/f90.el (f90-critical-indent): New option.
7528         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7529         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7530         (f90-mode): Doc fix.
7531         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7532         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7533         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7534         (f90-match-end): Handle block, critical.
7536 2011-06-25  Glenn Morris  <rgm@gnu.org>
7538         * calendar/diary-lib.el (diary-included-files): Doc fix.
7539         (diary-include-files): New function, extracted from
7540         diary-include-other-diary-files and diary-mark-included-diary-files.
7541         (diary-include-other-diary-files, diary-mark-included-diary-files):
7542         Just call diary-include-files.
7543         (diary-mark-entries): Reset diary-included-files on first call.
7545         * calendar/diary-lib.el (diary-mark-entries)
7546         (diary-mark-included-diary-files):
7547         Visit included diary-files in temp buffers.
7549         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7550         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7551         (f90-start-block-re, f90-imenu-generic-expression)
7552         (f90-looking-at-program-block-start, f90-no-block-limit):
7553         Add support for submodules.
7555         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7556         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7558 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
7560         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7561         buffer-file-type before setting its value, to avoid disastrous
7562         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
7564 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7566         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7568         * ses.el (ses-unload-function):
7569         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7571         * proced.el (proced-unload-function):
7572         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7574 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
7576         * server.el (server-create-window-system-frame): Add parameters arg.
7577         (server-process-filter): Doc fix.  Handle frame-parameters.
7579 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7581         Fix bug#8730, bug#8781.
7583         * loadhist.el (unload--set-major-mode): New function.
7584         (unload-feature): Use it.
7586         * progmodes/python.el (python-after-info-look): Add autoload cookie.
7587         (python-unload-function): New function.
7589 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7591         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7593 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
7595         * net/browse-url.el (browse-url-firefox-program): Add icecat to
7596         the candidates list.
7598 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
7600         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7602 2011-06-23  Richard Stallman  <rms@gnu.org>
7604         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7605         (rmail-variables): Set next-error-move-function.
7606         (rmail-what-message): Take argument POS.
7607         (rmail-next-error-move): New function.
7609 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7611         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7612         messages for adjacent non-terminals.
7614 2011-06-23  Richard Stallman  <rms@gnu.org>
7616         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7617         (rmail-show-message-1): Preserve buffer modified flag.
7618         (rmail-start-mail): Don't specify use of rmail-mail-return;
7619         that's done by mail-bury now.
7620         (rmail-mail-return): Handle arg NEWBUF.
7622 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
7624         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7625         SIZE is a number.
7627 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
7629         * window.el (get-lru-window, get-mru-window)
7630         (get-largest-window): Never return a minibuffer window.
7631         (display-buffer-pop-up-window): Fix a bug that could lead to
7632         reusing the minibuffer window.
7633         (display-buffer): Pass original specifier argument to
7634         display-buffer-function instead of the normalized one.
7635         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7637 2011-06-22  Leo Liu  <sdl.web@gmail.com>
7639         * minibuffer.el (completing-read-function)
7640         (completing-read-default): Move from minibuf.c
7642 2011-06-22  Richard Stallman  <rms@gnu.org>
7644         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7645         to Rmail even if not started by a special Rmail command.
7647         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7648         Copy the buffer currently showing just one message.
7650 2011-06-22  Roland Winkler  <winkler@gnu.org>
7652         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7653         (bibtex-clean-entry): First delete the old key so that a
7654         customized algorithm for generating the new key does not get
7655         confused by the old key.
7656         (bibtex-url): Obey regexp of first step.
7657         (bibtex-search-entries): Do not use add-to-list with local
7658         list-var.
7660 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7662         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7663         stored a user name, then query for the password first, instead of
7664         waiting for SMTP to give an error message and the trying again.
7666 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
7668         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7669         BUFFER in call-process.
7671 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7673         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7674         QUIT twice.
7675         (smtpmail-try-auth-methods): Require user name and password from
7676         auth-source.
7678 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
7680         * window.el (display-buffer-default-specifiers)
7681         (display-buffer-alist): Remove entries for pop-up-frame-alist.
7682         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7683         (split-window): Normalize SIDE argument (Bug#8916).
7685         * frame.el (pop-up-frame-alist, pop-up-frame-function)
7686         (special-display-frame-alist, special-display-popup-frame):
7687         Remove duplicate declarations.  These are now in window.el.
7689 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7691         * mail/smtpmail.el (smtpmail-via-smtp):
7692         Set :use-starttls-if-possible so that we always use STARTTLS if the
7693         server supports it.  SMTP servers that support STARTTLS commonly
7694         require it.
7696         * net/network-stream.el (network-stream-open-starttls): Support
7697         upgrading to STARTTLS always, even if we don't have built-in support.
7698         (open-network-stream): Add the :always-query-capabilities keyword.
7700         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7701         upgrades with `open-network-stream', and rely solely on
7702         auth-source for all credentials.  Big changes throughout the file,
7703         but in particular:
7704         (smtpmail-auth-credentials): Remove.
7705         (smtpmail-starttls-credentials): Remove.
7706         (smtpmail-via-smtp): Check for servers saying they want AUTH after
7707         MAIL FROM, too.
7709         * net/network-stream.el (network-stream-open-starttls):
7710         Provide support for client certificates both for external and built-in
7711         STARTTLS.
7712         (auth-source): Require.
7713         (open-network-stream): Document the :client-certificate keyword.
7714         (network-stream-certificate): Change cert-cert to cert and
7715         cert-key to key.
7717 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
7719         * net/tramp-cache.el (top): Don't load the persistency file when
7720         "emacs -Q" has been called.
7722 2011-06-21  Tim Harper  <timcharper@gmail.com>
7724         * term/ns-win.el (ns-initialize-window-system):
7725         Set application-specific `ApplePressAndHoldEnabled' system
7726         resource to NO as it is not yet supported by the NS port.
7728 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
7730         * misc.el (list-dynamic-libraries--refresh): Compute header here...
7731         (list-dynamic-libraries): ...not here.
7733 2011-06-21  Leo Liu  <sdl.web@gmail.com>
7735         * subr.el (sha1): Implement sha1 using secure-hash.
7737 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
7739         * window.el (display-buffer-alist): In default value do not
7740         enforce searching a window on any but the selected frame.
7741         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7742         (display-buffer-select-window): Remove function.
7743         (display-buffer-in-window): When a window on another frame gets
7744         reused, do not select it any more but just raise its frame if
7745         necessary (Bug#8851) and (Bug#8856).
7746         (display-buffer-normalize-options): Handle pop-up-frames related
7747         options more faithfully.
7748         (pop-to-buffer): Don't rely on `display-buffer' selecting the
7749         window if it is on another frame.
7750         (display-buffer-alist, display-buffer-default-specifiers):
7751         Don't make new frame unsplittable by default.
7752         (display-buffer-normalize-argument): Fix doc-string typo and use
7753         'same-frame-other-window instead of 'other-window when associating
7754         with display-buffer-macro-specifiers.
7756 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
7758         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7759         New functions.
7760         (5x5-mode-map, 5x5-mode-menu): Bind them.
7761         (5x5-draw-grid): Tweak the solver's rendering.
7763 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7765         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7766         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7768 2011-06-21  Drew Adams  <drew.adams@oracle.com>
7770         * menu-bar.el: Use function variable instead of switch-to-buffer.
7771         (menu-bar-select-buffer-function): New variable.
7772         (menu-bar-update-buffers): Use it (bug#8876).
7774 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7776         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7777         variable's status.
7779 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
7781         * x-dnd.el (x-dnd-version-from-flags)
7782         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7783         and long as number (Bug#8899).
7784         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7786 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7788         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
7789         (completion-try-completion, completion-all-completions): Compute the
7790         metadata argument if it's missing; make it optional (bug#8795).
7792         * wid-edit.el: Use lex-bind and move towards completion-at-point.
7793         (widget-complete): Use new :completion-function property.
7794         (widget-completions-at-point): New function.
7795         (default): Use :completion-function instead of :complete.
7796         (widget-default-completions): Rename from widget-default-complete;
7797         Rewrite.
7798         (widget-string-complete, widget-file-complete, widget-color-complete):
7799         Remove functions.
7800         (file, symbol, function, variable, coding-system, color):
7801         * international/mule-cmds.el (default-input-method, charset)
7802         (language-info-custom-alist):
7803         * cus-edit.el (face): Use new property :completions.
7805         * progmodes/pascal.el (pascal-completions-at-point): New function.
7806         (pascal-mode): Use it.
7807         (pascal-mode-map): Use completion-at-point.
7808         (pascal-toggle-completions): Make obsolete.
7809         (pascal-complete-word, pascal-show-completions):
7810         * progmodes/octave-mod.el (octave-complete-symbol):
7811         Redefine as obsolete alias.
7812         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7813         Signal absence of completion info for old Octave,
7814         (inferior-octave-complete): Redefine as obsolete alias.
7815         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7816         (meta-completions-at-point): Rename from meta-complete-symbol and
7817         adapt it for use on completion-at-point-functions.
7818         (meta-common-mode): Use it.
7819         (meta-looking-at-backward, meta-match-buffer): Remove.
7820         (meta-complete-symbol): Redefine as obsolete alias.
7821         (meta-common-mode-map): Use completion-at-point.
7822         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7823         (makefile-mode-map): Use completion-at-point.
7824         (makefile-completions-at-point): Rename from makefile-complete and
7825         adapt it for use on completion-at-point-functions.
7826         (makefile-mode): Use it.
7827         (makefile-complete): Redefine as obsolete alias.
7829 2011-06-20  Deniz Dogan  <deniz@dogan.se>
7831         * net/rcirc.el: Delete trailing whitespaces once and for all.
7833 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
7835         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7837 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
7839         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7841         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7843 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
7845         * window.el (display-buffer-other-window-means-other-frame):
7846         Call display-buffer-normalize-alist.
7847         (display-buffer-normalize-specifiers-1): Rename to
7848         display-buffer-normalize-argument.  New argument other-frame.
7849         Rewrite.
7850         (display-buffer-normalize-specifiers-2): Rename to
7851         display-buffer-normalize-options.
7852         (display-buffer-normalize-alist-1): New function.
7853         (display-buffer-normalize-specifiers-3): Rename to
7854         display-buffer-normalize-alist.
7855         Call display-buffer-normalize-alist-1.
7856         (display-buffer-normalize-options-inhibit): New variable.
7857         (display-buffer-normalize-specifiers): Rewrite calling
7858         display-buffer-normalize-alist,
7859         display-buffer-normalize-argument, and
7860         display-buffer-normalize-options.  Don't call the latter if
7861         display-buffer-normalize-options-inhibit is non-nil.
7862         (frame-auto-delete): New option.
7863         (window-deletable-p): Use frame-auto-delete.
7864         (window-list-no-nils, window-state-ignored-parameters)
7865         (window-state-get-1, window-state-get, window-state-put-list)
7866         (window-state-put-1, window-state-put-2, window-state-put):
7867         New functions.
7868         (display-buffer-normalize-options): Move special-display-p group
7869         after pop-up-frame group (Bug#8851) and (Bug#8856).
7871 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
7873         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7874         groups (Bug#8776).
7875         (rx-submatch-n): New function.
7876         (rx): Document it.
7878         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7879         (Bug#8768).
7881         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7883         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7885         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7886         anytime existing face settings are present (Bug#8889).
7888         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7889         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7890         Remove unused argument.
7892 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
7894         * window.el (display-buffer-default-specifiers):
7895         Remove pop-up-frame.  Add pop-up-window-min-height,
7896         pop-up-window-min-width, and another reuse-window specifier
7897         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
7898         (display-buffer-normalize-specifiers-2):
7899         Handle split-height-threshold and split-width-threshold also when
7900         pop-up-windows is unset.  Add a reuse-window specifier for the
7901         case popping up a new window fails.
7902         (special-display-popup-frame): Remove double quoting.
7903         (display-buffer-normalize-specifiers-1): Fix thinko.
7905 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7907         * shell.el (shell-completion-vars): Set pcomplete-termination-string
7908         according to comint-completion-addsuffix.
7910         * pcomplete.el: Convert to lexical binding and fix bug#8819.
7911         (pcomplete-suffix-list): Mark as obsolete.
7912         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7913         pcomplete-seen in the closure.
7914         (pcomplete-comint-setup): Setup completion-at-point as well.
7915         (pcomplete--entries): New function.
7916         (pcomplete--env-regexp): New var.
7917         (pcomplete-entries): Rewrite to work with partial-completion and
7918         without relying on pcomplete-suffix-list.
7919         (pcomplete-pare-list): Remove, unused.
7921 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7923         * window.el (display-buffer-alist): Set pop-up-window-min-height
7924         and pop-up-window-min-width in default value.  Reported by
7925         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
7926         other-window-means-other-frame.
7927         (display-buffer-macro-specifiers): Comment out entry for
7928         other-window specifier.
7929         (display-buffer-other-window-means-other-frame): New function.
7930         (display-buffer-normalize-specifiers-1): New arguments
7931         buffer-name and label.  Treat other-window case specially.
7932         (display-buffer-normalize-specifiers-2): Treat other-window case
7933         specially.
7934         (display-buffer-normalize-specifiers-3): New function.
7935         (display-buffer-normalize-specifiers):
7936         Call display-buffer-normalize-specifiers-3.
7938 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7940         * window.el (same-window-p): Fix two typos introduced when
7941         adding with-no-warnings.
7942         (display-buffer-normalize-specifiers-1): Don't check
7943         pop-up-frames for 'unset initialization.
7944         (display-buffer-normalize-specifiers-2): Major rewrite using
7945         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7946         (pop-up-frames, display-buffer-reuse-frames)
7947         (display-buffer-mark-dedicated): Don't initialize to 'unset.
7948         Suggested by David Engster <deng@randomsample.de>.
7949         (even-window-heights): Initialize to 'unset.
7950         (display-buffer-alist-set): Handle new 'unset initializations.
7951         (display-buffer-macro-specifiers): Don't pop up a new frame in the
7952         other window case.
7954 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
7956         * window.el (display-buffer-normalize-specifiers-1):
7957         Respect current value of pop-up-frames for most reasonable values of
7958         second argument of display-buffer (Bug#8865).
7959         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7960         (switch-to-buffer-other-window-same-frame)
7961         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
7962         Adams (Bug#8875).
7963         (display-buffer): Don't check noninteractive when calling
7964         display-buffer-pop-up-frame.
7965         (display-buffer-pop-up-frame): Never pop up a frame in
7966         noninteractive mode (Bug#8857).
7967         (enlarge-window, shrink-window): Don't report an error when the
7968         window can't be resized as requested (Bug#8862).
7970 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7972         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7974         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7976         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7978 2011-06-15  Alan Mackenzie  <acm@muc.de>
7980         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7981         for declarators, disable knr checking to speed up for normal files.
7982         2: Refactor, replacing a sequence of nested if forms by a cond form.
7984 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7986         * net/network-stream.el (open-network-stream): Add the keyword
7987         :always-query-capabilities for the case where you want to force a
7988         `plain' network connection, but the protocol still requires the
7989         capabilitiy command (i.e., SMTP and EHLO).
7991         * subr.el (process-live-p): Rename from `process-alive-p' for
7992         consistency with other `-live-p' functions.
7994 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7996         * window.el (same-window-buffer-names, same-window-regexps)
7997         (special-display-frame-alist, special-display-popup-frame)
7998         (special-display-function, special-display-buffer-names)
7999         (special-display-regexps, pop-up-frame-alist)
8000         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8001         (pop-up-windows, split-window-preferred-function)
8002         (split-height-threshold, split-width-threshold, even-window-heights)
8003         (display-buffer-mark-dedicated): Don't encourage the use of
8004         display-buffer-alist from Elisp code.
8006 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
8008         * progmodes/python.el (python-mode): Derive from prog-mode.
8009         * progmodes/ps-mode.el (ps-mode):
8010         * progmodes/mixal-mode.el (mixal-mode):
8011         * progmodes/cfengine.el (cfengine-mode):
8012         * progmodes/ld-script.el (ld-script-mode): Likewise.
8014 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
8016         * window.el (display-buffer-alist): Trim default value to avoid
8017         popping up a new frame (Bug#8857) or reusing an arbitrary window
8018         on another frame.
8019         (display-buffer): Do not fall back on popping up a new frame in
8020         batch mode (Bug#8857).
8022 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
8024         * cus-theme.el (describe-theme-1): Use custom-theme-p.
8025         (custom-theme-summary): New function.
8026         (customize-themes): Use it.
8028 2011-06-13  Glenn Morris  <rgm@gnu.org>
8030         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8032 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
8034         * help.el (help-window): Remove variable.
8035         (help-window-point-marker, temp-buffer-max-height)
8036         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8037         (help-print-return-message): Don't set help-window.
8038         (resize-temp-buffer-window): Rewrite cod eand doc-string.
8039         (help-window-setup-finish): Remove.
8040         (help-window-display-message, help-window-setup)
8041         (with-help-window): Major rewrite based on new
8042         display-buffer-window variable.
8044         * help-mode.el (help-mode-finish): Remove help-window related
8045         code.
8047         * view.el (view-exits-all-viewing-windows): Remove reference to
8048         view-return-to-alist in doc-string.
8049         (view-return-to-alist): Make obsolete.
8050         (view-buffer): Call pop-to-buffer-same-window and remove
8051         undo-window code.
8052         (view-buffer-other-window): Call pop-to-buffer-other-window and
8053         simplify code.  Ignore second argument.
8054         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8055         simplify code.  Ignore second argument.
8056         (view-return-to-alist-update): Make obsolete.
8057         (view-mode-enter): Rename second argument to QUIT-RESTORE.
8058         Rewrite using quit-restore window parameters.
8059         (view-mode-exit): Rename second argument to EXIT-ONLY.
8060         Rewrite using quit-restore-window.
8061         (View-exit, View-exit-and-edit, View-leave, View-quit)
8062         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8063         appropriate arguments.
8064         (view-end-message): Use quit-restore window parameter.
8066         * window.el (display-buffer-function): Rewrite doc-string.
8067         (display-buffer-window, display-buffer-alist): New variables.
8068         (display-buffer-split-specifiers)
8069         (display-buffer-side-specifiers)
8070         (display-buffer-macro-specifiers): New constants.
8071         (display-buffer-even-window-sizes, display-buffer-set-height)
8072         (display-buffer-set-width, display-buffer-select-window)
8073         (display-buffer-in-window, display-buffer-reuse-window)
8074         (display-buffer-split-window-1, display-buffer-split-window)
8075         (display-buffer-split-atom-window, display-buffer-pop-up-window)
8076         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8077         (display-buffer-in-side-window, normalize-buffer-to-display)
8078         (display-buffer-normalize-specifiers-1)
8079         (display-buffer-normalize-specifiers-2)
8080         (display-buffer-normalize-specifiers, display-buffer-frame):
8081         New functions.
8082         (display-buffer): Major rewrite.
8083         (display-buffer-other-window, display-buffer-other-frame)
8084         (pop-to-buffer, switch-to-buffer-other-window)
8085         (switch-to-buffer-other-frame): Rewrite.
8086         (display-buffer-same-window, display-buffer-same-frame)
8087         (display-buffer-same-frame-other-window)
8088         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8089         (pop-to-buffer-other-window)
8090         (pop-to-buffer-same-frame-other-window)
8091         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8092         (switch-to-buffer-other-window-same-frame): New functions.
8093         (same-window-p, special-display-p): Rewrite disabling warnings.
8094         Make obsolete.
8095         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8096         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8097         Make obsolete
8098         (same-window-buffer-names, same-window-regexps)
8099         (special-display-frame-alist, special-display-popup-frame)
8100         (special-display-function, special-display-buffer-names)
8101         (special-display-regexps, pop-up-frame-alist)
8102         (pop-up-frame-function, split-window-preferred-function)
8103         (split-height-threshold, split-width-threshold)
8104         (even-window-heights): Make obsolete.
8106 2011-06-12  Glenn Morris  <rgm@gnu.org>
8108         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
8109         Misc simplifications.
8111 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
8113         * window.el (window-safely-shrinkable-p): Restore function which
8114         was inadvertently removed in change from 2011-06-11.  Declare as
8115         obsolete.
8117         * calendar/calendar.el (calendar-generate-window):
8118         Use window-iso-combined-p instead of combination of one-window-p and
8119         window-safely-shrinkable-p.
8121 2011-06-12  Glenn Morris  <rgm@gnu.org>
8123         * progmodes/fortran.el (fortran-mode-syntax-table):
8124         * progmodes/f90.el (f90-mode-syntax-table):
8125         Set % to punctuation.  (Bug#8820)
8126         (f90-find-tag-default): Remove, no longer needed.
8128 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
8130         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8132 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
8134         * image.el (image-animated-p): Return animation delay in seconds.
8135         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8136         (image-animate-timeout): Remove DELAY argument.  Don't assume
8137         every subimage has the same delay; get it from image-animated-p.
8138         (image-animate): Caller changed.
8140 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
8142         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8143         to ignored backtrace functions.
8145 2011-06-11  Glenn Morris  <rgm@gnu.org>
8147         * calendar/appt.el (appt-disp-window-function): Doc fix.
8148         (appt-check): Handle overlapping appointments.  (Bug#8337)
8150 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
8152         * window.el (window-tree-1, window-tree): New functions, moving
8153         the latter to window.el.
8154         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8155         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8156         (bw-refresh-edges): Remove.
8157         (balance-windows-1, balance-windows-2): New functions.
8158         (balance-windows): Rewrite in terms of window tree functions,
8159         balance-windows-1 and balance-windows-2.
8160         (bw-adjust-window): Remove.
8161         (balance-windows-area-adjust): New function with functionality of
8162         bw-adjust-window but using resize-window.
8163         (set-window-text-height): Rewrite doc-string.
8164         Use normalize-live-window and resize-window.
8165         (enlarge-window-horizontally, shrink-window-horizontally):
8166         Rename argument to DELTA.
8167         (window-buffer-height): New function.
8168         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8169         Rewrite using new window resize routines.
8170         (kill-buffer-and-window, mouse-autoselect-window-select):
8171         Use ignore-errors instead of condition-case.
8172         (quit-window): Call delete-frame instead of delete-windows-on
8173         for the only buffer on frame.
8175 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8177         * loadup.el (top-level): Load window before files for the sake
8178         of replace-buffer-in-windows.
8180         * files.el (read-buffer-to-switch)
8181         (switch-to-buffer-other-window)
8182         (switch-to-buffer-other-frame, display-buffer-other-frame):
8183         Move to window.el.
8185         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8186         (previous-buffer): Move to window.el.
8188         * bindings.el (unbury-buffer): Move to window.el.
8190         * window.el (delete-other-windows-vertically): Move after
8191         definition of delete-other-windows.
8192         (other-window, delete-windows-on, replace-buffer-in-windows):
8193         Move here from window.c.
8194         (record-window-buffer, unrecord-window-buffer)
8195         (set-window-buffer-start-and-point, switch-to-prev-buffer)
8196         (switch-to-next-buffer): New functions.
8197         (get-next-valid-buffer, last-buffer, next-buffer): Move here
8198         from simple.el.  Call switch-to-next-buffer.
8199         (previous-buffer): Move here from simple.el.
8200         Call switch-to-prev-buffer.
8201         (bury-buffer): Move here from buffer.c.  Switch to previous
8202         buffer when window cannot be deleted.
8203         (unbury-buffer): Move here from bindings.el.
8204         (ctl-x-map): Move binding for other-window from window.c to
8205         here.
8206         (read-buffer-to-switch, switch-to-buffer-other-window)
8207         (switch-to-buffer-other-frame): Move here from files.el.
8208         (normalize-buffer-to-switch-to): New functions.
8209         (switch-to-buffer): Move here from buffer.c.
8210         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8212 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8214         * window.el (window-min-height, window-min-width): Move here
8215         from window.c.  Add defcustoms and rewrite doc-strings.
8216         (resize-mini-window, resize-window): New functions.
8217         (adjust-window-trailing-edge, enlarge-window, shrink-window):
8218         Move here from window.c.
8219         (maximize-window, minimize-window): New functions.
8220         (delete-window, delete-other-windows, split-window): Move here
8221         from window.c.
8222         (window-split-min-size): New function.
8223         (split-window-keep-point): Mention split-window-above-each-other
8224         instead of split-window-vertically.
8225         (split-window-above-each-other, split-window-vertically):
8226         Rename split-window-vertically to split-window-above-each-other
8227         and provide defalias for old definition.
8228         (split-window-side-by-side, split-window-horizontally):
8229         Rename split-window-horizontally to split-window-side-by-side
8230         and provide defalias for the old definition.
8231         (ctl-x-map): Move bindings for delete-window,
8232         delete-other-windows and enlarge-window here from window.c.
8233         Replace bindings for split-window-vertically and
8234         split-window-horizontally by bindings for
8235         split-window-above-each-other and split-window-side-by-side.
8237         * cus-start.el (all): Remove entries for window-min-height and
8238         window-min-width.  Add entries for window-splits and
8239         window-nest.
8241 2011-06-09  Glenn Morris  <rgm@gnu.org>
8243         * calendar/appt.el (appt-mode-line): New function.
8244         (appt-check, appt-disp-window): Use it.
8246         * files.el (hack-one-local-variable-eval-safep):
8247         Allow minor-modes with explicit +/-1 arguments.
8249 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
8251         * term/xterm.el (xterm): Add defgroup.
8252         (xterm-extra-capabilities): Add defcustom to supply known xterm
8253         capabilities, skip querying them, or query them (default).
8254         (terminal-init-xterm): Use it.
8255         (terminal-init-xterm-modify-other-keys): New function to set up
8256         modifyOtherKeys support to simplify `terminal-init-xterm'.
8258 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
8260         * window.el (resize-window-reset, resize-window-reset-1)
8261         (resize-subwindows-skip-p, resize-subwindows-normal)
8262         (resize-subwindows, resize-other-windows, resize-this-window)
8263         (resize-root-window, resize-root-window-vertically)
8264         (window-deletable-p, window-or-subwindow-p)
8265         (frame-root-window-p): New functions.
8267 2011-06-09  Glenn Morris  <rgm@gnu.org>
8269         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8270         (ange-ftp-get-files): Use it.
8272 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8274         * mail/sendmail.el (mail-recover-1, mail-recover):
8275         * files.el (recover-file, recover-session):
8276         Handle dired-listing-switches not being just a single short option.
8278 2011-06-09  Glenn Morris  <rgm@gnu.org>
8280         * calendar/appt.el (appt-display-message, appt-disp-window):
8281         Handle lists of appointments.
8283 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8285         * window.el (one-window-p): Move down in code.
8286         Rewrite doc-string.
8287         (window-current-scroll-bars): Rewrite doc-string.
8288         Normalize live window argument.
8289         (walk-windows, get-window-with-predicate, count-windows):
8290         Rewrite doc-string.  Use window-list-1.
8291         (window-in-direction-2, window-in-direction, get-mru-window):
8292         New functions.
8294 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8296         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8297         Doc fix (Bug#8713).
8299 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8301         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8303 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8305         * loadhist.el (unload-feature-special-hooks):
8306         Add `comint-output-filter-functions'.
8308 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8310         * calendar/appt.el (appt-check): Move some initializations into the let.
8312 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8314         * window.el (window-height): Defalias to window-total-height.
8315         (window-width): Defalias to window-body-width.
8317 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8319         * image-mode.el (image-toggle-animation): New command.
8320         (image-mode-map): Bind it to RET.
8321         (image-mode): Update message.
8322         (image-toggle-display-image): Avoid a spurious cache flush.
8323         (image-transform-rotation): Doc fix.
8324         (image-transform-properties): Return quickly in the normal case.
8325         (image-animate-loop): Rename from image-animate-max-time.
8327         * image.el (image-animate-max-time): Move to image-mode.el.
8328         (create-animated-image): Remove unnecessary function.
8329         (image-animate): Rename from image-animate-start.  New arg.
8330         (image-animate-stop): Remove; just use image-animate-timer.
8331         (image-animate-timer): Use car-safe.
8332         (image-animate-timeout): Rename argument.
8334 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8336         * window.el (get-lru-window, get-largest-window): Move here from
8337         window.c.  Rename first argument to ALL-FRAMES.
8338         Rephrase doc-strings.
8339         (get-buffer-window-list): Rewrite using window-list-1.
8340         Rephrase doc-string.
8341         (window-safe-min-height, window-safe-min-width): New constants.
8342         (window-size-ignore, window-min-size, window-min-size-1)
8343         (window-sizable, window-sizable-p, window-size-fixed-1)
8344         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8345         (window-max-delta-1, window-max-delta, window-resizable)
8346         (window-resizable-p, window-total-height, window-total-width)
8347         (window-body-width): New functions.
8348         (window-full-height-p, window-full-width-p): Rewrite using
8349         window-total-size.
8350         (window-body-height): Rewrite using window-body-size.
8352 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8354         * window.el (window-right, window-left, window-child)
8355         (window-child-count, window-last-child, window-any-p)
8356         (normalize-live-buffer, normalize-live-frame)
8357         (normalize-any-window, normalize-live-window)
8358         (window-iso-combination-p, window-iso-combined-p)
8359         (window-iso-combinations)
8360         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8361         (windows-with-parameter, window-with-parameter)
8362         (window-atom-root, make-window-atom, window-atom-check-1)
8363         (window-atom-check, window-side-check, window-check):
8364         New functions.
8365         (ignore-window-parameters, window-sides, window-sides-vertical)
8366         (window-sides-slots): New variables.
8367         (window-size-fixed): Move down in code.  Minor doc-string fix.
8369 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8371         * comint.el (comint-dynamic-complete-as-filename)
8372         (comint-dynamic-complete-filename): Correctly call
8373         completion-in-region.
8375 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8377         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8378         in last change.
8380 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8382         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8383         (rcirc): Use it to prompt for encryption.
8385 2011-06-05  Roland Winkler  <winkler@gnu.org>
8387         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8388         (bibtex-search-entries): New command bound to C-c C-a.
8389         (bibtex-display-entries): New function.
8391 2011-06-05  Roland Winkler  <winkler@gnu.org>
8393         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8394         (bibtex-insert-kill): After yanking insert newline if necessary.
8395         (bibtex-initialize): Call bibtex-string-files-init only once.
8396         (bibtex-mode): Do not call easy-menu-add.
8397         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8398         (bibtex-yank): Set arg properly if nil.
8400 2011-06-05  Roland Winkler  <winkler@gnu.org>
8402         * textmodes/bibtex.el (bibtex-search-entry-globally):
8403         New variable.
8404         (bibtex-search-entry): Use it.
8406 2011-06-05  Roland Winkler  <winkler@gnu.org>
8408         * textmodes/bibtex.el (bibtex-entry-format): New option
8409         sort-fields.
8410         (bibtex-format-entry, bibtex-reformat): Honor this option.
8411         (bibtex-parse-entry): Return fields in proper order.
8413 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8415         * doc-view.el (doc-view-remove-if): Move computation of result out
8416         of `dolist' to silence misleading lexical-binding warning.
8418 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8420         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8421         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8423 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8425         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8426         "SunOS 5.10".
8428 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8430         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8431         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8432         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8433         (tramp-parse-putty):
8434         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8435         (tramp-completion-function-alist-ssh)
8436         (tramp-completion-function-alist-telnet)
8437         (tramp-completion-function-alist-su)
8438         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8439         cookie.
8441         * net/tramp-ftp.el:
8442         * net/tramp-sh.el:
8443         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8444         load "tramp.el" `tramp-set-completion-function'.
8446 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8448         * shell.el: Require and use pcomplete.
8449         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8450         (shell-completion-vars): Set pcomplete-default-completion-function.
8452 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8454         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8455         `memq' (Bug#8799).
8457 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8459         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8461 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8463         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8464         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8465         * vc/log-view.el (log-view-beginning-of-defun):
8466         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8467         (smerge-refine-forward, smerge-refine-chopup-region):
8468         Silence warning for unused `dotimes' counter variables.
8470 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8472         * net/tramp.el (tramp-with-progress-reporter): Rename from
8473         with-progress-reporter.  Use `declare'.
8474         * net/tramp-smb.el:
8475         * net/tramp-sh.el:
8476         * net/tramp-gvfs.el: Update all uses.
8478 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8480         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8481         buffer isn't killed before making it current.
8483 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8485         Silence various byte-compiler warnings.
8486         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8487         `access-type' and new obsolescence format.
8488         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8489         new format.
8490         (byte-compile-check-variable): New `access-type' argument.
8491         Only warn if the access-type is obsolete.
8492         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8493         (byte-compile-variable-set): Adjust callers.
8494         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8495         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8496         setting it as obsolete.
8497         * simple.el (minibuffer-completing-symbol):
8498         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8499         access as obsolete.
8500         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8501         obsolete yet.
8502         * international/quail.el (quail-mouse-choose-completion): Remove unused
8503         code referring to obsolete var.
8504         (quail-choose-completion-string): Remove.
8505         * server.el (server-clients-with, server-kill-buffer-query-function)
8506         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8507         * proced.el (proced-send-signal):
8508         * emacs-lisp/lisp.el (lisp-complete-symbol):
8509         Replace completion-annotate-function with completion-extra-properties.
8511 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8513         * simple.el (goto-line): Use read-number.
8514         (overriding-map-is-bound): Remove.
8515         (saved-overriding-map): Change default.
8516         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8517         Take the map as argument.
8518         (universal-argument, negative-argument, digit-argument): Use it.
8519         (restore-overriding-map): Adjust.
8520         (do-auto-fill): Use fill-forward-paragraph.
8521         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8523         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8524         (minibuffer-inactive-mode): New major mode.
8525         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8526         the *Messages* buffer" hack.
8527         (mouse-popup-menubar): Don't burp if the event is a normal key.
8529         Miscellaneous tweaks.
8530         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8531         lexical scoping as in subr.el's dolist and dotimes.
8532         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8533         Silence compiler warning.
8534         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8535         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8536         * international/ccl.el (ccl-compile): Trivial simplification.
8537         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8538         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8539         `printflag' argument.
8540         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8541         Purecopy the whole obsolescence data.
8543 2011-06-01  Leo Liu  <sdl.web@gmail.com>
8545         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8546         improve doc-string as suggested by Marco Pessotto
8547         <melmothx@gmail.com>.
8548         (rcirc-print): Fix last change.
8550 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8552         * minibuffer.el (complete-with-action): Return nil for the metadata and
8553         boundaries of non-functional tables.
8554         (completion-table-dynamic): Return nil for the metadata.
8555         (completion-table-with-terminator): Add default case, using
8556         complete-with-action.
8557         (completion--metadata): New function.
8558         (completion-all-sorted-completions, minibuffer-completion-help): Use it
8559         to try and avoid pathological performance problems.
8560         (completion--embedded-envvar-table): Return `category' metadata.
8562 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8564         * subr.el (process-alive-p): New tiny convenience function.
8566 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8568         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8569         content but also its previous major mode.
8571 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
8573         * emacs-lisp/debug.el (debug): Restore the previous content of the
8574         *Backtrace* buffer when we exit with C-M-c.
8576 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8578         * minibuffer.el: Add metadata method to completion tables.
8579         (completion-category-overrides): New defcustom.
8580         (completion-metadata, completion--field-metadata)
8581         (completion-metadata-get, completion--styles)
8582         (completion--cycle-threshold): New functions.
8583         (completion-try-completion, completion-all-completions):
8584         Add `metadata' argument to choose completion-styles.
8585         (completion--do-completion): Use metadata to choose cycling.
8586         (completion-all-sorted-completions): Use metadata for sorting.
8587         Remove :completion-cycle-penalty which is not needed any more.
8588         (completion--try-word-completion): Add `metadata' argument.
8589         (minibuffer-completion-help): Check metadata for annotation function
8590         and sorting.
8591         (completion-file-name-table): Return `category' metadata.
8592         (minibuffer-completing-file-name): Make obsolete.
8593         * simple.el (minibuffer-completing-symbol): Make obsolete.
8594         * icomplete.el (icomplete-completions): Pass new `metadata' param to
8595         completion-try-completion.
8597 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8599         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8601 2011-05-30  Leo Liu  <sdl.web@gmail.com>
8603         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8604         (rcirc-print): Decode all incoming messages (bug#8744).
8605         (rcirc-decode-coding-system): Allow value nil for automatic coding
8606         system detection.
8608 2011-06-01  Glenn Morris  <rgm@gnu.org>
8610         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8612 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8614         * image.el (image-animate-max-time): Allow nil and t values.
8615         Default to nil.
8616         (create-animated-image): Doc fix.
8617         (image-animate-start): Remove second arg; just use
8618         image-animate-max-time.
8619         (image-animate-timeout): Doc fix.  Args changed.
8621         * image-mode.el (image-toggle-display-image): Ensure that the
8622         image spec passed to the animate timer is the same object as in
8623         the buffer's display property (Bug#6981).
8624         (image-transform-properties): Doc fix.
8626         * image.el (image-animate-max-time): Default to nil.
8628 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
8630         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8631         entire buffer list (Bug#8184).
8633 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8635         * image.el (imagemagick-types-inhibit)
8636         (imagemagick-register-types): Doc fix.
8638 2011-05-29  Deniz Dogan  <deniz@dogan.se>
8640         * net/rcirc.el (rcirc): Use the user's stored encryption method by
8641         default.
8643 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8645         * select.el: Don't perform clipboard-manager saving in hooks;
8646         leave the hooks empty.
8648 2011-05-28  Leo Liu  <sdl.web@gmail.com>
8650         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8651         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
8652         (occur-edit-mode): New major mode (Bug#8463).
8653         (occur-after-change-function): New function.
8654         (occur-engine): Give Occur tags a read-only property.
8656 2011-05-28  Kevin Ryde  <user42@zip.com.au>
8658         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8660 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8662         * bindings.el (help-echo): Make the initial non-indicator dash
8663         empty on graphical terminals (Bug#7295).
8665         * files.el (auto-mode-alist): Move config rule after the
8666         in-stripping one (Bug#8547).
8668         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8670         * startup.el (normal-splash-screen): Remove gratuitous mode-line
8671         setting (Bug#8740).
8673 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
8675         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8676         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8677         (Bug#8539).
8679 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8681         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8683 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
8685         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8686         (hs-hide-block-at-point, hs-find-block-beginning)
8687         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8688         (Bug#8279).
8690 2011-05-28  Glenn Morris  <rgm@gnu.org>
8692         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
8694 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8696         * help-fns.el (describe-function-1): If the function is a derived
8697         major mode, print the parent mode.
8699         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8700         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8702 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8704         * minibuffer.el (completion--capf-wrapper): Check applicability before
8705         returning non-nil for non-exclusive completion data.
8706         * progmodes/etags.el (tags-completion-at-point-function):
8707         * info-look.el (info-lookup-completions-at-point): Mark as
8708         non-exclusive.
8709         (info-complete): Adjust accordingly.
8711         * info-look.el: Convert to lexical-binding and completion-at-point.
8712         (info-lookup-completions-at-point): New function.
8713         (info-complete): Use it and completion-in-region.
8715 2011-05-28  Drew Adams  <drew.adams@oracle.com>
8717         * isearch.el: Let M-e start with point at the first mismatched char.
8718         (isearch-fail-pos): New function.
8719         (isearch-edit-string): Use it.
8721 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8723         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8725 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
8727         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
8728         traversal functions for avl-trees.
8729         (avl-tree--stack): New struct.
8730         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8731         (avl-tree-enter): Add optional `updatefun' arg.
8732         (avl-tree--do-enter): Add optional `updatefun' arg.
8733         Change return value.
8734         (avl-tree-delete): Add optional `test' and `nilflag' args.
8735         (avl-tree--do-delete): Add `test' and `nilflag' args.
8736         Change return value.
8737         (avl-tree-member): Add optional `nilflag'
8738         (avl-tree-member-p): New function.
8739         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8740         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8741         (avl-tree-stack-empty-p): New functions.
8743         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8744         avl-tree--del-balance1 and make it work both ways.
8745         (avl-tree--del-balance2): Remove.
8746         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8747         make it work both ways.
8748         (avl-tree--enter-balance2): Remove.
8749         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8750         New macros.
8751         (avl-tree--mapc, avl-tree-map): Add direction argument.
8753 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
8755         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8757 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
8759         * select.el: Support clipboard managers with built-in function
8760         x-clipboard-manager-save, via delete-frame-functions and
8761         kill-emacs-hook.
8762         (xselect-convert-to-targets): Add MULTIPLE target to list.
8763         (xselect-convert-to-save-targets): New function.
8765 2011-05-27  Kenichi Handa  <handa@m17n.org>
8767         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8768         let-binding rfc2047-encode-encoded-words to nil.
8770 2011-05-27  Glenn Morris  <rgm@gnu.org>
8772         * mail/emacsbug.el: Don't require url-util.
8774         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
8776         * files.el (set-auto-mode):
8777         Also respect mode: entries at the end of the file.  (Bug#8586)
8779 2011-05-26  Glenn Morris  <rgm@gnu.org>
8781         * files.el (hack-local-variables-prop-line, hack-local-variables):
8782         Downcase mode names, as seems to be traditional.
8783         (hack-local-variables, hack-local-variables-apply): Doc fixes.
8785         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8786         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
8788 2011-05-25  Julien Danjou  <julien@danjou.info>
8790         * textmodes/rst.el (rst-define-level-faces): Do not define face
8791         symbol if it is already defined.
8793 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8795         * play/5x5.el (5x5-new-game, 5x5-randomize):
8796         Reset 5x5-solver-output to nil when a new grid is cast.
8797         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8798         these debugging traces, as defmacro breaks the compiled code.
8800 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8802         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8804 2011-05-24  Leo Liu  <sdl.web@gmail.com>
8806         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8807         (vc-bzr-sha1): Adapt.
8809         * sha1.el: Remove.  Function `sha1' is now builtin.
8811         * bindings.el: Provide sha1 feature.
8813 2011-05-24  Kenichi Handa  <handa@m17n.org>
8815         * mail/sendmail.el: Require `rfc2047'.
8816         (mail-insert-from-field): Do not perform RFC2047 encoding.
8817         (mail-encode-header): New function.
8818         (sendmail-send-it): Set buffer-file-coding-system of the work
8819         buffer to the return value of select-message-coding-system.
8820         Call mail-encode-header.
8822         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8824 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
8826         * mail/supercite.el (sc-default-cite-frame):
8827         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
8829 2011-05-24  Glenn Morris  <rgm@gnu.org>
8831         * progmodes/python.el (brm-menu): Declare.
8833         * emulation/viper.el (viper-set-hooks): Declare.
8835         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8836         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8837         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8838         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8839         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8840         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8842 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8844         Add an :exit-function for completion-at-point.
8846         * minibuffer.el (completion--done): New fun.
8847         (completion--do-completion): Use it.  New arg `expect-exact'.
8848         (minibuffer-complete, minibuffer-complete-word): Don't output message,
8849         since completion--do-completion does it for us now.
8850         (minibuffer-force-complete): Use completion--done and
8851         completion--replace.  Handle sole-completion case with more care.
8852         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8853         (completion-extra-properties): New var.
8854         (completion-annotate-function): Make obsolete.
8855         (minibuffer-completion-help): Adjust accordingly.
8856         Use completion-list-insert-choice-function.
8857         (completion-at-point, completion-help-at-point):
8858         Bind completion-extra-properties.
8859         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8860         * simple.el (completion-list-insert-choice-function): New var.
8861         (completion-setup-function): Preserve it.
8862         (choose-completion): Pay attention to it, shuffle the code a bit.
8863         (choose-completion-string): New arg `insert-function'.
8865         * textmodes/bibtex.el: Convert to lexical binding.
8866         (bibtex-mode-map): Use completion-at-point.
8867         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8868         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8869         (bibtex-complete): Define as obsolete alias.
8870         (bibtex-complete-internal): Remove.
8871         (bibtex-format-entry): Remove unused sub-group in regexp.
8872         * shell.el (shell--command-completion-data)
8873         (shell-environment-variable-completion):
8874         * pcomplete.el (pcomplete-completions-at-point):
8875         * comint.el (comint--complete-file-name-data): Use :exit-function
8876         instead of completion-table-with-terminator so it also works for
8877         choose-completion.
8879 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8881         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8883         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8884         (bug#8710).
8886         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8888 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
8890         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8891         customization variable and implement: If non-nil, auto-fill will
8892         be inhibited while on topic's header line.
8894 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8896         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
8897         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
8898         always have a solution in grid size = 5 cases.
8899         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8900         (5x5-solver-output, 5x5-log-buffer): New vars.
8901         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8902         Make these variables buffer local to achieve 5x5 multi-session-ness.
8903         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8904         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8905         (5x5-solve-suggest): New funs.
8906         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8907         randomize a grid so that we ensure that there is always a solution.
8908         (5x5-make-random-grid): Allow other movement than flipping.
8910 2011-05-23  Kevin Ryde  <user42@zip.com.au>
8912         * emacs-lisp/advice.el (ad-read-advised-function):
8913         Use `function-called-at-point' as the default, if it has
8914         advice and passes PREDICATE.
8916 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8918         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8919         byte-compile-lambda if it's actually a lambda.
8921         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8922         Fix function quoting.  Use backquote better.
8924 2011-05-22  Yuanle Song  <sylecn@gmail.com>
8926         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8927         matching (Bug#8516).
8929 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
8931         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8932         different face (Bug#8178).
8934 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
8936         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8937         defface (Bug#8144).
8939 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8941         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8942         funcall as well (bug#8712).  Warn when performing those conversions.
8943         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8945         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8947 2011-05-22  Glenn Morris  <rgm@gnu.org>
8949         * files.el (hack-local-variables-prop-line): Small simplifications.
8950         (hack-local-variables, hack-local-variables-prop-line):
8951         If MODE-ONLY, return the mode, rather than just `t'.
8953 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8955         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8957 2011-05-21  Glenn Morris  <rgm@gnu.org>
8959         * files.el (hack-local-variables-prop-line, hack-local-variables):
8960         If only interested in the mode, don't bother doing the other stuff.
8962         * image-mode.el (image-after-revert-hook):
8963         Redraw all frames on which the image is visible.  (Bug#8567)
8965         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
8967         * wid-edit.el (widget-checklist-match-inline):
8968         Fix 2011-04-19 change.  (Bug#8649)
8970 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8972         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8973         Also allow singlespace after single-letter capitals followed by a dot.
8975         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8976         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8978 2011-05-20  Nix  <nix@esperi.org.uk>
8980         * files.el (basic-save-buffer-2):
8981         Fix handling of break-hardlink-on-save with non-existent files.
8983 2011-05-19  Deniz Dogan  <deniz@dogan.se>
8985         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
8986         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
8988 2011-05-19  Glenn Morris  <rgm@gnu.org>
8990         * progmodes/f90.el (f90-type-def-re):
8991         Handle "type, bind(c)".  (Bug#8691)
8993         * emacs-lisp/autoload.el (batch-update-autoloads):
8994         Set autoload-excludes by parsing loadup.el rather than Makefiles.
8996 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
8998         * net/tramp.el (tramp-process-actions): Set "first-password-request"
8999         property for the correct connection in case of multihops.
9001 2011-05-18  Glenn Morris  <rgm@gnu.org>
9003         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9004         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9006         Rationalize calendar handling of day and month abbrev-arrays.
9007         * calendar/calendar.el (calendar-customized-p): New function.
9008         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9009         (calendar-day-name-array, calendar-month-name-array): Doc fix.
9010         Add :set function.
9011         (calendar-abbrev-length, calendar-day-abbrev-array)
9012         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9013         (calendar-day-abbrev-array, calendar-month-abbrev-array):
9014         Elements may no longer be nil.
9015         (calendar-day-name, calendar-month-name):
9016         Update for changed nature of abbrev arrays.
9017         * calendar/diary-lib.el (diary-name-pattern):
9018         Update for changed nature of abbrev arrays.
9019         (diary-mark-entries-1): Update calendar-make-alist calls.
9020         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9021         * calendar/cal-html.el (cal-html-day-abbrev-array):
9022         Simply inherit from calendar-day-abbrev-array.
9024 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9026         * progmodes/grep.el (grep-mode): Disable default
9027         compilation-directory-matcher setting (bug#8684).
9029 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
9031         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9032         instead of "head" and "tail".  There were problems with SunOS 5.9,
9033         and it performs better.
9035 2011-05-17  Glenn Morris  <rgm@gnu.org>
9037         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9039         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9040         Replace obsolete function.
9042         * shell.el (pcomplete-parse-arguments-function): Declare.
9044         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9045         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9046         (appt-check): Doc fixes.
9047         (appt-disp-window-function, appt-delete-window-function):
9048         Remove needless special case in custom :type.
9049         (appt-display-count): Default to 0, not nil.
9050         (appt-check): Reset appt-display-count to 0, not nil.
9052 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
9054         * progmodes/python.el (python-font-lock-keywords):
9055         Add the Python 3.X keyword "nonlocal" (bug#8639).
9057 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9059         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9061 2011-05-16  Kevin Ryde  <user42@zip.com.au>
9063         * info-look.el (makefile-automake-mode): New setups, looking in
9064         automake manual, then makefile-mode.
9065         (makefile-mode): Remove automake manual, have it just in
9066         makefile-automake-mode since there's various things different or
9067         not relevant to plain make.
9068         (makefile-mode): Remove "other-modes" non-existent automake-mode,
9069         believe a hypothetical automake-mode would go to makefile-mode,
9070         not the other way around.
9072 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
9074         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9075         hunk-end tags (Bug#8672).
9077         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9078         vc-annotate-show-diff-revision-at-line (Bug#8671).
9080 2011-05-14  Glenn Morris  <rgm@gnu.org>
9082         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9083         in the middle of an existing one with multiple authors.  (Bug#8645)
9084         (change-log-font-lock-keywords): Also handle multiple author lines
9085         with leading tabs.  (Bug#8644)
9087         * calendar/appt.el (appt-check): Rename some local variables.
9088         Some simplification/reordering.
9090         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9091         (feedmail-sendmail-f-doesnt-sell-me-out)
9092         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9093         (feedmail-debug-sit-for, feedmail-queue-express-hook)
9094         (feedmail-queue-runner-message-sender): Set :version.
9095         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9096         (bbdb-dwim-net-address, vm-mail): Declare.
9097         (feedmail-binmail-gnulinuxish-template):
9098         Rename from feedmail-binmail-linuxish-template.
9099         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9100         Use insert-buffer-substring.
9102 2011-05-14  Bill Carpenter  <bill@carpenter.org>
9104         * mail/feedmail.el (feedmail-patch-level): Increase.
9105         (feedmail-debug): New custom group.
9106         (feedmail-confirm-outgoing-timeout)
9107         (feedmail-sendmail-f-doesnt-sell-me-out)
9108         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9109         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9110         (feedmail-sender-line, feedmail-from-line)
9111         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9112         (feedmail-spray-this-address)
9113         (feedmail-spray-address-fiddle-plex-list)
9114         (feedmail-queue-use-send-time-for-date)
9115         (feedmail-queue-use-send-time-for-message-id)
9116         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9117         (feedmail-buffer-eating-function):
9118         Doc fixes.
9119         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9120         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9121         (feedmail-message-action-scroll-down): New functions.
9122         (feedmail-queue-directory, feedmail-queue-draft-directory):
9123         Use expand-file-name.
9124         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9125         Remove C-v help entry.
9126         (feedmail-queue-buffer-file-name): New variable.
9127         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9128         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9129         (feedmail-message-action-send-strong, feedmail-message-action-edit)
9130         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9131         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9132         (feedmail-message-action-toggle-spray)
9133         (feedmail-run-the-queue-no-prompts)
9134         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9135         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9136         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9137         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9138         (feedmail-envelope-deducer, feedmail-fiddle-from)
9139         (feedmail-fiddle-sender, feedmail-default-date-generator)
9140         (feedmail-fiddle-date, feedmail-fiddle-message-id)
9141         (feedmail-fiddle-spray-address)
9142         (feedmail-fiddle-list-of-spray-fiddle-plexes)
9143         (feedmail-fiddle-list-of-fiddle-plexes)
9144         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9145         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9146         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9147         Change default.  Doc fix.
9148         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9149         (feedmail-binmail-linuxish-template): New constant.
9150         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
9151         Respect feedmail-sendmail-f-doesnt-sell-me-out.
9152         (feedmail-send-it): Add debug call.
9153         Use feedmail-queue-buffer-file-name, and
9154         feedmail-send-it-immediately-wrapper.
9155         (feedmail-message-action-send): Add debug call.
9156         Use feedmail-send-it-immediately-wrapper.
9157         (feedmail-queue-express-to-queue): Add debug call.
9158         Run feedmail-queue-express-hook.
9159         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
9160         (feedmail-message-action-help-blat):
9161         Rename from feedmail-queue-send-edit-prompt-help-first.
9162         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
9163         Check line-endings.  Handle errors better.
9164         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9165         Doc fix.  Add debug call.
9166         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
9167         Use feedmail-queue-send-edit-prompt-inner.
9168         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9169         (feedmail-queue-send-edit-prompt-inner): New function, extracted
9170         from feedmail-queue-send-edit-prompt.
9171         (feedmail-queue-send-edit-prompt-help)
9172         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9173         (feedmail-tidy-up-slug): Add debug call.
9174         Respect feedmail-queue-slug-suspect-regexp.
9175         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9176         (feedmail-dump-message-to-queue): Add debug call.
9177         Expand queue-directory.
9178         (feedmail-dump-message-to-queue): Change message slightly.
9179         Use feedmail-say-chatter.
9180         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
9181         (feedmail-send-it-immediately-wrapper): New function.
9182         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
9183         Insert empty string rather than newline.  Handle full-frame case.
9184         Use catch/throw.  Use feedmail-say-chatter.
9185         (feedmail-fiddle-from): Try mail-host-address.
9186         (feedmail-default-message-id-generator): Doc fix.
9187         Bind system-time-locale.  Handle missing end.
9188         (feedmail-fiddle-x-mailer): Add debug call.
9189         Handle feedmail-x-mailer-line being nil.
9190         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9191         Add debug call.  Use buffer-substring-no-properties.
9192         (feedmail-say-debug, feedmail-say-chatter): New functions.
9193         (feedmail-find-eoh): Give an explicit error.
9195 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
9197         * net/newst-treeview.el (newsticker-treeview-face): Change default
9198         family from helvetica to sans.
9199         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9200         etc/images/newsticker.
9202         * net/newst-reader.el (newsticker-feed-face): Change default
9203         family from helvetica to sans.
9205         * net/newst-plainview.el (newsticker-new-item-face)
9206         (newsticker-old-item-face, newsticker-immortal-item-face)
9207         (newsticker-obsolete-item-face, newsticker-date-face)
9208         (newsticker-statistics-face): Change default family from
9209         helvetica to sans.
9210         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9211         etc/images/newsticker.
9213         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9214         (newsticker--process-auto-mark-filter-match): : Tell user about
9215         auto-marking.
9217 2011-05-13  Didier Verna  <didier@xemacs.org>
9219         Common Lisp indentation improvements on defmethod and lambda-lists.
9220         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9221         TODO entries.
9222         (lisp-lambda-list-keyword-parameter-indentation)
9223         (lisp-lambda-list-keyword-parameter-alignment)
9224         (lisp-lambda-list-keyword-alignment): New customizable user options.
9225         (lisp-indent-defun-method): Improve docstring.
9226         (extended-loop-p): Fix comment.
9227         (lisp-indent-lambda-list-keywords-regexp): New variable.
9228         (lisp-indent-lambda-list): New function.
9229         (lisp-indent-259): Use it.
9230         (lisp-indent-defmethod): Support for more than one
9231         method qualifier and properly indent methods lambda-lists.
9232         (defgeneric): Provide a missing common-lisp-indent-function property.
9234 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9236         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9237         bounds for the empty string (bug#8667).
9239 2011-05-13  Glenn Morris  <rgm@gnu.org>
9241         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9243         * mail/sendmail.el (sendmail-program): Try executable-find first.
9244         (sendmail-send-it): `sendmail-program' cannot be unbound.
9246         * calendar/appt.el (appt-make-list): Simplify.
9247         (appt-time-msg-list): Doc fix.
9248         (appt-check): Change mode-line message at the time of the appointment.
9250 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9252         * progmodes/ld-script.el (ld-script-keywords)
9253         (ld-script-builtins): Update keywords list.
9255 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9257         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9259         * shell.el (shell-completion-vars): New function.
9260         (shell-mode):
9261         * simple.el (read-shell-command): Use it.
9262         (blink-matching-open): No need for " [...]" in minibuffer-message.
9264 2011-05-12  Glenn Morris  <rgm@gnu.org>
9266         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9267         (appt-check): Simplify.
9269 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
9271         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9272         literal "/dev/null".
9274 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9276         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9277         Fix typo.
9279 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
9281         * progmodes/which-func.el (which-function):
9282         Use add-log-current-defun instead of add-log-current-defun-function,
9283         which might not be defined (Bug#8260).
9285 2011-05-12  Glenn Morris  <rgm@gnu.org>
9287         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9288         Let byte-compile-initial-macro-environment always take precedence.
9290 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9292         * net/rcirc.el: Add support for SSL/TLS connections.
9293         (rcirc-server-alist): New field `encryption'.
9294         (rcirc): Check `encryption' settings.
9295         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9296         Merge make-local-variable into `set'.
9297         (rcirc--connection-open-p): New function.
9298         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9299         the process is not a network process (e.g. running gnutls-cli).
9300         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9301         Make rcirc-(en|de)code-coding-system local here.
9302         (rcirc-mode): Merge make-local-variable into `set'.
9303         (rcirc-parent-buffer): Make permanent buffer-local.
9304         (rcirc-multiline-minor-mode): Don't do it here.
9305         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9306         there's no server buffer.
9308 2011-05-11  Glenn Morris  <rgm@gnu.org>
9310         * newcomment.el (comment-kill): Prefix "unused" local.
9312         * term/w32console.el (get-screen-color): Declare.
9314         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9315         Handle symbol elements of byte-compile-initial-macro-environment.
9317 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9319         * bookmark.el (bookmark-bmenu-mode-map):
9320         Bind bookmark-bmenu-search to `/'.
9322         * mail/footnote.el: Convert to utf-8 encoding.
9323         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9324         (Footnote-unicode): New function.
9325         (footnote-style-alist): Add unicode style to the list.
9326         (footnote-style): Doc fix.
9328 2011-05-10  Jim Meyering  <meyering@redhat.com>
9330         Fix doubled-word typos.
9331         * international/quail.el (quail-insert-kbd-layout): and and -> and
9332         * kermit.el: and and -> and
9333         * net/ldap.el (ldap-search-internal): to to -> to
9334         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9335         * progmodes/js.el (js-mode): and and -> and
9336         * textmodes/artist.el (artist-move-to-xy): at at -> at
9337         (artist-draw-region-trim-line-endings): if if -> if
9338         And Safetyc -> Safety.
9339         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9341 2011-05-10  Glenn Morris  <rgm@gnu.org>
9342             Stefan Monnier  <monnier@iro.umontreal.ca>
9344         * files.el (hack-one-local-variable-eval-safep):
9345         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9347 2011-05-10  Glenn Morris  <rgm@gnu.org>
9349         * calendar/diary-lib.el (diary-list-entries-hook)
9350         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9351         (diary-nongregorian-marking-hook, diary-list-entries)
9352         (diary-include-other-diary-files, diary-mark-entries)
9353         (diary-mark-included-diary-files): Doc fixes.
9355 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9357         * misc.el: Require tabulated-list.el during compilation.
9359 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9361         * progmodes/compile.el (compilation-start):
9362         Run compilation-filter-hook for the async case too.
9363         (compilation-filter-hook): Doc fix.
9365 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9367         * wdired.el: Remove outdated installation comment.  Fix usage
9368         comment.
9370 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9372         * misc.el: Implement new command `list-dynamic-libraries'.
9373         (list-dynamic-libraries--loaded-only-p): New variable.
9374         (list-dynamic-libraries--refresh): New function.
9375         (list-dynamic-libraries): New command.
9377 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9379         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9380         Fix the ant regexp to handle end-line and end-column info from jikes.
9381         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9382         higher priority to avoid clobbering by gnu.
9384 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9386         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9387         if the face has existing theme settings (Bug#8454).
9389 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9391         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9392         Only match variables declared via `my' or `our' (Bug#8261).
9394         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9395         special file names `.' and `..' (Bug#8259).
9397 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9399         * progmodes/grep.el (grep-mode-font-lock-keywords):
9400         Remove buffer-changing entries.
9401         (grep-filter): New function.
9402         (grep-mode): Add it to compilation-filter-hook.
9404         * progmodes/compile.el (compilation-filter-hook)
9405         (compilation-filter-start): New defvars.
9406         (compilation-filter): Call compilation-filter-hook prior to
9407         updating the process mark.
9409 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9411         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9413 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9415         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9416         mailclient-send-it even if window-system is nil.  (Bug#8595)
9418         * term/w32console.el (terminal-init-w32console):
9419         Call get-screen-color and use its output to set the frame
9420         background-mode.  (Bug#8597)
9422 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9424         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9425         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9426         New functions.
9427         (defgeneric, eieio--defmethod): Use them.
9428         (eieio-defgeneric): Remove.
9429         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9431 2011-05-07  Glenn Morris  <rgm@gnu.org>
9433         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9434         Use let rather than let*.
9435         (timeclock-find-discrep): Remove unused local.
9437         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9439         * calendar/appt.el (appt-time-msg-list): Doc fix.
9441 2011-05-06  Noah Friedman  <friedman@splode.com>
9443         * apropos.el (apropos-print-doc): Only use
9444         emacs-lisp-docstring-fill-column when it is bound to an integer,
9445         per that variable's documentation.
9447 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9449         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9450         and warnings are not silently discarded (e.g. use -d instead of -P).
9452 2011-05-06  Glenn Morris  <rgm@gnu.org>
9454         * calendar/appt.el (appt-message-warning-time): Doc fix.
9455         (appt-warning-time-regexp): New option.
9456         (appt-make-list): Respect appt-message-warning-time.
9458         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9459         New options.
9460         (diary-add-to-list): Strip comments from the displayed string.
9461         (diary-mode): Set comment-start and comment-end.
9463         * vc/diff-mode.el (smerge-refine-subst): Declare.
9464         (diff-refine-hunk): Don't require smerge-mode when compiling.
9466 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9468         * simple.el (list-processes): Return nil as the docstring says.
9470 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9472         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9473         to "".
9474         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9475         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9476         determining of binary transfer.  (Bug#7383)
9478 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9480         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9481         Fix port computation bug.  (Bug#8618)
9483 2011-05-05  Glenn Morris  <rgm@gnu.org>
9485         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9487         * simple.el (shell-dynamic-complete-functions)
9488         (comint-dynamic-complete-functions): Declare.
9490         * net/network-stream.el (gnutls-negotiate):
9491         * simple.el (tabulated-list-print): Fix declarations.
9493         * progmodes/gud.el (syntax-symbol, syntax-point):
9494         Remove unnecessary and incorrect declarations.
9496         * emacs-lisp/check-declare.el (check-declare-scan):
9497         Handle byte-compile-initial-macro-environment in bytecomp.el
9499 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9501         Fix earlier half-done eieio-defmethod change (bug#8338).
9502         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9503         Streamline and change calling convention.
9504         (defmethod): Adjust accordingly and simplify.
9505         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9506         new eieio--defmethod.
9507         (slot-boundp): Minor CSE simplification.
9509 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9511         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9512         (glasses-make-readable): Use glasses-separate-capital-groups.
9514 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9516         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9517         (warning-series): Doc fix.
9518         (display-warning): Don't try to create the buffer if we just found it.
9520 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9522         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9523         (autoload-find-generated-file): New function.
9524         (generate-file-autoloads): Bind generated-autoload-file to
9525         buffer-file-name.
9526         (update-file-autoloads, update-directory-autoloads):
9527         Use autoload-find-generated-file.  If called interactively, prompt for
9528         output file (Bug#7989).
9529         (batch-update-autoloads): Doc fix.
9531 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9533         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9535 2011-05-04  Glenn Morris  <rgm@gnu.org>
9537         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9538         function, so it follows changes in calendar-date-style.
9539         (diary-fancy-date-matcher): New function.
9540         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9541         (diary-fancy-font-lock-fontify-region-function):
9542         Use diary-fancy-date-pattern as a function.
9544         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9545         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
9547 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
9549         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9550         instead of positional arguments.  Allow :keylist and :crlfiles
9551         arguments.
9552         (open-gnutls-stream): Call it.
9554         * net/network-stream.el (network-stream-open-starttls): Adjust to
9555         call `gnutls-negotiate' with :process and :hostname arguments.
9557 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9559         * minibuffer.el (completion--message): New function.
9560         (completion--do-completion, minibuffer-complete)
9561         (minibuffer-force-complete, minibuffer-complete-word): Use it.
9562         (completion--do-completion): Don't ignore completion-auto-help when in
9563         icomplete-mode.
9565         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9566         internal encoding (e.g. tibetan zero is not whitespace).
9567         (global-whitespace-mode): Prefer save-current-buffer.
9568         (whitespace-trailing-regexp): Remove useless save-match-data.
9569         (whitespace-empty-at-bob-regexp): Minor simplification.
9571 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
9573         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9575 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9577         * textmodes/ispell.el (ispell-add-per-file-word-list):
9578         Use `concat' to create string for insertion.
9580 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9582         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9583         Avoid open-line which runs post-self-insert-hook.
9584         (bibtex-fill-entry): Remove unused `end' var.
9586 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
9588         * textmodes/ispell.el (ispell-add-per-file-word-list):
9589         Protect against `nil' value of `comment-start' (Bug#8579).
9591 2011-05-03  Leo Liu  <sdl.web@gmail.com>
9593         * isearch.el (isearch-yank-pop): New command.
9594         (isearch-mode-map): Bind it to `M-y'.
9595         (isearch-forward): Mention it.
9597 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         * simple.el (minibuffer-complete-shell-command): Remove.
9600         (minibuffer-local-shell-command-map): Use completion-at-point.
9601         (read-shell-command): Setup completion vars here instead.
9602         (read-expression-map): Bind TAB to symbol completion.
9604         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9605         error directly rather via storing it into `results'.
9607 2011-05-02  Leo Liu  <sdl.web@gmail.com>
9609         * vc/diff.el: Fix description.
9611 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9613         * server.el (server-eval-at): New function.
9615 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9617         * net/network-stream.el (open-network-stream): Take a :nowait
9618         parameter and pass it on to `make-network-process'.
9619         (network-stream-open-plain): Ditto.
9621 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9623         * faces.el (face-spec-set-match-display): Don't match toolkit
9624         options on terminal frames.
9626 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9628         * progmodes/pascal.el: Use lexical binding.
9629         (pascal-mode-map): Remove author preferences.
9631         * pcomplete.el (pcomplete-std-complete): Don't abuse
9632         completion-at-point.
9634 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9636         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9637         removing code that has been dead since 1991 or so.
9639         * startup.el (command-line): When warning about "_emacs", use a
9640         delayed warning to allow the user to filter it out.
9642 2011-04-28  Deniz Dogan  <deniz@dogan.se>
9644         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9645         user has not joined.
9647 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9649         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9650         aren't any completions at point.
9652 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9654         * subr.el (display-delayed-warnings): New function.
9655         (delayed-warnings-hook): New variable.
9657 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9659         * minibuffer.el (completion-at-point, completion-help-at-point):
9660         Don't presume that a given completion-at-point-function will always
9661         use the same calling convention.
9663         * pcomplete.el (pcomplete-completions-at-point):
9664         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
9665         pcomplete-seen is non-nil.
9666         (pcomplete-comint-setup): Also recognize the new comint/shell
9667         completion functions.
9668         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9669         pcomplete-seen is non-nil.
9671 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
9673         * calendar/icalendar.el (diary-lib): Add require statement.
9674         (icalendar--create-uid): Read out a uid from a text-property on
9675         the first character in the entry.  This allows for code to add its
9676         own uid to the entry.
9677         (icalendar--convert-float-to-ical): Add export of
9678         `diary-float'-entries save for those with the optional DAY
9679         argument.
9681 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
9683         * subr.el (shell-quote-argument): Use alternate escaping strategy
9684         when we spot a variable reference in a string.
9686 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9688         * cus-start.el (all): Define customization for debug-on-event.
9690 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9692         * subr.el (shell-quote-argument): Escape correctly under Windows.
9694 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9696         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9698 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
9700         * net/tramp.el (tramp-process-actions): Add POS argument.
9701         Delete region between POS and (pos).
9703         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9704         Use `nil' position in `tramp-process-actions' call.
9705         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9707         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9708         position in `tramp-process-actions' call.
9710         * net/trampver.el: Update release number.
9712 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9714         * custom.el (defcustom): Obey lexical-binding.
9716         Fix octave-inf completion problems reported by Alexander Klimov.
9717         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9718         Inherit from octave-mode-syntax-table.
9719         (inferior-octave-mode): Set info-lookup-mode.
9720         (inferior-octave-completion-at-point): New function.
9721         (inferior-octave-complete): Use it and completion-in-region.
9722         (inferior-octave-dynamic-complete-functions): Use it as well, and use
9723         comint-filename-completion.
9724         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9725         symbol elements which shouldn't be word elements.
9726         (octave-font-lock-keywords, octave-beginning-of-defun)
9727         (octave-function-header-regexp): Adjust regexps accordingly.
9728         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9730 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
9732         * net/gnutls.el (gnutls-errorp): Declare before first use.
9734 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
9736         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9737         verify-error, and verify-hostname-error parameters.  Check whether
9738         default trustfile exists before going to use it.  Add missing
9739         argument to gnutls-message-maybe call.  Return value.
9740         Reported by Claudio Bley <claudio.bley@gmail.com>.
9741         (open-gnutls-stream): Add usage example.
9743         * net/network-stream.el (network-stream-open-starttls): Give host
9744         parameter to `gnutls-negotiate'.
9745         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
9746         * subr.el (shell-quote-argument): Escape correctly under Windows.
9748 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
9750         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9751         Use correct match group (bug#8438).
9753 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9755         * emacs-lisp/package.el (package-built-in-p): Fix typo.
9756         (package-menu--generate): New arg specifying packages to show.
9757         (package-menu-refresh, package-menu-execute, list-packages):
9758         Callers changed.
9759         (package-show-package-list): New function, replacing deleted
9760         package--list-packages (renamed because it is non-internal).
9762         * finder.el (finder-list-matches): Use package-show-package-list
9763         instead of deleted package--list-packages.
9765         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9766         Based on a previous implementation by Juanma Barranquero (Bug#8366).
9767         (vc-annotate-mode-map): Bind it to RET.
9769 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9771         * progmodes/etags.el (next-file): Don't use set-buffer to change
9772         buffers (Bug#8478).
9774 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9776         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9778         * apropos.el (apropos-label-face): Avoid variable-pitch face.
9779         (apropos-accumulator): Doc fix.
9780         (apropos-function, apropos-macro, apropos-command)
9781         (apropos-variable, apropos-face, apropos-group, apropos-widget)
9782         (apropos-plist): Add face property.
9783         (apropos-symbols-internal): Fix indentation.
9784         (apropos-print): Simplify help, and recognize apropos-multi-type.
9785         (apropos-print-doc): Use button-type-get to extract the button's
9786         face property.  Fill docstring (Bug#8352).
9788 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
9790         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9792         * play/mpuz.el (mpuz-silent): Doc fix.
9793         (mpuz-mode-map): Use mapc.
9794         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9795         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9796         Fix typos in docstrings.
9798         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9799         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9801         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9803 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
9805         * minibuffer.el (completion--do-completion): Avoid the "Next char
9806         not unique" prompt if icomplete-mode is enabled (Bug#5849).
9808         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9809         mouse-2 into unread-command-events, it is interpreted correctly.
9811         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
9812         (image-toggle-display): Doc fix.
9814 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
9816         * textmodes/page.el (what-page): Use line-number-at-pos to
9817         calculate line number (Bug#6825).
9819 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9821         * eshell/esh-mode.el (find-tag-interactive): Declare function.
9822         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9823         Pass argument NO-DEFAULT to `find-tag-interactive'.
9825 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9827         Lexical-binding cleanup.
9829         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9830         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9831         * progmodes/ada-prj.el (ada-prj-initialize-values)
9832         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9833         (ada-prj-show-value):
9834         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9835         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9836         (antlr-invalidate-context-cache, antlr-options-menu-filter)
9837         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9838         * progmodes/bug-reference.el (bug-reference-push-button):
9839         * progmodes/fortran.el (fortran-line-length):
9840         * progmodes/glasses.el (glasses-change):
9841         * progmodes/octave-mod.el (octave-fill-paragraph):
9842         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9843         (python-pdbtrack-grub-for-buffer, python-sentinel):
9844         * progmodes/sql.el (sql-save-connection):
9845         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9846         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9847         Mark unused parameters.
9849         * progmodes/compile.el (compilation--flush-directory-cache)
9850         (compilation--flush-parse, compile-internal): Mark unused parameters.
9851         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9852         (compilation-next-error-function): Remove unused variable `timestamp'.
9854         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9855         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9857         * progmodes/dcl-mode.el (dcl-end-of-command):
9858         Remove unused variable `start'.
9859         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9860         (dcl-option-value-basic, dcl-option-value-offset)
9861         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9862         Mark unused parameters.
9863         (dcl-save-local-variable): Remove unused variable `val'.
9864         (mode): Declare.
9866         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9867         Mark unused parameters.
9868         (delphi-ignore-changes): Move before first use.
9869         (delphi-charset-token-at): Remove unused variable `start'.
9870         (delphi-else-start): Remove unused variable `if-count'.
9871         (delphi-comment-block-start, delphi-comment-block-end):
9872         Remove unused variable `kind'.
9873         (delphi-indent-line): Remove unused variable `new-point'.
9875         * progmodes/ebrowse.el (ebrowse-files-list)
9876         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9877         Mark unused parameters.  Don't quote `lambda'.
9878         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9879         Don't quote `lambda'.
9880         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9881         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9882         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9883         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9884         Use `ignore-errors'.
9885         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9886         (ebrowse-view/find-file-and-search-pattern)
9887         (ebrowse-view/find-member-declaration/definition):
9888         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9889         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9890         Rename parameter PREFIX-ARG to PREFIX.
9891         (ebrowse-tags-read-name): Remove unused variables `start' and
9892         `member-info'.
9893         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9894         to `tags-file'.
9896         * progmodes/etags.el (local-find-tag-hook): Declare.
9897         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9898         Mark unused parameters.
9900         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9901         (executable-interpret): Mark unused parameter.
9903         * progmodes/flymake.el (flymake-process-sentinel)
9904         (flymake-after-change-function)
9905         (flymake-create-temp-with-folder-structure)
9906         (flymake-get-include-dirs-dot): Mark unused parameters.
9907         (flymake-safe-delete-directory): Remove unused variable `err'.
9909         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9910         (speedbar-timer-fn, speedbar-line-text)
9911         (speedbar-change-expand-button-char, speedbar-delete-subblock)
9912         (speedbar-center-buffer-smartly): Declare functions.
9913         (gdb-find-watch-expression): Remove unused variable `array'.
9914         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9915         (gdb-starting): Mark unused parameters.
9916         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9917         (gdb-table-string): Remove unused variable `res'.
9918         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9919         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9920         (gdb-display-buffer): Remove unused variable `cur-size'.
9922         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9923         allow lexical-binding compilation.
9924         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9925         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9926         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9927         Mark unused parameters.
9928         (gud-gdb-marker-filter): Remove unused variable `match'.
9929         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9930         lambda expressions and funcall them, instead of using `fset'.
9932         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9933         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9935         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9936         variable `header-beg'; use `let'.
9938         * progmodes/icon.el (indent-icon-exp): Remove unused variables
9939         `restart', `last-sexp' and `at-do'.
9941         * progmodes/js.el (js--debug): Mark unused parameter.
9942         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9943         (js--splice-into-items): Remove unused variable `item'.
9944         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9946         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9947         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9948         (makefile-complete): Remove unused variable `try'.
9949         (makefile-fill-paragraph, makefile-match-function-end):
9950         Mark unused parameters.
9952         * progmodes/octave-inf.el (inferior-octave-complete):
9953         Remove unused variable `proc'.
9954         (inferior-octave-output-digest): Mark unused parameter.
9956         * progmodes/perl-mode.el (perl-calculate-indent):
9957         Remove unused variable `err'.
9959         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9960         (prolog-indent-line): Mark unused parameters.
9961         (prolog-indent-line): Remove unused variable `beg'.
9963         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9964         (reporter-dont-compact-list): Declare.
9966         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9967         Remove unused variable `char'.
9968         (sh-debug): Mark unused parameter.
9969         (sh-get-indent-info): Remove unused variable `start'.
9970         (sh-calculate-indent): Remove unused variable `var'.
9972         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9973         (simula-electric-keyword): Remove unused variable `null'.
9974         (simula-search-backward, simula-search-forward): Remove unused
9975         variables `begin' and `end'.
9977         * progmodes/vera-mode.el (vera-guess-basic-syntax):
9978         Remove unused variable `pos'.
9979         (vera-electric-tab, vera-comment-uncomment-region):
9980         Mark unused parameters.
9981         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9983 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
9985         * emacs-lisp/package.el (package--builtins, package-alist)
9986         (package-load-descriptor, package-built-in-p, package-activate)
9987         (define-package, package-installed-p)
9988         (package-compute-transaction, package-buffer-info)
9989         (package--push): Doc fix.  Distinguish more clearly between
9990         version strings and version lists.
9992 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
9994         Lexical-binding cleanup.
9996         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9997         (5x5-make-mutate-best):
9998         * play/fortune.el (fortune-in-buffer):
9999         * play/gomoku.el (gomoku-init-display):
10000         * play/solitaire.el (solitaire, solitaire-do-check):
10001         * play/tetris.el (tetris-default-update-speed-function):
10002         Mark unused parameters.
10004         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10005         (bubbles--shift): Remove unused variable `char-org'.
10006         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
10007         (bubbles--show-images): Remove unused variable `char'.
10009         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10010         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10011         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10012         (decipher-analyze-buffer): Use ?\s.
10013         (decipher-make-checkpoint): Remove unused variable `mapping'.
10015         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10017         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10018         Remove unused variable `result'; use `let'.
10020         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10021         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10022         (gametree-children-shown-p, gametree-compute-reduced-score):
10023         Use `ignore-errors'.
10025         * play/handwrite.el (ps-lpr-switches): Declare.
10026         (handwrite): Remove unused variables `pmin' and `lastp'.
10028         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10030         * play/landmark.el (landmark-init-display)
10031         (landmark-update-naught-weights): Mark unused parameters.
10032         (landmark-y): Remove unused variable `noise'.  Simplify.
10033         (landmark-human-plays): Remove unused variable `score'.
10035         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10036         (mpuz-try-proposal): Remove unused variable `game'.
10038         * play/zone.el (life-patterns): Declare.
10040 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
10042         * vc/vc.el (ediff-vc-internal): Declare function.
10044 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10046         * shell.el: Use lexical-binding and std completion UI.
10047         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10048         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10049         comint-preoutput-filter-functions rather than on
10050         comint-output-filter-functions.
10051         (shell-command-completion, shell--command-completion-data)
10052         (shell-filename-completion, shell-environment-variable-completion)
10053         (shell-c-a-p-replace-by-expanded-directory): New functions.
10054         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10055         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10056         (shell-dynamic-complete-environment-variable): Use them.
10057         (shell-dynamic-complete-as-environment-variable)
10058         (shell-dynamic-complete-as-command): Remove.
10059         (shell-match-partial-variable): Match past point.
10060         * comint.el: Clean up use of completion-at-point-functions.
10061         (comint-completion-at-point): New function.
10062         (comint-mode): Use it completion-at-point-functions.
10063         (comint-dynamic-complete): Make it obsolete.
10064         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10065         (comint-c-a-p-replace-by-expanded-history): New function.
10066         (comint-dynamic-complete-functions)
10067         (comint-replace-by-expanded-history): Use it.
10068         * minibuffer.el (completion-table-with-terminator): Allow dynamic
10069         termination strings.  Try harder to avoid second try-completion.
10070         (completion-in-region-mode-map): Disable bindings that don't work yet.
10072         * comint.el: Use lexical-binding.  Require CL.
10073         (comint-dynamic-complete-functions): Use comint-filename-completion.
10074         (comint-completion-addsuffix): Tweak custom type.
10075         (comint-filename-completion, comint--common-suffix)
10076         (comint--common-quoted-suffix, comint--table-subvert)
10077         (comint--complete-file-name-data): New functions.
10078         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10079         (comint-dynamic-list-filename-completions): Use them.
10080         (comint-dynamic-simple-complete): Make obsolete.
10082         * minibuffer.el (completion-in-region-mode):
10083         Keep completion-in-region-mode--predicate global.
10084         (completion-in-region--postch):
10085         Assume completion-in-region-mode--predicate is not null.
10087         * progmodes/flymake.el (flymake-start-syntax-check-process):
10088         Obey `dir'.  Simplify.
10090         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10091         we're in VC after all.
10093 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
10095         * vc/vc.el (vc-diff-build-argument-list-internal)
10096         (vc-version-ediff, vc-ediff): New commands.
10097         (vc-version-diff): Use vc-diff-build-argument-list-internal.
10099 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10101         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10102         add sanity check.
10104         * obsolete/erc-hecomplete.el: Make obsolete.
10105         * obsolete/: Standardize obsolescence info in the header.
10107 2011-04-20  Glenn Morris  <rgm@gnu.org>
10109         * calendar/solar.el (solar-horizontal-coordinates):
10110         Use the longitude argument rather than `calendar-longitude'.
10111         (solar-date-next-longitude): Remove unused locals.
10113 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10115         * whitespace.el: New version 13.2.1.
10117 2011-04-20  felix  <EmacsWiki>  (tiny change)
10119         * whitespace.el (global-whitespace-mode): Keep highlight when
10120         switching between major modes on a file.
10122 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10124         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10125         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10126         multi-line comments as well.
10128 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
10130         Lexical-binding cleanup.
10132         * arc-mode.el (archive-mode-revert):
10133         * cmuscheme.el (scheme-interactively-start-process):
10134         * custom.el (custom-initialize-delay):
10135         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10136         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10137         * emacs-lock.el (emacs-lock-clear-sentinel):
10138         * ezimage.el (defezimage):
10139         * follow.el (follow-avoid-tail-recenter):
10140         * fringe.el (set-fringe-mode-1):
10141         * generic-x.el (bat-generic-mode-compile):
10142         * help-mode.el (help-info-variable, help-do-xref)
10143         (help-mode-revert-buffer):
10144         * help.el (view-emacs-todo):
10145         * iswitchb.el (iswitchb-completion-help):
10146         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10147         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10148         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10149         * locate.el (locate-update):
10150         * longlines.el (longlines-encode-region)
10151         (longlines-after-change-function):
10152         * outline.el (outline-isearch-open-invisible):
10153         * ps-def.el (declare-function, charset-dimension, char-width)
10154         (encode-char):
10155         * ps-mule.el (ps-mule-plot-string):
10156         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10157         (recentf-edit-list-select, recentf-edit-list-validate)
10158         (recentf-open-files-action):
10159         * rect.el (delete-whitespace-rectangle-line)
10160         (rectangle-number-line-callback):
10161         * register.el (window-configuration-to-register)
10162         (frame-configuration-to-register):
10163         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10164         * select.el (xselect-convert-to-string, xselect-convert-to-length)
10165         (xselect-convert-to-targets, xselect-convert-to-delete)
10166         (xselect-convert-to-filename, xselect-convert-to-charpos)
10167         (xselect-convert-to-lineno, xselect-convert-to-colno)
10168         (xselect-convert-to-os, xselect-convert-to-host)
10169         (xselect-convert-to-user, xselect-convert-to-class)
10170         (xselect-convert-to-name, xselect-convert-to-integer)
10171         (xselect-convert-to-atom, xselect-convert-to-identity):
10172         * subr.el (declare, ignore, process-kill-without-query)
10173         (text-clone-maintain):
10174         * terminal.el (te-get-char, te-tic-sentinel):
10175         * tool-bar.el (tool-bar-make-keymap):
10176         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10177         * type-break.el (type-break-mode, type-break-noninteractive-query):
10178         * view.el (View-back-to-mark):
10179         * wid-browse.el (widget-browse-action, widget-browse-widget)
10180         (widget-browse-widgets, widget-browse-sexp):
10181         * widget.el (define-widget-keywords):
10182         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10183         Mark unused parameters.
10185         * align.el (align-adjust-col-for-rule): Mark unused parameter.
10186         (align-areas): Remove unused variable `look'.
10187         (align-region): Remove unused variables `real-end' and `pos-list'.
10189         * apropos.el (apropos-score-doc): Remove unused variable `i'.
10191         * bindings.el (mode-line-modified, mode-line-remote):
10192         Mark unused parameters.
10193         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10195         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10196         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10198         * comint.el (comint-history-isearch-pop-state)
10199         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10200         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10201         (comint-substitute-in-file-name): Doc fix.
10203         * completion.el (cmpl-statistics-block): Mark unused parameter.
10204         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10205         (save-completions-to-file, load-completions-from-file):
10206         Remove unused local variable `e'.
10208         * composite.el (compose-chars): Remove unused variable `len'.
10209         (lgstring-insert-glyph): Remove unused variable `g'.
10210         (compose-glyph-string): Remove unused variables `ascent',
10211         `descent', `lbearing' and `rbearing'.
10212         (compose-glyph-string-relative): Remove unused variables
10213         `lbearing', `rbearing' and `wadjust'.
10214         (compose-gstring-for-graphic): Remove unused variables `header',
10215         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
10216         (compose-gstring-for-terminal): Remove unused variables `header'
10217         and `nchars'.  Use `let', not `let*'.
10219         * cus-edit.el (Custom-set, Custom-save, custom-reset)
10220         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10221         (Custom-buffer-done, custom-buffer-create-internal)
10222         (custom-browse-visibility-action, custom-browse-group-tag-action)
10223         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10224         (widget-magic-mouse-down-action, custom-toggle-parent)
10225         (custom-add-parent-links, custom-toggle-hide-variable)
10226         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10227         (custom-toggle-hide-face, face, hook, custom-group-link-action)
10228         (custom-face-menu-create, custom-variable-menu-create, get)
10229         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10230         (custom-reset-standard-save-and-update): Remove unused variable `value'.
10231         (customize-apropos): Remove unused variable `tests'.
10232         (custom-group-value-create): Remove unused variable `hidden-p'.
10233         (sort-fold-case): Declare.
10235         * cus-theme.el (custom-reset-standard-faces-list)
10236         (custom-reset-standard-variables-list): Declare.
10237         (customize-create-theme, custom-theme-revert, custom-theme-write)
10238         (custom-theme-choose-mode, customize-themes, custom-theme-save):
10239         Mark unused parameters.
10241         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10243         * delim-col.el (delimit-columns-max): Move defvar before first use.
10245         * descr-text.el (describe-char-categories): Don't quote `lambda'.
10246         (describe-char): Don't quote `lambda'.  Mark unused parameter.
10248         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10249         (auto-insert): Declare.
10250         (desktop-restore-file-buffer): Rename desktop-* parameters;
10251         mark unused ones.
10252         (desktop-create-buffer): Rename desktop-* parameters and bind them.
10253         (desktop-buffer): Rename desktop-* parameters.
10255         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10256         (dframe-reposition-frame-xemacs, dframe-help-echo)
10257         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10258         Mark unused parameters.
10260         * dired-aux.el (backup-extract-version-start, overwrite-query)
10261         (overwrite-backup-query, rename-regexp-query)
10262         (rename-non-directory-query): Declare.
10263         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10264         (dired-add-entry): Remove unused variable `orig-file-name'.
10265         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10266         Use parameter PRESERVE-TIME instead of accessing dynamic variable
10267         `dired-copy-preserve-time' directly.
10268         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10269         (dired-insert-subdir-newpos): Rename unused variable `pos'.
10271         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10272         (dired-virtual-revert, dired-make-relative-symlink):
10273         Mark unused parameters.
10274         (manual-program): Declare.
10275         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10276         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10277         wrapped in `with-no-warnings' to avoid replacing one warning by another.
10279         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10281         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10283         * echistory.el (electric-history-in-progress, Helper-return-blurb):
10284         Declare.
10286         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10288         * electric.el (Electric-command-loop): Rename parameter
10289         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10291         * expand.el (expand-in-literal): Remove unused variable `here'.
10293         * facemenu.el (facemenu-add-new-color):
10294         Remove unused variable `docstring'.
10296         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10297         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10298         (face-attr-construct): Mark unused parameter.  Doc fix.
10299         (read-color): Remove unused variable `hex-string'.
10301         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10302         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10303         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10304         (display-buffer-other-frame): Remove unused variable `old-window'.
10305         (kill-buffer-hook): Declare.
10306         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10307         Mark unused parameters.
10308         (after-find-file): Pass 1 to `auto-save-mode', not t.
10310         * files-x.el (auto-insert): Declare.
10311         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10313         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10314         variable `buf'.  Mark unused parameter.
10315         (find-lisp-insert-directory): Mark unused parameter.
10317         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10318         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10319         (format-common-tail): Remove, unused.
10320         (format-deannotate-region): Remove unused variable `loc'.
10321         (format-annotate-region): Remove unused variable `p'.
10322         (format-annotate-single-property-change): Remove unused variables
10323         `default' and `tail'.
10325         * forms.el (read-file-filter): Declare.
10326         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10328         * frame.el (frame-creation-function-alist): Mark unused parameter.
10329         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10331         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10332         Remove unused parameters.
10333         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10334         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10336         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10337         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10338         (hfy-prepare-tag-map): Mark unused parameters.
10339         (htmlfontify-buffer): Use `called-interactively-p'.
10341         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10342         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10343         (ibuffer-do-occur): Mark unused parameters.
10344         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10345         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10347         * ibuffer.el: Don't quote `lambda'.
10348         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10349         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10350         Mark unused parameters.
10352         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10353         (ido-completing-read): Mark unused parameters.
10354         (ido-copy-current-word): Mark unused parameters;
10355         remove unused variable `name'.
10356         (ido-sort-merged-list): Remove unused parameter `dirs'.
10358         * ielm.el (ielm-input-sender): Mark unused parameter.
10359         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10360         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10361         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10362         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10363         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10365         * image-dired.el (image-dired-display-thumbs): Remove unused
10366         variables `curr-file' and `count'.
10367         (image-dired-remove-tag): Remove unused variable `start'.
10368         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10369         variable `curr-file'
10370         (image-dired-rotate-original): Remove unused variable `temp-file'.
10371         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10372         Remove unused variable `file'.
10373         (image-dired-gallery-generate): Remove unused variable `curr'.
10374         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10376         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10378         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10380         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10382         * isearch.el (minibuffer-history-symbol): Declare.
10383         (isearch-edit-string): Remove unused variable `err'.
10384         (isearch-message-prefix, isearch-message-suffix):
10385         Mark unused parameters.
10387         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10389         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10391         * makesum.el (double-column): Remove unused variable `cnt'.
10393         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10394         (ido-ignore-item-temp-list): Declare.
10396         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10397         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10398         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10399         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10400         `mouse-col-delta'.
10402         * mouse-sel.el (mouse-extend-internal):
10403         Remove unused variable `orig-window-frame'.
10405         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10406         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10407         Move declarations before first use.
10408         (pcomplete-opt): Mark unused parameters; doc fix.
10410         * proced.el (proced-revert): Mark unused parameter.
10411         (proced-send-signal): Remove unused variable `err'.
10413         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10414         Rename parameter PREFIX-ARG to ARG.
10415         (ps-basic-plot-string, ps-basic-plot-whitespace):
10416         Mark unused parameters.
10418         * replace.el (replace-count): Define.
10419         (occur-revert-function): Mark unused parameters.
10420         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10421         (isearch-case-fold-search, isearch-string): Declare.
10422         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10423         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10424         and simplify.
10425         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10426         COUNT and bind `replace-count'.
10427         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10428         to COUNT.
10430         * savehist.el (print-readably, print-string-length): Declare.
10432         * shadowfile.el (shadow-expand-cluster-in-file-name):
10433         Remove unused variable `cluster'.
10434         (shadow-copy-file): Remove unused variable `i'.
10435         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10436         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10437         (shadow-define-literal-group, shadow-define-regexp-group)
10438         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10440         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10441         (shell): Use `called-interactively-p'.
10442         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10444         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10445         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10446         (delete-backward-char): Remove unused variable `ocol'.
10447         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10448         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10449         (event-apply-hyper-modifier, event-apply-shift-modifier)
10450         (event-apply-control-modifier, event-apply-meta-modifier):
10451         Mark unused parameters.
10452         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10453         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10455         * speedbar.el (speedbar-ignored-directory-expressions)
10456         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10457         (speedbar-find-file, speedbar-dir-follow)
10458         (speedbar-directory-buttons-follow, speedbar-tag-find)
10459         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10460         (speedbar-buffers-line-directory, speedbar-buffer-click):
10461         Mark unused parameters.
10462         (speedbar-tag-file): Remove unused variable `mode'.
10463         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10465         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10467         * talk.el (talk): Remove unused variable `display'.
10469         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10470         (tar-write-region-annotate): Mark unused parameter.
10472         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10473         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10474         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10475         warning by another.
10477         * time-stamp.el (time-stamp-string-preprocess):
10478         Remove unused variable `require-padding'.
10480         * tree-widget.el (widget-glyph-enable): Declare.
10481         (tree-widget-action): Mark unused parameter.
10483         * w32-fns.el (x-get-selection): Mark unused parameter.
10484         (autoload-make-program, generated-autoload-file): Declare.
10486         * wdired.el (wdired-revert): Mark unused parameters.
10487         (wdired-xcase-word): Remove unused variable `err'.
10489         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10490         (whitespace-help-scroll): Remove unused variable `data-help'.
10492         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10493         (widget-image-insert, widget-after-change, default)
10494         (widget-default-format-handler, widget-default-notify)
10495         (widget-default-prompt-value, widget-info-link-action)
10496         (widget-url-link-action, widget-function-link-action)
10497         (widget-variable-link-action, widget-file-link-action)
10498         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10499         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10500         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10501         (widget-insert-button-action, widget-delete-button-action, visibility)
10502         (widget-documentation-link-action, widget-documentation-string-action)
10503         (widget-const-prompt-value, widget-regexp-match, symbol)
10504         (widget-coding-system-prompt-value)
10505         (widget-key-sequence-value-to-external, sexp)
10506         (widget-sexp-value-to-internal, character, vector, cons)
10507         (widget-choice-prompt-value, widget-boolean-prompt-value)
10508         (widget-color--choose-action): Mark unused parameters.
10509         (widget-item-match-inline, widget-choice-match-inline)
10510         (widget-checklist-match, widget-checklist-match-inline)
10511         (widget-group-match): Rename parameter VALUES to VALS.
10512         (widget-field-value-set): Remove unused variable `size'.
10513         (widget-color-action): Remove unused variables `value' and `start'.
10515         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10516         variable `dir'.  Doc fix.
10517         (windmove-find-other-window): Don't pass it.
10519         * window.el (count-windows): Mark unused parameter.
10520         (bw-adjust-window): Remove unused variable `err'.
10522         * woman.el (woman-file-name): Remove unused variable `default'.
10523         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10524         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10525         (global-font-lock-mode): Declare.
10526         (woman-decode-region): Mark unused parameter.
10527         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10529         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10530         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10531         (x-dnd-handle-moz-url): Remove unused variable `title'.
10532         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10534         * xml.el (xml-parse-tag, xml-parse-attlist):
10535         Remove unused variable `pos'.
10537 2011-04-19  Glenn Morris  <rgm@gnu.org>
10539         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10540         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10541         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10542         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10543         * calendar/cal-html.el (cal-html-insert-minical):
10544         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10545         (calendar-mark-date-pattern):
10546         Prefix "unused" locals.
10548         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10549         optional argument `style'.
10551         * calendar/appt.el (appt-make-list):
10552         * calendar/cal-china.el (calendar-chinese-date-string):
10553         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10554         (diary-hebrew-yahrzeit):
10555         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10556         * calendar/calendar.el (calendar-generate-window):
10557         * calendar/time-date.el (time-to-days):
10558         Remove unused local variables.
10560 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
10562         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10563         glyphless-char-display table.
10564         (tabulated-list-glyphless-char-display): New var.
10566 2011-04-18  Sam Steingold  <sds@gnu.org>
10568         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10569         to acknowledgments.
10571 2011-04-17  Glenn Morris  <rgm@gnu.org>
10573         * calendar/diary-lib.el (diary-sexp-entry):
10574         * calendar/holidays.el (holiday-sexp):
10575         Set debug-on-error rather than the removed stack-trace-on-error.
10577 2011-04-16  Glenn Morris  <rgm@gnu.org>
10579         * progmodes/f90.el: Use lexical-binding.
10580         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10582 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10584         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10585         (mail-mode): Setup mailalias completion here instead.
10586         * mail/mailalias.el: Use lexical-binding.
10587         (pattern, mailalias-done): Declare dynamic.
10588         (mail-completion-at-point-function): New function, from mail-complete.
10589         (mail-complete): Use it.
10590         (mail-completion-expand): New function.
10591         (mail-get-names): Use it.
10592         (mail-directory, mail-directory-process, mail-directory-stream):
10593         Don't use `pattern' for lexically bound arg.
10595         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10597         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10598         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10599         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10601         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10602         (byte-save-window-excursion, byte-temp-output-buffer-setup)
10603         (byte-interactive-p): Define them again, for use when inlining
10604         old code.
10606 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
10608         * loadup.el: Use `string-to-number', not `string-to-int'.
10610 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10612         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10613         gud-gdb-complete-command.
10614         (gud-gdb-completions): New function, from gud-gdb-complete-command.
10615         (gud-gdb-completion-at-point): New function.
10616         (gud-gdb-completions): Remove.
10618 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
10620         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10621         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
10622         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10623         whether `executable-find' is bound.
10625         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10627 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10629         * minibuffer.el (completion-in-region-mode-predicate)
10630         (completion-in-region-mode--predicate): New vars.
10631         (completion-in-region, completion-in-region--postch)
10632         (completion-in-region-mode): Use them.
10633         (completion--capf-wrapper): Also return the hook function.
10634         (completion-at-point, completion-help-at-point):
10635         Adjust and provide a predicate.
10637         Preserve arg names for advice of subr and lexical functions (bug#8457).
10638         * help-fns.el (help-function-arglist): Consolidate the subr and
10639         new-byte-code cases.  Add argument `preserve-names' to extract names
10640         from the docstring when needed.
10641         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10642         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10643         (ad-arglist): Use help-function-arglist's new arg.
10644         (ad-definition-type): Use cond.
10646 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
10648         * autorevert.el (auto-revert-handler):
10649         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10650         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10651         Don't quote lambda.
10653         * image-mode.el (image-transform-set-scale):
10654         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10656 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10658         * net/network-stream.el (network-stream-open-starttls): Only do
10659         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10660         Upgrades via gnutls-cli are too slow to be done opportunistically.
10662 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
10664         * dframe.el (dframe-current-frame): Remove spurious quote.
10666 2011-04-12  Glenn Morris  <rgm@gnu.org>
10668         * calendar/cal-tex.el (cal-tex-end-document):
10669         Try to automatically use latin1 input if needed.
10671         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10672         Don't try to cons a mark onto an empty element.
10674 2011-04-11  Leo Liu  <sdl.web@gmail.com>
10676         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10677         buffers.
10678         (ido-kill-buffer-at-head): Support killing virtual buffers.
10680 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
10682         * minibuffer.el (completion-show-inline-help): New var.
10683         (completion--do-completion, minibuffer-complete)
10684         (minibuffer-force-complete, minibuffer-complete-word):
10685         Inhibit minibuffer messages if completion-show-inline-help is nil.
10687         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10688         to avoid interference from inline help (Bug#5849).
10690 2011-04-10  Leo Liu  <sdl.web@gmail.com>
10692         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10693         Fix typo.
10695 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
10697         * image-mode.el (image-toggle-display-image): Signal an error if
10698         not in Image mode.
10699         (image-transform-mode, image-transform-resize)
10700         (image-transform-set-rotation): Doc fix.
10701         (image-transform-set-resize): Delete.
10702         (image-transform-set-scale, image-transform-fit-to-height)
10703         (image-transform-fit-to-width): Handle image-toggle-display-image
10704         and image-transform-resize directly.
10706 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
10708         * doc-view.el (doc-view-fit-width-to-window)
10709         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10710         New functions for fitting the shown image to the Emacs window size.
10711         (doc-view-mode-map): Add bindings for the new functions.
10713 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
10715         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
10716         Fix typo in docstring.
10718 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10720         * files.el (file-size-human-readable): Produce one digit after
10721         decimal, like "ls -lh" does.
10723         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10724         the file size representation.
10726         * simple.el (list-processes): If async subprocesses are not
10727         available, error out with a clear error message.
10729 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
10731         * help.el (help-form-show): New function, to be called from C.
10732         Put help-form output in a buffer named differently than *Help*.
10734 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10736         * files.el (file-size-human-readable): New function.
10738         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10739         computing the representation inline.  Don't require `cl'.
10741 2011-04-08  Glenn Morris  <rgm@gnu.org>
10743         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10745         * net/browse-url.el (browse-url-firefox):
10746         Test system-type, not system-configuration.
10748         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10749         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10750         Use log-edit-empty-buffer-p.  (Bug#7598)
10752         * net/rlogin.el (rlogin-process-connection-type): Simplify.
10753         (rlogin-mode-map): Initialize in the defvar.
10754         (rlogin): Use ignore-errors.
10756         * replace.el (occur-mode-map): Some fixes for menu items.
10758 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10760         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
10762 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10764         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10765         issuing unused warnings.
10767         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10768         macro directly.
10770         * simple.el: Lisp reimplement of list-processes.  Based on an
10771         earlier reimplementation by Leo Liu, but using tabulated-list.el.
10772         (process-menu-mode): New major mode.
10773         (list-processes--refresh, list-processes):
10774         (process-menu-visit-buffer): New functions.
10776         * files.el (save-buffers-kill-emacs): Don't assume any return
10777         value of list-processes, which is undocumented anyway.
10779 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10781         * emacs-lisp/tabulated-list.el: New file.
10783         * emacs-lisp/package.el: Use Tabulated List mode.
10784         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10785         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
10786         table format using Tabulated List mode variables.
10787         (package--push): New macro, replacing package-list-maybe-add.
10788         (package-menu--generate): Use package--push.  Renamed from
10789         package--generate-package-list.
10790         (package-menu-refresh, list-packages): Use it.
10791         (package-menu--print-info): Rename from package-print-package.
10792         Return insertion data instead of inserting it directly.
10793         (package-menu-describe-package, package-menu-execute):
10794         Use tabulated-list-get-id.
10795         (package-menu-mark-delete, package-menu-mark-install)
10796         (package-menu-mark-unmark, package-menu-backup-unmark)
10797         (package-menu-mark-obsolete-for-deletion):
10798         Use tabulated-list-put-tag.
10799         (package--list-packages, package-menu-revert)
10800         (package-menu-get-package, package-menu-get-version)
10801         (package-menu-sort-by-column): Functions deleted.
10802         (package-menu-package-list, package-menu-sort-key): Vars deleted.
10803         (package-menu--status-predicate, package-menu--version-predicate)
10804         (package-menu--name-predicate)
10805         (package-menu--description-predicate): Handle arguments in the
10806         Tabulated List format.
10807         (package-list-packages-no-fetch): Call list-packages.
10809 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
10811         * files.el (after-find-file-from-revert-buffer): Remove variable.
10812         (after-find-file): Don't bind it.
10813         (revert-buffer-in-progress-p): New variable.
10814         (revert-buffer): Bind it.
10815         Pass nil for `after-find-file-from-revert-buffer'.
10817         * saveplace.el (save-place-find-file-hook): Use new variable
10818         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10820 2011-04-06  Glenn Morris  <rgm@gnu.org>
10822         * Makefile.in (AUTOGEN_VCS): New variable.
10823         (autoloads): Use $AUTOGEN_VCS.
10825         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10826         * calendar/calendar.el (calendar-mode-map):
10827         Check for toolkit scroll bars.  (Bug#8305)
10829 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10831         * minibuffer.el (completion-in-region--postch)
10832         (completion-in-region-mode): Remove unnecessary messages.
10834 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
10836         * font-lock.el (font-lock-refresh-defaults):
10837         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10838         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10840         * info.el (Info-directory-list, Info-read-node-name-2)
10841         (Info-split-parameter-string): Doc fixes.
10842         (Info-virtual-nodes): Reflow docstring.
10843         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10844         (Info-apropos-toc-nodes, info-finder, Info-get-token)
10845         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10846         Fix typos in docstrings.
10847         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10848         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10849         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10850         (Info-restore-desktop-buffer): Mark unused parameters.
10851         (Info-directory-find-file, Info-directory-find-node)
10852         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10853         (Info-virtual-index-find-node, Info-apropos-find-file)
10854         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
10855         Mark unused parameters; fix typos in docstrings.
10856         (Info-virtual-index): Remove unused local variable `nodename'.
10858 2011-04-05  Deniz Dogan  <deniz@dogan.se>
10860         * net/rcirc.el: Update my e-mail address.
10861         (rcirc-mode-map): Remove M-o binding.
10863 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10865         * startup.el (command-line): Save the cursor's theme-face
10866         directly, instead of using face-override-spec.
10868         * custom.el (load-theme): Minor optimization in assigning faces.
10870 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10872         * help-fns.el (describe-variable): Complete all variables having
10873         documentation, including keywords.
10874         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10876 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10878         Convert to lexical-binding.
10880         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10881         (bs--get-marked-string, bs--get-modified-string)
10882         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10883         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10884         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10886         * ehelp.el (electric-help-execute-extended)
10887         (electric-help-ctrl-x-prefix):
10888         * hexl.el (hexl-revert-buffer-function):
10889         * linum.el (linum-after-change, linum-after-scroll):
10890         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10892         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10894 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
10896         * epa-dired.el:
10897         * epa-mail.el:
10898         * epa-hook.el:
10899         * epa-file.el:
10900         * epa.el:
10901         * epg.el: Use lexical binding.
10903 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
10905         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10907         * textmodes/flyspell.el (flyspell-word): Recognize default
10908         dictionary case for flyspell-mark-duplications-exceptions.
10909         Use regexp matching for languages.
10910         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10911         default dictionary (Bug#7926).
10913 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
10915         * emacs-lisp/package.el (package--with-work-buffer):
10916         Recognize https URLs.
10918         * net/network-stream.el: Move from gnus/proto-stream.el.
10919         Change prefix to network-stream throughout.
10920         (open-protocol-stream): Merge into open-network-stream, leaving
10921         open-protocol-stream as an alias.  Handle nil BUFFER args.
10923         * subr.el (open-network-stream): Move to net/network-stream.el.
10925 2011-04-02  Glenn Morris  <rgm@gnu.org>
10927         * find-dired.el (find-exec-terminator): New option.
10928         (find-ls-option): Test for -ls support.
10929         (find-ls-subdir-switches): Test for -b in find-ls-option.
10930         (find-dired, find-grep-dired): Doc fixes.
10931         (find-dired): Use find-exec-terminator.
10933         * find-dired.el (find-ls-option, find-ls-subdir-switches)
10934         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10935         (find-name-arg): Remove purecopy.
10937         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10938         (grep-compute-defaults): Check for `-exec COMMAND +' support.
10939         Set grep-find-use-xargs, grep-find-command, and grep-find-template
10940         accordingly.  Don't add the null-device if not needed.
10942         * files.el (save-some-buffers): Doc fix.
10944 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
10946         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10948 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
10950         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10951         Use `dolist' rather than `mapcar'.
10953 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10955         Add lexical binding.
10957         * subr.el (apply-partially): Use new closures rather than CL.
10958         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10959         (dolist, dotimes): Use slightly different expansion for lexical code.
10960         (functionp): Move to C.
10961         (letrec): New macro.
10962         (with-wrapper-hook): Use it and apply-partially instead of CL.
10963         (eval-after-load): Preserve lexical-binding.
10964         (save-window-excursion, with-output-to-temp-buffer): Turn them
10965         into macros.
10967         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10969         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10970         than the arglist.
10971         (help-add-fundoc-usage): Don't add `Not documented'.
10972         (help-function-arglist): Handle closures, subroutines, and new
10973         byte-code-functions.
10974         (help-make-usage): Remove leading underscores.
10975         (describe-function-1): Handle closures.
10976         (describe-variable): Use special-variable-p for completion.
10978         * files.el (lexical-binding): Declare safe.
10980         * emacs-lisp/pcase.el: Don't use destructuring-bind.
10981         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
10982         (pcase): Add `let' pattern.
10983         Change memoization so it actually works.
10984         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10985         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10986         <let>: New case.
10988         * emacs-lisp/macroexp.el: Use lexical binding.
10989         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
10990         Don't convert ' to #' without checking that it's indeed quoting
10991         a lambda.
10993         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
10994         Use eval-sexp-add-defvars.
10995         (eval-sexp-add-defvars): New fun.
10997         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10999         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11000         Don't autoload.
11001         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11002         than the internal `byte-compile-lambda'.
11003         (defmethod): Don't hide code under quotes.
11004         (eieio-defmethod): New `code' argument.
11006         * emacs-lisp/eieio-comp.el: Remove.
11008         * emacs-lisp/edebug.el (edebug-eval-defun)
11009         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11010         (edebug-toggle): Avoid `eval'.
11012         * emacs-lisp/disass.el (disassemble-internal): Handle new
11013         `closure' objects.
11014         (disassemble-1): Handle new byte codes.
11016         * emacs-lisp/cl.el (pushnew): Silence warning.
11018         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11019         (cl-byte-compile-throw): Remove.
11020         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11022         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11023         closures.
11025         * emacs-lisp/cconv.el: New file.
11027         * emacs-lisp/bytecomp.el: Use lexical binding instead of
11028         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
11029         (byte-compile-initial-macro-environment):
11030         Handle declare-function here.
11031         (byte-compile--lexical-environment): New var.
11032         (byte-stack-ref, byte-stack-set, byte-discardN)
11033         (byte-discardN-preserve-tos): New lap codes.
11034         (byte-interactive-p): Don't use any more.
11035         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11036         New macros.
11037         (byte-compile-lapcode): Use them and handle new lap codes.
11038         (byte-compile-obsolete): Remove.
11039         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11040         (byte-compile-arglist-warn): Check late def of inlinable funs.
11041         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11042         since they should have been expanded by now.
11043         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11044         (byte-compile-from-buffer): Remove unused second arg.
11045         (byte-compile-preprocess): New function.
11046         (byte-compile-toplevel-file-form): New function to distinguish
11047         file-form calls from outside from file-form calls from hunk-handlers.
11048         (byte-compile-file-form): Simplify.
11049         (byte-compile-file-form-defsubst): Remove.
11050         (byte-compile-file-form-defmumble): Simplify now that
11051         byte-compile-lambda always returns a byte-code-function.
11052         (byte-compile): Preprocess.
11053         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11054         Remove, not used any more.
11055         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11056         (byte-compile-make-args-desc): New funs.
11057         (byte-compile-lambda): Handle lexical functions.  Always return
11058         a byte-code-function.
11059         (byte-compile-reserved-constants): New var, to make up room for
11060         closed-over variables.
11061         (byte-compile-constants-vector): Obey it.
11062         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11063         (byte-compile-macroexpand-declare-function): New function.
11064         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11065         byte-code-functions.
11066         (byte-compile-form): Check obsolescence here.
11067         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11068         (byte-compile-variable-ref): Remove.
11069         (byte-compile-dynamic-variable-op): New fun.
11070         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11071         (byte-compile-variable-set): New funs.
11072         (byte-compile-discard): Add 2 args.
11073         (byte-compile-stack-ref, byte-compile-stack-set)
11074         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11075         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11076         macroexpand-all instead.
11077         (byte-compile-quote-form): Remove.
11078         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11079         (byte-compile-bind, byte-compile-unbind): New funs.
11080         (byte-compile-let): Handle let* and lexical binding.
11081         (byte-compile-let*): Remove.
11082         (byte-compile-catch, byte-compile-unwind-protect)
11083         (byte-compile-track-mouse, byte-compile-condition-case):
11084         Handle a new :fun-body form, used for lexical scoping.
11085         (byte-compile-save-window-excursion)
11086         (byte-compile-with-output-to-temp-buffer): Remove.
11087         (byte-compile-defun): Simplify.
11088         (byte-compile-stack-adjustment): New fun.
11089         (byte-compile-out): Use it.
11090         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11092         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11093         handler any more.
11095         * emacs-lisp/byte-opt.el: Use lexical binding.
11096         (byte-inline-lapcode): Remove (to bytecomp).
11097         (byte-compile-inline-expand): Pay attention to inlining to/from
11098         lexically bound code.
11099         (byte-compile-unfold-lambda): Don't handle byte-code-functions
11100         any more.
11101         (byte-optimize-form-code-walker): Don't handle save-window-excursion
11102         any more and don't call compiler-macros.
11103         (byte-compile-splice-in-already-compiled-code): Remove.
11104         (byte-code): Don't inline any more.
11105         (disassemble-offset): Receive `bytes' as argument rather than via
11106         dynamic scoping.
11107         (byte-compile-tag-number): Declare before first use.
11108         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11109         `return' even if make-spliceable.
11110         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11111         obsolete interactive-p.
11112         (byte-optimize-lapcode): Optimize new lap-codes.
11113         Don't trip up on new form of `byte-constant' lap code.
11115         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11117         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11119         * custom.el (custom-initialize-default, custom-declare-variable):
11120         Use `defvar'.
11122         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11123         New variables.
11124         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11125         (COMPILE_FIRST): Add macroexp and cconv.
11126         * makefile.w32-in: Mirror changes in Makefile.in.
11128         * vc/cvs-status.el:
11129         * vc/diff-mode.el:
11130         * vc/log-edit.el:
11131         * vc/log-view.el:
11132         * vc/smerge-mode.el:
11133         * textmodes/bibtex-style.el:
11134         * textmodes/css.el:
11135         * startup.el:
11136         * uniquify.el:
11137         * minibuffer.el:
11138         * newcomment.el:
11139         * reveal.el:
11140         * server.el:
11141         * mpc.el:
11142         * emacs-lisp/smie.el:
11143         * doc-view.el:
11144         * dired.el:
11145         * abbrev.el: Use lexical binding.
11147 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
11149         * info.el (info-display-manual): New function.
11151 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11153         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11155 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
11157         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11158         an entry for that server in rcirc-authinfo.  (Bug#8385)
11160 2011-03-31  Glenn Morris  <rgm@gnu.org>
11162         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11164         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11166 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
11168         * progmodes/python.el (python-default-interpreter)
11169         (python-python-command-args, python-jython-command-args)
11170         (python-which-shell, python-which-args, python-which-bufname)
11171         (python-file-queue, python-comint-output-filter-function)
11172         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11173         variables and functions.
11175 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11177         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11178         (completion-in-region-mode): New minor mode.
11179         (completion-in-region): Use it.
11180         (completion-in-region--data, completion-in-region-mode-map): New vars.
11181         (completion-in-region--postch): New function.
11182         (completion--capf-misbehave-funs, completion--capf-safe-funs):
11183         New vars.
11184         (completion--capf-wrapper): New function.
11185         (completion-at-point): Use it to track well-behavedness of
11186         hook functions.
11187         (completion-help-at-point): New command.
11189 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
11191         * vc/add-log.el (add-change-log-entry): Don't use whitespace
11192         syntax class to search for whitespace on a single line
11193         (Message-ID: <4D938140.4030905@redhat.com>).
11195 2011-03-30  Leo Liu  <sdl.web@gmail.com>
11197         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11198         New commands.
11199         (edit-abbrevs-map): Bind them here.
11200         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
11202 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
11204         * allout.el (allout-hide-by-annotation, allout-flag-region):
11205         Reduce possibility of overlay leakage by making them volatile.
11207         * allout-widgets.el (allout-widgets-tally): Define as nil so the
11208         hash is not shared between buffers.  Mode initialization is
11209         responsible for giving it a useful starting value.
11210         (allout-item-span): Reduce possibility of overlay leakage by
11211         making them volatile.
11212         (allout-widgets-count-buttons-in-region): Add diagnostic function
11213         for tracking down button overlay leaks.
11215 2011-03-29  Leo Liu  <sdl.web@gmail.com>
11217         * ido.el (ido-read-internal): Use the default history var
11218         minibuffer-history if no HISTORY is specified.
11220 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
11222         * net/imap.el (imap-shell-open, imap-process-connection-type):
11223         Use imap-process-connection-type for 'shell' streams as well as
11224         Kerberos, SSL, other subprocesses.
11226 2011-03-28  Leo Liu  <sdl.web@gmail.com>
11228         * abbrev.el (abbrev-table-empty-p): New function.
11229         (prepare-abbrev-list-buffer): Place empty abbrev tables after
11230         nonempty ones.  (Bug#5937)
11232 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
11234         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11236 2011-03-27  Leo Liu  <sdl.web@gmail.com>
11238         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11239         for foreground and background colors.
11240         (ansi-color-make-color-map): Adapt.
11242 2011-03-25  Leo Liu  <sdl.web@gmail.com>
11244         * midnight.el (midnight-time-float): Remove.  Note it calculates
11245         the microsecond component incorrectly and seconds-to-time does the
11246         same job.
11247         Remove redundant (require 'timer).
11249         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11250         (ido-completions): Remove unused arguments.  (Bug#8329)
11252 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11254         * minibuffer.el (completion--flush-all-sorted-completions):
11255         Remove itself from hook.
11256         (completion-at-point): Let the functions perform the completion
11257         immediately and return nil or t.
11258         * comint.el (comint-dynamic-complete-functions): Now identical to
11259         completion-at-point-functions.
11260         (comint-dynamic-list-input-ring): Remove unused var `index'.
11261         (comint--match-partial-filename, comint--unquote&expand-filename):
11262         New funs, split from comint-match-partial-filename.
11263         (comint-dynamic-complete): Use completion-at-point.
11264         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11266 2011-03-24  Drew Adams  <drew.adams@oracle.com>
11268         * thingatpt.el: Support `defun'.
11270 2011-03-23  Leo Liu  <sdl.web@gmail.com>
11272         * abbrevlist.el: Move to obsolete/abbrevlist.el.
11274         * help-mode.el (help-mode-finish): Tweak regexp.
11276 2011-03-23  Glenn Morris  <rgm@gnu.org>
11278         * eshell/esh-opt.el (eshell-eval-using-options):
11279         Do not bind unused local variable `eshell-option-stub'.
11281         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11283 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11285         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11286         keymap variable in `with-no-warnings' to avoid a warning when the
11287         keymap has been already `defconst'ed.
11289 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11291         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11292         encode all chars in abbrevs; otherwise use emacs-mule or
11293         utf-8-emacs.  (Bug#8308)
11295 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11297         * simple.el (backward-delete-char-untabify):
11298         Avoid warning about using `delete-backward-char'.
11300         * image.el (image-type-file-name-regexps): Make it variable.
11301         `imagemagick-register-types' modifies it, and the user may want
11302         to add new extensions for known image types.
11303         (imagemagick-register-types): Throw error if not using ImageMagick.
11305 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11307         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11308         located before rcirc-prompt-end-marker.
11309         (rcirc-complete): Error if point is not after rcirc prompt.
11310         Handle the case when table is nil.
11311         (rcirc-user-authenticated): Define to fix compiler warning.
11313 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11315         * custom.el (custom--inhibit-theme-enable): Make it affect only
11316         custom-theme-set-variables and custom-theme-set-faces.
11317         (provide-theme): Ignore custom--inhibit-theme-enable.
11318         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11319         (custom-enabling-themes): Delete variable.
11320         (enable-theme): Accept only loaded themes as arguments.
11321         Ignore the special custom-enabled-themes variable.
11322         (custom-enabled-themes): Forbid themes from setting this.
11323         Eliminate use of custom-enabling-themes.
11324         (custom-push-theme): Quote "changed" custom var entry.
11326 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11328         * ido.el (ido-read-internal): Add ido-selected to history instead
11329         of user input.
11331 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11333         * subr.el (deferred-action-list, deferred-action-function):
11334         Mark obsolete.
11336 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11338         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11339         change on 2011-02-13 (bug#8309).
11341         * minibuffer.el (read-file-name-function): Change default value.
11342         (read-file-name--defaults): Rename from read-file-name-defaults.
11343         (read-file-name-default): Rename from read-file-name.
11344         (read-file-name): Call read-file-name-function.
11346 2011-03-21  Glenn Morris  <rgm@gnu.org>
11348         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11349         Doc fixes.
11351 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11353         * cus-theme.el: Add missing provide statement.
11354         (customize-create-theme): Extract theme value correctly.
11355         (custom-theme-visit-theme): Autoload.
11356         (customize-create-theme): Prompt before inserting default faces.
11358 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11360         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11361         units and musical notes.
11363 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11365         * ido.el (ido-read-internal): Use completing-read-default.
11366         (ido-completing-read): Fix compatibility with completing-read.
11368 2011-03-20  Christian Ohler  <ohler@gnu.org>
11370         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11371         (ert-delete-all-tests): Use `called-interactively-p' rather than
11372         `interactive-p'.
11373         (ert--make-xrefs-region): Respect END.
11375 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11377         * dired-aux.el (dired-create-directory): Signal an error if the
11378         directory already exists (Bug#8246).
11380         * facemenu.el (list-colors-display): Call list-faces-display
11381         inside with-help-window.
11382         (list-colors-print): Use display property to align the final
11383         column, instead of checking window-width.
11385 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11387         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11388         windows-nt systems.
11389         (emerge-protect-metachars): Quote correctly for ms-dos and
11390         windows-nt systems.
11392 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11394         * info.el (info-initialize): Replace all uses of `:' with
11395         path-separator for compatibility with non-Unix systems.
11396         Cache quoting of path-separator.  (Bug#8258)
11398 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11400         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11401         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11402         (mouse-avoidance-mode): Fix typos in docstrings.
11404 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11406         * startup.el (package-subdirectory-regexp): Move from package.el.
11407         Omit \\` and \\', and let callers add them.
11409         * emacs-lisp/package.el (package-strip-version)
11410         (package-load-all-descriptors): Add \\` and \\' to
11411         package-subdirectory-regexp before using it.
11412         (package-untar-buffer): New arg DIR; ensure that file untars only
11413         into this expected directory.  Remove superfluous delete-region.
11414         (package-unpack): Caller changed.
11415         (package-tar-file-info): Use package-subdirectory-regexp.
11417 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11419         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11420         diff-mode-shared-map (bug#8284).
11421         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11423 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11425         * calendar/time-date.el (format-seconds): Use assoc instead of
11426         assoc-string, since assoc-string doesn't exist in XEmacs.
11428 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11430         * custom.el (custom-known-themes): Reflow docstring.
11431         (custom-theme-load-path): Fix typo in docstring.
11432         (load-theme): Fix typo in error message.
11433         (custom-available-themes, custom-variable-theme-value):
11434         Use `let', not `let*'.
11436 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11438         * calc/README: Mention inclusion of musical notes.
11440         * calc/calc-units.el (calc-lu-quant): Rename from
11441         `calc-logunits-quantity'.
11442         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11443         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11444         (calc-db): Rename from `calc-dblevel'.
11445         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11446         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11447         (calc-np): Rename from `calc-nplevel'.
11448         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11449         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11450         (calc-lu-plus): Rename from `calc-logunits-add'.
11451         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11452         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11453         (calc-lu-minus): Rename from `calc-logunits-sub'.
11454         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11455         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11456         (calc-lu-times): Rename from `calc-logunits-mul'.
11457         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11458         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11459         (calc-lu-divide): Rename from `calc-logunits-div'.
11460         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11461         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11463         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11464         functions being autoloaded.
11466         * calc/calc.el (calc-lu-power-reference): Rename from
11467         `calc-logunits-power-reference'.
11468         (calc-lu-field-reference): Rename from
11469         `calc-logunits-field-reference'.
11471         * calc/calc-help.el (calc-l-prefix-help):
11472         Mention musical note functions.
11474 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11476         * minibuffer.el (completion-all-sorted-completions):
11477         Use :completion-cycle-penalty text property if present.
11479 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11481         * allout.el (allout-yank-processing): Adjust for new rebulleting
11482         regime so bullet being yanked is used without prompting the user
11483         for a choice.
11485 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11487         * startup.el (command-line): Warn the user that _emacs is deprecated.
11489 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11491         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11492         (delphi-verbose, delphi-comment-face, delphi-string-face)
11493         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11494         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11495         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11496         (delphi-new-comment-line, delphi-font-lock-defaults)
11497         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11498         Fix typos in docstrings.
11500 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11502         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11503         Invert the roles of character and string values for INSTEAD, so a
11504         string is used for the more common case of a defaulting prompt.
11506 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11508         * progmodes/ruby-mode.el (ruby-backward-sexp):
11509         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11510         * play/gamegrid.el (gamegrid-make-face):
11511         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11512         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11513         * notifications.el (notifications-notify):
11514         * net/xesam.el (xesam-search-engines):
11515         * net/quickurl.el (quickurl-list-insert):
11516         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11518 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11520         * startup.el (command-line): Update package subdirectory regexp.
11522 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11524         * allout.el (allout-abbreviate-flattened-numbering)
11525         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11527         * subr.el (read-char-choice): Only show the cursor after the prompt,
11528         not after the answer.
11530 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11532         * help-fns.el (variable-at-point): Skip leading quotes, if any
11533         (bug#8253).
11535 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11537         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11538         warning message.
11540 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11542         * shell.el (shell): When called interactively, offer to change the
11543         shell file name on remote hosts.
11545 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
11547         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11548         integration for LDAP parameters.  The host, base, user or binddn,
11549         and secret tokens can be specified in a netrc file, for instance.
11550         This is optional because an `auth-source' parameter must be
11551         specified in the search attributes.
11553 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
11555         * help.el (describe-mode): Link to the mode's definition (bug#8185).
11557 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11559         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11560         into declaration.  Remove redundant and harmful binding.
11562 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
11564         * files.el (file-ownership-preserved-p): Pass `integer' as an
11565         explicit 2nd argument to `file-attributes'.  If the file's owner
11566         is the Administrators group on Windows, and the current user is
11567         Administrator, consider that a match.
11569         * server.el (server-ensure-safe-dir): Consider server directory
11570         safe on MS-Windows if its owner is the Administrators group while
11571         the current Emacs user is Administrator.  Use `=' to compare
11572         numerical UIDs, since they could be integers or floats.
11574 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
11576         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11578 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
11580         Sync with Tramp 2.2.1.
11582         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11584         * net/trampver.el: Update release number.
11586 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11588         * progmodes/compile.el (compilation--previous-directory): Fix up
11589         various nil/dead-marker mismatches (bug#8014).
11590         (compilation-directory-properties, compilation-error-properties):
11591         Don't call it at a position past the one we're about to change.
11593         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11594         Disable obsolescence warnings in the file that declares it.
11596 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
11598         * allout-widgets.el (allout-widgets-tally):
11599         Initialize allout-widgets-tally as a hash table rather than nil to
11600         prevent mode-line redisplay warnings.  Also, clarify the module
11601         description and fix a comment typo.
11603 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
11605         * help-fns.el (describe-variable): Don't complete keywords.
11606         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11608 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
11610         * emacs-lisp/package.el (package-version-join): Impose a standard
11611         string representation for pre/alpha/beta version lists.
11612         (package-unpack-single): Standardize the directory name by passing
11613         it through package-version-join.
11614         (package-strip-rcs-id): Accept any version string that does not
11615         signal an error in version-to-list.
11617 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
11619         * simple.el (delete-trailing-whitespace): Return nil for the
11620         benefit of `write-file-functions'.
11622 2011-03-10  Glenn Morris  <rgm@gnu.org>
11624         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11626         * vc/vc-git.el (vc-git-program): New option.
11627         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11628         (vc-git--call): Use it.
11630         * eshell/esh-util.el (eshell-condition-case): Doc fix.
11632         * cus-edit.el (Custom-newline): If no button at point, look
11633         for a subgroup button at start-of-line.  (Bug#2298)
11635         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11637 2011-03-10  Julien Danjou  <julien@danjou.info>
11639         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11640         `cursor-type' is nil.
11642 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
11644         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11646 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
11648         * allout.el: Change so yank of distinctive-bullet items
11649         preserves the existing header prefix, rebulleting it if necessary,
11650         rather than replacing it.  This is necessary for proper operation
11651         of cooperative addons like allout-widgets.
11652         (allout-make-topic-prefix, allout-rebullet-heading):
11653         Change SOLICIT arg to INSTEAD, and interpret additionally a string
11654         value as alternate bullet to be used, instead of prompting the user
11655         for a bullet character.
11657 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
11659         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11660         Do not use `tramp-file-name-port', because this returns also
11661         `tramp-default-port'.
11663 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
11665         * net/rcirc.el (rcirc-handler-001): Remove useless
11666         with-rcirc-process-buffer.
11667         (rcirc-check-auth-status): Swap arguments to string-match.
11669 2011-03-09  Glenn Morris  <rgm@gnu.org>
11671         * shell.el (shell-mode):
11672         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
11674         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11675         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
11677 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11679         * emacs-lisp/package.el (package-refresh-contents)
11680         (package-menu-execute): Use condition-case-no-debug.
11682 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
11684         * simple.el (shell-command-to-string): Use `process-file'.
11686         * emacs-lisp/package.el (package-tar-file-info): Handle also
11687         remote files.
11689         * emacs-lisp/package-x.el (package-upload-buffer-internal):
11690         Use `equal' for upload base check.
11692 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
11694         * textmodes/texinfo.el (texinfo-environments):
11695         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
11697 2011-03-08  Glenn Morris  <rgm@gnu.org>
11699         * cus-start.el (cursor-in-non-selected-windows):
11700         Fix :set quoting oddness.  (Bug#8192)
11702         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11703         in some setf expressions.  (Bug#2159)
11705 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11707         * custom.el (custom-available-themes): Return themes in
11708         alphabetical order.
11710 See ChangeLog.15 for earlier changes.
11712 ;; Local Variables:
11713 ;; coding: utf-8
11714 ;; End:
11716   Copyright (C) 2011-2012  Free Software Foundation, Inc.
11718   This file is part of GNU Emacs.
11720   GNU Emacs is free software: you can redistribute it and/or modify
11721   it under the terms of the GNU General Public License as published by
11722   the Free Software Foundation, either version 3 of the License, or
11723   (at your option) any later version.
11725   GNU Emacs is distributed in the hope that it will be useful,
11726   but WITHOUT ANY WARRANTY; without even the implied warranty of
11727   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11728   GNU General Public License for more details.
11730   You should have received a copy of the GNU General Public License
11731   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.