Fix for custom-theme-write-faces.
[emacs.git] / lisp / ChangeLog
blob639d3f6d572b5a8e1532ed8ce6cd240c584949c8
1 2012-03-25  Chong Yidong  <cyd@gnu.org>
3         * cus-theme.el (custom-theme-write-faces): Retrieve current face
4         spec with custom-face-get-current-spec if its :shown-value is not
5         determined yet (Bug#9337).
7         * button.el (button-at): Minor addition to docstring.
9 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
11         * vc/vc.el (vc-merge): Fix a prompt.
13 2012-03-24  Chong Yidong  <cyd@gnu.org>
15         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16         point (Bug#9623).
18         * button.el (button-at): Minor addition to docstring.
20 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
22         * newcomment.el (comment-choose-indent): No space after BOL.
24 2012-03-22  Sam Steingold  <sds@gnu.org>
26         * window.el (switch-to-prev-buffer): Revert last patch because the
27         bug turned out to be an advertised feature (Elisp manual 28.14).
29 2012-03-22  Glenn Morris  <rgm@gnu.org>
31         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
32         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
34 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
36         * net/network-stream.el (network-stream-open-starttls): Make error
37         message under Windows be less misleading.
39 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
41         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
42         understands (bug#9942).
44 2012-03-22  Chong Yidong  <cyd@gnu.org>
46         * simple.el (end-of-visible-line): Handle return value of
47         next-single-property-change properly (Bug#9371).
49 2012-03-22  Kenichi Handa  <handa@m17n.org>
51         * international/quail.el (quail-insert-kbd-layout): Fix previous
52         change.  To avoid unwanted bidi reordering, use
53         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
55 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
57         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
58         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
59         (ruby-beginning-of-indent): Be more careful with the difference
60         between word-boundary and symbol boundary.
61         (ruby-mode-syntax-table): Make : a symbol constituent.
63 2012-03-21  Andreas Politz  <politza@fh-trier.de>
65         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
67 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
69         * progmodes/etags.el (tags-completion-at-point-function):
70         Improve last fix.
72         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
74 2012-03-21  Sam Steingold  <sds@gnu.org>
76         * progmodes/etags.el (tags-completion-at-point-function):
77         Avoid the error when point is inside the pattern.
79 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
81         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
82         line (Bug#10855).
84 2012-03-21  Drew Adams  <drew.adams@oracle.com>
86         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
88 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
90         * ido.el (ido-set-current-directory, ido-read-internal)
91         (ido-choose-completion-string, ido-completion-help): Handle nil
92         value of ido-completion-buffer (Bug#11008).
94 2012-03-21  Sam Steingold  <sds@gnu.org>
96         * window.el (switch-to-prev-buffer): Do not switch to a visible
97         window previous buffer, just like with the frame previous buffers.
99 2012-03-21  Chong Yidong  <cyd@gnu.org>
101         * faces.el (make-face, make-empty-face, copy-face):
102         * face-remap.el (face-remap-add-relative, face-remap-set-base):
103         Doc fixes.
105 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
107         * wid-edit.el (widget-complete-field): Remove (bug#11051).
108         (widget-complete): Remove broken use of it.
110 2012-03-20  Chong Yidong  <cyd@gnu.org>
112         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
113         Use string-width and truncate-string-width to handle arbitrary
114         characters.
116 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
118         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
119         to draw rectangles, not squares.  (Regression introduced by revno
120         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
122 2012-03-18  Chong Yidong  <cyd@gnu.org>
124         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
125         it is not yet defined (for temacs).
127 2012-03-18  Leo Liu  <sdl.web@gmail.com>
129         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
131 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
133         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
134         (ispell-choices-win-default-height, ispell-silently-savep)
135         (ispell-dictionary-alist, ispell-encoding8-command)
136         (ispell-check-version, ispell-aspell-find-dictionary)
137         (ispell-valid-dictionary-list, ispell-words-keyword)
138         (ispell-get-word, ispell-internal-change-dictionary)
139         (ispell-region, ispell-skip-region-list)
140         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
141         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
142         (ispell-message-text-end, ispell-message)
143         (ispell-buffer-local-parsing): Doc fix.
145 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
147         * htmlfontify.el: Add support for code block fontification for ODT
148         export (Bug #9914).
149         (hfy-optimisations): Define new option
150         `body-text-only'
151         (hfy-fontify-buffer): Honor above setting.
152         (hfy-begin-span, hfy-end-span): New routines factored out form
153         `hfy-fontify-buffer'.
154         (hfy-begin-span-handler, hfy-end-span-handler): New variables
155         that permit insertion of custom tags.
156         (hfy-fontify-buffer): Use above handlers.
157         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
158         (hfy-face-to-css): Re-defined to be a variable.
159         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
160         over multiple runs. This is made possible by having the caller let
161         bind a special variable `hfy-user-sheet-assoc'.
162         (htmlfontify-string): New defun.
163         (hfy-compile-face-map): Make sure that the last char in the
164         buffer is correctly fontified.
165         (hfy-face-resolve-face): Whitespace only change.
167 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
169         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
170         message more clear.
172 2012-03-16  Leo Liu  <sdl.web@gmail.com>
174         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
176 2012-03-16  Alan Mackenzie  <acm@muc.de>
178         Further optimise the handling of large macros.
180         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
181         limit to a call of `c-literal-limits'.
182         (c-determine-+ve-limit): New function.
183         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
184         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
185         In CASE 5B, restrict a search limit to 500.
186         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
188         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
189         Restrict macro bounds to +-500 from after-change's BEG END.
191 2012-03-16  Leo Liu  <sdl.web@gmail.com>
193         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
195 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
197         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
198         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
200 2012-03-16  Glenn Morris  <rgm@gnu.org>
202         * view.el (view-buffer, view-buffer-other-window)
203         (view-buffer-other-frame): Doc fixes re special mode-class.
205         * subr.el (eval-after-load): If named feature is provided not from
206         a file, run after-load forms.  (Bug#10946)
208         * calendar/calendar.el (calendar-insert-at-column):
209         Handle non-unit-width characters a bit better.  (Bug#10978)
211 2012-03-15  Chong Yidong  <cyd@gnu.org>
213         * emacs-lisp/ring.el (ring-extend): New function.
214         (ring-insert+extend): Extend the ring correctly (Bug#11019).
216         * comint.el (comint-read-input-ring)
217         (comint-add-to-input-history): Grow comint-input-ring lazily.
219 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
221         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
222         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
224         * imenu.el: Fix multiple inheritance breakage (bug#9199).
225         (imenu-add-to-menubar): Don't add a redundant index.
226         (imenu-update-menubar): Handle a dynamically composed keymap.
228 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
230         * mail/sendmail.el (mail-encode-header):
231         Bind rfc2047-encode-encoded-words to nil.
233 2012-03-13  Glenn Morris  <rgm@gnu.org>
235         * calendar/calendar.el (calendar-string-spread):
236         Handle non-unit-width characters a bit better.  (Bug#10978)
238 2012-03-13  Leo Liu  <sdl.web@gmail.com>
240         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
241         directory and file as argument (Bug#10822).
243 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
245         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
246         For dynamically generated code, follow $PC.
247         (gdb-disassembly-handler-custom): Handle no function name case.
249 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
251         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
252         * emulation/ws-mode.el (ws-query-replace):
253         * sort.el (sort-regexp-fields):
254         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
256 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
258         * dabbrev.el: Fix cycle completion order (bug#10963).
259         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
260         (dabbrev-completion): Don't use an obarray; provide
261         a cycle-sort-function.
263 2012-03-12  Leo Liu  <sdl.web@gmail.com>
265         * simple.el (kill-new): Use equal-including-properties for comparison.
266         (kill-do-not-save-duplicates): Doc fix.
268 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
270         * dabbrev.el: Fix cycle completion (bug#10963).
271         Use lexical binding and wrap to 80 columns.
272         (dabbrev-completion): Delay computing the list of completions.
274 2012-03-12  Kenichi Handa  <handa@m17n.org>
276         * international/quail.el (quail-insert-kbd-layout): Surround each
277         row by LRO and PDF instead of inserting many LRMs.  Pad the left
278         and right of each non-spacing marks.  Insert invisible space
279         between lower and upper characters to prevent composition.
281 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
283         * minibuffer.el (minibuffer-complete): Don't get confused when the
284         function is run twice via different commands (bug#10958).
285         (complete-with-action): Fix docstring.
287 2012-03-12  Chong Yidong  <cyd@gnu.org>
289         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
290         (nxml-completion-at-point-function): New function.
291         (nxml-mode): Use it.
292         (nxml-bind-meta-tab-to-complete-flag): Default to t.
294         * emacs-lisp/package.el (package-unpack, package-unpack-single):
295         Load generated autoloads file before byte compiling (Bug#10970).
296         (package--make-autoloads-and-compile): New helper fun.
298 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
300         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
302 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
304         * autorevert.el (auto-revert-handler): Ensure, that
305         file-readable-p is applied only for local files or in
306         auto-revert-tail-mode.
308 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
310         * server.el (server-eval-at): Handle non-tcp connections.
311         Decode result string.
313         * server.el (server-msg-size): New constant.
314         (server-reply-print): New function.
315         (server-eval-and-print): Use it.
316         (server-eval-at): Use server-quote-arg and server-unquote-arg.
317         Handle -print-nonl.
319 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
321         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
322         (Bug#10987).
324 2012-03-11  Chong Yidong  <cyd@gnu.org>
326         * simple.el (goto-line): Doc fix (Bug#9938).
328         * subr.el (save-window-excursion): Doc fix (Bug#9979).
330         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
331         when finished (Bug#10963).
333 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
335         * window.el (split-window-below): Fix bug in case where
336         split-window-keep-point is nil (Bug#10971).
338 2012-03-11  Juri Linkov  <juri@jurta.org>
340         * replace.el (replace-highlight): Set isearch-word to nil
341         unconditionally.  (Bug#10887)
343 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
345         * net/mairix.el (mairix-replace-invalid-chars): Rename from
346         mairix-replace-illegal-chars; all callers changed.  Don't remove
347         ^, ~, and = characters: they are meaningful in mairix search specs.
348         (mairix-widget-create-query): Add usage information about mairix
349         search forms: negating words, searching for substrings, etc.
351 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
353         * international/fontset.el (font-encoding-alist): Add an entry for
354         ksx1001 (Bug#5667).
356 2012-03-10  Richard Stallman  <rms@gnu.org>
358         * mail/sendmail.el (mail-encode-header):
359         Set rfc2047-encode-encoded-words.
361         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
363         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
364         view buffer means not swapped.
365         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
366         (rmail-write-region-annotate): Error if real text has disappeared.
368         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
370 2012-03-10  Chong Yidong  <cyd@gnu.org>
372         * emulation/cua-rect.el (cua--init-rectangles):
373         * emulation/cua-base.el (cua--init-keymaps):
374         Add delete-forward-char to remappings (Bug#9666).
376 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
378         * speedbar.el (speedbar-unhighlight-one-tag-line):
379         Avoid unhighlighting due to frame switching (Bug#10275).
381 2012-03-10  Chong Yidong  <cyd@gnu.org>
383         * minibuffer.el (completion-in-region, completion-help-at-point):
384         Give the completion field overlay a high priority (Bug#6830).
386         * dired.el (dired-goto-file): Recognize absolute file name
387         listings (Bug#7126).
388         (dired-goto-file-1): New helper function.
389         (dired-toggle-read-only): Inhibit warnings.
391 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
393         * net/dbus.el: (dbus-property-handler): Return empty array if
394         there are no properties.
396 2012-03-09  Leo Liu  <sdl.web@gmail.com>
398         * savehist.el (savehist-printable): Stricter check for string
399         value (Bug#10937).
401 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
403         * mail/smtpmail.el (smtpmail-send-it):
404         Bind coding-system-for-write to *-unix, so that FCC files are kept in
405         valid mbox format.
407 2012-03-09  Glenn Morris  <rgm@gnu.org>
409         * files.el (dir-locals-find-file):
410         Don't check result is regular, readable.
411         (dir-locals-read-from-file): Demote errors.
413 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
415         * international/quail.el (quail-insert-kbd-layout):
416         Insert invisible LRM characters before each character in a keyboard
417         layout cell, to prevent their reordering by bidi display engine.
418         For details, see the discussion in
419         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
421 2012-03-08  Alan Mackenzie  <acm@muc.de>
423         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
424         the starting position; make it extend the marked region when
425         invoked repeatedly - all under appropriate circumstances.
426         Fixes bugs #5525, #10906.
428 2012-03-08  Glenn Morris  <rgm@gnu.org>
430         * files.el (locate-dominating-file, dir-locals-find-file):
431         Undo 2012-03-06 change.
433 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
435         * international/quail.el (quail-help):
436         Force bidi-paragraph-direction be left-to-right.  See discussion in
437         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
438         for the reason.
440 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
442         Avoid superfluous registering of signals.  (Bug#10807)
444         * notifications.el (notifications-on-action-object)
445         (notifications-on-close-object): New defvars.
446         (notifications-on-action-signal, notifications-on-closed-signal):
447         Unregister the signal if not needed any longer.
448         (notifications-notify): Register `notifications-action-signal' or
449         `notifications-closed-signal', if :on-action or :on-close has been
450         passed as argument.
452 2012-03-07  Chong Yidong  <cyd@gnu.org>
454         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
455         non-X platforms.
457 2012-03-06  Glenn Morris  <rgm@gnu.org>
459         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
460         (x-disown-selection-internal, x-get-selection-internal):
461         Doc fix (add arglist signatures).  (Bug#10783)
463 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
465         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
466         Handle breakpoints with no "type".
468 2012-03-06  Glenn Morris  <rgm@gnu.org>
470         * files.el (locate-dominating-file): Add optional predicate argument.
471         (dir-locals-find-file): Make use of above change.
473 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
475         * info.el (Info-insert-dir): Also try "dir.gz".
477 2012-03-06  Glenn Morris  <rgm@gnu.org>
479         * files.el (dir-locals-find-file):
480         Ignore non-readable or non-regular files.  (Bug#10928)
482         * files.el (locate-dominating-file): Doc fix.
484 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
486         * calendar/calendar.el (calendar-set-mode-line):
487         `getenv' returns a string.  (Bug#10951)
489 2012-03-05  Leo Liu  <sdl.web@gmail.com>
491         * simple.el (backward-delete-char-untabify): Constrain point to
492         field (Bug#10939).
494         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
496 2012-03-05  Chong Yidong  <cyd@gnu.org>
498         * simple.el (count-words): If called from Lisp, return the word
499         count, for symmetry with `count-lines'.  Arglist changed.
500         (count-words--message): Args changed.  Consolidate counting code
501         from count-words and count-words-region.
502         (count-words-region): Caller changed.
503         (count-lines-region): Make it an obsolete alias.
505 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
507         * saveplace.el (save-place-to-alist)
508         (save-place-ignore-files-regexp): Allow value nil to disable this
509         feature.
511 2012-03-04  Chong Yidong  <cyd@gnu.org>
513         * faces.el (face-spec-reset-face): For the default face, reset the
514         attributes to default values (Bug#10748).
516 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
518         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
519         previous patch: Check `message-send-mail-function', and not the
520         default function (bug#10897).
522 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
524         * notifications.el (notifications-on-action-signal)
525         (notifications-on-closed-signal): Check for unique service name of
526         incoming event.  Fix error in removing entry.
527         (top): Register for signals with wildcard service name.
528         (notifications-notify): Use daemon unique service name for map entries.
530 2012-03-04  Chong Yidong  <cyd@gnu.org>
532         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
534 2012-03-04  Glenn Morris  <rgm@gnu.org>
536         * abbrev.el (copy-abbrev-table, abbrev-table-p)
537         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
538         (expand-abbrev, define-abbrev-table): Doc fixes.
540 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
542         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
543         `message-default-send-mail-function' and not `send-mail-function'
544         when doing the prompting for `sendmail-query-once' before sending
545         in Message buffers (bug#10897).
547         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
548         This is inconsistent with all the other stream functions, which leave
549         the setting up to the higher levels (if so wanted) (bug#10931).
551 2012-03-02  Alan Mackenzie  <acm@muc.de>
553         Depessimize the handling of very large macros.
555         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
556         (c-macro-cache-syntactic): New variables to implement a one
557         element macro cache.
558         (c-invalidate-macro-cache): New function.
559         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
560         Adapt to use the new cache.
561         (c-state-safe-place): Use better the cache of safe positions.
562         (c-state-semi-nonlit-pos-cache)
563         (c-state-semi-nonlit-pos-cache-limit):
564         New variables for...
565         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
566         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
567         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
568         Use c-state-semi-safe-place.
570         * progmodes/cc-langs.el (c-get-state-before-change-functions):
571         Add c-invalidate-macro-cache to the C, C++, Obj entries.
573 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
575         * jka-compr.el (jka-compr-call-process):
576         Apply `file-accessible-directory-p' only when the default directory is
577         not remote.
579 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
581         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
582         access of FILE2, if FILE1 does not exist.
584         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
585         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
587         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
588         Add "PAGER=" to `process-environment'.
590 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
592         * progmodes/sql.el: Bug fix
593         (sql-get-login-ext): Save login values in globals.
594         (sql-get-login): Use new version of `sql-get-login-ext'.
595         (sql-interactive-mode): Set global `sql-connection' to nil.
596         (sql-connect): Set global values for connection.
597         (sql-product-interactive): Save global values as buffer local.
599 2012-02-29  Leo Liu  <sdl.web@gmail.com>
601         * abbrev.el (define-abbrevs): Reset sys to nil.
603 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
605         * files.el (file-equal-p): Rename from `files-equal-p'.
606         Return nil when one or both files don't exist.
607         (file-subdir-of-p): Now only top directory must exists,
608         return nil if it doesn't.
609         (copy-directory): No need to test with `file-subdir-of-p' after
610         creating dir.
611         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
612         to `file-equal-p'.
614 2012-02-28  Glenn Morris  <rgm@gnu.org>
616         * shell.el (shell-mode):
617         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
618         * play/landmark.el (landmark-font-lock-face-O):
619         * play/handwrite.el (handwrite):
620         * play/gomoku.el (gomoku-O):
621         * net/browse-url.el (browse-url-browser-display):
622         * international/mule.el (define-charset):
623         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
624         * filesets.el (filesets-find-file-delay):
625         * eshell/em-xtra.el (eshell-xtra):
626         * eshell/em-unix.el (eshell-grep):
627         * emulation/viper.el (viper-mode):
628         * emacs-lisp/regexp-opt.el (regexp-opt-group):
629         * emacs-lisp/easymenu.el (easy-menu-define):
630         * calendar/timeclock.el (timeclock-use-display-time):
631         * bs.el (bs-mode):
632         * bookmark.el (bookmark-save-flag):
633         Doc fix (standardize possessive apostrophe usage).
635 2012-02-27  Chong Yidong  <cyd@gnu.org>
637         * emulation/viper-cmd.el (viper-intercept-ESC-key):
638         Fix key-binding lookup for ESC key (Bug#9146).
640         * font-lock.el (font-lock-specified-p): Rename from
641         font-lock-spec-present.  Callers changed.
643 2012-02-27  Daniel Hackney  <dan@haxney.org>
645         * emacs-lisp/package.el (package-compute-transaction):
646         Handle holding a package version to t in package-load-list.
648 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
650         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
651         (tramp-get-inode, tramp-get-device): Use cached values.
653 2012-02-26  Alan Mackenzie  <acm@muc.de>
655         Check there is a font-lock specification before doing initial
656         fontification.
658         * font-core.el (font-lock-mode): Move the conditional from
659         :after-hook to font-lock-initial-fontify.
660         (font-lock-default-function): Move the check for a specification
661         to font-lock-spec-present.
663         * font-lock.el (font-lock-initial-fontify): Call ...
664         (font-lock-spec-present): New function.
666 2012-02-26  Jim Blandy  <jimb@red-bean.com>
668         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
669         (gdb-send): Apply it to the operand of the '-interpreter-exec
670         console' command, so that we can pass arguments with (say) quotes
671         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
673 2012-02-26  Chong Yidong  <cyd@gnu.org>
675         * help-fns.el (describe-function-1): Clarify description of
676         remapping (Bug#10844).
678         * files.el (files-equal-p): Doc fix.
679         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
680         and quit the loop once a mismatch is found.
682 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
684         * bs.el (bs--show-with-configuration): Don't throw an error
685         if the window cannot be split; otherwise, subsequent calls to
686         bs-show fail, restoring a stale window config.  (Bug#10882)
688 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
690         * term/ns-win.el (global-map): Bind ns-drag-file to
691         ns-find-file (Bug#5855, Bug#10050).
693 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
695         * calendar/parse-time.el (parse-time-string): Allow extractor to
696         return nil.
698 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
700         * net/tramp.el (tramp-file-name-for-operation):
701         Add `files-equal-p' and `file-subdir-of-p'.
703         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
704         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
705         Add COPY-CONTENTS argument.
707 2012-02-25  Chong Yidong  <cyd@gnu.org>
709         Add custom groups for VC backends, for consistency with vc-bzr.
711         * vc/vc-arch.el (vc-arch):
712         * vc/vc-cvs.el (vc-cvs):
713         * vc/vc-git.el (vc-git):
714         * vc/vc-hg.el (vc-hg):
715         * vc/vc-mtn.el (vc-mtn):
716         * vc/vc-rcs.el (vc-rcs):
717         * vc/vc-sccs.el (vc-sccs):
718         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
719         All relevant defcustoms reassigned.
721 2012-02-25  Chong Yidong  <cyd@gnu.org>
723         * newcomment.el (comment-styles): Add autoload (Bug#10868).
725         * term/x-win.el (x-initialize-window-system): Reduce default for
726         x-selection-timeout to 5 seconds (Bug#8869).
728 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
730         * files.el (file-subdir-of-p): Fix typo.
732 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
734         * files.el (files-equal-p, file-subdir-of-p): New functions.
735         (copy-directory): Error when trying to copy a directory on itself.
736         Add missing copy-contents arg to tramp handler.
737         * dired-aux.el (dired-copy-file-recursive): Same.
738         (dired-create-files): Modify destination when source is equal to
739         dest when copying files.
740         Return also when dest is a subdir of source.  (Bug#10489)
742 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
744         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
745         (Bug#10874)
747 2012-02-23  Alan Mackenzie  <acm@muc.de>
749         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
750         parameter "after-hook:" to allow the expansion to run code after
751         the execution of the mode hooks.
753         * font-lock.el (font-lock-initial-fontify): New function extracted
754         from font-lock-mode-internal.
756         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
757         :after-hook.
759 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
761         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
762         (completion--cache-all-sorted-completions): New function.
763         (completion-all-sorted-completions): Use it.
764         (completion--do-completion, minibuffer-force-complete):
765         Use it to re-instate the flush hook.
767         * icomplete.el (icomplete-completions): Replace last fix with a better
768         one (bug#10850).
770 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
772         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
773         when it might call us back infinitely (bug#10797).
775 2012-02-23  Glenn Morris  <rgm@gnu.org>
777         * minibuffer.el (completion-category-overrides): Doc fix.
779 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
781         * minibuffer.el (completion-table-with-context): Fix inf-loop.
782         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
784 2012-02-23  Glenn Morris  <rgm@gnu.org>
786         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
787         (authors-obsolete-files-regexps, authors-ignored-files)
788         (authors-ambiguous-files, authors-renamed-files-alist):
789         Add more entries.
791 2012-02-23  Juri Linkov  <juri@jurta.org>
793         * isearch.el (isearch-occur): Sync interactive spec with occur's
794         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
796         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
798 2012-02-22  Juri Linkov  <juri@jurta.org>
800         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
801         (ucs-insert): Doc fix.  Check for hex digits in the string.
802         Don't display `nil' in the error message.  (Bug#10857)
804 2012-02-22  Alan Mackenzie  <acm@muc.de>
806         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
808 2012-02-22  Glenn Morris  <rgm@gnu.org>
810         * ffap.el (ffap-c-path):
811         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
813 2012-02-22  Chong Yidong  <cyd@gnu.org>
815         * custom.el (load-theme): Doc fix.
817 2012-02-22  Glenn Morris  <rgm@gnu.org>
819         * dired-x.el (dired-guess-shell-alist-default):
820         Remove escape sequences from nroff output.  (Bug#172)
822 2012-02-21  Glenn Morris  <rgm@gnu.org>
824         * vc/emerge.el (emerge-defvar-local):
825         Set `permanent-local' property rather than unused `preserved'.
827         * textmodes/picture.el (picture-delete-char): New alias.
828         (picture-mode-map): Use it.  (Bug#10860)
829         (picture-mode): Doc fix.
831 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
833         * newcomment.el (uncomment-region-default): Remove unused binding.
835 2012-02-21  Glenn Morris  <rgm@gnu.org>
837         * textmodes/picture.el (picture-motion, picture-motion-reverse)
838         (picture-self-insert, picture-tab-chars): Doc fix.
839         (picture-mode-map): Fix C-a, C-e.
841 2012-02-20  Glenn Morris  <rgm@gnu.org>
843         * emacs-lisp/authors.el (authors-aliases): Add another entry.
845 2012-02-20  Leo Liu  <sdl.web@gmail.com>
847         * icomplete.el (icomplete-completions): Check FROM arg before
848         passing to substring (Bug#10850).
850 2012-02-19  Chong Yidong  <cyd@gnu.org>
852         * comint.el: Require ansi-color.
853         (comint-output-filter-functions): Add ansi-color-process-output.
855         * ansi-color.el: Don't set comint-output-filter-functions; it is
856         now in the initial value defined in comint.el.
857         (ansi-color-apply-face-function): New variable.
858         (ansi-color-apply-on-region): Use it.
859         (ansi-color-apply-overlay-face): New function.
861         * shell.el (shell): No need to require ansi-color.
862         (shell-mode): Use ansi-color-apply-face-function to highlight
863         color escapes using font-lock-face property (Bug#10835).
865 2012-02-19  Chong Yidong  <cyd@gnu.org>
867         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
868         mode-line formats (Bug#10839).
870 2012-02-18  Glenn Morris  <rgm@gnu.org>
872         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
874         * mail/undigest.el (unforward-rmail-message): Doc fix.
876         * saveplace.el (save-place-ignore-files-regexp): Add :version.
878 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
880         * international/characters.el (script-list): Sync with the latest
881         Unicode Character Database.
883 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
885         * international/titdic-cnv.el: Remove duplicate coding tag.
886         * language/cham.el: Likewise.
887         * language/tai-viet.el: Likewise.
889 2012-02-18  Glenn Morris  <rgm@gnu.org>
891         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
892         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
893         (calendar-bahai-all-holidays-flag, calendar-other-dates):
894         * calendar/diary-lib.el (diary-abbreviated-year-flag):
895         * calendar/holidays.el (holiday-bahai-holidays)
896         (calendar-holidays, list-holidays):
897         Use utf-8 Bahá'í in doc-strings, menus, etc.
899 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
901         * saveplace.el (save-place-ignore-files-regexp): New variable
902         allowing for excluding files from saving their location of point.
903         The default value matches the temporary commit message editing
904         files from Git, SVN, Bazaar, and Mercurial.
905         (save-place-to-alist): Use it.
907 2012-02-17  Lawrence Mitchell <wence@gmx.li>
908             Stefan Monnier  <monnier@iro.umontreal.ca>
910         * newcomment.el (uncomment-region-default): Don't leave extra space
911         when an arg is provided (bug#8150).
913 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
915         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
917 2012-02-17  Glenn Morris  <rgm@gnu.org>
919         * net/socks.el: Require network-stream.  (Bug#10599)
921 2012-02-17  Kenichi Handa  <handa@m17n.org>
923         * international/charprop.el:
924         * international/uni-name.el:
925         * international/uni-old-name.el:
926         * international/uni-comment.el: Regenerate.
928 2012-02-16  Glenn Morris  <rgm@gnu.org>
930         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
931         Interactively in calendar buffer, give an error if not on a date.
933 2012-02-15  Glenn Morris  <rgm@gnu.org>
935         * shell.el (shell-delimiter-argument-list):
936         Revert 2011-02-17 change.  (Bug#8027)
938 2012-02-15  Chong Yidong  <cyd@gnu.org>
940         * minibuffer.el (completion-at-point-functions): Doc fix.
942         * custom.el (defcustom): Doc fix; note use of defvar.
944 2012-02-15  Glenn Morris  <rgm@gnu.org>
946         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
947         Doc fixes.
949 2012-02-14  Glenn Morris  <rgm@gnu.org>
951         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
953 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
955         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
956         way the ports list is computed.
957         (smtpmail-query-smtp-server): Prompt the user for a port number if
958         we can't connect to any of the standard ports (bug#10810).
960 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
962         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
964 2012-02-13  Glenn Morris  <rgm@gnu.org>
966         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
968 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
970         * net/gnutls.el (gnutls-trustfiles): New variable.
971         (gnutls-negotiate): Use it.
973 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
975         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
976         does its stuff if Gnus is running.
978 2012-02-13  Alan Mackenzie  <acm@muc.de>
980         Fix a loop in c-set-fl-decl-start.
982         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
983         c-backward-syntactic-ws actually moves backwards.
985 2012-02-13  Leo Liu  <sdl.web@gmail.com>
987         * net/rcirc.el (rcirc-markup-attributes): Move point to the
988         beginning so that all \C-o chars are removed.
990 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
992         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
994 2012-02-12  Alan Mackenzie  <acm@muc.de>
996         Fix infinite loop with long macros.
997         * cc-engine.el (c-state-safe-place): Handle macros properly.
999 2012-02-12  Chong Yidong  <cyd@gnu.org>
1001         * window.el (display-buffer): Doc fix (Bug#10785).
1003 2012-02-12  Glenn Morris  <rgm@gnu.org>
1005         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1006         (x-disown-selection-internal, x-get-selection-internal):
1007         Sync docs with the xselect.c versions.
1009         * allout-widgets.el: Add missing license notice.
1011 2012-02-11  Glenn Morris  <rgm@gnu.org>
1013         * select.el (x-get-selection-internal, x-own-selection-internal)
1014         (x-disown-selection-internal):
1015         * x-dnd.el (x-get-selection-internal): Update declarations.
1017         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1019         * window.el (window-sides-slots):
1020         * tool-bar.el (tool-bar-position):
1021         * term/xterm.el (xterm-extra-capabilities):
1022         * ses.el (ses-self-reference-early-detection):
1023         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1024         (verilog-auto-wire-type)
1025         (verilog-auto-delete-trailing-whitespace)
1026         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1027         (verilog-auto-tieoff-declaration):
1028         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1029         (sql-oracle-statement-starters, sql-oracle-scan-on):
1030         * progmodes/prolog.el (prolog-align-comments-flag)
1031         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1032         (prolog-left-indent-regexp, prolog-paren-indent-p)
1033         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1034         (prolog-types, prolog-mode-specificators)
1035         (prolog-determinism-specificators, prolog-directives)
1036         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1037         (prolog-electric-dot-flag)
1038         (prolog-electric-dot-full-predicate-template)
1039         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1040         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1041         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1042         (prolog-program-switches, prolog-prompt-regexp)
1043         (prolog-debug-on-string, prolog-debug-off-string)
1044         (prolog-trace-on-string, prolog-trace-off-string)
1045         (prolog-zip-on-string, prolog-zip-off-string)
1046         (prolog-use-standard-consult-compile-method-flag)
1047         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1048         (prolog-imenu-max-lines, prolog-info-predicate-index)
1049         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1050         (prolog-char-quote-workaround):
1051         * progmodes/cc-vars.el (c-defun-tactic):
1052         * net/tramp.el (tramp-encoding-command-interactive)
1053         (tramp-local-end-of-line):
1054         * net/soap-client.el (soap-client):
1055         * net/netrc.el (netrc-file):
1056         * net/gnutls.el (gnutls):
1057         * minibuffer.el (completion-category-overrides)
1058         (completion-cycle-threshold)
1059         (completion-pcm-complete-word-inserts-delimiters):
1060         * man.el (Man-name-local-regexp):
1061         * mail/feedmail.el (feedmail-display-full-frame):
1062         * international/characters.el (glyphless-char-display-control):
1063         * eshell/em-ls.el (eshell-ls-date-format):
1064         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1065         (lisp-lambda-list-keyword-parameter-indentation)
1066         (lisp-lambda-list-keyword-parameter-alignment):
1067         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1068         * dired-x.el (dired-omit-verbose):
1069         * cus-theme.el (custom-theme-allow-multiple-selections):
1070         * calc/calc.el (calc-highlight-selections-with-faces)
1071         (calc-lu-field-reference, calc-lu-power-reference)
1072         (calc-note-threshold):
1073         * battery.el (battery-mode-line-limit):
1074         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1075         (archive-7z-update):
1076         * allout.el (allout-prefixed-keybindings)
1077         (allout-unprefixed-keybindings)
1078         (allout-inhibit-auto-fill-on-headline)
1079         (allout-flattened-numbering-abbreviation):
1080         * allout-widgets.el (allout-widgets-auto-activation)
1081         (allout-widgets-icons-dark-subdir)
1082         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1083         (allout-widgets-theme-dark-background)
1084         (allout-widgets-theme-light-background)
1085         (allout-widgets-item-image-properties-emacs)
1086         (allout-widgets-item-image-properties-xemacs)
1087         (allout-widgets-run-unit-tests-on-load)
1088         (allout-widgets-time-decoration-activity)
1089         (allout-widgets-hook-error-post-time)
1090         (allout-widgets-track-decoration):
1091         Add missing :version tags to new defcustoms and defgroups.
1093         * progmodes/sql.el (sql-ansi-statement-starters)
1094         (sql-oracle-statement-starters): Add custom type.
1096         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1097         (prolog-system-version): Give it a type.
1099 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
1101         * term/pc-win.el (x-select-text, x-selection-owner-p)
1102         (x-own-selection-internal, x-disown-selection-internal)
1103         (x-get-selection-internal): Sync doc strings and argument lists
1104         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
1106 2012-02-11  Leo Liu  <sdl.web@gmail.com>
1108         * progmodes/python.el (python-end-of-statement): Fix infinite
1109         loop.  (Bug#10788)
1111 2012-02-10  Glenn Morris  <rgm@gnu.org>
1113         * international/mule-cmds.el (unify-8859-on-encoding-mode)
1114         (unify-8859-on-decoding-mode): Properly mark as obsolete.
1116 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1118         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1119         about SMTP before checking the From header.
1121         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1122         into own function for reuse by emacsbug.el.
1124 2012-02-10  Leo Liu  <sdl.web@gmail.com>
1126         * subr.el (condition-case-unless-debug): Rename from
1127         condition-case-no-debug.  All callers changed.
1128         (with-demoted-errors): Fix caller.
1130         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1131         * nxml/rng-valid.el (rng-do-some-validation):
1132         * emacs-lisp/package.el (package-refresh-contents)
1133         (package-menu-execute):
1134         * desktop.el (desktop-create-buffer):
1135         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1137 2012-02-10  Glenn Morris  <rgm@gnu.org>
1139         * textmodes/bibtex.el:
1140         Add missing :version tags for new/changed defcustoms.
1142         * files.el (remote-file-name-inhibit-cache): Doc fixes.
1144 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
1146         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1147         (smtpmail-via-smtp): Use it, or fall back on the From address.
1148         (smtpmail-send-it): Ditto.
1150 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1152         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1153         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
1154         (byte-compile-tmp-var): New const.
1155         (byte-compile-defvar): Use it to minimize .elc size.
1156         Just use `defvar' rather than simulate it (bug#10761).
1158 2012-02-09  Glenn Morris  <rgm@gnu.org>
1160         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
1162         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1163         Add :version tags.
1165         * progmodes/compile.el (compilation-error-screen-columns)
1166         (compilation-first-column, compilation-filter-start): Doc fixes.
1168         * vc/log-view.el (log-view-toggle-entry-display):
1169         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1171         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1172         (report-emacs-bug-can-use-xdg-email):
1173         (report-emacs-bug-insert-to-mailer): Doc fixes.
1174         (report-emacs-bug): Message fix.
1176         * net/browse-url.el (browse-url-can-use-xdg-open)
1177         (browse-url-xdg-open): Doc fixes.
1179         * electric.el (electric-indent-mode, electric-pair-mode)
1180         (electric-layout-rules, electric-layout-mode): Doc fixes.
1181         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1183 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
1185         * server.el (server-unselect-display): Don't inadvertently kill
1186         the current buffer.  (Bug#10729)
1188 2012-02-08  Glenn Morris  <rgm@gnu.org>
1190         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1191         (sql-list-table): Doc fixes.
1193         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1194         Comment out (does nothing).
1196         * completion.el (dynamic-completion-mode):
1197         * dirtrack.el (dirtrack-debug-mode):
1198         * electric.el (electric-layout-mode):
1199         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1200         * face-remap.el (text-scale-mode, buffer-face-mode):
1201         * iimage.el (iimage-mode):
1202         * image-mode.el (image-transform-mode):
1203         * minibuffer.el (completion-in-region-mode):
1204         * scroll-lock.el (scroll-lock-mode):
1205         * simple.el (next-error-follow-minor-mode):
1206         * tar-mode.el (tar-subfile-mode):
1207         * tooltip.el (tooltip-mode):
1208         * vcursor.el (vcursor-use-vcursor-map):
1209         * wid-browse.el (widget-minor-mode):
1210         * emulation/tpu-edt.el (tpu-edt-mode):
1211         * emulation/tpu-extras.el (tpu-cursor-free-mode):
1212         * international/iso-ascii.el (iso-ascii-mode):
1213         * language/thai-util.el (thai-word-mode):
1214         * mail/supercite.el (sc-minor-mode):
1215         * net/goto-addr.el (goto-address-mode):
1216         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1217         * progmodes/cwarn.el (cwarn-mode):
1218         * progmodes/flymake.el (flymake-mode):
1219         * progmodes/glasses.el (glasses-mode):
1220         * progmodes/hideshow.el (hs-minor-mode):
1221         * progmodes/pascal.el (pascal-outline-mode):
1222         * textmodes/enriched.el (enriched-mode):
1223         * vc/smerge-mode.el (smerge-mode):
1224         Doc fixes (minor mode argument).
1226 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
1228         * ls-lisp.el (ls-lisp-sanitize): New function.
1229         (ls-lisp-insert-directory): Use it to fix or remove any elements
1230         in file-alist with missing attributes.  (Bug#4673)
1232 2012-02-07  Alan Mackenzie  <acm@muc.de>
1234         Fix spurious recognition of c-in-knr-argdecl.
1236         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1237         putative K&R region.
1239 2012-02-07  Alan Mackenzie  <acm@muc.de>
1241         * progmodes/cc-engine.el (c-forward-objc-directive):
1242         Prevent looping in "#pragma mark @implementation".
1244 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
1246         * notifications.el (notifications-on-closed-signal): Make `reason'
1247         optional.  (Bug#10744)
1249 2012-02-07  Glenn Morris  <rgm@gnu.org>
1251         * emacs-lisp/easy-mmode.el (define-minor-mode):
1252         Doc fixes for the macro and the mode it defines.
1254         * image.el (imagemagick-types-inhibit): Doc fix.
1256         * cus-start.el (imagemagick-render-type): Add it.
1258 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1260         * progmodes/cc-mode.el
1261         (c-standard-font-lock-fontify-region-function): Set the default at
1262         load time, too, so that `font-lock-fontify-buffer' can be called
1263         without setting up the entire mode first.  This fixes a bug in
1264         `mm-inline-text' with C MIME parts.
1266 2012-02-06  Chong Yidong  <cyd@gnu.org>
1268         * simple.el (list-processes--refresh): Delete exited processes
1269         (Bug#8094).
1271         * comint.el (comint-next-prompt): next-single-char-property-change
1272         and prev-single-char-property-change never return nil (Bug#8657).
1274         * custom.el (defcustom): Doc fix (Bug#9711).
1276 2012-02-05  Chong Yidong  <cyd@gnu.org>
1278         * cus-edit.el (custom-variable-reset-backup): Quote the value
1279         before storing it in the customized-value property (Bug#6712).
1280         (custom-display): Add a customization type tag.
1281         (custom-buffer-create-internal): Improve tooltip message.
1283         * wid-edit.el (widget-field-value-get): New optional arg to
1284         suppress trailing whitespace truncation.
1285         (character): Use it (Bug#2689).
1287 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
1289         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1290         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1292 2012-02-05  Chong Yidong  <cyd@gnu.org>
1294         * cus-edit.el (custom-variable-value-create): For mismatched
1295         types, show the current value (Bug#7600).
1297         * custom.el (defcustom): Doc fix.
1299 2012-02-05  Glenn Morris  <rgm@gnu.org>
1301         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1303 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
1305         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1306         (pp-buffer): Use `ignore-errors', `looking-at-p'.
1307         (pp-last-sexp): Use `looking-at-p'.
1309 2012-02-04  Glenn Morris  <rgm@gnu.org>
1311         * files.el (revert-buffer):
1312         Doc fix (mention revert-buffer-in-progress-p).
1314         * emacs-lisp/ert-x.el (ert-simulate-command):
1315         Check deferred-action-list (which is obsolete) is bound.
1317         * subr.el (with-wrapper-hook): Doc fixes.
1319         * simple.el (filter-buffer-substring-functions)
1320         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1322 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1324         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1325         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1327 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1329         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1331 2012-02-04  Glenn Morris  <rgm@gnu.org>
1333         * image.el (image-extension-data): Add obsolete alias.
1335         * isearch.el (isearch-update): Doc fix.
1337         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1339         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1341 2012-02-03  Glenn Morris  <rgm@gnu.org>
1343         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1344         (image-animate-timeout): Doc fix.
1346         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1348 2012-02-02  Glenn Morris  <rgm@gnu.org>
1350         * server.el (server-auth-dir): Doc fix.
1351         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1353         * subr.el (run-mode-hooks): Doc fix.
1355 2012-02-02  Juri Linkov  <juri@jurta.org>
1357         * image-mode.el (image-toggle-display-image): Remove tautological
1358         `major-mode' from the `derived-mode-p' test.
1360 2012-02-02  Kenichi Handa  <handa@m17n.org>
1362         * composite.el (compose-region): Cancel previous change.
1364 2012-02-02  Kenichi Handa  <handa@m17n.org>
1366         * composite.el (compose-region, compose-string): Signal error for
1367         a null string component (Bug#6988).
1369 2012-02-01  Chong Yidong  <cyd@gnu.org>
1371         * view.el (view-buffer-other-window, view-buffer-other-frame):
1372         Handle special modes like view-buffer (Bug#10650).
1373         (view-buffer): Simplify.
1375         * frame.el (set-frame-font): Tweak meaning of third argument.
1377         * dynamic-setting.el (font-setting-change-default-font):
1378         Use set-frame-font (Bug#9982).
1380 2012-02-01  Glenn Morris  <rgm@gnu.org>
1382         * progmodes/compile.el (compilation-internal-error-properties):
1383         Respect compilation-first-column in the "*compilation*" buffer.
1385         * emacs-lisp/easy-mmode.el (define-minor-mode):
1386         Relax :variable's test for a named function.
1388 2012-01-31  Alan Mackenzie  <acm@muc.de>
1390         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1391         off by one error.
1393 2012-01-31  Chong Yidong  <cyd@gnu.org>
1395         * frame.el (set-frame-font): New arg ALL-FRAMES.
1397         * menu-bar.el (menu-set-font): Use set-frame-font.
1399         * faces.el (face-spec-reset-face): Don't apply unspecified
1400         attribute values to the default face.
1402 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1404         * progmodes/cwarn.el (cwarn): Remove dead link.
1405         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1406         Remove * from defcustom docstrings.
1407         (turn-on-cwarn-mode): Make obsolete.
1408         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1409         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1411 2012-01-31  Glenn Morris  <rgm@gnu.org>
1413         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1414         Fix :variable handling of mode a symbol not equal to modefun.
1415         Allow named functions to be used as the cdr of :variable.
1417 2012-01-30  Glenn Morris  <rgm@gnu.org>
1419         * emacs-lisp/authors.el (authors-fixed-entries):
1420         Remove reference to deleted file rnewspost.el.
1422 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1424         * window.el (window-with-parameter): Remove unused variable `windows'.
1425         (window--side-check): Remove unused variable `code'.
1426         (window--resize-siblings): Remove unused variable `first'.
1427         (adjust-window-trailing-edge): Remove unused variable `failed'.
1428         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1429         Use `let', not `let*'.
1430         (balance-windows-2): Remove unused variable `found'.
1431         (window--state-put-2): Remove unused variable `splits'.
1432         (window-state-put): Remove unused variable `selected'.
1433         (same-window-p): Use `string-match-p'.
1434         (display-buffer-assq-regexp): Remove unused variable `value'.
1435         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1436         Mark argument ALIST as ignored.
1437         (pop-to-buffer): Remove unused variable `old-window'.
1439 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1441         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1442         and .lzma compressed files.
1444 2012-01-29  Chong Yidong  <cyd@gnu.org>
1446         * frame.el (window-system-default-frame-alist): Doc fix.
1448         * dynamic-setting.el (font-setting-change-default-font): Don't
1449         change the default face if SET-FONT argument is non-nil (Bug#9982).
1451 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1453         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1455 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1457         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1458         breakpoints in files outside current directory (Bug#6098).
1460 2012-01-29  Chong Yidong  <cyd@gnu.org>
1462         * progmodes/python.el: Require ansi-color at top-level.
1464         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1465         Define and use in Emacs Lisp mode (Bug#9360).
1466         (lisp-mode-abbrev-table): Add doc.
1467         (lisp-mode-variables): Don't set local-abbrev-table.
1468         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1470 2012-01-28  Roland Winkler  <winkler@gnu.org>
1472         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1474 2012-01-28  Roland Winkler  <winkler@gnu.org>
1476         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1477         (bibtex-set-dialect): Use it.  Either set global values of
1478         dialect-dependent variables or bind these variables buffer-locally
1479         (Bug#10254).
1480         (bibtex-mode): Call bibtex-set-dialect via
1481         hack-local-variables-hook.
1482         (bibtex-dialect): Update docstring.
1483         Add safe-local-variable predicate.
1484         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1485         bibtex-set-dialect.
1486         (bibtex-mode-map): Define menu for each dialect.
1487         (bibtex-entry): Fix docstring.
1489 2012-01-28  Chong Yidong  <cyd@gnu.org>
1491         * eshell/esh-arg.el (eshell-quote-argument): New function.
1493         * eshell/esh-ext.el (eshell-invoke-batch-file):
1494         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1495         first arg to eshell-parse-command (Bug#10523).
1497 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1499         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1500         `default-directory' is non-nil.
1502 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1504         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1505         line that displays system-configuration-options.  (Bug#9924)
1507 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1509         * descr-text.el (describe-char): Show information about POS, in
1510         addition to information about the character at POS.  Improve and
1511         update the doc string.  Change "code point" to "code point in
1512         charset", to avoid confusion with the character's Unicode code
1513         point shown above that.  (Bug#10129)
1515 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1517         * descr-text.el (describe-char): Show the raw character, not only
1518         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1519         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1520         for the reasons.
1522 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1524         * emacs-lisp/package.el (package-install):
1525         Run package-refresh-contents if there is no archive yet (Bug#9798).
1527 2012-01-28  Chong Yidong  <cyd@gnu.org>
1529         * emacs-lisp/package.el (package-maybe-load-descriptor):
1530         New function, split from package-maybe-load-descriptor.
1531         (package-maybe-load-descriptor): Use it.
1532         (package-download-transaction): Fully load required packages
1533         inside the loop, so that `require' calls work (Bug#10593).
1534         (package-install): No need to call package-initialize now.
1536 2012-01-28  Chong Yidong  <cyd@gnu.org>
1538         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1540         * tooltip.el (tooltip-mode): Doc fix.
1541         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1543         * frame.el (set-cursor-color): Doc fix (Bug#352).
1545         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1546         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1548         * cus-edit.el (custom-buffer-create-internal): Fix search button
1549         action (Bug#10542).
1550         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1552 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1554         * dired.el (dired-mark-files-regexp):
1555         Include any subdirectory components.  (Bug#10445)
1557 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1559         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1560         Handle [host]:port syntax.  (Bug#10533)
1562 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1564         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1566 2012-01-26  Glenn Morris  <rgm@gnu.org>
1568         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1569         * term.el (term-raw-escape-map): Use Control-X-prefix.
1570         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1572 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
1574         * window.el (window-state-get, window--state-get-1): Don't deal
1575         with fixed-sizeness of windows.  Simplify code.
1577 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
1579         * window.el (window--state-get-1, window--state-put-2):
1580         Don't save and restore the mark.
1582 2012-01-25  Chong Yidong  <cyd@gnu.org>
1584         * custom.el (custom-variable-p): Doc fix.
1586 2012-01-25  Glenn Morris  <rgm@gnu.org>
1588         * dired.el (dired-goto-file): Handle some of the more common
1589         characters that `ls -b' escapes.  (Bug#10596)
1591         * progmodes/compile.el (compilation-next-error-function):
1592         Respect compilation-first-column in the "*compilation*" buffer.
1593         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
1595         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
1597 2012-01-24  Glenn Morris  <rgm@gnu.org>
1599         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
1601 2012-01-24  Julien Danjou  <julien@danjou.info>
1603         * color.el (color-rgb-to-hsl): Fix value computing.
1604         (color-hue-to-rgb): New function.
1605         (color-hsl-to-rgb): New function.
1606         (color-clamp, color-saturate-hsl, color-saturate-name)
1607         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1608         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1610 2012-01-24  Glenn Morris  <rgm@gnu.org>
1612         * vc/vc-rcs.el (vc-rcs-create-tag):
1613         * vc/vc-sccs.el (vc-sccs-create-tag):
1614         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
1616 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1618         * eshell/esh-util.el (eshell-read-hosts-file):
1619         Skip comment lines.  (Bug#10549)
1621         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
1623 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
1625         * subr.el (display-delayed-warnings): Doc fix.
1626         (collapse-delayed-warnings): New function to collapse identical
1627         adjacent warnings.
1628         (delayed-warnings-hook): Add it.
1630 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
1632         * net/tramp.el (tramp-action-login): Set connection property "login-as".
1634         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1635         properties, when "login-as" is set.
1637         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1638         (tramp-default-user-alist): Don't add "pscp".
1639         (tramp-do-copy-or-rename-file-out-of-band): Use connection
1640         property "login-as", if set.  (Bug#10530)
1642 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
1644         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1645         "plink1" and "psftp".  (Bug#10530)
1647 2012-01-21  Kenichi Handa  <handa@m17n.org>
1649         * international/mule-cmds.el (prefer-coding-system): Show a
1650         warning message if the default value of file-name-coding-system
1651         was not changed.
1653 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1655         * windmove.el (windmove-reference-loc):
1656         Fix windmove-reference-loc miscalculation.
1658 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1660         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1661         default unit.
1663 2012-01-21  Glenn Morris  <rgm@gnu.org>
1665         * international/mule.el (auto-coding-alist): Add .tbz.
1667         * files.el (local-enable-local-variables): Doc fix.
1668         (inhibit-local-variables-regexps): Rename from
1669         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
1670         Doc fix.  Add some extensions from auto-coding-alist.
1671         (inhibit-local-variables-suffixes):
1672         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
1673         (inhibit-local-variables-p):
1674         New function, extracted from set-auto-mode-1.
1675         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
1676         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
1677         (hack-local-variables): Doc fix.  Make the mode-only case
1678         respect enable-local-variables and friends.
1679         Respect inhibit-local-variables-regexps for file-locals, but
1680         not for directory-locals.
1681         (set-visited-file-name):
1682         Take account of inhibit-local-variables-regexps.
1683         Whether it applies may change as the file name is changed.
1684         * jka-cmpr-hook.el (jka-compr-install):
1685         * jka-compr.el (jka-compr-uninstall):
1686         Update for inhibit-first-line-modes-suffixes name change.
1688 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
1690         * help-macro.el (make-help-screen): Temporarily restore original
1691         binding for minor-mode-map-alist (Bug#10454).
1693 2012-01-19  Julien Danjou  <julien@danjou.info>
1695         * color.el (color-name-to-rgb): Use the white color to find the max
1696         color component value and return correctly computed values.
1697         (color-name-to-rgb): Add missing float conversion for max value.
1699 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
1701         * window.el (window--state-get-1, window-state-get): Do not use
1702         special state value for window-persistent-parameters.
1703         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
1704         (window--state-put-2): Reset all window parameters to nil before
1705         assigning values of persistent parameters.
1707 2012-01-18  Alan Mackenzie  <acm@muc.de>
1709         Eliminate sluggishness and hangs in fontification of "semicolon
1710         deserts".
1712         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1713         Change value 10000 -> 3000.
1714         (c-state-safe-place): Reformulate so it doesn't stack up an
1715         infinite number of wrong entries in c-state-nonlit-pos-cache.
1716         (c-determine-limit-get-base, c-determine-limit): New functions to
1717         determine backward search limits disregarding literals.
1718         (c-find-decl-spots): Amend commenting.
1719         (c-cheap-inside-bracelist-p): New function which detects "={".
1721         * progmodes/cc-fonts.el
1722         (c-make-font-lock-BO-decl-search-function): Give a limit to a
1723         backward search.
1724         (c-font-lock-declarations): Fix an occurrence of point being
1725         undefined.  Check additionally for point being in a bracelist or
1726         near a macro invocation without a semicolon so as to avoid a
1727         fruitless time consuming search for a declarator.  Give a more
1728         precise search limit for declarators using the new
1729         c-determine-limit.
1731 2012-01-18  Glenn Morris  <rgm@gnu.org>
1733         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1734         (set-auto-mode): Doc fixes.
1736 2012-01-17  Glenn Morris  <rgm@gnu.org>
1738         * isearch.el (search-nonincremental-instead): Fix doc typo.
1740         * dired.el (dired-insert-directory): Handle newlines in directory name.
1741         (dired-build-subdir-alist): Unescape newlines in directory name.
1743 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
1745         * net/tramp.el (tramp-local-end-of-line): New defcustom.
1746         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1747         (tramp-action-terminal): Use it.  (Bug#10530)
1749 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1751         * minibuffer.el (completion--replace): Strip properties (bug#10062).
1753 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
1755         * window.el (window-state-ignored-parameters): Remove variable.
1756         (window--state-get-1): Rename argument MARKERS to IGNORE.
1757         Handle persistent window parameters.  Make copy of clone-of
1758         parameter only if requested.  (Bug#10348)
1759         (window--state-put-2): Install a window parameter only if it has
1760         a non-nil value or an existing parameter shall be overwritten.
1762 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
1764         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1766 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
1768         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1769         don't pass the (nil) value of `upnode' to string-match.
1771 2012-01-14  Chong Yidong  <cyd@gnu.org>
1773         * startup.el (command-line): Fix X resource class for cursorColor.
1774         Fix values recognized by the cursorBlink resource.
1776 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
1778         * epg.el (epg--make-temp-file): Avoid permission race condition
1779         when running on old Emacs versions (bug#10403).
1781 2012-01-14  Glenn Morris  <rgm@gnu.org>
1783         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1785 2012-01-13  Alan Mackenzie  <acm@muc.de>
1787         Fix filling for when filladapt mode is enabled.
1789         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1790         c-mask-paragraph, pass in `fill-paragraph' rather than
1791         `fill-region-as-paragraph'.  (This is a reversion of a previous
1792         change.)
1793         * progmodes/cc-mode.el (c-basic-common-init):
1794         Make fill-paragraph-handle-comment buffer local and set it to nil.
1796 2012-01-13  Glenn Morris  <rgm@gnu.org>
1798         * dired.el (dired-switches-escape-p): New function.
1799         (dired-insert-directory): Use dired-switches-escape-p.
1800         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
1802         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
1804 2012-01-12  Glenn Morris  <rgm@gnu.org>
1806         * mail/sendmail.el (mail-mode): Update paragraph-separate for
1807         changes in adaptive-fill-regexp.  (Bug#10276)
1809 2012-01-11  Alan Mackenzie  <acm@muc.de>
1811         Fix Emacs bug #10463 - put `widen's around the critical spots.
1813         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
1814         widen around each invocation of c-state-pp-to-literal.  Remove an
1815         unused let variable.
1817 2012-01-11  Glenn Morris  <rgm@gnu.org>
1819         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
1820         Doc fix.
1822 2012-01-10  Chong Yidong  <cyd@gnu.org>
1824         * net/network-stream.el (network-stream-open-starttls):
1825         Avoid emitting a confusing error message when the server gives a bad
1826         response to the capability command.
1828 2012-01-10  Glenn Morris  <rgm@gnu.org>
1830         * mail/unrmail.el (unrmail): Tweak previous change.
1832 2012-01-09  Chong Yidong  <cyd@gnu.org>
1834         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1836 2012-01-08  Alan Mackenzie  <acm@muc.de>
1838         Optimise font locking in long enum definitions.
1840         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1841         arm to a cond form to handle enums.
1842         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1843         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1845 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1847         * files.el (move-file-to-trash): Preserve default file modes on error.
1848         (Bug#10401)
1850 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1852         * faces.el (set-face-attribute): Clarify the meaning of the nil
1853         frame (bug#10294).
1855         * subr.el (with-selected-frame): Mention that the selected frame
1856         is restored (bug#9980).
1858         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1859         (bug#9759).
1861         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
1862         (password-read): Don't autoload unused function.
1864 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
1866         * progmodes/which-func.el (which-func-mode): Turn into a
1867         non-interactive function and mark as obsolete (bug#10428).
1869 2012-01-06  Chong Yidong  <cyd@gnu.org>
1871         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1872         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1873         functions, along with 1 and -1.
1875 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
1877         * time.el (display-time-load-average)
1878         (display-time-default-load-average): Doc fixes.  See the thread
1879         starting at
1880         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1881         for the details.
1883 2012-01-06  Glenn Morris  <rgm@gnu.org>
1885         * mail/unrmail.el (unrmail): Give an explicit error if the input file
1886         has no messages.  (Bug#10377)
1888         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1889         than Info-edit.  (Bug#10385)
1891         * time.el (display-time-load-average, display-time-next-load-average):
1892         Doc fixes.
1894         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1895         local setting of buffer-read-only to the input buffer.  (Bug#10419)
1897         * calendar/calendar.el (calendar-mode):
1898         Locally set scroll-margin to 0.  (Bug#10379)
1900 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
1902         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
1904 2012-01-05  Glenn Morris  <rgm@gnu.org>
1906         * eshell/em-unix.el (diff-no-select): Autoload it.
1907         (eshell/diff): Use diff-no-select.  (Bug#10420)
1909 2012-01-05  Chong Yidong  <cyd@gnu.org>
1911         * shell.el (shell-dynamic-complete-functions): Revert last change.
1912         (shell-command-completion-function): New function.
1913         (shell-completion-vars): Use it to implement
1914         shell-completion-execonly (Bug#10417).
1916         * custom.el (enable-theme): Don't set custom-safe-themes.
1918         * cus-theme.el (custom-theme-merge-theme):
1919         Ignore custom-enabled-themes and custom-safe-themes.
1921 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
1923         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1924         first prompt in `sql-interacive-mode'.
1925         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
1926         keywords.
1927         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
1928         (sql-product-interactive): Bug fix: Set `sql-buffer' in
1929         context of original buffer.  Invoke `sql-login-hook'.
1931 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
1933         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1934         letters in cite-prefix.
1936 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1938         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1940 2012-01-03  Chong Yidong  <cyd@gnu.org>
1942         * shell.el (shell-dynamic-complete-functions):
1943         Put pcomplete-completions-at-point, so as to try
1944         comint-filename-completion first (Bug#10417).
1946 2012-01-02  Richard Stallman  <rms@gnu.org>
1948         * battery.el (battery-status-function):
1949         Detect when to use battery-yeeloong-sysfs.
1950         (battery-echo-area-format): Add string for Yeeloong.
1951         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1952         (battery-yeeloong-sysfs): New function.
1954 2012-01-02  Chong Yidong  <cyd@gnu.org>
1956         * dirtrack.el (dirtrack-list): Eliminate unused third element.
1957         (dirtrack): Merge code for handling relative filenames in prompt
1958         from shell-dir-cookie-watcher.
1959         (dirtrack-debug-message): New arg to avoid excess format calls.
1961         * shell.el (shell-dir-cookie-re): Variable deleted.
1962         (shell-dir-cookie-watcher): Function deleted.
1963         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1964         with dirtrack-mode.
1966 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
1968         * term/w32-win.el (dynamic-library-alist) <gnutls>:
1969         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
1970         libgnutls-26.dll.
1972 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
1974         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1976 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
1978         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1979         headers of non-MIME messages, when rmail-enable-mime is non-nil.
1981 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
1983         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1984         also for alternative shells.
1985         (tramp-open-connection-setup-interactive-shell): Check, whether
1986         the shell is a busybox.
1987         (tramp-send-command): Don't suppress multiple prompts for
1988         busyboxes, it hurts.
1990 2011-12-28  Chong Yidong  <cyd@gnu.org>
1992         * progmodes/gdb-mi.el (gdb-get-source-file-list)
1993         (gdb-get-source-file): Move mode line update to
1994         gdb-get-source-file (Bug#10087).
1996 2011-12-25  Chong Yidong  <cyd@gnu.org>
1998         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1999         gud-gdb-marker-filter without taking it as an argument.
2000         (gud-gdb-run-command-fetch-lines): Caller changed.
2001         (gud-gdb-completion-function): New variable.
2002         (gud-gdb-completion-at-point): Use it.
2003         (gud-gdb-completions-1): Split from gud-gdb-completions.
2005         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2006         function as separate arguments.
2007         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2008         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2009         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2010         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2011         (gdb-stopped, def-gdb-auto-update-trigger)
2012         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2013         (gdb-get-changed-registers, gdb-get-main-selected-frame):
2014         Callers changed.
2015         (gud-gdbmi-completions): New function.
2016         (gdb): Use it for generating the completion table.
2018 2011-12-24  Alan Mackenzie  <acm@muc.de>
2020         Introduce a mechanism to widen the region used in context font
2021         locking.  Use this to protect declarations from losing their contexts.
2023         * progmodes/cc-langs.el (c-before-font-lock-functions):
2024         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2025         (c-before-context-fontification-functions): New defvar, a list of
2026         functions to be run just before context (etc.) font locking.
2028         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2029         New, functionality extracted from
2030         c-neutralize-syntax-in-and-mark-CPP.
2031         (c-in-after-change-fontification): New variable.
2032         (c-after-change): Set c-in-after-change-fontification.
2033         (c-set-fl-decl-start): Rejig its interface, so it can be called
2034         from both after-change and context fontifying.
2035         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2036         New functions.
2037         (c-standard-font-lock-fontify-region-function): New variable.
2038         (c-font-lock-fontify-region): New function.
2040 2011-12-24  Juri Linkov  <juri@jurta.org>
2042         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2043         (Bug#10348)
2045 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
2047         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2048         existence of source file.  (Bug#10325)
2050 2011-12-23  Alan Mackenzie  <acm@muc.de>
2052         Fix unstable fontification inside templates.
2054         * progmodes/cc-langs.el (c-before-font-lock-functions):
2055         Newly created from the singular version.  The (c c++ objc) entry now
2056         additionally has c-set-fl-decl-start.  The other languages (apart
2057         from AWK) have that as a single entry.
2059         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2060         The functionality for "local" declarations has been extracted to
2061         c-set-fl-decl-start.
2063         * progmodes/cc-mode.el (c-common-init, c-after-change):
2064         Changes due to pluralisation of c-before-font-lock-functions.
2065         (c-set-fl-decl-start): New function, extracted from
2066         c-font-lock-enclosing-decls and enhanced.
2068 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
2070         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2072 2011-12-22  Juri Linkov  <juri@jurta.org>
2074         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
2076 2011-12-22  Chong Yidong  <cyd@gnu.org>
2078         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2080 2011-12-21  Drew Adams  <drew.adams@oracle.com>
2082         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
2084 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2086         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2088 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
2090         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
2091         highlighting and support.  Fix up comments for capitalization.
2092         (cfengine-mode-debug): New var.
2093         (cfengine3-mode): Change the modeline indicator to "CFE3".
2094         (cfengine3-font-lock-keywords): Improve defun highlighting.
2095         (cfengine2-actions): Rename from `cfengine-actions'.
2096         (cfengine2-font-lock-keywords): Rename from
2097         `cfengine-font-lock-keywords'.
2098         (cfengine2-imenu-expression): Rename from
2099         `cfengine-imenu-expression'.
2100         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2101         (cfengine2-beginning-of-defun): Rename from
2102         `cfengine-beginning-of-defun'.
2103         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2104         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2105         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
2106         modeline indicator to "CFE2".
2107         (cfengine-mode): Defalias to `cfengine-auto-mode'.
2108         (cfengine-mode-abbrevs): Mark obsolete.
2110 2011-12-21  Chong Yidong  <cyd@gnu.org>
2112         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2113         filename argument.
2115 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
2117         * window.el (window-normalize-buffer-to-display): Remove.
2118         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2120 2011-12-19  Chong Yidong  <cyd@gnu.org>
2122         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2123         Don't signal an error in a predicate function; return non-nil.
2124         (vc-dir-mark-file): Move the error here.
2125         (vc-dir-mark-unmark): If acting on the region, keep going if one
2126         of the entries cannot be marked/unmarked.
2127         (vc-dir-mark-all-files): If current entry is a directory, mark
2128         only child files, as documented.
2130 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2132         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2133         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2134         addition.
2136 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
2138         * term/ns-win.el (ns-get-selection-internal)
2139         (ns-store-selection-internal): Declare.
2140         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2141         Declare as obsolete.
2142         (ns-get-pasteboard, ns-paste-secondary):
2143         Use ns-get-selection-internal.
2144         (ns-set-pasteboard,  ns-copy-including-secondary):
2145         Use ns-store-selection-internal.
2147 2011-12-17  Chong Yidong  <cyd@gnu.org>
2149         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2150         (vc-deduce-fileset): Doc fix.
2152 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
2154         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2156 2011-12-13  Sam Steingold  <sds@gnu.org>
2158         * man.el (Man-getpage-in-background): When running under a
2159         window-system, ignore $MANWIDTH and $COLUMNS.
2161 2011-12-15  Kenichi Handa  <handa@m17n.org>
2163         * language/ethio-util.el: Change coding tag to utf-8-emacs.
2164         (setup-ethiopic-environment-internal): Comment out key-binding for
2165         ethio-toggle-punctuation.
2167 2011-12-13  Alan Mackenzie  <acm@muc.de>
2169         Add the switch statement to AWK Mode.
2171         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2172         "default" to the keywords regexp.
2174         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2175         expression as the rest.
2176         (c-nonlabel-token-key): Allow string literals for AWK.
2177         Refactor for the other modes.
2179         Large brace-block initialisation makes CC Mode slow: Fix.
2180         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2181         routines.  Limit backward searching in c-font-lock-enclosing.decl.
2183         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2184         pp-state and literal type in addition to the limits.
2185         (c-state-safe-place): New defun, extracted from c-state-literal-at.
2186         (c-state-literal-at): Use the above new defun.
2187         (c-slow-in-literal, c-fast-in-literal): Remove.
2188         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2190         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2191         being in a literal.  Add a limit for backward searching.
2193         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2194         c-slow-in-literal.
2196 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2198         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2200 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
2202         * window.el (delete-other-windows): Use correct frame in call to
2203         window-with-parameter.
2205 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
2207         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2208         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2209         (makefile-gmake-statements, makefile-makepp-statements):
2210         Use it and add new makepp keywords.
2211         (makefile-makepp-font-lock-keywords): Add new patterns.
2212         (makefile-match-function-end): Match new [...] and [[...]].
2214 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
2216         * ses.el (ses-call-printer-return, ses-cell-property-get)
2217         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2218         (ses-create-cell-variable, ses-reset-header-string)
2219         (ses-cell-set-formula, ses-repair-cell-reference-all)
2220         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2221         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2222         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2223         (ses-aset-with-undo, ses-load, ses-truncate-cell)
2224         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2225         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2226         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2227         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2228         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2229         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2230         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2231         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2233 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2235         * ses.el: The overall change is to add cell renaming, that is
2236         setting fancy names for cell symbols other than name matching
2237         "\\`[A-Z]+[0-9]+\\'" regexp .
2238         (ses-create-cell-variable): New defun.
2239         (ses-relocate-formula): Relocate formulas only for cells the
2240         symbols of which are not renamed, i.e. symbols whose names do not
2241         match regexp "\\`[A-Z]+[0-9]+\\'".
2242         (ses-relocate-all): Relocate values only for cells the symbols of
2243         which are not renamed.
2244         (ses-load): Create cells variables as the (ses-cell ...) are read,
2245         in order to check row col consistency with cell symbol name only
2246         for cells that are not renamed.
2247         (ses-replace-name-in-formula): New defun.
2248         (ses-rename-cell): New defun.
2250 2011-12-11  Chong Yidong  <cyd@gnu.org>
2252         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2253         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2255 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
2257         * window.el (other-window): Fix docstring.
2259 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2261         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2262         `from' or `to' address before taking its substring.
2263         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2264         encoded name is chopped in the middle of the encoded string, and
2265         thus displayed encoded.
2267 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
2269         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2271 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2273         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
2274         to use texinfo-update-node and commands that call it if the
2275         Texinfo file uses @node lines without next/prev/up pointers.
2276         Correct outdated description about texinfo-master-menu.
2277         (texinfo-all-menus-update, texinfo-master-menu)
2278         (texinfo-update-node, texinfo-every-node-update)
2279         (texinfo-multiple-files-update): Doc fix.  Warn against updating
2280         all the @node lines.
2281         (texinfo-master-menu): Only call texinfo-update-node if the prefix
2282         argument is numeric.  Explain better in the doc string what the
2283         function really does.
2284         (texinfo-insert-master-menu-list): Improve the error message
2285         displayed if there's no menu in the Top node.
2286         (Bug#2975)  See also this thread:
2287         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2289 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
2291         * speedbar.el (speedbar-supported-extension-expressions):
2292         Add .adb and .ads, commonly used for Ada source code (bug#10256).
2294 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
2296         * printing.el (pr-mode-alist):
2297         * simple.el (filter-buffer-substring-functions)
2298         (completion-list-insert-choice-function):
2299         * window.el (window-with-parameter, window-atom-root)
2300         (window-sides-slots, window-size-fixed, window-min-delta)
2301         (window-max-delta, window--resize-mini-window)
2302         (window--resize-child-windows-normal, window-tree)
2303         (delete-other-windows, quit-window, split-window)
2304         (display-buffer-record-window, special-display-buffer-names)
2305         (special-display-regexps, special-display-popup-frame)
2306         (same-window-p, split-window-sensibly)
2307         (display-buffer-overriding-action, display-buffer-alist)
2308         (display-buffer-base-action, display-buffer, switch-to-buffer)
2309         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2310         (fit-window-to-buffer, recenter-positions)
2311         (mouse-autoselect-window-state, mouse-autoselect-window-select):
2312         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2313         and remove unneeded backslashes in docstrings.
2315 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2317         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2319         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2320         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2321         end in ".mk".
2322         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2323         when reading the makefile (bug#10116).
2325 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2327         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2328         (bug#10116).
2330 2011-12-06  Glenn Morris  <rgm@gnu.org>
2332         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2334 2011-12-06  Chong Yidong  <cyd@gnu.org>
2336         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2338 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2340         * textmodes/table.el (table-shorten-cell): Fix typo.
2342 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2344         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2346 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2348         * descr-text.el (describe-char): Fix display of strong
2349         right-to-left characters and directional embeddings and overrides.
2351         * simple.el (what-cursor-position): Fix display of codepoints of
2352         strong right-to-left characters.
2354 2011-12-05  Chong Yidong  <cyd@gnu.org>
2356         * faces.el (read-color): Doc fix.
2358 2011-12-05  Glenn Morris  <rgm@gnu.org>
2360         * align.el (align--set-marker): Add doc-string.
2361         Don't try to move something that is not a marker.  (Bug#10216)
2363 2011-12-04  Glenn Morris  <rgm@gnu.org>
2365         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2366         overly zealous deletion of trailing whitespace.
2368 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2370         * server.el (server-delete-client): On Windows, do not try to delete
2371         the only terminal.
2372         (server-process-filter): On Windows, treat requests for a tty frame as
2373         if they were for a GUI frame if the running server is in GUI mode.
2375 2011-12-03  Glenn Morris  <rgm@gnu.org>
2377         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2379 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2381         * electric.el: Streamline electric-indent's hook.
2382         (electric-indent-chars): Revert to simple list.
2383         (electric-indent-functions): New var.
2384         (electric-indent-post-self-insert-function): Use it.
2386         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2387         there's no inferior buffer (bug#10196).
2388         (prolog-consult-compile): Don't use toggle-read-only.
2390 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2392         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2393         interrupt.  (Bug#10187)
2395 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2397         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2398         (bug#9160).
2400         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2401         (bug#10191).
2403 2011-12-02  Juri Linkov  <juri@jurta.org>
2405         * info.el (Info-search): Display "end of manual" when Isearch
2406         reaches the end of single-file Info manual.  (Bug#9918)
2408 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2410         * isearch.el (isearch-message-prefix): Run the input method part
2411         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2413 2011-12-02  Juri Linkov  <juri@jurta.org>
2415         * isearch.el (isearch-occur): Use `word-search-regexp' for
2416         `isearch-word'.
2417         (isearch-search-and-update): Add condition for `isearch-word' and
2418         call `word-search-regexp'.  (Bug#10145)
2420 2011-12-01  Glenn Morris  <rgm@gnu.org>
2422         * eshell/em-hist.el (eshell-hist-initialize):
2423         Handle eshell-history-size nil and HISTSIZE set or unset.
2424         (eshell-history-file-name, eshell-history-size): Fix custom type.
2426 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2428         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2430 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2432         * progmodes/verilog-mode.el (verilog-pretty-expr):
2433         Rework verilog-pretty-expr to handle new assignment operators in system
2434         verilog, such as += *= and the like.
2435         (verilog-assignment-operator-re): Regular expression to find the
2436         assigment operator in a verilog assignment.
2437         (verilog-assignment-operation-re): Regular expression to find an
2438         assignment statement for pretty-expr.
2439         (verilog-in-attribute-p): Query returns true if point is in an
2440         attribute context; used to skip these for expression line up from
2441         pretty-expr.
2442         (verilog-in-parameter-p): Query returns true if point is in an
2443         parameter definition context; used to skip these for expression
2444         line up from pretty-expr.
2445         (verilog-in-parenthesis-p): Query returns true if point is in a
2446         parenthetical expression, specifically ( ) but not [ ] or { };
2447         used by pretty-expr.
2448         (verilog-just-one-space): If there is no space, don't add one.
2449         (verilog-get-lineup-indent-2): Specifically skip just attribute
2450         contexts for expression lineup, rather than skipping all
2451         parenthetical expressions.
2452         (verilog-calculate-indent): Fix comment, and fix indent.
2453         (verilog-do-indent): Indent declarations in lists (suggested by
2454         Joachim Lechner).
2455         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2456         skeleton items.
2457         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2458         by Alain Mellan).
2460 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2462         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2463         parameters with embedded comments.  Reported by Ray Stevens.
2464         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2465         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2466         Reported by Tim Holt.
2467         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2468         instantiated by upper module causing wrong expansion until AUTOed a
2469         second time.  Reported by K C Buckenmaier.
2470         (verilog-diff-auto): Fix showing .* as a difference when
2471         `verilog-auto-star-save' off.  Reported by Dan Dever.
2472         (verilog-auto-reset, verilog-read-always-signals)
2473         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2474         temporary signals in reset list if
2475         verilog-auto-reset-blocking-in-non is nil, and match assignment
2476         style to each signal's assignment type, bug381.
2477         Reported by Thomas Esposito.
2478         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2479         (verilog-uvm-statement-re): Support UVM indentation and
2480         highlighting, with old OVM keywords only.
2481         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2482         Support AUTOTIEOFF creating non-wire data types.
2483         Suggested by Jonathan Greenlaw.
2484         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2485         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2486         (verilog-inject-sense, verilog-read-inst-pins)
2487         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2488         Fix mismatching parenthesis inside commented out code when deleting
2489         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2490         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2491         non-numeric vector width.  Reported by Alex Reed.
2492         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2493         detecting signals with parameter widths.  Reported by Alex Reed.
2494         (verilog-auto-delete-trailing-whitespace):
2495         With `verilog-auto-delete-trailing-whitespace' remove trailing
2496         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2497         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2498         Fix verilog-scan-cache corruption when running user AUTO expansion
2499         hooks that call indentation routines.
2500         (verilog-simplify-range-expression): Fix typo ignoring lower case
2501         identifiers.
2502         (verilog-delete-auto): Fix delete-autos to also remove user created
2503         automatics, as long as they start with AUTO.
2504         (verilog-batch-diff-auto, verilog-diff-auto)
2505         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2506         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2507         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2508         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2509         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2510         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2511         is disabled and its cache will get corrupt, causing AUTOS not to
2512         expand.  Instead use only -quick functions.
2513         (verilog-scan-region): Fix scanning over escaped quotes.
2514         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2515         (verilog-re-search-backward-quick)
2516         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2517         related functions now ignore strings, to fix misparsing of strings
2518         with magic comments embedded in them.
2519         (verilog-read-auto-template):
2520         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2521         Reported by Brad Dobbie.
2522         (verilog-read-auto-template):
2523         Fix 'verilog-auto-inst-template-numbers' with comments.
2524         Reported by Brad Dobbie.
2525         (verilog-auto-inst, verilog-auto-inst-param)
2526         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2527         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2528         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2529         debugging templates without merge conflicts, bug357.
2530         Reported by Brad Dobbie.
2531         (verilog-read-auto-template):
2532         Fix verilog-auto-inst-template-numbers with multiple templates.
2533         Reported by Brad Dobbie.
2534         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2535         abbrevs so user won't be asked to save.
2536         (verilog-read-auto-lisp-present): Fix to start at beginning of
2537         buffer in case called outside of verilog-auto.
2538         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2539         to "X-2".  Reported by Matthew Myers.
2540         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2541         all inputs from module templates.  Reported by Leith Johnson.
2542         (verilog-module-inside-filename-p): Fix locating programs as with
2543         modules.
2544         (verilog-auto-inst-port): Fix vl-width expressions when using
2545         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2546         (verilog-decls-get-regs, verilog-decls-get-signals,
2547         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2548         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2549         verilog-read-decls): Combine reg and wire structures into one var
2550         structure to represent SystemVerilog concepts.
2551         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2552         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2553         (verilog-auto-wire-type, verilog-insert-definition):
2554         Add verilog-auto-wire-type and AUTOLOGIC to support using
2555         SystemVerilog "logic" keyword instead of "wire"/"reg".
2556         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2557         to declares outputs that also have assignments (presumably in an
2558         ifdef or generate if so there's not a driver conflict).
2559         Reported by Matthew Myers.
2560         (verilog-auto-declare-nettype, verilog-insert-definition):
2561         Add verilog-auto-declare-nettype to fix declarations using
2562         `default_nettype none.  Reported by Julian Gorfajn.
2563         (verilog-read-always-signals-recurse, verilog-read-decls)
2564         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2565         malformed end statement, bug325.  Reported by Joshua Wise and
2566         Andrew Drake.
2567         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2568         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2569         when expanding .* in interfaces, bug320.
2570         Reported by Pierre-David Pfister.
2571         (verilog-read-module-name): Fix import statements between module
2572         name and open parenthesis, bug317.
2573         Reported by Pierre-David Pfister.
2574         (verilog-simplify-range-expression): Fix simplification of
2575         multiplications inside AUTOWIRE connections, bug303.
2576         (verilog-auto-inst-port): Support parameter expansion in
2577         multidimensional arrays.
2578         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2579         after "assert property".  Reported by Julian Gorfajn.
2580         (verilog-simplify-range-expression): Fix "couldn't merge" errors
2581         with multiplication, bug303.
2582         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2583         Reported by Jan Frode Lonnum.
2585 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
2587         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2588         (hfy-shell-file-name, hfy-shell):
2589         * international/fontset.el (x-decompose-font-name): Fix typos.
2591 2011-11-29  Ken Brown  <kbrown@cornell.edu>
2593         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2594         (gdb-version): Remove defvar.
2595         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2596         (gdb-gud-context-command, gdb-non-stop-handler)
2597         (gdb-current-context-command, gdb-stopped): Use it.
2598         (gdb-init-1): Enable pretty printing here.
2599         (gdb-non-stop-handler): Don't enable pretty-printing here.
2600         Check to see if the target supports non-stop mode; if not, turn off
2601         non-stop mode.  Use the following.
2602         (gdb-check-target-async): New defun.
2603         (gud-watch, gdb-stopped): Fix whitespace.
2604         (gdb-get-source-file): Don't try to display the source file if
2605         `gdb-main-file' is nil.
2607 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2609         * align.el: Try to generate fewer markers (bug#10047).
2610         (align--set-marker): New macro.
2611         (align-region): Use it.
2613 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2615         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2617 2011-11-29  Chong Yidong  <cyd@gnu.org>
2619         * indent.el (indent-for-tab-command, indent-according-to-mode):
2620         Doc fix.
2621         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
2623 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
2625         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2626         aware of remote file names.  (Bug#10124)
2628 2011-11-29  Chong Yidong  <cyd@gnu.org>
2630         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2632 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2634         * files.el (find-file): Don't use force-same-window (bug#10144).
2635         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2636         use pop-to-buffer if the selected window can't be used.
2637         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2639 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
2641         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2642         special-mode-map.
2644 2011-11-28  Chong Yidong  <cyd@gnu.org>
2646         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2648 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
2650         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2651           gdb-get-source-file-list on gdb-create-source-file-list.
2653 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
2655         * whitespace.el (whitespace-newline): Use a different foreground
2656         color for 16-color light-background displays.
2658 2011-11-24  Chong Yidong  <cyd@gnu.org>
2660         * window.el (display-buffer--special-action): Doc fix.
2662 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
2664         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2665         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2666         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2667         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2668         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2669         (avl-tree-stack-first):
2670         * emacs-lisp/cconv.el (cconv--analyse-use):
2671         * net/gnutls.el (gnutls-negotiate): Fix typos.
2673 2011-11-24  Glenn Morris  <rgm@gnu.org>
2675         * lpr.el (lpr-windows-system, lpr-lp-system):
2676         * mail/binhex.el (binhex-begin-line):
2677         * progmodes/grep.el (grep-history, grep-find-history):
2678         * textmodes/flyspell.el:
2679         * vc/pcvs-defs.el (cvs-global-menu):
2680         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2681         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2682         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2684         * net/tls.el: Fix case of "GnuTLS".
2686         * paths.el (rmail-file-name): Format doc-string for make-docfile.
2688         * version.el (emacs-build-system): Give it a doc-string.
2690 2011-11-24  Juri Linkov  <juri@jurta.org>
2692         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2694 2011-11-24  Glenn Morris  <rgm@gnu.org>
2696         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2697         if called on a non-mime message just toggle the headers.  (Bug#8006)
2699 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
2701         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2702         (allout-lead-with-comment-string, allout-structure-deleted-hook)
2703         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2704         (allout-rebullet-heading, allout-open-sibtopic)
2705         (allout-toggle-current-subtree-encryption)
2706         (allout-toggle-subtree-encryption, allout-encrypt-string)
2707         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2708         (allout-distinctive-bullets-string, allout-auto-activation):
2709         * window.el (window-normalize-buffer-to-display):
2710         * progmodes/verilog-mode.el (verilog-batch-indent):
2711         * textmodes/bibtex.el (bibtex-field-braces-opt)
2712         (bibtex-field-strings-opt):
2713         * vc/cvs-status.el (cvs-tree-merge):
2714         Fix typos.
2716 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
2718         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2719         `non-essential' to t, in order to avoid remote connections.
2721 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
2723         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2724         On MS-DOS and MS-Windows, compare with loaddefs.el
2725         case-insensitively.
2727 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2729         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
2731 2011-11-23  Glenn Morris  <rgm@gnu.org>
2733         * paths.el (rmail-file-name): Reformat the doc-string so that it
2734         is picked up.
2736         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2737         (rmail-auto-file): Ignore case in the "special" field names,
2738         as mail-fetch-field does for all others.
2740         * mail/rmail.el (rmail-forward):
2741         * mail/rmailkwd.el (rmail-set-label):
2742         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2743         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
2745         * mail/rmail.el (rmail-current-message): Doc fix.
2747         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
2749 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2751         * server.el (server-eval-and-print): Allow C-g (bug#6585).
2753 2011-11-22  Glenn Morris  <rgm@gnu.org>
2755         * mail/rmailmm.el (test-rmail-mime-handler)
2756         (test-rmail-mime-bulk-handler)
2757         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2759 2011-11-21  Juri Linkov  <juri@jurta.org>
2761         * calc/calc.el (calc-read-key-sequence):
2762         Let-bind `input-method-function' to nil.  (Bug#10018)
2764 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2766         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2767         Tell the caller that the next line needs recomputation, even
2768         though it doesn't start a sexp (bug#10094).
2770 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2772         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2774 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2776         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2777         Use force-same-window.
2779 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2781         * descr-text.el (describe-char-unicode-data):
2782         * json.el (json-string-escape):
2783         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2784         (Footnote-unicode, Footnote-style-p):
2785         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2787 2011-11-20  Chong Yidong  <cyd@gnu.org>
2789         * window.el (replace-buffer-in-windows): Restore interactive spec.
2791 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2793         * electric.el (electric-indent-mode): Fix last change (too optimistic).
2795         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2796         (byte-compile-global-not-obsolete-vars): New var.
2797         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2798         Use it.
2799         (byte-compile-warn-obsolete): Align text with the one in *Help*.
2801 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
2803         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2804         * progmodes/pascal.el (electric-pascal-equal):
2805         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2806         * xml.el (xml-substitute-special): Fix typos.
2808 2011-11-20  Glenn Morris  <rgm@gnu.org>
2810         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2811         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2812         Doc fixes.
2813         (rmail-decode-mime-charset): Mark as obsolete.
2815         * mail/rmailsum.el (rmail-message-regexp-p-1):
2816         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2817         Before using mime functions, check they are set.  (Bug#10077)
2819 2011-11-19  Juri Linkov  <juri@jurta.org>
2821         * info.el (Info-finder-find-node): Use `package--builtins' instead
2822         of `package-alist'.  Use node names formed by the pattern "Keyword "
2823         and the keyword name.
2825 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2827         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
2829 2011-11-19  Juri Linkov  <juri@jurta.org>
2831         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2832         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
2833         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2834         `old-history', `old-history-forward'.  Add let-binding
2835         `window-selected'.  Remove calls to `kill-buffer',
2836         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
2837         before calling `Info-find-node', so `Info-find-node-2' will reread
2838         the Info file.  Restore window positions only when `window-selected'
2839         is non-nil.
2841 2011-11-19  Juri Linkov  <juri@jurta.org>
2843         * isearch.el (isearch-lazy-highlight-new-loop):
2844         Remove condition `(not isearch-error)'.  (Bug#9918)
2846         * misearch.el (multi-isearch-search-fun): Add condition
2847         `(not bound)' to ignore lazy-highlighting search.
2848         Add the search-failed message "end of multi" when the end of
2849         multi-sequence is reached.  Uncapitalize the search-failed
2850         message "Repeat for next buffer".
2852         * info.el (Info-search): Add the search-failed message
2853         "end of the manual" when the end of the manual is reached
2854         in Isearch mode.
2856 2011-11-19  Juri Linkov  <juri@jurta.org>
2858         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2859         Use non-destructive `remove' instead of `delete' because
2860         `Info-history-list' stored to `Info-isearch-initial-history-list' in
2861         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2863 2011-11-19  Juri Linkov  <juri@jurta.org>
2865         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2866         to nil instead of binding `search-ring' and `regexp-search-ring'.
2867         (Bug#9185)
2869 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2871         * simple.el (line-move): Force movement by logical lines for any
2872         hscrolled window, not only when auto-hscroll-mode is on.
2873         (line-move-visual): Update doc string to that effect.  (Bug#10076)
2875 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
2877         * language/european.el (macintosh): Define as alias for mac-roman.
2879 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
2881         * mail/rmailmm.el (rmail-mime-display-header)
2882         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2883         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2884         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2885         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2886         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2887         of a raw aref.
2888         (rmail-mime-entity-segment): To get past the tagline, move forward
2889         2 more lines, to account for the 2 empty lines that precede and
2890         follow the line with the buttons.
2891         (rmail-mime-update-tagline): Move one more line, to get past the
2892         empty line that follows the buttons in the tagline.  (Bug#9520)
2894 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
2896         * window.el (window-max-delta-1, window-min-delta-1)
2897         (window-min-size-1, window-state-get-1, window-state-put-1)
2898         (window-state-put-2): Use "window--" prefix.
2900 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2902         * emacs-lisp/smie.el: Improve warnings and conflict detection.
2903         (smie-warning-count): New var.
2904         (smie-set-prec2tab): Use it.
2905         (smie-bnf->prec2): Improve warnings.  Add docstring.
2906         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2907         (smie-bnf--set-class): New function.
2908         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
2909         corner case.
2911         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2912         (compilation-error-properties, compilation-move-to-column):
2913         Handle compilation-first-column while in the target buffer.
2915         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2916         Don't hardcode point-min==1.
2918         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2919         (eshell-rewrite-for-command): Remove workaround.
2920         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2921         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2922         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2924         * files-x.el (modify-file-local-variable): Obey commenting conventions.
2926 2011-11-17  Glenn Morris  <rgm@gnu.org>
2928         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2929         Ignore buffer-local generated-autoload-file if it is the same
2930         as the global value.  (Bug#10049)
2932 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
2934         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2935         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2936         (reftex-toc-previous-heading, reftex-toc-max-level)
2937         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2938         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2939         (reftex-toc-do-promote, reftex-toc-promote-prepare)
2940         (reftex-toc-promote-action, reftex-toc-extract-section-number)
2941         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2942         (reftex-toc-rename-label, reftex-toc-visit-location)
2943         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2944         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2945         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2946         leaving "*toc*" only for references to the buffer.
2948 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
2950         * window.el (window-resize, delete-window, split-window):
2951         Replace window-splits by window-combination-resize.
2952         * cus-start.el (window-splits): Replace by window-combination-resize.
2954 2011-11-17  Glenn Morris  <rgm@gnu.org>
2956         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2957         Make bash entry derive from sh entry, not shell entry.
2959 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
2961         * net/tramp-cache.el (tramp-flush-file-property): Flush also
2962         properties of linked files.  (Bug#9879)
2964         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2965         local file name.
2967 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
2969         * menu-bar.el (menu-bar-file-menu):
2970         * printing.el (pr-ps-utility):
2971         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2972         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2973         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2974         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2975         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2976         (icalendar--convert-cyclic-to-ical)
2977         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2978         (icalendar--convert-ical-to-diary)
2979         (icalendar--convert-recurring-to-diary)
2980         (icalendar--convert-non-recurring-all-day-to-diary)
2981         (icalendar-import-format-sample):
2982         * progmodes/idlw-shell.el (idlwave-shell-mode):
2983         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2984         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2985         (vhdl-ps-print-init): Fix typos.
2987 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
2989         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2990         FSF and collapse date sequence, obscure author/maintainer email address
2991         better, remove extra version line, track relocation of author's webpage.
2993         * progmodes/python.el (python-pdbtrack-input-prompt)
2994         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2995         regular python pdb prompts.  Adjustments shamelessly taken exactly as
2996         suggested in EmacsWiki page (tiny change):
2997         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
2999 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3001         * expand.el (expand-pos, expand-index, expand-point):
3002         Remove redundant info from docstring.
3003         (expand-add-abbrevs): Doc fix.
3004         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3005         (expand-sample-perl-mode-expand-list): Fix typos.
3007         * net/dbus.el (dbus-event-member-name):
3008         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3009         * term/pc-win.el (msdos-create-frame-with-faces):
3010         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3012 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
3014         * window.el (split-window, window-state-get-1)
3015         (window-state-put-1, window-state-put-2): Rename occurrences of
3016         window-nest to window-combination-limit.
3017         * cus-start.el (window-nest): Rename to window-combination-limit.
3019 2011-11-16  Chong Yidong  <cyd@gnu.org>
3021         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3022         regexp (Bug#10033).
3024 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3026         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3027         `completing-read' will remove *Completions* and will preserve
3028         current-buffer for us.
3029         (tmm-add-prompt): Users of *Completions* will always (re)set its
3030         major mode.
3031         (tmm-old-comp-map): Remove.
3033 2011-11-16  Glenn Morris  <rgm@gnu.org>
3035         * mail/rmailedit.el: Require rmailmm when compiling.
3036         (rmail-old-mime-state): New declaration.
3037         (rmail-edit-current-message): If editing a mime message,
3038         edit the "raw" message from the mbox buffer.
3039         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
3041 2011-11-15  Glenn Morris  <rgm@gnu.org>
3043         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3044         which wasn't being used.  Add optional arg to force given state.
3045         (rmail-mime): Add optional arg to force given state.
3047 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3049         * allout.el (allout-encryption-plaintext-sanitization-regexps):
3050         * frame.el (display-mm-dimensions-alist):
3051         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3052         (outline-move-subtree-down):
3053         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3054         (newsticker--treeview-do-get-node):
3055         * net/quickurl.el (quickurl-list-buffer-name):
3056         * progmodes/dcl-mode.el (dcl-mode):
3057         * progmodes/gdb-mi.el (gdb-mapcar*):
3058         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3060 2011-11-15  Glenn Morris  <rgm@gnu.org>
3062         * mail/rmail.el (rmail-file-coding-system): It's only ever used
3063         in a boolean sense, so just make it a boolean, and fix the doc.
3064         (rmail-show-mime-function, rmail-mime-feature)
3065         (rmail-require-mime-maybe): Doc fixes.
3066         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3068         * mail/rmailmm.el (rmail-show-mime): Doc fix.
3070 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3072         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3073         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3074         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3075         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3077 2011-11-15  Glenn Morris  <rgm@gnu.org>
3079         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3080         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3081         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3082         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3083         (rmail-mime, rmail-show-mime): Doc fixes.
3085         * term/ns-win.el (mode-line-frame-identification):
3086         Leave it alone.  (Bug#10051)
3088         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
3090         * mail/rmailout.el (rmail-output-to-rmail-buffer):
3091         Handle empty buffers.  (Bug#9978)
3093 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
3095         * international/mule.el (define-charset):
3096         * mail/rmailmm.el (rmail-mime-find-header-encoding):
3097         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3098         * progmodes/verilog-mode.el (verilog-backward-token):
3099         * textmodes/ispell.el (lookup-words):
3100         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3102 2011-11-14  Glenn Morris  <rgm@gnu.org>
3104         * progmodes/executable.el
3105         (executable-make-buffer-file-executable-if-script-p):
3106         Handle file-modes returning nil.
3108         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3109         message - not necessary, and causes problems.  (Bug#9831)
3111         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3113         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3115         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3116         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
3117         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3119 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
3121         * window.el (window-resize, delete-window): Use window-splits
3122         variable instead of function.
3123         (window-state-get-1, window-state-put-2, window-state-put):
3124         Don't deal with windows' splits status.
3126 2011-11-12  Glenn Morris  <rgm@gnu.org>
3128         * apropos.el (apropos-do-all, apropos-library, apropos-value)
3129         (apropos-documentation): Doc fixes.
3131 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
3133         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3134         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3136 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3138         * electric.el (electric-indent-post-self-insert-function): Make it
3139         possible for a char to only indent in some circumstances.
3140         (electric-indent-mode): Simplify.
3142 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
3144         * window.el (windows-with-parameter): Remove unused function.
3145         (windows-at-side): Rename to window-at-side-list.
3146         (window-check, window-atom-check, window-atom-check-1)
3147         (window-side-check, window-size-ignore, window-size-fixed-1)
3148         (window-in-direction-2): Prefix with "window--".
3149         (window-tree-1): Rename to window--subtree, fix doc-string.
3151 2011-11-11  Glenn Morris  <rgm@gnu.org>
3153         * subr.el (eval-after-load): If FILE is already loaded,
3154         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
3156 2011-11-10  Glenn Morris  <rgm@gnu.org>
3158         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3159         Call svn via vc-svn-command rather than vc-do-command.
3160         (vc-svn-command): Add --non-interactive.  (Bug#9993)
3161         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3163         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3164         Add toggle-read-only.  (Bug#7292)
3165         * files.el (toggle-read-only): Mention that it should only
3166         be used interactively.  (Bug#10006)
3168 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3170         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3171         Adjust regexp for OCaml warnings.
3173         * electric.el (electric-pair-post-self-insert-function): Let user
3174         turn it off buffer-locally (bug#9932).
3176         * progmodes/python.el (python-beginning-of-statement):
3177         Rewrite (bug#2703).
3179         * progmodes/compile.el: Better handle TABs (bug#9749).
3180         (compilation-internal-error-properties)
3181         (compilation-next-error-function): Obey the target buffer's
3182         compilation-error-screen-columns.
3184 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
3186         * progmodes/meta-mode.el: Remove obsolete comments.
3187         (meta-right-comment-regexp, meta-ignore-comment-regexp):
3188         Fix typos in docstrings.
3190 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
3192         * window.el (window-size-fixed-p): Rewrite doc-string.
3193         (window-resizable-p): Rename to window--resizable-p.  Update callers.
3194         (window--resizable): New function.  Make all callers of
3195         window-resizable call window--resizable instead.
3196         (window-resizable): Rewrite in terms of window--resizable.
3198 2011-11-08  Glenn Morris  <rgm@gnu.org>
3200         * progmodes/delphi.el (delphi-mode-syntax-table):
3201         Let define-derived-mode define a proper syntax table.  (Bug#9994)
3203 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3205         * window.el: Stay away from defsubst.
3206         (window-list-no-nils): Remove.
3207         (window-state-get-1, window-state-get): Use backquote instead.
3209 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3211         * emacs-lisp/find-func.el (find-function-read):
3212         Fix incorrect use of default argument in `completing-read'.
3214 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
3216         * window.el (display-buffer-function, special-display-function):
3217         Mention display-buffer-record-window but do not mention
3218         help-setup parameter in doc-strings.
3219         (window-min-delta): Fix doc-string typo.
3221 2011-11-08  Chong Yidong  <cyd@gnu.org>
3223         * window.el (window-total-height, window-total-width): Doc fix.
3224         (window-body-size): Move from C.
3225         (window-body-height, window-body-width): Move to C.
3227 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3229         * window.el: Make special-display like display-buffer-alist (bug#9532).
3230         (display-buffer--special-action): New function, morphed
3231         from display-buffer--special.
3232         (display-buffer): Use it to handle special-display-buffers at higher
3233         priority (just after display-buffer-alist).
3234         (display-buffer-fallback-action, display-buffer--other-frame-action)
3235         (pop-to-buffer-same-window): Remove display-buffer--special.
3237 2011-11-07  Glenn Morris  <rgm@gnu.org>
3239         * calendar/cal-menu.el (cal-menu-set-date-title):
3240         Do nothing if not in a calendar.  (Bug#9976)
3242 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3244         * files.el (find-file): Always use selected-window.
3246 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
3248         * window.el (window-combinations): Make WINDOW argument
3249         mandatory.  Rewrite doc-string.
3250         (walk-window-subtree, window-atom-check, window-min-delta)
3251         (window-max-delta, window--resize-this-window)
3252         (window--resize-root-window-vertically, window-tree)
3253         (balance-windows, window-state-put): Rewrite doc-strings as to
3254         not mention the term "subwindow".
3255         (window--resize-subwindows-skip-p): Rename to
3256         window--resize-child-windows-skip-p.
3257         (window--resize-subwindows-normal): Rename to
3258         window--resize-child-windows-normal.
3259         (window--resize-subwindows): Rename to
3260         window--resize-child-windows.
3261         (window-or-subwindow-p): Rename to window--in-subtree-p.
3263 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3265         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3266         Ensure that mbox format messages end in two newlines (Bug#9974).
3268 2011-11-06  Chong Yidong  <cyd@gnu.org>
3270         * window.el (window-combination-p): Function deleted; its
3271         side-effect is not used in any existing code.
3272         (window-combinations, window-combined-p): Call window-*-child
3273         directly.
3275 2011-11-05  Chong Yidong  <cyd@gnu.org>
3277         * window.el (window-valid-p): Rename from window-any-p.
3278         (window-size-ignore, window-state-get): Callers changed.
3279         (window-normalize-window): Rename from window-normalize-any-window.
3280         New arg LIVE-ONLY, replacing window-normalize-live-window.
3281         (window-normalize-live-window): Delete.
3282         (window-combination-p, window-combined-p, window-combinations)
3283         (walk-window-subtree, window-atom-root, window-min-size)
3284         (window-sizable, window-sizable-p, window-size-fixed-p)
3285         (window-min-delta, window-max-delta, window-resizable)
3286         (window-resizable-p, window-full-height-p, window-full-width-p)
3287         (window-current-scroll-bars, window-point-1, set-window-point-1)
3288         (window-at-side-p, window-in-direction, window-resize)
3289         (adjust-window-trailing-edge, maximize-window, minimize-window)
3290         (window-deletable-p, delete-window, delete-other-windows)
3291         (record-window-buffer, unrecord-window-buffer)
3292         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3293         (quit-window, split-window, window-state-put)
3294         (set-window-text-height, fit-window-to-buffer)
3295         (shrink-window-if-larger-than-buffer): Callers changed.
3297 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
3299         * mail/rmail.el (rmail-simplified-subject): Decode subject with
3300         rfc2047-decode-string.
3301         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3302         warnings.
3304         * window.el (window-body-height, window-body-width): Mention in
3305         the doc string that the return values are in frame's canonical
3306         units.  (Bug#9949)
3308 2011-11-03  Alan Mackenzie  <acm@muc.de>
3310         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3311         change in cc-engine.el.
3313 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3315         * window.el (switch-to-buffer): Use `force-same-window' interactively.
3317 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
3319         * window.el (quit-window): Call unrecord-window-buffer after
3320         showing another buffer in the window.  (Bug#9937)
3321         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3323 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3325         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3326         Accept status with more than 9 shelves.  (Bug#9935)
3327         Reported by Colin D Bennett <colin@gibibit.com>.
3329 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3331         * help.el (with-help-window): Don't reference
3332         temp-buffer-show-specifiers in doc-string.
3334 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3336         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3337         menu-item.
3339 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3341         * whitespace.el: New version 13.2.2.
3342         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3343         <EmacsWiki>.
3345 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3347         * net/newst-treeview.el: Remove "Time-stamp".
3348         (newsticker--group-manage-orphan-feeds): Do not call
3349         newsticker--treeview-tree-update.
3350         (newsticker-treeview-update, newsticker-treeview):
3351         Call newsticker--treeview-tree-update if necessary.
3353 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3355         * window.el (window-iso-combination-p, window-iso-combined-p)
3356         (window-iso-combinations): Remove "iso-" infix.
3357         Suggested by Chong Yidong.
3358         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3359         (window-max-delta-1, window-resize, window--resize-siblings)
3360         (window--resize-this-window, adjust-window-trailing-edge)
3361         (split-window, balance-windows-1)
3362         (shrink-window-if-larger-than-buffer):
3363         * calendar/calendar.el (calendar-generate-window):
3364         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3366 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3368         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3369         in place (bug#9907).
3370         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3371         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3372         (eshell-structure-basic-command, eshell-rewrite-while-command)
3373         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3374         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3375         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3376         (eshell-do-pipelines-synchronously, eshell-eval-command):
3377         Use backquotes and prefer setq to set.
3378         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3379         (eshell-macrop): Use functionp.
3380         (eshell-do-eval): Handle multiple expressions in `while' body.
3382 2011-10-30  Chong Yidong  <cyd@gnu.org>
3384         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3385         instead of set-mark (Bug#9810).
3387 2011-10-30  Chong Yidong  <cyd@gnu.org>
3389         * window.el (split-window-below, split-window-right): Rename from
3390         split-window-above-each-other and split-window-side-by-side
3391         respectively.  All callers changed.
3392         (split-window-sensibly, split-window-sensibly): Use them.
3393         (split-window-keep-point): Doc fix.
3395         * isearch.el: Add isearch-scroll property to split-window-below
3396         and split-window-right.
3398         * follow.el (follow-mode):
3399         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3400         * progmodes/ada-xref.el (ada-gdb-application):
3401         * emulation/vip.el (vip-buffer-in-two-windows):
3402         * image-dired.el (image-dired-dired-with-window-configuration):
3403         * dired-x.el (dired-do-find-marked-files):
3404         * dired.el (dired-pop-to-buffer):
3405         * bs.el (bs--show-with-configuration):
3406         * vc/emerge.el (emerge-setup-windows):
3407         * textmodes/two-column.el (2C-two-columns):
3408         * textmodes/reftex-toc.el (reftex-toc):
3409         * progmodes/gdb-mi.el (gdb-setup-windows):
3410         * progmodes/fortran.el (fortran-window-create):
3411         * net/newst-treeview.el (newsticker--treeview-window-init):
3412         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3413         * emulation/tpu-edt.el (tpu-gold-map):
3414         * emulation/crisp.el (crisp-mode-map):
3415         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3417 2011-10-29  Chong Yidong  <cyd@gnu.org>
3419         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3421         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3423         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3424         forged Ispell output (Bug#7904).
3426         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3428 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3430         * doc-view.el: Avoid ugly errors about not finding nil.
3431         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3432         (doc-view-dvipdf-program, doc-view-unoconv-program)
3433         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3434         Avoid nil or absolute file name as default value.
3435         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3437 2011-10-28  Alan Mackenzie  <acm@muc.de>
3439         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3441 2011-10-28  Alan Mackenzie  <acm@muc.de>
3443         Amend the handling of c-beginning/end-of-defun in nested declaration
3444         scopes.
3446         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3447         cc-langs.el.  Change it to a defcustom.
3449         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3450         cc-vars.el.
3452         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3453         Prevent "class foo : bar" being spuriously recognized as a label.
3455         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3456         Add parameter `inclusive' (to include enclosing braces in the region).
3457         (c-widen-to-enclosing-decl-scope): New function.
3458         (c-while-widening-to-decl-block): New macro.
3459         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3460         outward for defun boundaries, and correspondingly change symbol
3461         `respect-enclosure' to `go-outward'.
3462         (c-declaration-limits): Change algorithm to report only the "innermost"
3463         defun's boundaries.
3465 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3467         * net/rcirc.el (rcirc-mode): Use hard newlines.
3469 2011-10-28  Alan Mackenzie  <acm@muc.de>
3471         Amend to indent and fontify macros "which include their own semicolon"
3472         correctly, using the "virtual semicolon" mechanism.
3474         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3476         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3477         Recode to scan one line at a time rather than having \n and \r
3478         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3479         (c-forward-label): Amend for virtual semicolons.
3480         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3482         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3483         of the new C macros.
3485         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3486         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3487         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3488         (c-opt-cpp-macro-define): Make into a full language variable.
3489         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3490         AWK Mode (including \n, \r) removed, no longer needed.
3492         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3493         Invoke c-make-macro-with-semi-re.
3495         * progmodes/cc-vars.el (c-macro-with-semi-re):
3496         (c-macro-names-with-semicolon): New variables.
3497         (c-make-macro-with-semi-re): New function.
3499 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3501         * vc/log-edit.el: Fill empty field rather than adding new one.
3502         (log-edit-add-field): New function.
3503         (log-edit-insert-changelog): Use it.
3505 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3507         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3509 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3511         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3512         (gdb--check-interpreter): New function.
3513         (gdb): Use it.
3515 2011-10-27  Glenn Morris  <rgm@gnu.org>
3517         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3518         (least-positive-float, least-negative-float)
3519         (least-positive-normalized-float, least-negative-normalized-float)
3520         (float-epsilon, float-negative-epsilon):
3521         Remove unnecessary declarations.
3523         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3524         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3525         (least-positive-float, least-negative-float)
3526         (least-positive-normalized-float, least-negative-normalized-float)
3527         (float-epsilon, float-negative-epsilon): Add doc-strings,
3528         based on those in cl.texi.
3530         * files.el (set-visited-file-name): If the major-mode changed,
3531         reload the local variables.  (Bug#9796)
3533 2011-10-27  Chong Yidong  <cyd@gnu.org>
3535         * subr.el (change-major-mode-after-body-hook): New hook.
3536         (run-mode-hooks): Run it.
3538         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3539         Use change-major-mode-before-body-hook.
3541         * simple.el (fundamental-mode):
3542         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3543         change introducing fundamental-mode-hook.
3545 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3547         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3549 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3551         * ido.el (ido-file-name-all-completions-1): Do not require
3552         tramp.el explicitly.  (Bug#7583)
3554 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3556         * progmodes/octave-mod.el:
3557         * progmodes/octave-inf.el: Update maintainer.
3559 2011-10-26  Chong Yidong  <cyd@gnu.org>
3561         * subr.el (with-wrapper-hook): Rewrite doc.
3563 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3565         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3566         filenames "/method:foo:".  (Bug#9793)
3568 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3570         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3571         (bug#9865).
3573 2011-10-24  Glenn Morris  <rgm@gnu.org>
3575         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
3577 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
3579         * notifications.el: Add the requirement of a running D-Bus session
3580         bus to the Commentary.
3582 2011-10-24  Juri Linkov  <juri@jurta.org>
3584         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3585         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3586         (Bug#9364)
3588 2011-10-24  Juri Linkov  <juri@jurta.org>
3590         * info.el (Info-following-node-name-re): Add newline to the list
3591         of allowed characters for leading space.  (Bug#9824)
3593 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3595         * progmodes/octave-inf.el (inferior-octave-mode-map):
3596         Fix C-c C-h binding.
3597         * progmodes/octave-mod.el (octave-help): Remove.
3599 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
3601         Sync with Tramp 2.2.3.
3603         * net/tramp-cache.el (top): Pacify byte-compiler using
3604         `init-file-user' and `site-run-file'.
3606         * net/trampver.el: Update release number.
3608 2011-10-23  Chong Yidong  <cyd@gnu.org>
3610         * files.el (toggle-read-only): Remove obsolete comment about
3611         version control.
3613         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3614         for toggle-read-only.  Note that this hasn't called vc-next-action
3615         since 2008-05-02, though it wasn't documented at the time.
3617         * vc/ediff-init.el (ediff-toggle-read-only-function):
3618         Use toggle-read-only.
3620 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
3622         Fix bug #9560, sporadic wrong indentation; improve instrumentation
3623         of c-parse-state.
3625         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3626         correct faulty logical expression.
3627         (c-parse-state-state, c-record-parse-state-state):
3628         (c-replay-parse-state-state): New defvar/defuns.
3629         (c-debug-parse-state): Use new functions.
3631 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
3633         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3634         last fix.  Use window-in-direction correctly.
3636 2011-10-21  Chong Yidong  <cyd@gnu.org>
3638         * progmodes/idlwave.el (idlwave-mode):
3639         * progmodes/vera-mode.el (vera-mode): No need to set
3640         require-final-newline; that's done in prog-mode.
3641         Suggested by Stefan Monnier.
3643 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
3645         * mouse.el (mouse-drag-window-above)
3646         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3647         (mouse-drag-mode-line-1, mouse-drag-header-line)
3648         (mouse-drag-vertical-line-rightward-window): Remove.
3649         (mouse-drag-line): New function.
3650         (mouse-drag-mode-line, mouse-drag-header-line)
3651         (mouse-drag-vertical-line): Call mouse-drag-line.
3652         * window.el (window-at-side-p, windows-at-side): New functions.
3654 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
3656         * tar-mode.el (tar-grind-file-mode):
3657         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
3659 2011-10-21  Chong Yidong  <cyd@gnu.org>
3661         * progmodes/idlwave.el (idlwave-mode):
3662         * progmodes/vera-mode.el (vera-mode):
3663         Use mode-require-final-newline.
3665 2011-10-20  Glenn Morris  <rgm@gnu.org>
3667         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
3669 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
3671         * emulation/cua-base.el (cua-set-mark): Fix case of string.
3673 2011-10-20  Chong Yidong  <cyd@gnu.org>
3675         * emulation/cua-base.el (cua-mode):
3676         * mail/footnote.el (footnote-mode):
3677         * mail/mailabbrev.el (mail-abbrevs-mode):
3678         * net/xesam.el (xesam-minor-mode):
3679         * progmodes/bug-reference.el (bug-reference-mode):
3680         * progmodes/cap-words.el (capitalized-words-mode):
3681         * progmodes/compile.el (compilation-minor-mode)
3682         (compilation-shell-minor-mode):
3683         * progmodes/gud.el (gud-tooltip-mode):
3684         * progmodes/hideif.el (hide-ifdef-mode):
3685         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3686         * progmodes/subword.el (subword-mode):
3687         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3688         * progmodes/which-func.el (which-function-mode):
3689         * term/tvi970.el (tvi970-set-keypad-mode):
3690         * term/vt100.el (vt100-wide-mode):
3691         * textmodes/flyspell.el (flyspell-mode):
3692         * textmodes/ispell.el (ispell-minor-mode):
3693         * textmodes/nroff-mode.el (nroff-electric-mode):
3694         * textmodes/paragraphs.el (use-hard-newlines):
3695         * textmodes/refill.el (refill-mode):
3696         * textmodes/reftex.el (reftex-mode):
3697         * textmodes/rst.el (rst-minor-mode):
3698         * textmodes/sgml-mode.el (html-autoview-mode)
3699         (sgml-electric-tag-pair-mode):
3700         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3701         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3702         * emulation/crisp.el (crisp-mode):
3703         * emacs-lisp/eldoc.el (eldoc-mode):
3704         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3705         minor mode behavior.
3707 2011-10-19  Juri Linkov  <juri@jurta.org>
3709         * descr-text.el (describe-char): Add #x2010 and #x2011 to
3710         the list of hard-coded chars with escape-glyph face.
3712 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3714         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3716 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
3718         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3719         running process.
3721 2011-10-19  Glenn Morris  <rgm@gnu.org>
3723         * vc/vc-bzr.el (vc-bzr-after-dir-status):
3724         Ignore ignored files.  (Bug#9726)
3726 2011-10-19  Chong Yidong  <cyd@gnu.org>
3728         Doc fix for minor modes, stating that an omitted argument enables
3729         the mode unconditionally when called from Lisp.
3731         * abbrev.el (abbrev-mode):
3732         * allout.el (allout-mode):
3733         * autoinsert.el (auto-insert-mode):
3734         * autoarg.el (autoarg-mode, autoarg-kp-mode):
3735         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3736         (global-auto-revert-mode):
3737         * battery.el (display-battery-mode):
3738         * composite.el (global-auto-composition-mode)
3739         (auto-composition-mode):
3740         * delsel.el (delete-selection-mode):
3741         * desktop.el (desktop-save-mode):
3742         * dired-x.el (dired-omit-mode):
3743         * dirtrack.el (dirtrack-mode):
3744         * doc-view.el (doc-view-minor-mode):
3745         * double.el (double-mode):
3746         * electric.el (electric-indent-mode, electric-pair-mode):
3747         * emacs-lock.el (emacs-lock-mode):
3748         * epa-hook.el (auto-encryption-mode):
3749         * follow.el (follow-mode):
3750         * font-core.el (font-lock-mode):
3751         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3752         * help.el (temp-buffer-resize-mode):
3753         * hilit-chg.el (highlight-changes-mode)
3754         (highlight-changes-visible-mode):
3755         * hi-lock.el (hi-lock-mode):
3756         * hl-line.el (hl-line-mode, global-hl-line-mode):
3757         * icomplete.el (icomplete-mode):
3758         * ido.el (ido-everywhere):
3759         * image-file.el (auto-image-file-mode):
3760         * image-mode.el (image-minor-mode):
3761         * iswitchb.el (iswitchb-mode):
3762         * jka-cmpr-hook.el (auto-compression-mode):
3763         * linum.el (linum-mode):
3764         * longlines.el (longlines-mode):
3765         * master.el (master-mode):
3766         * mb-depth.el (minibuffer-depth-indicate-mode):
3767         * menu-bar.el (menu-bar-mode):
3768         * minibuf-eldef.el (minibuffer-electric-default-mode):
3769         * mouse-sel.el (mouse-sel-mode):
3770         * msb.el (msb-mode):
3771         * mwheel.el (mouse-wheel-mode):
3772         * outline.el (outline-minor-mode):
3773         * paren.el (show-paren-mode):
3774         * recentf.el (recentf-mode):
3775         * reveal.el (reveal-mode, global-reveal-mode):
3776         * rfn-eshadow.el (file-name-shadow-mode):
3777         * ruler-mode.el (ruler-mode):
3778         * savehist.el (savehist-mode):
3779         * scroll-all.el (scroll-all-mode):
3780         * scroll-bar.el (scroll-bar-mode):
3781         * server.el (server-mode):
3782         * shell.el (shell-dirtrack-mode):
3783         * simple.el (auto-fill-mode, transient-mark-mode)
3784         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3785         (line-number-mode, column-number-mode, size-indication-mode)
3786         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3787         * strokes.el (strokes-mode):
3788         * time.el (display-time-mode):
3789         * t-mouse.el (gpm-mouse-mode):
3790         * tool-bar.el (tool-bar-mode):
3791         * tooltip.el (tooltip-mode):
3792         * type-break.el (type-break-mode-line-message-mode)
3793         (type-break-query-mode):
3794         * view.el (view-mode):
3795         * whitespace.el (whitespace-mode, whitespace-newline-mode)
3796         (global-whitespace-mode, global-whitespace-newline-mode):
3797         * xt-mouse.el (xterm-mouse-mode): Doc fix.
3799         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3800         Fix autogenerated docstring.
3802 2011-10-19  Juri Linkov  <juri@jurta.org>
3804         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3805         by checking environment variables "DESKTOP_SESSION" and
3806         "XDG_CURRENT_DESKTOP".  (Bug#9779)
3808 2011-10-19  Juri Linkov  <juri@jurta.org>
3810         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3811         (browse-url-chromium-program, browse-url-chromium-arguments):
3812         New defcustoms.
3813         (browse-url-default-browser): Check for `browse-url-chromium' and
3814         call `browse-url-chromium-program'.
3815         (browse-url-chromium): New command.  (Bug#9779)
3817 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
3819         * facemenu.el (list-colors-duplicates): On Windows, detect more
3820         duplicates by assuming that only colors matching "^System" are
3821         special "system colors".  (Bug#9722)
3823 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3825         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3826         to distinguish the author from the committer.
3828 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
3830         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3832 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
3834         * international/mule.el (sgml-html-meta-auto-coding-function):
3835         Add support for detecting encoding in HTML5 specified only as
3836         <meta charset="UTF-8">.  Implementation just makes http-equiv and
3837         content-type parts from HTML4 encoding string optional.  (Bug#9716)
3839 2011-10-18  Glenn Morris  <rgm@gnu.org>
3841         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
3843 2011-10-18  Chong Yidong  <cyd@gnu.org>
3845         * faces.el (cursor): Doc fix.
3847 2011-10-17  Chong Yidong  <cyd@gnu.org>
3849         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3851 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
3853         * dirtrack.el (dirtrack): Support shell buffers with path
3854         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
3856 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
3858         * json.el: Bump version to 1.3 and note change in History.
3859         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3861 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3863         * comint.el (comint-insert-input, comint-send-input)
3864         (comint-get-old-input-default, comint-backward-matching-input)
3865         (comint-next-prompt): Use nil instead of `input' for field property of
3866         past user input (bug#114).
3868         * minibuffer.el (completion--replace): Inherit surrounding properties
3869         (bug#114).
3870         (minibuffer-complete-and-exit): Use it.
3872         * comint.el (comint--table-subvert): Quote the all-completions output
3873         (bug#9160).
3875 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
3877         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
3879         * menu-bar.el (menu-bar-file-menu): Add entry for making new
3880         window on right of selected.  (Bug#9350) Reword other window
3881         entries and separate them from frame entries.
3883 2011-10-15  Glenn Morris  <rgm@gnu.org>
3885         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3886         Doc fixes.
3888 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
3890         * net/network-stream.el (network-stream-open-starttls):
3891         Improve detection of failure due to lack of TLS support.
3893         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3894         putting the input text in front and in bold.
3896 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3898         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3900         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3901         empty buffer.
3903         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3904         unread-command-events rather than pushing yet-another event.
3906 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
3908         * mail/sendmail.el (sendmail-query-once): Improve the wording of
3909         the explanation of the possible choices.  Make the options passed
3910         to completing-read shorter.
3912 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3914         * textmodes/flyspell.el (flyspell-large-region): Make sure
3915         extended character mode is used if defined (Bug#1339).
3917 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
3919         * simple.el (what-cursor-position): Fix the display of the
3920         character info for LRE, LRO, RLE, and RLO characters by appending
3921         an invisible PDF.
3923 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3925         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3926         even in case of error; add debug spec; simplify data flow.
3927         (with-timeout-handler): Remove.
3929 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
3931         Fix Bug#6019, Bug#9315.
3933         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3934         complete `buffer-file-name', the local file name part could look
3935         remotely (for example on VMS).
3937         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3938         `tramp-run-real-handler'.
3939         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3940         already quoted by '"'.
3942         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3943         Let `file-name-handler-alist' be nil, the local file name part
3944         could look remotely (for example on VMS).
3946 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3948         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3949         from here...
3950         (flyspell-post-command-hook): ...to here.
3952 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3954         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3955         if not needed.
3956         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
3957         using completion.  Protect against "slow" callers.
3958         Remove the "message hack".
3960 2011-10-11  Juri Linkov  <juri@jurta.org>
3962         * isearch.el (isearch-lazy-highlight-word): New variable.
3963         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3964         Use it.  (Bug#9727)
3966 2011-10-11  Glenn Morris  <rgm@gnu.org>
3968         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3969         like f90-previous-statement does.
3971 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3973         * eshell/eshell.el (eshell-command): History should be saved
3974         only in interactive use, to avoid error.
3976 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3978         * minibuffer.el (completion-file-name-table): Fix last change,
3979         i.e. ignore normal errors but not the other ones.
3981 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
3983         * window.el (special-display-buffer-names)
3984         (special-display-regexps): Remove some remnants of earlier
3985         changes from doc-strings.
3986         (quit-windows-on): New function.
3988         * vc/vc.el (vc-revert, vc-rollback):
3989         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3990         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
3991         (Bug#6183) (Bug#7074) (Bug#7447)
3993 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
3995         * window.el (frame-auto-hide-function): Add version tag.
3996         (Bug#9699)
3998 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
4000         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4001         condition.
4003 2011-10-09  Leo Liu  <sdl.web@gmail.com>
4005         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4006         (Bug#9701)
4008 2011-10-08  Glenn Morris  <rgm@gnu.org>
4010         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4011         before the first code statement zero indent.  (Bug#9690)
4013 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
4015         * simple.el (count-words-region): Always count in the region.
4016         Report the number of lines and characters too.
4017         (count-words): New command, which counts in the buffer if the
4018         region is inactive, as count-words-region used to.
4019         (count-words--message): New function.  Handle plurals.
4020         (count-lines-region): Make it an alias for count-words-region.
4022         * bindings.el (esc-map): Replace count-lines-region with
4023         count-words-region.
4025 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
4027         * window.el (window--delete): Delete dedicated frame
4028         unconditionally when argument KILL is non-nil.  (Bug#9699)
4029         (switch-to-buffer): Fix doc-string typo.
4031 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4033         * eshell/eshell.el (eshell-command): Avoid using hooks.
4035 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
4037         * bindings.el ([M-left],[M-right]): Bind to left-word and
4038         right-word respectively.
4040 2011-10-07  Glenn Morris  <rgm@gnu.org>
4042         * cus-start.el (debug-on-quit): Fix custom type.
4044 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4046         * subr.el (define-key-after): Clarify that the function is not
4047         useful for non-menu keymaps.
4049         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4051 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4053         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4054         in current minibuffer (Fix bug with recursive minibuffers).
4056 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
4058         * progmodes/gdb-mi.el (gdb): Doc fix.
4060 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
4062         * window.el (frame-auto-hide-function): New option replacing
4063         frame-auto-delete.  Suggested by Stefan Monnier.
4064         (window--delete): Call frame-auto-hide-function instead of
4065         investigating frame-auto-delete.
4066         (window-point-1, set-window-point-1): New functions.
4067         (window-in-direction, record-window-buffer, window-state-get-1)
4068         (display-buffer-record-window): Use window-point-1 instead of
4069         window-point.
4070         (set-window-buffer-start-and-point): Use set-window-point-1.
4072 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4074         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4076 2011-10-05  Glenn Morris  <rgm@gnu.org>
4078         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4079         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
4081 2011-10-05  Leo Liu  <sdl.web@gmail.com>
4083         * subr.el (read-char-choice): Fix argument to buffer-live-p which
4084         works with buffer object.
4086 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4088         * mpc.el (mpc-tool-bar-map): Add labels.
4090 2011-10-04  Glenn Morris  <rgm@gnu.org>
4092         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4094 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
4096         * window.el (window--delete): New function.
4097         (frame-auto-delete): Resuscitate option.
4098         (bury-buffer, replace-buffer-in-windows)
4099         (quit-window): Rewrite using window--delete.
4100         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4101         Pass display-buffer-mark-dedicated to window--display-buffer-2
4102         (Bug#9639).
4104 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4106         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4107         returns a list (bug#9554).  Add remote file name completion.
4108         * comint.el (comint--table-subvert): Curry and get quote&unquote
4109         functions as arguments.
4110         (comint--complete-file-name-data): Adjust call accordingly.
4111         * pcomplete.el (pcomplete--table-subvert): Remove.
4112         (pcomplete-completions-at-point): Use comint--table-subvert instead.
4114         * minibuffer.el (completion-table-case-fold): Use currying.
4115         (completion--styles-type, completion--cycling-threshold-type):
4116         New constants.
4117         (completion-styles, completion-category-overrides)
4118         (completion-cycle-threshold): Use them.
4119         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4120         completion-table-case-fold.
4122 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
4124         * minibuffer.el (completion-category-overrides): Fix type of styles
4125         and add more user friendly tags (bug#9660).
4127 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4129         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4130         (mule-input-method-string): New widget.
4131         (default-input-method, language-info-custom-alist): Use it.
4133 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4135         * pcomplete.el: Require comint.
4136         (pcomplete--common-suffix): Remove.
4137         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4138         (pcomplete--table-subvert): Sync with comint--table-subvert.
4139         (pcomplete--entries): Use comint-completion-file-name-table.
4140         * comint.el (comint-unquote-filename): Simplify.
4141         (comint-completion-file-name-table): New function (bug#9616).
4142         (comint--complete-file-name-data): Use it.
4144         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4145         (pcmpl-gnu-tar-buffer): Remove.
4146         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4147         around.  Make sure pcomplete-suffix-list is only changed temporarily.
4148         Don't look inside the tar's file if it's too large.
4150 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
4152         * cus-edit.el (custom-mode-map):
4153         * epa.el (epa-key-list-mode-map):
4154         * man.el (Man-mode-map):
4155         * startup.el (splash-screen-keymap):
4156         * simple.el (special-mode-map): Use scroll-up-command and
4157         scroll-down-command.
4159         * progmodes/idlw-help.el (idlwave-help-mode-map):
4160         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4161         * net/newst-plainview.el (newsticker-mode-map):
4162         * emulation/ws-mode.el (wordstar-mode-map):
4163         * emulation/vi.el (vi-com-map):
4164         * calc/calc-graph.el (calc-graph-show-dumb):
4165         * term/sun.el (terminal-init-sun):
4166         * term/ns-win.el (global-map):
4167         * progmodes/grep.el (grep-mode-map):
4168         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4169         * mail/rmail.el (rmail-mode-map):
4170         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4172         * custom.el (custom-safe-themes, load-theme): Treat value of t for
4173         custom-safe-themes as special.
4175 2011-10-01  Julien Danjou  <julien@danjou.info>
4177         * notifications.el (notifications-notify): Fix docstring.
4179 2011-10-01  Per Starbäck  <per@starback.se>
4181         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
4183 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
4185         * startup.el (command-line-1): Fix last fix by inserting
4186         initial-scratch-message into *scratch* before displaying it.
4187         (Bug#9605) and (Bug#9636)
4189 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
4191         * simple.el (line-move): If auto-hscroll-mode is disabled and the
4192         window is hscrolled, move by logical lines.  (Bug#9607)
4193         (line-move-visual): Update the doc string to the above effect.
4195 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
4197         * window.el (display-buffer-record-window): When WINDOW is the
4198         selected window use `point' instead of `window-point'.  (Bug#9626)
4200         * startup.el (command-line-1): Use insert-before-markers when
4201         inserting initial-scratch-message.  (Bug#9605)
4203         * help.el (help-window): Remove variable.
4205 2011-09-29  Glenn Morris  <rgm@gnu.org>
4207         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4209 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
4211         * descr-text.el (describe-char-categories): Accept category
4212         descriptions more than one line long.
4214 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4216         * simple.el (delete-trailing-whitespace): Fix last change.
4218         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4219         Don't confuse "y => 3" as the beginning of a `y' operation.
4221         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4222         object has more than 4 slots (bug#9613).
4224 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
4226         * subr.el (with-output-to-temp-buffer):
4227         * net/quickurl.el (quickurl, quickurl-browse-url):
4228         Fix typos in docstrings.
4230 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
4232         * minibuffer.el (completion-styles)
4233         (completion-category-overrides): Cross reference each other in doc
4234         strings.
4236 2011-09-27  Glenn Morris  <rgm@gnu.org>
4238         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4239         to split-string.  (Bug#9606)
4241 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4243         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4244         (bug#9615).
4246 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
4248         * emacs-lisp/package.el (list-packages): Fix echo area message.
4250 2011-09-27  Leo Liu  <sdl.web@gmail.com>
4252         * ido.el (ido-read-internal): Accept cons cell HIST arg.
4254 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
4256         * net/dbus.el (dbus-unregister-object): Don't release services for
4257         registered signals.  (Bug#9581)
4259 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
4261         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4262         function that picks between cfengine 2 and 3 support
4263         automatically.  Update docs accordingly.
4265 2011-09-22  Kenichi Handa  <handa@m17n.org>
4267         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4268         ZERO.
4269         (indian-itrans-v5-table-for-tamil): New variable.
4270         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4272 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
4274         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4275         that's true if the current command involved collapsing of text.
4276         It's reset to false at the beginning of the next command.
4277         (allout-post-command-business): Move the cursor to the beginning
4278         of entry if the cursor is hidden and collapsing activity just
4279         happened.
4281 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
4283         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4284         tracking (Bug#9541).
4286 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
4288         * net/newst-reader.el (newsticker-html-renderer)
4289         (newsticker-show-news): Automatically load html rendering package
4290         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
4291         because w3m-fill-column is let-bound" and the error "Symbol's value
4292         as variable is void: w3m-fill-column".
4294 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
4296         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4297         Release services only if they are defined.  (Bug#9581)
4299 2011-09-23  Richard Stallman  <rms@gnu.org>
4301         * textmodes/paragraphs.el (forward-sentence): For backwards case,
4302         distinguish start of paragraph from start of its text.
4304         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4306         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4307         (rmail-generate-viewer-buffer): Put that hook on view buffer.
4308         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4310 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
4312         * international/mule-diag.el (mule-diag): Insert a newline after
4313         each fontset description.
4315 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4317         * simple.el (delete-trailing-whitespace):
4318         Document last change; simplify.
4320 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4322         * simple.el (delete-trailing-whitespace): Also delete
4323         extra newlines at the end of the buffer.
4325         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4326         (picture-newline): Use forward-line so as to ignore fields.
4328 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4330         * subr.el (with-wrapper-hook): Fix edebug spec.
4332 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4334         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4335         (bug#4538).
4337 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4339         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4340         Fix nasty bug using wrong cached values.
4342 2011-09-23  Alan Mackenzie  <acm@muc.de>
4344         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4346 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4348         * window.el (pop-to-buffer): Ensure right window is selected if we
4349         chose another frame.
4351 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4353         * simple.el (what-cursor-position): Use get-char-property-change
4354         and next-single-char-property-change, to be able to show display
4355         properties that come from overlays as well as text properties.
4357 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4359         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4361         * cmuscheme.el (run-scheme, switch-to-scheme):
4362         * cus-edit.el (customize-group, custom-buffer-create)
4363         (customize-browse):
4364         * info.el (info):
4365         * shell.el (shell):
4366         * mail/sendmail.el (mail):
4367         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4369 2011-09-22  Richard Stallman  <rms@gnu.org>
4371         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4372         move back only to line beg, don't move back over blank lines.
4374 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4376         * files.el (copy-directory): Set directory attributes only in case
4377         they could be retrieved from the source directory.  (Bug#9565)
4379 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4381         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4382         (hs-find-block-beginning, hs-hide-level-recursive):
4383         Ignore strings as well as comments.  (Bug#9502)
4385 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4387         * progmodes/sql.el (sql-comint-postgres):
4388         Convert port number to a string.  (Bug#9566)
4390 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4392         * window.el (quit-window): Undedicate window when switching to
4393         previous buffer.  Reported by Thierry Volpiatto
4394         <thierry.volpiatto@gmail.com>.
4395         (special-display-popup-frame): When popping up a new frame reset
4396         its previous buffers to nil.  Simplify code.
4398 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4400         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4401         and process filter, as done also in `shell-command'.
4403 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4405         * window.el (set-window-buffer-start-and-point):
4406         Call set-window-start with NOFORCE argument t.
4407         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4408         (quit-window): Reword doc-string.  Handle new format of
4409         quit-restore parameter.  Don't delete window if it has a
4410         previous buffer we can show instead of the present one.
4411         (display-buffer-record-window): Rewrite using a new format for
4412         the quit-restore window parameter
4413         (special-display-popup-frame, display-buffer-same-window)
4414         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4415         (display-buffer-pop-up-window, display-buffer-use-some-window):
4416         Adapt symbol passed to display-buffer-record-window.
4417         * help.el (help-window-setup): Handle new format of quit-restore
4418         parameter.
4420 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4422         * faces.el (face-list): Fix docstring (bug#9564).
4424         * window.el (display-buffer--action-function-custom-type):
4425         Don't include internal functions in the Custom interface.
4427 2011-09-20  Juri Linkov  <juri@jurta.org>
4429         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4430         (Info-forward-node, Info-backward-node, Info-next-preorder)
4431         (Info-last-preorder): Use it.  (Bug#9528)
4433 2011-09-20  Juri Linkov  <juri@jurta.org>
4435         * info.el (Info-last-preorder): Visit last menu item only when
4436         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4438 2011-09-20  Julien Danjou  <julien@danjou.info>
4440         * password-cache.el (password-cache-remove): Remove entries even if the
4441         value is nil, so that password with a nil value (negative caching) is
4442         possible to invalidate.
4444 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4446         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4447         all whitespace around breakpoint.  (Bug#9553)
4448         (f90-find-breakpoint): Only break at whitespace inside a comment.
4450 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4452         * minibuffer.el (completion-file-name-table): Keep track of errors.
4453         (completion-table-with-predicate): Handle the case where pred1 is nil.
4454         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4456 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4458         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4459         (debugger-return-value): Signal an error if the debugging context does
4460         not await any return value.
4462         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4463         * image-mode.el (image-toggle-display-text)
4464         (image-toggle-display-image): Stay away from evil `intangible'.
4466 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4468         * replace.el (occur-revert-arguments): Make it permanent-local.
4469         (occur-mode): Don't call font-lock-defontify.
4471 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4473         * net/ldap.el (ldap-search-internal): Don't push empty search
4474         result (Bug#9508).
4476 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4478         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4480 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4482         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4483         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4485 2011-09-18  Juri Linkov  <juri@jurta.org>
4487         * buff-menu.el (Buffer-menu-mode-map):
4488         * dired.el (dired-mode-map):
4489         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4490         (lisp-interaction-mode-map):
4491         * emacs-lisp/package.el (package-menu-mode-map):
4492         * epa.el (epa-key-list-mode-map):
4493         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4494         (menu-bar-options-menu):
4495         * outline.el (outline-mode-menu-bar-map):
4496         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4497         * vc/vc-dir.el (vc-dir-menu-map):
4498         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4499         Capitalize non-function content words in menu item strings.
4501         * dired.el (dired-mode-map): Add menu item for
4502         `image-dired-dired-toggle-marked-thumbs'.
4504 2011-09-18  Juri Linkov  <juri@jurta.org>
4506         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4507         to `isearch-case-fold-search' and restore its original value
4508         after the `isearch-mode' call.
4510 2011-09-18  Juri Linkov  <juri@jurta.org>
4512         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4513         because `zgrep' returns 1 for successful matches (bug#9226).
4515 2011-09-18  Juri Linkov  <juri@jurta.org>
4517         * info.el (Info-extract-menu-node-name): Check the second match
4518         for empty string (second test-case of bug#9528).
4519         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4520         intermediate nodes to the history (first test-case of bug#9528).
4522 2011-09-18  Juri Linkov  <juri@jurta.org>
4524         * info.el (Info-mode-syntax-table): New variable.
4525         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4527 2011-09-18  Juri Linkov  <juri@jurta.org>
4529         * info.el (Info-file-supports-index-cookies):
4530         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4531         outputs one more line for long file names (bug#4142).
4533 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4535         * newcomment.el (comment-normalize-vars): If prompting for
4536         comment-start, set comment-start-skip too (Bug#8424).
4538 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
4540         * icomplete.el: Fix previous fix of Bug#5849.
4541         (icomplete-mode): Don't set completion-show-inline-help.
4542         (icomplete-minibuffer-setup): Set completion-show-inline-help
4543         locally during icompletion.
4545 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4547         * woman.el (woman2-process-escapes): Don't delete unrecognized
4548         escapes (Bug#7843).
4550         * files.el (inhibit-first-line-modes-regexps): Add image files.
4551         (hack-local-variables-prop-line): Return nil for malformed
4552         prop-lines (Bug#9044).
4554 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4556         * net/tramp.el (top): Don't require 'shell.
4557         (tramp-methods): Fix docstring.
4558         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4559         Return complete remote file name.  Handle "smb" case.
4560         Use `tramp-tmpdir', if defined for the respective method.
4561         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4563         * net/tramp-compat.el (top): Require 'shell.
4565         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4566         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4567         `tramp-current-host'.
4568         (tramp-get-remote-tmpdir): Remove.
4570         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4571         `tramp-tmpdir' entries.
4572         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4573         (tramp-smb-handle-file-attributes): Ignore errors.
4574         (tramp-smb-wait-for-output): Check also for process end.
4576 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4578         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4579         when sending QUIT (bug#9312).
4581 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
4583         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4584         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4585         occur-mode-display-occurrence.
4586         (occur-edit-mode): Add usage message.
4587         (occur-cease-edit): New command.
4588         (occur-after-change-function): Use text properties to find the
4589         position of the prefix text.
4590         (occur-engine): Set stickiness of prefix text properties.
4592 2011-09-17  Glenn Morris  <rgm@gnu.org>
4594         * progmodes/etags.el (complete-tag):
4595         Fix call to completion-in-region.  (Bug#9526)
4597 2011-09-17  Juri Linkov  <juri@jurta.org>
4599         * textmodes/ispell.el (ispell-word): Add to the error message
4600         the word, ispell program name and current dictionary (bug#9121).
4601         (ispell-tex-arg-end): Capitalize "error" in the error message.
4603 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
4605         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4606         check.  (Bug#4251)
4608 2011-09-17  Juri Linkov  <juri@jurta.org>
4610         * window.el (window-safe-min-height, window-safe-min-width):
4611         Fix typos (followup to bug#9522).
4613 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
4615         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4617 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
4619         * simple.el (line-move): If goal-column is set, move by logical
4620         lines, not by display lines.  (Bug#971)
4621         (next-line, previous-line, goal-column, line-move-visual): Doc fix
4622         to reflect the above change.
4624 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4626         * image.el (imagemagick-register-types): Use regexp-opt.
4628 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4630         * window.el (display-buffer-base-action): Rename from
4631         display-buffer-default-action.  Make default value empty.
4632         (display-buffer-overriding-action): Convert to defvar.
4633         (display-buffer-fallback-action): New var.
4635 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4637         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4638         declaration.
4639         (package--add-to-archive-contents): If there is a duplicate entry
4640         with an older version, remove it.
4641         (package-menu-mark-delete, package-menu-mark-install)
4642         (package-menu-mark-unmark): Make unused args optional.
4643         (package-menu-mark-obsolete-for-deletion):
4644         Use package-menu-get-status instead of a regexp search.
4645         (package-menu-get-status): Use tabulated-list-entry.
4646         (package-menu-mark-upgrades): New command.
4647         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
4648         (package-menu-execute): Do installation before deletion.
4649         (package-menu-refresh, package-menu-execute): Use derived-mode-p
4650         instead of checking major-mode.
4651         (package-menu--find-upgrades): New function.
4653 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4655         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4656         passwords in the log buffer.
4657         (smtpmail-process-filter): Update the process marker so that the
4658         "broken by peer" status message is inserted in the right place.
4660 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4662         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4663         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4664         bibtex-completion-at-point-function.
4665         (bibtex-completion-at-point-function): Use them.
4667         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4669         * mpc.el (mpc-constraints-tag-lookup): New function.
4670         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4671         also to browser "album|playlist".
4673 2011-09-14  Juri Linkov  <juri@jurta.org>
4675         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
4676         (isearch-edit-string): Use length of `isearch-string' when
4677         `isearch-fail-pos' returns nil.
4678         (isearch-message): Remove duplicate code and call
4679         `isearch-fail-pos' with arg `t'.
4681 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
4683         * replace.el (occur-mode-goto-occurrence): Don't force using other
4684         window (Bug#9499).
4686         * dired-aux.el (dired-do-chmod): Don't provide initial input.
4688 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
4690         * window.el (display-buffer-window): Remove.
4691         (display-buffer-record-window): Use help-setup window parameter
4692         instead of variable display-buffer-window.
4693         (display-buffer-function, special-display-buffer-names)
4694         (special-display-function): Mention help-setup parameter instead
4695         of display-buffer-window in doc-string.
4696         * help.el (help-window-setup): New argument help-window.
4697         Use help-window-setup parameter instead of display-buffer-window.
4698         Reword some messages.
4699         (with-help-window): Pass window used for displaying the buffer
4700         to help-window-setup.  Don't set display-buffer-window.
4702 2011-09-13  Glenn Morris  <rgm@gnu.org>
4704         * emacs-lisp/debug.el (debugger-make-xrefs):
4705         Preserve point.  (Bug#9462)
4707 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4709         * window.el (window-deletable-p): Use next-frame.
4711 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
4713         * window.el (window-auto-delete): Remove.
4714         (window-deletable-p): Remove argument FORCE.  Don't deal with
4715         dedication and previous buffers.
4716         (switch-to-prev-buffer): Don't delete window.
4717         (delete-windows-on): Delete a window's frame if and only if the
4718         window is dedicated.
4719         (replace-buffer-in-windows): Delete buffer's window or frame if
4720         and only if window is dedicated.
4721         (quit-window): Handle quit-restore as before last change.
4722         (bury-buffer): Delete window only if window-deletable-p returns t.
4724 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4726         * window.el (window-deletable-p): Never delete the last frame on a
4727         given terminal.
4729 2011-09-13  Glenn Morris  <rgm@gnu.org>
4731         * help.el (describe-key-briefly): Copy previous standard-output change.
4733 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
4735         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
4737 2011-09-13  Glenn Morris  <rgm@gnu.org>
4739         * emacs-lisp/lisp-mode.el (lisp-indent-function):
4740         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4742 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
4744         * dired-aux.el (dired-mark-read-string): Don't return default
4745         value on empty input (Bug#9361).
4746         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4747         Omit initial minibuffer contents.
4748         (dired-do-chmod): Signal an error on empty input.
4749         (dired-mark-read-string): Don't return default on empty input.
4751         * files.el (file-modes-symbolic-to-number): Doc fix.
4753 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4755         * international/mule-cmds.el (ucs-completions): Remove.
4756         (read-char-by-name): Use complete-with-action instead; add metadata.
4758 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4760         * window.el (display-buffer--action-function-custom-type)
4761         (display-buffer--action-custom-type): New vars.
4762         (display-buffer-alist, display-buffer-default-action)
4763         (display-buffer-overriding-action): Add defcustom types.
4765         * frame.el (delete-other-frames): Doc fix (Bug#276).
4767 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4769         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4771 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4773         Change modes that used same-window-* vars to use switch-to-buffer.
4775         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4776         Use switch-to-buffer.
4778         * cus-edit.el (customize-group, custom-buffer-create)
4779         (customize-browse, custom-buffer-create-other-window):
4780         Use switch-to-buffer or switch-to-buffer-other-window.
4782         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4783         (Info-prev, Info-up, Info-speedbar-goto-node)
4784         (info-display-manual): Use switch-to-buffer.
4785         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4787         * mail/sendmail.el (mail): Use switch-to-buffer.
4788         (mail-recover): Use switch-to-buffer-other-window.
4790         * cmuscheme.el (run-scheme, switch-to-scheme):
4791         * ielm.el (ielm):
4792         * shell.el (shell):
4793         * net/rlogin.el (rlogin):
4794         * net/telnet.el (telnet, rsh):
4795         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4797 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
4799         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4801 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4803         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4804         so don't mention it (bug#9301).
4805         (dired-sort-toggle-or-edit): Clarify string further.
4807         * faces.el (face-spec-set-match-display): Make `(type graphic)'
4808         match `x', `w32' and `ns', like the manual says (bug#9029).
4810         * subr.el (eval-after-load): Doc string clarification (bug#9125).
4811         (process-kill-buffer-query-function): Mention the buffer name in
4812         the query.
4814         * image-mode.el (image-next-line): The line parameter is mandatory
4815         (bug#9258).
4817         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4818         which can be useful (bug#9301).
4820         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4822         * subr.el (match-string): Mention that the current buffer should
4823         be the same as the search was done in (bug#9282).
4825         * facemenu.el: Disable the remove-* commands if the mark isn't
4826         active (bug#9162).
4828 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4830         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4831         of display-buffer.
4832         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4834         * replace.el (occur-mode-goto-occurrence)
4835         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4836         and display-buffer.
4838         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4839         display-buffer.
4841         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4842         special-display and same-window variables.
4843         (mail-other-window): Use switch-to-buffer-other-window.
4844         (mail-other-frame): USe switch-to-buffer-other-frame.
4846         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4847         Use display-buffer-other-frame.
4848         (gdb-display-gdb-buffer): Use pop-to-buffer.
4850         * progmodes/gud.el (gud-goto-info): Use info-other-window.
4852         * progmodes/python.el: Don't set same-window-buffer-names.
4854         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4856         * window.el (display-buffer-alist): Add *Python*.
4858 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
4860         * window.el (display-buffer-alist): Add entry for buffers
4861         previously handled same-window-*.
4862         (display-buffer-alist, display-buffer-default-action)
4863         (display-buffer-overriding-action): Mark as risky.
4864         (display-buffer-alist): Document action function changes.
4865         (display-buffer--same-window-action)
4866         (display-buffer--other-frame-action): New variables.
4867         (switch-to-buffer, display-buffer-other-frame): Use them.
4868         (display-buffer): Rename reuse-frame entry to reusable-frames.
4869         (display-buffer-reuse-selected-window): Function deleted.
4870         (display-buffer-reuse-window): Handle reusable-frames alist entry.
4871         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4872         (display-buffer-special): New function.
4873         (display-buffer--maybe-pop-up-frame-or-window): Rename from
4874         display-buffer-reuse-or-pop-window.  Split off special-display
4875         part into display-buffer-special.
4876         (display-buffer-use-some-window): Don't perform any special
4877         pop-up-frames handling.
4878         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
4879         (display-buffer--maybe-same-window): Rename from
4880         display-buffer-maybe-same-window.
4882         * info.el: Don't set same-window-regexps.
4883         (info-setup): New function.
4884         (info-other-window, info): Call it.
4886         * cus-edit.el: Don't set same-window-regexps.
4887         (customize-group): New argument.
4888         (customize-group-other-window): Use it.
4889         (customize-face, customize-face-other-window): Likewise.
4890         (custom-buffer-create-other-window): Use pop-to-buffer directly.
4892         * net/rlogin.el:
4893         * net/telnet.el:
4894         * progmodes/gud.el: Don't set same-window-regexps.
4896         * cmuscheme.el:
4897         * ielm.el:
4898         * shell.el:
4899         * mail/sendmail.el:
4900         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4902 2011-09-10  Juri Linkov  <juri@jurta.org>
4904         * isearch.el (isearch-edit-string): Remove obsolete mention of
4905         `C-w' (`isearch-yank-word-or-char') from docstring.
4906         (isearch-query-replace): Fix typo in docstring (bug#9466).
4908 2011-09-10  Juri Linkov  <juri@jurta.org>
4910         * paren.el (show-paren-function): Don't show escaped parens.
4911         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
4913 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
4915         * mail/sendmail.el (mml-to-mime, mml-attach-file)
4916         (mm-default-file-encoding): Remove autoload forms, they are
4917         replaced with autoload cookies in mml.el and mm-encode.el.
4918         (mail-add-attachment): New command.
4919         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4920         (mail-mode): Mention mail-insert-file and mail-add-attachment in
4921         the doc string.
4922         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4924 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
4926         * simple.el (count-words-region): Use buffer if there's no region
4927         (bug#9429).
4929 2011-09-09  Juri Linkov  <juri@jurta.org>
4931         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4932         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4933         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
4935 2011-09-09  Alan Mackenzie  <acm@muc.de>
4937         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4938         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
4940 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
4942         Fix for Savannah bug#9392.
4943         * simple.el (mail-encode-mml): New defvar.
4945         * mail/rmail.el (mail-encode-mml): Add a defvar.
4946         (rmail-enable-mime-composing): Default to t.
4947         (rmail-forward): Use MIME method of forwarding only if both
4948         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4949         Set mail-encode-mml non-nil if the MIME method was used.
4951         * mail/sendmail.el (mml-to-mime): Add autoload form.
4952         (mail-encode-mml): Add a defvar.
4953         (mail-mode): Make mail-encode-mml buffer-local and initialize it
4954         to nil.
4955         (mail-send): If mail-encode-mml is non-nil, run the outgoing
4956         message through mml-to-mime, and reset mail-encode-mml to nil.
4958 2011-09-09  Glenn Morris  <rgm@gnu.org>
4960         * woman.el (woman-if-body): When processing an .el block,
4961         do not delete the next .el block as well.  (Bug#9447)
4962         (woman-special-characters): Add oq, cq, and hy characters.
4964 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4966         * window.el (window-deletable-p): Make sure window is live before
4967         invoking window-prev-buffers.
4969 2011-09-08  Leo Liu  <sdl.web@gmail.com>
4971         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
4973 2011-09-08  Juri Linkov  <juri@jurta.org>
4975         * progmodes/compile.el (compilation-environment): Make it
4976         a defcustom (bug#8340).
4978 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
4980         * window.el (frame-auto-delete): Rename to window-auto-delete.
4981         Make it control auto-deletion of windows and/or frames.
4982         (window-deletable-p): New argument FORCE.  Rewrite conditions
4983         for deleting window/frame.  (Bug#9419)
4984         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4985         Rewrite handling of case when window/frame can be deleted.
4986         (delete-windows-on): Call window-deletable-p with new FORCE
4987         argument t.  (Bug#9456)
4989 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
4991         * help-mode.el (help-mode): Restore autoload.
4993 2011-09-07  Juri Linkov  <juri@jurta.org>
4995         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4996         `compilation-environment'.  Set buffer-local
4997         `compilation-environment' to `thisenv' later after (funcall mode).
4998         (Bug#8340)
5000         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
5001         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5002         instead of replacing its value.  (Bug#8340)
5004 2011-09-07  Juri Linkov  <juri@jurta.org>
5006         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5007         based on text properties put by `grep-filter' instead of matching
5008         escape sequences.
5009         (grep-mode): Set buffer-local `compilation-error-screen-columns'
5010         to the value of `grep-error-screen-columns' (bug#9438).
5012 2011-09-07  Juri Linkov  <juri@jurta.org>
5014         * simple.el (next-error-highlight, next-error-highlight-no-select):
5015         Doc fix (bug#9432).
5017 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
5019         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5020         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
5022 2011-09-07  Leo Liu  <sdl.web@gmail.com>
5024         * net/rcirc.el (rcirc-mode): Conditionally initialize
5025         rcirc-input-ring.
5027 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5029         * emacs-lisp/find-func.el (find-function-C-source): Only set
5030         find-function-C-source-directory after checking that we found a source
5031         file there (bug#9440).
5033 2011-09-06  Alan Mackenzie  <acm@muc.de>
5035         * isearch.el (isearch-other-meta-char): Wherever a key list is
5036         unread, "unread" the prefix arg, too.  This fixes bug #8901.
5038 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5040         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5042 2011-09-05  Juri Linkov  <juri@jurta.org>
5044         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5046 2011-09-05  Juri Linkov  <juri@jurta.org>
5048         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5049         keeping point where processing of grep matches begins, and
5050         continue to delete remaining escape sequences from the same point.
5051         (grep-filter): Make leading zero optional in "0?1;31m" because
5052         git-grep emits "\033[1;31m" escape sequences unlike expected
5053         "\033[01;31m" as GNU Grep does (bug#9408).
5054         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5056 2011-09-05  Juri Linkov  <juri@jurta.org>
5058         * subr.el (y-or-n-p): Capitalize "yes".
5060 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
5062         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
5063         `tramp-cache-unload-hook' where appropriate.
5064         (tramp-methods): Rename `tramp-remote-sh' to
5065         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
5066         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5068         * net/tramp-sh.el (top): Don't require 'shell.
5069         (tramp-methods): Add `tramp-remote-shell' and
5070         `tramp-remote-shell-args' entries.
5071         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5072         (tramp-sh-handle-shell-command): Remove.
5073         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5074         Use `tramp-remote-shell'.
5076 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
5078         * mail/sendmail.el (sendmail-query-once-function): Delete.
5079         (sendmail-query-once): Save directly to send-mail-function.
5080         Update message-send-mail-function too.
5082         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5084 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5086         * progmodes/python.el (python-mode-map): Use correct function to
5087         start python interpreter from menu-bar (as reported by Geert
5088         Kloosterman).
5089         (inferior-python-mode-map): Fix typo.
5090         (python-shell-map): Remove.
5092 2011-09-03  Deniz Dogan  <deniz@dogan.se>
5094         * net/rcirc.el (rcirc-print): Simplify code for
5095         rcirc-scroll-show-maximum-output.  There is no need to walk
5096         through all windows to find the right one.
5098 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5100         * help.el (help-return-method): Doc fix.
5102 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
5104         * window.el (window-deletable-p): Don't return a non-nil value
5105         when there's a buffer that was shown in the window before.
5106         (Bug#9419)
5107         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5108         Set window's previous buffers to nil.
5110 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
5112         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5113         newline before and after the tag line, so it doesn't interfere
5114         with determining the paragraph direction of bidirectional text.
5116 2011-09-03  Leo Liu  <sdl.web@gmail.com>
5118         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
5120 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5122         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5123         (pop-to-buffer): Change interactive spec.  Pass second argument
5124         directly to display-buffer.
5125         (display-buffer): Fix interactive spec.  Use functionp to
5126         distinguish between a function and a list of functions.
5128         * abbrev.el (edit-abbrevs):
5129         * arc-mode.el (archive-extract):
5130         * autoinsert.el (auto-insert):
5131         * bookmark.el (bookmark-bmenu-list):
5132         * files.el (find-file):
5133         * view.el (view-buffer):
5134         * progmodes/compile.el (compilation-goto-locus):
5135         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5137 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5139         * window.el (display-buffer-alist): Doc fix.
5140         (display-buffer): Add docstring.  Don't treat
5141         display-buffer-default specially.
5142         (display-buffer-reuse-selected-window)
5143         (display-buffer-same-window, display-buffer-maybe-same-window)
5144         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5145         (display-buffer-pop-up-window)
5146         (display-buffer-reuse-or-pop-window)
5147         (display-buffer-use-some-window): New functions.
5148         (display-buffer-default-action): Use them.
5149         (display-buffer-default): Delete.
5150         (pop-to-buffer-1): Fix choice of actions.
5152 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5154         * minibuffer.el (completion--insert-strings): Don't get confused by
5155         completion entries that end with an LF char.
5157 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
5159         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5161 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
5163         * window.el (display-buffer): Restore interactive spec.
5164         (display-buffer-same-window, display-buffer-other-window):
5165         New functions.
5166         (pop-to-buffer-1): New function.  Use the above.
5167         (pop-to-buffer, pop-to-buffer-same-window): Use it.
5168         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5170         * view.el (view-buffer-other-window, view-buffer-other-frame):
5171         Just use pop-to-buffer.
5173 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5175         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
5177 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
5179         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
5181 2011-08-31  Richard Stallman  <rms@gnu.org>
5183         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5184         of the separation of rmail-view-buffer from rmail-buffer.
5185         If you say no to "replace original", the decrypt is in the
5186         view buffer.  If you say yes, the decrypt goes into the
5187         rmail buffer also.
5189 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
5191         * window.el (display-buffer-window): Rewrite doc-string.
5192         (display-buffer-record-window): New function.
5193         (display-buffer-macro-specifiers)
5194         (display-buffer-even-window-sizes, display-buffer-set-height)
5195         (display-buffer-set-width, display-buffer-in-window)
5196         (display-buffer-reuse-window, display-buffer-split-specifiers)
5197         (display-buffer-side-specifiers, display-buffer-split-window-1)
5198         (display-buffer-split-window, display-buffer-split-atom-window)
5199         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5200         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5201         (display-buffer-other-window-means-other-frame)
5202         (display-buffer-normalize-special)
5203         (display-buffer-normalize-default)
5204         (display-buffer-normalize-argument)
5205         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5206         (display-buffer-normalize-specifiers, display-buffer-frame)
5207         (display-buffer-same-window, display-buffer-same-frame)
5208         (display-buffer-other-window)
5209         (display-buffer-same-frame-other-window)
5210         (display-buffer-other-frame, pop-to-buffer-same-window)
5211         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5212         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5213         (switch-to-buffer-same-frame)
5214         (switch-to-buffer-other-window-same-frame)
5215         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5216         (display-buffer-alist-set-1, display-buffer-alist-set-2)
5217         (display-buffer-alist-set): Remove.
5218         (display-buffer-function, special-display-buffer-names)
5219         (special-display-regexps, special-display-function):
5220         In doc-string refer to display-buffer-window and quit-restore
5221         parameter.
5222         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5223         (special-display-frame-alist, special-display-popup-frame)
5224         (same-window-buffer-names, same-window-regexps, same-window-p)
5225         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5226         (split-window-preferred-function, split-height-threshold)
5227         (split-width-threshold, window-splittable-p)
5228         (split-window-sensibly, window--try-to-split-window)
5229         (window--frame-usable-p, even-window-heights)
5230         (window--even-window-heights, window--display-buffer-1)
5231         (window--display-buffer-2, display-buffer-other-frame):
5232         Restore old Emacs 23 code, order and doc-strings where applicable.
5233         (display-buffer-default, display-buffer-assq-regexp): New functions.
5234         (display-buffer-alist): Rewrite doc-string.
5235         (display-buffer-default-action)
5236         (display-buffer-overriding-action): New variables.
5237         (display-buffer, switch-to-buffer): Rewrite.
5238         (pop-to-buffer): Restore Emacs 23 behavior but use
5239         window-normalize-buffer-to-display.
5240         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5241         Restore Emacs 23 behavior but use
5242         window-normalize-buffer-to-switch-to.
5243         (pop-to-buffer-same-window): Rewrite.
5244         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5245         Rewrite using Emacs 23 options.
5247 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
5249         * net/tramp.el (tramp-root-regexp): Remove.
5250         (tramp-completion-file-name-regexp-unified)
5251         (tramp-completion-file-name-regexp-separate)
5252         (tramp-completion-file-name-regexp-url): Don't use leading volume
5253         letter on win32 systems.  (Bug#5303, Bug#9311)
5254         (tramp-drop-volume-letter): Simplify definition.
5255         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5257 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5259         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5260         (bug#9356).
5262 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
5264         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5266 2011-08-29  Juri Linkov  <juri@jurta.org>
5268         * isearch.el (isearch-done): Don't display message "Mark saved"
5269         when arg `edit' is non-nil to prevent its flicker in the echo area.
5271 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5273         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5274         obsolete packages for deletion.
5276 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
5278         * help-mode.el (help-mode-map): Add special-mode-map to parent.
5279         (help-mode): Derive help-mode from special-mode.  Don't invoke
5280         view-mode from help-mode.
5281         (help-xref-override-view-map): Remove.
5282         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5283         view-mode is not used anymore.
5285 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5287         * server.el (server-port): Doc fix.
5289         * cus-theme.el (custom-theme-choose-mode): Inherit from
5290         special-mode (Bug#9124).
5291         (custom-theme-choose-mode-map): Add special-mode to parent.
5293 2011-08-28  Alan Mackenzie  <acm@muc.de>
5295         * progmodes/cc-fonts.el
5296         (c-make-font-lock-BO-decl-search-function): New function.
5297         (c-basic-matchers-after - "Fontify the clauses after various
5298         keywords"): Extract the three keyword lists for the 3 erroneous
5299         constructs from the list of four, and use the new function above
5300         in place of an old one.
5302 2011-08-28  Deniz Dogan  <deniz@dogan.se>
5304         * net/rcirc.el (rcirc-insert-prev-input)
5305         (rcirc-insert-next-input): Remove unused argument.
5307 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5309         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5311 2011-08-27  Alan Mackenzie  <acm@muc.de>
5313         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5314         handle function pointer parameters properly.
5316 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
5318         * window.el (display-buffer-reuse-window): Fix case where
5319         selected window was reused with non-nil OTHER-WINDOW argument.
5320         (Bug#9381)
5322 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5324         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5325         oftc's NickServ messages.
5327 2011-08-27  Glenn Morris  <rgm@gnu.org>
5329         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5331 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5333         * emacs-lisp/package.el (package-install): Call package-initialize
5334         if called interactively.
5336 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5338         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5340 2011-08-25  Juri Linkov  <juri@jurta.org>
5342         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5343         `search-whitespace-regexp' (bug#9364).
5345 2011-08-25  Juri Linkov  <juri@jurta.org>
5347         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5348         `regexp-search-ring' to their global values to protect from
5349         updating by `read-from-minibuffer' (bug#9185).
5351 2011-08-25  Juri Linkov  <juri@jurta.org>
5353         * textmodes/ispell.el (ispell-command-loop): Add newline
5354         at the end of the "Use option `i'..." line.
5356 2011-08-25  Juri Linkov  <juri@jurta.org>
5358         * battery.el (display-battery-mode): If `battery-status-function'
5359         or `battery-mode-line-format' is nil, display the message and set
5360         `display-battery-mode' to nil (bug#9363).
5362 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5364         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5365         bidi-string-mark-left-to-right; they are unnecessary now.
5367 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5369         * net/quickurl.el: Documentation typo fixes.
5371 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5373         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5375 2011-08-25  Glenn Morris  <rgm@gnu.org>
5377         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5379         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5380         (smtpmail-via-smtp): Handle nil response from smtp.
5382 2011-08-24  Juri Linkov  <juri@jurta.org>
5384         * proced.el (proced-marked): Inherit from `error' instead of
5385         `font-lock-warning-face'.
5387         * ibuffer.el (ibuffer-marked-face): Change default face from
5388         `font-lock-warning-face' to `warning'.
5389         (ibuffer-deletion-face): Change default face from
5390         `font-lock-type-face' to `error'.
5392         * battery.el (battery-update): Use the face `error' instead of
5393         `font-lock-warning-face' (bug#6117).
5395 2011-08-24  Juri Linkov  <juri@jurta.org>
5397         * faces.el (success): Change face color from "Green3" to
5398         "ForestGreen" on light background (bug#9353).
5400 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5402         * window.el (quit-window): Rename from quit-restore-window.
5403         Use same arglist as old quit-window.
5404         (frame-auto-delete): Doc fix.
5406         * view.el (view-mode-exit): Use quit-window.
5408 2011-08-24  Juri Linkov  <juri@jurta.org>
5410         * isearch.el (isearch-ring-adjust1): Start visiting previous
5411         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5412         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5413         for empty search string (when the last search string is reused
5414         automatically) to adjust the isearch ring to the last element and
5415         prepare the correct index for further M-p commands (bug#9185).
5417 2011-08-24  Kenichi Handa  <handa@m17n.org>
5419         * international/ucs-normalize.el: If decomposition property of
5420         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5421         nil.
5422         (nfd, nfkd): Likewise.
5424 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5426         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5427         from process filters aren't reliably transmitted to the surrounding
5428         accept-process-output.
5429         (mpc-proc-check): New function.
5430         (mpc-proc-sync): Use it (bug#8293)
5432 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5434         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5435         Add compatibility functions (bug#9313).
5437 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5439         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5441         * international/uni-bidi.el: Regenerate.
5443 2011-08-23  Kenichi Handa  <handa@m17n.org>
5445         * international/charprop.el:
5446         * international/uni-bidi.el:
5447         * international/uni-category.el:
5448         * international/uni-combining.el:
5449         * international/uni-comment.el:
5450         * international/uni-decimal.el:
5451         * international/uni-decomposition.el:
5452         * international/uni-digit.el:
5453         * international/uni-lowercase.el:
5454         * international/uni-mirrored.el:
5455         * international/uni-name.el:
5456         * international/uni-numeric.el:
5457         * international/uni-old-name.el:
5458         * international/uni-titlecase.el:
5459         * international/uni-uppercase.el: Regenerate.
5461 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5463         * help.el (help-window-setup): Fix message displayed when other
5464         window is reused.  (Bug#9341)
5466 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5468         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5469         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5471         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5472         Mark obsolete.
5473         * shell.el (shell-parse-pcomplete-arguments): New function.
5474         (shell-completion-vars): Use it instead (bug#9160).
5476 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5478         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5479         strings and comments (bug#9333).
5481         * emacs-lisp/debug.el (debug-arglist): New function.
5482         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5483         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5485 2011-08-22  Juri Linkov  <juri@jurta.org>
5487         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5488         Revert regexp that highlights output switches to its old
5489         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5491         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5492         to check for empty output (bug#9226).
5494 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5496         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5497         symbol-constituent as the default, as that stops font-lock from
5498         working properly (Bug#8843).
5500 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5502         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5503         `coding-system-for-*' around the process open call to avoid
5504         auth-source side effects.
5505         (smtpmail-try-auth-methods): Expand the secret password.
5506         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5507         probe hangs.
5509 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5511         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5513         * emacs-lisp/find-func.el (find-function-noselect): New arg
5514         lisp-only.
5516         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5517         signal an error for built-in functions (Bug#6664).
5519 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5521         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5522         (smtpmail-try-auth-methods): Use it.
5524 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5526         * font-lock.el (font-lock-fontify-region)
5527         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5528         (font-lock-default-unfontify-buffer)
5529         (font-lock-default-fontify-region)
5530         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5532         * progmodes/compile.el (compilation-error-properties):
5533         Fix confusion between file struct and message struct (Bug#9319).
5534         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5535         `ant' regexp.
5537         * net/browse-url.el (browse-url-firefox): Don't call
5538         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5540 2011-08-20  Glenn Morris  <rgm@gnu.org>
5542         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5544         * tutorial.el (tutorial--default-keys): Update some default bindings.
5546         * files.el (hack-local-variables): Fully ignore case for "mode:".
5548 2011-08-20  Alan Mackenzie  <acm@muc.de>
5550         Resolve invalid use of a regexp in regexp-opt.
5552         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5553         detection for a java annotation.
5555         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5556         detection for a java annotation.
5558         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5559         handling for java.
5560         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5562 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5564         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5565         (Bug#9274).
5567 2011-08-20  Alan Mackenzie  <acm@muc.de>
5569         Fontify CPP expressions correctly when starting in the middle of
5570         such a construct.  Mainly for when jit-lock etc. starts a chunk
5571         here.
5573         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5574         variable.
5575         (c-make-font-lock-search-form): New function, extracted from
5576         c-make-font-lock-search-function.
5577         (c-make-font-lock-search-function): Use the above function.
5578         (c-make-font-lock-context-search-function): New function.
5579         (c-cpp-matchers): Enhance the preprocessor expression case with
5580         the above function
5581         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5582         which takes an expression.
5584         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5586 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
5588         * window.el (display-buffer-reuse-window)
5589         (display-buffer-pop-up-window): Don't reuse or split a side
5590         window.
5592 2011-08-19  Glenn Morris  <rgm@gnu.org>
5594         * files.el (hack-local-variables-prop-line, hack-local-variables):
5595         Downcase "Mode:".  (Bug#9331)
5597 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
5599         * international/characters.el: Add L and R categories.
5601         * subr.el (bidi-string-mark-left-to-right): Rename from
5602         string-mark-left-to-right.  Use category search.
5604         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5606 2011-08-18  Juri Linkov  <juri@jurta.org>
5608         * faces.el (error, warning, success): New faces with definitions
5609         copied from old default values of `font-lock-warning-face',
5610         `compilation-warning', `compilation-info' (bug#6117).
5612         * font-lock.el (font-lock-warning-face): Inherit from `error'.
5614         * progmodes/compile.el (compilation-error): Inherit from `error'.
5615         (compilation-warning): Inherit from `warning'.
5616         (compilation-info): Inherit from `success'.
5618         * dired.el (dired-marked): Inherit from `warning'.
5619         (dired-flagged): Inherit from `error'.
5621 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5623         * mail/smtpmail.el (auth-source): Require to avoid problems with
5624         binding variables (bug#9298).  Also clean up some unused
5625         autoloads.
5627         * net/network-stream.el (network-stream-open-starttls):
5628         Support using starttls.el without using gnutls-cli.
5630 2011-08-17  Juri Linkov  <juri@jurta.org>
5632         * progmodes/grep.el (rgrep): Handle the case when
5633         `grep-find-command' is a cons cell (bug#9278).
5635 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
5637         * window.el (display-buffer-pop-up-frame): Run frame creation
5638         function with BUFFER current (as special-display-popup-frame
5639         does).  Reported by Drew Adams.
5641 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
5643         * epa-mail.el: Simplify GnuPG group expansion using
5644         epg-expand-group.
5645         (epa-mail-group-alist, epa-mail-group-modtime)
5646         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5647         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5648         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5649         Remove.
5651 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
5653         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5655 2011-08-16  Alan Mackenzie  <acm@muc.de>
5657         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5658         Correct, to avoid the inside of macros.
5660 2011-08-16  Richard Stallman  <rms@gnu.org>
5662         * epa-mail.el: Handle GnuPG group definitions.
5663         (epa-mail-group-alist, epa-mail-group-modtime)
5664         (epa-mail-gnupg-conf-file): New variables.
5665         (epa-mail-parse-groups, epa-mail-sync-groups)
5666         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5667         (epa-mail-expand-recipients): New functions.
5668         (epa-mail-encrypt): Call epa-mail-expand-recipients.
5670         * mail/rmail.el (rmail-epa-decrypt): New command.
5672         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5673         Don't bind buffer-read-only, just inhibit-read-only.
5674         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5675         (epa-decrypt-armor-in-region): Make error message clearer.
5677 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5679         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5680         and "a2b" to "ab" for `prefix'.
5682 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
5684         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5685         filter groups.
5686         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
5687         Fourquet (Bug#8804).
5689 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
5691         * startup.el (argi): Declare as global variable (bug#9275).
5693 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
5695         * subr.el (string-mark-left-to-right): Search the entire string
5696         for RTL script, not just the terminating character.  Doc fix.
5698 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5700         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5701         New function.
5702         (js--regexp-literal, js-syntax-propertize-function): Remove.
5703         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5704         (js-mode-map): Don't rebind electric keys.
5705         (js-insert-and-indent): Remove.
5706         (js-mode): Setup electric-layout and electric-indent instead.
5708         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5710 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
5712         * epa.el (epa-progress-callback-function): Fix the logic of
5713         displaying progress.
5714         * epa-file.el (epa-file-insert-file-contents): Make progress
5715         display more user-friendly.
5716         (epa-file-write-region): Ditto.
5718 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
5720         * subr.el (string-mark-left-to-right): New function.
5722         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5723         Use string-mark-left-to-right.
5724         (list-buffers-noselect): Caller changed.
5726         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5727         Use string-mark-left-to-right.
5728         (tabulated-list-print): Recenter after moving point.
5730 2011-08-10  Juri Linkov  <juri@jurta.org>
5732         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5733         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5734         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5736 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
5738         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5739         (Bug#7554).
5741 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5743         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5744         character.  (Bug#6594)
5746 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
5748         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5749         (image-dired--with-db-file): New macro.
5750         (image-dired-write-tags, image-dired-remove-tag)
5751         (image-dired-create-gallery-lists, image-dired-write-comments)
5752         (image-dired-get-comment, image-dired-mark-tagged-files)
5753         (image-dired-list-tags, image-dired-gallery-generate): Use it.
5754         (image-dired-gallery-generate): Use insert-file-contents.
5756         * time.el (display-time-world-list, display-time-world-display):
5757         * time-stamp.el (time-stamp-string):
5758         * vc/add-log.el (add-change-log-entry): Use setenv instead of
5759         set-time-zone-rule (Bug#7337).
5761 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
5763         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5764         (epg-error-to-string, epg-errors-to-string): New function.
5765         (epg-wait-for-completion): Reverse errors list.
5766         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5767         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5768         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5769         (epg-sign-keys, epg-generate-key-from-file)
5770         (epg-generate-key-from-string): Format errors by using
5771         epg-errors-to-string (bug#9255).
5772         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5774 2011-08-07  Juri Linkov  <juri@jurta.org>
5776         * faces.el (list-faces-display): Remove extra angle bracket
5777         from `help-mode-map'.
5779         * info.el (Info-history-toc-nodes): Doc fix.
5781         * longlines.el (longlines-mode): Doc fix.
5783 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5785         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5786         of statements and in a few more cases (bug#9183).
5788         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5789         New functions.
5790         (cl-transform-lambda): Use them (bug#9239).
5792 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
5794         * window.el (display-buffer-same-window)
5795         (display-buffer-same-frame, display-buffer-other-window)
5796         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5797         (pop-to-buffer-other-window)
5798         (pop-to-buffer-same-frame-other-window)
5799         (pop-to-buffer-other-frame): Make them defuns.
5800         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5802 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5804         * subr.el (make-composed-keymap): Move from C.  Change calling
5805         convention, and improve docstring to bring attention to a subtle point.
5806         * minibuffer.el (completing-read-default): Adjust accordingly.
5808 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
5810         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5811         (tramp-open-shell): Use `tramp-shell-quote-argument'.
5813         * net/trampver.el: Update release number.
5815 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5817         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5818         "in" (bug#9190).
5820 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5822         * mail/sendmail.el (sendmail-query-once): Restore the current
5823         buffer after querying (bug#9074).
5825         * dired.el (dired-flagged): Use different faces for marked and
5826         flagged files (bug#6117).
5828         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5829         (bug#4433).
5831         * ido.el (ido-mode): Switch off the message if called
5832         non-interactively.
5834         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5835         before 587, since it appears that that's more likely to work for
5836         more people.
5838         * cus-edit.el (custom-file): When running under emacs -q, always
5839         refuse to save the customizations, even if the .emacs file doesn't
5840         exist.
5842         * info.el: Remove the `Info-beginning-of-buffer' function
5843         (bug#8325).
5845         * net/network-stream.el (network-stream-open-starttls):
5846         Use `starttls-available-p' to see whether starttls.el can be used.
5848 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
5850         * window.el (display-buffer-in-window): Don't set dedicated status
5851         of window here (Bug#9215).
5852         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5853         (display-buffer-pop-up-side-window)
5854         (display-buffer-in-side-window): Set dedicated status of window here.
5856 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5858         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5859         before binding generated-autoload-file.
5861 2011-08-01  Deniz Dogan  <deniz@dogan.se>
5863         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5865 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
5867         Sync with Tramp 2.2.2.
5869         * net/trampver.el: Update release number.
5871 2011-07-30  Juri Linkov  <juri@jurta.org>
5873         * dired-aux.el (dired-touch-initial): Remove function.
5874         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5875         current time, and `default' to the last modification time of the
5876         current marked file (bug#6887).
5878 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
5880         * simple.el (goto-line): Use string-to-number to provide a
5881         numeric argument to read-number (bug#9163).
5883 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
5885         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5886         connection process, it could be nil.
5888 2011-07-27  Leo Liu  <sdl.web@gmail.com>
5890         Simplify url handling in rcirc-mode.
5892         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5893         (rcirc-browse-url-at-mouse): Remove.
5894         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5896 2011-07-26  Alan Mackenzie  <acm@muc.de>
5898         Fontify bitfield declarations properly.
5900         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5901         (c-symbol-chars): Now exported as a lang variable.
5902         (c-not-primitive-type-keywords): New lang variable.
5904         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5905         QT keyword "more" to prevent "more slots: ...." being spuriously
5906         parsed as a bitfield declaration.
5908         * progmodes/cc-engine.el (c-beginning-of-statement-1):
5909         Refactor and enhance to handle bitfield declarations.
5910         (c-punctuation-in): New function.
5911         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5912         declarations properly.
5914 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
5916         * calendar/icalendar.el (icalendar--all-events): Take care of
5917         multiple vcalendars in a single file.
5918         (icalendar--convert-float-to-ical): Checkdoc fixes.
5920 2011-07-25  Deniz Dogan  <deniz@dogan.se>
5922         * image.el (insert-image): Clarifying docstring.
5924 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
5926         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5927         `tramp-send-command-and-check' if there is no error.
5928         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5930 2011-07-22  Alan Mackenzie  <acm@muc.de>
5932         Prevent cc-langs.elc being loaded at run time.
5934         * progmodes/cc-mode.el: Remove two autoload forms which loaded
5935         cc-langs.
5937         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
5938         "(require 'cc-langs)".  Quote a form so it will evaluate at
5939         (cc-mode's) compilation time.
5941 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
5943         * net/tramp.el (tramp-file-name-handler): Avoid recursive
5944         loading.  (Bug#9114)
5946 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
5948         * window.el (display-buffer-pop-up-window)
5949         (display-buffer-pop-up-side-window)
5950         (display-buffer-in-side-window): Call display-buffer-set-height
5951         and display-buffer-set-width after setting the new window's
5952         buffer so `fit-window-to-buffer' and friends work on the right buffer.
5954 2011-07-20  Sam Steingold  <sds@gnu.org>
5956         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5957         (etags-tags-included-tables): Call `convert-standard-filename' on
5958         the file names contained in TAGS so that windows Emacs can handle
5959         TAGS files created by cygwin ctags.
5961 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5963         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5964         which apparently didn't work.
5966 2011-07-19  Roland Winkler  <winkler@gnu.org>
5968         * proced.el (proced-send-signal): For *Marked Processes* buffer
5969         put point at beginning of buffer.
5971 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
5973         * proced.el (proced-format): Make header lines align with the text
5974         (bug#1779).
5976 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5978         * view.el (view-buffer): Allow running in `special' modes if we're
5979         visiting a file (bug#8615).
5981 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
5983         * window.el (display-buffer-alist-of-strings-p)
5984         (display-buffer-alist-set-1, display-buffer-alist-set-2):
5985         New functions.
5986         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5987         more accurately.
5989 2011-07-18  Alan Mackenzie  <acm@muc.de>
5991         Fontify declarators properly when, e.g., a jit-lock chunk begins
5992         inside a declaration.
5994         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5996         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5997         New function.
5998         (c-complex-decl-matchers): Insert reference to
5999         c-font-lock-enclosing-decls.
6001         * progmodes/cc-engine.el (c-backward-single-comment):
6002         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6003         to nil around calls to (forward-comment -1).
6005 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6007         * image.el (put-image): Doc typo fix.
6009         * progmodes/etags.el (tags-search): Doc typo fix.
6011         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6012         password if we get errors 550 to 554.
6014 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6016         * net/gnutls.el (gnutls-log-level): Remove.
6018         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6019         indentation character (bug#6380).
6021         * files.el (buffer-offer-save): Made permanently local (bug#6241).
6023         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6024         to clarify what the problem is (bug#4291).
6026         * simple.el (current-kill): Clarify what
6027         `interprogram-paste-function' does (bug#7500).
6028         (auto-fill-mode): Document `auto-fill-function' in relation to
6029         `auto-fill-mode' (bug#2470).
6031 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
6033         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6034         method if slot is read-only (bug#9035).
6036 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
6038         * frame.el (select-frame-set-input-focus): New argument NORECORD.
6039         * window.el (pop-to-buffer): Select window used even if it was
6040         selected before, see discussion of (Bug#8615), (Bug#6954).
6041         Pass argument NORECORD on to select-frame-set-input-focus.
6043 2011-07-15  Glenn Morris  <rgm@gnu.org>
6045         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
6046         Respect help-form.
6048 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
6050         * net/gnutls.el (gnutls-min-prime-bits): New variable.
6051         (gnutls-negotiate): Use it.
6053 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6055         * net/gnutls.el (gnutls-negotiate):
6056         Upcase `gnutls-algorithm-priority'.
6058 2011-07-15  Glenn Morris  <rgm@gnu.org>
6060         * jka-compr.el (jka-compr-verbose): Move from here...
6061         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
6062         Add missing :version tag.
6063         * info.el: No need to require jka-compr when compiling.
6065 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6067         * net/gnutls.el (gnutls-algorithm-priority): New variable.
6068         (gnutls-negotiate): Use it.
6070         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6072         * info.el (Info-beginning-of-buffer): New command.
6073         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6074         announcing `b' as the key (bug#8325).
6075         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6077         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6079         * international/mule-cmds.el
6080         (describe-specified-language-support): Make the error message
6081         clearer (bug#8905).
6083         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6085         * isearch.el (isearch-barrier): Add a doc string, since it's
6086         mentioned in a function doc string (bug#8678).
6088 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
6090         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6091         buffer argument (Bug#9083) and self-identifying label argument.
6093 2011-07-15  Glenn Morris  <rgm@gnu.org>
6095         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
6097 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6099         * man.el (Man-fontify-manpage): Fix message when formatting the
6100         man page (bug#7929).
6102 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6104         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6105         argument LRM; if non-nil, append an invisible LRM character to the
6106         buffer name.
6107         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6108         last argument non-nil, when formatting buffer names.
6109         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6110         paragraph direction.
6112 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6114         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6115         the man page name (bug#7929).
6117         * image.el (put-image): Mention the `put-image' overlay property
6118         (bug#7834).
6120         * scroll-bar.el (set-scroll-bar-mode): Mention that
6121         `scroll-bar-mode' lists the values (bug#7772).
6123         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6124         command (bug#7729).
6126         * rect.el (apply-on-rectangle): Return the point after the last
6127         operation.
6128         (string-rectangle): Go to the point after the last operation
6129         (bug#7522).
6131         * printing.el (pr-toggle-region): Clarify the documentation
6132         slightly (bug#7493).
6134         * time.el (display-time-update):
6135         Allow `display-time-mail-function' to return nil (bug#7158).
6136         Fix suggested by Detlev Zundel.
6138         * vc/diff.el (diff): Clarify the order the file names are read
6139         (bug#7111).
6141         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6142         the doc string (bug#7015).
6144         * font-lock.el (font-lock-maximum-decoration): Mention what
6145         numeric levels mean (bug#6935).
6147         * startup.el (initial-buffer-choice): Don't mention the `none'
6148         selection, which is against policy.
6150 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
6152         * window.el (display-buffer-normalize-special):
6153         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6155 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6157         * subr.el (version<, version<=, version=): Mention "-CVS" and
6158         "-12345" alpha version numbers.
6160 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6162         * bindings.el: Add advertised binding for set-mark-command
6163         (Bug#5772).
6165 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6167         * bindings.el (mode-line-other-buffer):
6168         * bookmark.el (bookmark-bmenu-2-window):
6169         * bs.el (bs-cycle-next, bs-cycle-previous):
6170         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6171         switch-to-buffer.
6173         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6174         Delete.
6176 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
6178         * follow.el (follow-debug-message, follow-redisplay):
6179         * jka-cmpr-hook.el (with-auto-compression-mode):
6180         Fix typos in docstrings.
6182 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6184         * subr.el (with-silent-modifications): Clarify somewhat what the
6185         macro inhibits (bug#6525).
6187         * simple.el (eval-expression): Note what it does if called
6188         interactively (bug#6495).
6190 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6192         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6193         Use pop-to-buffer buffer-or-name if it is nil.
6195         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6196         Remove switch-to-buffer.
6198 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6200         * files.el (make-directory): Clarify that an error will be raised
6201         if there's an error (bug#6397).
6203         * startup.el (initial-buffer-choice): Add `none' as a choice
6204         (bug#6234).
6206         * subr.el (add-hook): Clarify section about buffer-local hooks
6207         (bug#6218).
6209         * dired.el (dired-flagged): Clarify doc string (bug#6117).
6211 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6213         * tabify.el (untabify): Preserve the current column so that point
6214         doesn't move (bug#6032).
6216 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6218         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6219         Rewrite to avoid awkward possessive "s" (bug#5986).
6221 2011-07-13  Glenn Morris  <rgm@gnu.org>
6223         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
6224         (dired-insert-directory): Give a message the first time
6225         if ls is found not to support --dired.
6227 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6229         * simple.el (toggle-truncate-lines): Clarify what is toggled
6230         (bug#5580).  Text by Drew Adams.
6232 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6234         * simple.el (blink-matching-open): Make the error message from the
6235         last change less verbose.
6237 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
6239         * font-lock.el (font-lock-comment-face): Use the high contrast
6240         "yellow" color for font-lock-comment-face on low color terminals
6241         using a dark background color (bug#4221).
6243 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6245         * dired.el (dired-insert-set-properties): Make the doc string
6246         reflect what it does now (bug#5325).
6248         * simple.el (blink-matching-open): Say that we were unable to find
6249         the match within the limit, if we're limited (bug#5122).
6251         * international/mule-cmds.el (prefer-coding-system): Add an
6252         example (bug#4869).
6254         * progmodes/etags.el (tags-search): Document `file-list-form'
6255         (bug#4731).
6257 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
6259         * net/browse-url.el (browse-url-default-browser)
6260         (browse-url-browser-function): Make the default browser choice a
6261         bit more logical (bug#4300).  Also clean up the doc string.
6263 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6265         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6266         binary endings (bug#4440).
6268 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6270         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6271         which can be pretty annoying (bug#8971).
6273         * jka-compr.el (jka-compr-verbose): New variable, and use
6274         throughout (bug#8971).
6276         * info.el (Info-find-file): Fall back on the installation
6277         directory if we can't find the info node anywhere else.
6279 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
6281         * vc/vc.el (vc-revert-file):
6282         Don't set file time-stamp in the past.  (Bug#5181)
6284 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6286         * files.el (after-find-file): Give a better error message when
6287         trying to find a symlink that points to a file that doesn't exist
6288         (bug#4398).
6290         * progmodes/cc-vars.el: Remove (probably) misleading comment
6291         (bug#4396).
6293 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
6295         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6297 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6299         * mouse-sel.el: Hack restoring functionality, while keeping
6300         compatibility with 2010-07-03 changes to mouse selection.
6301         (mouse-sel-primary-overlay): New var.
6302         (mouse-sel-selection-alist): Use it.
6303         (mouse-sel-mode): Doc fix; remove points that are default features
6304         of mouse.el.
6306 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
6308         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6309         Fix previous fix (bug#2490).
6311 2011-07-12  Roland Winkler  <winkler@gnu.org>
6313         * textmodes/bibtex.el (bibtex-initialize):
6314         Use pop-to-buffer-same-window.
6315         (bibtex-search-entries): Fix interactive call.
6317 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6319         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6320         Fontise bytecomp Error lines more correctly (bug#2490).
6321         Fix suggested by Johan BockgÃ¥rd.
6323         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6325         * dired-x.el (dired-guess-default): Use `delete-dups'.
6327 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6329         * dired.el (dired-mark-prompt):
6330         * dired-aux.el (dired-read-shell-command): Doc fix.
6332 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6334         * mail/sendmail.el (sendmail-query-once):
6335         Use `customize-save-variable' unconditionally, now that it works under
6336         emacs -Q.
6338         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6340         * cus-edit.el (custom-file): Take an optional no-error variable.
6341         (customize-save-variable): Set the variable, and give a warning if
6342         running under "emacs -q".
6344 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6346         * loadhist.el (unload-feature-special-hooks):
6347         Add `auto-coding-functions', `fill-nobreak-predicate' and
6348         `find-directory-functions' (bug#5327).
6350 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6352         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6354         * cus-edit.el (custom-guess-name-alist): -alist variables should
6355         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6357         * printing.el: Add documentation to all the `pr-toggle-' commands.
6359 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6361         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6362         backends where it makes sense (bug#2623).
6364 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6366         * dired-x.el (dired-guess-default): Remove duplicate shell command
6367         entries (bug#2028).
6368         (dired-guess-default): Fix grammar in doc string (bug#2028).
6369         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6371         * subr.el (remove-duplicates): New conveniency function.
6373 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6375         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6376         (bug#1526).
6378 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6380         * window.el (display-buffer-normalize-default): Don't invert
6381         meaning of even-window-heights.  Reported by Eli Zaretskii
6382         <eliz@gnu.org>.
6384 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6386         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6388 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6390         * window.el (display-buffer): Fix arguments to
6391         display-buffer-reuse-window in last change.
6393         * faces.el (link): Use a less saturated blue on light backgrounds.
6395         * startup.el (fancy-startup-text, fancy-about-text)
6396         (fancy-startup-tail): Use font-lock faces, for background safety.
6398 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6400         * emulation/viper-cmd.el (viper-change-state-to-vi):
6401         Limit triggering of abbrev expansion (Bug#9038).
6403 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6405         * window.el (display-buffer-default-specifiers): Remove.
6406         (display-buffer-macro-specifiers): Remove default specifiers.
6407         (display-buffer-alist): Default to nil.
6408         (display-buffer-reuse-window): New optional argument other-window.
6409         (display-buffer-pop-up-window): Allow splitting internal
6410         windows.  Check whether a live window was created.
6411         (display-buffer-other-window-means-other-frame)
6412         (display-buffer-normalize-arguments): Rename to
6413         display-buffer-normalize-argument and rewrite.  Set the
6414         other-window specifier.
6415         (display-buffer-normalize-special): New function.
6416         (display-buffer-normalize-options): Rename to
6417         display-buffer-normalize-default and rewrite.
6418         (display-buffer-normalize-options-inhibit): Remove.
6419         (display-buffer-normalize-specifiers): Rewrite.
6420         (display-buffer): Process other-window specifier and call
6421         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6422         more faithfully.
6423         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6424         (display-buffer-alist-set): Don't handle 'unset default values.
6425         (display-buffer-in-window, display-buffer-alist-set):
6426         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6427         <tassilo@member.fsf.org>.
6429 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6431         * register.el (insert-register): Restore accidental change on
6432         2011-06-26.  (Bug#9028)
6434 2011-07-09  Glenn Morris  <rgm@gnu.org>
6436         * subr.el (remq): Handle the empty list.  (Bug#9024)
6438 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6440         * mail/sendmail.el (send-mail-function): No longer delay custom
6441         initialization.
6442         * custom.el (custom-initialize-delay): Doc fix.
6444 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6446         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6448 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6450         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6451         human-friendly prompt.
6453 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6455         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6456         provided by a particular plugin.
6458 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6460         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6461         save customizations (with "emacs -Q"), just set the variable
6462         instead of erroring out.
6464         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6466 2011-07-08  Juri Linkov  <juri@jurta.org>
6468         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6469         (archive-zip-update-case): Use 7z if found by `executable-find'.
6470         The order of searching the available programs is the same as in
6471         `archive-zip-extract' (bug#8968).
6473 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6475         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6476         (menu-bar-options-menu): Tweak descriptions.
6478 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6480         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6481         menu items into verb phrases (bug#1421).  Also refill to fit under
6482         80 columns.
6484 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6486         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6487         (Info-read-node-name): Doc fix (Bug#1084).
6489         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6490         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6491         (end-of-sexp, beginning-of-sexp)
6492         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6493         (forward-symbol, forward-same-syntax, word-at-point)
6494         (sentence-at-point): Doc fix (Bug#1144).
6496 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6498         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6499         should cover it (bug#1281).
6501         * cus-edit.el (custom-show): Mark as obsolete.
6503         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6504         negotiation fails, then possibly try again with a non-encrypted
6505         connection (bug#9017).
6507         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6508         be used.
6510 2011-07-07  Richard Stallman  <rms@gnu.org>
6512         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6513         property, and handle its changed format.
6514         Look for the correct line number.
6515         Use file's line contents (but not past first =) to find
6516         correct line in message.
6518 2011-07-07  Kenichi Handa  <handa@m17n.org>
6520         * international/characters.el (build-unicode-category-table):
6521         Delete it.
6522         (unicode-category-table): Set it by unicode-property-table-internal.
6524         * international/mule-cmds.el (char-code-property-alist): Move to
6525         to src/chartab.c.
6526         (get-char-code-property): Call unicode-property-table-internal to
6527         load a file.  Call get-unicode-property-internal where necessary.
6528         (put-char-code-property): Call unicode-property-table-internal to
6529         load a file.  Call put-unicode-property-internal where necessary.
6530         put-unicode-property-internal where necessary.
6531         (char-code-property-description):
6532         Call unicode-property-table-internal to load a file.
6534         * international/charprop.el:
6535         * international/uni-bidi.el:
6536         * international/uni-category.el:
6537         * international/uni-combining.el:
6538         * international/uni-comment.el:
6539         * international/uni-decimal.el:
6540         * international/uni-decomposition.el:
6541         * international/uni-digit.el:
6542         * international/uni-lowercase.el:
6543         * international/uni-mirrored.el:
6544         * international/uni-name.el:
6545         * international/uni-numeric.el:
6546         * international/uni-old-name.el:
6547         * international/uni-titlecase.el:
6548         * international/uni-uppercase.el: Regenerate.
6550         * loadup.el: Load international/charprop.el before
6551         international/characters.
6553 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6555         * window.el (next-buffer, previous-buffer): Signal an error if
6556         called from a minibuffer window.
6558         * bindings.el: Revert 2011-07-04 change.
6560 2011-07-06  Richard Stallman  <rms@gnu.org>
6562         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6563         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6564         Treat markers like ints.
6565         (rmail-mime-entity): Doc fix.
6567 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6569         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6570         defcustom again for backwards compatibility.
6572         * simple.el (shell-command-on-region): Fill.
6574         * dired-aux.el (dired-kill-line): Add a doc string.
6576         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6577         to "\\sw\\|\\s_" (bug#358).
6579         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6580         (dired-unmark-backward): Ditto.
6581         (dired-flag-backup-files): Ditto.
6583         * dired-x.el (dired-mark-sexp): Ditto.
6585 2011-07-06  Richard Stallman  <rms@gnu.org>
6587         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6588         (rmail-mime-entity): New arg TRUNCATED.
6589         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6590         New functions.
6591         (rmail-mime-save): Warn if entity is truncated.
6592         (rmail-mime-toggle-hidden): Likewise, for showing.
6593         (rmail-mime-process-multipart): Record when an entity is truncated.
6595         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6596         if ENTITY is a string.
6598 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6600         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6601         of faces when `M-C-x'-ing their definitions (bug#8378).
6602         Also clean up the code slightly.
6604         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6605         because that makes the colors go away.
6607         * mail/sendmail.el (send-mail-function): Change the default to
6608         `sendmail-query-once'.
6609         (sendmail-query-once): Add an autoload cookie.
6611         * net/network-stream.el (network-stream-open-starttls): Try using
6612         a plain connection even if the server offered STARTTLS, and we
6613         kinda wanted to use it, if Emacs doesn't have any STARTTLS
6614         capability.  This should make smtpmail.el work in slightly more
6615         configurations.
6617 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
6619         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6620         New defun.
6621         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6623 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
6625         * progmodes/sql.el: Version 3.0
6626         (sql-product-alist): Add product :completion-object,
6627         :completion-column, and :statement attributes.
6628         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6629         (sql-mode-syntax-table): Mark all punctuation.
6630         (sql-font-lock-keywords-builder): Temporarily remove fallback on
6631         ansi keywords.
6632         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6633         (sql-mode-oracle-font-lock-keywords): Improve.
6634         (sql-oracle-show-reserved-words): New function for development.
6635         (sql-product-font-lock): Simplify for source code buffers.
6636         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6637         New functions.
6638         (sql-highlight-product): Set product specific syntax table.
6639         (sql-mode-map): Add statement movement functions.
6640         (sql-ansi-statement-starters, sql-oracle-statement-starters):
6641         New variable.
6642         (sql-statement-regexp, sql-beginning-of-statement)
6643         (sql-end-of-statement, sql-signum): New functions.
6644         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6645         (sql-show-sqli-buffer): Bug fix.
6646         (sql-interactive-mode): Store connection data as buffer local.
6647         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
6648         with sql-interactive-mode.
6649         (sql-save-connection): Save buffer local settings.
6650         (sql-connection-menu-filter): Change menu entry name.
6651         (sql-product-interactive): Bug fix.
6652         (sql-preoutput-hold): New variable.
6653         (sql-interactive-remove-continuation-prompt): Bug fixes.
6654         (sql-debug-redirect): New variable.
6655         (sql-str-literal): New function.
6656         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6657         Redesign.
6658         (sql-oracle-save-settings, sql-oracle-restore-settings)
6659         (sql-oracle-list-all, sql-oracle-list-table): New functions.
6660         (sql-completion-object, sql-completion-column)
6661         (sql-completion-sqlbuf): New variables.
6662         (sql-build-completions-1, sql-build-completions)
6663         (sql-try-completion): New functions.
6664         (sql-read-table-name): Use them.
6665         (sql-contains-names): New buffer local variable.
6666         (sql-list-all, sql-list-table): Use it.
6667         (sql-oracle-completion-types): New variable.
6668         (sql-oracle-completion-object, sql-sqlite-completion-object)
6669         (sql-postgres-completion-object): New functions.
6671 2011-07-06  Glenn Morris  <rgm@gnu.org>
6673         * window.el (pop-to-buffer): Doc fix.
6675 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
6677         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6679 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
6681         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6683         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6685 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
6687         * button.el (button): Inherit from link face.  Suggested by Dan
6688         Nicolaescu.
6690 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6692         * progmodes/gdb-mi.el: Fit in 80 columns.
6693         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6694         switch-to-buffer.
6696         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6697         if imenu is simply not configured (bug#8941).
6699 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
6701         * allout.el (allout-post-undo-hook): New allout outline-change
6702         event hook to signal undo activity.
6703         (allout-post-command-business): Run allout-post-undo-hook if an
6704         undo just occurred.
6705         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6706         * allout-widgets.el (allout-widgets-after-undo-function):
6707         Ensure the integrity of the current item's decoration after it has been
6708         in the vicinity of an undo.
6709         (allout-widgets-mode): Include allout-widgets-after-undo-function
6710         on the new allout-post-undo-hook.
6712 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6714         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6715         Let define-derived-mode define it.
6716         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6717         cycles of abbrev-table inheritance (bug#8998).
6719 2011-07-05  Roland Winkler  <winkler@gnu.org>
6721         * textmodes/bibtex.el: Add support for biblatex.
6722         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6723         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6724         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6725         (bibtex-entry-alist, bibtex-field-alist): New variables.
6726         (bibtex-entry-field-alist): Obsolete alias for
6727         bibtex-BibTeX-entry-alist.
6728         (bibtex-entry-alist, bibtex-field-alist): New widgets.
6729         (bibtex-set-dialect): New command.
6730         (bibtex-entry-type, bibtex-entry-head)
6731         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6732         Bind via bibtex-set-dialect.
6733         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6734         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6735         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6736         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6737         Define via bibtex-set-dialect.
6738         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6739         Obey bibtex-no-opt-remove-re.
6740         (bibtex-vec-push, bibtex-vec-incr): New functions.
6741         (bibtex-format-entry, bibtex-field-list)
6742         (bibtex-print-help-message, bibtex-validate)
6743         (bibtex-search-entries): Use new format of bibtex-entry-alist.
6745 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6747         * progmodes/compile.el (compilation-goto-locus):
6748         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6749         * bs.el (bs-cycle-next, bs-cycle-previous):
6750         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6751         * bindings.el (mode-line-other-buffer):
6752         * autoinsert.el (auto-insert):
6753         * arc-mode.el (archive-extract):
6754         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6756 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6758         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6759         Fix check of `emacs-lock-unlockable-modes'.
6760         Coerce true values of `emacs-lock--try-unlocking' to t.
6762 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6764         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6765         * emacs-lock.el: New file.
6767 2011-07-05  Julien Danjou  <julien@danjou.info>
6769         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6770         than `boundp' to check if face is set.
6772 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6774         * register.el (registerv-make):
6775         * window.el (window-min-height): Fix typos in docstrings.
6777 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
6779         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6780         Update doc string.
6782 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6784         * server.el (server-execute): Catch quit and call
6785         `server-return-error' to pass the error back to emacsclient and
6786         close the connection (bug#8942).
6788 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
6790         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6791         insecure exception for current topic.  Also note that auto-saves
6792         are handled differently.
6794         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6795         State variables for tracking auto-save inhibition situation.
6797         (allout-write-contents-hook-handler): Rename from
6798         'allout-write-file-hook-handler', and describe how it depends on
6799         write-contents-functions sensitivity to non-nil value to prevent
6800         file write.
6802         (allout-auto-save-hook-handler): Remove.  auto-save does not check
6803         this in individual buffers, only in the starting buffer, so this
6804         is not the right way for us to inhibit auto-save in a buffer
6805         according to its condition.
6807         (allout-mode): Use new allout-write-contents-hook-handler, and
6808         only with write-contents-functions.  Remove auto-save provisions -
6809         they're implemented elsewhere.
6811         (allout-before-change-handler): If undo is in progress, note that
6812         for attention of allout-post-command-business.
6814         (allout-post-command-business): If the command we're following was
6815         an undo, check for change in the status of encrypted items and
6816         adjust auto-save inhibitions accordingly.
6818         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6819         according to whether there are or aren't any plain-text topics
6820         pending encryption.
6822         (allout-inhibit-auto-save-info-for-decryption):
6823         Adjust buffer-saved-size and some allout state to inhibit auto-saves
6824         if there are plain-text topics pending encryption.
6826         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6827         buffer-saved-size and some allout state to not inhibit auto-saves
6828         if there are no longer any plain-text topics pending encryption.
6830         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6831         No longer provide for exemption of the current topic.
6833 2011-07-04  Juri Linkov  <juri@jurta.org>
6835         Add 7z operations to delete and save changed members (bug#8968).
6836         * arc-mode.el (archive-7z-expunge, archive-7z-update):
6837         New defcustoms.
6838         (archive-7z-write-file-member): New function.
6839         (archive-7z-summarize): Fix the number of dashes in the
6840         listing output.
6842 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6844         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6845         (bug#8958).
6847 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
6849         * bindings.el: Ignore next-buffer and previous-buffer in
6850         minibuffer-local-map.
6852         * font-lock.el (font-lock-builtin-face): Change light background
6853         color to dark slate blue (Bug#6693).
6855 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
6857         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6859 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6861         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6862         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6863         Add switch-to-buffer.
6865 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6867         * isearch.el (isearch-search-fun-function): Clarify further the
6868         meaning of the function returned.
6870 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
6872         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6874         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6875         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6876         Use it.
6877         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
6878         `tramp-default-remote-path' does not exist.
6879         (tramp-send-command-and-read): New optional argument NOERROR.
6880         (tramp-open-connection-setup-interactive-shell)
6881         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6882         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6883         (tramp-process-sentinel): Flush also process' connection property.
6884         (tramp-sh-handle-start-file-process): Do not set process
6885         sentinel.  It is done now ...
6886         (tramp-maybe-open-connection): ... here.  (Bug#8929)
6888 2011-07-04  MON KEY  <monkey@sandpframing.com>
6890         * play/animate.el (animate-string): Doc fixes and allow changing
6891         the buffer name (bug#5417).
6893 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6895         * play/animate.el (animation-buffer-name): Rename from *animate*.
6897 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
6899         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6900         This is simpler and helps future-proof the code.
6901         (timer-until): Use time-subtract and float-time.
6902         (timer--time-less-p): Use time-less-p.
6904 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
6906         * type-break.el (timep): Use the value of `float-time' to avoid a
6907         byte-compiler warning.
6909         * server.el (server-eval-and-print): Return any result, even nil.
6911 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
6913         * type-break.el: Accept time formats that the builtins accept.
6914         (timep, type-break-time-difference): Accept any format that
6915         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6916         This is simpler and helps future-proof the code.
6917         (type-break-time-difference): Round rather than ignoring
6918         subseconds components.
6920 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6922         * info.el (Info-apropos-matches): Make non-interactive, since it
6923         doesn't seem to do anything useful as a command (bug#8829).
6925 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
6927         * frame.el (frame-background-mode, frame-set-background-mode):
6928         Move from faces.el.
6929         (frame-default-terminal-background): New function.
6931         * custom.el (custom-push-theme): Don't record faces in `changed'
6932         theme; this doesn't work correctly for per-frame face settings.
6933         (disable-theme): Use face-set-after-frame-default to reset faces.
6934         (custom--frame-color-default): New function.
6936 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6938         * dired.el (dired-flagging-regexp): Remove unused variable
6939         (bug#8769).
6941 2011-03-29  Kevin Ryde  <user42@zip.com.au>
6943         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6944         `perl-Test2' extend to match possible "fail #N" rep count
6945         (bug#8377).
6947 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6949         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6950         `smtpmail-via-smtp' now returns the error instead of nil.
6952         * isearch.el (isearch-search-fun-function): Clarify the doc string
6953         (bug#8101).
6955 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
6957         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6958         unnecessary spaces (bug#8987).
6960 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6962         * net/network-stream.el (open-network-stream): Use the
6963         :end-of-capability command thoughout.
6965 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
6967         * net/network-stream.el (open-network-stream): Add the
6968         :end-of-capability command parameter, used by pop3.el.
6970 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6972         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6974         * fringe.el (fringe-query-style): Remove redundant text " (type ?
6975         for list)" (bug#6475).
6977         * files.el (file-expand-wildcards): Ignore non-readable
6978         sub-directories while trying to find matches instead of signaling
6979         an error (bug#6297).
6981         * man.el (Man-reference-regexp): Allow matching possible
6982         word-wrapped references (bug#6289).
6984         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6985         for consistency with the other vc buffers (bug#6197).
6986         (vc-checkin): Ditto.
6988         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6990         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6992 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6994         * custom.el (defcustom): Clarify that :set is only used in the
6995         Customize user interface (bug#6089).
6997         * progmodes/flymake.el (flymake-mode): If the buffer isn't
6998         associated with a file, refuse to run instead of erroring out
6999         (bug#6084).
7001         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7002         the doc string, since it appears that using `fill-column' always
7003         controls the width (bug#7845).
7005         * simple.el (shell-command-on-region): Say where the error output
7006         went if `shell-command-default-error-buffer' is set (bug#6857).
7008 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
7010         * allout.el (allout-yank-processing): Adjust cursor position for
7011         backwards-deleted space.
7013         (allout-rebullet-heading): Register changes with
7014         allout-exposure-changed-hook, so the modified topic is properly
7015         decorated.
7017 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7019         * minibuffer.el (completion-in-region): Document PREDICATE
7020         (bug#7136).
7022         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7023         of keyword/argument pairs (bug#6904).
7025         * replace.el (multi-occur):
7026         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7028 2011-07-02  Drew Adams  <drew.adams@oracle.com>
7030         * dired.el (dired-mark-if): Make the message about whether it's
7031         marking or unmarking clearer (bug#8523).
7033 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7035         * disp-table.el (display-table-print-array): New function.
7036         (describe-display-table): Use it to print the vectors more pretty
7037         (Bug#8859).
7039 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
7041         * window.el (window-state-get-1): Don't assign clone numbers.
7042         Add clone-of item to list of window parameters.
7043         (window-state-put-2): Don't process clone numbers.
7044         (display-buffer-alist): Fix doc-string.
7046 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7048         * subr.el (remq): Don't allocate if it's not needed.
7049         (keymap--menu-item-binding, keymap--menu-item-with-binding)
7050         (keymap--merge-bindings): New functions.
7051         (keymap-canonicalize): Use them to refine the canonicalization.
7052         * minibuffer.el (minibuffer-local-completion-map)
7053         (minibuffer-local-must-match-map): Move initialization from C.
7054         (minibuffer-local-filename-completion-map): Move initialization from C;
7055         don't inherit from anything here.
7056         (minibuffer-local-filename-must-match-map): Make obsolete.
7057         (completing-read-default): Use make-composed-keymap to combine
7058         minibuffer-local-filename-completion-map with either
7059         minibuffer-local-must-match-map or
7060         minibuffer-local-filename-completion-map.
7062 2011-07-01  Glenn Morris  <rgm@gnu.org>
7064         * type-break.el (type-break-time-sum): Use dolist.
7066         * textmodes/flyspell.el (flyspell-word-search-backward):
7067         Replace CL function.
7069 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7071         * mouse.el (mouse--strip-first-event): New function.
7072         (function-key-map): Use it to map fringe clicks to normal clicks
7073         by default.
7075         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7076         (vc-bzr-revision-completion-table): Add support for annotate and date.
7078         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7079         inherit from parent.
7081 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7083         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7084         (dired-show-file-type): Doc fixup (bug#8818).
7086         * dired.el (dired-mode): Fix up the doc string as suggested by
7087         Drew Adams (bug#8817).
7089         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7090         cookie, since the manual says that it should be possible to add
7091         this function to `find-file-hook' (bug#8709).
7093 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7095         * progmodes/cfengine.el: Moved all cfengine3.el functionality
7096         here.  Noted Ted Zlatanov as the maintainer.
7097         (cfengine-common-settings, cfengine-common-syntax): New functions
7098         to set up common things between `cfengine-mode' and
7099         `cfengine3-mode'.
7100         (cfengine3-mode): New mode.
7101         (cfengine3-defuns cfengine3-defuns-regex
7102         (cfengine3-class-selector-regex cfengine3-category-regex)
7103         (cfengine3-vartypes cfengine3-font-lock-keywords)
7104         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7105         (cfengine3-indent-line): Add from cfengine3.el.
7107 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
7109         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7111         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7113 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
7115         * window.el (same-window-buffer-names, same-window-regexps)
7116         (same-window-p, special-display-frame-alist)
7117         (special-display-popup-frame, special-display-function)
7118         (special-display-buffer-names, special-display-regexps)
7119         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7120         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7121         (split-window-preferred-function, split-height-threshold)
7122         (split-width-threshold, even-window-heights)
7123         (display-buffer-mark-dedicated, window-splittable-p)
7124         (split-window-sensibly, window-safely-shrinkable-p):
7125         Un-obsolete.
7126         (display-buffer): Don't spread args with function specifier
7127         because special-display-popup-frame won't like it.
7129 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7131         Time-stamp simplifications and fixes.
7132         These improve accuracy slightly, and future-proof the code
7133         against some potential changes to current-time format.
7135         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7136         by using time-since and float-time.
7138         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7139         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
7140         + NNN microseconds".
7142         * type-break.el (type-break-time-sum): Rewrite using time-add.
7144         * play/hanoi.el (hanoi-current-time-float): Remove.
7145         All uses replaced by float-time.
7147         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7148         This yields a more-accurate answer.
7149         (rng-time-to-float): Remove; no longer needed.
7151         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7153         * calendar/timeclock.el (timeclock-seconds-to-time):
7154         Defalias to seconds-to-time, since they're the same thing.
7156         * emacs-lisp/elp.el (elp-elapsed-time):
7157         * emacs-lisp/benchmark.el (benchmark-elapse):
7158         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7160 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7162         * window.el (bury-buffer): Don't iconify the only frame.
7163         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7164         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
7166 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
7168         * eshell/em-smart.el (eshell-smart-display-navigate-list):
7169         Add mouse-yank-primary.
7171 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7173         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7175 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7177         * emacs-lisp/find-func.el (find-library--load-name): New fun.
7178         (find-library-name): Use it to find relative load names when provided
7179         absolute file name (bug#8803).
7181 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7183         * textmodes/flyspell.el (flyspell-word): Consider words that
7184         differ only in case as potential doublons (bug#5687).
7186         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7187         Remove two rather uninteresting debugging-like messages to make
7188         debbugs.el more silent.
7190         * comint.el (comint-password-prompt-regexp): Accept "Response" as
7191         a password-like phrase.
7193 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
7195         * progmodes/cc-guess.el: New file.
7197         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7199         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7200         derived from `c-basic-common-init'.
7202         * progmodes/cc-mode.el (top-level): Require cc-guess.
7203         (c-basic-common-init): Use `cc-choose-style-for-mode'.
7205 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
7207         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7209 2011-06-30  Alan Mackenzie  <acm@muc.de>
7211         * progmodes/cc-engine.el (c-guess-continued-construct):
7212         Correct the handling of template-args-cont, particularly for when font
7213         lock is disabled.  Name this case as "CASE G".
7215 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
7217         * allout.el (allout-yank-processing): Fix injection of extra space
7218         between bullet and non-whitespace character in first topic when
7219         pasting, ensuring that the actual spacing in the pasted topic
7220         following the bullet char is preserved.  This extra space was
7221         causing pasted encrypted topics to get a decrypted status even
7222         when the content was actually still encrypted.  Now the decryption
7223         status from before the paste is preserved.
7225         (allout-flag-region): Set all allout overlays so they evaporate
7226         when reduced to zero length (evanescent), to prevent overlay
7227         leakage.
7229 2011-06-30  Glenn Morris  <rgm@gnu.org>
7231         * w32-fns.el (w32-charset-info-alist): Declare.
7233         * find-dired.el (find-grep-options): Simplify.
7235         * term/ns-win.el (ns-set-resource): Declare.
7237         * ses.el (row, col): Declare dynamic variables honestly.
7239         * textmodes/reftex-parse.el (index-tags): Declare.
7241 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
7243         * cus-edit.el (customize-push-and-save): New function.
7245         * files.el (hack-local-variables-confirm): Use it.
7247         * custom.el (load-theme): New arg NO-CONFIRM.
7248         Use customize-push-and-save (Bug#8720).
7249         (custom-enabled-themes): Doc fix.
7251         * cus-theme.el (customize-create-theme)
7252         (custom-theme-merge-theme): Callers to load-theme changed.
7254 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7256         * thingatpt.el (thing-at-point-short-url-regexp): Require that
7257         short URLs have at least one dot in them (bug #7614).
7259         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7260         nil, because using a pty is apparently too slow (bug #895).
7262 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7264         * mail/sendmail.el (sendmail-query-once): New function.
7265         (sendmail-query-once-function): New variable.
7267 2011-06-29  Glenn Morris  <rgm@gnu.org>
7269         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7271         * ses.el (top-level): Require cl when compiling.
7272         (ses-set-localvars): Fix error statement.
7273         Call it at compile time to silence a storm of warnings.
7275 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
7277         * window.el (normalize-live-buffer): Rename to
7278         window-normalize-buffer.
7279         (normalize-live-frame): Rename to window-normalize-frame.
7280         (normalize-any-window): Rename to window-normalize-any-window.
7281         (normalize-live-window): Rename to window-normalize-live-window.
7282         (make-window-atom): Rename to window-make-atom.
7283         (window-resize-reset): Rename to window--resize-reset.
7284         (window-resize-reset-1): Rename to window--resize-reset-1.
7285         (resize-mini-window): Rename to window--resize-mini-window.
7286         (resize-subwindows-skip-p): Rename to
7287         window--resize-subwindows-skip-p.
7288         (resize-subwindows-normal): Rename to
7289         window--resize-subwindows-normal.
7290         (resize-subwindows): Rename to window--resize-subwindows.
7291         (resize-other-windows): Rename to window--resize-siblings.
7292         (resize-this-window): Rename to window--resize-this-window.
7293         (resize-root-window): Rename to window--resize-root-window.
7294         (resize-root-window-vertically): Rename to
7295         window--resize-root-window-vertically.
7296         (normalize-buffer-to-display): Rename to
7297         window-normalize-buffer-to-display.
7298         (normalize-buffer-to-switch-to): Rename to
7299         window-normalize-buffer-to-switch-to.
7300         Correspondingly update all callers of the functions listed
7301         above.
7302         (display-buffer-alist, display-buffer-normalize-arguments)
7303         (display-buffer-normalize-options, display-buffer)
7304         (display-buffer-alist-set): Use "function" instead of
7305         "fun-with-args".
7307 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
7309         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7310         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
7311         debbugs.gnu.org.  Mention acknowledgment email.
7313 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7315         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7316         buffer multibyteness, since it shouldn't matter.
7318 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7320         * window.el (display-buffer-in-side-window): Handle dedicated
7321         windows as in display-buffer-reuse-window.
7322         (display-buffer-normalize-alist): Use value of override
7323         specifier.
7324         (display-buffer-normalize-specifiers): Use value of
7325         other-window-means-other-frame specifier.
7326         (display-buffer-alist): Rewrite some texts in widgets.
7327         (display-buffer): Spread arguments when calling function
7328         specified by fun-with-args.
7330 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7332         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7333         Unnest `let'.
7335         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7336         selectors (Bug#5732).
7337         (css-proprietary-nmstart-re): Use `regexp-opt'.
7339 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7341         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7342         (eshell-ls-date-format): New defcustom.
7343         (eshell-ls-file): Use it.
7345 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7347         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7349 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7351         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7352         (ange-ftp-make-tmp-name): New arg.
7353         (ange-ftp-file-local-copy): Use it.
7355 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7357         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7358         no-conversion (Bug#8870).
7360 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7362         * window.el (window-right, window-left, window-child)
7363         (window-child-count, window-last-child)
7364         (window-iso-combination-p, walk-window-tree-1)
7365         (window-atom-check-1, window-tree-1, delete-window)
7366         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7367         new naming conventions - window-vchild, window-hchild,
7368         window-next and window-prev are now called window-top-child,
7369         window-left-child, window-next-sibling and window-prev-sibling
7370         respectively.
7371         (resize-window-reset): Rename to window-resize-reset.
7372         (resize-window-reset-1): Rename to window-resize-reset-1.
7373         (resize-window): Rename to window-resize.
7374         (window-min-height, window-min-width)
7375         (resize-mini-window, resize-this-window, resize-root-window)
7376         (resize-root-window-vertically, adjust-window-trailing-edge)
7377         (enlarge-window, shrink-window, maximize-window)
7378         (minimize-window, delete-window, quit-restore-window)
7379         (split-window, balance-windows, balance-windows-area-adjust)
7380         (balance-windows-area, window-state-put-2)
7381         (display-buffer-even-window-sizes, display-buffer-set-height)
7382         (display-buffer-set-width, set-window-text-height)
7383         (fit-window-to-buffer): Rename all "resize-window" prefixed
7384         calls to use the "window-resize" prefix convention.
7385         (display-buffer-alist): Fix symbol for label specifier.
7386         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7387         corresponding specifier.
7388         Reported by Juanma Barranquero <lekktu@gmail.com>.
7390 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7392         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7393         convention.
7394         (ses-call-printer): Does not pass an empty string to formatter when the
7395         cell is empty to keep from barking printer Calc math-format-value.
7397 2011-06-27  Richard Stallman  <rms@gnu.org>
7399         * battery.el (battery-mode-line-limit): New variable.
7400         (battery-update): Handle it.
7402         * mail/rmailmm.el (rmail-mime-process-multipart):
7403         Handle truncated messages.
7405 2011-06-27  Glenn Morris  <rgm@gnu.org>
7407         * progmodes/flymake.el (flymake-err-line-patterns):
7408         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7410 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7412         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7413         (ses--clean-!, ses--clean-_): New functions.
7414         (ses-range): Add configurability of readout order, and conversion
7415         to Calc vector.
7417         * ses.el (ses-repair-cell-reference-all): New function.
7418         (ses-cell-symbol): Set macro as safe, so that it can be used in
7419         formulas.
7421         * ses.el: Update cycle detection algorithm.
7422         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7423         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7424         (ses-set-localvars): New function.
7425         (ses-make-cell): Add property-list as a cell element.
7426         (ses-cell-property-get-fun, ses-cell-property-get)
7427         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7428         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7429         New functions.
7430         (ses-cell-property-set, ses-cell-property-pop)
7431         (ses-cell-property-get-handle): New macro.
7432         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7433         New aliases, used for code readability.
7434         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7435         cycle detection.
7436         (ses-self-reference-early-detection): New defcustom.
7437         (ses-formula-references): Robustify against self-referring cells.
7438         (ses-mode): Use ses-set-localvars.
7439         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7440         before lauching the update processing.
7441         (ses-initialize-Dijkstra-attempt): New function.
7442         (ses-recalculate-cell): Update for cycle detection based on
7443         Dijkstra algorithm.
7445         * ses.el: Fix commenting and indenting convention.
7447 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7449         * bs.el (bs-cycle-next): Complete last change.
7451 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7453         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7455 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7457         * net/network-stream.el (network-stream-open-starttls):
7458         Don't re-get capabilities unless we've reestablished connection.
7459         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7461         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7462         to binary to possibly avoid line encoding issues on Windows (among
7463         other things).
7465 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7467         * net/network-stream.el (open-network-stream): Return an :error
7468         saying what the problem was, if possible.
7470         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7471         server.
7473         * net/network-stream.el (network-stream-open-starttls): If we
7474         wanted to use STARTTLS, and the server offered it, but we weren't
7475         able to because we had no STARTTLS support, then close the connection.
7476         (open-network-stream): Return an :error element, if present.
7478 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7480         * hl-line.el (hl-line-sticky-flag): Doc fix.
7481         (global-hl-line-sticky-flag): New option (Bug#8323).
7482         (global-hl-line-highlight): Obey it.
7484         * vc/vc.el (vc-revert-show-diff): Default to t.
7486 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7488         * allout-widgets.el (allout-widgets-post-command-business):
7489         Stop decorating intermediate isearch matches.  They're not being
7490         undecorated when an isearch is continued past, and isearch
7491         automatically collapses them.  This leads to "widget leaks", where
7492         decorated items accumulate in collapsed areas.  Lines with lots of
7493         hidden widgets can slow down cursor travel, substantially.
7494         Too much complicated machinery would be needed to ensure undecoration,
7495         so we're doing without this nicety.
7497         (allout-widgets-tally-string): Don't try to do a hash-table-count
7498         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7499         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7500         *Messages* when allout-widgets-maintain-tally is t.
7502 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7504         * window.el (display-buffer-normalize-argument): Rename to
7505         display-buffer-normalize-arguments.  Handle special meaning of
7506         LABEL argument.  Respect special-display-function when popping up
7507         a new frame.  Fix code searching for a window showing the buffer
7508         on another frame.
7509         (display-buffer-normalize-specifiers):
7510         Call display-buffer-normalize-arguments.
7511         (display-buffer-in-window): Don't undedicate the window if its
7512         buffer remains the same.
7513         Reported by Drew Adams <drew.adams@oracle.com>.
7514         (display-buffer-alist): Add choice for same-window macro
7515         specfier.
7516         (display-buffer): Mention special meaning of LABEL argument in
7517         doc-string.  Fix quoting.  Don't pop up a new frame even as
7518         fallback.
7520 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7522         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7523         avoid deleting the current window in some cases (bug#8911).
7525 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7527         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7528         (Bug#8934)
7530 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7532         * net/network-stream.el (network-stream-open-starttls):
7533         Use built-in TLS support if `gnutls-available-p' is true.
7534         (network-stream-open-tls): Ditto.
7536 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7538         * register.el (registerv): New struct.
7539         (registerv-make): New function.
7540         (jump-to-register, describe-register-1, insert-register):
7541         Support the jump-func, print-func and insert-func slot of a registerv
7542         struct.  (Bug#8415)
7544 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7546         * vc/vc.el (vc-revert-show-diff): New defcustom.
7547         (vc-diff-internal): New arg specifying diff buffer.
7548         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7549         reuse an existing *vc-diff* buffer (Bug#8927).
7551         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7553 2011-06-26  Glenn Morris  <rgm@gnu.org>
7555         * progmodes/f90.el (f90-critical-indent): New option.
7556         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7557         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7558         (f90-mode): Doc fix.
7559         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7560         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7561         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7562         (f90-match-end): Handle block, critical.
7564 2011-06-25  Glenn Morris  <rgm@gnu.org>
7566         * calendar/diary-lib.el (diary-included-files): Doc fix.
7567         (diary-include-files): New function, extracted from
7568         diary-include-other-diary-files and diary-mark-included-diary-files.
7569         (diary-include-other-diary-files, diary-mark-included-diary-files):
7570         Just call diary-include-files.
7571         (diary-mark-entries): Reset diary-included-files on first call.
7573         * calendar/diary-lib.el (diary-mark-entries)
7574         (diary-mark-included-diary-files):
7575         Visit included diary-files in temp buffers.
7577         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7578         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7579         (f90-start-block-re, f90-imenu-generic-expression)
7580         (f90-looking-at-program-block-start, f90-no-block-limit):
7581         Add support for submodules.
7583         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7584         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7586 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
7588         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7589         buffer-file-type before setting its value, to avoid disastrous
7590         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
7592 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7594         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7596         * ses.el (ses-unload-function):
7597         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7599         * proced.el (proced-unload-function):
7600         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7602 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
7604         * server.el (server-create-window-system-frame): Add parameters arg.
7605         (server-process-filter): Doc fix.  Handle frame-parameters.
7607 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7609         Fix bug#8730, bug#8781.
7611         * loadhist.el (unload--set-major-mode): New function.
7612         (unload-feature): Use it.
7614         * progmodes/python.el (python-after-info-look): Add autoload cookie.
7615         (python-unload-function): New function.
7617 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7619         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7621 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
7623         * net/browse-url.el (browse-url-firefox-program): Add icecat to
7624         the candidates list.
7626 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
7628         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7630 2011-06-23  Richard Stallman  <rms@gnu.org>
7632         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7633         (rmail-variables): Set next-error-move-function.
7634         (rmail-what-message): Take argument POS.
7635         (rmail-next-error-move): New function.
7637 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7639         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7640         messages for adjacent non-terminals.
7642 2011-06-23  Richard Stallman  <rms@gnu.org>
7644         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7645         (rmail-show-message-1): Preserve buffer modified flag.
7646         (rmail-start-mail): Don't specify use of rmail-mail-return;
7647         that's done by mail-bury now.
7648         (rmail-mail-return): Handle arg NEWBUF.
7650 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
7652         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7653         SIZE is a number.
7655 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
7657         * window.el (get-lru-window, get-mru-window)
7658         (get-largest-window): Never return a minibuffer window.
7659         (display-buffer-pop-up-window): Fix a bug that could lead to
7660         reusing the minibuffer window.
7661         (display-buffer): Pass original specifier argument to
7662         display-buffer-function instead of the normalized one.
7663         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7665 2011-06-22  Leo Liu  <sdl.web@gmail.com>
7667         * minibuffer.el (completing-read-function)
7668         (completing-read-default): Move from minibuf.c
7670 2011-06-22  Richard Stallman  <rms@gnu.org>
7672         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7673         to Rmail even if not started by a special Rmail command.
7675         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7676         Copy the buffer currently showing just one message.
7678 2011-06-22  Roland Winkler  <winkler@gnu.org>
7680         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7681         (bibtex-clean-entry): First delete the old key so that a
7682         customized algorithm for generating the new key does not get
7683         confused by the old key.
7684         (bibtex-url): Obey regexp of first step.
7685         (bibtex-search-entries): Do not use add-to-list with local
7686         list-var.
7688 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7690         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7691         stored a user name, then query for the password first, instead of
7692         waiting for SMTP to give an error message and the trying again.
7694 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
7696         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7697         BUFFER in call-process.
7699 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7701         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7702         QUIT twice.
7703         (smtpmail-try-auth-methods): Require user name and password from
7704         auth-source.
7706 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
7708         * window.el (display-buffer-default-specifiers)
7709         (display-buffer-alist): Remove entries for pop-up-frame-alist.
7710         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7711         (split-window): Normalize SIDE argument (Bug#8916).
7713         * frame.el (pop-up-frame-alist, pop-up-frame-function)
7714         (special-display-frame-alist, special-display-popup-frame):
7715         Remove duplicate declarations.  These are now in window.el.
7717 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7719         * mail/smtpmail.el (smtpmail-via-smtp):
7720         Set :use-starttls-if-possible so that we always use STARTTLS if the
7721         server supports it.  SMTP servers that support STARTTLS commonly
7722         require it.
7724         * net/network-stream.el (network-stream-open-starttls): Support
7725         upgrading to STARTTLS always, even if we don't have built-in support.
7726         (open-network-stream): Add the :always-query-capabilities keyword.
7728         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7729         upgrades with `open-network-stream', and rely solely on
7730         auth-source for all credentials.  Big changes throughout the file,
7731         but in particular:
7732         (smtpmail-auth-credentials): Remove.
7733         (smtpmail-starttls-credentials): Remove.
7734         (smtpmail-via-smtp): Check for servers saying they want AUTH after
7735         MAIL FROM, too.
7737         * net/network-stream.el (network-stream-open-starttls):
7738         Provide support for client certificates both for external and built-in
7739         STARTTLS.
7740         (auth-source): Require.
7741         (open-network-stream): Document the :client-certificate keyword.
7742         (network-stream-certificate): Change cert-cert to cert and
7743         cert-key to key.
7745 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
7747         * net/tramp-cache.el (top): Don't load the persistency file when
7748         "emacs -Q" has been called.
7750 2011-06-21  Tim Harper  <timcharper@gmail.com>
7752         * term/ns-win.el (ns-initialize-window-system):
7753         Set application-specific `ApplePressAndHoldEnabled' system
7754         resource to NO as it is not yet supported by the NS port.
7756 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
7758         * misc.el (list-dynamic-libraries--refresh): Compute header here...
7759         (list-dynamic-libraries): ...not here.
7761 2011-06-21  Leo Liu  <sdl.web@gmail.com>
7763         * subr.el (sha1): Implement sha1 using secure-hash.
7765 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
7767         * window.el (display-buffer-alist): In default value do not
7768         enforce searching a window on any but the selected frame.
7769         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7770         (display-buffer-select-window): Remove function.
7771         (display-buffer-in-window): When a window on another frame gets
7772         reused, do not select it any more but just raise its frame if
7773         necessary (Bug#8851) and (Bug#8856).
7774         (display-buffer-normalize-options): Handle pop-up-frames related
7775         options more faithfully.
7776         (pop-to-buffer): Don't rely on `display-buffer' selecting the
7777         window if it is on another frame.
7778         (display-buffer-alist, display-buffer-default-specifiers):
7779         Don't make new frame unsplittable by default.
7780         (display-buffer-normalize-argument): Fix doc-string typo and use
7781         'same-frame-other-window instead of 'other-window when associating
7782         with display-buffer-macro-specifiers.
7784 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
7786         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7787         New functions.
7788         (5x5-mode-map, 5x5-mode-menu): Bind them.
7789         (5x5-draw-grid): Tweak the solver's rendering.
7791 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7793         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7794         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7796 2011-06-21  Drew Adams  <drew.adams@oracle.com>
7798         * menu-bar.el: Use function variable instead of switch-to-buffer.
7799         (menu-bar-select-buffer-function): New variable.
7800         (menu-bar-update-buffers): Use it (bug#8876).
7802 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7804         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7805         variable's status.
7807 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
7809         * x-dnd.el (x-dnd-version-from-flags)
7810         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7811         and long as number (Bug#8899).
7812         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7814 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7816         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
7817         (completion-try-completion, completion-all-completions): Compute the
7818         metadata argument if it's missing; make it optional (bug#8795).
7820         * wid-edit.el: Use lex-bind and move towards completion-at-point.
7821         (widget-complete): Use new :completion-function property.
7822         (widget-completions-at-point): New function.
7823         (default): Use :completion-function instead of :complete.
7824         (widget-default-completions): Rename from widget-default-complete;
7825         Rewrite.
7826         (widget-string-complete, widget-file-complete, widget-color-complete):
7827         Remove functions.
7828         (file, symbol, function, variable, coding-system, color):
7829         * international/mule-cmds.el (default-input-method, charset)
7830         (language-info-custom-alist):
7831         * cus-edit.el (face): Use new property :completions.
7833         * progmodes/pascal.el (pascal-completions-at-point): New function.
7834         (pascal-mode): Use it.
7835         (pascal-mode-map): Use completion-at-point.
7836         (pascal-toggle-completions): Make obsolete.
7837         (pascal-complete-word, pascal-show-completions):
7838         * progmodes/octave-mod.el (octave-complete-symbol):
7839         Redefine as obsolete alias.
7840         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7841         Signal absence of completion info for old Octave,
7842         (inferior-octave-complete): Redefine as obsolete alias.
7843         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7844         (meta-completions-at-point): Rename from meta-complete-symbol and
7845         adapt it for use on completion-at-point-functions.
7846         (meta-common-mode): Use it.
7847         (meta-looking-at-backward, meta-match-buffer): Remove.
7848         (meta-complete-symbol): Redefine as obsolete alias.
7849         (meta-common-mode-map): Use completion-at-point.
7850         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7851         (makefile-mode-map): Use completion-at-point.
7852         (makefile-completions-at-point): Rename from makefile-complete and
7853         adapt it for use on completion-at-point-functions.
7854         (makefile-mode): Use it.
7855         (makefile-complete): Redefine as obsolete alias.
7857 2011-06-20  Deniz Dogan  <deniz@dogan.se>
7859         * net/rcirc.el: Delete trailing whitespaces once and for all.
7861 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
7863         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7865 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
7867         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7869         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7871 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
7873         * window.el (display-buffer-other-window-means-other-frame):
7874         Call display-buffer-normalize-alist.
7875         (display-buffer-normalize-specifiers-1): Rename to
7876         display-buffer-normalize-argument.  New argument other-frame.
7877         Rewrite.
7878         (display-buffer-normalize-specifiers-2): Rename to
7879         display-buffer-normalize-options.
7880         (display-buffer-normalize-alist-1): New function.
7881         (display-buffer-normalize-specifiers-3): Rename to
7882         display-buffer-normalize-alist.
7883         Call display-buffer-normalize-alist-1.
7884         (display-buffer-normalize-options-inhibit): New variable.
7885         (display-buffer-normalize-specifiers): Rewrite calling
7886         display-buffer-normalize-alist,
7887         display-buffer-normalize-argument, and
7888         display-buffer-normalize-options.  Don't call the latter if
7889         display-buffer-normalize-options-inhibit is non-nil.
7890         (frame-auto-delete): New option.
7891         (window-deletable-p): Use frame-auto-delete.
7892         (window-list-no-nils, window-state-ignored-parameters)
7893         (window-state-get-1, window-state-get, window-state-put-list)
7894         (window-state-put-1, window-state-put-2, window-state-put):
7895         New functions.
7896         (display-buffer-normalize-options): Move special-display-p group
7897         after pop-up-frame group (Bug#8851) and (Bug#8856).
7899 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
7901         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7902         groups (Bug#8776).
7903         (rx-submatch-n): New function.
7904         (rx): Document it.
7906         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7907         (Bug#8768).
7909         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7911         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7913         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7914         anytime existing face settings are present (Bug#8889).
7916         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7917         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7918         Remove unused argument.
7920 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
7922         * window.el (display-buffer-default-specifiers):
7923         Remove pop-up-frame.  Add pop-up-window-min-height,
7924         pop-up-window-min-width, and another reuse-window specifier
7925         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
7926         (display-buffer-normalize-specifiers-2):
7927         Handle split-height-threshold and split-width-threshold also when
7928         pop-up-windows is unset.  Add a reuse-window specifier for the
7929         case popping up a new window fails.
7930         (special-display-popup-frame): Remove double quoting.
7931         (display-buffer-normalize-specifiers-1): Fix thinko.
7933 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7935         * shell.el (shell-completion-vars): Set pcomplete-termination-string
7936         according to comint-completion-addsuffix.
7938         * pcomplete.el: Convert to lexical binding and fix bug#8819.
7939         (pcomplete-suffix-list): Mark as obsolete.
7940         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7941         pcomplete-seen in the closure.
7942         (pcomplete-comint-setup): Setup completion-at-point as well.
7943         (pcomplete--entries): New function.
7944         (pcomplete--env-regexp): New var.
7945         (pcomplete-entries): Rewrite to work with partial-completion and
7946         without relying on pcomplete-suffix-list.
7947         (pcomplete-pare-list): Remove, unused.
7949 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7951         * window.el (display-buffer-alist): Set pop-up-window-min-height
7952         and pop-up-window-min-width in default value.  Reported by
7953         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
7954         other-window-means-other-frame.
7955         (display-buffer-macro-specifiers): Comment out entry for
7956         other-window specifier.
7957         (display-buffer-other-window-means-other-frame): New function.
7958         (display-buffer-normalize-specifiers-1): New arguments
7959         buffer-name and label.  Treat other-window case specially.
7960         (display-buffer-normalize-specifiers-2): Treat other-window case
7961         specially.
7962         (display-buffer-normalize-specifiers-3): New function.
7963         (display-buffer-normalize-specifiers):
7964         Call display-buffer-normalize-specifiers-3.
7966 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
7968         * window.el (same-window-p): Fix two typos introduced when
7969         adding with-no-warnings.
7970         (display-buffer-normalize-specifiers-1): Don't check
7971         pop-up-frames for 'unset initialization.
7972         (display-buffer-normalize-specifiers-2): Major rewrite using
7973         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7974         (pop-up-frames, display-buffer-reuse-frames)
7975         (display-buffer-mark-dedicated): Don't initialize to 'unset.
7976         Suggested by David Engster <deng@randomsample.de>.
7977         (even-window-heights): Initialize to 'unset.
7978         (display-buffer-alist-set): Handle new 'unset initializations.
7979         (display-buffer-macro-specifiers): Don't pop up a new frame in the
7980         other window case.
7982 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
7984         * window.el (display-buffer-normalize-specifiers-1):
7985         Respect current value of pop-up-frames for most reasonable values of
7986         second argument of display-buffer (Bug#8865).
7987         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7988         (switch-to-buffer-other-window-same-frame)
7989         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
7990         Adams (Bug#8875).
7991         (display-buffer): Don't check noninteractive when calling
7992         display-buffer-pop-up-frame.
7993         (display-buffer-pop-up-frame): Never pop up a frame in
7994         noninteractive mode (Bug#8857).
7995         (enlarge-window, shrink-window): Don't report an error when the
7996         window can't be resized as requested (Bug#8862).
7998 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8000         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8002         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8004         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8006 2011-06-15  Alan Mackenzie  <acm@muc.de>
8008         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8009         for declarators, disable knr checking to speed up for normal files.
8010         2: Refactor, replacing a sequence of nested if forms by a cond form.
8012 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8014         * net/network-stream.el (open-network-stream): Add the keyword
8015         :always-query-capabilities for the case where you want to force a
8016         `plain' network connection, but the protocol still requires the
8017         capabilitiy command (i.e., SMTP and EHLO).
8019         * subr.el (process-live-p): Rename from `process-alive-p' for
8020         consistency with other `-live-p' functions.
8022 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8024         * window.el (same-window-buffer-names, same-window-regexps)
8025         (special-display-frame-alist, special-display-popup-frame)
8026         (special-display-function, special-display-buffer-names)
8027         (special-display-regexps, pop-up-frame-alist)
8028         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8029         (pop-up-windows, split-window-preferred-function)
8030         (split-height-threshold, split-width-threshold, even-window-heights)
8031         (display-buffer-mark-dedicated): Don't encourage the use of
8032         display-buffer-alist from Elisp code.
8034 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
8036         * progmodes/python.el (python-mode): Derive from prog-mode.
8037         * progmodes/ps-mode.el (ps-mode):
8038         * progmodes/mixal-mode.el (mixal-mode):
8039         * progmodes/cfengine.el (cfengine-mode):
8040         * progmodes/ld-script.el (ld-script-mode): Likewise.
8042 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
8044         * window.el (display-buffer-alist): Trim default value to avoid
8045         popping up a new frame (Bug#8857) or reusing an arbitrary window
8046         on another frame.
8047         (display-buffer): Do not fall back on popping up a new frame in
8048         batch mode (Bug#8857).
8050 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
8052         * cus-theme.el (describe-theme-1): Use custom-theme-p.
8053         (custom-theme-summary): New function.
8054         (customize-themes): Use it.
8056 2011-06-13  Glenn Morris  <rgm@gnu.org>
8058         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8060 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
8062         * help.el (help-window): Remove variable.
8063         (help-window-point-marker, temp-buffer-max-height)
8064         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8065         (help-print-return-message): Don't set help-window.
8066         (resize-temp-buffer-window): Rewrite cod eand doc-string.
8067         (help-window-setup-finish): Remove.
8068         (help-window-display-message, help-window-setup)
8069         (with-help-window): Major rewrite based on new
8070         display-buffer-window variable.
8072         * help-mode.el (help-mode-finish): Remove help-window related
8073         code.
8075         * view.el (view-exits-all-viewing-windows): Remove reference to
8076         view-return-to-alist in doc-string.
8077         (view-return-to-alist): Make obsolete.
8078         (view-buffer): Call pop-to-buffer-same-window and remove
8079         undo-window code.
8080         (view-buffer-other-window): Call pop-to-buffer-other-window and
8081         simplify code.  Ignore second argument.
8082         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8083         simplify code.  Ignore second argument.
8084         (view-return-to-alist-update): Make obsolete.
8085         (view-mode-enter): Rename second argument to QUIT-RESTORE.
8086         Rewrite using quit-restore window parameters.
8087         (view-mode-exit): Rename second argument to EXIT-ONLY.
8088         Rewrite using quit-restore-window.
8089         (View-exit, View-exit-and-edit, View-leave, View-quit)
8090         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8091         appropriate arguments.
8092         (view-end-message): Use quit-restore window parameter.
8094         * window.el (display-buffer-function): Rewrite doc-string.
8095         (display-buffer-window, display-buffer-alist): New variables.
8096         (display-buffer-split-specifiers)
8097         (display-buffer-side-specifiers)
8098         (display-buffer-macro-specifiers): New constants.
8099         (display-buffer-even-window-sizes, display-buffer-set-height)
8100         (display-buffer-set-width, display-buffer-select-window)
8101         (display-buffer-in-window, display-buffer-reuse-window)
8102         (display-buffer-split-window-1, display-buffer-split-window)
8103         (display-buffer-split-atom-window, display-buffer-pop-up-window)
8104         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8105         (display-buffer-in-side-window, normalize-buffer-to-display)
8106         (display-buffer-normalize-specifiers-1)
8107         (display-buffer-normalize-specifiers-2)
8108         (display-buffer-normalize-specifiers, display-buffer-frame):
8109         New functions.
8110         (display-buffer): Major rewrite.
8111         (display-buffer-other-window, display-buffer-other-frame)
8112         (pop-to-buffer, switch-to-buffer-other-window)
8113         (switch-to-buffer-other-frame): Rewrite.
8114         (display-buffer-same-window, display-buffer-same-frame)
8115         (display-buffer-same-frame-other-window)
8116         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8117         (pop-to-buffer-other-window)
8118         (pop-to-buffer-same-frame-other-window)
8119         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8120         (switch-to-buffer-other-window-same-frame): New functions.
8121         (same-window-p, special-display-p): Rewrite disabling warnings.
8122         Make obsolete.
8123         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8124         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8125         Make obsolete
8126         (same-window-buffer-names, same-window-regexps)
8127         (special-display-frame-alist, special-display-popup-frame)
8128         (special-display-function, special-display-buffer-names)
8129         (special-display-regexps, pop-up-frame-alist)
8130         (pop-up-frame-function, split-window-preferred-function)
8131         (split-height-threshold, split-width-threshold)
8132         (even-window-heights): Make obsolete.
8134 2011-06-12  Glenn Morris  <rgm@gnu.org>
8136         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
8137         Misc simplifications.
8139 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
8141         * window.el (window-safely-shrinkable-p): Restore function which
8142         was inadvertently removed in change from 2011-06-11.  Declare as
8143         obsolete.
8145         * calendar/calendar.el (calendar-generate-window):
8146         Use window-iso-combined-p instead of combination of one-window-p and
8147         window-safely-shrinkable-p.
8149 2011-06-12  Glenn Morris  <rgm@gnu.org>
8151         * progmodes/fortran.el (fortran-mode-syntax-table):
8152         * progmodes/f90.el (f90-mode-syntax-table):
8153         Set % to punctuation.  (Bug#8820)
8154         (f90-find-tag-default): Remove, no longer needed.
8156 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
8158         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8160 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
8162         * image.el (image-animated-p): Return animation delay in seconds.
8163         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8164         (image-animate-timeout): Remove DELAY argument.  Don't assume
8165         every subimage has the same delay; get it from image-animated-p.
8166         (image-animate): Caller changed.
8168 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
8170         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8171         to ignored backtrace functions.
8173 2011-06-11  Glenn Morris  <rgm@gnu.org>
8175         * calendar/appt.el (appt-disp-window-function): Doc fix.
8176         (appt-check): Handle overlapping appointments.  (Bug#8337)
8178 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
8180         * window.el (window-tree-1, window-tree): New functions, moving
8181         the latter to window.el.
8182         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8183         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8184         (bw-refresh-edges): Remove.
8185         (balance-windows-1, balance-windows-2): New functions.
8186         (balance-windows): Rewrite in terms of window tree functions,
8187         balance-windows-1 and balance-windows-2.
8188         (bw-adjust-window): Remove.
8189         (balance-windows-area-adjust): New function with functionality of
8190         bw-adjust-window but using resize-window.
8191         (set-window-text-height): Rewrite doc-string.
8192         Use normalize-live-window and resize-window.
8193         (enlarge-window-horizontally, shrink-window-horizontally):
8194         Rename argument to DELTA.
8195         (window-buffer-height): New function.
8196         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8197         Rewrite using new window resize routines.
8198         (kill-buffer-and-window, mouse-autoselect-window-select):
8199         Use ignore-errors instead of condition-case.
8200         (quit-window): Call delete-frame instead of delete-windows-on
8201         for the only buffer on frame.
8203 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8205         * loadup.el (top-level): Load window before files for the sake
8206         of replace-buffer-in-windows.
8208         * files.el (read-buffer-to-switch)
8209         (switch-to-buffer-other-window)
8210         (switch-to-buffer-other-frame, display-buffer-other-frame):
8211         Move to window.el.
8213         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8214         (previous-buffer): Move to window.el.
8216         * bindings.el (unbury-buffer): Move to window.el.
8218         * window.el (delete-other-windows-vertically): Move after
8219         definition of delete-other-windows.
8220         (other-window, delete-windows-on, replace-buffer-in-windows):
8221         Move here from window.c.
8222         (record-window-buffer, unrecord-window-buffer)
8223         (set-window-buffer-start-and-point, switch-to-prev-buffer)
8224         (switch-to-next-buffer): New functions.
8225         (get-next-valid-buffer, last-buffer, next-buffer): Move here
8226         from simple.el.  Call switch-to-next-buffer.
8227         (previous-buffer): Move here from simple.el.
8228         Call switch-to-prev-buffer.
8229         (bury-buffer): Move here from buffer.c.  Switch to previous
8230         buffer when window cannot be deleted.
8231         (unbury-buffer): Move here from bindings.el.
8232         (ctl-x-map): Move binding for other-window from window.c to
8233         here.
8234         (read-buffer-to-switch, switch-to-buffer-other-window)
8235         (switch-to-buffer-other-frame): Move here from files.el.
8236         (normalize-buffer-to-switch-to): New functions.
8237         (switch-to-buffer): Move here from buffer.c.
8238         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8240 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8242         * window.el (window-min-height, window-min-width): Move here
8243         from window.c.  Add defcustoms and rewrite doc-strings.
8244         (resize-mini-window, resize-window): New functions.
8245         (adjust-window-trailing-edge, enlarge-window, shrink-window):
8246         Move here from window.c.
8247         (maximize-window, minimize-window): New functions.
8248         (delete-window, delete-other-windows, split-window): Move here
8249         from window.c.
8250         (window-split-min-size): New function.
8251         (split-window-keep-point): Mention split-window-above-each-other
8252         instead of split-window-vertically.
8253         (split-window-above-each-other, split-window-vertically):
8254         Rename split-window-vertically to split-window-above-each-other
8255         and provide defalias for old definition.
8256         (split-window-side-by-side, split-window-horizontally):
8257         Rename split-window-horizontally to split-window-side-by-side
8258         and provide defalias for the old definition.
8259         (ctl-x-map): Move bindings for delete-window,
8260         delete-other-windows and enlarge-window here from window.c.
8261         Replace bindings for split-window-vertically and
8262         split-window-horizontally by bindings for
8263         split-window-above-each-other and split-window-side-by-side.
8265         * cus-start.el (all): Remove entries for window-min-height and
8266         window-min-width.  Add entries for window-splits and
8267         window-nest.
8269 2011-06-09  Glenn Morris  <rgm@gnu.org>
8271         * calendar/appt.el (appt-mode-line): New function.
8272         (appt-check, appt-disp-window): Use it.
8274         * files.el (hack-one-local-variable-eval-safep):
8275         Allow minor-modes with explicit +/-1 arguments.
8277 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
8279         * term/xterm.el (xterm): Add defgroup.
8280         (xterm-extra-capabilities): Add defcustom to supply known xterm
8281         capabilities, skip querying them, or query them (default).
8282         (terminal-init-xterm): Use it.
8283         (terminal-init-xterm-modify-other-keys): New function to set up
8284         modifyOtherKeys support to simplify `terminal-init-xterm'.
8286 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
8288         * window.el (resize-window-reset, resize-window-reset-1)
8289         (resize-subwindows-skip-p, resize-subwindows-normal)
8290         (resize-subwindows, resize-other-windows, resize-this-window)
8291         (resize-root-window, resize-root-window-vertically)
8292         (window-deletable-p, window-or-subwindow-p)
8293         (frame-root-window-p): New functions.
8295 2011-06-09  Glenn Morris  <rgm@gnu.org>
8297         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8298         (ange-ftp-get-files): Use it.
8300 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8302         * mail/sendmail.el (mail-recover-1, mail-recover):
8303         * files.el (recover-file, recover-session):
8304         Handle dired-listing-switches not being just a single short option.
8306 2011-06-09  Glenn Morris  <rgm@gnu.org>
8308         * calendar/appt.el (appt-display-message, appt-disp-window):
8309         Handle lists of appointments.
8311 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8313         * window.el (one-window-p): Move down in code.
8314         Rewrite doc-string.
8315         (window-current-scroll-bars): Rewrite doc-string.
8316         Normalize live window argument.
8317         (walk-windows, get-window-with-predicate, count-windows):
8318         Rewrite doc-string.  Use window-list-1.
8319         (window-in-direction-2, window-in-direction, get-mru-window):
8320         New functions.
8322 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8324         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8325         Doc fix (Bug#8713).
8327 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8329         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8331 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8333         * loadhist.el (unload-feature-special-hooks):
8334         Add `comint-output-filter-functions'.
8336 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8338         * calendar/appt.el (appt-check): Move some initializations into the let.
8340 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8342         * window.el (window-height): Defalias to window-total-height.
8343         (window-width): Defalias to window-body-width.
8345 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8347         * image-mode.el (image-toggle-animation): New command.
8348         (image-mode-map): Bind it to RET.
8349         (image-mode): Update message.
8350         (image-toggle-display-image): Avoid a spurious cache flush.
8351         (image-transform-rotation): Doc fix.
8352         (image-transform-properties): Return quickly in the normal case.
8353         (image-animate-loop): Rename from image-animate-max-time.
8355         * image.el (image-animate-max-time): Move to image-mode.el.
8356         (create-animated-image): Remove unnecessary function.
8357         (image-animate): Rename from image-animate-start.  New arg.
8358         (image-animate-stop): Remove; just use image-animate-timer.
8359         (image-animate-timer): Use car-safe.
8360         (image-animate-timeout): Rename argument.
8362 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8364         * window.el (get-lru-window, get-largest-window): Move here from
8365         window.c.  Rename first argument to ALL-FRAMES.
8366         Rephrase doc-strings.
8367         (get-buffer-window-list): Rewrite using window-list-1.
8368         Rephrase doc-string.
8369         (window-safe-min-height, window-safe-min-width): New constants.
8370         (window-size-ignore, window-min-size, window-min-size-1)
8371         (window-sizable, window-sizable-p, window-size-fixed-1)
8372         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8373         (window-max-delta-1, window-max-delta, window-resizable)
8374         (window-resizable-p, window-total-height, window-total-width)
8375         (window-body-width): New functions.
8376         (window-full-height-p, window-full-width-p): Rewrite using
8377         window-total-size.
8378         (window-body-height): Rewrite using window-body-size.
8380 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8382         * window.el (window-right, window-left, window-child)
8383         (window-child-count, window-last-child, window-any-p)
8384         (normalize-live-buffer, normalize-live-frame)
8385         (normalize-any-window, normalize-live-window)
8386         (window-iso-combination-p, window-iso-combined-p)
8387         (window-iso-combinations)
8388         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8389         (windows-with-parameter, window-with-parameter)
8390         (window-atom-root, make-window-atom, window-atom-check-1)
8391         (window-atom-check, window-side-check, window-check):
8392         New functions.
8393         (ignore-window-parameters, window-sides, window-sides-vertical)
8394         (window-sides-slots): New variables.
8395         (window-size-fixed): Move down in code.  Minor doc-string fix.
8397 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8399         * comint.el (comint-dynamic-complete-as-filename)
8400         (comint-dynamic-complete-filename): Correctly call
8401         completion-in-region.
8403 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8405         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8406         in last change.
8408 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8410         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8411         (rcirc): Use it to prompt for encryption.
8413 2011-06-05  Roland Winkler  <winkler@gnu.org>
8415         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8416         (bibtex-search-entries): New command bound to C-c C-a.
8417         (bibtex-display-entries): New function.
8419 2011-06-05  Roland Winkler  <winkler@gnu.org>
8421         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8422         (bibtex-insert-kill): After yanking insert newline if necessary.
8423         (bibtex-initialize): Call bibtex-string-files-init only once.
8424         (bibtex-mode): Do not call easy-menu-add.
8425         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8426         (bibtex-yank): Set arg properly if nil.
8428 2011-06-05  Roland Winkler  <winkler@gnu.org>
8430         * textmodes/bibtex.el (bibtex-search-entry-globally):
8431         New variable.
8432         (bibtex-search-entry): Use it.
8434 2011-06-05  Roland Winkler  <winkler@gnu.org>
8436         * textmodes/bibtex.el (bibtex-entry-format): New option
8437         sort-fields.
8438         (bibtex-format-entry, bibtex-reformat): Honor this option.
8439         (bibtex-parse-entry): Return fields in proper order.
8441 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8443         * doc-view.el (doc-view-remove-if): Move computation of result out
8444         of `dolist' to silence misleading lexical-binding warning.
8446 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8448         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8449         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8451 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8453         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8454         "SunOS 5.10".
8456 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8458         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8459         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8460         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8461         (tramp-parse-putty):
8462         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8463         (tramp-completion-function-alist-ssh)
8464         (tramp-completion-function-alist-telnet)
8465         (tramp-completion-function-alist-su)
8466         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8467         cookie.
8469         * net/tramp-ftp.el:
8470         * net/tramp-sh.el:
8471         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8472         load "tramp.el" `tramp-set-completion-function'.
8474 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8476         * shell.el: Require and use pcomplete.
8477         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8478         (shell-completion-vars): Set pcomplete-default-completion-function.
8480 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8482         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8483         `memq' (Bug#8799).
8485 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8487         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8489 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8491         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8492         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8493         * vc/log-view.el (log-view-beginning-of-defun):
8494         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8495         (smerge-refine-forward, smerge-refine-chopup-region):
8496         Silence warning for unused `dotimes' counter variables.
8498 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8500         * net/tramp.el (tramp-with-progress-reporter): Rename from
8501         with-progress-reporter.  Use `declare'.
8502         * net/tramp-smb.el:
8503         * net/tramp-sh.el:
8504         * net/tramp-gvfs.el: Update all uses.
8506 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8508         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8509         buffer isn't killed before making it current.
8511 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8513         Silence various byte-compiler warnings.
8514         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8515         `access-type' and new obsolescence format.
8516         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8517         new format.
8518         (byte-compile-check-variable): New `access-type' argument.
8519         Only warn if the access-type is obsolete.
8520         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8521         (byte-compile-variable-set): Adjust callers.
8522         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8523         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8524         setting it as obsolete.
8525         * simple.el (minibuffer-completing-symbol):
8526         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8527         access as obsolete.
8528         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8529         obsolete yet.
8530         * international/quail.el (quail-mouse-choose-completion): Remove unused
8531         code referring to obsolete var.
8532         (quail-choose-completion-string): Remove.
8533         * server.el (server-clients-with, server-kill-buffer-query-function)
8534         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8535         * proced.el (proced-send-signal):
8536         * emacs-lisp/lisp.el (lisp-complete-symbol):
8537         Replace completion-annotate-function with completion-extra-properties.
8539 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8541         * simple.el (goto-line): Use read-number.
8542         (overriding-map-is-bound): Remove.
8543         (saved-overriding-map): Change default.
8544         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8545         Take the map as argument.
8546         (universal-argument, negative-argument, digit-argument): Use it.
8547         (restore-overriding-map): Adjust.
8548         (do-auto-fill): Use fill-forward-paragraph.
8549         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8551         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8552         (minibuffer-inactive-mode): New major mode.
8553         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8554         the *Messages* buffer" hack.
8555         (mouse-popup-menubar): Don't burp if the event is a normal key.
8557         Miscellaneous tweaks.
8558         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8559         lexical scoping as in subr.el's dolist and dotimes.
8560         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8561         Silence compiler warning.
8562         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8563         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8564         * international/ccl.el (ccl-compile): Trivial simplification.
8565         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8566         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8567         `printflag' argument.
8568         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8569         Purecopy the whole obsolescence data.
8571 2011-06-01  Leo Liu  <sdl.web@gmail.com>
8573         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8574         improve doc-string as suggested by Marco Pessotto
8575         <melmothx@gmail.com>.
8576         (rcirc-print): Fix last change.
8578 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8580         * minibuffer.el (complete-with-action): Return nil for the metadata and
8581         boundaries of non-functional tables.
8582         (completion-table-dynamic): Return nil for the metadata.
8583         (completion-table-with-terminator): Add default case, using
8584         complete-with-action.
8585         (completion--metadata): New function.
8586         (completion-all-sorted-completions, minibuffer-completion-help): Use it
8587         to try and avoid pathological performance problems.
8588         (completion--embedded-envvar-table): Return `category' metadata.
8590 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8592         * subr.el (process-alive-p): New tiny convenience function.
8594 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8596         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8597         content but also its previous major mode.
8599 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
8601         * emacs-lisp/debug.el (debug): Restore the previous content of the
8602         *Backtrace* buffer when we exit with C-M-c.
8604 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8606         * minibuffer.el: Add metadata method to completion tables.
8607         (completion-category-overrides): New defcustom.
8608         (completion-metadata, completion--field-metadata)
8609         (completion-metadata-get, completion--styles)
8610         (completion--cycle-threshold): New functions.
8611         (completion-try-completion, completion-all-completions):
8612         Add `metadata' argument to choose completion-styles.
8613         (completion--do-completion): Use metadata to choose cycling.
8614         (completion-all-sorted-completions): Use metadata for sorting.
8615         Remove :completion-cycle-penalty which is not needed any more.
8616         (completion--try-word-completion): Add `metadata' argument.
8617         (minibuffer-completion-help): Check metadata for annotation function
8618         and sorting.
8619         (completion-file-name-table): Return `category' metadata.
8620         (minibuffer-completing-file-name): Make obsolete.
8621         * simple.el (minibuffer-completing-symbol): Make obsolete.
8622         * icomplete.el (icomplete-completions): Pass new `metadata' param to
8623         completion-try-completion.
8625 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8627         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8629 2011-05-30  Leo Liu  <sdl.web@gmail.com>
8631         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8632         (rcirc-print): Decode all incoming messages (bug#8744).
8633         (rcirc-decode-coding-system): Allow value nil for automatic coding
8634         system detection.
8636 2011-06-01  Glenn Morris  <rgm@gnu.org>
8638         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8640 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8642         * image.el (image-animate-max-time): Allow nil and t values.
8643         Default to nil.
8644         (create-animated-image): Doc fix.
8645         (image-animate-start): Remove second arg; just use
8646         image-animate-max-time.
8647         (image-animate-timeout): Doc fix.  Args changed.
8649         * image-mode.el (image-toggle-display-image): Ensure that the
8650         image spec passed to the animate timer is the same object as in
8651         the buffer's display property (Bug#6981).
8652         (image-transform-properties): Doc fix.
8654         * image.el (image-animate-max-time): Default to nil.
8656 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
8658         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8659         entire buffer list (Bug#8184).
8661 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8663         * image.el (imagemagick-types-inhibit)
8664         (imagemagick-register-types): Doc fix.
8666 2011-05-29  Deniz Dogan  <deniz@dogan.se>
8668         * net/rcirc.el (rcirc): Use the user's stored encryption method by
8669         default.
8671 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8673         * select.el: Don't perform clipboard-manager saving in hooks;
8674         leave the hooks empty.
8676 2011-05-28  Leo Liu  <sdl.web@gmail.com>
8678         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8679         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
8680         (occur-edit-mode): New major mode (Bug#8463).
8681         (occur-after-change-function): New function.
8682         (occur-engine): Give Occur tags a read-only property.
8684 2011-05-28  Kevin Ryde  <user42@zip.com.au>
8686         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8688 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8690         * bindings.el (help-echo): Make the initial non-indicator dash
8691         empty on graphical terminals (Bug#7295).
8693         * files.el (auto-mode-alist): Move config rule after the
8694         in-stripping one (Bug#8547).
8696         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8698         * startup.el (normal-splash-screen): Remove gratuitous mode-line
8699         setting (Bug#8740).
8701 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
8703         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8704         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8705         (Bug#8539).
8707 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8709         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8711 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
8713         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8714         (hs-hide-block-at-point, hs-find-block-beginning)
8715         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8716         (Bug#8279).
8718 2011-05-28  Glenn Morris  <rgm@gnu.org>
8720         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
8722 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8724         * help-fns.el (describe-function-1): If the function is a derived
8725         major mode, print the parent mode.
8727         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8728         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8730 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8732         * minibuffer.el (completion--capf-wrapper): Check applicability before
8733         returning non-nil for non-exclusive completion data.
8734         * progmodes/etags.el (tags-completion-at-point-function):
8735         * info-look.el (info-lookup-completions-at-point): Mark as
8736         non-exclusive.
8737         (info-complete): Adjust accordingly.
8739         * info-look.el: Convert to lexical-binding and completion-at-point.
8740         (info-lookup-completions-at-point): New function.
8741         (info-complete): Use it and completion-in-region.
8743 2011-05-28  Drew Adams  <drew.adams@oracle.com>
8745         * isearch.el: Let M-e start with point at the first mismatched char.
8746         (isearch-fail-pos): New function.
8747         (isearch-edit-string): Use it.
8749 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8751         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8753 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
8755         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
8756         traversal functions for avl-trees.
8757         (avl-tree--stack): New struct.
8758         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8759         (avl-tree-enter): Add optional `updatefun' arg.
8760         (avl-tree--do-enter): Add optional `updatefun' arg.
8761         Change return value.
8762         (avl-tree-delete): Add optional `test' and `nilflag' args.
8763         (avl-tree--do-delete): Add `test' and `nilflag' args.
8764         Change return value.
8765         (avl-tree-member): Add optional `nilflag'
8766         (avl-tree-member-p): New function.
8767         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8768         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8769         (avl-tree-stack-empty-p): New functions.
8771         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8772         avl-tree--del-balance1 and make it work both ways.
8773         (avl-tree--del-balance2): Remove.
8774         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8775         make it work both ways.
8776         (avl-tree--enter-balance2): Remove.
8777         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8778         New macros.
8779         (avl-tree--mapc, avl-tree-map): Add direction argument.
8781 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
8783         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8785 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
8787         * select.el: Support clipboard managers with built-in function
8788         x-clipboard-manager-save, via delete-frame-functions and
8789         kill-emacs-hook.
8790         (xselect-convert-to-targets): Add MULTIPLE target to list.
8791         (xselect-convert-to-save-targets): New function.
8793 2011-05-27  Kenichi Handa  <handa@m17n.org>
8795         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8796         let-binding rfc2047-encode-encoded-words to nil.
8798 2011-05-27  Glenn Morris  <rgm@gnu.org>
8800         * mail/emacsbug.el: Don't require url-util.
8802         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
8804         * files.el (set-auto-mode):
8805         Also respect mode: entries at the end of the file.  (Bug#8586)
8807 2011-05-26  Glenn Morris  <rgm@gnu.org>
8809         * files.el (hack-local-variables-prop-line, hack-local-variables):
8810         Downcase mode names, as seems to be traditional.
8811         (hack-local-variables, hack-local-variables-apply): Doc fixes.
8813         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8814         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
8816 2011-05-25  Julien Danjou  <julien@danjou.info>
8818         * textmodes/rst.el (rst-define-level-faces): Do not define face
8819         symbol if it is already defined.
8821 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8823         * play/5x5.el (5x5-new-game, 5x5-randomize):
8824         Reset 5x5-solver-output to nil when a new grid is cast.
8825         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8826         these debugging traces, as defmacro breaks the compiled code.
8828 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8830         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8832 2011-05-24  Leo Liu  <sdl.web@gmail.com>
8834         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8835         (vc-bzr-sha1): Adapt.
8837         * sha1.el: Remove.  Function `sha1' is now builtin.
8839         * bindings.el: Provide sha1 feature.
8841 2011-05-24  Kenichi Handa  <handa@m17n.org>
8843         * mail/sendmail.el: Require `rfc2047'.
8844         (mail-insert-from-field): Do not perform RFC2047 encoding.
8845         (mail-encode-header): New function.
8846         (sendmail-send-it): Set buffer-file-coding-system of the work
8847         buffer to the return value of select-message-coding-system.
8848         Call mail-encode-header.
8850         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8852 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
8854         * mail/supercite.el (sc-default-cite-frame):
8855         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
8857 2011-05-24  Glenn Morris  <rgm@gnu.org>
8859         * progmodes/python.el (brm-menu): Declare.
8861         * emulation/viper.el (viper-set-hooks): Declare.
8863         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8864         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8865         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8866         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8867         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8868         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8870 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8872         Add an :exit-function for completion-at-point.
8874         * minibuffer.el (completion--done): New fun.
8875         (completion--do-completion): Use it.  New arg `expect-exact'.
8876         (minibuffer-complete, minibuffer-complete-word): Don't output message,
8877         since completion--do-completion does it for us now.
8878         (minibuffer-force-complete): Use completion--done and
8879         completion--replace.  Handle sole-completion case with more care.
8880         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8881         (completion-extra-properties): New var.
8882         (completion-annotate-function): Make obsolete.
8883         (minibuffer-completion-help): Adjust accordingly.
8884         Use completion-list-insert-choice-function.
8885         (completion-at-point, completion-help-at-point):
8886         Bind completion-extra-properties.
8887         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8888         * simple.el (completion-list-insert-choice-function): New var.
8889         (completion-setup-function): Preserve it.
8890         (choose-completion): Pay attention to it, shuffle the code a bit.
8891         (choose-completion-string): New arg `insert-function'.
8893         * textmodes/bibtex.el: Convert to lexical binding.
8894         (bibtex-mode-map): Use completion-at-point.
8895         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8896         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8897         (bibtex-complete): Define as obsolete alias.
8898         (bibtex-complete-internal): Remove.
8899         (bibtex-format-entry): Remove unused sub-group in regexp.
8900         * shell.el (shell--command-completion-data)
8901         (shell-environment-variable-completion):
8902         * pcomplete.el (pcomplete-completions-at-point):
8903         * comint.el (comint--complete-file-name-data): Use :exit-function
8904         instead of completion-table-with-terminator so it also works for
8905         choose-completion.
8907 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8909         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8911         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8912         (bug#8710).
8914         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8916 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
8918         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8919         customization variable and implement: If non-nil, auto-fill will
8920         be inhibited while on topic's header line.
8922 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8924         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
8925         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
8926         always have a solution in grid size = 5 cases.
8927         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8928         (5x5-solver-output, 5x5-log-buffer): New vars.
8929         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8930         Make these variables buffer local to achieve 5x5 multi-session-ness.
8931         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8932         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8933         (5x5-solve-suggest): New funs.
8934         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8935         randomize a grid so that we ensure that there is always a solution.
8936         (5x5-make-random-grid): Allow other movement than flipping.
8938 2011-05-23  Kevin Ryde  <user42@zip.com.au>
8940         * emacs-lisp/advice.el (ad-read-advised-function):
8941         Use `function-called-at-point' as the default, if it has
8942         advice and passes PREDICATE.
8944 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8946         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8947         byte-compile-lambda if it's actually a lambda.
8949         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8950         Fix function quoting.  Use backquote better.
8952 2011-05-22  Yuanle Song  <sylecn@gmail.com>
8954         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8955         matching (Bug#8516).
8957 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
8959         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8960         different face (Bug#8178).
8962 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
8964         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8965         defface (Bug#8144).
8967 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8969         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8970         funcall as well (bug#8712).  Warn when performing those conversions.
8971         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8973         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8975 2011-05-22  Glenn Morris  <rgm@gnu.org>
8977         * files.el (hack-local-variables-prop-line): Small simplifications.
8978         (hack-local-variables, hack-local-variables-prop-line):
8979         If MODE-ONLY, return the mode, rather than just `t'.
8981 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8983         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8985 2011-05-21  Glenn Morris  <rgm@gnu.org>
8987         * files.el (hack-local-variables-prop-line, hack-local-variables):
8988         If only interested in the mode, don't bother doing the other stuff.
8990         * image-mode.el (image-after-revert-hook):
8991         Redraw all frames on which the image is visible.  (Bug#8567)
8993         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
8995         * wid-edit.el (widget-checklist-match-inline):
8996         Fix 2011-04-19 change.  (Bug#8649)
8998 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9000         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9001         Also allow singlespace after single-letter capitals followed by a dot.
9003         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9004         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9006 2011-05-20  Nix  <nix@esperi.org.uk>
9008         * files.el (basic-save-buffer-2):
9009         Fix handling of break-hardlink-on-save with non-existent files.
9011 2011-05-19  Deniz Dogan  <deniz@dogan.se>
9013         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9014         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9016 2011-05-19  Glenn Morris  <rgm@gnu.org>
9018         * progmodes/f90.el (f90-type-def-re):
9019         Handle "type, bind(c)".  (Bug#8691)
9021         * emacs-lisp/autoload.el (batch-update-autoloads):
9022         Set autoload-excludes by parsing loadup.el rather than Makefiles.
9024 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
9026         * net/tramp.el (tramp-process-actions): Set "first-password-request"
9027         property for the correct connection in case of multihops.
9029 2011-05-18  Glenn Morris  <rgm@gnu.org>
9031         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9032         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9034         Rationalize calendar handling of day and month abbrev-arrays.
9035         * calendar/calendar.el (calendar-customized-p): New function.
9036         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9037         (calendar-day-name-array, calendar-month-name-array): Doc fix.
9038         Add :set function.
9039         (calendar-abbrev-length, calendar-day-abbrev-array)
9040         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9041         (calendar-day-abbrev-array, calendar-month-abbrev-array):
9042         Elements may no longer be nil.
9043         (calendar-day-name, calendar-month-name):
9044         Update for changed nature of abbrev arrays.
9045         * calendar/diary-lib.el (diary-name-pattern):
9046         Update for changed nature of abbrev arrays.
9047         (diary-mark-entries-1): Update calendar-make-alist calls.
9048         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9049         * calendar/cal-html.el (cal-html-day-abbrev-array):
9050         Simply inherit from calendar-day-abbrev-array.
9052 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9054         * progmodes/grep.el (grep-mode): Disable default
9055         compilation-directory-matcher setting (bug#8684).
9057 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
9059         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9060         instead of "head" and "tail".  There were problems with SunOS 5.9,
9061         and it performs better.
9063 2011-05-17  Glenn Morris  <rgm@gnu.org>
9065         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9067         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9068         Replace obsolete function.
9070         * shell.el (pcomplete-parse-arguments-function): Declare.
9072         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9073         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9074         (appt-check): Doc fixes.
9075         (appt-disp-window-function, appt-delete-window-function):
9076         Remove needless special case in custom :type.
9077         (appt-display-count): Default to 0, not nil.
9078         (appt-check): Reset appt-display-count to 0, not nil.
9080 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
9082         * progmodes/python.el (python-font-lock-keywords):
9083         Add the Python 3.X keyword "nonlocal" (bug#8639).
9085 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9087         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9089 2011-05-16  Kevin Ryde  <user42@zip.com.au>
9091         * info-look.el (makefile-automake-mode): New setups, looking in
9092         automake manual, then makefile-mode.
9093         (makefile-mode): Remove automake manual, have it just in
9094         makefile-automake-mode since there's various things different or
9095         not relevant to plain make.
9096         (makefile-mode): Remove "other-modes" non-existent automake-mode,
9097         believe a hypothetical automake-mode would go to makefile-mode,
9098         not the other way around.
9100 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
9102         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9103         hunk-end tags (Bug#8672).
9105         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9106         vc-annotate-show-diff-revision-at-line (Bug#8671).
9108 2011-05-14  Glenn Morris  <rgm@gnu.org>
9110         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9111         in the middle of an existing one with multiple authors.  (Bug#8645)
9112         (change-log-font-lock-keywords): Also handle multiple author lines
9113         with leading tabs.  (Bug#8644)
9115         * calendar/appt.el (appt-check): Rename some local variables.
9116         Some simplification/reordering.
9118         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9119         (feedmail-sendmail-f-doesnt-sell-me-out)
9120         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9121         (feedmail-debug-sit-for, feedmail-queue-express-hook)
9122         (feedmail-queue-runner-message-sender): Set :version.
9123         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9124         (bbdb-dwim-net-address, vm-mail): Declare.
9125         (feedmail-binmail-gnulinuxish-template):
9126         Rename from feedmail-binmail-linuxish-template.
9127         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9128         Use insert-buffer-substring.
9130 2011-05-14  Bill Carpenter  <bill@carpenter.org>
9132         * mail/feedmail.el (feedmail-patch-level): Increase.
9133         (feedmail-debug): New custom group.
9134         (feedmail-confirm-outgoing-timeout)
9135         (feedmail-sendmail-f-doesnt-sell-me-out)
9136         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9137         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9138         (feedmail-sender-line, feedmail-from-line)
9139         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9140         (feedmail-spray-this-address)
9141         (feedmail-spray-address-fiddle-plex-list)
9142         (feedmail-queue-use-send-time-for-date)
9143         (feedmail-queue-use-send-time-for-message-id)
9144         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9145         (feedmail-buffer-eating-function):
9146         Doc fixes.
9147         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9148         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9149         (feedmail-message-action-scroll-down): New functions.
9150         (feedmail-queue-directory, feedmail-queue-draft-directory):
9151         Use expand-file-name.
9152         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9153         Remove C-v help entry.
9154         (feedmail-queue-buffer-file-name): New variable.
9155         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9156         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9157         (feedmail-message-action-send-strong, feedmail-message-action-edit)
9158         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9159         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9160         (feedmail-message-action-toggle-spray)
9161         (feedmail-run-the-queue-no-prompts)
9162         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9163         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9164         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9165         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9166         (feedmail-envelope-deducer, feedmail-fiddle-from)
9167         (feedmail-fiddle-sender, feedmail-default-date-generator)
9168         (feedmail-fiddle-date, feedmail-fiddle-message-id)
9169         (feedmail-fiddle-spray-address)
9170         (feedmail-fiddle-list-of-spray-fiddle-plexes)
9171         (feedmail-fiddle-list-of-fiddle-plexes)
9172         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9173         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9174         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9175         Change default.  Doc fix.
9176         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9177         (feedmail-binmail-linuxish-template): New constant.
9178         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
9179         Respect feedmail-sendmail-f-doesnt-sell-me-out.
9180         (feedmail-send-it): Add debug call.
9181         Use feedmail-queue-buffer-file-name, and
9182         feedmail-send-it-immediately-wrapper.
9183         (feedmail-message-action-send): Add debug call.
9184         Use feedmail-send-it-immediately-wrapper.
9185         (feedmail-queue-express-to-queue): Add debug call.
9186         Run feedmail-queue-express-hook.
9187         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
9188         (feedmail-message-action-help-blat):
9189         Rename from feedmail-queue-send-edit-prompt-help-first.
9190         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
9191         Check line-endings.  Handle errors better.
9192         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9193         Doc fix.  Add debug call.
9194         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
9195         Use feedmail-queue-send-edit-prompt-inner.
9196         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9197         (feedmail-queue-send-edit-prompt-inner): New function, extracted
9198         from feedmail-queue-send-edit-prompt.
9199         (feedmail-queue-send-edit-prompt-help)
9200         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9201         (feedmail-tidy-up-slug): Add debug call.
9202         Respect feedmail-queue-slug-suspect-regexp.
9203         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9204         (feedmail-dump-message-to-queue): Add debug call.
9205         Expand queue-directory.
9206         (feedmail-dump-message-to-queue): Change message slightly.
9207         Use feedmail-say-chatter.
9208         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
9209         (feedmail-send-it-immediately-wrapper): New function.
9210         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
9211         Insert empty string rather than newline.  Handle full-frame case.
9212         Use catch/throw.  Use feedmail-say-chatter.
9213         (feedmail-fiddle-from): Try mail-host-address.
9214         (feedmail-default-message-id-generator): Doc fix.
9215         Bind system-time-locale.  Handle missing end.
9216         (feedmail-fiddle-x-mailer): Add debug call.
9217         Handle feedmail-x-mailer-line being nil.
9218         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9219         Add debug call.  Use buffer-substring-no-properties.
9220         (feedmail-say-debug, feedmail-say-chatter): New functions.
9221         (feedmail-find-eoh): Give an explicit error.
9223 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
9225         * net/newst-treeview.el (newsticker-treeview-face): Change default
9226         family from helvetica to sans.
9227         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9228         etc/images/newsticker.
9230         * net/newst-reader.el (newsticker-feed-face): Change default
9231         family from helvetica to sans.
9233         * net/newst-plainview.el (newsticker-new-item-face)
9234         (newsticker-old-item-face, newsticker-immortal-item-face)
9235         (newsticker-obsolete-item-face, newsticker-date-face)
9236         (newsticker-statistics-face): Change default family from
9237         helvetica to sans.
9238         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9239         etc/images/newsticker.
9241         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9242         (newsticker--process-auto-mark-filter-match): : Tell user about
9243         auto-marking.
9245 2011-05-13  Didier Verna  <didier@xemacs.org>
9247         Common Lisp indentation improvements on defmethod and lambda-lists.
9248         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9249         TODO entries.
9250         (lisp-lambda-list-keyword-parameter-indentation)
9251         (lisp-lambda-list-keyword-parameter-alignment)
9252         (lisp-lambda-list-keyword-alignment): New customizable user options.
9253         (lisp-indent-defun-method): Improve docstring.
9254         (extended-loop-p): Fix comment.
9255         (lisp-indent-lambda-list-keywords-regexp): New variable.
9256         (lisp-indent-lambda-list): New function.
9257         (lisp-indent-259): Use it.
9258         (lisp-indent-defmethod): Support for more than one
9259         method qualifier and properly indent methods lambda-lists.
9260         (defgeneric): Provide a missing common-lisp-indent-function property.
9262 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9264         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9265         bounds for the empty string (bug#8667).
9267 2011-05-13  Glenn Morris  <rgm@gnu.org>
9269         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9271         * mail/sendmail.el (sendmail-program): Try executable-find first.
9272         (sendmail-send-it): `sendmail-program' cannot be unbound.
9274         * calendar/appt.el (appt-make-list): Simplify.
9275         (appt-time-msg-list): Doc fix.
9276         (appt-check): Change mode-line message at the time of the appointment.
9278 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9280         * progmodes/ld-script.el (ld-script-keywords)
9281         (ld-script-builtins): Update keywords list.
9283 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9285         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9287         * shell.el (shell-completion-vars): New function.
9288         (shell-mode):
9289         * simple.el (read-shell-command): Use it.
9290         (blink-matching-open): No need for " [...]" in minibuffer-message.
9292 2011-05-12  Glenn Morris  <rgm@gnu.org>
9294         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9295         (appt-check): Simplify.
9297 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
9299         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9300         literal "/dev/null".
9302 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9304         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9305         Fix typo.
9307 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
9309         * progmodes/which-func.el (which-function):
9310         Use add-log-current-defun instead of add-log-current-defun-function,
9311         which might not be defined (Bug#8260).
9313 2011-05-12  Glenn Morris  <rgm@gnu.org>
9315         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9316         Let byte-compile-initial-macro-environment always take precedence.
9318 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9320         * net/rcirc.el: Add support for SSL/TLS connections.
9321         (rcirc-server-alist): New field `encryption'.
9322         (rcirc): Check `encryption' settings.
9323         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9324         Merge make-local-variable into `set'.
9325         (rcirc--connection-open-p): New function.
9326         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9327         the process is not a network process (e.g. running gnutls-cli).
9328         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9329         Make rcirc-(en|de)code-coding-system local here.
9330         (rcirc-mode): Merge make-local-variable into `set'.
9331         (rcirc-parent-buffer): Make permanent buffer-local.
9332         (rcirc-multiline-minor-mode): Don't do it here.
9333         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9334         there's no server buffer.
9336 2011-05-11  Glenn Morris  <rgm@gnu.org>
9338         * newcomment.el (comment-kill): Prefix "unused" local.
9340         * term/w32console.el (get-screen-color): Declare.
9342         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9343         Handle symbol elements of byte-compile-initial-macro-environment.
9345 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9347         * bookmark.el (bookmark-bmenu-mode-map):
9348         Bind bookmark-bmenu-search to `/'.
9350         * mail/footnote.el: Convert to utf-8 encoding.
9351         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9352         (Footnote-unicode): New function.
9353         (footnote-style-alist): Add unicode style to the list.
9354         (footnote-style): Doc fix.
9356 2011-05-10  Jim Meyering  <meyering@redhat.com>
9358         Fix doubled-word typos.
9359         * international/quail.el (quail-insert-kbd-layout): and and -> and
9360         * kermit.el: and and -> and
9361         * net/ldap.el (ldap-search-internal): to to -> to
9362         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9363         * progmodes/js.el (js-mode): and and -> and
9364         * textmodes/artist.el (artist-move-to-xy): at at -> at
9365         (artist-draw-region-trim-line-endings): if if -> if
9366         And Safetyc -> Safety.
9367         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9369 2011-05-10  Glenn Morris  <rgm@gnu.org>
9370             Stefan Monnier  <monnier@iro.umontreal.ca>
9372         * files.el (hack-one-local-variable-eval-safep):
9373         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9375 2011-05-10  Glenn Morris  <rgm@gnu.org>
9377         * calendar/diary-lib.el (diary-list-entries-hook)
9378         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9379         (diary-nongregorian-marking-hook, diary-list-entries)
9380         (diary-include-other-diary-files, diary-mark-entries)
9381         (diary-mark-included-diary-files): Doc fixes.
9383 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9385         * misc.el: Require tabulated-list.el during compilation.
9387 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9389         * progmodes/compile.el (compilation-start):
9390         Run compilation-filter-hook for the async case too.
9391         (compilation-filter-hook): Doc fix.
9393 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9395         * wdired.el: Remove outdated installation comment.  Fix usage
9396         comment.
9398 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9400         * misc.el: Implement new command `list-dynamic-libraries'.
9401         (list-dynamic-libraries--loaded-only-p): New variable.
9402         (list-dynamic-libraries--refresh): New function.
9403         (list-dynamic-libraries): New command.
9405 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9407         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9408         Fix the ant regexp to handle end-line and end-column info from jikes.
9409         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9410         higher priority to avoid clobbering by gnu.
9412 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9414         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9415         if the face has existing theme settings (Bug#8454).
9417 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9419         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9420         Only match variables declared via `my' or `our' (Bug#8261).
9422         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9423         special file names `.' and `..' (Bug#8259).
9425 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9427         * progmodes/grep.el (grep-mode-font-lock-keywords):
9428         Remove buffer-changing entries.
9429         (grep-filter): New function.
9430         (grep-mode): Add it to compilation-filter-hook.
9432         * progmodes/compile.el (compilation-filter-hook)
9433         (compilation-filter-start): New defvars.
9434         (compilation-filter): Call compilation-filter-hook prior to
9435         updating the process mark.
9437 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9439         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9441 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9443         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9444         mailclient-send-it even if window-system is nil.  (Bug#8595)
9446         * term/w32console.el (terminal-init-w32console):
9447         Call get-screen-color and use its output to set the frame
9448         background-mode.  (Bug#8597)
9450 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9452         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9453         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9454         New functions.
9455         (defgeneric, eieio--defmethod): Use them.
9456         (eieio-defgeneric): Remove.
9457         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9459 2011-05-07  Glenn Morris  <rgm@gnu.org>
9461         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9462         Use let rather than let*.
9463         (timeclock-find-discrep): Remove unused local.
9465         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9467         * calendar/appt.el (appt-time-msg-list): Doc fix.
9469 2011-05-06  Noah Friedman  <friedman@splode.com>
9471         * apropos.el (apropos-print-doc): Only use
9472         emacs-lisp-docstring-fill-column when it is bound to an integer,
9473         per that variable's documentation.
9475 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9477         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9478         and warnings are not silently discarded (e.g. use -d instead of -P).
9480 2011-05-06  Glenn Morris  <rgm@gnu.org>
9482         * calendar/appt.el (appt-message-warning-time): Doc fix.
9483         (appt-warning-time-regexp): New option.
9484         (appt-make-list): Respect appt-message-warning-time.
9486         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9487         New options.
9488         (diary-add-to-list): Strip comments from the displayed string.
9489         (diary-mode): Set comment-start and comment-end.
9491         * vc/diff-mode.el (smerge-refine-subst): Declare.
9492         (diff-refine-hunk): Don't require smerge-mode when compiling.
9494 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9496         * simple.el (list-processes): Return nil as the docstring says.
9498 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9500         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9501         to "".
9502         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9503         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9504         determining of binary transfer.  (Bug#7383)
9506 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9508         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9509         Fix port computation bug.  (Bug#8618)
9511 2011-05-05  Glenn Morris  <rgm@gnu.org>
9513         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9515         * simple.el (shell-dynamic-complete-functions)
9516         (comint-dynamic-complete-functions): Declare.
9518         * net/network-stream.el (gnutls-negotiate):
9519         * simple.el (tabulated-list-print): Fix declarations.
9521         * progmodes/gud.el (syntax-symbol, syntax-point):
9522         Remove unnecessary and incorrect declarations.
9524         * emacs-lisp/check-declare.el (check-declare-scan):
9525         Handle byte-compile-initial-macro-environment in bytecomp.el
9527 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9529         Fix earlier half-done eieio-defmethod change (bug#8338).
9530         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9531         Streamline and change calling convention.
9532         (defmethod): Adjust accordingly and simplify.
9533         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9534         new eieio--defmethod.
9535         (slot-boundp): Minor CSE simplification.
9537 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9539         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9540         (glasses-make-readable): Use glasses-separate-capital-groups.
9542 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9544         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9545         (warning-series): Doc fix.
9546         (display-warning): Don't try to create the buffer if we just found it.
9548 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9550         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9551         (autoload-find-generated-file): New function.
9552         (generate-file-autoloads): Bind generated-autoload-file to
9553         buffer-file-name.
9554         (update-file-autoloads, update-directory-autoloads):
9555         Use autoload-find-generated-file.  If called interactively, prompt for
9556         output file (Bug#7989).
9557         (batch-update-autoloads): Doc fix.
9559 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9561         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9563 2011-05-04  Glenn Morris  <rgm@gnu.org>
9565         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9566         function, so it follows changes in calendar-date-style.
9567         (diary-fancy-date-matcher): New function.
9568         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9569         (diary-fancy-font-lock-fontify-region-function):
9570         Use diary-fancy-date-pattern as a function.
9572         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9573         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
9575 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
9577         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9578         instead of positional arguments.  Allow :keylist and :crlfiles
9579         arguments.
9580         (open-gnutls-stream): Call it.
9582         * net/network-stream.el (network-stream-open-starttls): Adjust to
9583         call `gnutls-negotiate' with :process and :hostname arguments.
9585 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9587         * minibuffer.el (completion--message): New function.
9588         (completion--do-completion, minibuffer-complete)
9589         (minibuffer-force-complete, minibuffer-complete-word): Use it.
9590         (completion--do-completion): Don't ignore completion-auto-help when in
9591         icomplete-mode.
9593         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9594         internal encoding (e.g. tibetan zero is not whitespace).
9595         (global-whitespace-mode): Prefer save-current-buffer.
9596         (whitespace-trailing-regexp): Remove useless save-match-data.
9597         (whitespace-empty-at-bob-regexp): Minor simplification.
9599 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
9601         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9603 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9605         * textmodes/ispell.el (ispell-add-per-file-word-list):
9606         Use `concat' to create string for insertion.
9608 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9610         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9611         Avoid open-line which runs post-self-insert-hook.
9612         (bibtex-fill-entry): Remove unused `end' var.
9614 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
9616         * textmodes/ispell.el (ispell-add-per-file-word-list):
9617         Protect against `nil' value of `comment-start' (Bug#8579).
9619 2011-05-03  Leo Liu  <sdl.web@gmail.com>
9621         * isearch.el (isearch-yank-pop): New command.
9622         (isearch-mode-map): Bind it to `M-y'.
9623         (isearch-forward): Mention it.
9625 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9627         * simple.el (minibuffer-complete-shell-command): Remove.
9628         (minibuffer-local-shell-command-map): Use completion-at-point.
9629         (read-shell-command): Setup completion vars here instead.
9630         (read-expression-map): Bind TAB to symbol completion.
9632         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9633         error directly rather via storing it into `results'.
9635 2011-05-02  Leo Liu  <sdl.web@gmail.com>
9637         * vc/diff.el: Fix description.
9639 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9641         * server.el (server-eval-at): New function.
9643 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9645         * net/network-stream.el (open-network-stream): Take a :nowait
9646         parameter and pass it on to `make-network-process'.
9647         (network-stream-open-plain): Ditto.
9649 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9651         * faces.el (face-spec-set-match-display): Don't match toolkit
9652         options on terminal frames.
9654 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9656         * progmodes/pascal.el: Use lexical binding.
9657         (pascal-mode-map): Remove author preferences.
9659         * pcomplete.el (pcomplete-std-complete): Don't abuse
9660         completion-at-point.
9662 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9664         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9665         removing code that has been dead since 1991 or so.
9667         * startup.el (command-line): When warning about "_emacs", use a
9668         delayed warning to allow the user to filter it out.
9670 2011-04-28  Deniz Dogan  <deniz@dogan.se>
9672         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9673         user has not joined.
9675 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9677         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9678         aren't any completions at point.
9680 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9682         * subr.el (display-delayed-warnings): New function.
9683         (delayed-warnings-hook): New variable.
9685 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9687         * minibuffer.el (completion-at-point, completion-help-at-point):
9688         Don't presume that a given completion-at-point-function will always
9689         use the same calling convention.
9691         * pcomplete.el (pcomplete-completions-at-point):
9692         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
9693         pcomplete-seen is non-nil.
9694         (pcomplete-comint-setup): Also recognize the new comint/shell
9695         completion functions.
9696         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9697         pcomplete-seen is non-nil.
9699 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
9701         * calendar/icalendar.el (diary-lib): Add require statement.
9702         (icalendar--create-uid): Read out a uid from a text-property on
9703         the first character in the entry.  This allows for code to add its
9704         own uid to the entry.
9705         (icalendar--convert-float-to-ical): Add export of
9706         `diary-float'-entries save for those with the optional DAY
9707         argument.
9709 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
9711         * subr.el (shell-quote-argument): Use alternate escaping strategy
9712         when we spot a variable reference in a string.
9714 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9716         * cus-start.el (all): Define customization for debug-on-event.
9718 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9720         * subr.el (shell-quote-argument): Escape correctly under Windows.
9722 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9724         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9726 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
9728         * net/tramp.el (tramp-process-actions): Add POS argument.
9729         Delete region between POS and (pos).
9731         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9732         Use `nil' position in `tramp-process-actions' call.
9733         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9735         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9736         position in `tramp-process-actions' call.
9738         * net/trampver.el: Update release number.
9740 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9742         * custom.el (defcustom): Obey lexical-binding.
9744         Fix octave-inf completion problems reported by Alexander Klimov.
9745         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9746         Inherit from octave-mode-syntax-table.
9747         (inferior-octave-mode): Set info-lookup-mode.
9748         (inferior-octave-completion-at-point): New function.
9749         (inferior-octave-complete): Use it and completion-in-region.
9750         (inferior-octave-dynamic-complete-functions): Use it as well, and use
9751         comint-filename-completion.
9752         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9753         symbol elements which shouldn't be word elements.
9754         (octave-font-lock-keywords, octave-beginning-of-defun)
9755         (octave-function-header-regexp): Adjust regexps accordingly.
9756         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9758 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
9760         * net/gnutls.el (gnutls-errorp): Declare before first use.
9762 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
9764         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9765         verify-error, and verify-hostname-error parameters.  Check whether
9766         default trustfile exists before going to use it.  Add missing
9767         argument to gnutls-message-maybe call.  Return value.
9768         Reported by Claudio Bley <claudio.bley@gmail.com>.
9769         (open-gnutls-stream): Add usage example.
9771         * net/network-stream.el (network-stream-open-starttls): Give host
9772         parameter to `gnutls-negotiate'.
9773         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
9774         * subr.el (shell-quote-argument): Escape correctly under Windows.
9776 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
9778         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9779         Use correct match group (bug#8438).
9781 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9783         * emacs-lisp/package.el (package-built-in-p): Fix typo.
9784         (package-menu--generate): New arg specifying packages to show.
9785         (package-menu-refresh, package-menu-execute, list-packages):
9786         Callers changed.
9787         (package-show-package-list): New function, replacing deleted
9788         package--list-packages (renamed because it is non-internal).
9790         * finder.el (finder-list-matches): Use package-show-package-list
9791         instead of deleted package--list-packages.
9793         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9794         Based on a previous implementation by Juanma Barranquero (Bug#8366).
9795         (vc-annotate-mode-map): Bind it to RET.
9797 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9799         * progmodes/etags.el (next-file): Don't use set-buffer to change
9800         buffers (Bug#8478).
9802 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
9804         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9806         * apropos.el (apropos-label-face): Avoid variable-pitch face.
9807         (apropos-accumulator): Doc fix.
9808         (apropos-function, apropos-macro, apropos-command)
9809         (apropos-variable, apropos-face, apropos-group, apropos-widget)
9810         (apropos-plist): Add face property.
9811         (apropos-symbols-internal): Fix indentation.
9812         (apropos-print): Simplify help, and recognize apropos-multi-type.
9813         (apropos-print-doc): Use button-type-get to extract the button's
9814         face property.  Fill docstring (Bug#8352).
9816 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
9818         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9820         * play/mpuz.el (mpuz-silent): Doc fix.
9821         (mpuz-mode-map): Use mapc.
9822         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9823         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9824         Fix typos in docstrings.
9826         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9827         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9829         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9831 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
9833         * minibuffer.el (completion--do-completion): Avoid the "Next char
9834         not unique" prompt if icomplete-mode is enabled (Bug#5849).
9836         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9837         mouse-2 into unread-command-events, it is interpreted correctly.
9839         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
9840         (image-toggle-display): Doc fix.
9842 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
9844         * textmodes/page.el (what-page): Use line-number-at-pos to
9845         calculate line number (Bug#6825).
9847 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9849         * eshell/esh-mode.el (find-tag-interactive): Declare function.
9850         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9851         Pass argument NO-DEFAULT to `find-tag-interactive'.
9853 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
9855         Lexical-binding cleanup.
9857         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9858         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9859         * progmodes/ada-prj.el (ada-prj-initialize-values)
9860         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9861         (ada-prj-show-value):
9862         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9863         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9864         (antlr-invalidate-context-cache, antlr-options-menu-filter)
9865         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9866         * progmodes/bug-reference.el (bug-reference-push-button):
9867         * progmodes/fortran.el (fortran-line-length):
9868         * progmodes/glasses.el (glasses-change):
9869         * progmodes/octave-mod.el (octave-fill-paragraph):
9870         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9871         (python-pdbtrack-grub-for-buffer, python-sentinel):
9872         * progmodes/sql.el (sql-save-connection):
9873         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9874         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9875         Mark unused parameters.
9877         * progmodes/compile.el (compilation--flush-directory-cache)
9878         (compilation--flush-parse, compile-internal): Mark unused parameters.
9879         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9880         (compilation-next-error-function): Remove unused variable `timestamp'.
9882         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9883         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9885         * progmodes/dcl-mode.el (dcl-end-of-command):
9886         Remove unused variable `start'.
9887         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9888         (dcl-option-value-basic, dcl-option-value-offset)
9889         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9890         Mark unused parameters.
9891         (dcl-save-local-variable): Remove unused variable `val'.
9892         (mode): Declare.
9894         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9895         Mark unused parameters.
9896         (delphi-ignore-changes): Move before first use.
9897         (delphi-charset-token-at): Remove unused variable `start'.
9898         (delphi-else-start): Remove unused variable `if-count'.
9899         (delphi-comment-block-start, delphi-comment-block-end):
9900         Remove unused variable `kind'.
9901         (delphi-indent-line): Remove unused variable `new-point'.
9903         * progmodes/ebrowse.el (ebrowse-files-list)
9904         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9905         Mark unused parameters.  Don't quote `lambda'.
9906         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9907         Don't quote `lambda'.
9908         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9909         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9910         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9911         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9912         Use `ignore-errors'.
9913         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9914         (ebrowse-view/find-file-and-search-pattern)
9915         (ebrowse-view/find-member-declaration/definition):
9916         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9917         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9918         Rename parameter PREFIX-ARG to PREFIX.
9919         (ebrowse-tags-read-name): Remove unused variables `start' and
9920         `member-info'.
9921         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9922         to `tags-file'.
9924         * progmodes/etags.el (local-find-tag-hook): Declare.
9925         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9926         Mark unused parameters.
9928         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9929         (executable-interpret): Mark unused parameter.
9931         * progmodes/flymake.el (flymake-process-sentinel)
9932         (flymake-after-change-function)
9933         (flymake-create-temp-with-folder-structure)
9934         (flymake-get-include-dirs-dot): Mark unused parameters.
9935         (flymake-safe-delete-directory): Remove unused variable `err'.
9937         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9938         (speedbar-timer-fn, speedbar-line-text)
9939         (speedbar-change-expand-button-char, speedbar-delete-subblock)
9940         (speedbar-center-buffer-smartly): Declare functions.
9941         (gdb-find-watch-expression): Remove unused variable `array'.
9942         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9943         (gdb-starting): Mark unused parameters.
9944         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9945         (gdb-table-string): Remove unused variable `res'.
9946         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9947         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9948         (gdb-display-buffer): Remove unused variable `cur-size'.
9950         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9951         allow lexical-binding compilation.
9952         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9953         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9954         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9955         Mark unused parameters.
9956         (gud-gdb-marker-filter): Remove unused variable `match'.
9957         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9958         lambda expressions and funcall them, instead of using `fset'.
9960         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9961         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9963         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9964         variable `header-beg'; use `let'.
9966         * progmodes/icon.el (indent-icon-exp): Remove unused variables
9967         `restart', `last-sexp' and `at-do'.
9969         * progmodes/js.el (js--debug): Mark unused parameter.
9970         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9971         (js--splice-into-items): Remove unused variable `item'.
9972         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9974         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9975         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9976         (makefile-complete): Remove unused variable `try'.
9977         (makefile-fill-paragraph, makefile-match-function-end):
9978         Mark unused parameters.
9980         * progmodes/octave-inf.el (inferior-octave-complete):
9981         Remove unused variable `proc'.
9982         (inferior-octave-output-digest): Mark unused parameter.
9984         * progmodes/perl-mode.el (perl-calculate-indent):
9985         Remove unused variable `err'.
9987         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9988         (prolog-indent-line): Mark unused parameters.
9989         (prolog-indent-line): Remove unused variable `beg'.
9991         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9992         (reporter-dont-compact-list): Declare.
9994         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9995         Remove unused variable `char'.
9996         (sh-debug): Mark unused parameter.
9997         (sh-get-indent-info): Remove unused variable `start'.
9998         (sh-calculate-indent): Remove unused variable `var'.
10000         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10001         (simula-electric-keyword): Remove unused variable `null'.
10002         (simula-search-backward, simula-search-forward): Remove unused
10003         variables `begin' and `end'.
10005         * progmodes/vera-mode.el (vera-guess-basic-syntax):
10006         Remove unused variable `pos'.
10007         (vera-electric-tab, vera-comment-uncomment-region):
10008         Mark unused parameters.
10009         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10011 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
10013         * emacs-lisp/package.el (package--builtins, package-alist)
10014         (package-load-descriptor, package-built-in-p, package-activate)
10015         (define-package, package-installed-p)
10016         (package-compute-transaction, package-buffer-info)
10017         (package--push): Doc fix.  Distinguish more clearly between
10018         version strings and version lists.
10020 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
10022         Lexical-binding cleanup.
10024         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10025         (5x5-make-mutate-best):
10026         * play/fortune.el (fortune-in-buffer):
10027         * play/gomoku.el (gomoku-init-display):
10028         * play/solitaire.el (solitaire, solitaire-do-check):
10029         * play/tetris.el (tetris-default-update-speed-function):
10030         Mark unused parameters.
10032         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10033         (bubbles--shift): Remove unused variable `char-org'.
10034         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
10035         (bubbles--show-images): Remove unused variable `char'.
10037         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10038         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10039         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10040         (decipher-analyze-buffer): Use ?\s.
10041         (decipher-make-checkpoint): Remove unused variable `mapping'.
10043         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10045         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10046         Remove unused variable `result'; use `let'.
10048         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10049         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10050         (gametree-children-shown-p, gametree-compute-reduced-score):
10051         Use `ignore-errors'.
10053         * play/handwrite.el (ps-lpr-switches): Declare.
10054         (handwrite): Remove unused variables `pmin' and `lastp'.
10056         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10058         * play/landmark.el (landmark-init-display)
10059         (landmark-update-naught-weights): Mark unused parameters.
10060         (landmark-y): Remove unused variable `noise'.  Simplify.
10061         (landmark-human-plays): Remove unused variable `score'.
10063         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10064         (mpuz-try-proposal): Remove unused variable `game'.
10066         * play/zone.el (life-patterns): Declare.
10068 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
10070         * vc/vc.el (ediff-vc-internal): Declare function.
10072 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10074         * shell.el: Use lexical-binding and std completion UI.
10075         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10076         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10077         comint-preoutput-filter-functions rather than on
10078         comint-output-filter-functions.
10079         (shell-command-completion, shell--command-completion-data)
10080         (shell-filename-completion, shell-environment-variable-completion)
10081         (shell-c-a-p-replace-by-expanded-directory): New functions.
10082         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10083         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10084         (shell-dynamic-complete-environment-variable): Use them.
10085         (shell-dynamic-complete-as-environment-variable)
10086         (shell-dynamic-complete-as-command): Remove.
10087         (shell-match-partial-variable): Match past point.
10088         * comint.el: Clean up use of completion-at-point-functions.
10089         (comint-completion-at-point): New function.
10090         (comint-mode): Use it completion-at-point-functions.
10091         (comint-dynamic-complete): Make it obsolete.
10092         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10093         (comint-c-a-p-replace-by-expanded-history): New function.
10094         (comint-dynamic-complete-functions)
10095         (comint-replace-by-expanded-history): Use it.
10096         * minibuffer.el (completion-table-with-terminator): Allow dynamic
10097         termination strings.  Try harder to avoid second try-completion.
10098         (completion-in-region-mode-map): Disable bindings that don't work yet.
10100         * comint.el: Use lexical-binding.  Require CL.
10101         (comint-dynamic-complete-functions): Use comint-filename-completion.
10102         (comint-completion-addsuffix): Tweak custom type.
10103         (comint-filename-completion, comint--common-suffix)
10104         (comint--common-quoted-suffix, comint--table-subvert)
10105         (comint--complete-file-name-data): New functions.
10106         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10107         (comint-dynamic-list-filename-completions): Use them.
10108         (comint-dynamic-simple-complete): Make obsolete.
10110         * minibuffer.el (completion-in-region-mode):
10111         Keep completion-in-region-mode--predicate global.
10112         (completion-in-region--postch):
10113         Assume completion-in-region-mode--predicate is not null.
10115         * progmodes/flymake.el (flymake-start-syntax-check-process):
10116         Obey `dir'.  Simplify.
10118         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10119         we're in VC after all.
10121 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
10123         * vc/vc.el (vc-diff-build-argument-list-internal)
10124         (vc-version-ediff, vc-ediff): New commands.
10125         (vc-version-diff): Use vc-diff-build-argument-list-internal.
10127 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10129         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10130         add sanity check.
10132         * obsolete/erc-hecomplete.el: Make obsolete.
10133         * obsolete/: Standardize obsolescence info in the header.
10135 2011-04-20  Glenn Morris  <rgm@gnu.org>
10137         * calendar/solar.el (solar-horizontal-coordinates):
10138         Use the longitude argument rather than `calendar-longitude'.
10139         (solar-date-next-longitude): Remove unused locals.
10141 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10143         * whitespace.el: New version 13.2.1.
10145 2011-04-20  felix  <EmacsWiki>  (tiny change)
10147         * whitespace.el (global-whitespace-mode): Keep highlight when
10148         switching between major modes on a file.
10150 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10152         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10153         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10154         multi-line comments as well.
10156 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
10158         Lexical-binding cleanup.
10160         * arc-mode.el (archive-mode-revert):
10161         * cmuscheme.el (scheme-interactively-start-process):
10162         * custom.el (custom-initialize-delay):
10163         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10164         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10165         * emacs-lock.el (emacs-lock-clear-sentinel):
10166         * ezimage.el (defezimage):
10167         * follow.el (follow-avoid-tail-recenter):
10168         * fringe.el (set-fringe-mode-1):
10169         * generic-x.el (bat-generic-mode-compile):
10170         * help-mode.el (help-info-variable, help-do-xref)
10171         (help-mode-revert-buffer):
10172         * help.el (view-emacs-todo):
10173         * iswitchb.el (iswitchb-completion-help):
10174         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10175         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10176         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10177         * locate.el (locate-update):
10178         * longlines.el (longlines-encode-region)
10179         (longlines-after-change-function):
10180         * outline.el (outline-isearch-open-invisible):
10181         * ps-def.el (declare-function, charset-dimension, char-width)
10182         (encode-char):
10183         * ps-mule.el (ps-mule-plot-string):
10184         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10185         (recentf-edit-list-select, recentf-edit-list-validate)
10186         (recentf-open-files-action):
10187         * rect.el (delete-whitespace-rectangle-line)
10188         (rectangle-number-line-callback):
10189         * register.el (window-configuration-to-register)
10190         (frame-configuration-to-register):
10191         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10192         * select.el (xselect-convert-to-string, xselect-convert-to-length)
10193         (xselect-convert-to-targets, xselect-convert-to-delete)
10194         (xselect-convert-to-filename, xselect-convert-to-charpos)
10195         (xselect-convert-to-lineno, xselect-convert-to-colno)
10196         (xselect-convert-to-os, xselect-convert-to-host)
10197         (xselect-convert-to-user, xselect-convert-to-class)
10198         (xselect-convert-to-name, xselect-convert-to-integer)
10199         (xselect-convert-to-atom, xselect-convert-to-identity):
10200         * subr.el (declare, ignore, process-kill-without-query)
10201         (text-clone-maintain):
10202         * terminal.el (te-get-char, te-tic-sentinel):
10203         * tool-bar.el (tool-bar-make-keymap):
10204         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10205         * type-break.el (type-break-mode, type-break-noninteractive-query):
10206         * view.el (View-back-to-mark):
10207         * wid-browse.el (widget-browse-action, widget-browse-widget)
10208         (widget-browse-widgets, widget-browse-sexp):
10209         * widget.el (define-widget-keywords):
10210         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10211         Mark unused parameters.
10213         * align.el (align-adjust-col-for-rule): Mark unused parameter.
10214         (align-areas): Remove unused variable `look'.
10215         (align-region): Remove unused variables `real-end' and `pos-list'.
10217         * apropos.el (apropos-score-doc): Remove unused variable `i'.
10219         * bindings.el (mode-line-modified, mode-line-remote):
10220         Mark unused parameters.
10221         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10223         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10224         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10226         * comint.el (comint-history-isearch-pop-state)
10227         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10228         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10229         (comint-substitute-in-file-name): Doc fix.
10231         * completion.el (cmpl-statistics-block): Mark unused parameter.
10232         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10233         (save-completions-to-file, load-completions-from-file):
10234         Remove unused local variable `e'.
10236         * composite.el (compose-chars): Remove unused variable `len'.
10237         (lgstring-insert-glyph): Remove unused variable `g'.
10238         (compose-glyph-string): Remove unused variables `ascent',
10239         `descent', `lbearing' and `rbearing'.
10240         (compose-glyph-string-relative): Remove unused variables
10241         `lbearing', `rbearing' and `wadjust'.
10242         (compose-gstring-for-graphic): Remove unused variables `header',
10243         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
10244         (compose-gstring-for-terminal): Remove unused variables `header'
10245         and `nchars'.  Use `let', not `let*'.
10247         * cus-edit.el (Custom-set, Custom-save, custom-reset)
10248         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10249         (Custom-buffer-done, custom-buffer-create-internal)
10250         (custom-browse-visibility-action, custom-browse-group-tag-action)
10251         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10252         (widget-magic-mouse-down-action, custom-toggle-parent)
10253         (custom-add-parent-links, custom-toggle-hide-variable)
10254         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10255         (custom-toggle-hide-face, face, hook, custom-group-link-action)
10256         (custom-face-menu-create, custom-variable-menu-create, get)
10257         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10258         (custom-reset-standard-save-and-update): Remove unused variable `value'.
10259         (customize-apropos): Remove unused variable `tests'.
10260         (custom-group-value-create): Remove unused variable `hidden-p'.
10261         (sort-fold-case): Declare.
10263         * cus-theme.el (custom-reset-standard-faces-list)
10264         (custom-reset-standard-variables-list): Declare.
10265         (customize-create-theme, custom-theme-revert, custom-theme-write)
10266         (custom-theme-choose-mode, customize-themes, custom-theme-save):
10267         Mark unused parameters.
10269         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10271         * delim-col.el (delimit-columns-max): Move defvar before first use.
10273         * descr-text.el (describe-char-categories): Don't quote `lambda'.
10274         (describe-char): Don't quote `lambda'.  Mark unused parameter.
10276         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10277         (auto-insert): Declare.
10278         (desktop-restore-file-buffer): Rename desktop-* parameters;
10279         mark unused ones.
10280         (desktop-create-buffer): Rename desktop-* parameters and bind them.
10281         (desktop-buffer): Rename desktop-* parameters.
10283         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10284         (dframe-reposition-frame-xemacs, dframe-help-echo)
10285         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10286         Mark unused parameters.
10288         * dired-aux.el (backup-extract-version-start, overwrite-query)
10289         (overwrite-backup-query, rename-regexp-query)
10290         (rename-non-directory-query): Declare.
10291         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10292         (dired-add-entry): Remove unused variable `orig-file-name'.
10293         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10294         Use parameter PRESERVE-TIME instead of accessing dynamic variable
10295         `dired-copy-preserve-time' directly.
10296         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10297         (dired-insert-subdir-newpos): Rename unused variable `pos'.
10299         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10300         (dired-virtual-revert, dired-make-relative-symlink):
10301         Mark unused parameters.
10302         (manual-program): Declare.
10303         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10304         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10305         wrapped in `with-no-warnings' to avoid replacing one warning by another.
10307         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10309         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10311         * echistory.el (electric-history-in-progress, Helper-return-blurb):
10312         Declare.
10314         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10316         * electric.el (Electric-command-loop): Rename parameter
10317         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10319         * expand.el (expand-in-literal): Remove unused variable `here'.
10321         * facemenu.el (facemenu-add-new-color):
10322         Remove unused variable `docstring'.
10324         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10325         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10326         (face-attr-construct): Mark unused parameter.  Doc fix.
10327         (read-color): Remove unused variable `hex-string'.
10329         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10330         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10331         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10332         (display-buffer-other-frame): Remove unused variable `old-window'.
10333         (kill-buffer-hook): Declare.
10334         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10335         Mark unused parameters.
10336         (after-find-file): Pass 1 to `auto-save-mode', not t.
10338         * files-x.el (auto-insert): Declare.
10339         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10341         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10342         variable `buf'.  Mark unused parameter.
10343         (find-lisp-insert-directory): Mark unused parameter.
10345         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10346         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10347         (format-common-tail): Remove, unused.
10348         (format-deannotate-region): Remove unused variable `loc'.
10349         (format-annotate-region): Remove unused variable `p'.
10350         (format-annotate-single-property-change): Remove unused variables
10351         `default' and `tail'.
10353         * forms.el (read-file-filter): Declare.
10354         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10356         * frame.el (frame-creation-function-alist): Mark unused parameter.
10357         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10359         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10360         Remove unused parameters.
10361         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10362         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10364         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10365         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10366         (hfy-prepare-tag-map): Mark unused parameters.
10367         (htmlfontify-buffer): Use `called-interactively-p'.
10369         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10370         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10371         (ibuffer-do-occur): Mark unused parameters.
10372         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10373         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10375         * ibuffer.el: Don't quote `lambda'.
10376         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10377         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10378         Mark unused parameters.
10380         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10381         (ido-completing-read): Mark unused parameters.
10382         (ido-copy-current-word): Mark unused parameters;
10383         remove unused variable `name'.
10384         (ido-sort-merged-list): Remove unused parameter `dirs'.
10386         * ielm.el (ielm-input-sender): Mark unused parameter.
10387         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10388         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10389         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10390         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10391         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10393         * image-dired.el (image-dired-display-thumbs): Remove unused
10394         variables `curr-file' and `count'.
10395         (image-dired-remove-tag): Remove unused variable `start'.
10396         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10397         variable `curr-file'
10398         (image-dired-rotate-original): Remove unused variable `temp-file'.
10399         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10400         Remove unused variable `file'.
10401         (image-dired-gallery-generate): Remove unused variable `curr'.
10402         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10404         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10406         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10408         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10410         * isearch.el (minibuffer-history-symbol): Declare.
10411         (isearch-edit-string): Remove unused variable `err'.
10412         (isearch-message-prefix, isearch-message-suffix):
10413         Mark unused parameters.
10415         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10417         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10419         * makesum.el (double-column): Remove unused variable `cnt'.
10421         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10422         (ido-ignore-item-temp-list): Declare.
10424         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10425         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10426         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10427         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10428         `mouse-col-delta'.
10430         * mouse-sel.el (mouse-extend-internal):
10431         Remove unused variable `orig-window-frame'.
10433         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10434         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10435         Move declarations before first use.
10436         (pcomplete-opt): Mark unused parameters; doc fix.
10438         * proced.el (proced-revert): Mark unused parameter.
10439         (proced-send-signal): Remove unused variable `err'.
10441         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10442         Rename parameter PREFIX-ARG to ARG.
10443         (ps-basic-plot-string, ps-basic-plot-whitespace):
10444         Mark unused parameters.
10446         * replace.el (replace-count): Define.
10447         (occur-revert-function): Mark unused parameters.
10448         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10449         (isearch-case-fold-search, isearch-string): Declare.
10450         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10451         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10452         and simplify.
10453         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10454         COUNT and bind `replace-count'.
10455         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10456         to COUNT.
10458         * savehist.el (print-readably, print-string-length): Declare.
10460         * shadowfile.el (shadow-expand-cluster-in-file-name):
10461         Remove unused variable `cluster'.
10462         (shadow-copy-file): Remove unused variable `i'.
10463         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10464         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10465         (shadow-define-literal-group, shadow-define-regexp-group)
10466         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10468         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10469         (shell): Use `called-interactively-p'.
10470         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10472         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10473         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10474         (delete-backward-char): Remove unused variable `ocol'.
10475         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10476         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10477         (event-apply-hyper-modifier, event-apply-shift-modifier)
10478         (event-apply-control-modifier, event-apply-meta-modifier):
10479         Mark unused parameters.
10480         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10481         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10483         * speedbar.el (speedbar-ignored-directory-expressions)
10484         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10485         (speedbar-find-file, speedbar-dir-follow)
10486         (speedbar-directory-buttons-follow, speedbar-tag-find)
10487         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10488         (speedbar-buffers-line-directory, speedbar-buffer-click):
10489         Mark unused parameters.
10490         (speedbar-tag-file): Remove unused variable `mode'.
10491         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10493         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10495         * talk.el (talk): Remove unused variable `display'.
10497         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10498         (tar-write-region-annotate): Mark unused parameter.
10500         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10501         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10502         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10503         warning by another.
10505         * time-stamp.el (time-stamp-string-preprocess):
10506         Remove unused variable `require-padding'.
10508         * tree-widget.el (widget-glyph-enable): Declare.
10509         (tree-widget-action): Mark unused parameter.
10511         * w32-fns.el (x-get-selection): Mark unused parameter.
10512         (autoload-make-program, generated-autoload-file): Declare.
10514         * wdired.el (wdired-revert): Mark unused parameters.
10515         (wdired-xcase-word): Remove unused variable `err'.
10517         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10518         (whitespace-help-scroll): Remove unused variable `data-help'.
10520         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10521         (widget-image-insert, widget-after-change, default)
10522         (widget-default-format-handler, widget-default-notify)
10523         (widget-default-prompt-value, widget-info-link-action)
10524         (widget-url-link-action, widget-function-link-action)
10525         (widget-variable-link-action, widget-file-link-action)
10526         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10527         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10528         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10529         (widget-insert-button-action, widget-delete-button-action, visibility)
10530         (widget-documentation-link-action, widget-documentation-string-action)
10531         (widget-const-prompt-value, widget-regexp-match, symbol)
10532         (widget-coding-system-prompt-value)
10533         (widget-key-sequence-value-to-external, sexp)
10534         (widget-sexp-value-to-internal, character, vector, cons)
10535         (widget-choice-prompt-value, widget-boolean-prompt-value)
10536         (widget-color--choose-action): Mark unused parameters.
10537         (widget-item-match-inline, widget-choice-match-inline)
10538         (widget-checklist-match, widget-checklist-match-inline)
10539         (widget-group-match): Rename parameter VALUES to VALS.
10540         (widget-field-value-set): Remove unused variable `size'.
10541         (widget-color-action): Remove unused variables `value' and `start'.
10543         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10544         variable `dir'.  Doc fix.
10545         (windmove-find-other-window): Don't pass it.
10547         * window.el (count-windows): Mark unused parameter.
10548         (bw-adjust-window): Remove unused variable `err'.
10550         * woman.el (woman-file-name): Remove unused variable `default'.
10551         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10552         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10553         (global-font-lock-mode): Declare.
10554         (woman-decode-region): Mark unused parameter.
10555         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10557         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10558         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10559         (x-dnd-handle-moz-url): Remove unused variable `title'.
10560         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10562         * xml.el (xml-parse-tag, xml-parse-attlist):
10563         Remove unused variable `pos'.
10565 2011-04-19  Glenn Morris  <rgm@gnu.org>
10567         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10568         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10569         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10570         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10571         * calendar/cal-html.el (cal-html-insert-minical):
10572         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10573         (calendar-mark-date-pattern):
10574         Prefix "unused" locals.
10576         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10577         optional argument `style'.
10579         * calendar/appt.el (appt-make-list):
10580         * calendar/cal-china.el (calendar-chinese-date-string):
10581         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10582         (diary-hebrew-yahrzeit):
10583         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10584         * calendar/calendar.el (calendar-generate-window):
10585         * calendar/time-date.el (time-to-days):
10586         Remove unused local variables.
10588 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
10590         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10591         glyphless-char-display table.
10592         (tabulated-list-glyphless-char-display): New var.
10594 2011-04-18  Sam Steingold  <sds@gnu.org>
10596         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10597         to acknowledgments.
10599 2011-04-17  Glenn Morris  <rgm@gnu.org>
10601         * calendar/diary-lib.el (diary-sexp-entry):
10602         * calendar/holidays.el (holiday-sexp):
10603         Set debug-on-error rather than the removed stack-trace-on-error.
10605 2011-04-16  Glenn Morris  <rgm@gnu.org>
10607         * progmodes/f90.el: Use lexical-binding.
10608         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10610 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10612         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10613         (mail-mode): Setup mailalias completion here instead.
10614         * mail/mailalias.el: Use lexical-binding.
10615         (pattern, mailalias-done): Declare dynamic.
10616         (mail-completion-at-point-function): New function, from mail-complete.
10617         (mail-complete): Use it.
10618         (mail-completion-expand): New function.
10619         (mail-get-names): Use it.
10620         (mail-directory, mail-directory-process, mail-directory-stream):
10621         Don't use `pattern' for lexically bound arg.
10623         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10625         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10626         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10627         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10629         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10630         (byte-save-window-excursion, byte-temp-output-buffer-setup)
10631         (byte-interactive-p): Define them again, for use when inlining
10632         old code.
10634 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
10636         * loadup.el: Use `string-to-number', not `string-to-int'.
10638 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10640         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10641         gud-gdb-complete-command.
10642         (gud-gdb-completions): New function, from gud-gdb-complete-command.
10643         (gud-gdb-completion-at-point): New function.
10644         (gud-gdb-completions): Remove.
10646 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
10648         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10649         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
10650         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10651         whether `executable-find' is bound.
10653         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10655 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10657         * minibuffer.el (completion-in-region-mode-predicate)
10658         (completion-in-region-mode--predicate): New vars.
10659         (completion-in-region, completion-in-region--postch)
10660         (completion-in-region-mode): Use them.
10661         (completion--capf-wrapper): Also return the hook function.
10662         (completion-at-point, completion-help-at-point):
10663         Adjust and provide a predicate.
10665         Preserve arg names for advice of subr and lexical functions (bug#8457).
10666         * help-fns.el (help-function-arglist): Consolidate the subr and
10667         new-byte-code cases.  Add argument `preserve-names' to extract names
10668         from the docstring when needed.
10669         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10670         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10671         (ad-arglist): Use help-function-arglist's new arg.
10672         (ad-definition-type): Use cond.
10674 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
10676         * autorevert.el (auto-revert-handler):
10677         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10678         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10679         Don't quote lambda.
10681         * image-mode.el (image-transform-set-scale):
10682         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10684 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10686         * net/network-stream.el (network-stream-open-starttls): Only do
10687         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10688         Upgrades via gnutls-cli are too slow to be done opportunistically.
10690 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
10692         * dframe.el (dframe-current-frame): Remove spurious quote.
10694 2011-04-12  Glenn Morris  <rgm@gnu.org>
10696         * calendar/cal-tex.el (cal-tex-end-document):
10697         Try to automatically use latin1 input if needed.
10699         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10700         Don't try to cons a mark onto an empty element.
10702 2011-04-11  Leo Liu  <sdl.web@gmail.com>
10704         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10705         buffers.
10706         (ido-kill-buffer-at-head): Support killing virtual buffers.
10708 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
10710         * minibuffer.el (completion-show-inline-help): New var.
10711         (completion--do-completion, minibuffer-complete)
10712         (minibuffer-force-complete, minibuffer-complete-word):
10713         Inhibit minibuffer messages if completion-show-inline-help is nil.
10715         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10716         to avoid interference from inline help (Bug#5849).
10718 2011-04-10  Leo Liu  <sdl.web@gmail.com>
10720         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10721         Fix typo.
10723 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
10725         * image-mode.el (image-toggle-display-image): Signal an error if
10726         not in Image mode.
10727         (image-transform-mode, image-transform-resize)
10728         (image-transform-set-rotation): Doc fix.
10729         (image-transform-set-resize): Delete.
10730         (image-transform-set-scale, image-transform-fit-to-height)
10731         (image-transform-fit-to-width): Handle image-toggle-display-image
10732         and image-transform-resize directly.
10734 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
10736         * doc-view.el (doc-view-fit-width-to-window)
10737         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10738         New functions for fitting the shown image to the Emacs window size.
10739         (doc-view-mode-map): Add bindings for the new functions.
10741 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
10743         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
10744         Fix typo in docstring.
10746 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10748         * files.el (file-size-human-readable): Produce one digit after
10749         decimal, like "ls -lh" does.
10751         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10752         the file size representation.
10754         * simple.el (list-processes): If async subprocesses are not
10755         available, error out with a clear error message.
10757 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
10759         * help.el (help-form-show): New function, to be called from C.
10760         Put help-form output in a buffer named differently than *Help*.
10762 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10764         * files.el (file-size-human-readable): New function.
10766         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10767         computing the representation inline.  Don't require `cl'.
10769 2011-04-08  Glenn Morris  <rgm@gnu.org>
10771         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10773         * net/browse-url.el (browse-url-firefox):
10774         Test system-type, not system-configuration.
10776         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10777         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10778         Use log-edit-empty-buffer-p.  (Bug#7598)
10780         * net/rlogin.el (rlogin-process-connection-type): Simplify.
10781         (rlogin-mode-map): Initialize in the defvar.
10782         (rlogin): Use ignore-errors.
10784         * replace.el (occur-mode-map): Some fixes for menu items.
10786 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
10788         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
10790 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10792         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10793         issuing unused warnings.
10795         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10796         macro directly.
10798         * simple.el: Lisp reimplement of list-processes.  Based on an
10799         earlier reimplementation by Leo Liu, but using tabulated-list.el.
10800         (process-menu-mode): New major mode.
10801         (list-processes--refresh, list-processes):
10802         (process-menu-visit-buffer): New functions.
10804         * files.el (save-buffers-kill-emacs): Don't assume any return
10805         value of list-processes, which is undocumented anyway.
10807 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
10809         * emacs-lisp/tabulated-list.el: New file.
10811         * emacs-lisp/package.el: Use Tabulated List mode.
10812         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10813         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
10814         table format using Tabulated List mode variables.
10815         (package--push): New macro, replacing package-list-maybe-add.
10816         (package-menu--generate): Use package--push.  Renamed from
10817         package--generate-package-list.
10818         (package-menu-refresh, list-packages): Use it.
10819         (package-menu--print-info): Rename from package-print-package.
10820         Return insertion data instead of inserting it directly.
10821         (package-menu-describe-package, package-menu-execute):
10822         Use tabulated-list-get-id.
10823         (package-menu-mark-delete, package-menu-mark-install)
10824         (package-menu-mark-unmark, package-menu-backup-unmark)
10825         (package-menu-mark-obsolete-for-deletion):
10826         Use tabulated-list-put-tag.
10827         (package--list-packages, package-menu-revert)
10828         (package-menu-get-package, package-menu-get-version)
10829         (package-menu-sort-by-column): Functions deleted.
10830         (package-menu-package-list, package-menu-sort-key): Vars deleted.
10831         (package-menu--status-predicate, package-menu--version-predicate)
10832         (package-menu--name-predicate)
10833         (package-menu--description-predicate): Handle arguments in the
10834         Tabulated List format.
10835         (package-list-packages-no-fetch): Call list-packages.
10837 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
10839         * files.el (after-find-file-from-revert-buffer): Remove variable.
10840         (after-find-file): Don't bind it.
10841         (revert-buffer-in-progress-p): New variable.
10842         (revert-buffer): Bind it.
10843         Pass nil for `after-find-file-from-revert-buffer'.
10845         * saveplace.el (save-place-find-file-hook): Use new variable
10846         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10848 2011-04-06  Glenn Morris  <rgm@gnu.org>
10850         * Makefile.in (AUTOGEN_VCS): New variable.
10851         (autoloads): Use $AUTOGEN_VCS.
10853         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10854         * calendar/calendar.el (calendar-mode-map):
10855         Check for toolkit scroll bars.  (Bug#8305)
10857 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10859         * minibuffer.el (completion-in-region--postch)
10860         (completion-in-region-mode): Remove unnecessary messages.
10862 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
10864         * font-lock.el (font-lock-refresh-defaults):
10865         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10866         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10868         * info.el (Info-directory-list, Info-read-node-name-2)
10869         (Info-split-parameter-string): Doc fixes.
10870         (Info-virtual-nodes): Reflow docstring.
10871         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10872         (Info-apropos-toc-nodes, info-finder, Info-get-token)
10873         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10874         Fix typos in docstrings.
10875         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10876         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10877         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10878         (Info-restore-desktop-buffer): Mark unused parameters.
10879         (Info-directory-find-file, Info-directory-find-node)
10880         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10881         (Info-virtual-index-find-node, Info-apropos-find-file)
10882         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
10883         Mark unused parameters; fix typos in docstrings.
10884         (Info-virtual-index): Remove unused local variable `nodename'.
10886 2011-04-05  Deniz Dogan  <deniz@dogan.se>
10888         * net/rcirc.el: Update my e-mail address.
10889         (rcirc-mode-map): Remove M-o binding.
10891 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
10893         * startup.el (command-line): Save the cursor's theme-face
10894         directly, instead of using face-override-spec.
10896         * custom.el (load-theme): Minor optimization in assigning faces.
10898 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10900         * help-fns.el (describe-variable): Complete all variables having
10901         documentation, including keywords.
10902         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10904 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
10906         Convert to lexical-binding.
10908         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10909         (bs--get-marked-string, bs--get-modified-string)
10910         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10911         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10912         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10914         * ehelp.el (electric-help-execute-extended)
10915         (electric-help-ctrl-x-prefix):
10916         * hexl.el (hexl-revert-buffer-function):
10917         * linum.el (linum-after-change, linum-after-scroll):
10918         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10920         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10922 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
10924         * epa-dired.el:
10925         * epa-mail.el:
10926         * epa-hook.el:
10927         * epa-file.el:
10928         * epa.el:
10929         * epg.el: Use lexical binding.
10931 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
10933         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10935         * textmodes/flyspell.el (flyspell-word): Recognize default
10936         dictionary case for flyspell-mark-duplications-exceptions.
10937         Use regexp matching for languages.
10938         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10939         default dictionary (Bug#7926).
10941 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
10943         * emacs-lisp/package.el (package--with-work-buffer):
10944         Recognize https URLs.
10946         * net/network-stream.el: Move from gnus/proto-stream.el.
10947         Change prefix to network-stream throughout.
10948         (open-protocol-stream): Merge into open-network-stream, leaving
10949         open-protocol-stream as an alias.  Handle nil BUFFER args.
10951         * subr.el (open-network-stream): Move to net/network-stream.el.
10953 2011-04-02  Glenn Morris  <rgm@gnu.org>
10955         * find-dired.el (find-exec-terminator): New option.
10956         (find-ls-option): Test for -ls support.
10957         (find-ls-subdir-switches): Test for -b in find-ls-option.
10958         (find-dired, find-grep-dired): Doc fixes.
10959         (find-dired): Use find-exec-terminator.
10961         * find-dired.el (find-ls-option, find-ls-subdir-switches)
10962         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10963         (find-name-arg): Remove purecopy.
10965         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10966         (grep-compute-defaults): Check for `-exec COMMAND +' support.
10967         Set grep-find-use-xargs, grep-find-command, and grep-find-template
10968         accordingly.  Don't add the null-device if not needed.
10970         * files.el (save-some-buffers): Doc fix.
10972 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
10974         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10976 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
10978         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10979         Use `dolist' rather than `mapcar'.
10981 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10983         Add lexical binding.
10985         * subr.el (apply-partially): Use new closures rather than CL.
10986         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10987         (dolist, dotimes): Use slightly different expansion for lexical code.
10988         (functionp): Move to C.
10989         (letrec): New macro.
10990         (with-wrapper-hook): Use it and apply-partially instead of CL.
10991         (eval-after-load): Preserve lexical-binding.
10992         (save-window-excursion, with-output-to-temp-buffer): Turn them
10993         into macros.
10995         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10997         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10998         than the arglist.
10999         (help-add-fundoc-usage): Don't add `Not documented'.
11000         (help-function-arglist): Handle closures, subroutines, and new
11001         byte-code-functions.
11002         (help-make-usage): Remove leading underscores.
11003         (describe-function-1): Handle closures.
11004         (describe-variable): Use special-variable-p for completion.
11006         * files.el (lexical-binding): Declare safe.
11008         * emacs-lisp/pcase.el: Don't use destructuring-bind.
11009         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
11010         (pcase): Add `let' pattern.
11011         Change memoization so it actually works.
11012         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11013         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11014         <let>: New case.
11016         * emacs-lisp/macroexp.el: Use lexical binding.
11017         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
11018         Don't convert ' to #' without checking that it's indeed quoting
11019         a lambda.
11021         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11022         Use eval-sexp-add-defvars.
11023         (eval-sexp-add-defvars): New fun.
11025         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11027         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11028         Don't autoload.
11029         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11030         than the internal `byte-compile-lambda'.
11031         (defmethod): Don't hide code under quotes.
11032         (eieio-defmethod): New `code' argument.
11034         * emacs-lisp/eieio-comp.el: Remove.
11036         * emacs-lisp/edebug.el (edebug-eval-defun)
11037         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11038         (edebug-toggle): Avoid `eval'.
11040         * emacs-lisp/disass.el (disassemble-internal): Handle new
11041         `closure' objects.
11042         (disassemble-1): Handle new byte codes.
11044         * emacs-lisp/cl.el (pushnew): Silence warning.
11046         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11047         (cl-byte-compile-throw): Remove.
11048         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11050         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11051         closures.
11053         * emacs-lisp/cconv.el: New file.
11055         * emacs-lisp/bytecomp.el: Use lexical binding instead of
11056         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
11057         (byte-compile-initial-macro-environment):
11058         Handle declare-function here.
11059         (byte-compile--lexical-environment): New var.
11060         (byte-stack-ref, byte-stack-set, byte-discardN)
11061         (byte-discardN-preserve-tos): New lap codes.
11062         (byte-interactive-p): Don't use any more.
11063         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11064         New macros.
11065         (byte-compile-lapcode): Use them and handle new lap codes.
11066         (byte-compile-obsolete): Remove.
11067         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11068         (byte-compile-arglist-warn): Check late def of inlinable funs.
11069         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11070         since they should have been expanded by now.
11071         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11072         (byte-compile-from-buffer): Remove unused second arg.
11073         (byte-compile-preprocess): New function.
11074         (byte-compile-toplevel-file-form): New function to distinguish
11075         file-form calls from outside from file-form calls from hunk-handlers.
11076         (byte-compile-file-form): Simplify.
11077         (byte-compile-file-form-defsubst): Remove.
11078         (byte-compile-file-form-defmumble): Simplify now that
11079         byte-compile-lambda always returns a byte-code-function.
11080         (byte-compile): Preprocess.
11081         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11082         Remove, not used any more.
11083         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11084         (byte-compile-make-args-desc): New funs.
11085         (byte-compile-lambda): Handle lexical functions.  Always return
11086         a byte-code-function.
11087         (byte-compile-reserved-constants): New var, to make up room for
11088         closed-over variables.
11089         (byte-compile-constants-vector): Obey it.
11090         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11091         (byte-compile-macroexpand-declare-function): New function.
11092         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11093         byte-code-functions.
11094         (byte-compile-form): Check obsolescence here.
11095         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11096         (byte-compile-variable-ref): Remove.
11097         (byte-compile-dynamic-variable-op): New fun.
11098         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11099         (byte-compile-variable-set): New funs.
11100         (byte-compile-discard): Add 2 args.
11101         (byte-compile-stack-ref, byte-compile-stack-set)
11102         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11103         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11104         macroexpand-all instead.
11105         (byte-compile-quote-form): Remove.
11106         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11107         (byte-compile-bind, byte-compile-unbind): New funs.
11108         (byte-compile-let): Handle let* and lexical binding.
11109         (byte-compile-let*): Remove.
11110         (byte-compile-catch, byte-compile-unwind-protect)
11111         (byte-compile-track-mouse, byte-compile-condition-case):
11112         Handle a new :fun-body form, used for lexical scoping.
11113         (byte-compile-save-window-excursion)
11114         (byte-compile-with-output-to-temp-buffer): Remove.
11115         (byte-compile-defun): Simplify.
11116         (byte-compile-stack-adjustment): New fun.
11117         (byte-compile-out): Use it.
11118         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11120         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11121         handler any more.
11123         * emacs-lisp/byte-opt.el: Use lexical binding.
11124         (byte-inline-lapcode): Remove (to bytecomp).
11125         (byte-compile-inline-expand): Pay attention to inlining to/from
11126         lexically bound code.
11127         (byte-compile-unfold-lambda): Don't handle byte-code-functions
11128         any more.
11129         (byte-optimize-form-code-walker): Don't handle save-window-excursion
11130         any more and don't call compiler-macros.
11131         (byte-compile-splice-in-already-compiled-code): Remove.
11132         (byte-code): Don't inline any more.
11133         (disassemble-offset): Receive `bytes' as argument rather than via
11134         dynamic scoping.
11135         (byte-compile-tag-number): Declare before first use.
11136         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11137         `return' even if make-spliceable.
11138         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11139         obsolete interactive-p.
11140         (byte-optimize-lapcode): Optimize new lap-codes.
11141         Don't trip up on new form of `byte-constant' lap code.
11143         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11145         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11147         * custom.el (custom-initialize-default, custom-declare-variable):
11148         Use `defvar'.
11150         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11151         New variables.
11152         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11153         (COMPILE_FIRST): Add macroexp and cconv.
11154         * makefile.w32-in: Mirror changes in Makefile.in.
11156         * vc/cvs-status.el:
11157         * vc/diff-mode.el:
11158         * vc/log-edit.el:
11159         * vc/log-view.el:
11160         * vc/smerge-mode.el:
11161         * textmodes/bibtex-style.el:
11162         * textmodes/css.el:
11163         * startup.el:
11164         * uniquify.el:
11165         * minibuffer.el:
11166         * newcomment.el:
11167         * reveal.el:
11168         * server.el:
11169         * mpc.el:
11170         * emacs-lisp/smie.el:
11171         * doc-view.el:
11172         * dired.el:
11173         * abbrev.el: Use lexical binding.
11175 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
11177         * info.el (info-display-manual): New function.
11179 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11181         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11183 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
11185         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11186         an entry for that server in rcirc-authinfo.  (Bug#8385)
11188 2011-03-31  Glenn Morris  <rgm@gnu.org>
11190         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11192         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11194 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
11196         * progmodes/python.el (python-default-interpreter)
11197         (python-python-command-args, python-jython-command-args)
11198         (python-which-shell, python-which-args, python-which-bufname)
11199         (python-file-queue, python-comint-output-filter-function)
11200         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11201         variables and functions.
11203 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11205         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11206         (completion-in-region-mode): New minor mode.
11207         (completion-in-region): Use it.
11208         (completion-in-region--data, completion-in-region-mode-map): New vars.
11209         (completion-in-region--postch): New function.
11210         (completion--capf-misbehave-funs, completion--capf-safe-funs):
11211         New vars.
11212         (completion--capf-wrapper): New function.
11213         (completion-at-point): Use it to track well-behavedness of
11214         hook functions.
11215         (completion-help-at-point): New command.
11217 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
11219         * vc/add-log.el (add-change-log-entry): Don't use whitespace
11220         syntax class to search for whitespace on a single line
11221         (Message-ID: <4D938140.4030905@redhat.com>).
11223 2011-03-30  Leo Liu  <sdl.web@gmail.com>
11225         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11226         New commands.
11227         (edit-abbrevs-map): Bind them here.
11228         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
11230 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
11232         * allout.el (allout-hide-by-annotation, allout-flag-region):
11233         Reduce possibility of overlay leakage by making them volatile.
11235         * allout-widgets.el (allout-widgets-tally): Define as nil so the
11236         hash is not shared between buffers.  Mode initialization is
11237         responsible for giving it a useful starting value.
11238         (allout-item-span): Reduce possibility of overlay leakage by
11239         making them volatile.
11240         (allout-widgets-count-buttons-in-region): Add diagnostic function
11241         for tracking down button overlay leaks.
11243 2011-03-29  Leo Liu  <sdl.web@gmail.com>
11245         * ido.el (ido-read-internal): Use the default history var
11246         minibuffer-history if no HISTORY is specified.
11248 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
11250         * net/imap.el (imap-shell-open, imap-process-connection-type):
11251         Use imap-process-connection-type for 'shell' streams as well as
11252         Kerberos, SSL, other subprocesses.
11254 2011-03-28  Leo Liu  <sdl.web@gmail.com>
11256         * abbrev.el (abbrev-table-empty-p): New function.
11257         (prepare-abbrev-list-buffer): Place empty abbrev tables after
11258         nonempty ones.  (Bug#5937)
11260 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
11262         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11264 2011-03-27  Leo Liu  <sdl.web@gmail.com>
11266         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11267         for foreground and background colors.
11268         (ansi-color-make-color-map): Adapt.
11270 2011-03-25  Leo Liu  <sdl.web@gmail.com>
11272         * midnight.el (midnight-time-float): Remove.  Note it calculates
11273         the microsecond component incorrectly and seconds-to-time does the
11274         same job.
11275         Remove redundant (require 'timer).
11277         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11278         (ido-completions): Remove unused arguments.  (Bug#8329)
11280 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11282         * minibuffer.el (completion--flush-all-sorted-completions):
11283         Remove itself from hook.
11284         (completion-at-point): Let the functions perform the completion
11285         immediately and return nil or t.
11286         * comint.el (comint-dynamic-complete-functions): Now identical to
11287         completion-at-point-functions.
11288         (comint-dynamic-list-input-ring): Remove unused var `index'.
11289         (comint--match-partial-filename, comint--unquote&expand-filename):
11290         New funs, split from comint-match-partial-filename.
11291         (comint-dynamic-complete): Use completion-at-point.
11292         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11294 2011-03-24  Drew Adams  <drew.adams@oracle.com>
11296         * thingatpt.el: Support `defun'.
11298 2011-03-23  Leo Liu  <sdl.web@gmail.com>
11300         * abbrevlist.el: Move to obsolete/abbrevlist.el.
11302         * help-mode.el (help-mode-finish): Tweak regexp.
11304 2011-03-23  Glenn Morris  <rgm@gnu.org>
11306         * eshell/esh-opt.el (eshell-eval-using-options):
11307         Do not bind unused local variable `eshell-option-stub'.
11309         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11311 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11313         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11314         keymap variable in `with-no-warnings' to avoid a warning when the
11315         keymap has been already `defconst'ed.
11317 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11319         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11320         encode all chars in abbrevs; otherwise use emacs-mule or
11321         utf-8-emacs.  (Bug#8308)
11323 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11325         * simple.el (backward-delete-char-untabify):
11326         Avoid warning about using `delete-backward-char'.
11328         * image.el (image-type-file-name-regexps): Make it variable.
11329         `imagemagick-register-types' modifies it, and the user may want
11330         to add new extensions for known image types.
11331         (imagemagick-register-types): Throw error if not using ImageMagick.
11333 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11335         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11336         located before rcirc-prompt-end-marker.
11337         (rcirc-complete): Error if point is not after rcirc prompt.
11338         Handle the case when table is nil.
11339         (rcirc-user-authenticated): Define to fix compiler warning.
11341 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11343         * custom.el (custom--inhibit-theme-enable): Make it affect only
11344         custom-theme-set-variables and custom-theme-set-faces.
11345         (provide-theme): Ignore custom--inhibit-theme-enable.
11346         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11347         (custom-enabling-themes): Delete variable.
11348         (enable-theme): Accept only loaded themes as arguments.
11349         Ignore the special custom-enabled-themes variable.
11350         (custom-enabled-themes): Forbid themes from setting this.
11351         Eliminate use of custom-enabling-themes.
11352         (custom-push-theme): Quote "changed" custom var entry.
11354 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11356         * ido.el (ido-read-internal): Add ido-selected to history instead
11357         of user input.
11359 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11361         * subr.el (deferred-action-list, deferred-action-function):
11362         Mark obsolete.
11364 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11366         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11367         change on 2011-02-13 (bug#8309).
11369         * minibuffer.el (read-file-name-function): Change default value.
11370         (read-file-name--defaults): Rename from read-file-name-defaults.
11371         (read-file-name-default): Rename from read-file-name.
11372         (read-file-name): Call read-file-name-function.
11374 2011-03-21  Glenn Morris  <rgm@gnu.org>
11376         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11377         Doc fixes.
11379 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11381         * cus-theme.el: Add missing provide statement.
11382         (customize-create-theme): Extract theme value correctly.
11383         (custom-theme-visit-theme): Autoload.
11384         (customize-create-theme): Prompt before inserting default faces.
11386 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11388         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11389         units and musical notes.
11391 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11393         * ido.el (ido-read-internal): Use completing-read-default.
11394         (ido-completing-read): Fix compatibility with completing-read.
11396 2011-03-20  Christian Ohler  <ohler@gnu.org>
11398         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11399         (ert-delete-all-tests): Use `called-interactively-p' rather than
11400         `interactive-p'.
11401         (ert--make-xrefs-region): Respect END.
11403 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11405         * dired-aux.el (dired-create-directory): Signal an error if the
11406         directory already exists (Bug#8246).
11408         * facemenu.el (list-colors-display): Call list-faces-display
11409         inside with-help-window.
11410         (list-colors-print): Use display property to align the final
11411         column, instead of checking window-width.
11413 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11415         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11416         windows-nt systems.
11417         (emerge-protect-metachars): Quote correctly for ms-dos and
11418         windows-nt systems.
11420 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11422         * info.el (info-initialize): Replace all uses of `:' with
11423         path-separator for compatibility with non-Unix systems.
11424         Cache quoting of path-separator.  (Bug#8258)
11426 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11428         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11429         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11430         (mouse-avoidance-mode): Fix typos in docstrings.
11432 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11434         * startup.el (package-subdirectory-regexp): Move from package.el.
11435         Omit \\` and \\', and let callers add them.
11437         * emacs-lisp/package.el (package-strip-version)
11438         (package-load-all-descriptors): Add \\` and \\' to
11439         package-subdirectory-regexp before using it.
11440         (package-untar-buffer): New arg DIR; ensure that file untars only
11441         into this expected directory.  Remove superfluous delete-region.
11442         (package-unpack): Caller changed.
11443         (package-tar-file-info): Use package-subdirectory-regexp.
11445 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11447         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11448         diff-mode-shared-map (bug#8284).
11449         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11451 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11453         * calendar/time-date.el (format-seconds): Use assoc instead of
11454         assoc-string, since assoc-string doesn't exist in XEmacs.
11456 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11458         * custom.el (custom-known-themes): Reflow docstring.
11459         (custom-theme-load-path): Fix typo in docstring.
11460         (load-theme): Fix typo in error message.
11461         (custom-available-themes, custom-variable-theme-value):
11462         Use `let', not `let*'.
11464 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11466         * calc/README: Mention inclusion of musical notes.
11468         * calc/calc-units.el (calc-lu-quant): Rename from
11469         `calc-logunits-quantity'.
11470         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11471         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11472         (calc-db): Rename from `calc-dblevel'.
11473         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11474         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11475         (calc-np): Rename from `calc-nplevel'.
11476         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11477         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11478         (calc-lu-plus): Rename from `calc-logunits-add'.
11479         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11480         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11481         (calc-lu-minus): Rename from `calc-logunits-sub'.
11482         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11483         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11484         (calc-lu-times): Rename from `calc-logunits-mul'.
11485         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11486         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11487         (calc-lu-divide): Rename from `calc-logunits-div'.
11488         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11489         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11491         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11492         functions being autoloaded.
11494         * calc/calc.el (calc-lu-power-reference): Rename from
11495         `calc-logunits-power-reference'.
11496         (calc-lu-field-reference): Rename from
11497         `calc-logunits-field-reference'.
11499         * calc/calc-help.el (calc-l-prefix-help):
11500         Mention musical note functions.
11502 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11504         * minibuffer.el (completion-all-sorted-completions):
11505         Use :completion-cycle-penalty text property if present.
11507 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11509         * allout.el (allout-yank-processing): Adjust for new rebulleting
11510         regime so bullet being yanked is used without prompting the user
11511         for a choice.
11513 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11515         * startup.el (command-line): Warn the user that _emacs is deprecated.
11517 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11519         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11520         (delphi-verbose, delphi-comment-face, delphi-string-face)
11521         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11522         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11523         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11524         (delphi-new-comment-line, delphi-font-lock-defaults)
11525         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11526         Fix typos in docstrings.
11528 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11530         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11531         Invert the roles of character and string values for INSTEAD, so a
11532         string is used for the more common case of a defaulting prompt.
11534 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11536         * progmodes/ruby-mode.el (ruby-backward-sexp):
11537         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11538         * play/gamegrid.el (gamegrid-make-face):
11539         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11540         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11541         * notifications.el (notifications-notify):
11542         * net/xesam.el (xesam-search-engines):
11543         * net/quickurl.el (quickurl-list-insert):
11544         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11546 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11548         * startup.el (command-line): Update package subdirectory regexp.
11550 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11552         * allout.el (allout-abbreviate-flattened-numbering)
11553         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11555         * subr.el (read-char-choice): Only show the cursor after the prompt,
11556         not after the answer.
11558 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11560         * help-fns.el (variable-at-point): Skip leading quotes, if any
11561         (bug#8253).
11563 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11565         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11566         warning message.
11568 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11570         * shell.el (shell): When called interactively, offer to change the
11571         shell file name on remote hosts.
11573 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
11575         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11576         integration for LDAP parameters.  The host, base, user or binddn,
11577         and secret tokens can be specified in a netrc file, for instance.
11578         This is optional because an `auth-source' parameter must be
11579         specified in the search attributes.
11581 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
11583         * help.el (describe-mode): Link to the mode's definition (bug#8185).
11585 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11587         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11588         into declaration.  Remove redundant and harmful binding.
11590 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
11592         * files.el (file-ownership-preserved-p): Pass `integer' as an
11593         explicit 2nd argument to `file-attributes'.  If the file's owner
11594         is the Administrators group on Windows, and the current user is
11595         Administrator, consider that a match.
11597         * server.el (server-ensure-safe-dir): Consider server directory
11598         safe on MS-Windows if its owner is the Administrators group while
11599         the current Emacs user is Administrator.  Use `=' to compare
11600         numerical UIDs, since they could be integers or floats.
11602 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
11604         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11606 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
11608         Sync with Tramp 2.2.1.
11610         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11612         * net/trampver.el: Update release number.
11614 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11616         * progmodes/compile.el (compilation--previous-directory): Fix up
11617         various nil/dead-marker mismatches (bug#8014).
11618         (compilation-directory-properties, compilation-error-properties):
11619         Don't call it at a position past the one we're about to change.
11621         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11622         Disable obsolescence warnings in the file that declares it.
11624 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
11626         * allout-widgets.el (allout-widgets-tally):
11627         Initialize allout-widgets-tally as a hash table rather than nil to
11628         prevent mode-line redisplay warnings.  Also, clarify the module
11629         description and fix a comment typo.
11631 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
11633         * help-fns.el (describe-variable): Don't complete keywords.
11634         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11636 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
11638         * emacs-lisp/package.el (package-version-join): Impose a standard
11639         string representation for pre/alpha/beta version lists.
11640         (package-unpack-single): Standardize the directory name by passing
11641         it through package-version-join.
11642         (package-strip-rcs-id): Accept any version string that does not
11643         signal an error in version-to-list.
11645 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
11647         * simple.el (delete-trailing-whitespace): Return nil for the
11648         benefit of `write-file-functions'.
11650 2011-03-10  Glenn Morris  <rgm@gnu.org>
11652         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11654         * vc/vc-git.el (vc-git-program): New option.
11655         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11656         (vc-git--call): Use it.
11658         * eshell/esh-util.el (eshell-condition-case): Doc fix.
11660         * cus-edit.el (Custom-newline): If no button at point, look
11661         for a subgroup button at start-of-line.  (Bug#2298)
11663         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11665 2011-03-10  Julien Danjou  <julien@danjou.info>
11667         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11668         `cursor-type' is nil.
11670 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
11672         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11674 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
11676         * allout.el: Change so yank of distinctive-bullet items
11677         preserves the existing header prefix, rebulleting it if necessary,
11678         rather than replacing it.  This is necessary for proper operation
11679         of cooperative addons like allout-widgets.
11680         (allout-make-topic-prefix, allout-rebullet-heading):
11681         Change SOLICIT arg to INSTEAD, and interpret additionally a string
11682         value as alternate bullet to be used, instead of prompting the user
11683         for a bullet character.
11685 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
11687         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11688         Do not use `tramp-file-name-port', because this returns also
11689         `tramp-default-port'.
11691 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
11693         * net/rcirc.el (rcirc-handler-001): Remove useless
11694         with-rcirc-process-buffer.
11695         (rcirc-check-auth-status): Swap arguments to string-match.
11697 2011-03-09  Glenn Morris  <rgm@gnu.org>
11699         * shell.el (shell-mode):
11700         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
11702         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11703         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
11705 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11707         * emacs-lisp/package.el (package-refresh-contents)
11708         (package-menu-execute): Use condition-case-no-debug.
11710 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
11712         * simple.el (shell-command-to-string): Use `process-file'.
11714         * emacs-lisp/package.el (package-tar-file-info): Handle also
11715         remote files.
11717         * emacs-lisp/package-x.el (package-upload-buffer-internal):
11718         Use `equal' for upload base check.
11720 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
11722         * textmodes/texinfo.el (texinfo-environments):
11723         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
11725 2011-03-08  Glenn Morris  <rgm@gnu.org>
11727         * cus-start.el (cursor-in-non-selected-windows):
11728         Fix :set quoting oddness.  (Bug#8192)
11730         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11731         in some setf expressions.  (Bug#2159)
11733 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11735         * custom.el (custom-available-themes): Return themes in
11736         alphabetical order.
11738 See ChangeLog.15 for earlier changes.
11740 ;; Local Variables:
11741 ;; coding: utf-8
11742 ;; End:
11744   Copyright (C) 2011-2012  Free Software Foundation, Inc.
11746   This file is part of GNU Emacs.
11748   GNU Emacs is free software: you can redistribute it and/or modify
11749   it under the terms of the GNU General Public License as published by
11750   the Free Software Foundation, either version 3 of the License, or
11751   (at your option) any later version.
11753   GNU Emacs is distributed in the hope that it will be useful,
11754   but WITHOUT ANY WARRANTY; without even the implied warranty of
11755   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11756   GNU General Public License for more details.
11758   You should have received a copy of the GNU General Public License
11759   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.