Fixes: debbugs:11209
[emacs.git] / lisp / ChangeLog
blob954daf68510c04599dbaaf89dcdecef25680c015
1 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
3         * international/characters.el: Recover lost case pairs.
4         (Bug#11209)
6 2012-04-09  Chong Yidong  <cyd@gnu.org>
8         * custom.el (custom-variable-p): Return nil for non-symbol
9         arguments instead of signaling an error.
10         (user-variable-p): Obsolete alias for custom-variable-p.
12         * apropos.el (apropos-variable):
13         * files-x.el (read-file-local-variable):
14         * simple.el (set-variable):
15         * woman.el (woman-mini-help):
16         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
18 2012-04-09  Glenn Morris  <rgm@gnu.org>
20         * startup.el (normal-top-level): Don't look for leim-list.el
21         in places where it will not be found.  (Bug#910)
23         * international/mule-cmds.el (set-default-coding-systems):
24         * files.el (normal-mode):
25         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
26         This function was removed with ucs-tables.el in 2008.
28 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
30         * textmodes/ispell.el (ispell-check-version): For hunspell, set
31         ispell-encoding8-command to "-i", without a trailing space.
32         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
33         separate command-line arguments, to specify the encoding, since
34         that's how hunspell expects it.
36 2012-04-08  Glenn Morris  <rgm@gnu.org>
38         * loadup.el: Load bindings before cus-start.
39         This reduces somewhat the number of "rogue" settings in emacs -Q.
41 2012-04-07  Glenn Morris  <rgm@gnu.org>
43         * version.el (emacs-bzr-get-version): New function.
44         (emacs-bzr-version): New variable.
45         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
46         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
48 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
50         * international/uni-bidi.el, international/uni-category.el:
51         * international/uni-combining.el, international/uni-decimal.el:
52         * international/uni-decomposition.el, international/uni-digit.el:
53         * international/uni-lowercase.el, international/uni-mirrored.el:
54         * international/uni-name.el, international/uni-numeric.el:
55         * international/uni-titlecase.el, international/uni-uppercase.el:
56         Update for Unicode 6.1.
58 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
60         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
62 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
64         * window.el (shrink-window): Mention the `window-min-height'
65         variable in the doc string.
67 2012-04-05  Bastien Guerry  <bzg@altern.org>
69         * color.el (color-lighten-name): Fix typo.
71 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
73         * server.el (server--on-display-p): New function.
74         (server--on-display-p): Use it.
76 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
78         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
79         (bug#11145).
81 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
83         * comint.el (comint--common-quoted-suffix): Check string boundary
84         before comparing (bug#11158).
85         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
87 2012-04-04  Chong Yidong  <cyd@gnu.org>
89         * minibuffer.el (completion-extra-properties): Doc fix.
91         * subr.el (delayed-warnings-hook): Doc fix.
93 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
95         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
96         selection (Bug#11159).
97         (epa-insert-keys): Inform that the default public key will be
98         exported if no key is selected.
100 2012-04-04  Richard Stallman  <rms@gnu.org>
102         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
104 2012-04-03  Chong Yidong  <cyd@gnu.org>
106         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
107         mail-insert-file, not its obsolete alias mail-attach-file.
109 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
111         * notifications.el (notifications-notify): Fix docstring.
113 2012-04-02  Glenn Morris  <rgm@gnu.org>
115         * emacs-lisp/authors.el (authors-aliases): Another addition.
117 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
119         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
120         `tramp-compat-call-process' instead of `tramp-local-call-process'.
121         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
123 2012-04-01  Chong Yidong  <cyd@gnu.org>
125         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
126         Handle root directory properly.
127         (copy-directory): Caller changed.
129         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
130         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
132 2012-03-31  Glenn Morris  <rgm@gnu.org>
134         * term/xterm.el (xterm-extra-capabilities): Doc fix.
136         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
138         * calendar/calendar.el (calendar-window-list)
139         (calendar-hide-window): Restore.  (Bug#11140)
140         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
142         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
144 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
146         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
147         Check if file is a symlink (Bug#10489).
149         * files.el (copy-directory): Likewise.
151 2012-03-30  Chong Yidong  <cyd@gnu.org>
153         * image.el (imagemagick-types-inhibit)
154         (imagemagick-register-types): Doc fix.
156 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
158         * ispell.el (ispell-get-extended-character-mode): Disable
159         extended-char-mode for hunspell. hunspell does not support it and
160         treats ~word as ordinary words in pipe mode.
162 2012-03-30  Glenn Morris  <rgm@gnu.org>
164         * tutorial.el (help-with-tutorial): Ensure local variables don't
165         happen to make the buffer read-only.  (Bug#11127)
167 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
169         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
170         (perl-calculate-indent): Return `noindent' in strings.
172 2012-03-28  Sam Steingold  <sds@gnu.org>
174         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
175         instead of the broken adhockery which does not prevent calendar
176         buffers from being displayed at random after exit.
177         (calendar-window-list, calendar-hide-window): Remove the broken
178         adhockery.
180 2012-03-28  Glenn Morris  <rgm@gnu.org>
182         * replace.el (query-replace-map): Doc fix.
184 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
186         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
187         contents.  (Bug#11109)
189 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
191         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
192         (bug#11077).
193         (avl-tree--check, avl-tree--check-node): New funs.
195 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
197         * window.el (switch-to-visible-buffer): New option.
198         (switch-to-prev-buffer, switch-to-next-buffer):
199         Observe switch-to-visible-buffer.  Make sure that checking for a window
200         showing a buffer already is done on the same frame.
202 2012-03-27  Glenn Morris  <rgm@gnu.org>
204         * startup.el (mail-host-address): Doc fix.
206 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
208         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
209         than 197 variables.
211 2012-03-26  Ami Fischman  <ami@fischman.org>
213         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
215 2012-03-26  Glenn Morris  <rgm@gnu.org>
217         * files.el (save-buffers-kill-emacs): Doc fix.
219         * startup.el (normal-top-level, command-line, command-line-1):
220         Give them doc strings.
222 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
224         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
225         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
227 2012-03-25  Chong Yidong  <cyd@gnu.org>
229         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
230         theme if it was previously enabled before (Bug#11031).
232         * cus-theme.el (custom-theme-write-faces): Retrieve current face
233         spec with custom-face-get-current-spec if its :shown-value is not
234         determined yet (Bug#9337).
235         (customize-create-theme, custom-theme-revert): Doc fixes.
237         * button.el (button-at): Minor addition to docstring.
239 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
241         * vc/vc.el (vc-merge): Fix a prompt.
243 2012-03-24  Chong Yidong  <cyd@gnu.org>
245         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
246         point (Bug#9623).
248         * button.el (button-at): Minor addition to docstring.
250 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
252         * newcomment.el (comment-choose-indent): No space after BOL.
254 2012-03-22  Sam Steingold  <sds@gnu.org>
256         * window.el (switch-to-prev-buffer): Revert last patch because the
257         bug turned out to be an advertised feature (Elisp manual 28.14).
259 2012-03-22  Glenn Morris  <rgm@gnu.org>
261         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
262         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
264 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
266         * net/network-stream.el (network-stream-open-starttls): Make error
267         message under Windows be less misleading.
269 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
271         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
272         understands (bug#9942).
274 2012-03-22  Chong Yidong  <cyd@gnu.org>
276         * simple.el (end-of-visible-line): Handle return value of
277         next-single-property-change properly (Bug#9371).
279 2012-03-22  Kenichi Handa  <handa@m17n.org>
281         * international/quail.el (quail-insert-kbd-layout): Fix previous
282         change.  To avoid unwanted bidi reordering, use
283         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
285 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
287         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
288         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
289         (ruby-beginning-of-indent): Be more careful with the difference
290         between word-boundary and symbol boundary.
291         (ruby-mode-syntax-table): Make : a symbol constituent.
293 2012-03-21  Andreas Politz  <politza@fh-trier.de>
295         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
297 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
299         * progmodes/etags.el (tags-completion-at-point-function):
300         Improve last fix.
302         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
304 2012-03-21  Sam Steingold  <sds@gnu.org>
306         * progmodes/etags.el (tags-completion-at-point-function):
307         Avoid the error when point is inside the pattern.
309 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
311         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
312         line (Bug#10855).
314 2012-03-21  Drew Adams  <drew.adams@oracle.com>
316         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
318 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
320         * ido.el (ido-set-current-directory, ido-read-internal)
321         (ido-choose-completion-string, ido-completion-help): Handle nil
322         value of ido-completion-buffer (Bug#11008).
324 2012-03-21  Sam Steingold  <sds@gnu.org>
326         * window.el (switch-to-prev-buffer): Do not switch to a visible
327         window previous buffer, just like with the frame previous buffers.
329 2012-03-21  Chong Yidong  <cyd@gnu.org>
331         * faces.el (make-face, make-empty-face, copy-face):
332         * face-remap.el (face-remap-add-relative, face-remap-set-base):
333         Doc fixes.
335 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
337         * wid-edit.el (widget-complete-field): Remove (bug#11051).
338         (widget-complete): Remove broken use of it.
340 2012-03-20  Chong Yidong  <cyd@gnu.org>
342         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
343         Use string-width and truncate-string-width to handle arbitrary
344         characters.
346 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
348         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
349         to draw rectangles, not squares.  (Regression introduced by revno
350         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
352 2012-03-18  Chong Yidong  <cyd@gnu.org>
354         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
355         it is not yet defined (for temacs).
357 2012-03-18  Leo Liu  <sdl.web@gmail.com>
359         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
361 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
363         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
364         (ispell-choices-win-default-height, ispell-silently-savep)
365         (ispell-dictionary-alist, ispell-encoding8-command)
366         (ispell-check-version, ispell-aspell-find-dictionary)
367         (ispell-valid-dictionary-list, ispell-words-keyword)
368         (ispell-get-word, ispell-internal-change-dictionary)
369         (ispell-region, ispell-skip-region-list)
370         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
371         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
372         (ispell-message-text-end, ispell-message)
373         (ispell-buffer-local-parsing): Doc fix.
375 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
377         * htmlfontify.el: Add support for code block fontification for ODT
378         export (Bug #9914).
379         (hfy-optimisations): Define new option
380         `body-text-only'
381         (hfy-fontify-buffer): Honor above setting.
382         (hfy-begin-span, hfy-end-span): New routines factored out form
383         `hfy-fontify-buffer'.
384         (hfy-begin-span-handler, hfy-end-span-handler): New variables
385         that permit insertion of custom tags.
386         (hfy-fontify-buffer): Use above handlers.
387         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
388         (hfy-face-to-css): Re-defined to be a variable.
389         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
390         over multiple runs. This is made possible by having the caller let
391         bind a special variable `hfy-user-sheet-assoc'.
392         (htmlfontify-string): New defun.
393         (hfy-compile-face-map): Make sure that the last char in the
394         buffer is correctly fontified.
395         (hfy-face-resolve-face): Whitespace only change.
397 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
399         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
400         message more clear.
402 2012-03-16  Leo Liu  <sdl.web@gmail.com>
404         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
406 2012-03-16  Alan Mackenzie  <acm@muc.de>
408         Further optimise the handling of large macros.
410         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
411         limit to a call of `c-literal-limits'.
412         (c-determine-+ve-limit): New function.
413         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
414         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
415         In CASE 5B, restrict a search limit to 500.
416         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
418         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
419         Restrict macro bounds to +-500 from after-change's BEG END.
421 2012-03-16  Leo Liu  <sdl.web@gmail.com>
423         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
425 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
427         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
428         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
430 2012-03-16  Glenn Morris  <rgm@gnu.org>
432         * view.el (view-buffer, view-buffer-other-window)
433         (view-buffer-other-frame): Doc fixes re special mode-class.
435         * subr.el (eval-after-load): If named feature is provided not from
436         a file, run after-load forms.  (Bug#10946)
438         * calendar/calendar.el (calendar-insert-at-column):
439         Handle non-unit-width characters a bit better.  (Bug#10978)
441 2012-03-15  Chong Yidong  <cyd@gnu.org>
443         * emacs-lisp/ring.el (ring-extend): New function.
444         (ring-insert+extend): Extend the ring correctly (Bug#11019).
446         * comint.el (comint-read-input-ring)
447         (comint-add-to-input-history): Grow comint-input-ring lazily.
449 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
451         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
452         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
454         * imenu.el: Fix multiple inheritance breakage (bug#9199).
455         (imenu-add-to-menubar): Don't add a redundant index.
456         (imenu-update-menubar): Handle a dynamically composed keymap.
458 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
460         * mail/sendmail.el (mail-encode-header):
461         Bind rfc2047-encode-encoded-words to nil.
463 2012-03-13  Glenn Morris  <rgm@gnu.org>
465         * calendar/calendar.el (calendar-string-spread):
466         Handle non-unit-width characters a bit better.  (Bug#10978)
468 2012-03-13  Leo Liu  <sdl.web@gmail.com>
470         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
471         directory and file as argument (Bug#10822).
473 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
475         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
476         For dynamically generated code, follow $PC.
477         (gdb-disassembly-handler-custom): Handle no function name case.
479 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
481         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
482         * emulation/ws-mode.el (ws-query-replace):
483         * sort.el (sort-regexp-fields):
484         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
486 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
488         * dabbrev.el: Fix cycle completion order (bug#10963).
489         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
490         (dabbrev-completion): Don't use an obarray; provide
491         a cycle-sort-function.
493 2012-03-12  Leo Liu  <sdl.web@gmail.com>
495         * simple.el (kill-new): Use equal-including-properties for comparison.
496         (kill-do-not-save-duplicates): Doc fix.
498 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
500         * dabbrev.el: Fix cycle completion (bug#10963).
501         Use lexical binding and wrap to 80 columns.
502         (dabbrev-completion): Delay computing the list of completions.
504 2012-03-12  Kenichi Handa  <handa@m17n.org>
506         * international/quail.el (quail-insert-kbd-layout): Surround each
507         row by LRO and PDF instead of inserting many LRMs.  Pad the left
508         and right of each non-spacing marks.  Insert invisible space
509         between lower and upper characters to prevent composition.
511 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
513         * minibuffer.el (minibuffer-complete): Don't get confused when the
514         function is run twice via different commands (bug#10958).
515         (complete-with-action): Fix docstring.
517 2012-03-12  Chong Yidong  <cyd@gnu.org>
519         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
520         (nxml-completion-at-point-function): New function.
521         (nxml-mode): Use it.
522         (nxml-bind-meta-tab-to-complete-flag): Default to t.
524         * emacs-lisp/package.el (package-unpack, package-unpack-single):
525         Load generated autoloads file before byte compiling (Bug#10970).
526         (package--make-autoloads-and-compile): New helper fun.
528 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
530         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
532 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
534         * autorevert.el (auto-revert-handler): Ensure, that
535         file-readable-p is applied only for local files or in
536         auto-revert-tail-mode.
538 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
540         * server.el (server-eval-at): Handle non-tcp connections.
541         Decode result string.
543         * server.el (server-msg-size): New constant.
544         (server-reply-print): New function.
545         (server-eval-and-print): Use it.
546         (server-eval-at): Use server-quote-arg and server-unquote-arg.
547         Handle -print-nonl.
549 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
551         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
552         (Bug#10987).
554 2012-03-11  Chong Yidong  <cyd@gnu.org>
556         * simple.el (goto-line): Doc fix (Bug#9938).
558         * subr.el (save-window-excursion): Doc fix (Bug#9979).
560         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
561         when finished (Bug#10963).
563 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
565         * window.el (split-window-below): Fix bug in case where
566         split-window-keep-point is nil (Bug#10971).
568 2012-03-11  Juri Linkov  <juri@jurta.org>
570         * replace.el (replace-highlight): Set isearch-word to nil
571         unconditionally.  (Bug#10887)
573 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
575         * net/mairix.el (mairix-replace-invalid-chars): Rename from
576         mairix-replace-illegal-chars; all callers changed.  Don't remove
577         ^, ~, and = characters: they are meaningful in mairix search specs.
578         (mairix-widget-create-query): Add usage information about mairix
579         search forms: negating words, searching for substrings, etc.
581 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
583         * international/fontset.el (font-encoding-alist): Add an entry for
584         ksx1001 (Bug#5667).
586 2012-03-10  Richard Stallman  <rms@gnu.org>
588         * mail/sendmail.el (mail-encode-header):
589         Set rfc2047-encode-encoded-words.
591         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
593         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
594         view buffer means not swapped.
595         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
596         (rmail-write-region-annotate): Error if real text has disappeared.
598         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
600 2012-03-10  Chong Yidong  <cyd@gnu.org>
602         * emulation/cua-rect.el (cua--init-rectangles):
603         * emulation/cua-base.el (cua--init-keymaps):
604         Add delete-forward-char to remappings (Bug#9666).
606 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
608         * speedbar.el (speedbar-unhighlight-one-tag-line):
609         Avoid unhighlighting due to frame switching (Bug#10275).
611 2012-03-10  Chong Yidong  <cyd@gnu.org>
613         * minibuffer.el (completion-in-region, completion-help-at-point):
614         Give the completion field overlay a high priority (Bug#6830).
616         * dired.el (dired-goto-file): Recognize absolute file name
617         listings (Bug#7126).
618         (dired-goto-file-1): New helper function.
619         (dired-toggle-read-only): Inhibit warnings.
621 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
623         * net/dbus.el: (dbus-property-handler): Return empty array if
624         there are no properties.
626 2012-03-09  Leo Liu  <sdl.web@gmail.com>
628         * savehist.el (savehist-printable): Stricter check for string
629         value (Bug#10937).
631 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
633         * mail/smtpmail.el (smtpmail-send-it):
634         Bind coding-system-for-write to *-unix, so that FCC files are kept in
635         valid mbox format.
637 2012-03-09  Glenn Morris  <rgm@gnu.org>
639         * files.el (dir-locals-find-file):
640         Don't check result is regular, readable.
641         (dir-locals-read-from-file): Demote errors.
643 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
645         * international/quail.el (quail-insert-kbd-layout):
646         Insert invisible LRM characters before each character in a keyboard
647         layout cell, to prevent their reordering by bidi display engine.
648         For details, see the discussion in
649         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
651 2012-03-08  Alan Mackenzie  <acm@muc.de>
653         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
654         the starting position; make it extend the marked region when
655         invoked repeatedly - all under appropriate circumstances.
656         Fixes bugs #5525, #10906.
658 2012-03-08  Glenn Morris  <rgm@gnu.org>
660         * files.el (locate-dominating-file, dir-locals-find-file):
661         Undo 2012-03-06 change.
663 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
665         * international/quail.el (quail-help):
666         Force bidi-paragraph-direction be left-to-right.  See discussion in
667         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
668         for the reason.
670 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
672         Avoid superfluous registering of signals.  (Bug#10807)
674         * notifications.el (notifications-on-action-object)
675         (notifications-on-close-object): New defvars.
676         (notifications-on-action-signal, notifications-on-closed-signal):
677         Unregister the signal if not needed any longer.
678         (notifications-notify): Register `notifications-action-signal' or
679         `notifications-closed-signal', if :on-action or :on-close has been
680         passed as argument.
682 2012-03-07  Chong Yidong  <cyd@gnu.org>
684         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
685         non-X platforms.
687 2012-03-06  Glenn Morris  <rgm@gnu.org>
689         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
690         (x-disown-selection-internal, x-get-selection-internal):
691         Doc fix (add arglist signatures).  (Bug#10783)
693 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
695         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
696         Handle breakpoints with no "type".
698 2012-03-06  Glenn Morris  <rgm@gnu.org>
700         * files.el (locate-dominating-file): Add optional predicate argument.
701         (dir-locals-find-file): Make use of above change.
703 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
705         * info.el (Info-insert-dir): Also try "dir.gz".
707 2012-03-06  Glenn Morris  <rgm@gnu.org>
709         * files.el (dir-locals-find-file):
710         Ignore non-readable or non-regular files.  (Bug#10928)
712         * files.el (locate-dominating-file): Doc fix.
714 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
716         * calendar/calendar.el (calendar-set-mode-line):
717         `getenv' returns a string.  (Bug#10951)
719 2012-03-05  Leo Liu  <sdl.web@gmail.com>
721         * simple.el (backward-delete-char-untabify): Constrain point to
722         field (Bug#10939).
724         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
726 2012-03-05  Chong Yidong  <cyd@gnu.org>
728         * simple.el (count-words): If called from Lisp, return the word
729         count, for symmetry with `count-lines'.  Arglist changed.
730         (count-words--message): Args changed.  Consolidate counting code
731         from count-words and count-words-region.
732         (count-words-region): Caller changed.
733         (count-lines-region): Make it an obsolete alias.
735 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
737         * saveplace.el (save-place-to-alist)
738         (save-place-ignore-files-regexp): Allow value nil to disable this
739         feature.
741 2012-03-04  Chong Yidong  <cyd@gnu.org>
743         * faces.el (face-spec-reset-face): For the default face, reset the
744         attributes to default values (Bug#10748).
746 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
748         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
749         previous patch: Check `message-send-mail-function', and not the
750         default function (bug#10897).
752 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
754         * notifications.el (notifications-on-action-signal)
755         (notifications-on-closed-signal): Check for unique service name of
756         incoming event.  Fix error in removing entry.
757         (top): Register for signals with wildcard service name.
758         (notifications-notify): Use daemon unique service name for map entries.
760 2012-03-04  Chong Yidong  <cyd@gnu.org>
762         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
764 2012-03-04  Glenn Morris  <rgm@gnu.org>
766         * abbrev.el (copy-abbrev-table, abbrev-table-p)
767         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
768         (expand-abbrev, define-abbrev-table): Doc fixes.
770 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
772         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
773         `message-default-send-mail-function' and not `send-mail-function'
774         when doing the prompting for `sendmail-query-once' before sending
775         in Message buffers (bug#10897).
777         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
778         This is inconsistent with all the other stream functions, which leave
779         the setting up to the higher levels (if so wanted) (bug#10931).
781 2012-03-02  Alan Mackenzie  <acm@muc.de>
783         Depessimize the handling of very large macros.
785         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
786         (c-macro-cache-syntactic): New variables to implement a one
787         element macro cache.
788         (c-invalidate-macro-cache): New function.
789         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
790         Adapt to use the new cache.
791         (c-state-safe-place): Use better the cache of safe positions.
792         (c-state-semi-nonlit-pos-cache)
793         (c-state-semi-nonlit-pos-cache-limit):
794         New variables for...
795         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
796         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
797         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
798         Use c-state-semi-safe-place.
800         * progmodes/cc-langs.el (c-get-state-before-change-functions):
801         Add c-invalidate-macro-cache to the C, C++, Obj entries.
803 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
805         * jka-compr.el (jka-compr-call-process):
806         Apply `file-accessible-directory-p' only when the default directory is
807         not remote.
809 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
811         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
812         access of FILE2, if FILE1 does not exist.
814         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
815         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
817         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
818         Add "PAGER=" to `process-environment'.
820 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
822         * progmodes/sql.el: Bug fix
823         (sql-get-login-ext): Save login values in globals.
824         (sql-get-login): Use new version of `sql-get-login-ext'.
825         (sql-interactive-mode): Set global `sql-connection' to nil.
826         (sql-connect): Set global values for connection.
827         (sql-product-interactive): Save global values as buffer local.
829 2012-02-29  Leo Liu  <sdl.web@gmail.com>
831         * abbrev.el (define-abbrevs): Reset sys to nil.
833 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
835         * files.el (file-equal-p): Rename from `files-equal-p'.
836         Return nil when one or both files don't exist.
837         (file-subdir-of-p): Now only top directory must exists,
838         return nil if it doesn't.
839         (copy-directory): No need to test with `file-subdir-of-p' after
840         creating dir.
841         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
842         to `file-equal-p'.
844 2012-02-28  Glenn Morris  <rgm@gnu.org>
846         * shell.el (shell-mode):
847         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
848         * play/landmark.el (landmark-font-lock-face-O):
849         * play/handwrite.el (handwrite):
850         * play/gomoku.el (gomoku-O):
851         * net/browse-url.el (browse-url-browser-display):
852         * international/mule.el (define-charset):
853         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
854         * filesets.el (filesets-find-file-delay):
855         * eshell/em-xtra.el (eshell-xtra):
856         * eshell/em-unix.el (eshell-grep):
857         * emulation/viper.el (viper-mode):
858         * emacs-lisp/regexp-opt.el (regexp-opt-group):
859         * emacs-lisp/easymenu.el (easy-menu-define):
860         * calendar/timeclock.el (timeclock-use-display-time):
861         * bs.el (bs-mode):
862         * bookmark.el (bookmark-save-flag):
863         Doc fix (standardize possessive apostrophe usage).
865 2012-02-27  Chong Yidong  <cyd@gnu.org>
867         * emulation/viper-cmd.el (viper-intercept-ESC-key):
868         Fix key-binding lookup for ESC key (Bug#9146).
870         * font-lock.el (font-lock-specified-p): Rename from
871         font-lock-spec-present.  Callers changed.
873 2012-02-27  Daniel Hackney  <dan@haxney.org>
875         * emacs-lisp/package.el (package-compute-transaction):
876         Handle holding a package version to t in package-load-list.
878 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
880         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
881         (tramp-get-inode, tramp-get-device): Use cached values.
883 2012-02-26  Alan Mackenzie  <acm@muc.de>
885         Check there is a font-lock specification before doing initial
886         fontification.
888         * font-core.el (font-lock-mode): Move the conditional from
889         :after-hook to font-lock-initial-fontify.
890         (font-lock-default-function): Move the check for a specification
891         to font-lock-spec-present.
893         * font-lock.el (font-lock-initial-fontify): Call ...
894         (font-lock-spec-present): New function.
896 2012-02-26  Jim Blandy  <jimb@red-bean.com>
898         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
899         (gdb-send): Apply it to the operand of the '-interpreter-exec
900         console' command, so that we can pass arguments with (say) quotes
901         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
903 2012-02-26  Chong Yidong  <cyd@gnu.org>
905         * help-fns.el (describe-function-1): Clarify description of
906         remapping (Bug#10844).
908         * files.el (files-equal-p): Doc fix.
909         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
910         and quit the loop once a mismatch is found.
912 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
914         * bs.el (bs--show-with-configuration): Don't throw an error
915         if the window cannot be split; otherwise, subsequent calls to
916         bs-show fail, restoring a stale window config.  (Bug#10882)
918 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
920         * term/ns-win.el (global-map): Bind ns-drag-file to
921         ns-find-file (Bug#5855, Bug#10050).
923 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
925         * calendar/parse-time.el (parse-time-string): Allow extractor to
926         return nil.
928 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
930         * net/tramp.el (tramp-file-name-for-operation):
931         Add `files-equal-p' and `file-subdir-of-p'.
933         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
934         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
935         Add COPY-CONTENTS argument.
937 2012-02-25  Chong Yidong  <cyd@gnu.org>
939         Add custom groups for VC backends, for consistency with vc-bzr.
941         * vc/vc-arch.el (vc-arch):
942         * vc/vc-cvs.el (vc-cvs):
943         * vc/vc-git.el (vc-git):
944         * vc/vc-hg.el (vc-hg):
945         * vc/vc-mtn.el (vc-mtn):
946         * vc/vc-rcs.el (vc-rcs):
947         * vc/vc-sccs.el (vc-sccs):
948         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
949         All relevant defcustoms reassigned.
951 2012-02-25  Chong Yidong  <cyd@gnu.org>
953         * newcomment.el (comment-styles): Add autoload (Bug#10868).
955         * term/x-win.el (x-initialize-window-system): Reduce default for
956         x-selection-timeout to 5 seconds (Bug#8869).
958 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
960         * files.el (file-subdir-of-p): Fix typo.
962 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
964         * files.el (files-equal-p, file-subdir-of-p): New functions.
965         (copy-directory): Error when trying to copy a directory on itself.
966         Add missing copy-contents arg to tramp handler.
967         * dired-aux.el (dired-copy-file-recursive): Same.
968         (dired-create-files): Modify destination when source is equal to
969         dest when copying files.
970         Return also when dest is a subdir of source.  (Bug#10489)
972 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
974         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
975         (Bug#10874)
977 2012-02-23  Alan Mackenzie  <acm@muc.de>
979         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
980         parameter "after-hook:" to allow the expansion to run code after
981         the execution of the mode hooks.
983         * font-lock.el (font-lock-initial-fontify): New function extracted
984         from font-lock-mode-internal.
986         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
987         :after-hook.
989 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
991         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
992         (completion--cache-all-sorted-completions): New function.
993         (completion-all-sorted-completions): Use it.
994         (completion--do-completion, minibuffer-force-complete):
995         Use it to re-instate the flush hook.
997         * icomplete.el (icomplete-completions): Replace last fix with a better
998         one (bug#10850).
1000 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1002         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1003         when it might call us back infinitely (bug#10797).
1005 2012-02-23  Glenn Morris  <rgm@gnu.org>
1007         * minibuffer.el (completion-category-overrides): Doc fix.
1009 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1011         * minibuffer.el (completion-table-with-context): Fix inf-loop.
1012         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1014 2012-02-23  Glenn Morris  <rgm@gnu.org>
1016         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1017         (authors-obsolete-files-regexps, authors-ignored-files)
1018         (authors-ambiguous-files, authors-renamed-files-alist):
1019         Add more entries.
1021 2012-02-23  Juri Linkov  <juri@jurta.org>
1023         * isearch.el (isearch-occur): Sync interactive spec with occur's
1024         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
1026         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1028 2012-02-22  Juri Linkov  <juri@jurta.org>
1030         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1031         (ucs-insert): Doc fix.  Check for hex digits in the string.
1032         Don't display `nil' in the error message.  (Bug#10857)
1034 2012-02-22  Alan Mackenzie  <acm@muc.de>
1036         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1038 2012-02-22  Glenn Morris  <rgm@gnu.org>
1040         * ffap.el (ffap-c-path):
1041         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
1043 2012-02-22  Chong Yidong  <cyd@gnu.org>
1045         * custom.el (load-theme): Doc fix.
1047 2012-02-22  Glenn Morris  <rgm@gnu.org>
1049         * dired-x.el (dired-guess-shell-alist-default):
1050         Remove escape sequences from nroff output.  (Bug#172)
1052 2012-02-21  Glenn Morris  <rgm@gnu.org>
1054         * vc/emerge.el (emerge-defvar-local):
1055         Set `permanent-local' property rather than unused `preserved'.
1057         * textmodes/picture.el (picture-delete-char): New alias.
1058         (picture-mode-map): Use it.  (Bug#10860)
1059         (picture-mode): Doc fix.
1061 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
1063         * newcomment.el (uncomment-region-default): Remove unused binding.
1065 2012-02-21  Glenn Morris  <rgm@gnu.org>
1067         * textmodes/picture.el (picture-motion, picture-motion-reverse)
1068         (picture-self-insert, picture-tab-chars): Doc fix.
1069         (picture-mode-map): Fix C-a, C-e.
1071 2012-02-20  Glenn Morris  <rgm@gnu.org>
1073         * emacs-lisp/authors.el (authors-aliases): Add another entry.
1075 2012-02-20  Leo Liu  <sdl.web@gmail.com>
1077         * icomplete.el (icomplete-completions): Check FROM arg before
1078         passing to substring (Bug#10850).
1080 2012-02-19  Chong Yidong  <cyd@gnu.org>
1082         * comint.el: Require ansi-color.
1083         (comint-output-filter-functions): Add ansi-color-process-output.
1085         * ansi-color.el: Don't set comint-output-filter-functions; it is
1086         now in the initial value defined in comint.el.
1087         (ansi-color-apply-face-function): New variable.
1088         (ansi-color-apply-on-region): Use it.
1089         (ansi-color-apply-overlay-face): New function.
1091         * shell.el (shell): No need to require ansi-color.
1092         (shell-mode): Use ansi-color-apply-face-function to highlight
1093         color escapes using font-lock-face property (Bug#10835).
1095 2012-02-19  Chong Yidong  <cyd@gnu.org>
1097         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1098         mode-line formats (Bug#10839).
1100 2012-02-18  Glenn Morris  <rgm@gnu.org>
1102         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1104         * mail/undigest.el (unforward-rmail-message): Doc fix.
1106         * saveplace.el (save-place-ignore-files-regexp): Add :version.
1108 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
1110         * international/characters.el (script-list): Sync with the latest
1111         Unicode Character Database.
1113 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
1115         * international/titdic-cnv.el: Remove duplicate coding tag.
1116         * language/cham.el: Likewise.
1117         * language/tai-viet.el: Likewise.
1119 2012-02-18  Glenn Morris  <rgm@gnu.org>
1121         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1122         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1123         (calendar-bahai-all-holidays-flag, calendar-other-dates):
1124         * calendar/diary-lib.el (diary-abbreviated-year-flag):
1125         * calendar/holidays.el (holiday-bahai-holidays)
1126         (calendar-holidays, list-holidays):
1127         Use utf-8 Bahá'í in doc-strings, menus, etc.
1129 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
1131         * saveplace.el (save-place-ignore-files-regexp): New variable
1132         allowing for excluding files from saving their location of point.
1133         The default value matches the temporary commit message editing
1134         files from Git, SVN, Bazaar, and Mercurial.
1135         (save-place-to-alist): Use it.
1137 2012-02-17  Lawrence Mitchell <wence@gmx.li>
1138             Stefan Monnier  <monnier@iro.umontreal.ca>
1140         * newcomment.el (uncomment-region-default): Don't leave extra space
1141         when an arg is provided (bug#8150).
1143 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
1145         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1147 2012-02-17  Glenn Morris  <rgm@gnu.org>
1149         * net/socks.el: Require network-stream.  (Bug#10599)
1151 2012-02-17  Kenichi Handa  <handa@m17n.org>
1153         * international/charprop.el:
1154         * international/uni-name.el:
1155         * international/uni-old-name.el:
1156         * international/uni-comment.el: Regenerate.
1158 2012-02-16  Glenn Morris  <rgm@gnu.org>
1160         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1161         Interactively in calendar buffer, give an error if not on a date.
1163 2012-02-15  Glenn Morris  <rgm@gnu.org>
1165         * shell.el (shell-delimiter-argument-list):
1166         Revert 2011-02-17 change.  (Bug#8027)
1168 2012-02-15  Chong Yidong  <cyd@gnu.org>
1170         * minibuffer.el (completion-at-point-functions): Doc fix.
1172         * custom.el (defcustom): Doc fix; note use of defvar.
1174 2012-02-15  Glenn Morris  <rgm@gnu.org>
1176         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1177         Doc fixes.
1179 2012-02-14  Glenn Morris  <rgm@gnu.org>
1181         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1183 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
1185         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1186         way the ports list is computed.
1187         (smtpmail-query-smtp-server): Prompt the user for a port number if
1188         we can't connect to any of the standard ports (bug#10810).
1190 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
1192         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1194 2012-02-13  Glenn Morris  <rgm@gnu.org>
1196         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
1198 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1200         * net/gnutls.el (gnutls-trustfiles): New variable.
1201         (gnutls-negotiate): Use it.
1203 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1205         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1206         does its stuff if Gnus is running.
1208 2012-02-13  Alan Mackenzie  <acm@muc.de>
1210         Fix a loop in c-set-fl-decl-start.
1212         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1213         c-backward-syntactic-ws actually moves backwards.
1215 2012-02-13  Leo Liu  <sdl.web@gmail.com>
1217         * net/rcirc.el (rcirc-markup-attributes): Move point to the
1218         beginning so that all \C-o chars are removed.
1220 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1222         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1224 2012-02-12  Alan Mackenzie  <acm@muc.de>
1226         Fix infinite loop with long macros.
1227         * cc-engine.el (c-state-safe-place): Handle macros properly.
1229 2012-02-12  Chong Yidong  <cyd@gnu.org>
1231         * window.el (display-buffer): Doc fix (Bug#10785).
1233 2012-02-12  Glenn Morris  <rgm@gnu.org>
1235         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1236         (x-disown-selection-internal, x-get-selection-internal):
1237         Sync docs with the xselect.c versions.
1239         * allout-widgets.el: Add missing license notice.
1241 2012-02-11  Glenn Morris  <rgm@gnu.org>
1243         * select.el (x-get-selection-internal, x-own-selection-internal)
1244         (x-disown-selection-internal):
1245         * x-dnd.el (x-get-selection-internal): Update declarations.
1247         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1249         * window.el (window-sides-slots):
1250         * tool-bar.el (tool-bar-position):
1251         * term/xterm.el (xterm-extra-capabilities):
1252         * ses.el (ses-self-reference-early-detection):
1253         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1254         (verilog-auto-wire-type)
1255         (verilog-auto-delete-trailing-whitespace)
1256         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1257         (verilog-auto-tieoff-declaration):
1258         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1259         (sql-oracle-statement-starters, sql-oracle-scan-on):
1260         * progmodes/prolog.el (prolog-align-comments-flag)
1261         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1262         (prolog-left-indent-regexp, prolog-paren-indent-p)
1263         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1264         (prolog-types, prolog-mode-specificators)
1265         (prolog-determinism-specificators, prolog-directives)
1266         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1267         (prolog-electric-dot-flag)
1268         (prolog-electric-dot-full-predicate-template)
1269         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1270         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1271         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1272         (prolog-program-switches, prolog-prompt-regexp)
1273         (prolog-debug-on-string, prolog-debug-off-string)
1274         (prolog-trace-on-string, prolog-trace-off-string)
1275         (prolog-zip-on-string, prolog-zip-off-string)
1276         (prolog-use-standard-consult-compile-method-flag)
1277         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1278         (prolog-imenu-max-lines, prolog-info-predicate-index)
1279         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1280         (prolog-char-quote-workaround):
1281         * progmodes/cc-vars.el (c-defun-tactic):
1282         * net/tramp.el (tramp-encoding-command-interactive)
1283         (tramp-local-end-of-line):
1284         * net/soap-client.el (soap-client):
1285         * net/netrc.el (netrc-file):
1286         * net/gnutls.el (gnutls):
1287         * minibuffer.el (completion-category-overrides)
1288         (completion-cycle-threshold)
1289         (completion-pcm-complete-word-inserts-delimiters):
1290         * man.el (Man-name-local-regexp):
1291         * mail/feedmail.el (feedmail-display-full-frame):
1292         * international/characters.el (glyphless-char-display-control):
1293         * eshell/em-ls.el (eshell-ls-date-format):
1294         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1295         (lisp-lambda-list-keyword-parameter-indentation)
1296         (lisp-lambda-list-keyword-parameter-alignment):
1297         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1298         * dired-x.el (dired-omit-verbose):
1299         * cus-theme.el (custom-theme-allow-multiple-selections):
1300         * calc/calc.el (calc-highlight-selections-with-faces)
1301         (calc-lu-field-reference, calc-lu-power-reference)
1302         (calc-note-threshold):
1303         * battery.el (battery-mode-line-limit):
1304         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1305         (archive-7z-update):
1306         * allout.el (allout-prefixed-keybindings)
1307         (allout-unprefixed-keybindings)
1308         (allout-inhibit-auto-fill-on-headline)
1309         (allout-flattened-numbering-abbreviation):
1310         * allout-widgets.el (allout-widgets-auto-activation)
1311         (allout-widgets-icons-dark-subdir)
1312         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1313         (allout-widgets-theme-dark-background)
1314         (allout-widgets-theme-light-background)
1315         (allout-widgets-item-image-properties-emacs)
1316         (allout-widgets-item-image-properties-xemacs)
1317         (allout-widgets-run-unit-tests-on-load)
1318         (allout-widgets-time-decoration-activity)
1319         (allout-widgets-hook-error-post-time)
1320         (allout-widgets-track-decoration):
1321         Add missing :version tags to new defcustoms and defgroups.
1323         * progmodes/sql.el (sql-ansi-statement-starters)
1324         (sql-oracle-statement-starters): Add custom type.
1326         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1327         (prolog-system-version): Give it a type.
1329 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
1331         * term/pc-win.el (x-select-text, x-selection-owner-p)
1332         (x-own-selection-internal, x-disown-selection-internal)
1333         (x-get-selection-internal): Sync doc strings and argument lists
1334         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
1336 2012-02-11  Leo Liu  <sdl.web@gmail.com>
1338         * progmodes/python.el (python-end-of-statement): Fix infinite
1339         loop.  (Bug#10788)
1341 2012-02-10  Glenn Morris  <rgm@gnu.org>
1343         * international/mule-cmds.el (unify-8859-on-encoding-mode)
1344         (unify-8859-on-decoding-mode): Properly mark as obsolete.
1346 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1348         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1349         about SMTP before checking the From header.
1351         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1352         into own function for reuse by emacsbug.el.
1354 2012-02-10  Leo Liu  <sdl.web@gmail.com>
1356         * subr.el (condition-case-unless-debug): Rename from
1357         condition-case-no-debug.  All callers changed.
1358         (with-demoted-errors): Fix caller.
1360         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1361         * nxml/rng-valid.el (rng-do-some-validation):
1362         * emacs-lisp/package.el (package-refresh-contents)
1363         (package-menu-execute):
1364         * desktop.el (desktop-create-buffer):
1365         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1367 2012-02-10  Glenn Morris  <rgm@gnu.org>
1369         * textmodes/bibtex.el:
1370         Add missing :version tags for new/changed defcustoms.
1372         * files.el (remote-file-name-inhibit-cache): Doc fixes.
1374 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
1376         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1377         (smtpmail-via-smtp): Use it, or fall back on the From address.
1378         (smtpmail-send-it): Ditto.
1380 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1382         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1383         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
1384         (byte-compile-tmp-var): New const.
1385         (byte-compile-defvar): Use it to minimize .elc size.
1386         Just use `defvar' rather than simulate it (bug#10761).
1388 2012-02-09  Glenn Morris  <rgm@gnu.org>
1390         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
1392         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1393         Add :version tags.
1395         * progmodes/compile.el (compilation-error-screen-columns)
1396         (compilation-first-column, compilation-filter-start): Doc fixes.
1398         * vc/log-view.el (log-view-toggle-entry-display):
1399         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1401         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1402         (report-emacs-bug-can-use-xdg-email):
1403         (report-emacs-bug-insert-to-mailer): Doc fixes.
1404         (report-emacs-bug): Message fix.
1406         * net/browse-url.el (browse-url-can-use-xdg-open)
1407         (browse-url-xdg-open): Doc fixes.
1409         * electric.el (electric-indent-mode, electric-pair-mode)
1410         (electric-layout-rules, electric-layout-mode): Doc fixes.
1411         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1413 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
1415         * server.el (server-unselect-display): Don't inadvertently kill
1416         the current buffer.  (Bug#10729)
1418 2012-02-08  Glenn Morris  <rgm@gnu.org>
1420         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1421         (sql-list-table): Doc fixes.
1423         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1424         Comment out (does nothing).
1426         * completion.el (dynamic-completion-mode):
1427         * dirtrack.el (dirtrack-debug-mode):
1428         * electric.el (electric-layout-mode):
1429         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1430         * face-remap.el (text-scale-mode, buffer-face-mode):
1431         * iimage.el (iimage-mode):
1432         * image-mode.el (image-transform-mode):
1433         * minibuffer.el (completion-in-region-mode):
1434         * scroll-lock.el (scroll-lock-mode):
1435         * simple.el (next-error-follow-minor-mode):
1436         * tar-mode.el (tar-subfile-mode):
1437         * tooltip.el (tooltip-mode):
1438         * vcursor.el (vcursor-use-vcursor-map):
1439         * wid-browse.el (widget-minor-mode):
1440         * emulation/tpu-edt.el (tpu-edt-mode):
1441         * emulation/tpu-extras.el (tpu-cursor-free-mode):
1442         * international/iso-ascii.el (iso-ascii-mode):
1443         * language/thai-util.el (thai-word-mode):
1444         * mail/supercite.el (sc-minor-mode):
1445         * net/goto-addr.el (goto-address-mode):
1446         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1447         * progmodes/cwarn.el (cwarn-mode):
1448         * progmodes/flymake.el (flymake-mode):
1449         * progmodes/glasses.el (glasses-mode):
1450         * progmodes/hideshow.el (hs-minor-mode):
1451         * progmodes/pascal.el (pascal-outline-mode):
1452         * textmodes/enriched.el (enriched-mode):
1453         * vc/smerge-mode.el (smerge-mode):
1454         Doc fixes (minor mode argument).
1456 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
1458         * ls-lisp.el (ls-lisp-sanitize): New function.
1459         (ls-lisp-insert-directory): Use it to fix or remove any elements
1460         in file-alist with missing attributes.  (Bug#4673)
1462 2012-02-07  Alan Mackenzie  <acm@muc.de>
1464         Fix spurious recognition of c-in-knr-argdecl.
1466         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1467         putative K&R region.
1469 2012-02-07  Alan Mackenzie  <acm@muc.de>
1471         * progmodes/cc-engine.el (c-forward-objc-directive):
1472         Prevent looping in "#pragma mark @implementation".
1474 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
1476         * notifications.el (notifications-on-closed-signal): Make `reason'
1477         optional.  (Bug#10744)
1479 2012-02-07  Glenn Morris  <rgm@gnu.org>
1481         * emacs-lisp/easy-mmode.el (define-minor-mode):
1482         Doc fixes for the macro and the mode it defines.
1484         * image.el (imagemagick-types-inhibit): Doc fix.
1486         * cus-start.el (imagemagick-render-type): Add it.
1488 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1490         * progmodes/cc-mode.el
1491         (c-standard-font-lock-fontify-region-function): Set the default at
1492         load time, too, so that `font-lock-fontify-buffer' can be called
1493         without setting up the entire mode first.  This fixes a bug in
1494         `mm-inline-text' with C MIME parts.
1496 2012-02-06  Chong Yidong  <cyd@gnu.org>
1498         * simple.el (list-processes--refresh): Delete exited processes
1499         (Bug#8094).
1501         * comint.el (comint-next-prompt): next-single-char-property-change
1502         and prev-single-char-property-change never return nil (Bug#8657).
1504         * custom.el (defcustom): Doc fix (Bug#9711).
1506 2012-02-05  Chong Yidong  <cyd@gnu.org>
1508         * cus-edit.el (custom-variable-reset-backup): Quote the value
1509         before storing it in the customized-value property (Bug#6712).
1510         (custom-display): Add a customization type tag.
1511         (custom-buffer-create-internal): Improve tooltip message.
1513         * wid-edit.el (widget-field-value-get): New optional arg to
1514         suppress trailing whitespace truncation.
1515         (character): Use it (Bug#2689).
1517 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
1519         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1520         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1522 2012-02-05  Chong Yidong  <cyd@gnu.org>
1524         * cus-edit.el (custom-variable-value-create): For mismatched
1525         types, show the current value (Bug#7600).
1527         * custom.el (defcustom): Doc fix.
1529 2012-02-05  Glenn Morris  <rgm@gnu.org>
1531         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1533 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
1535         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1536         (pp-buffer): Use `ignore-errors', `looking-at-p'.
1537         (pp-last-sexp): Use `looking-at-p'.
1539 2012-02-04  Glenn Morris  <rgm@gnu.org>
1541         * files.el (revert-buffer):
1542         Doc fix (mention revert-buffer-in-progress-p).
1544         * emacs-lisp/ert-x.el (ert-simulate-command):
1545         Check deferred-action-list (which is obsolete) is bound.
1547         * subr.el (with-wrapper-hook): Doc fixes.
1549         * simple.el (filter-buffer-substring-functions)
1550         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1552 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1554         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1555         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1557 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1559         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1561 2012-02-04  Glenn Morris  <rgm@gnu.org>
1563         * image.el (image-extension-data): Add obsolete alias.
1565         * isearch.el (isearch-update): Doc fix.
1567         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1569         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1571 2012-02-03  Glenn Morris  <rgm@gnu.org>
1573         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1574         (image-animate-timeout): Doc fix.
1576         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1578 2012-02-02  Glenn Morris  <rgm@gnu.org>
1580         * server.el (server-auth-dir): Doc fix.
1581         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1583         * subr.el (run-mode-hooks): Doc fix.
1585 2012-02-02  Juri Linkov  <juri@jurta.org>
1587         * image-mode.el (image-toggle-display-image): Remove tautological
1588         `major-mode' from the `derived-mode-p' test.
1590 2012-02-02  Kenichi Handa  <handa@m17n.org>
1592         * composite.el (compose-region): Cancel previous change.
1594 2012-02-02  Kenichi Handa  <handa@m17n.org>
1596         * composite.el (compose-region, compose-string): Signal error for
1597         a null string component (Bug#6988).
1599 2012-02-01  Chong Yidong  <cyd@gnu.org>
1601         * view.el (view-buffer-other-window, view-buffer-other-frame):
1602         Handle special modes like view-buffer (Bug#10650).
1603         (view-buffer): Simplify.
1605         * frame.el (set-frame-font): Tweak meaning of third argument.
1607         * dynamic-setting.el (font-setting-change-default-font):
1608         Use set-frame-font (Bug#9982).
1610 2012-02-01  Glenn Morris  <rgm@gnu.org>
1612         * progmodes/compile.el (compilation-internal-error-properties):
1613         Respect compilation-first-column in the "*compilation*" buffer.
1615         * emacs-lisp/easy-mmode.el (define-minor-mode):
1616         Relax :variable's test for a named function.
1618 2012-01-31  Alan Mackenzie  <acm@muc.de>
1620         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1621         off by one error.
1623 2012-01-31  Chong Yidong  <cyd@gnu.org>
1625         * frame.el (set-frame-font): New arg ALL-FRAMES.
1627         * menu-bar.el (menu-set-font): Use set-frame-font.
1629         * faces.el (face-spec-reset-face): Don't apply unspecified
1630         attribute values to the default face.
1632 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1634         * progmodes/cwarn.el (cwarn): Remove dead link.
1635         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1636         Remove * from defcustom docstrings.
1637         (turn-on-cwarn-mode): Make obsolete.
1638         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1639         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1641 2012-01-31  Glenn Morris  <rgm@gnu.org>
1643         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1644         Fix :variable handling of mode a symbol not equal to modefun.
1645         Allow named functions to be used as the cdr of :variable.
1647 2012-01-30  Glenn Morris  <rgm@gnu.org>
1649         * emacs-lisp/authors.el (authors-fixed-entries):
1650         Remove reference to deleted file rnewspost.el.
1652 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1654         * window.el (window-with-parameter): Remove unused variable `windows'.
1655         (window--side-check): Remove unused variable `code'.
1656         (window--resize-siblings): Remove unused variable `first'.
1657         (adjust-window-trailing-edge): Remove unused variable `failed'.
1658         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1659         Use `let', not `let*'.
1660         (balance-windows-2): Remove unused variable `found'.
1661         (window--state-put-2): Remove unused variable `splits'.
1662         (window-state-put): Remove unused variable `selected'.
1663         (same-window-p): Use `string-match-p'.
1664         (display-buffer-assq-regexp): Remove unused variable `value'.
1665         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1666         Mark argument ALIST as ignored.
1667         (pop-to-buffer): Remove unused variable `old-window'.
1669 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1671         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1672         and .lzma compressed files.
1674 2012-01-29  Chong Yidong  <cyd@gnu.org>
1676         * frame.el (window-system-default-frame-alist): Doc fix.
1678         * dynamic-setting.el (font-setting-change-default-font): Don't
1679         change the default face if SET-FONT argument is non-nil (Bug#9982).
1681 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1683         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1685 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1687         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1688         breakpoints in files outside current directory (Bug#6098).
1690 2012-01-29  Chong Yidong  <cyd@gnu.org>
1692         * progmodes/python.el: Require ansi-color at top-level.
1694         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1695         Define and use in Emacs Lisp mode (Bug#9360).
1696         (lisp-mode-abbrev-table): Add doc.
1697         (lisp-mode-variables): Don't set local-abbrev-table.
1698         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1700 2012-01-28  Roland Winkler  <winkler@gnu.org>
1702         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1704 2012-01-28  Roland Winkler  <winkler@gnu.org>
1706         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1707         (bibtex-set-dialect): Use it.  Either set global values of
1708         dialect-dependent variables or bind these variables buffer-locally
1709         (Bug#10254).
1710         (bibtex-mode): Call bibtex-set-dialect via
1711         hack-local-variables-hook.
1712         (bibtex-dialect): Update docstring.
1713         Add safe-local-variable predicate.
1714         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1715         bibtex-set-dialect.
1716         (bibtex-mode-map): Define menu for each dialect.
1717         (bibtex-entry): Fix docstring.
1719 2012-01-28  Chong Yidong  <cyd@gnu.org>
1721         * eshell/esh-arg.el (eshell-quote-argument): New function.
1723         * eshell/esh-ext.el (eshell-invoke-batch-file):
1724         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1725         first arg to eshell-parse-command (Bug#10523).
1727 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1729         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1730         `default-directory' is non-nil.
1732 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1734         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1735         line that displays system-configuration-options.  (Bug#9924)
1737 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1739         * descr-text.el (describe-char): Show information about POS, in
1740         addition to information about the character at POS.  Improve and
1741         update the doc string.  Change "code point" to "code point in
1742         charset", to avoid confusion with the character's Unicode code
1743         point shown above that.  (Bug#10129)
1745 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1747         * descr-text.el (describe-char): Show the raw character, not only
1748         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1749         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1750         for the reasons.
1752 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1754         * emacs-lisp/package.el (package-install):
1755         Run package-refresh-contents if there is no archive yet (Bug#9798).
1757 2012-01-28  Chong Yidong  <cyd@gnu.org>
1759         * emacs-lisp/package.el (package-maybe-load-descriptor):
1760         New function, split from package-maybe-load-descriptor.
1761         (package-maybe-load-descriptor): Use it.
1762         (package-download-transaction): Fully load required packages
1763         inside the loop, so that `require' calls work (Bug#10593).
1764         (package-install): No need to call package-initialize now.
1766 2012-01-28  Chong Yidong  <cyd@gnu.org>
1768         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1770         * tooltip.el (tooltip-mode): Doc fix.
1771         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1773         * frame.el (set-cursor-color): Doc fix (Bug#352).
1775         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1776         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1778         * cus-edit.el (custom-buffer-create-internal): Fix search button
1779         action (Bug#10542).
1780         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1782 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1784         * dired.el (dired-mark-files-regexp):
1785         Include any subdirectory components.  (Bug#10445)
1787 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1789         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1790         Handle [host]:port syntax.  (Bug#10533)
1792 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1794         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1796 2012-01-26  Glenn Morris  <rgm@gnu.org>
1798         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1799         * term.el (term-raw-escape-map): Use Control-X-prefix.
1800         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1802 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
1804         * window.el (window-state-get, window--state-get-1): Don't deal
1805         with fixed-sizeness of windows.  Simplify code.
1807 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
1809         * window.el (window--state-get-1, window--state-put-2):
1810         Don't save and restore the mark.
1812 2012-01-25  Chong Yidong  <cyd@gnu.org>
1814         * custom.el (custom-variable-p): Doc fix.
1816 2012-01-25  Glenn Morris  <rgm@gnu.org>
1818         * dired.el (dired-goto-file): Handle some of the more common
1819         characters that `ls -b' escapes.  (Bug#10596)
1821         * progmodes/compile.el (compilation-next-error-function):
1822         Respect compilation-first-column in the "*compilation*" buffer.
1823         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
1825         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
1827 2012-01-24  Glenn Morris  <rgm@gnu.org>
1829         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
1831 2012-01-24  Julien Danjou  <julien@danjou.info>
1833         * color.el (color-rgb-to-hsl): Fix value computing.
1834         (color-hue-to-rgb): New function.
1835         (color-hsl-to-rgb): New function.
1836         (color-clamp, color-saturate-hsl, color-saturate-name)
1837         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1838         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1840 2012-01-24  Glenn Morris  <rgm@gnu.org>
1842         * vc/vc-rcs.el (vc-rcs-create-tag):
1843         * vc/vc-sccs.el (vc-sccs-create-tag):
1844         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
1846 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1848         * eshell/esh-util.el (eshell-read-hosts-file):
1849         Skip comment lines.  (Bug#10549)
1851         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
1853 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
1855         * subr.el (display-delayed-warnings): Doc fix.
1856         (collapse-delayed-warnings): New function to collapse identical
1857         adjacent warnings.
1858         (delayed-warnings-hook): Add it.
1860 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
1862         * net/tramp.el (tramp-action-login): Set connection property "login-as".
1864         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1865         properties, when "login-as" is set.
1867         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1868         (tramp-default-user-alist): Don't add "pscp".
1869         (tramp-do-copy-or-rename-file-out-of-band): Use connection
1870         property "login-as", if set.  (Bug#10530)
1872 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
1874         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1875         "plink1" and "psftp".  (Bug#10530)
1877 2012-01-21  Kenichi Handa  <handa@m17n.org>
1879         * international/mule-cmds.el (prefer-coding-system): Show a
1880         warning message if the default value of file-name-coding-system
1881         was not changed.
1883 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1885         * windmove.el (windmove-reference-loc):
1886         Fix windmove-reference-loc miscalculation.
1888 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1890         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1891         default unit.
1893 2012-01-21  Glenn Morris  <rgm@gnu.org>
1895         * international/mule.el (auto-coding-alist): Add .tbz.
1897         * files.el (local-enable-local-variables): Doc fix.
1898         (inhibit-local-variables-regexps): Rename from
1899         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
1900         Doc fix.  Add some extensions from auto-coding-alist.
1901         (inhibit-local-variables-suffixes):
1902         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
1903         (inhibit-local-variables-p):
1904         New function, extracted from set-auto-mode-1.
1905         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
1906         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
1907         (hack-local-variables): Doc fix.  Make the mode-only case
1908         respect enable-local-variables and friends.
1909         Respect inhibit-local-variables-regexps for file-locals, but
1910         not for directory-locals.
1911         (set-visited-file-name):
1912         Take account of inhibit-local-variables-regexps.
1913         Whether it applies may change as the file name is changed.
1914         * jka-cmpr-hook.el (jka-compr-install):
1915         * jka-compr.el (jka-compr-uninstall):
1916         Update for inhibit-first-line-modes-suffixes name change.
1918 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
1920         * help-macro.el (make-help-screen): Temporarily restore original
1921         binding for minor-mode-map-alist (Bug#10454).
1923 2012-01-19  Julien Danjou  <julien@danjou.info>
1925         * color.el (color-name-to-rgb): Use the white color to find the max
1926         color component value and return correctly computed values.
1927         (color-name-to-rgb): Add missing float conversion for max value.
1929 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
1931         * window.el (window--state-get-1, window-state-get): Do not use
1932         special state value for window-persistent-parameters.
1933         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
1934         (window--state-put-2): Reset all window parameters to nil before
1935         assigning values of persistent parameters.
1937 2012-01-18  Alan Mackenzie  <acm@muc.de>
1939         Eliminate sluggishness and hangs in fontification of "semicolon
1940         deserts".
1942         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1943         Change value 10000 -> 3000.
1944         (c-state-safe-place): Reformulate so it doesn't stack up an
1945         infinite number of wrong entries in c-state-nonlit-pos-cache.
1946         (c-determine-limit-get-base, c-determine-limit): New functions to
1947         determine backward search limits disregarding literals.
1948         (c-find-decl-spots): Amend commenting.
1949         (c-cheap-inside-bracelist-p): New function which detects "={".
1951         * progmodes/cc-fonts.el
1952         (c-make-font-lock-BO-decl-search-function): Give a limit to a
1953         backward search.
1954         (c-font-lock-declarations): Fix an occurrence of point being
1955         undefined.  Check additionally for point being in a bracelist or
1956         near a macro invocation without a semicolon so as to avoid a
1957         fruitless time consuming search for a declarator.  Give a more
1958         precise search limit for declarators using the new
1959         c-determine-limit.
1961 2012-01-18  Glenn Morris  <rgm@gnu.org>
1963         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1964         (set-auto-mode): Doc fixes.
1966 2012-01-17  Glenn Morris  <rgm@gnu.org>
1968         * isearch.el (search-nonincremental-instead): Fix doc typo.
1970         * dired.el (dired-insert-directory): Handle newlines in directory name.
1971         (dired-build-subdir-alist): Unescape newlines in directory name.
1973 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
1975         * net/tramp.el (tramp-local-end-of-line): New defcustom.
1976         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1977         (tramp-action-terminal): Use it.  (Bug#10530)
1979 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1981         * minibuffer.el (completion--replace): Strip properties (bug#10062).
1983 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
1985         * window.el (window-state-ignored-parameters): Remove variable.
1986         (window--state-get-1): Rename argument MARKERS to IGNORE.
1987         Handle persistent window parameters.  Make copy of clone-of
1988         parameter only if requested.  (Bug#10348)
1989         (window--state-put-2): Install a window parameter only if it has
1990         a non-nil value or an existing parameter shall be overwritten.
1992 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
1994         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1996 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
1998         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1999         don't pass the (nil) value of `upnode' to string-match.
2001 2012-01-14  Chong Yidong  <cyd@gnu.org>
2003         * startup.el (command-line): Fix X resource class for cursorColor.
2004         Fix values recognized by the cursorBlink resource.
2006 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
2008         * epg.el (epg--make-temp-file): Avoid permission race condition
2009         when running on old Emacs versions (bug#10403).
2011 2012-01-14  Glenn Morris  <rgm@gnu.org>
2013         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2015 2012-01-13  Alan Mackenzie  <acm@muc.de>
2017         Fix filling for when filladapt mode is enabled.
2019         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2020         c-mask-paragraph, pass in `fill-paragraph' rather than
2021         `fill-region-as-paragraph'.  (This is a reversion of a previous
2022         change.)
2023         * progmodes/cc-mode.el (c-basic-common-init):
2024         Make fill-paragraph-handle-comment buffer local and set it to nil.
2026 2012-01-13  Glenn Morris  <rgm@gnu.org>
2028         * dired.el (dired-switches-escape-p): New function.
2029         (dired-insert-directory): Use dired-switches-escape-p.
2030         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
2032         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
2034 2012-01-12  Glenn Morris  <rgm@gnu.org>
2036         * mail/sendmail.el (mail-mode): Update paragraph-separate for
2037         changes in adaptive-fill-regexp.  (Bug#10276)
2039 2012-01-11  Alan Mackenzie  <acm@muc.de>
2041         Fix Emacs bug #10463 - put `widen's around the critical spots.
2043         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2044         widen around each invocation of c-state-pp-to-literal.  Remove an
2045         unused let variable.
2047 2012-01-11  Glenn Morris  <rgm@gnu.org>
2049         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
2050         Doc fix.
2052 2012-01-10  Chong Yidong  <cyd@gnu.org>
2054         * net/network-stream.el (network-stream-open-starttls):
2055         Avoid emitting a confusing error message when the server gives a bad
2056         response to the capability command.
2058 2012-01-10  Glenn Morris  <rgm@gnu.org>
2060         * mail/unrmail.el (unrmail): Tweak previous change.
2062 2012-01-09  Chong Yidong  <cyd@gnu.org>
2064         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2066 2012-01-08  Alan Mackenzie  <acm@muc.de>
2068         Optimise font locking in long enum definitions.
2070         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2071         arm to a cond form to handle enums.
2072         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2073         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2075 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2077         * files.el (move-file-to-trash): Preserve default file modes on error.
2078         (Bug#10401)
2080 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2082         * faces.el (set-face-attribute): Clarify the meaning of the nil
2083         frame (bug#10294).
2085         * subr.el (with-selected-frame): Mention that the selected frame
2086         is restored (bug#9980).
2088         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2089         (bug#9759).
2091         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2092         (password-read): Don't autoload unused function.
2094 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
2096         * progmodes/which-func.el (which-func-mode): Turn into a
2097         non-interactive function and mark as obsolete (bug#10428).
2099 2012-01-06  Chong Yidong  <cyd@gnu.org>
2101         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2102         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2103         functions, along with 1 and -1.
2105 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
2107         * time.el (display-time-load-average)
2108         (display-time-default-load-average): Doc fixes.  See the thread
2109         starting at
2110         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2111         for the details.
2113 2012-01-06  Glenn Morris  <rgm@gnu.org>
2115         * mail/unrmail.el (unrmail): Give an explicit error if the input file
2116         has no messages.  (Bug#10377)
2118         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2119         than Info-edit.  (Bug#10385)
2121         * time.el (display-time-load-average, display-time-next-load-average):
2122         Doc fixes.
2124         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2125         local setting of buffer-read-only to the input buffer.  (Bug#10419)
2127         * calendar/calendar.el (calendar-mode):
2128         Locally set scroll-margin to 0.  (Bug#10379)
2130 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
2132         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
2134 2012-01-05  Glenn Morris  <rgm@gnu.org>
2136         * eshell/em-unix.el (diff-no-select): Autoload it.
2137         (eshell/diff): Use diff-no-select.  (Bug#10420)
2139 2012-01-05  Chong Yidong  <cyd@gnu.org>
2141         * shell.el (shell-dynamic-complete-functions): Revert last change.
2142         (shell-command-completion-function): New function.
2143         (shell-completion-vars): Use it to implement
2144         shell-completion-execonly (Bug#10417).
2146         * custom.el (enable-theme): Don't set custom-safe-themes.
2148         * cus-theme.el (custom-theme-merge-theme):
2149         Ignore custom-enabled-themes and custom-safe-themes.
2151 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
2153         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2154         first prompt in `sql-interacive-mode'.
2155         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2156         keywords.
2157         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2158         (sql-product-interactive): Bug fix: Set `sql-buffer' in
2159         context of original buffer.  Invoke `sql-login-hook'.
2161 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
2163         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2164         letters in cite-prefix.
2166 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2168         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2170 2012-01-03  Chong Yidong  <cyd@gnu.org>
2172         * shell.el (shell-dynamic-complete-functions):
2173         Put pcomplete-completions-at-point, so as to try
2174         comint-filename-completion first (Bug#10417).
2176 2012-01-02  Richard Stallman  <rms@gnu.org>
2178         * battery.el (battery-status-function):
2179         Detect when to use battery-yeeloong-sysfs.
2180         (battery-echo-area-format): Add string for Yeeloong.
2181         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2182         (battery-yeeloong-sysfs): New function.
2184 2012-01-02  Chong Yidong  <cyd@gnu.org>
2186         * dirtrack.el (dirtrack-list): Eliminate unused third element.
2187         (dirtrack): Merge code for handling relative filenames in prompt
2188         from shell-dir-cookie-watcher.
2189         (dirtrack-debug-message): New arg to avoid excess format calls.
2191         * shell.el (shell-dir-cookie-re): Variable deleted.
2192         (shell-dir-cookie-watcher): Function deleted.
2193         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2194         with dirtrack-mode.
2196 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
2198         * term/w32-win.el (dynamic-library-alist) <gnutls>:
2199         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2200         libgnutls-26.dll.
2202 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
2204         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2206 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
2208         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2209         headers of non-MIME messages, when rmail-enable-mime is non-nil.
2211 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
2213         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2214         also for alternative shells.
2215         (tramp-open-connection-setup-interactive-shell): Check, whether
2216         the shell is a busybox.
2217         (tramp-send-command): Don't suppress multiple prompts for
2218         busyboxes, it hurts.
2220 2011-12-28  Chong Yidong  <cyd@gnu.org>
2222         * progmodes/gdb-mi.el (gdb-get-source-file-list)
2223         (gdb-get-source-file): Move mode line update to
2224         gdb-get-source-file (Bug#10087).
2226 2011-12-25  Chong Yidong  <cyd@gnu.org>
2228         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2229         gud-gdb-marker-filter without taking it as an argument.
2230         (gud-gdb-run-command-fetch-lines): Caller changed.
2231         (gud-gdb-completion-function): New variable.
2232         (gud-gdb-completion-at-point): Use it.
2233         (gud-gdb-completions-1): Split from gud-gdb-completions.
2235         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2236         function as separate arguments.
2237         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2238         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2239         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2240         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2241         (gdb-stopped, def-gdb-auto-update-trigger)
2242         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2243         (gdb-get-changed-registers, gdb-get-main-selected-frame):
2244         Callers changed.
2245         (gud-gdbmi-completions): New function.
2246         (gdb): Use it for generating the completion table.
2248 2011-12-24  Alan Mackenzie  <acm@muc.de>
2250         Introduce a mechanism to widen the region used in context font
2251         locking.  Use this to protect declarations from losing their contexts.
2253         * progmodes/cc-langs.el (c-before-font-lock-functions):
2254         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2255         (c-before-context-fontification-functions): New defvar, a list of
2256         functions to be run just before context (etc.) font locking.
2258         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2259         New, functionality extracted from
2260         c-neutralize-syntax-in-and-mark-CPP.
2261         (c-in-after-change-fontification): New variable.
2262         (c-after-change): Set c-in-after-change-fontification.
2263         (c-set-fl-decl-start): Rejig its interface, so it can be called
2264         from both after-change and context fontifying.
2265         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2266         New functions.
2267         (c-standard-font-lock-fontify-region-function): New variable.
2268         (c-font-lock-fontify-region): New function.
2270 2011-12-24  Juri Linkov  <juri@jurta.org>
2272         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2273         (Bug#10348)
2275 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
2277         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2278         existence of source file.  (Bug#10325)
2280 2011-12-23  Alan Mackenzie  <acm@muc.de>
2282         Fix unstable fontification inside templates.
2284         * progmodes/cc-langs.el (c-before-font-lock-functions):
2285         Newly created from the singular version.  The (c c++ objc) entry now
2286         additionally has c-set-fl-decl-start.  The other languages (apart
2287         from AWK) have that as a single entry.
2289         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2290         The functionality for "local" declarations has been extracted to
2291         c-set-fl-decl-start.
2293         * progmodes/cc-mode.el (c-common-init, c-after-change):
2294         Changes due to pluralisation of c-before-font-lock-functions.
2295         (c-set-fl-decl-start): New function, extracted from
2296         c-font-lock-enclosing-decls and enhanced.
2298 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
2300         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2302 2011-12-22  Juri Linkov  <juri@jurta.org>
2304         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
2306 2011-12-22  Chong Yidong  <cyd@gnu.org>
2308         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2310 2011-12-21  Drew Adams  <drew.adams@oracle.com>
2312         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
2314 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2316         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2318 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
2320         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
2321         highlighting and support.  Fix up comments for capitalization.
2322         (cfengine-mode-debug): New var.
2323         (cfengine3-mode): Change the modeline indicator to "CFE3".
2324         (cfengine3-font-lock-keywords): Improve defun highlighting.
2325         (cfengine2-actions): Rename from `cfengine-actions'.
2326         (cfengine2-font-lock-keywords): Rename from
2327         `cfengine-font-lock-keywords'.
2328         (cfengine2-imenu-expression): Rename from
2329         `cfengine-imenu-expression'.
2330         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2331         (cfengine2-beginning-of-defun): Rename from
2332         `cfengine-beginning-of-defun'.
2333         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2334         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2335         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
2336         modeline indicator to "CFE2".
2337         (cfengine-mode): Defalias to `cfengine-auto-mode'.
2338         (cfengine-mode-abbrevs): Mark obsolete.
2340 2011-12-21  Chong Yidong  <cyd@gnu.org>
2342         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2343         filename argument.
2345 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
2347         * window.el (window-normalize-buffer-to-display): Remove.
2348         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2350 2011-12-19  Chong Yidong  <cyd@gnu.org>
2352         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2353         Don't signal an error in a predicate function; return non-nil.
2354         (vc-dir-mark-file): Move the error here.
2355         (vc-dir-mark-unmark): If acting on the region, keep going if one
2356         of the entries cannot be marked/unmarked.
2357         (vc-dir-mark-all-files): If current entry is a directory, mark
2358         only child files, as documented.
2360 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2362         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2363         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2364         addition.
2366 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
2368         * term/ns-win.el (ns-get-selection-internal)
2369         (ns-store-selection-internal): Declare.
2370         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2371         Declare as obsolete.
2372         (ns-get-pasteboard, ns-paste-secondary):
2373         Use ns-get-selection-internal.
2374         (ns-set-pasteboard,  ns-copy-including-secondary):
2375         Use ns-store-selection-internal.
2377 2011-12-17  Chong Yidong  <cyd@gnu.org>
2379         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2380         (vc-deduce-fileset): Doc fix.
2382 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
2384         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2386 2011-12-13  Sam Steingold  <sds@gnu.org>
2388         * man.el (Man-getpage-in-background): When running under a
2389         window-system, ignore $MANWIDTH and $COLUMNS.
2391 2011-12-15  Kenichi Handa  <handa@m17n.org>
2393         * language/ethio-util.el: Change coding tag to utf-8-emacs.
2394         (setup-ethiopic-environment-internal): Comment out key-binding for
2395         ethio-toggle-punctuation.
2397 2011-12-13  Alan Mackenzie  <acm@muc.de>
2399         Add the switch statement to AWK Mode.
2401         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2402         "default" to the keywords regexp.
2404         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2405         expression as the rest.
2406         (c-nonlabel-token-key): Allow string literals for AWK.
2407         Refactor for the other modes.
2409         Large brace-block initialisation makes CC Mode slow: Fix.
2410         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2411         routines.  Limit backward searching in c-font-lock-enclosing.decl.
2413         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2414         pp-state and literal type in addition to the limits.
2415         (c-state-safe-place): New defun, extracted from c-state-literal-at.
2416         (c-state-literal-at): Use the above new defun.
2417         (c-slow-in-literal, c-fast-in-literal): Remove.
2418         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2420         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2421         being in a literal.  Add a limit for backward searching.
2423         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2424         c-slow-in-literal.
2426 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2428         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2430 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
2432         * window.el (delete-other-windows): Use correct frame in call to
2433         window-with-parameter.
2435 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
2437         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2438         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2439         (makefile-gmake-statements, makefile-makepp-statements):
2440         Use it and add new makepp keywords.
2441         (makefile-makepp-font-lock-keywords): Add new patterns.
2442         (makefile-match-function-end): Match new [...] and [[...]].
2444 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
2446         * ses.el (ses-call-printer-return, ses-cell-property-get)
2447         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2448         (ses-create-cell-variable, ses-reset-header-string)
2449         (ses-cell-set-formula, ses-repair-cell-reference-all)
2450         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2451         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2452         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2453         (ses-aset-with-undo, ses-load, ses-truncate-cell)
2454         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2455         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2456         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2457         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2458         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2459         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2460         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2461         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2463 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2465         * ses.el: The overall change is to add cell renaming, that is
2466         setting fancy names for cell symbols other than name matching
2467         "\\`[A-Z]+[0-9]+\\'" regexp .
2468         (ses-create-cell-variable): New defun.
2469         (ses-relocate-formula): Relocate formulas only for cells the
2470         symbols of which are not renamed, i.e. symbols whose names do not
2471         match regexp "\\`[A-Z]+[0-9]+\\'".
2472         (ses-relocate-all): Relocate values only for cells the symbols of
2473         which are not renamed.
2474         (ses-load): Create cells variables as the (ses-cell ...) are read,
2475         in order to check row col consistency with cell symbol name only
2476         for cells that are not renamed.
2477         (ses-replace-name-in-formula): New defun.
2478         (ses-rename-cell): New defun.
2480 2011-12-11  Chong Yidong  <cyd@gnu.org>
2482         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2483         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2485 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
2487         * window.el (other-window): Fix docstring.
2489 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2491         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2492         `from' or `to' address before taking its substring.
2493         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2494         encoded name is chopped in the middle of the encoded string, and
2495         thus displayed encoded.
2497 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
2499         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2501 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2503         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
2504         to use texinfo-update-node and commands that call it if the
2505         Texinfo file uses @node lines without next/prev/up pointers.
2506         Correct outdated description about texinfo-master-menu.
2507         (texinfo-all-menus-update, texinfo-master-menu)
2508         (texinfo-update-node, texinfo-every-node-update)
2509         (texinfo-multiple-files-update): Doc fix.  Warn against updating
2510         all the @node lines.
2511         (texinfo-master-menu): Only call texinfo-update-node if the prefix
2512         argument is numeric.  Explain better in the doc string what the
2513         function really does.
2514         (texinfo-insert-master-menu-list): Improve the error message
2515         displayed if there's no menu in the Top node.
2516         (Bug#2975)  See also this thread:
2517         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2519 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
2521         * speedbar.el (speedbar-supported-extension-expressions):
2522         Add .adb and .ads, commonly used for Ada source code (bug#10256).
2524 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
2526         * printing.el (pr-mode-alist):
2527         * simple.el (filter-buffer-substring-functions)
2528         (completion-list-insert-choice-function):
2529         * window.el (window-with-parameter, window-atom-root)
2530         (window-sides-slots, window-size-fixed, window-min-delta)
2531         (window-max-delta, window--resize-mini-window)
2532         (window--resize-child-windows-normal, window-tree)
2533         (delete-other-windows, quit-window, split-window)
2534         (display-buffer-record-window, special-display-buffer-names)
2535         (special-display-regexps, special-display-popup-frame)
2536         (same-window-p, split-window-sensibly)
2537         (display-buffer-overriding-action, display-buffer-alist)
2538         (display-buffer-base-action, display-buffer, switch-to-buffer)
2539         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2540         (fit-window-to-buffer, recenter-positions)
2541         (mouse-autoselect-window-state, mouse-autoselect-window-select):
2542         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2543         and remove unneeded backslashes in docstrings.
2545 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2547         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2549         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2550         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2551         end in ".mk".
2552         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2553         when reading the makefile (bug#10116).
2555 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2557         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2558         (bug#10116).
2560 2011-12-06  Glenn Morris  <rgm@gnu.org>
2562         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2564 2011-12-06  Chong Yidong  <cyd@gnu.org>
2566         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2568 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2570         * textmodes/table.el (table-shorten-cell): Fix typo.
2572 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2574         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2576 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2578         * descr-text.el (describe-char): Fix display of strong
2579         right-to-left characters and directional embeddings and overrides.
2581         * simple.el (what-cursor-position): Fix display of codepoints of
2582         strong right-to-left characters.
2584 2011-12-05  Chong Yidong  <cyd@gnu.org>
2586         * faces.el (read-color): Doc fix.
2588 2011-12-05  Glenn Morris  <rgm@gnu.org>
2590         * align.el (align--set-marker): Add doc-string.
2591         Don't try to move something that is not a marker.  (Bug#10216)
2593 2011-12-04  Glenn Morris  <rgm@gnu.org>
2595         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2596         overly zealous deletion of trailing whitespace.
2598 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2600         * server.el (server-delete-client): On Windows, do not try to delete
2601         the only terminal.
2602         (server-process-filter): On Windows, treat requests for a tty frame as
2603         if they were for a GUI frame if the running server is in GUI mode.
2605 2011-12-03  Glenn Morris  <rgm@gnu.org>
2607         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2609 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2611         * electric.el: Streamline electric-indent's hook.
2612         (electric-indent-chars): Revert to simple list.
2613         (electric-indent-functions): New var.
2614         (electric-indent-post-self-insert-function): Use it.
2616         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2617         there's no inferior buffer (bug#10196).
2618         (prolog-consult-compile): Don't use toggle-read-only.
2620 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2622         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2623         interrupt.  (Bug#10187)
2625 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2627         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2628         (bug#9160).
2630         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2631         (bug#10191).
2633 2011-12-02  Juri Linkov  <juri@jurta.org>
2635         * info.el (Info-search): Display "end of manual" when Isearch
2636         reaches the end of single-file Info manual.  (Bug#9918)
2638 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2640         * isearch.el (isearch-message-prefix): Run the input method part
2641         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2643 2011-12-02  Juri Linkov  <juri@jurta.org>
2645         * isearch.el (isearch-occur): Use `word-search-regexp' for
2646         `isearch-word'.
2647         (isearch-search-and-update): Add condition for `isearch-word' and
2648         call `word-search-regexp'.  (Bug#10145)
2650 2011-12-01  Glenn Morris  <rgm@gnu.org>
2652         * eshell/em-hist.el (eshell-hist-initialize):
2653         Handle eshell-history-size nil and HISTSIZE set or unset.
2654         (eshell-history-file-name, eshell-history-size): Fix custom type.
2656 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2658         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2660 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2662         * progmodes/verilog-mode.el (verilog-pretty-expr):
2663         Rework verilog-pretty-expr to handle new assignment operators in system
2664         verilog, such as += *= and the like.
2665         (verilog-assignment-operator-re): Regular expression to find the
2666         assigment operator in a verilog assignment.
2667         (verilog-assignment-operation-re): Regular expression to find an
2668         assignment statement for pretty-expr.
2669         (verilog-in-attribute-p): Query returns true if point is in an
2670         attribute context; used to skip these for expression line up from
2671         pretty-expr.
2672         (verilog-in-parameter-p): Query returns true if point is in an
2673         parameter definition context; used to skip these for expression
2674         line up from pretty-expr.
2675         (verilog-in-parenthesis-p): Query returns true if point is in a
2676         parenthetical expression, specifically ( ) but not [ ] or { };
2677         used by pretty-expr.
2678         (verilog-just-one-space): If there is no space, don't add one.
2679         (verilog-get-lineup-indent-2): Specifically skip just attribute
2680         contexts for expression lineup, rather than skipping all
2681         parenthetical expressions.
2682         (verilog-calculate-indent): Fix comment, and fix indent.
2683         (verilog-do-indent): Indent declarations in lists (suggested by
2684         Joachim Lechner).
2685         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2686         skeleton items.
2687         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2688         by Alain Mellan).
2690 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2692         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2693         parameters with embedded comments.  Reported by Ray Stevens.
2694         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2695         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2696         Reported by Tim Holt.
2697         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2698         instantiated by upper module causing wrong expansion until AUTOed a
2699         second time.  Reported by K C Buckenmaier.
2700         (verilog-diff-auto): Fix showing .* as a difference when
2701         `verilog-auto-star-save' off.  Reported by Dan Dever.
2702         (verilog-auto-reset, verilog-read-always-signals)
2703         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2704         temporary signals in reset list if
2705         verilog-auto-reset-blocking-in-non is nil, and match assignment
2706         style to each signal's assignment type, bug381.
2707         Reported by Thomas Esposito.
2708         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2709         (verilog-uvm-statement-re): Support UVM indentation and
2710         highlighting, with old OVM keywords only.
2711         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2712         Support AUTOTIEOFF creating non-wire data types.
2713         Suggested by Jonathan Greenlaw.
2714         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2715         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2716         (verilog-inject-sense, verilog-read-inst-pins)
2717         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2718         Fix mismatching parenthesis inside commented out code when deleting
2719         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2720         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2721         non-numeric vector width.  Reported by Alex Reed.
2722         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2723         detecting signals with parameter widths.  Reported by Alex Reed.
2724         (verilog-auto-delete-trailing-whitespace):
2725         With `verilog-auto-delete-trailing-whitespace' remove trailing
2726         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2727         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2728         Fix verilog-scan-cache corruption when running user AUTO expansion
2729         hooks that call indentation routines.
2730         (verilog-simplify-range-expression): Fix typo ignoring lower case
2731         identifiers.
2732         (verilog-delete-auto): Fix delete-autos to also remove user created
2733         automatics, as long as they start with AUTO.
2734         (verilog-batch-diff-auto, verilog-diff-auto)
2735         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2736         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2737         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2738         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2739         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2740         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2741         is disabled and its cache will get corrupt, causing AUTOS not to
2742         expand.  Instead use only -quick functions.
2743         (verilog-scan-region): Fix scanning over escaped quotes.
2744         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2745         (verilog-re-search-backward-quick)
2746         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2747         related functions now ignore strings, to fix misparsing of strings
2748         with magic comments embedded in them.
2749         (verilog-read-auto-template):
2750         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2751         Reported by Brad Dobbie.
2752         (verilog-read-auto-template):
2753         Fix 'verilog-auto-inst-template-numbers' with comments.
2754         Reported by Brad Dobbie.
2755         (verilog-auto-inst, verilog-auto-inst-param)
2756         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2757         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2758         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2759         debugging templates without merge conflicts, bug357.
2760         Reported by Brad Dobbie.
2761         (verilog-read-auto-template):
2762         Fix verilog-auto-inst-template-numbers with multiple templates.
2763         Reported by Brad Dobbie.
2764         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2765         abbrevs so user won't be asked to save.
2766         (verilog-read-auto-lisp-present): Fix to start at beginning of
2767         buffer in case called outside of verilog-auto.
2768         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2769         to "X-2".  Reported by Matthew Myers.
2770         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2771         all inputs from module templates.  Reported by Leith Johnson.
2772         (verilog-module-inside-filename-p): Fix locating programs as with
2773         modules.
2774         (verilog-auto-inst-port): Fix vl-width expressions when using
2775         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2776         (verilog-decls-get-regs, verilog-decls-get-signals,
2777         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2778         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2779         verilog-read-decls): Combine reg and wire structures into one var
2780         structure to represent SystemVerilog concepts.
2781         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2782         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2783         (verilog-auto-wire-type, verilog-insert-definition):
2784         Add verilog-auto-wire-type and AUTOLOGIC to support using
2785         SystemVerilog "logic" keyword instead of "wire"/"reg".
2786         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2787         to declares outputs that also have assignments (presumably in an
2788         ifdef or generate if so there's not a driver conflict).
2789         Reported by Matthew Myers.
2790         (verilog-auto-declare-nettype, verilog-insert-definition):
2791         Add verilog-auto-declare-nettype to fix declarations using
2792         `default_nettype none.  Reported by Julian Gorfajn.
2793         (verilog-read-always-signals-recurse, verilog-read-decls)
2794         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2795         malformed end statement, bug325.  Reported by Joshua Wise and
2796         Andrew Drake.
2797         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2798         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2799         when expanding .* in interfaces, bug320.
2800         Reported by Pierre-David Pfister.
2801         (verilog-read-module-name): Fix import statements between module
2802         name and open parenthesis, bug317.
2803         Reported by Pierre-David Pfister.
2804         (verilog-simplify-range-expression): Fix simplification of
2805         multiplications inside AUTOWIRE connections, bug303.
2806         (verilog-auto-inst-port): Support parameter expansion in
2807         multidimensional arrays.
2808         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2809         after "assert property".  Reported by Julian Gorfajn.
2810         (verilog-simplify-range-expression): Fix "couldn't merge" errors
2811         with multiplication, bug303.
2812         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2813         Reported by Jan Frode Lonnum.
2815 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
2817         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2818         (hfy-shell-file-name, hfy-shell):
2819         * international/fontset.el (x-decompose-font-name): Fix typos.
2821 2011-11-29  Ken Brown  <kbrown@cornell.edu>
2823         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2824         (gdb-version): Remove defvar.
2825         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2826         (gdb-gud-context-command, gdb-non-stop-handler)
2827         (gdb-current-context-command, gdb-stopped): Use it.
2828         (gdb-init-1): Enable pretty printing here.
2829         (gdb-non-stop-handler): Don't enable pretty-printing here.
2830         Check to see if the target supports non-stop mode; if not, turn off
2831         non-stop mode.  Use the following.
2832         (gdb-check-target-async): New defun.
2833         (gud-watch, gdb-stopped): Fix whitespace.
2834         (gdb-get-source-file): Don't try to display the source file if
2835         `gdb-main-file' is nil.
2837 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2839         * align.el: Try to generate fewer markers (bug#10047).
2840         (align--set-marker): New macro.
2841         (align-region): Use it.
2843 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2845         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2847 2011-11-29  Chong Yidong  <cyd@gnu.org>
2849         * indent.el (indent-for-tab-command, indent-according-to-mode):
2850         Doc fix.
2851         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
2853 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
2855         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2856         aware of remote file names.  (Bug#10124)
2858 2011-11-29  Chong Yidong  <cyd@gnu.org>
2860         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2862 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2864         * files.el (find-file): Don't use force-same-window (bug#10144).
2865         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2866         use pop-to-buffer if the selected window can't be used.
2867         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2869 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
2871         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2872         special-mode-map.
2874 2011-11-28  Chong Yidong  <cyd@gnu.org>
2876         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2878 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
2880         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2881           gdb-get-source-file-list on gdb-create-source-file-list.
2883 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
2885         * whitespace.el (whitespace-newline): Use a different foreground
2886         color for 16-color light-background displays.
2888 2011-11-24  Chong Yidong  <cyd@gnu.org>
2890         * window.el (display-buffer--special-action): Doc fix.
2892 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
2894         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2895         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2896         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2897         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2898         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2899         (avl-tree-stack-first):
2900         * emacs-lisp/cconv.el (cconv--analyse-use):
2901         * net/gnutls.el (gnutls-negotiate): Fix typos.
2903 2011-11-24  Glenn Morris  <rgm@gnu.org>
2905         * lpr.el (lpr-windows-system, lpr-lp-system):
2906         * mail/binhex.el (binhex-begin-line):
2907         * progmodes/grep.el (grep-history, grep-find-history):
2908         * textmodes/flyspell.el:
2909         * vc/pcvs-defs.el (cvs-global-menu):
2910         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2911         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2912         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2914         * net/tls.el: Fix case of "GnuTLS".
2916         * paths.el (rmail-file-name): Format doc-string for make-docfile.
2918         * version.el (emacs-build-system): Give it a doc-string.
2920 2011-11-24  Juri Linkov  <juri@jurta.org>
2922         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2924 2011-11-24  Glenn Morris  <rgm@gnu.org>
2926         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2927         if called on a non-mime message just toggle the headers.  (Bug#8006)
2929 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
2931         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2932         (allout-lead-with-comment-string, allout-structure-deleted-hook)
2933         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2934         (allout-rebullet-heading, allout-open-sibtopic)
2935         (allout-toggle-current-subtree-encryption)
2936         (allout-toggle-subtree-encryption, allout-encrypt-string)
2937         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2938         (allout-distinctive-bullets-string, allout-auto-activation):
2939         * window.el (window-normalize-buffer-to-display):
2940         * progmodes/verilog-mode.el (verilog-batch-indent):
2941         * textmodes/bibtex.el (bibtex-field-braces-opt)
2942         (bibtex-field-strings-opt):
2943         * vc/cvs-status.el (cvs-tree-merge):
2944         Fix typos.
2946 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
2948         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2949         `non-essential' to t, in order to avoid remote connections.
2951 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
2953         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2954         On MS-DOS and MS-Windows, compare with loaddefs.el
2955         case-insensitively.
2957 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2959         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
2961 2011-11-23  Glenn Morris  <rgm@gnu.org>
2963         * paths.el (rmail-file-name): Reformat the doc-string so that it
2964         is picked up.
2966         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2967         (rmail-auto-file): Ignore case in the "special" field names,
2968         as mail-fetch-field does for all others.
2970         * mail/rmail.el (rmail-forward):
2971         * mail/rmailkwd.el (rmail-set-label):
2972         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2973         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
2975         * mail/rmail.el (rmail-current-message): Doc fix.
2977         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
2979 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2981         * server.el (server-eval-and-print): Allow C-g (bug#6585).
2983 2011-11-22  Glenn Morris  <rgm@gnu.org>
2985         * mail/rmailmm.el (test-rmail-mime-handler)
2986         (test-rmail-mime-bulk-handler)
2987         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2989 2011-11-21  Juri Linkov  <juri@jurta.org>
2991         * calc/calc.el (calc-read-key-sequence):
2992         Let-bind `input-method-function' to nil.  (Bug#10018)
2994 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2996         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2997         Tell the caller that the next line needs recomputation, even
2998         though it doesn't start a sexp (bug#10094).
3000 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3002         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3004 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3006         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3007         Use force-same-window.
3009 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3011         * descr-text.el (describe-char-unicode-data):
3012         * json.el (json-string-escape):
3013         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3014         (Footnote-unicode, Footnote-style-p):
3015         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3017 2011-11-20  Chong Yidong  <cyd@gnu.org>
3019         * window.el (replace-buffer-in-windows): Restore interactive spec.
3021 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3023         * electric.el (electric-indent-mode): Fix last change (too optimistic).
3025         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3026         (byte-compile-global-not-obsolete-vars): New var.
3027         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3028         Use it.
3029         (byte-compile-warn-obsolete): Align text with the one in *Help*.
3031 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3033         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3034         * progmodes/pascal.el (electric-pascal-equal):
3035         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3036         * xml.el (xml-substitute-special): Fix typos.
3038 2011-11-20  Glenn Morris  <rgm@gnu.org>
3040         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3041         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3042         Doc fixes.
3043         (rmail-decode-mime-charset): Mark as obsolete.
3045         * mail/rmailsum.el (rmail-message-regexp-p-1):
3046         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3047         Before using mime functions, check they are set.  (Bug#10077)
3049 2011-11-19  Juri Linkov  <juri@jurta.org>
3051         * info.el (Info-finder-find-node): Use `package--builtins' instead
3052         of `package-alist'.  Use node names formed by the pattern "Keyword "
3053         and the keyword name.
3055 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3057         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3059 2011-11-19  Juri Linkov  <juri@jurta.org>
3061         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3062         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
3063         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3064         `old-history', `old-history-forward'.  Add let-binding
3065         `window-selected'.  Remove calls to `kill-buffer',
3066         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
3067         before calling `Info-find-node', so `Info-find-node-2' will reread
3068         the Info file.  Restore window positions only when `window-selected'
3069         is non-nil.
3071 2011-11-19  Juri Linkov  <juri@jurta.org>
3073         * isearch.el (isearch-lazy-highlight-new-loop):
3074         Remove condition `(not isearch-error)'.  (Bug#9918)
3076         * misearch.el (multi-isearch-search-fun): Add condition
3077         `(not bound)' to ignore lazy-highlighting search.
3078         Add the search-failed message "end of multi" when the end of
3079         multi-sequence is reached.  Uncapitalize the search-failed
3080         message "Repeat for next buffer".
3082         * info.el (Info-search): Add the search-failed message
3083         "end of the manual" when the end of the manual is reached
3084         in Isearch mode.
3086 2011-11-19  Juri Linkov  <juri@jurta.org>
3088         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3089         Use non-destructive `remove' instead of `delete' because
3090         `Info-history-list' stored to `Info-isearch-initial-history-list' in
3091         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3093 2011-11-19  Juri Linkov  <juri@jurta.org>
3095         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3096         to nil instead of binding `search-ring' and `regexp-search-ring'.
3097         (Bug#9185)
3099 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3101         * simple.el (line-move): Force movement by logical lines for any
3102         hscrolled window, not only when auto-hscroll-mode is on.
3103         (line-move-visual): Update doc string to that effect.  (Bug#10076)
3105 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3107         * language/european.el (macintosh): Define as alias for mac-roman.
3109 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3111         * mail/rmailmm.el (rmail-mime-display-header)
3112         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3113         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3114         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3115         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3116         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3117         of a raw aref.
3118         (rmail-mime-entity-segment): To get past the tagline, move forward
3119         2 more lines, to account for the 2 empty lines that precede and
3120         follow the line with the buttons.
3121         (rmail-mime-update-tagline): Move one more line, to get past the
3122         empty line that follows the buttons in the tagline.  (Bug#9520)
3124 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
3126         * window.el (window-max-delta-1, window-min-delta-1)
3127         (window-min-size-1, window-state-get-1, window-state-put-1)
3128         (window-state-put-2): Use "window--" prefix.
3130 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3132         * emacs-lisp/smie.el: Improve warnings and conflict detection.
3133         (smie-warning-count): New var.
3134         (smie-set-prec2tab): Use it.
3135         (smie-bnf->prec2): Improve warnings.  Add docstring.
3136         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3137         (smie-bnf--set-class): New function.
3138         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
3139         corner case.
3141         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3142         (compilation-error-properties, compilation-move-to-column):
3143         Handle compilation-first-column while in the target buffer.
3145         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3146         Don't hardcode point-min==1.
3148         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3149         (eshell-rewrite-for-command): Remove workaround.
3150         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3151         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3152         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3154         * files-x.el (modify-file-local-variable): Obey commenting conventions.
3156 2011-11-17  Glenn Morris  <rgm@gnu.org>
3158         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3159         Ignore buffer-local generated-autoload-file if it is the same
3160         as the global value.  (Bug#10049)
3162 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
3164         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3165         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3166         (reftex-toc-previous-heading, reftex-toc-max-level)
3167         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3168         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3169         (reftex-toc-do-promote, reftex-toc-promote-prepare)
3170         (reftex-toc-promote-action, reftex-toc-extract-section-number)
3171         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3172         (reftex-toc-rename-label, reftex-toc-visit-location)
3173         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3174         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3175         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3176         leaving "*toc*" only for references to the buffer.
3178 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
3180         * window.el (window-resize, delete-window, split-window):
3181         Replace window-splits by window-combination-resize.
3182         * cus-start.el (window-splits): Replace by window-combination-resize.
3184 2011-11-17  Glenn Morris  <rgm@gnu.org>
3186         * progmodes/sh-script.el (sh-font-lock-keywords-var):
3187         Make bash entry derive from sh entry, not shell entry.
3189 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
3191         * net/tramp-cache.el (tramp-flush-file-property): Flush also
3192         properties of linked files.  (Bug#9879)
3194         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3195         local file name.
3197 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3199         * menu-bar.el (menu-bar-file-menu):
3200         * printing.el (pr-ps-utility):
3201         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3202         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3203         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3204         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3205         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3206         (icalendar--convert-cyclic-to-ical)
3207         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3208         (icalendar--convert-ical-to-diary)
3209         (icalendar--convert-recurring-to-diary)
3210         (icalendar--convert-non-recurring-all-day-to-diary)
3211         (icalendar-import-format-sample):
3212         * progmodes/idlw-shell.el (idlwave-shell-mode):
3213         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3214         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3215         (vhdl-ps-print-init): Fix typos.
3217 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
3219         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3220         FSF and collapse date sequence, obscure author/maintainer email address
3221         better, remove extra version line, track relocation of author's webpage.
3223         * progmodes/python.el (python-pdbtrack-input-prompt)
3224         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3225         regular python pdb prompts.  Adjustments shamelessly taken exactly as
3226         suggested in EmacsWiki page (tiny change):
3227         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3229 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3231         * expand.el (expand-pos, expand-index, expand-point):
3232         Remove redundant info from docstring.
3233         (expand-add-abbrevs): Doc fix.
3234         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3235         (expand-sample-perl-mode-expand-list): Fix typos.
3237         * net/dbus.el (dbus-event-member-name):
3238         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3239         * term/pc-win.el (msdos-create-frame-with-faces):
3240         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3242 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
3244         * window.el (split-window, window-state-get-1)
3245         (window-state-put-1, window-state-put-2): Rename occurrences of
3246         window-nest to window-combination-limit.
3247         * cus-start.el (window-nest): Rename to window-combination-limit.
3249 2011-11-16  Chong Yidong  <cyd@gnu.org>
3251         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3252         regexp (Bug#10033).
3254 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3256         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3257         `completing-read' will remove *Completions* and will preserve
3258         current-buffer for us.
3259         (tmm-add-prompt): Users of *Completions* will always (re)set its
3260         major mode.
3261         (tmm-old-comp-map): Remove.
3263 2011-11-16  Glenn Morris  <rgm@gnu.org>
3265         * mail/rmailedit.el: Require rmailmm when compiling.
3266         (rmail-old-mime-state): New declaration.
3267         (rmail-edit-current-message): If editing a mime message,
3268         edit the "raw" message from the mbox buffer.
3269         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
3271 2011-11-15  Glenn Morris  <rgm@gnu.org>
3273         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3274         which wasn't being used.  Add optional arg to force given state.
3275         (rmail-mime): Add optional arg to force given state.
3277 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3279         * allout.el (allout-encryption-plaintext-sanitization-regexps):
3280         * frame.el (display-mm-dimensions-alist):
3281         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3282         (outline-move-subtree-down):
3283         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3284         (newsticker--treeview-do-get-node):
3285         * net/quickurl.el (quickurl-list-buffer-name):
3286         * progmodes/dcl-mode.el (dcl-mode):
3287         * progmodes/gdb-mi.el (gdb-mapcar*):
3288         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3290 2011-11-15  Glenn Morris  <rgm@gnu.org>
3292         * mail/rmail.el (rmail-file-coding-system): It's only ever used
3293         in a boolean sense, so just make it a boolean, and fix the doc.
3294         (rmail-show-mime-function, rmail-mime-feature)
3295         (rmail-require-mime-maybe): Doc fixes.
3296         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3298         * mail/rmailmm.el (rmail-show-mime): Doc fix.
3300 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3302         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3303         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3304         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3305         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3307 2011-11-15  Glenn Morris  <rgm@gnu.org>
3309         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3310         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3311         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3312         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3313         (rmail-mime, rmail-show-mime): Doc fixes.
3315         * term/ns-win.el (mode-line-frame-identification):
3316         Leave it alone.  (Bug#10051)
3318         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
3320         * mail/rmailout.el (rmail-output-to-rmail-buffer):
3321         Handle empty buffers.  (Bug#9978)
3323 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
3325         * international/mule.el (define-charset):
3326         * mail/rmailmm.el (rmail-mime-find-header-encoding):
3327         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3328         * progmodes/verilog-mode.el (verilog-backward-token):
3329         * textmodes/ispell.el (lookup-words):
3330         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3332 2011-11-14  Glenn Morris  <rgm@gnu.org>
3334         * progmodes/executable.el
3335         (executable-make-buffer-file-executable-if-script-p):
3336         Handle file-modes returning nil.
3338         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3339         message - not necessary, and causes problems.  (Bug#9831)
3341         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3343         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3345         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3346         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
3347         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3349 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
3351         * window.el (window-resize, delete-window): Use window-splits
3352         variable instead of function.
3353         (window-state-get-1, window-state-put-2, window-state-put):
3354         Don't deal with windows' splits status.
3356 2011-11-12  Glenn Morris  <rgm@gnu.org>
3358         * apropos.el (apropos-do-all, apropos-library, apropos-value)
3359         (apropos-documentation): Doc fixes.
3361 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
3363         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3364         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3366 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3368         * electric.el (electric-indent-post-self-insert-function): Make it
3369         possible for a char to only indent in some circumstances.
3370         (electric-indent-mode): Simplify.
3372 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
3374         * window.el (windows-with-parameter): Remove unused function.
3375         (windows-at-side): Rename to window-at-side-list.
3376         (window-check, window-atom-check, window-atom-check-1)
3377         (window-side-check, window-size-ignore, window-size-fixed-1)
3378         (window-in-direction-2): Prefix with "window--".
3379         (window-tree-1): Rename to window--subtree, fix doc-string.
3381 2011-11-11  Glenn Morris  <rgm@gnu.org>
3383         * subr.el (eval-after-load): If FILE is already loaded,
3384         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
3386 2011-11-10  Glenn Morris  <rgm@gnu.org>
3388         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3389         Call svn via vc-svn-command rather than vc-do-command.
3390         (vc-svn-command): Add --non-interactive.  (Bug#9993)
3391         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3393         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3394         Add toggle-read-only.  (Bug#7292)
3395         * files.el (toggle-read-only): Mention that it should only
3396         be used interactively.  (Bug#10006)
3398 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3400         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3401         Adjust regexp for OCaml warnings.
3403         * electric.el (electric-pair-post-self-insert-function): Let user
3404         turn it off buffer-locally (bug#9932).
3406         * progmodes/python.el (python-beginning-of-statement):
3407         Rewrite (bug#2703).
3409         * progmodes/compile.el: Better handle TABs (bug#9749).
3410         (compilation-internal-error-properties)
3411         (compilation-next-error-function): Obey the target buffer's
3412         compilation-error-screen-columns.
3414 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
3416         * progmodes/meta-mode.el: Remove obsolete comments.
3417         (meta-right-comment-regexp, meta-ignore-comment-regexp):
3418         Fix typos in docstrings.
3420 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
3422         * window.el (window-size-fixed-p): Rewrite doc-string.
3423         (window-resizable-p): Rename to window--resizable-p.  Update callers.
3424         (window--resizable): New function.  Make all callers of
3425         window-resizable call window--resizable instead.
3426         (window-resizable): Rewrite in terms of window--resizable.
3428 2011-11-08  Glenn Morris  <rgm@gnu.org>
3430         * progmodes/delphi.el (delphi-mode-syntax-table):
3431         Let define-derived-mode define a proper syntax table.  (Bug#9994)
3433 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3435         * window.el: Stay away from defsubst.
3436         (window-list-no-nils): Remove.
3437         (window-state-get-1, window-state-get): Use backquote instead.
3439 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3441         * emacs-lisp/find-func.el (find-function-read):
3442         Fix incorrect use of default argument in `completing-read'.
3444 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
3446         * window.el (display-buffer-function, special-display-function):
3447         Mention display-buffer-record-window but do not mention
3448         help-setup parameter in doc-strings.
3449         (window-min-delta): Fix doc-string typo.
3451 2011-11-08  Chong Yidong  <cyd@gnu.org>
3453         * window.el (window-total-height, window-total-width): Doc fix.
3454         (window-body-size): Move from C.
3455         (window-body-height, window-body-width): Move to C.
3457 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3459         * window.el: Make special-display like display-buffer-alist (bug#9532).
3460         (display-buffer--special-action): New function, morphed
3461         from display-buffer--special.
3462         (display-buffer): Use it to handle special-display-buffers at higher
3463         priority (just after display-buffer-alist).
3464         (display-buffer-fallback-action, display-buffer--other-frame-action)
3465         (pop-to-buffer-same-window): Remove display-buffer--special.
3467 2011-11-07  Glenn Morris  <rgm@gnu.org>
3469         * calendar/cal-menu.el (cal-menu-set-date-title):
3470         Do nothing if not in a calendar.  (Bug#9976)
3472 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * files.el (find-file): Always use selected-window.
3476 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
3478         * window.el (window-combinations): Make WINDOW argument
3479         mandatory.  Rewrite doc-string.
3480         (walk-window-subtree, window-atom-check, window-min-delta)
3481         (window-max-delta, window--resize-this-window)
3482         (window--resize-root-window-vertically, window-tree)
3483         (balance-windows, window-state-put): Rewrite doc-strings as to
3484         not mention the term "subwindow".
3485         (window--resize-subwindows-skip-p): Rename to
3486         window--resize-child-windows-skip-p.
3487         (window--resize-subwindows-normal): Rename to
3488         window--resize-child-windows-normal.
3489         (window--resize-subwindows): Rename to
3490         window--resize-child-windows.
3491         (window-or-subwindow-p): Rename to window--in-subtree-p.
3493 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3495         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3496         Ensure that mbox format messages end in two newlines (Bug#9974).
3498 2011-11-06  Chong Yidong  <cyd@gnu.org>
3500         * window.el (window-combination-p): Function deleted; its
3501         side-effect is not used in any existing code.
3502         (window-combinations, window-combined-p): Call window-*-child
3503         directly.
3505 2011-11-05  Chong Yidong  <cyd@gnu.org>
3507         * window.el (window-valid-p): Rename from window-any-p.
3508         (window-size-ignore, window-state-get): Callers changed.
3509         (window-normalize-window): Rename from window-normalize-any-window.
3510         New arg LIVE-ONLY, replacing window-normalize-live-window.
3511         (window-normalize-live-window): Delete.
3512         (window-combination-p, window-combined-p, window-combinations)
3513         (walk-window-subtree, window-atom-root, window-min-size)
3514         (window-sizable, window-sizable-p, window-size-fixed-p)
3515         (window-min-delta, window-max-delta, window-resizable)
3516         (window-resizable-p, window-full-height-p, window-full-width-p)
3517         (window-current-scroll-bars, window-point-1, set-window-point-1)
3518         (window-at-side-p, window-in-direction, window-resize)
3519         (adjust-window-trailing-edge, maximize-window, minimize-window)
3520         (window-deletable-p, delete-window, delete-other-windows)
3521         (record-window-buffer, unrecord-window-buffer)
3522         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3523         (quit-window, split-window, window-state-put)
3524         (set-window-text-height, fit-window-to-buffer)
3525         (shrink-window-if-larger-than-buffer): Callers changed.
3527 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
3529         * mail/rmail.el (rmail-simplified-subject): Decode subject with
3530         rfc2047-decode-string.
3531         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3532         warnings.
3534         * window.el (window-body-height, window-body-width): Mention in
3535         the doc string that the return values are in frame's canonical
3536         units.  (Bug#9949)
3538 2011-11-03  Alan Mackenzie  <acm@muc.de>
3540         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3541         change in cc-engine.el.
3543 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3545         * window.el (switch-to-buffer): Use `force-same-window' interactively.
3547 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
3549         * window.el (quit-window): Call unrecord-window-buffer after
3550         showing another buffer in the window.  (Bug#9937)
3551         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3553 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3555         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3556         Accept status with more than 9 shelves.  (Bug#9935)
3557         Reported by Colin D Bennett <colin@gibibit.com>.
3559 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3561         * help.el (with-help-window): Don't reference
3562         temp-buffer-show-specifiers in doc-string.
3564 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3566         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3567         menu-item.
3569 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3571         * whitespace.el: New version 13.2.2.
3572         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3573         <EmacsWiki>.
3575 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3577         * net/newst-treeview.el: Remove "Time-stamp".
3578         (newsticker--group-manage-orphan-feeds): Do not call
3579         newsticker--treeview-tree-update.
3580         (newsticker-treeview-update, newsticker-treeview):
3581         Call newsticker--treeview-tree-update if necessary.
3583 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3585         * window.el (window-iso-combination-p, window-iso-combined-p)
3586         (window-iso-combinations): Remove "iso-" infix.
3587         Suggested by Chong Yidong.
3588         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3589         (window-max-delta-1, window-resize, window--resize-siblings)
3590         (window--resize-this-window, adjust-window-trailing-edge)
3591         (split-window, balance-windows-1)
3592         (shrink-window-if-larger-than-buffer):
3593         * calendar/calendar.el (calendar-generate-window):
3594         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3596 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3598         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3599         in place (bug#9907).
3600         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3601         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3602         (eshell-structure-basic-command, eshell-rewrite-while-command)
3603         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3604         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3605         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3606         (eshell-do-pipelines-synchronously, eshell-eval-command):
3607         Use backquotes and prefer setq to set.
3608         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3609         (eshell-macrop): Use functionp.
3610         (eshell-do-eval): Handle multiple expressions in `while' body.
3612 2011-10-30  Chong Yidong  <cyd@gnu.org>
3614         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3615         instead of set-mark (Bug#9810).
3617 2011-10-30  Chong Yidong  <cyd@gnu.org>
3619         * window.el (split-window-below, split-window-right): Rename from
3620         split-window-above-each-other and split-window-side-by-side
3621         respectively.  All callers changed.
3622         (split-window-sensibly, split-window-sensibly): Use them.
3623         (split-window-keep-point): Doc fix.
3625         * isearch.el: Add isearch-scroll property to split-window-below
3626         and split-window-right.
3628         * follow.el (follow-mode):
3629         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3630         * progmodes/ada-xref.el (ada-gdb-application):
3631         * emulation/vip.el (vip-buffer-in-two-windows):
3632         * image-dired.el (image-dired-dired-with-window-configuration):
3633         * dired-x.el (dired-do-find-marked-files):
3634         * dired.el (dired-pop-to-buffer):
3635         * bs.el (bs--show-with-configuration):
3636         * vc/emerge.el (emerge-setup-windows):
3637         * textmodes/two-column.el (2C-two-columns):
3638         * textmodes/reftex-toc.el (reftex-toc):
3639         * progmodes/gdb-mi.el (gdb-setup-windows):
3640         * progmodes/fortran.el (fortran-window-create):
3641         * net/newst-treeview.el (newsticker--treeview-window-init):
3642         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3643         * emulation/tpu-edt.el (tpu-gold-map):
3644         * emulation/crisp.el (crisp-mode-map):
3645         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3647 2011-10-29  Chong Yidong  <cyd@gnu.org>
3649         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3651         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3653         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3654         forged Ispell output (Bug#7904).
3656         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3658 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3660         * doc-view.el: Avoid ugly errors about not finding nil.
3661         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3662         (doc-view-dvipdf-program, doc-view-unoconv-program)
3663         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3664         Avoid nil or absolute file name as default value.
3665         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3667 2011-10-28  Alan Mackenzie  <acm@muc.de>
3669         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3671 2011-10-28  Alan Mackenzie  <acm@muc.de>
3673         Amend the handling of c-beginning/end-of-defun in nested declaration
3674         scopes.
3676         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3677         cc-langs.el.  Change it to a defcustom.
3679         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3680         cc-vars.el.
3682         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3683         Prevent "class foo : bar" being spuriously recognized as a label.
3685         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3686         Add parameter `inclusive' (to include enclosing braces in the region).
3687         (c-widen-to-enclosing-decl-scope): New function.
3688         (c-while-widening-to-decl-block): New macro.
3689         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3690         outward for defun boundaries, and correspondingly change symbol
3691         `respect-enclosure' to `go-outward'.
3692         (c-declaration-limits): Change algorithm to report only the "innermost"
3693         defun's boundaries.
3695 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3697         * net/rcirc.el (rcirc-mode): Use hard newlines.
3699 2011-10-28  Alan Mackenzie  <acm@muc.de>
3701         Amend to indent and fontify macros "which include their own semicolon"
3702         correctly, using the "virtual semicolon" mechanism.
3704         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3706         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3707         Recode to scan one line at a time rather than having \n and \r
3708         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3709         (c-forward-label): Amend for virtual semicolons.
3710         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3712         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3713         of the new C macros.
3715         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3716         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3717         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3718         (c-opt-cpp-macro-define): Make into a full language variable.
3719         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3720         AWK Mode (including \n, \r) removed, no longer needed.
3722         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3723         Invoke c-make-macro-with-semi-re.
3725         * progmodes/cc-vars.el (c-macro-with-semi-re):
3726         (c-macro-names-with-semicolon): New variables.
3727         (c-make-macro-with-semi-re): New function.
3729 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3731         * vc/log-edit.el: Fill empty field rather than adding new one.
3732         (log-edit-add-field): New function.
3733         (log-edit-insert-changelog): Use it.
3735 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3737         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3739 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3741         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3742         (gdb--check-interpreter): New function.
3743         (gdb): Use it.
3745 2011-10-27  Glenn Morris  <rgm@gnu.org>
3747         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3748         (least-positive-float, least-negative-float)
3749         (least-positive-normalized-float, least-negative-normalized-float)
3750         (float-epsilon, float-negative-epsilon):
3751         Remove unnecessary declarations.
3753         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3754         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3755         (least-positive-float, least-negative-float)
3756         (least-positive-normalized-float, least-negative-normalized-float)
3757         (float-epsilon, float-negative-epsilon): Add doc-strings,
3758         based on those in cl.texi.
3760         * files.el (set-visited-file-name): If the major-mode changed,
3761         reload the local variables.  (Bug#9796)
3763 2011-10-27  Chong Yidong  <cyd@gnu.org>
3765         * subr.el (change-major-mode-after-body-hook): New hook.
3766         (run-mode-hooks): Run it.
3768         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3769         Use change-major-mode-before-body-hook.
3771         * simple.el (fundamental-mode):
3772         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3773         change introducing fundamental-mode-hook.
3775 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3777         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3779 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3781         * ido.el (ido-file-name-all-completions-1): Do not require
3782         tramp.el explicitly.  (Bug#7583)
3784 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3786         * progmodes/octave-mod.el:
3787         * progmodes/octave-inf.el: Update maintainer.
3789 2011-10-26  Chong Yidong  <cyd@gnu.org>
3791         * subr.el (with-wrapper-hook): Rewrite doc.
3793 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3795         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3796         filenames "/method:foo:".  (Bug#9793)
3798 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3800         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3801         (bug#9865).
3803 2011-10-24  Glenn Morris  <rgm@gnu.org>
3805         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
3807 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
3809         * notifications.el: Add the requirement of a running D-Bus session
3810         bus to the Commentary.
3812 2011-10-24  Juri Linkov  <juri@jurta.org>
3814         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3815         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3816         (Bug#9364)
3818 2011-10-24  Juri Linkov  <juri@jurta.org>
3820         * info.el (Info-following-node-name-re): Add newline to the list
3821         of allowed characters for leading space.  (Bug#9824)
3823 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3825         * progmodes/octave-inf.el (inferior-octave-mode-map):
3826         Fix C-c C-h binding.
3827         * progmodes/octave-mod.el (octave-help): Remove.
3829 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
3831         Sync with Tramp 2.2.3.
3833         * net/tramp-cache.el (top): Pacify byte-compiler using
3834         `init-file-user' and `site-run-file'.
3836         * net/trampver.el: Update release number.
3838 2011-10-23  Chong Yidong  <cyd@gnu.org>
3840         * files.el (toggle-read-only): Remove obsolete comment about
3841         version control.
3843         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3844         for toggle-read-only.  Note that this hasn't called vc-next-action
3845         since 2008-05-02, though it wasn't documented at the time.
3847         * vc/ediff-init.el (ediff-toggle-read-only-function):
3848         Use toggle-read-only.
3850 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
3852         Fix bug #9560, sporadic wrong indentation; improve instrumentation
3853         of c-parse-state.
3855         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3856         correct faulty logical expression.
3857         (c-parse-state-state, c-record-parse-state-state):
3858         (c-replay-parse-state-state): New defvar/defuns.
3859         (c-debug-parse-state): Use new functions.
3861 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
3863         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3864         last fix.  Use window-in-direction correctly.
3866 2011-10-21  Chong Yidong  <cyd@gnu.org>
3868         * progmodes/idlwave.el (idlwave-mode):
3869         * progmodes/vera-mode.el (vera-mode): No need to set
3870         require-final-newline; that's done in prog-mode.
3871         Suggested by Stefan Monnier.
3873 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
3875         * mouse.el (mouse-drag-window-above)
3876         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3877         (mouse-drag-mode-line-1, mouse-drag-header-line)
3878         (mouse-drag-vertical-line-rightward-window): Remove.
3879         (mouse-drag-line): New function.
3880         (mouse-drag-mode-line, mouse-drag-header-line)
3881         (mouse-drag-vertical-line): Call mouse-drag-line.
3882         * window.el (window-at-side-p, windows-at-side): New functions.
3884 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
3886         * tar-mode.el (tar-grind-file-mode):
3887         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
3889 2011-10-21  Chong Yidong  <cyd@gnu.org>
3891         * progmodes/idlwave.el (idlwave-mode):
3892         * progmodes/vera-mode.el (vera-mode):
3893         Use mode-require-final-newline.
3895 2011-10-20  Glenn Morris  <rgm@gnu.org>
3897         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
3899 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
3901         * emulation/cua-base.el (cua-set-mark): Fix case of string.
3903 2011-10-20  Chong Yidong  <cyd@gnu.org>
3905         * emulation/cua-base.el (cua-mode):
3906         * mail/footnote.el (footnote-mode):
3907         * mail/mailabbrev.el (mail-abbrevs-mode):
3908         * net/xesam.el (xesam-minor-mode):
3909         * progmodes/bug-reference.el (bug-reference-mode):
3910         * progmodes/cap-words.el (capitalized-words-mode):
3911         * progmodes/compile.el (compilation-minor-mode)
3912         (compilation-shell-minor-mode):
3913         * progmodes/gud.el (gud-tooltip-mode):
3914         * progmodes/hideif.el (hide-ifdef-mode):
3915         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3916         * progmodes/subword.el (subword-mode):
3917         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3918         * progmodes/which-func.el (which-function-mode):
3919         * term/tvi970.el (tvi970-set-keypad-mode):
3920         * term/vt100.el (vt100-wide-mode):
3921         * textmodes/flyspell.el (flyspell-mode):
3922         * textmodes/ispell.el (ispell-minor-mode):
3923         * textmodes/nroff-mode.el (nroff-electric-mode):
3924         * textmodes/paragraphs.el (use-hard-newlines):
3925         * textmodes/refill.el (refill-mode):
3926         * textmodes/reftex.el (reftex-mode):
3927         * textmodes/rst.el (rst-minor-mode):
3928         * textmodes/sgml-mode.el (html-autoview-mode)
3929         (sgml-electric-tag-pair-mode):
3930         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3931         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3932         * emulation/crisp.el (crisp-mode):
3933         * emacs-lisp/eldoc.el (eldoc-mode):
3934         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3935         minor mode behavior.
3937 2011-10-19  Juri Linkov  <juri@jurta.org>
3939         * descr-text.el (describe-char): Add #x2010 and #x2011 to
3940         the list of hard-coded chars with escape-glyph face.
3942 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3944         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3946 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
3948         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3949         running process.
3951 2011-10-19  Glenn Morris  <rgm@gnu.org>
3953         * vc/vc-bzr.el (vc-bzr-after-dir-status):
3954         Ignore ignored files.  (Bug#9726)
3956 2011-10-19  Chong Yidong  <cyd@gnu.org>
3958         Doc fix for minor modes, stating that an omitted argument enables
3959         the mode unconditionally when called from Lisp.
3961         * abbrev.el (abbrev-mode):
3962         * allout.el (allout-mode):
3963         * autoinsert.el (auto-insert-mode):
3964         * autoarg.el (autoarg-mode, autoarg-kp-mode):
3965         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3966         (global-auto-revert-mode):
3967         * battery.el (display-battery-mode):
3968         * composite.el (global-auto-composition-mode)
3969         (auto-composition-mode):
3970         * delsel.el (delete-selection-mode):
3971         * desktop.el (desktop-save-mode):
3972         * dired-x.el (dired-omit-mode):
3973         * dirtrack.el (dirtrack-mode):
3974         * doc-view.el (doc-view-minor-mode):
3975         * double.el (double-mode):
3976         * electric.el (electric-indent-mode, electric-pair-mode):
3977         * emacs-lock.el (emacs-lock-mode):
3978         * epa-hook.el (auto-encryption-mode):
3979         * follow.el (follow-mode):
3980         * font-core.el (font-lock-mode):
3981         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3982         * help.el (temp-buffer-resize-mode):
3983         * hilit-chg.el (highlight-changes-mode)
3984         (highlight-changes-visible-mode):
3985         * hi-lock.el (hi-lock-mode):
3986         * hl-line.el (hl-line-mode, global-hl-line-mode):
3987         * icomplete.el (icomplete-mode):
3988         * ido.el (ido-everywhere):
3989         * image-file.el (auto-image-file-mode):
3990         * image-mode.el (image-minor-mode):
3991         * iswitchb.el (iswitchb-mode):
3992         * jka-cmpr-hook.el (auto-compression-mode):
3993         * linum.el (linum-mode):
3994         * longlines.el (longlines-mode):
3995         * master.el (master-mode):
3996         * mb-depth.el (minibuffer-depth-indicate-mode):
3997         * menu-bar.el (menu-bar-mode):
3998         * minibuf-eldef.el (minibuffer-electric-default-mode):
3999         * mouse-sel.el (mouse-sel-mode):
4000         * msb.el (msb-mode):
4001         * mwheel.el (mouse-wheel-mode):
4002         * outline.el (outline-minor-mode):
4003         * paren.el (show-paren-mode):
4004         * recentf.el (recentf-mode):
4005         * reveal.el (reveal-mode, global-reveal-mode):
4006         * rfn-eshadow.el (file-name-shadow-mode):
4007         * ruler-mode.el (ruler-mode):
4008         * savehist.el (savehist-mode):
4009         * scroll-all.el (scroll-all-mode):
4010         * scroll-bar.el (scroll-bar-mode):
4011         * server.el (server-mode):
4012         * shell.el (shell-dirtrack-mode):
4013         * simple.el (auto-fill-mode, transient-mark-mode)
4014         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4015         (line-number-mode, column-number-mode, size-indication-mode)
4016         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4017         * strokes.el (strokes-mode):
4018         * time.el (display-time-mode):
4019         * t-mouse.el (gpm-mouse-mode):
4020         * tool-bar.el (tool-bar-mode):
4021         * tooltip.el (tooltip-mode):
4022         * type-break.el (type-break-mode-line-message-mode)
4023         (type-break-query-mode):
4024         * view.el (view-mode):
4025         * whitespace.el (whitespace-mode, whitespace-newline-mode)
4026         (global-whitespace-mode, global-whitespace-newline-mode):
4027         * xt-mouse.el (xterm-mouse-mode): Doc fix.
4029         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4030         Fix autogenerated docstring.
4032 2011-10-19  Juri Linkov  <juri@jurta.org>
4034         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4035         by checking environment variables "DESKTOP_SESSION" and
4036         "XDG_CURRENT_DESKTOP".  (Bug#9779)
4038 2011-10-19  Juri Linkov  <juri@jurta.org>
4040         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4041         (browse-url-chromium-program, browse-url-chromium-arguments):
4042         New defcustoms.
4043         (browse-url-default-browser): Check for `browse-url-chromium' and
4044         call `browse-url-chromium-program'.
4045         (browse-url-chromium): New command.  (Bug#9779)
4047 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
4049         * facemenu.el (list-colors-duplicates): On Windows, detect more
4050         duplicates by assuming that only colors matching "^System" are
4051         special "system colors".  (Bug#9722)
4053 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4055         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4056         to distinguish the author from the committer.
4058 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
4060         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4062 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
4064         * international/mule.el (sgml-html-meta-auto-coding-function):
4065         Add support for detecting encoding in HTML5 specified only as
4066         <meta charset="UTF-8">.  Implementation just makes http-equiv and
4067         content-type parts from HTML4 encoding string optional.  (Bug#9716)
4069 2011-10-18  Glenn Morris  <rgm@gnu.org>
4071         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
4073 2011-10-18  Chong Yidong  <cyd@gnu.org>
4075         * faces.el (cursor): Doc fix.
4077 2011-10-17  Chong Yidong  <cyd@gnu.org>
4079         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4081 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
4083         * dirtrack.el (dirtrack): Support shell buffers with path
4084         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
4086 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
4088         * json.el: Bump version to 1.3 and note change in History.
4089         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4091 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4093         * comint.el (comint-insert-input, comint-send-input)
4094         (comint-get-old-input-default, comint-backward-matching-input)
4095         (comint-next-prompt): Use nil instead of `input' for field property of
4096         past user input (bug#114).
4098         * minibuffer.el (completion--replace): Inherit surrounding properties
4099         (bug#114).
4100         (minibuffer-complete-and-exit): Use it.
4102         * comint.el (comint--table-subvert): Quote the all-completions output
4103         (bug#9160).
4105 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
4107         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4109         * menu-bar.el (menu-bar-file-menu): Add entry for making new
4110         window on right of selected.  (Bug#9350) Reword other window
4111         entries and separate them from frame entries.
4113 2011-10-15  Glenn Morris  <rgm@gnu.org>
4115         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4116         Doc fixes.
4118 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
4120         * net/network-stream.el (network-stream-open-starttls):
4121         Improve detection of failure due to lack of TLS support.
4123         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4124         putting the input text in front and in bold.
4126 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4128         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4130         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4131         empty buffer.
4133         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4134         unread-command-events rather than pushing yet-another event.
4136 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
4138         * mail/sendmail.el (sendmail-query-once): Improve the wording of
4139         the explanation of the possible choices.  Make the options passed
4140         to completing-read shorter.
4142 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4144         * textmodes/flyspell.el (flyspell-large-region): Make sure
4145         extended character mode is used if defined (Bug#1339).
4147 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
4149         * simple.el (what-cursor-position): Fix the display of the
4150         character info for LRE, LRO, RLE, and RLO characters by appending
4151         an invisible PDF.
4153 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4155         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4156         even in case of error; add debug spec; simplify data flow.
4157         (with-timeout-handler): Remove.
4159 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
4161         Fix Bug#6019, Bug#9315.
4163         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4164         complete `buffer-file-name', the local file name part could look
4165         remotely (for example on VMS).
4167         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4168         `tramp-run-real-handler'.
4169         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4170         already quoted by '"'.
4172         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4173         Let `file-name-handler-alist' be nil, the local file name part
4174         could look remotely (for example on VMS).
4176 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4178         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4179         from here...
4180         (flyspell-post-command-hook): ...to here.
4182 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4184         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4185         if not needed.
4186         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
4187         using completion.  Protect against "slow" callers.
4188         Remove the "message hack".
4190 2011-10-11  Juri Linkov  <juri@jurta.org>
4192         * isearch.el (isearch-lazy-highlight-word): New variable.
4193         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4194         Use it.  (Bug#9727)
4196 2011-10-11  Glenn Morris  <rgm@gnu.org>
4198         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4199         like f90-previous-statement does.
4201 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4203         * eshell/eshell.el (eshell-command): History should be saved
4204         only in interactive use, to avoid error.
4206 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4208         * minibuffer.el (completion-file-name-table): Fix last change,
4209         i.e. ignore normal errors but not the other ones.
4211 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
4213         * window.el (special-display-buffer-names)
4214         (special-display-regexps): Remove some remnants of earlier
4215         changes from doc-strings.
4216         (quit-windows-on): New function.
4218         * vc/vc.el (vc-revert, vc-rollback):
4219         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4220         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
4221         (Bug#6183) (Bug#7074) (Bug#7447)
4223 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
4225         * window.el (frame-auto-hide-function): Add version tag.
4226         (Bug#9699)
4228 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
4230         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4231         condition.
4233 2011-10-09  Leo Liu  <sdl.web@gmail.com>
4235         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4236         (Bug#9701)
4238 2011-10-08  Glenn Morris  <rgm@gnu.org>
4240         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4241         before the first code statement zero indent.  (Bug#9690)
4243 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
4245         * simple.el (count-words-region): Always count in the region.
4246         Report the number of lines and characters too.
4247         (count-words): New command, which counts in the buffer if the
4248         region is inactive, as count-words-region used to.
4249         (count-words--message): New function.  Handle plurals.
4250         (count-lines-region): Make it an alias for count-words-region.
4252         * bindings.el (esc-map): Replace count-lines-region with
4253         count-words-region.
4255 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
4257         * window.el (window--delete): Delete dedicated frame
4258         unconditionally when argument KILL is non-nil.  (Bug#9699)
4259         (switch-to-buffer): Fix doc-string typo.
4261 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4263         * eshell/eshell.el (eshell-command): Avoid using hooks.
4265 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
4267         * bindings.el ([M-left],[M-right]): Bind to left-word and
4268         right-word respectively.
4270 2011-10-07  Glenn Morris  <rgm@gnu.org>
4272         * cus-start.el (debug-on-quit): Fix custom type.
4274 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4276         * subr.el (define-key-after): Clarify that the function is not
4277         useful for non-menu keymaps.
4279         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4281 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4283         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4284         in current minibuffer (Fix bug with recursive minibuffers).
4286 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
4288         * progmodes/gdb-mi.el (gdb): Doc fix.
4290 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
4292         * window.el (frame-auto-hide-function): New option replacing
4293         frame-auto-delete.  Suggested by Stefan Monnier.
4294         (window--delete): Call frame-auto-hide-function instead of
4295         investigating frame-auto-delete.
4296         (window-point-1, set-window-point-1): New functions.
4297         (window-in-direction, record-window-buffer, window-state-get-1)
4298         (display-buffer-record-window): Use window-point-1 instead of
4299         window-point.
4300         (set-window-buffer-start-and-point): Use set-window-point-1.
4302 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4304         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4306 2011-10-05  Glenn Morris  <rgm@gnu.org>
4308         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4309         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
4311 2011-10-05  Leo Liu  <sdl.web@gmail.com>
4313         * subr.el (read-char-choice): Fix argument to buffer-live-p which
4314         works with buffer object.
4316 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4318         * mpc.el (mpc-tool-bar-map): Add labels.
4320 2011-10-04  Glenn Morris  <rgm@gnu.org>
4322         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4324 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
4326         * window.el (window--delete): New function.
4327         (frame-auto-delete): Resuscitate option.
4328         (bury-buffer, replace-buffer-in-windows)
4329         (quit-window): Rewrite using window--delete.
4330         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4331         Pass display-buffer-mark-dedicated to window--display-buffer-2
4332         (Bug#9639).
4334 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4336         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4337         returns a list (bug#9554).  Add remote file name completion.
4338         * comint.el (comint--table-subvert): Curry and get quote&unquote
4339         functions as arguments.
4340         (comint--complete-file-name-data): Adjust call accordingly.
4341         * pcomplete.el (pcomplete--table-subvert): Remove.
4342         (pcomplete-completions-at-point): Use comint--table-subvert instead.
4344         * minibuffer.el (completion-table-case-fold): Use currying.
4345         (completion--styles-type, completion--cycling-threshold-type):
4346         New constants.
4347         (completion-styles, completion-category-overrides)
4348         (completion-cycle-threshold): Use them.
4349         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4350         completion-table-case-fold.
4352 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
4354         * minibuffer.el (completion-category-overrides): Fix type of styles
4355         and add more user friendly tags (bug#9660).
4357 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4359         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4360         (mule-input-method-string): New widget.
4361         (default-input-method, language-info-custom-alist): Use it.
4363 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4365         * pcomplete.el: Require comint.
4366         (pcomplete--common-suffix): Remove.
4367         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4368         (pcomplete--table-subvert): Sync with comint--table-subvert.
4369         (pcomplete--entries): Use comint-completion-file-name-table.
4370         * comint.el (comint-unquote-filename): Simplify.
4371         (comint-completion-file-name-table): New function (bug#9616).
4372         (comint--complete-file-name-data): Use it.
4374         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4375         (pcmpl-gnu-tar-buffer): Remove.
4376         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4377         around.  Make sure pcomplete-suffix-list is only changed temporarily.
4378         Don't look inside the tar's file if it's too large.
4380 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
4382         * cus-edit.el (custom-mode-map):
4383         * epa.el (epa-key-list-mode-map):
4384         * man.el (Man-mode-map):
4385         * startup.el (splash-screen-keymap):
4386         * simple.el (special-mode-map): Use scroll-up-command and
4387         scroll-down-command.
4389         * progmodes/idlw-help.el (idlwave-help-mode-map):
4390         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4391         * net/newst-plainview.el (newsticker-mode-map):
4392         * emulation/ws-mode.el (wordstar-mode-map):
4393         * emulation/vi.el (vi-com-map):
4394         * calc/calc-graph.el (calc-graph-show-dumb):
4395         * term/sun.el (terminal-init-sun):
4396         * term/ns-win.el (global-map):
4397         * progmodes/grep.el (grep-mode-map):
4398         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4399         * mail/rmail.el (rmail-mode-map):
4400         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4402         * custom.el (custom-safe-themes, load-theme): Treat value of t for
4403         custom-safe-themes as special.
4405 2011-10-01  Julien Danjou  <julien@danjou.info>
4407         * notifications.el (notifications-notify): Fix docstring.
4409 2011-10-01  Per Starbäck  <per@starback.se>
4411         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
4413 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
4415         * startup.el (command-line-1): Fix last fix by inserting
4416         initial-scratch-message into *scratch* before displaying it.
4417         (Bug#9605) and (Bug#9636)
4419 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
4421         * simple.el (line-move): If auto-hscroll-mode is disabled and the
4422         window is hscrolled, move by logical lines.  (Bug#9607)
4423         (line-move-visual): Update the doc string to the above effect.
4425 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
4427         * window.el (display-buffer-record-window): When WINDOW is the
4428         selected window use `point' instead of `window-point'.  (Bug#9626)
4430         * startup.el (command-line-1): Use insert-before-markers when
4431         inserting initial-scratch-message.  (Bug#9605)
4433         * help.el (help-window): Remove variable.
4435 2011-09-29  Glenn Morris  <rgm@gnu.org>
4437         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4439 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
4441         * descr-text.el (describe-char-categories): Accept category
4442         descriptions more than one line long.
4444 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4446         * simple.el (delete-trailing-whitespace): Fix last change.
4448         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4449         Don't confuse "y => 3" as the beginning of a `y' operation.
4451         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4452         object has more than 4 slots (bug#9613).
4454 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
4456         * subr.el (with-output-to-temp-buffer):
4457         * net/quickurl.el (quickurl, quickurl-browse-url):
4458         Fix typos in docstrings.
4460 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
4462         * minibuffer.el (completion-styles)
4463         (completion-category-overrides): Cross reference each other in doc
4464         strings.
4466 2011-09-27  Glenn Morris  <rgm@gnu.org>
4468         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4469         to split-string.  (Bug#9606)
4471 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4473         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4474         (bug#9615).
4476 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
4478         * emacs-lisp/package.el (list-packages): Fix echo area message.
4480 2011-09-27  Leo Liu  <sdl.web@gmail.com>
4482         * ido.el (ido-read-internal): Accept cons cell HIST arg.
4484 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
4486         * net/dbus.el (dbus-unregister-object): Don't release services for
4487         registered signals.  (Bug#9581)
4489 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
4491         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4492         function that picks between cfengine 2 and 3 support
4493         automatically.  Update docs accordingly.
4495 2011-09-22  Kenichi Handa  <handa@m17n.org>
4497         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4498         ZERO.
4499         (indian-itrans-v5-table-for-tamil): New variable.
4500         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4502 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
4504         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4505         that's true if the current command involved collapsing of text.
4506         It's reset to false at the beginning of the next command.
4507         (allout-post-command-business): Move the cursor to the beginning
4508         of entry if the cursor is hidden and collapsing activity just
4509         happened.
4511 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
4513         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4514         tracking (Bug#9541).
4516 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
4518         * net/newst-reader.el (newsticker-html-renderer)
4519         (newsticker-show-news): Automatically load html rendering package
4520         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
4521         because w3m-fill-column is let-bound" and the error "Symbol's value
4522         as variable is void: w3m-fill-column".
4524 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
4526         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4527         Release services only if they are defined.  (Bug#9581)
4529 2011-09-23  Richard Stallman  <rms@gnu.org>
4531         * textmodes/paragraphs.el (forward-sentence): For backwards case,
4532         distinguish start of paragraph from start of its text.
4534         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4536         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4537         (rmail-generate-viewer-buffer): Put that hook on view buffer.
4538         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4540 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
4542         * international/mule-diag.el (mule-diag): Insert a newline after
4543         each fontset description.
4545 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4547         * simple.el (delete-trailing-whitespace):
4548         Document last change; simplify.
4550 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4552         * simple.el (delete-trailing-whitespace): Also delete
4553         extra newlines at the end of the buffer.
4555         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4556         (picture-newline): Use forward-line so as to ignore fields.
4558 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4560         * subr.el (with-wrapper-hook): Fix edebug spec.
4562 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4564         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4565         (bug#4538).
4567 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4569         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4570         Fix nasty bug using wrong cached values.
4572 2011-09-23  Alan Mackenzie  <acm@muc.de>
4574         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4576 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4578         * window.el (pop-to-buffer): Ensure right window is selected if we
4579         chose another frame.
4581 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4583         * simple.el (what-cursor-position): Use get-char-property-change
4584         and next-single-char-property-change, to be able to show display
4585         properties that come from overlays as well as text properties.
4587 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4589         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4591         * cmuscheme.el (run-scheme, switch-to-scheme):
4592         * cus-edit.el (customize-group, custom-buffer-create)
4593         (customize-browse):
4594         * info.el (info):
4595         * shell.el (shell):
4596         * mail/sendmail.el (mail):
4597         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4599 2011-09-22  Richard Stallman  <rms@gnu.org>
4601         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4602         move back only to line beg, don't move back over blank lines.
4604 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4606         * files.el (copy-directory): Set directory attributes only in case
4607         they could be retrieved from the source directory.  (Bug#9565)
4609 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4611         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4612         (hs-find-block-beginning, hs-hide-level-recursive):
4613         Ignore strings as well as comments.  (Bug#9502)
4615 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4617         * progmodes/sql.el (sql-comint-postgres):
4618         Convert port number to a string.  (Bug#9566)
4620 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4622         * window.el (quit-window): Undedicate window when switching to
4623         previous buffer.  Reported by Thierry Volpiatto
4624         <thierry.volpiatto@gmail.com>.
4625         (special-display-popup-frame): When popping up a new frame reset
4626         its previous buffers to nil.  Simplify code.
4628 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4630         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4631         and process filter, as done also in `shell-command'.
4633 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4635         * window.el (set-window-buffer-start-and-point):
4636         Call set-window-start with NOFORCE argument t.
4637         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4638         (quit-window): Reword doc-string.  Handle new format of
4639         quit-restore parameter.  Don't delete window if it has a
4640         previous buffer we can show instead of the present one.
4641         (display-buffer-record-window): Rewrite using a new format for
4642         the quit-restore window parameter
4643         (special-display-popup-frame, display-buffer-same-window)
4644         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4645         (display-buffer-pop-up-window, display-buffer-use-some-window):
4646         Adapt symbol passed to display-buffer-record-window.
4647         * help.el (help-window-setup): Handle new format of quit-restore
4648         parameter.
4650 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4652         * faces.el (face-list): Fix docstring (bug#9564).
4654         * window.el (display-buffer--action-function-custom-type):
4655         Don't include internal functions in the Custom interface.
4657 2011-09-20  Juri Linkov  <juri@jurta.org>
4659         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4660         (Info-forward-node, Info-backward-node, Info-next-preorder)
4661         (Info-last-preorder): Use it.  (Bug#9528)
4663 2011-09-20  Juri Linkov  <juri@jurta.org>
4665         * info.el (Info-last-preorder): Visit last menu item only when
4666         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4668 2011-09-20  Julien Danjou  <julien@danjou.info>
4670         * password-cache.el (password-cache-remove): Remove entries even if the
4671         value is nil, so that password with a nil value (negative caching) is
4672         possible to invalidate.
4674 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4676         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4677         all whitespace around breakpoint.  (Bug#9553)
4678         (f90-find-breakpoint): Only break at whitespace inside a comment.
4680 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4682         * minibuffer.el (completion-file-name-table): Keep track of errors.
4683         (completion-table-with-predicate): Handle the case where pred1 is nil.
4684         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4686 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4688         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4689         (debugger-return-value): Signal an error if the debugging context does
4690         not await any return value.
4692         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4693         * image-mode.el (image-toggle-display-text)
4694         (image-toggle-display-image): Stay away from evil `intangible'.
4696 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4698         * replace.el (occur-revert-arguments): Make it permanent-local.
4699         (occur-mode): Don't call font-lock-defontify.
4701 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4703         * net/ldap.el (ldap-search-internal): Don't push empty search
4704         result (Bug#9508).
4706 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4708         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4710 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4712         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4713         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4715 2011-09-18  Juri Linkov  <juri@jurta.org>
4717         * buff-menu.el (Buffer-menu-mode-map):
4718         * dired.el (dired-mode-map):
4719         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4720         (lisp-interaction-mode-map):
4721         * emacs-lisp/package.el (package-menu-mode-map):
4722         * epa.el (epa-key-list-mode-map):
4723         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4724         (menu-bar-options-menu):
4725         * outline.el (outline-mode-menu-bar-map):
4726         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4727         * vc/vc-dir.el (vc-dir-menu-map):
4728         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4729         Capitalize non-function content words in menu item strings.
4731         * dired.el (dired-mode-map): Add menu item for
4732         `image-dired-dired-toggle-marked-thumbs'.
4734 2011-09-18  Juri Linkov  <juri@jurta.org>
4736         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4737         to `isearch-case-fold-search' and restore its original value
4738         after the `isearch-mode' call.
4740 2011-09-18  Juri Linkov  <juri@jurta.org>
4742         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4743         because `zgrep' returns 1 for successful matches (bug#9226).
4745 2011-09-18  Juri Linkov  <juri@jurta.org>
4747         * info.el (Info-extract-menu-node-name): Check the second match
4748         for empty string (second test-case of bug#9528).
4749         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4750         intermediate nodes to the history (first test-case of bug#9528).
4752 2011-09-18  Juri Linkov  <juri@jurta.org>
4754         * info.el (Info-mode-syntax-table): New variable.
4755         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4757 2011-09-18  Juri Linkov  <juri@jurta.org>
4759         * info.el (Info-file-supports-index-cookies):
4760         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4761         outputs one more line for long file names (bug#4142).
4763 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4765         * newcomment.el (comment-normalize-vars): If prompting for
4766         comment-start, set comment-start-skip too (Bug#8424).
4768 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
4770         * icomplete.el: Fix previous fix of Bug#5849.
4771         (icomplete-mode): Don't set completion-show-inline-help.
4772         (icomplete-minibuffer-setup): Set completion-show-inline-help
4773         locally during icompletion.
4775 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4777         * woman.el (woman2-process-escapes): Don't delete unrecognized
4778         escapes (Bug#7843).
4780         * files.el (inhibit-first-line-modes-regexps): Add image files.
4781         (hack-local-variables-prop-line): Return nil for malformed
4782         prop-lines (Bug#9044).
4784 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4786         * net/tramp.el (top): Don't require 'shell.
4787         (tramp-methods): Fix docstring.
4788         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4789         Return complete remote file name.  Handle "smb" case.
4790         Use `tramp-tmpdir', if defined for the respective method.
4791         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4793         * net/tramp-compat.el (top): Require 'shell.
4795         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4796         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4797         `tramp-current-host'.
4798         (tramp-get-remote-tmpdir): Remove.
4800         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4801         `tramp-tmpdir' entries.
4802         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4803         (tramp-smb-handle-file-attributes): Ignore errors.
4804         (tramp-smb-wait-for-output): Check also for process end.
4806 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4808         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4809         when sending QUIT (bug#9312).
4811 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
4813         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4814         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4815         occur-mode-display-occurrence.
4816         (occur-edit-mode): Add usage message.
4817         (occur-cease-edit): New command.
4818         (occur-after-change-function): Use text properties to find the
4819         position of the prefix text.
4820         (occur-engine): Set stickiness of prefix text properties.
4822 2011-09-17  Glenn Morris  <rgm@gnu.org>
4824         * progmodes/etags.el (complete-tag):
4825         Fix call to completion-in-region.  (Bug#9526)
4827 2011-09-17  Juri Linkov  <juri@jurta.org>
4829         * textmodes/ispell.el (ispell-word): Add to the error message
4830         the word, ispell program name and current dictionary (bug#9121).
4831         (ispell-tex-arg-end): Capitalize "error" in the error message.
4833 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
4835         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4836         check.  (Bug#4251)
4838 2011-09-17  Juri Linkov  <juri@jurta.org>
4840         * window.el (window-safe-min-height, window-safe-min-width):
4841         Fix typos (followup to bug#9522).
4843 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
4845         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4847 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
4849         * simple.el (line-move): If goal-column is set, move by logical
4850         lines, not by display lines.  (Bug#971)
4851         (next-line, previous-line, goal-column, line-move-visual): Doc fix
4852         to reflect the above change.
4854 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4856         * image.el (imagemagick-register-types): Use regexp-opt.
4858 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4860         * window.el (display-buffer-base-action): Rename from
4861         display-buffer-default-action.  Make default value empty.
4862         (display-buffer-overriding-action): Convert to defvar.
4863         (display-buffer-fallback-action): New var.
4865 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4867         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4868         declaration.
4869         (package--add-to-archive-contents): If there is a duplicate entry
4870         with an older version, remove it.
4871         (package-menu-mark-delete, package-menu-mark-install)
4872         (package-menu-mark-unmark): Make unused args optional.
4873         (package-menu-mark-obsolete-for-deletion):
4874         Use package-menu-get-status instead of a regexp search.
4875         (package-menu-get-status): Use tabulated-list-entry.
4876         (package-menu-mark-upgrades): New command.
4877         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
4878         (package-menu-execute): Do installation before deletion.
4879         (package-menu-refresh, package-menu-execute): Use derived-mode-p
4880         instead of checking major-mode.
4881         (package-menu--find-upgrades): New function.
4883 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4885         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4886         passwords in the log buffer.
4887         (smtpmail-process-filter): Update the process marker so that the
4888         "broken by peer" status message is inserted in the right place.
4890 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4892         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4893         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4894         bibtex-completion-at-point-function.
4895         (bibtex-completion-at-point-function): Use them.
4897         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4899         * mpc.el (mpc-constraints-tag-lookup): New function.
4900         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4901         also to browser "album|playlist".
4903 2011-09-14  Juri Linkov  <juri@jurta.org>
4905         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
4906         (isearch-edit-string): Use length of `isearch-string' when
4907         `isearch-fail-pos' returns nil.
4908         (isearch-message): Remove duplicate code and call
4909         `isearch-fail-pos' with arg `t'.
4911 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
4913         * replace.el (occur-mode-goto-occurrence): Don't force using other
4914         window (Bug#9499).
4916         * dired-aux.el (dired-do-chmod): Don't provide initial input.
4918 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
4920         * window.el (display-buffer-window): Remove.
4921         (display-buffer-record-window): Use help-setup window parameter
4922         instead of variable display-buffer-window.
4923         (display-buffer-function, special-display-buffer-names)
4924         (special-display-function): Mention help-setup parameter instead
4925         of display-buffer-window in doc-string.
4926         * help.el (help-window-setup): New argument help-window.
4927         Use help-window-setup parameter instead of display-buffer-window.
4928         Reword some messages.
4929         (with-help-window): Pass window used for displaying the buffer
4930         to help-window-setup.  Don't set display-buffer-window.
4932 2011-09-13  Glenn Morris  <rgm@gnu.org>
4934         * emacs-lisp/debug.el (debugger-make-xrefs):
4935         Preserve point.  (Bug#9462)
4937 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4939         * window.el (window-deletable-p): Use next-frame.
4941 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
4943         * window.el (window-auto-delete): Remove.
4944         (window-deletable-p): Remove argument FORCE.  Don't deal with
4945         dedication and previous buffers.
4946         (switch-to-prev-buffer): Don't delete window.
4947         (delete-windows-on): Delete a window's frame if and only if the
4948         window is dedicated.
4949         (replace-buffer-in-windows): Delete buffer's window or frame if
4950         and only if window is dedicated.
4951         (quit-window): Handle quit-restore as before last change.
4952         (bury-buffer): Delete window only if window-deletable-p returns t.
4954 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
4956         * window.el (window-deletable-p): Never delete the last frame on a
4957         given terminal.
4959 2011-09-13  Glenn Morris  <rgm@gnu.org>
4961         * help.el (describe-key-briefly): Copy previous standard-output change.
4963 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
4965         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
4967 2011-09-13  Glenn Morris  <rgm@gnu.org>
4969         * emacs-lisp/lisp-mode.el (lisp-indent-function):
4970         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4972 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
4974         * dired-aux.el (dired-mark-read-string): Don't return default
4975         value on empty input (Bug#9361).
4976         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4977         Omit initial minibuffer contents.
4978         (dired-do-chmod): Signal an error on empty input.
4979         (dired-mark-read-string): Don't return default on empty input.
4981         * files.el (file-modes-symbolic-to-number): Doc fix.
4983 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4985         * international/mule-cmds.el (ucs-completions): Remove.
4986         (read-char-by-name): Use complete-with-action instead; add metadata.
4988 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
4990         * window.el (display-buffer--action-function-custom-type)
4991         (display-buffer--action-custom-type): New vars.
4992         (display-buffer-alist, display-buffer-default-action)
4993         (display-buffer-overriding-action): Add defcustom types.
4995         * frame.el (delete-other-frames): Doc fix (Bug#276).
4997 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4999         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5001 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5003         Change modes that used same-window-* vars to use switch-to-buffer.
5005         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5006         Use switch-to-buffer.
5008         * cus-edit.el (customize-group, custom-buffer-create)
5009         (customize-browse, custom-buffer-create-other-window):
5010         Use switch-to-buffer or switch-to-buffer-other-window.
5012         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5013         (Info-prev, Info-up, Info-speedbar-goto-node)
5014         (info-display-manual): Use switch-to-buffer.
5015         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5017         * mail/sendmail.el (mail): Use switch-to-buffer.
5018         (mail-recover): Use switch-to-buffer-other-window.
5020         * cmuscheme.el (run-scheme, switch-to-scheme):
5021         * ielm.el (ielm):
5022         * shell.el (shell):
5023         * net/rlogin.el (rlogin):
5024         * net/telnet.el (telnet, rsh):
5025         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5027 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5029         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5031 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5033         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5034         so don't mention it (bug#9301).
5035         (dired-sort-toggle-or-edit): Clarify string further.
5037         * faces.el (face-spec-set-match-display): Make `(type graphic)'
5038         match `x', `w32' and `ns', like the manual says (bug#9029).
5040         * subr.el (eval-after-load): Doc string clarification (bug#9125).
5041         (process-kill-buffer-query-function): Mention the buffer name in
5042         the query.
5044         * image-mode.el (image-next-line): The line parameter is mandatory
5045         (bug#9258).
5047         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5048         which can be useful (bug#9301).
5050         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5052         * subr.el (match-string): Mention that the current buffer should
5053         be the same as the search was done in (bug#9282).
5055         * facemenu.el: Disable the remove-* commands if the mark isn't
5056         active (bug#9162).
5058 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5060         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5061         of display-buffer.
5062         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5064         * replace.el (occur-mode-goto-occurrence)
5065         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5066         and display-buffer.
5068         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5069         display-buffer.
5071         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5072         special-display and same-window variables.
5073         (mail-other-window): Use switch-to-buffer-other-window.
5074         (mail-other-frame): USe switch-to-buffer-other-frame.
5076         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5077         Use display-buffer-other-frame.
5078         (gdb-display-gdb-buffer): Use pop-to-buffer.
5080         * progmodes/gud.el (gud-goto-info): Use info-other-window.
5082         * progmodes/python.el: Don't set same-window-buffer-names.
5084         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5086         * window.el (display-buffer-alist): Add *Python*.
5088 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5090         * window.el (display-buffer-alist): Add entry for buffers
5091         previously handled same-window-*.
5092         (display-buffer-alist, display-buffer-default-action)
5093         (display-buffer-overriding-action): Mark as risky.
5094         (display-buffer-alist): Document action function changes.
5095         (display-buffer--same-window-action)
5096         (display-buffer--other-frame-action): New variables.
5097         (switch-to-buffer, display-buffer-other-frame): Use them.
5098         (display-buffer): Rename reuse-frame entry to reusable-frames.
5099         (display-buffer-reuse-selected-window): Function deleted.
5100         (display-buffer-reuse-window): Handle reusable-frames alist entry.
5101         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5102         (display-buffer-special): New function.
5103         (display-buffer--maybe-pop-up-frame-or-window): Rename from
5104         display-buffer-reuse-or-pop-window.  Split off special-display
5105         part into display-buffer-special.
5106         (display-buffer-use-some-window): Don't perform any special
5107         pop-up-frames handling.
5108         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5109         (display-buffer--maybe-same-window): Rename from
5110         display-buffer-maybe-same-window.
5112         * info.el: Don't set same-window-regexps.
5113         (info-setup): New function.
5114         (info-other-window, info): Call it.
5116         * cus-edit.el: Don't set same-window-regexps.
5117         (customize-group): New argument.
5118         (customize-group-other-window): Use it.
5119         (customize-face, customize-face-other-window): Likewise.
5120         (custom-buffer-create-other-window): Use pop-to-buffer directly.
5122         * net/rlogin.el:
5123         * net/telnet.el:
5124         * progmodes/gud.el: Don't set same-window-regexps.
5126         * cmuscheme.el:
5127         * ielm.el:
5128         * shell.el:
5129         * mail/sendmail.el:
5130         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5132 2011-09-10  Juri Linkov  <juri@jurta.org>
5134         * isearch.el (isearch-edit-string): Remove obsolete mention of
5135         `C-w' (`isearch-yank-word-or-char') from docstring.
5136         (isearch-query-replace): Fix typo in docstring (bug#9466).
5138 2011-09-10  Juri Linkov  <juri@jurta.org>
5140         * paren.el (show-paren-function): Don't show escaped parens.
5141         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
5143 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
5145         * mail/sendmail.el (mml-to-mime, mml-attach-file)
5146         (mm-default-file-encoding): Remove autoload forms, they are
5147         replaced with autoload cookies in mml.el and mm-encode.el.
5148         (mail-add-attachment): New command.
5149         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5150         (mail-mode): Mention mail-insert-file and mail-add-attachment in
5151         the doc string.
5152         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5154 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
5156         * simple.el (count-words-region): Use buffer if there's no region
5157         (bug#9429).
5159 2011-09-09  Juri Linkov  <juri@jurta.org>
5161         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5162         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5163         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
5165 2011-09-09  Alan Mackenzie  <acm@muc.de>
5167         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5168         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
5170 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
5172         Fix for Savannah bug#9392.
5173         * simple.el (mail-encode-mml): New defvar.
5175         * mail/rmail.el (mail-encode-mml): Add a defvar.
5176         (rmail-enable-mime-composing): Default to t.
5177         (rmail-forward): Use MIME method of forwarding only if both
5178         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5179         Set mail-encode-mml non-nil if the MIME method was used.
5181         * mail/sendmail.el (mml-to-mime): Add autoload form.
5182         (mail-encode-mml): Add a defvar.
5183         (mail-mode): Make mail-encode-mml buffer-local and initialize it
5184         to nil.
5185         (mail-send): If mail-encode-mml is non-nil, run the outgoing
5186         message through mml-to-mime, and reset mail-encode-mml to nil.
5188 2011-09-09  Glenn Morris  <rgm@gnu.org>
5190         * woman.el (woman-if-body): When processing an .el block,
5191         do not delete the next .el block as well.  (Bug#9447)
5192         (woman-special-characters): Add oq, cq, and hy characters.
5194 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
5196         * window.el (window-deletable-p): Make sure window is live before
5197         invoking window-prev-buffers.
5199 2011-09-08  Leo Liu  <sdl.web@gmail.com>
5201         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
5203 2011-09-08  Juri Linkov  <juri@jurta.org>
5205         * progmodes/compile.el (compilation-environment): Make it
5206         a defcustom (bug#8340).
5208 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
5210         * window.el (frame-auto-delete): Rename to window-auto-delete.
5211         Make it control auto-deletion of windows and/or frames.
5212         (window-deletable-p): New argument FORCE.  Rewrite conditions
5213         for deleting window/frame.  (Bug#9419)
5214         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5215         Rewrite handling of case when window/frame can be deleted.
5216         (delete-windows-on): Call window-deletable-p with new FORCE
5217         argument t.  (Bug#9456)
5219 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
5221         * help-mode.el (help-mode): Restore autoload.
5223 2011-09-07  Juri Linkov  <juri@jurta.org>
5225         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5226         `compilation-environment'.  Set buffer-local
5227         `compilation-environment' to `thisenv' later after (funcall mode).
5228         (Bug#8340)
5230         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
5231         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5232         instead of replacing its value.  (Bug#8340)
5234 2011-09-07  Juri Linkov  <juri@jurta.org>
5236         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5237         based on text properties put by `grep-filter' instead of matching
5238         escape sequences.
5239         (grep-mode): Set buffer-local `compilation-error-screen-columns'
5240         to the value of `grep-error-screen-columns' (bug#9438).
5242 2011-09-07  Juri Linkov  <juri@jurta.org>
5244         * simple.el (next-error-highlight, next-error-highlight-no-select):
5245         Doc fix (bug#9432).
5247 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
5249         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5250         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
5252 2011-09-07  Leo Liu  <sdl.web@gmail.com>
5254         * net/rcirc.el (rcirc-mode): Conditionally initialize
5255         rcirc-input-ring.
5257 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5259         * emacs-lisp/find-func.el (find-function-C-source): Only set
5260         find-function-C-source-directory after checking that we found a source
5261         file there (bug#9440).
5263 2011-09-06  Alan Mackenzie  <acm@muc.de>
5265         * isearch.el (isearch-other-meta-char): Wherever a key list is
5266         unread, "unread" the prefix arg, too.  This fixes bug #8901.
5268 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5270         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5272 2011-09-05  Juri Linkov  <juri@jurta.org>
5274         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5276 2011-09-05  Juri Linkov  <juri@jurta.org>
5278         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5279         keeping point where processing of grep matches begins, and
5280         continue to delete remaining escape sequences from the same point.
5281         (grep-filter): Make leading zero optional in "0?1;31m" because
5282         git-grep emits "\033[1;31m" escape sequences unlike expected
5283         "\033[01;31m" as GNU Grep does (bug#9408).
5284         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5286 2011-09-05  Juri Linkov  <juri@jurta.org>
5288         * subr.el (y-or-n-p): Capitalize "yes".
5290 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
5292         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
5293         `tramp-cache-unload-hook' where appropriate.
5294         (tramp-methods): Rename `tramp-remote-sh' to
5295         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
5296         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5298         * net/tramp-sh.el (top): Don't require 'shell.
5299         (tramp-methods): Add `tramp-remote-shell' and
5300         `tramp-remote-shell-args' entries.
5301         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5302         (tramp-sh-handle-shell-command): Remove.
5303         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5304         Use `tramp-remote-shell'.
5306 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
5308         * mail/sendmail.el (sendmail-query-once-function): Delete.
5309         (sendmail-query-once): Save directly to send-mail-function.
5310         Update message-send-mail-function too.
5312         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5314 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5316         * progmodes/python.el (python-mode-map): Use correct function to
5317         start python interpreter from menu-bar (as reported by Geert
5318         Kloosterman).
5319         (inferior-python-mode-map): Fix typo.
5320         (python-shell-map): Remove.
5322 2011-09-03  Deniz Dogan  <deniz@dogan.se>
5324         * net/rcirc.el (rcirc-print): Simplify code for
5325         rcirc-scroll-show-maximum-output.  There is no need to walk
5326         through all windows to find the right one.
5328 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5330         * help.el (help-return-method): Doc fix.
5332 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
5334         * window.el (window-deletable-p): Don't return a non-nil value
5335         when there's a buffer that was shown in the window before.
5336         (Bug#9419)
5337         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5338         Set window's previous buffers to nil.
5340 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
5342         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5343         newline before and after the tag line, so it doesn't interfere
5344         with determining the paragraph direction of bidirectional text.
5346 2011-09-03  Leo Liu  <sdl.web@gmail.com>
5348         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
5350 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5352         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5353         (pop-to-buffer): Change interactive spec.  Pass second argument
5354         directly to display-buffer.
5355         (display-buffer): Fix interactive spec.  Use functionp to
5356         distinguish between a function and a list of functions.
5358         * abbrev.el (edit-abbrevs):
5359         * arc-mode.el (archive-extract):
5360         * autoinsert.el (auto-insert):
5361         * bookmark.el (bookmark-bmenu-list):
5362         * files.el (find-file):
5363         * view.el (view-buffer):
5364         * progmodes/compile.el (compilation-goto-locus):
5365         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5367 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5369         * window.el (display-buffer-alist): Doc fix.
5370         (display-buffer): Add docstring.  Don't treat
5371         display-buffer-default specially.
5372         (display-buffer-reuse-selected-window)
5373         (display-buffer-same-window, display-buffer-maybe-same-window)
5374         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5375         (display-buffer-pop-up-window)
5376         (display-buffer-reuse-or-pop-window)
5377         (display-buffer-use-some-window): New functions.
5378         (display-buffer-default-action): Use them.
5379         (display-buffer-default): Delete.
5380         (pop-to-buffer-1): Fix choice of actions.
5382 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5384         * minibuffer.el (completion--insert-strings): Don't get confused by
5385         completion entries that end with an LF char.
5387 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
5389         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5391 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
5393         * window.el (display-buffer): Restore interactive spec.
5394         (display-buffer-same-window, display-buffer-other-window):
5395         New functions.
5396         (pop-to-buffer-1): New function.  Use the above.
5397         (pop-to-buffer, pop-to-buffer-same-window): Use it.
5398         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5400         * view.el (view-buffer-other-window, view-buffer-other-frame):
5401         Just use pop-to-buffer.
5403 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5405         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
5407 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
5409         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
5411 2011-08-31  Richard Stallman  <rms@gnu.org>
5413         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5414         of the separation of rmail-view-buffer from rmail-buffer.
5415         If you say no to "replace original", the decrypt is in the
5416         view buffer.  If you say yes, the decrypt goes into the
5417         rmail buffer also.
5419 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
5421         * window.el (display-buffer-window): Rewrite doc-string.
5422         (display-buffer-record-window): New function.
5423         (display-buffer-macro-specifiers)
5424         (display-buffer-even-window-sizes, display-buffer-set-height)
5425         (display-buffer-set-width, display-buffer-in-window)
5426         (display-buffer-reuse-window, display-buffer-split-specifiers)
5427         (display-buffer-side-specifiers, display-buffer-split-window-1)
5428         (display-buffer-split-window, display-buffer-split-atom-window)
5429         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5430         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5431         (display-buffer-other-window-means-other-frame)
5432         (display-buffer-normalize-special)
5433         (display-buffer-normalize-default)
5434         (display-buffer-normalize-argument)
5435         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5436         (display-buffer-normalize-specifiers, display-buffer-frame)
5437         (display-buffer-same-window, display-buffer-same-frame)
5438         (display-buffer-other-window)
5439         (display-buffer-same-frame-other-window)
5440         (display-buffer-other-frame, pop-to-buffer-same-window)
5441         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5442         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5443         (switch-to-buffer-same-frame)
5444         (switch-to-buffer-other-window-same-frame)
5445         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5446         (display-buffer-alist-set-1, display-buffer-alist-set-2)
5447         (display-buffer-alist-set): Remove.
5448         (display-buffer-function, special-display-buffer-names)
5449         (special-display-regexps, special-display-function):
5450         In doc-string refer to display-buffer-window and quit-restore
5451         parameter.
5452         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5453         (special-display-frame-alist, special-display-popup-frame)
5454         (same-window-buffer-names, same-window-regexps, same-window-p)
5455         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5456         (split-window-preferred-function, split-height-threshold)
5457         (split-width-threshold, window-splittable-p)
5458         (split-window-sensibly, window--try-to-split-window)
5459         (window--frame-usable-p, even-window-heights)
5460         (window--even-window-heights, window--display-buffer-1)
5461         (window--display-buffer-2, display-buffer-other-frame):
5462         Restore old Emacs 23 code, order and doc-strings where applicable.
5463         (display-buffer-default, display-buffer-assq-regexp): New functions.
5464         (display-buffer-alist): Rewrite doc-string.
5465         (display-buffer-default-action)
5466         (display-buffer-overriding-action): New variables.
5467         (display-buffer, switch-to-buffer): Rewrite.
5468         (pop-to-buffer): Restore Emacs 23 behavior but use
5469         window-normalize-buffer-to-display.
5470         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5471         Restore Emacs 23 behavior but use
5472         window-normalize-buffer-to-switch-to.
5473         (pop-to-buffer-same-window): Rewrite.
5474         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5475         Rewrite using Emacs 23 options.
5477 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
5479         * net/tramp.el (tramp-root-regexp): Remove.
5480         (tramp-completion-file-name-regexp-unified)
5481         (tramp-completion-file-name-regexp-separate)
5482         (tramp-completion-file-name-regexp-url): Don't use leading volume
5483         letter on win32 systems.  (Bug#5303, Bug#9311)
5484         (tramp-drop-volume-letter): Simplify definition.
5485         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5487 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5489         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5490         (bug#9356).
5492 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
5494         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5496 2011-08-29  Juri Linkov  <juri@jurta.org>
5498         * isearch.el (isearch-done): Don't display message "Mark saved"
5499         when arg `edit' is non-nil to prevent its flicker in the echo area.
5501 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5503         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5504         obsolete packages for deletion.
5506 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
5508         * help-mode.el (help-mode-map): Add special-mode-map to parent.
5509         (help-mode): Derive help-mode from special-mode.  Don't invoke
5510         view-mode from help-mode.
5511         (help-xref-override-view-map): Remove.
5512         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5513         view-mode is not used anymore.
5515 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5517         * server.el (server-port): Doc fix.
5519         * cus-theme.el (custom-theme-choose-mode): Inherit from
5520         special-mode (Bug#9124).
5521         (custom-theme-choose-mode-map): Add special-mode to parent.
5523 2011-08-28  Alan Mackenzie  <acm@muc.de>
5525         * progmodes/cc-fonts.el
5526         (c-make-font-lock-BO-decl-search-function): New function.
5527         (c-basic-matchers-after - "Fontify the clauses after various
5528         keywords"): Extract the three keyword lists for the 3 erroneous
5529         constructs from the list of four, and use the new function above
5530         in place of an old one.
5532 2011-08-28  Deniz Dogan  <deniz@dogan.se>
5534         * net/rcirc.el (rcirc-insert-prev-input)
5535         (rcirc-insert-next-input): Remove unused argument.
5537 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5539         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5541 2011-08-27  Alan Mackenzie  <acm@muc.de>
5543         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5544         handle function pointer parameters properly.
5546 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
5548         * window.el (display-buffer-reuse-window): Fix case where
5549         selected window was reused with non-nil OTHER-WINDOW argument.
5550         (Bug#9381)
5552 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5554         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5555         oftc's NickServ messages.
5557 2011-08-27  Glenn Morris  <rgm@gnu.org>
5559         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5561 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5563         * emacs-lisp/package.el (package-install): Call package-initialize
5564         if called interactively.
5566 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5568         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5570 2011-08-25  Juri Linkov  <juri@jurta.org>
5572         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5573         `search-whitespace-regexp' (bug#9364).
5575 2011-08-25  Juri Linkov  <juri@jurta.org>
5577         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5578         `regexp-search-ring' to their global values to protect from
5579         updating by `read-from-minibuffer' (bug#9185).
5581 2011-08-25  Juri Linkov  <juri@jurta.org>
5583         * textmodes/ispell.el (ispell-command-loop): Add newline
5584         at the end of the "Use option `i'..." line.
5586 2011-08-25  Juri Linkov  <juri@jurta.org>
5588         * battery.el (display-battery-mode): If `battery-status-function'
5589         or `battery-mode-line-format' is nil, display the message and set
5590         `display-battery-mode' to nil (bug#9363).
5592 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5594         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5595         bidi-string-mark-left-to-right; they are unnecessary now.
5597 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5599         * net/quickurl.el: Documentation typo fixes.
5601 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5603         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5605 2011-08-25  Glenn Morris  <rgm@gnu.org>
5607         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5609         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5610         (smtpmail-via-smtp): Handle nil response from smtp.
5612 2011-08-24  Juri Linkov  <juri@jurta.org>
5614         * proced.el (proced-marked): Inherit from `error' instead of
5615         `font-lock-warning-face'.
5617         * ibuffer.el (ibuffer-marked-face): Change default face from
5618         `font-lock-warning-face' to `warning'.
5619         (ibuffer-deletion-face): Change default face from
5620         `font-lock-type-face' to `error'.
5622         * battery.el (battery-update): Use the face `error' instead of
5623         `font-lock-warning-face' (bug#6117).
5625 2011-08-24  Juri Linkov  <juri@jurta.org>
5627         * faces.el (success): Change face color from "Green3" to
5628         "ForestGreen" on light background (bug#9353).
5630 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5632         * window.el (quit-window): Rename from quit-restore-window.
5633         Use same arglist as old quit-window.
5634         (frame-auto-delete): Doc fix.
5636         * view.el (view-mode-exit): Use quit-window.
5638 2011-08-24  Juri Linkov  <juri@jurta.org>
5640         * isearch.el (isearch-ring-adjust1): Start visiting previous
5641         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5642         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5643         for empty search string (when the last search string is reused
5644         automatically) to adjust the isearch ring to the last element and
5645         prepare the correct index for further M-p commands (bug#9185).
5647 2011-08-24  Kenichi Handa  <handa@m17n.org>
5649         * international/ucs-normalize.el: If decomposition property of
5650         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5651         nil.
5652         (nfd, nfkd): Likewise.
5654 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5656         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5657         from process filters aren't reliably transmitted to the surrounding
5658         accept-process-output.
5659         (mpc-proc-check): New function.
5660         (mpc-proc-sync): Use it (bug#8293)
5662 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5664         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5665         Add compatibility functions (bug#9313).
5667 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5669         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5671         * international/uni-bidi.el: Regenerate.
5673 2011-08-23  Kenichi Handa  <handa@m17n.org>
5675         * international/charprop.el:
5676         * international/uni-bidi.el:
5677         * international/uni-category.el:
5678         * international/uni-combining.el:
5679         * international/uni-comment.el:
5680         * international/uni-decimal.el:
5681         * international/uni-decomposition.el:
5682         * international/uni-digit.el:
5683         * international/uni-lowercase.el:
5684         * international/uni-mirrored.el:
5685         * international/uni-name.el:
5686         * international/uni-numeric.el:
5687         * international/uni-old-name.el:
5688         * international/uni-titlecase.el:
5689         * international/uni-uppercase.el: Regenerate.
5691 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5693         * help.el (help-window-setup): Fix message displayed when other
5694         window is reused.  (Bug#9341)
5696 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5698         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5699         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5701         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5702         Mark obsolete.
5703         * shell.el (shell-parse-pcomplete-arguments): New function.
5704         (shell-completion-vars): Use it instead (bug#9160).
5706 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5708         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5709         strings and comments (bug#9333).
5711         * emacs-lisp/debug.el (debug-arglist): New function.
5712         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5713         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5715 2011-08-22  Juri Linkov  <juri@jurta.org>
5717         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5718         Revert regexp that highlights output switches to its old
5719         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5721         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5722         to check for empty output (bug#9226).
5724 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5726         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5727         symbol-constituent as the default, as that stops font-lock from
5728         working properly (Bug#8843).
5730 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5732         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5733         `coding-system-for-*' around the process open call to avoid
5734         auth-source side effects.
5735         (smtpmail-try-auth-methods): Expand the secret password.
5736         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5737         probe hangs.
5739 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5741         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5743         * emacs-lisp/find-func.el (find-function-noselect): New arg
5744         lisp-only.
5746         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5747         signal an error for built-in functions (Bug#6664).
5749 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5751         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5752         (smtpmail-try-auth-methods): Use it.
5754 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5756         * font-lock.el (font-lock-fontify-region)
5757         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5758         (font-lock-default-unfontify-buffer)
5759         (font-lock-default-fontify-region)
5760         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5762         * progmodes/compile.el (compilation-error-properties):
5763         Fix confusion between file struct and message struct (Bug#9319).
5764         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5765         `ant' regexp.
5767         * net/browse-url.el (browse-url-firefox): Don't call
5768         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5770 2011-08-20  Glenn Morris  <rgm@gnu.org>
5772         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5774         * tutorial.el (tutorial--default-keys): Update some default bindings.
5776         * files.el (hack-local-variables): Fully ignore case for "mode:".
5778 2011-08-20  Alan Mackenzie  <acm@muc.de>
5780         Resolve invalid use of a regexp in regexp-opt.
5782         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5783         detection for a java annotation.
5785         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5786         detection for a java annotation.
5788         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5789         handling for java.
5790         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5792 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5794         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5795         (Bug#9274).
5797 2011-08-20  Alan Mackenzie  <acm@muc.de>
5799         Fontify CPP expressions correctly when starting in the middle of
5800         such a construct.  Mainly for when jit-lock etc. starts a chunk
5801         here.
5803         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5804         variable.
5805         (c-make-font-lock-search-form): New function, extracted from
5806         c-make-font-lock-search-function.
5807         (c-make-font-lock-search-function): Use the above function.
5808         (c-make-font-lock-context-search-function): New function.
5809         (c-cpp-matchers): Enhance the preprocessor expression case with
5810         the above function
5811         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5812         which takes an expression.
5814         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5816 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
5818         * window.el (display-buffer-reuse-window)
5819         (display-buffer-pop-up-window): Don't reuse or split a side
5820         window.
5822 2011-08-19  Glenn Morris  <rgm@gnu.org>
5824         * files.el (hack-local-variables-prop-line, hack-local-variables):
5825         Downcase "Mode:".  (Bug#9331)
5827 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
5829         * international/characters.el: Add L and R categories.
5831         * subr.el (bidi-string-mark-left-to-right): Rename from
5832         string-mark-left-to-right.  Use category search.
5834         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5836 2011-08-18  Juri Linkov  <juri@jurta.org>
5838         * faces.el (error, warning, success): New faces with definitions
5839         copied from old default values of `font-lock-warning-face',
5840         `compilation-warning', `compilation-info' (bug#6117).
5842         * font-lock.el (font-lock-warning-face): Inherit from `error'.
5844         * progmodes/compile.el (compilation-error): Inherit from `error'.
5845         (compilation-warning): Inherit from `warning'.
5846         (compilation-info): Inherit from `success'.
5848         * dired.el (dired-marked): Inherit from `warning'.
5849         (dired-flagged): Inherit from `error'.
5851 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5853         * mail/smtpmail.el (auth-source): Require to avoid problems with
5854         binding variables (bug#9298).  Also clean up some unused
5855         autoloads.
5857         * net/network-stream.el (network-stream-open-starttls):
5858         Support using starttls.el without using gnutls-cli.
5860 2011-08-17  Juri Linkov  <juri@jurta.org>
5862         * progmodes/grep.el (rgrep): Handle the case when
5863         `grep-find-command' is a cons cell (bug#9278).
5865 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
5867         * window.el (display-buffer-pop-up-frame): Run frame creation
5868         function with BUFFER current (as special-display-popup-frame
5869         does).  Reported by Drew Adams.
5871 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
5873         * epa-mail.el: Simplify GnuPG group expansion using
5874         epg-expand-group.
5875         (epa-mail-group-alist, epa-mail-group-modtime)
5876         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5877         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5878         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5879         Remove.
5881 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
5883         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5885 2011-08-16  Alan Mackenzie  <acm@muc.de>
5887         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5888         Correct, to avoid the inside of macros.
5890 2011-08-16  Richard Stallman  <rms@gnu.org>
5892         * epa-mail.el: Handle GnuPG group definitions.
5893         (epa-mail-group-alist, epa-mail-group-modtime)
5894         (epa-mail-gnupg-conf-file): New variables.
5895         (epa-mail-parse-groups, epa-mail-sync-groups)
5896         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5897         (epa-mail-expand-recipients): New functions.
5898         (epa-mail-encrypt): Call epa-mail-expand-recipients.
5900         * mail/rmail.el (rmail-epa-decrypt): New command.
5902         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5903         Don't bind buffer-read-only, just inhibit-read-only.
5904         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5905         (epa-decrypt-armor-in-region): Make error message clearer.
5907 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5909         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5910         and "a2b" to "ab" for `prefix'.
5912 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
5914         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5915         filter groups.
5916         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
5917         Fourquet (Bug#8804).
5919 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
5921         * startup.el (argi): Declare as global variable (bug#9275).
5923 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
5925         * subr.el (string-mark-left-to-right): Search the entire string
5926         for RTL script, not just the terminating character.  Doc fix.
5928 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5930         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5931         New function.
5932         (js--regexp-literal, js-syntax-propertize-function): Remove.
5933         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5934         (js-mode-map): Don't rebind electric keys.
5935         (js-insert-and-indent): Remove.
5936         (js-mode): Setup electric-layout and electric-indent instead.
5938         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5940 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
5942         * epa.el (epa-progress-callback-function): Fix the logic of
5943         displaying progress.
5944         * epa-file.el (epa-file-insert-file-contents): Make progress
5945         display more user-friendly.
5946         (epa-file-write-region): Ditto.
5948 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
5950         * subr.el (string-mark-left-to-right): New function.
5952         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5953         Use string-mark-left-to-right.
5954         (list-buffers-noselect): Caller changed.
5956         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5957         Use string-mark-left-to-right.
5958         (tabulated-list-print): Recenter after moving point.
5960 2011-08-10  Juri Linkov  <juri@jurta.org>
5962         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5963         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5964         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5966 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
5968         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5969         (Bug#7554).
5971 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5973         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5974         character.  (Bug#6594)
5976 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
5978         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5979         (image-dired--with-db-file): New macro.
5980         (image-dired-write-tags, image-dired-remove-tag)
5981         (image-dired-create-gallery-lists, image-dired-write-comments)
5982         (image-dired-get-comment, image-dired-mark-tagged-files)
5983         (image-dired-list-tags, image-dired-gallery-generate): Use it.
5984         (image-dired-gallery-generate): Use insert-file-contents.
5986         * time.el (display-time-world-list, display-time-world-display):
5987         * time-stamp.el (time-stamp-string):
5988         * vc/add-log.el (add-change-log-entry): Use setenv instead of
5989         set-time-zone-rule (Bug#7337).
5991 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
5993         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5994         (epg-error-to-string, epg-errors-to-string): New function.
5995         (epg-wait-for-completion): Reverse errors list.
5996         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5997         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5998         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5999         (epg-sign-keys, epg-generate-key-from-file)
6000         (epg-generate-key-from-string): Format errors by using
6001         epg-errors-to-string (bug#9255).
6002         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6004 2011-08-07  Juri Linkov  <juri@jurta.org>
6006         * faces.el (list-faces-display): Remove extra angle bracket
6007         from `help-mode-map'.
6009         * info.el (Info-history-toc-nodes): Doc fix.
6011         * longlines.el (longlines-mode): Doc fix.
6013 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6015         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6016         of statements and in a few more cases (bug#9183).
6018         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6019         New functions.
6020         (cl-transform-lambda): Use them (bug#9239).
6022 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
6024         * window.el (display-buffer-same-window)
6025         (display-buffer-same-frame, display-buffer-other-window)
6026         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6027         (pop-to-buffer-other-window)
6028         (pop-to-buffer-same-frame-other-window)
6029         (pop-to-buffer-other-frame): Make them defuns.
6030         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6032 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6034         * subr.el (make-composed-keymap): Move from C.  Change calling
6035         convention, and improve docstring to bring attention to a subtle point.
6036         * minibuffer.el (completing-read-default): Adjust accordingly.
6038 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
6040         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6041         (tramp-open-shell): Use `tramp-shell-quote-argument'.
6043         * net/trampver.el: Update release number.
6045 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6047         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6048         "in" (bug#9190).
6050 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6052         * mail/sendmail.el (sendmail-query-once): Restore the current
6053         buffer after querying (bug#9074).
6055         * dired.el (dired-flagged): Use different faces for marked and
6056         flagged files (bug#6117).
6058         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6059         (bug#4433).
6061         * ido.el (ido-mode): Switch off the message if called
6062         non-interactively.
6064         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6065         before 587, since it appears that that's more likely to work for
6066         more people.
6068         * cus-edit.el (custom-file): When running under emacs -q, always
6069         refuse to save the customizations, even if the .emacs file doesn't
6070         exist.
6072         * info.el: Remove the `Info-beginning-of-buffer' function
6073         (bug#8325).
6075         * net/network-stream.el (network-stream-open-starttls):
6076         Use `starttls-available-p' to see whether starttls.el can be used.
6078 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
6080         * window.el (display-buffer-in-window): Don't set dedicated status
6081         of window here (Bug#9215).
6082         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6083         (display-buffer-pop-up-side-window)
6084         (display-buffer-in-side-window): Set dedicated status of window here.
6086 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6088         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6089         before binding generated-autoload-file.
6091 2011-08-01  Deniz Dogan  <deniz@dogan.se>
6093         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6095 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
6097         Sync with Tramp 2.2.2.
6099         * net/trampver.el: Update release number.
6101 2011-07-30  Juri Linkov  <juri@jurta.org>
6103         * dired-aux.el (dired-touch-initial): Remove function.
6104         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6105         current time, and `default' to the last modification time of the
6106         current marked file (bug#6887).
6108 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
6110         * simple.el (goto-line): Use string-to-number to provide a
6111         numeric argument to read-number (bug#9163).
6113 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
6115         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6116         connection process, it could be nil.
6118 2011-07-27  Leo Liu  <sdl.web@gmail.com>
6120         Simplify url handling in rcirc-mode.
6122         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6123         (rcirc-browse-url-at-mouse): Remove.
6124         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6126 2011-07-26  Alan Mackenzie  <acm@muc.de>
6128         Fontify bitfield declarations properly.
6130         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6131         (c-symbol-chars): Now exported as a lang variable.
6132         (c-not-primitive-type-keywords): New lang variable.
6134         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6135         QT keyword "more" to prevent "more slots: ...." being spuriously
6136         parsed as a bitfield declaration.
6138         * progmodes/cc-engine.el (c-beginning-of-statement-1):
6139         Refactor and enhance to handle bitfield declarations.
6140         (c-punctuation-in): New function.
6141         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6142         declarations properly.
6144 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
6146         * calendar/icalendar.el (icalendar--all-events): Take care of
6147         multiple vcalendars in a single file.
6148         (icalendar--convert-float-to-ical): Checkdoc fixes.
6150 2011-07-25  Deniz Dogan  <deniz@dogan.se>
6152         * image.el (insert-image): Clarifying docstring.
6154 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
6156         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6157         `tramp-send-command-and-check' if there is no error.
6158         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6160 2011-07-22  Alan Mackenzie  <acm@muc.de>
6162         Prevent cc-langs.elc being loaded at run time.
6164         * progmodes/cc-mode.el: Remove two autoload forms which loaded
6165         cc-langs.
6167         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6168         "(require 'cc-langs)".  Quote a form so it will evaluate at
6169         (cc-mode's) compilation time.
6171 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
6173         * net/tramp.el (tramp-file-name-handler): Avoid recursive
6174         loading.  (Bug#9114)
6176 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
6178         * window.el (display-buffer-pop-up-window)
6179         (display-buffer-pop-up-side-window)
6180         (display-buffer-in-side-window): Call display-buffer-set-height
6181         and display-buffer-set-width after setting the new window's
6182         buffer so `fit-window-to-buffer' and friends work on the right buffer.
6184 2011-07-20  Sam Steingold  <sds@gnu.org>
6186         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6187         (etags-tags-included-tables): Call `convert-standard-filename' on
6188         the file names contained in TAGS so that windows Emacs can handle
6189         TAGS files created by cygwin ctags.
6191 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6193         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6194         which apparently didn't work.
6196 2011-07-19  Roland Winkler  <winkler@gnu.org>
6198         * proced.el (proced-send-signal): For *Marked Processes* buffer
6199         put point at beginning of buffer.
6201 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
6203         * proced.el (proced-format): Make header lines align with the text
6204         (bug#1779).
6206 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6208         * view.el (view-buffer): Allow running in `special' modes if we're
6209         visiting a file (bug#8615).
6211 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
6213         * window.el (display-buffer-alist-of-strings-p)
6214         (display-buffer-alist-set-1, display-buffer-alist-set-2):
6215         New functions.
6216         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6217         more accurately.
6219 2011-07-18  Alan Mackenzie  <acm@muc.de>
6221         Fontify declarators properly when, e.g., a jit-lock chunk begins
6222         inside a declaration.
6224         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6226         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6227         New function.
6228         (c-complex-decl-matchers): Insert reference to
6229         c-font-lock-enclosing-decls.
6231         * progmodes/cc-engine.el (c-backward-single-comment):
6232         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6233         to nil around calls to (forward-comment -1).
6235 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6237         * image.el (put-image): Doc typo fix.
6239         * progmodes/etags.el (tags-search): Doc typo fix.
6241         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6242         password if we get errors 550 to 554.
6244 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6246         * net/gnutls.el (gnutls-log-level): Remove.
6248         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6249         indentation character (bug#6380).
6251         * files.el (buffer-offer-save): Made permanently local (bug#6241).
6253         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6254         to clarify what the problem is (bug#4291).
6256         * simple.el (current-kill): Clarify what
6257         `interprogram-paste-function' does (bug#7500).
6258         (auto-fill-mode): Document `auto-fill-function' in relation to
6259         `auto-fill-mode' (bug#2470).
6261 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
6263         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6264         method if slot is read-only (bug#9035).
6266 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
6268         * frame.el (select-frame-set-input-focus): New argument NORECORD.
6269         * window.el (pop-to-buffer): Select window used even if it was
6270         selected before, see discussion of (Bug#8615), (Bug#6954).
6271         Pass argument NORECORD on to select-frame-set-input-focus.
6273 2011-07-15  Glenn Morris  <rgm@gnu.org>
6275         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
6276         Respect help-form.
6278 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
6280         * net/gnutls.el (gnutls-min-prime-bits): New variable.
6281         (gnutls-negotiate): Use it.
6283 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6285         * net/gnutls.el (gnutls-negotiate):
6286         Upcase `gnutls-algorithm-priority'.
6288 2011-07-15  Glenn Morris  <rgm@gnu.org>
6290         * jka-compr.el (jka-compr-verbose): Move from here...
6291         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
6292         Add missing :version tag.
6293         * info.el: No need to require jka-compr when compiling.
6295 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6297         * net/gnutls.el (gnutls-algorithm-priority): New variable.
6298         (gnutls-negotiate): Use it.
6300         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6302         * info.el (Info-beginning-of-buffer): New command.
6303         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6304         announcing `b' as the key (bug#8325).
6305         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6307         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6309         * international/mule-cmds.el
6310         (describe-specified-language-support): Make the error message
6311         clearer (bug#8905).
6313         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6315         * isearch.el (isearch-barrier): Add a doc string, since it's
6316         mentioned in a function doc string (bug#8678).
6318 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
6320         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6321         buffer argument (Bug#9083) and self-identifying label argument.
6323 2011-07-15  Glenn Morris  <rgm@gnu.org>
6325         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
6327 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6329         * man.el (Man-fontify-manpage): Fix message when formatting the
6330         man page (bug#7929).
6332 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6334         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6335         argument LRM; if non-nil, append an invisible LRM character to the
6336         buffer name.
6337         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6338         last argument non-nil, when formatting buffer names.
6339         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6340         paragraph direction.
6342 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6344         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6345         the man page name (bug#7929).
6347         * image.el (put-image): Mention the `put-image' overlay property
6348         (bug#7834).
6350         * scroll-bar.el (set-scroll-bar-mode): Mention that
6351         `scroll-bar-mode' lists the values (bug#7772).
6353         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6354         command (bug#7729).
6356         * rect.el (apply-on-rectangle): Return the point after the last
6357         operation.
6358         (string-rectangle): Go to the point after the last operation
6359         (bug#7522).
6361         * printing.el (pr-toggle-region): Clarify the documentation
6362         slightly (bug#7493).
6364         * time.el (display-time-update):
6365         Allow `display-time-mail-function' to return nil (bug#7158).
6366         Fix suggested by Detlev Zundel.
6368         * vc/diff.el (diff): Clarify the order the file names are read
6369         (bug#7111).
6371         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6372         the doc string (bug#7015).
6374         * font-lock.el (font-lock-maximum-decoration): Mention what
6375         numeric levels mean (bug#6935).
6377         * startup.el (initial-buffer-choice): Don't mention the `none'
6378         selection, which is against policy.
6380 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
6382         * window.el (display-buffer-normalize-special):
6383         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6385 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6387         * subr.el (version<, version<=, version=): Mention "-CVS" and
6388         "-12345" alpha version numbers.
6390 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6392         * bindings.el: Add advertised binding for set-mark-command
6393         (Bug#5772).
6395 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6397         * bindings.el (mode-line-other-buffer):
6398         * bookmark.el (bookmark-bmenu-2-window):
6399         * bs.el (bs-cycle-next, bs-cycle-previous):
6400         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6401         switch-to-buffer.
6403         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6404         Delete.
6406 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
6408         * follow.el (follow-debug-message, follow-redisplay):
6409         * jka-cmpr-hook.el (with-auto-compression-mode):
6410         Fix typos in docstrings.
6412 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6414         * subr.el (with-silent-modifications): Clarify somewhat what the
6415         macro inhibits (bug#6525).
6417         * simple.el (eval-expression): Note what it does if called
6418         interactively (bug#6495).
6420 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6422         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6423         Use pop-to-buffer buffer-or-name if it is nil.
6425         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6426         Remove switch-to-buffer.
6428 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6430         * files.el (make-directory): Clarify that an error will be raised
6431         if there's an error (bug#6397).
6433         * startup.el (initial-buffer-choice): Add `none' as a choice
6434         (bug#6234).
6436         * subr.el (add-hook): Clarify section about buffer-local hooks
6437         (bug#6218).
6439         * dired.el (dired-flagged): Clarify doc string (bug#6117).
6441 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6443         * tabify.el (untabify): Preserve the current column so that point
6444         doesn't move (bug#6032).
6446 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6448         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6449         Rewrite to avoid awkward possessive "s" (bug#5986).
6451 2011-07-13  Glenn Morris  <rgm@gnu.org>
6453         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
6454         (dired-insert-directory): Give a message the first time
6455         if ls is found not to support --dired.
6457 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6459         * simple.el (toggle-truncate-lines): Clarify what is toggled
6460         (bug#5580).  Text by Drew Adams.
6462 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6464         * simple.el (blink-matching-open): Make the error message from the
6465         last change less verbose.
6467 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
6469         * font-lock.el (font-lock-comment-face): Use the high contrast
6470         "yellow" color for font-lock-comment-face on low color terminals
6471         using a dark background color (bug#4221).
6473 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6475         * dired.el (dired-insert-set-properties): Make the doc string
6476         reflect what it does now (bug#5325).
6478         * simple.el (blink-matching-open): Say that we were unable to find
6479         the match within the limit, if we're limited (bug#5122).
6481         * international/mule-cmds.el (prefer-coding-system): Add an
6482         example (bug#4869).
6484         * progmodes/etags.el (tags-search): Document `file-list-form'
6485         (bug#4731).
6487 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
6489         * net/browse-url.el (browse-url-default-browser)
6490         (browse-url-browser-function): Make the default browser choice a
6491         bit more logical (bug#4300).  Also clean up the doc string.
6493 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6495         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6496         binary endings (bug#4440).
6498 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6500         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6501         which can be pretty annoying (bug#8971).
6503         * jka-compr.el (jka-compr-verbose): New variable, and use
6504         throughout (bug#8971).
6506         * info.el (Info-find-file): Fall back on the installation
6507         directory if we can't find the info node anywhere else.
6509 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
6511         * vc/vc.el (vc-revert-file):
6512         Don't set file time-stamp in the past.  (Bug#5181)
6514 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6516         * files.el (after-find-file): Give a better error message when
6517         trying to find a symlink that points to a file that doesn't exist
6518         (bug#4398).
6520         * progmodes/cc-vars.el: Remove (probably) misleading comment
6521         (bug#4396).
6523 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
6525         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6527 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6529         * mouse-sel.el: Hack restoring functionality, while keeping
6530         compatibility with 2010-07-03 changes to mouse selection.
6531         (mouse-sel-primary-overlay): New var.
6532         (mouse-sel-selection-alist): Use it.
6533         (mouse-sel-mode): Doc fix; remove points that are default features
6534         of mouse.el.
6536 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
6538         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6539         Fix previous fix (bug#2490).
6541 2011-07-12  Roland Winkler  <winkler@gnu.org>
6543         * textmodes/bibtex.el (bibtex-initialize):
6544         Use pop-to-buffer-same-window.
6545         (bibtex-search-entries): Fix interactive call.
6547 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6549         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6550         Fontise bytecomp Error lines more correctly (bug#2490).
6551         Fix suggested by Johan Bockgård.
6553         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6555         * dired-x.el (dired-guess-default): Use `delete-dups'.
6557 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6559         * dired.el (dired-mark-prompt):
6560         * dired-aux.el (dired-read-shell-command): Doc fix.
6562 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6564         * mail/sendmail.el (sendmail-query-once):
6565         Use `customize-save-variable' unconditionally, now that it works under
6566         emacs -Q.
6568         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6570         * cus-edit.el (custom-file): Take an optional no-error variable.
6571         (customize-save-variable): Set the variable, and give a warning if
6572         running under "emacs -q".
6574 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6576         * loadhist.el (unload-feature-special-hooks):
6577         Add `auto-coding-functions', `fill-nobreak-predicate' and
6578         `find-directory-functions' (bug#5327).
6580 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6582         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6584         * cus-edit.el (custom-guess-name-alist): -alist variables should
6585         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6587         * printing.el: Add documentation to all the `pr-toggle-' commands.
6589 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6591         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6592         backends where it makes sense (bug#2623).
6594 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6596         * dired-x.el (dired-guess-default): Remove duplicate shell command
6597         entries (bug#2028).
6598         (dired-guess-default): Fix grammar in doc string (bug#2028).
6599         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6601         * subr.el (remove-duplicates): New conveniency function.
6603 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6605         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6606         (bug#1526).
6608 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6610         * window.el (display-buffer-normalize-default): Don't invert
6611         meaning of even-window-heights.  Reported by Eli Zaretskii
6612         <eliz@gnu.org>.
6614 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6616         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6618 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6620         * window.el (display-buffer): Fix arguments to
6621         display-buffer-reuse-window in last change.
6623         * faces.el (link): Use a less saturated blue on light backgrounds.
6625         * startup.el (fancy-startup-text, fancy-about-text)
6626         (fancy-startup-tail): Use font-lock faces, for background safety.
6628 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6630         * emulation/viper-cmd.el (viper-change-state-to-vi):
6631         Limit triggering of abbrev expansion (Bug#9038).
6633 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6635         * window.el (display-buffer-default-specifiers): Remove.
6636         (display-buffer-macro-specifiers): Remove default specifiers.
6637         (display-buffer-alist): Default to nil.
6638         (display-buffer-reuse-window): New optional argument other-window.
6639         (display-buffer-pop-up-window): Allow splitting internal
6640         windows.  Check whether a live window was created.
6641         (display-buffer-other-window-means-other-frame)
6642         (display-buffer-normalize-arguments): Rename to
6643         display-buffer-normalize-argument and rewrite.  Set the
6644         other-window specifier.
6645         (display-buffer-normalize-special): New function.
6646         (display-buffer-normalize-options): Rename to
6647         display-buffer-normalize-default and rewrite.
6648         (display-buffer-normalize-options-inhibit): Remove.
6649         (display-buffer-normalize-specifiers): Rewrite.
6650         (display-buffer): Process other-window specifier and call
6651         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6652         more faithfully.
6653         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6654         (display-buffer-alist-set): Don't handle 'unset default values.
6655         (display-buffer-in-window, display-buffer-alist-set):
6656         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6657         <tassilo@member.fsf.org>.
6659 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6661         * register.el (insert-register): Restore accidental change on
6662         2011-06-26.  (Bug#9028)
6664 2011-07-09  Glenn Morris  <rgm@gnu.org>
6666         * subr.el (remq): Handle the empty list.  (Bug#9024)
6668 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6670         * mail/sendmail.el (send-mail-function): No longer delay custom
6671         initialization.
6672         * custom.el (custom-initialize-delay): Doc fix.
6674 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6676         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6678 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6680         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6681         human-friendly prompt.
6683 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6685         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6686         provided by a particular plugin.
6688 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6690         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6691         save customizations (with "emacs -Q"), just set the variable
6692         instead of erroring out.
6694         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6696 2011-07-08  Juri Linkov  <juri@jurta.org>
6698         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6699         (archive-zip-update-case): Use 7z if found by `executable-find'.
6700         The order of searching the available programs is the same as in
6701         `archive-zip-extract' (bug#8968).
6703 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6705         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6706         (menu-bar-options-menu): Tweak descriptions.
6708 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6710         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6711         menu items into verb phrases (bug#1421).  Also refill to fit under
6712         80 columns.
6714 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6716         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6717         (Info-read-node-name): Doc fix (Bug#1084).
6719         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6720         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6721         (end-of-sexp, beginning-of-sexp)
6722         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6723         (forward-symbol, forward-same-syntax, word-at-point)
6724         (sentence-at-point): Doc fix (Bug#1144).
6726 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6728         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6729         should cover it (bug#1281).
6731         * cus-edit.el (custom-show): Mark as obsolete.
6733         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6734         negotiation fails, then possibly try again with a non-encrypted
6735         connection (bug#9017).
6737         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6738         be used.
6740 2011-07-07  Richard Stallman  <rms@gnu.org>
6742         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6743         property, and handle its changed format.
6744         Look for the correct line number.
6745         Use file's line contents (but not past first =) to find
6746         correct line in message.
6748 2011-07-07  Kenichi Handa  <handa@m17n.org>
6750         * international/characters.el (build-unicode-category-table):
6751         Delete it.
6752         (unicode-category-table): Set it by unicode-property-table-internal.
6754         * international/mule-cmds.el (char-code-property-alist): Move to
6755         to src/chartab.c.
6756         (get-char-code-property): Call unicode-property-table-internal to
6757         load a file.  Call get-unicode-property-internal where necessary.
6758         (put-char-code-property): Call unicode-property-table-internal to
6759         load a file.  Call put-unicode-property-internal where necessary.
6760         put-unicode-property-internal where necessary.
6761         (char-code-property-description):
6762         Call unicode-property-table-internal to load a file.
6764         * international/charprop.el:
6765         * international/uni-bidi.el:
6766         * international/uni-category.el:
6767         * international/uni-combining.el:
6768         * international/uni-comment.el:
6769         * international/uni-decimal.el:
6770         * international/uni-decomposition.el:
6771         * international/uni-digit.el:
6772         * international/uni-lowercase.el:
6773         * international/uni-mirrored.el:
6774         * international/uni-name.el:
6775         * international/uni-numeric.el:
6776         * international/uni-old-name.el:
6777         * international/uni-titlecase.el:
6778         * international/uni-uppercase.el: Regenerate.
6780         * loadup.el: Load international/charprop.el before
6781         international/characters.
6783 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6785         * window.el (next-buffer, previous-buffer): Signal an error if
6786         called from a minibuffer window.
6788         * bindings.el: Revert 2011-07-04 change.
6790 2011-07-06  Richard Stallman  <rms@gnu.org>
6792         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6793         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6794         Treat markers like ints.
6795         (rmail-mime-entity): Doc fix.
6797 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6799         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6800         defcustom again for backwards compatibility.
6802         * simple.el (shell-command-on-region): Fill.
6804         * dired-aux.el (dired-kill-line): Add a doc string.
6806         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6807         to "\\sw\\|\\s_" (bug#358).
6809         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6810         (dired-unmark-backward): Ditto.
6811         (dired-flag-backup-files): Ditto.
6813         * dired-x.el (dired-mark-sexp): Ditto.
6815 2011-07-06  Richard Stallman  <rms@gnu.org>
6817         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6818         (rmail-mime-entity): New arg TRUNCATED.
6819         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6820         New functions.
6821         (rmail-mime-save): Warn if entity is truncated.
6822         (rmail-mime-toggle-hidden): Likewise, for showing.
6823         (rmail-mime-process-multipart): Record when an entity is truncated.
6825         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6826         if ENTITY is a string.
6828 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6830         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6831         of faces when `M-C-x'-ing their definitions (bug#8378).
6832         Also clean up the code slightly.
6834         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6835         because that makes the colors go away.
6837         * mail/sendmail.el (send-mail-function): Change the default to
6838         `sendmail-query-once'.
6839         (sendmail-query-once): Add an autoload cookie.
6841         * net/network-stream.el (network-stream-open-starttls): Try using
6842         a plain connection even if the server offered STARTTLS, and we
6843         kinda wanted to use it, if Emacs doesn't have any STARTTLS
6844         capability.  This should make smtpmail.el work in slightly more
6845         configurations.
6847 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
6849         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6850         New defun.
6851         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6853 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
6855         * progmodes/sql.el: Version 3.0
6856         (sql-product-alist): Add product :completion-object,
6857         :completion-column, and :statement attributes.
6858         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6859         (sql-mode-syntax-table): Mark all punctuation.
6860         (sql-font-lock-keywords-builder): Temporarily remove fallback on
6861         ansi keywords.
6862         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6863         (sql-mode-oracle-font-lock-keywords): Improve.
6864         (sql-oracle-show-reserved-words): New function for development.
6865         (sql-product-font-lock): Simplify for source code buffers.
6866         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6867         New functions.
6868         (sql-highlight-product): Set product specific syntax table.
6869         (sql-mode-map): Add statement movement functions.
6870         (sql-ansi-statement-starters, sql-oracle-statement-starters):
6871         New variable.
6872         (sql-statement-regexp, sql-beginning-of-statement)
6873         (sql-end-of-statement, sql-signum): New functions.
6874         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6875         (sql-show-sqli-buffer): Bug fix.
6876         (sql-interactive-mode): Store connection data as buffer local.
6877         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
6878         with sql-interactive-mode.
6879         (sql-save-connection): Save buffer local settings.
6880         (sql-connection-menu-filter): Change menu entry name.
6881         (sql-product-interactive): Bug fix.
6882         (sql-preoutput-hold): New variable.
6883         (sql-interactive-remove-continuation-prompt): Bug fixes.
6884         (sql-debug-redirect): New variable.
6885         (sql-str-literal): New function.
6886         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6887         Redesign.
6888         (sql-oracle-save-settings, sql-oracle-restore-settings)
6889         (sql-oracle-list-all, sql-oracle-list-table): New functions.
6890         (sql-completion-object, sql-completion-column)
6891         (sql-completion-sqlbuf): New variables.
6892         (sql-build-completions-1, sql-build-completions)
6893         (sql-try-completion): New functions.
6894         (sql-read-table-name): Use them.
6895         (sql-contains-names): New buffer local variable.
6896         (sql-list-all, sql-list-table): Use it.
6897         (sql-oracle-completion-types): New variable.
6898         (sql-oracle-completion-object, sql-sqlite-completion-object)
6899         (sql-postgres-completion-object): New functions.
6901 2011-07-06  Glenn Morris  <rgm@gnu.org>
6903         * window.el (pop-to-buffer): Doc fix.
6905 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
6907         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6909 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
6911         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6913         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
6915 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
6917         * button.el (button): Inherit from link face.  Suggested by Dan
6918         Nicolaescu.
6920 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6922         * progmodes/gdb-mi.el: Fit in 80 columns.
6923         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6924         switch-to-buffer.
6926         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6927         if imenu is simply not configured (bug#8941).
6929 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
6931         * allout.el (allout-post-undo-hook): New allout outline-change
6932         event hook to signal undo activity.
6933         (allout-post-command-business): Run allout-post-undo-hook if an
6934         undo just occurred.
6935         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6936         * allout-widgets.el (allout-widgets-after-undo-function):
6937         Ensure the integrity of the current item's decoration after it has been
6938         in the vicinity of an undo.
6939         (allout-widgets-mode): Include allout-widgets-after-undo-function
6940         on the new allout-post-undo-hook.
6942 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6944         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6945         Let define-derived-mode define it.
6946         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6947         cycles of abbrev-table inheritance (bug#8998).
6949 2011-07-05  Roland Winkler  <winkler@gnu.org>
6951         * textmodes/bibtex.el: Add support for biblatex.
6952         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6953         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6954         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6955         (bibtex-entry-alist, bibtex-field-alist): New variables.
6956         (bibtex-entry-field-alist): Obsolete alias for
6957         bibtex-BibTeX-entry-alist.
6958         (bibtex-entry-alist, bibtex-field-alist): New widgets.
6959         (bibtex-set-dialect): New command.
6960         (bibtex-entry-type, bibtex-entry-head)
6961         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6962         Bind via bibtex-set-dialect.
6963         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6964         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6965         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6966         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6967         Define via bibtex-set-dialect.
6968         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6969         Obey bibtex-no-opt-remove-re.
6970         (bibtex-vec-push, bibtex-vec-incr): New functions.
6971         (bibtex-format-entry, bibtex-field-list)
6972         (bibtex-print-help-message, bibtex-validate)
6973         (bibtex-search-entries): Use new format of bibtex-entry-alist.
6975 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6977         * progmodes/compile.el (compilation-goto-locus):
6978         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6979         * bs.el (bs-cycle-next, bs-cycle-previous):
6980         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6981         * bindings.el (mode-line-other-buffer):
6982         * autoinsert.el (auto-insert):
6983         * arc-mode.el (archive-extract):
6984         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6986 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6988         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6989         Fix check of `emacs-lock-unlockable-modes'.
6990         Coerce true values of `emacs-lock--try-unlocking' to t.
6992 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
6994         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6995         * emacs-lock.el: New file.
6997 2011-07-05  Julien Danjou  <julien@danjou.info>
6999         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7000         than `boundp' to check if face is set.
7002 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7004         * register.el (registerv-make):
7005         * window.el (window-min-height): Fix typos in docstrings.
7007 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
7009         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7010         Update doc string.
7012 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7014         * server.el (server-execute): Catch quit and call
7015         `server-return-error' to pass the error back to emacsclient and
7016         close the connection (bug#8942).
7018 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
7020         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7021         insecure exception for current topic.  Also note that auto-saves
7022         are handled differently.
7024         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7025         State variables for tracking auto-save inhibition situation.
7027         (allout-write-contents-hook-handler): Rename from
7028         'allout-write-file-hook-handler', and describe how it depends on
7029         write-contents-functions sensitivity to non-nil value to prevent
7030         file write.
7032         (allout-auto-save-hook-handler): Remove.  auto-save does not check
7033         this in individual buffers, only in the starting buffer, so this
7034         is not the right way for us to inhibit auto-save in a buffer
7035         according to its condition.
7037         (allout-mode): Use new allout-write-contents-hook-handler, and
7038         only with write-contents-functions.  Remove auto-save provisions -
7039         they're implemented elsewhere.
7041         (allout-before-change-handler): If undo is in progress, note that
7042         for attention of allout-post-command-business.
7044         (allout-post-command-business): If the command we're following was
7045         an undo, check for change in the status of encrypted items and
7046         adjust auto-save inhibitions accordingly.
7048         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7049         according to whether there are or aren't any plain-text topics
7050         pending encryption.
7052         (allout-inhibit-auto-save-info-for-decryption):
7053         Adjust buffer-saved-size and some allout state to inhibit auto-saves
7054         if there are plain-text topics pending encryption.
7056         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7057         buffer-saved-size and some allout state to not inhibit auto-saves
7058         if there are no longer any plain-text topics pending encryption.
7060         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7061         No longer provide for exemption of the current topic.
7063 2011-07-04  Juri Linkov  <juri@jurta.org>
7065         Add 7z operations to delete and save changed members (bug#8968).
7066         * arc-mode.el (archive-7z-expunge, archive-7z-update):
7067         New defcustoms.
7068         (archive-7z-write-file-member): New function.
7069         (archive-7z-summarize): Fix the number of dashes in the
7070         listing output.
7072 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7074         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7075         (bug#8958).
7077 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
7079         * bindings.el: Ignore next-buffer and previous-buffer in
7080         minibuffer-local-map.
7082         * font-lock.el (font-lock-builtin-face): Change light background
7083         color to dark slate blue (Bug#6693).
7085 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
7087         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7089 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7091         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7092         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7093         Add switch-to-buffer.
7095 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7097         * isearch.el (isearch-search-fun-function): Clarify further the
7098         meaning of the function returned.
7100 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
7102         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7104         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7105         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7106         Use it.
7107         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
7108         `tramp-default-remote-path' does not exist.
7109         (tramp-send-command-and-read): New optional argument NOERROR.
7110         (tramp-open-connection-setup-interactive-shell)
7111         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7112         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7113         (tramp-process-sentinel): Flush also process' connection property.
7114         (tramp-sh-handle-start-file-process): Do not set process
7115         sentinel.  It is done now ...
7116         (tramp-maybe-open-connection): ... here.  (Bug#8929)
7118 2011-07-04  MON KEY  <monkey@sandpframing.com>
7120         * play/animate.el (animate-string): Doc fixes and allow changing
7121         the buffer name (bug#5417).
7123 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7125         * play/animate.el (animation-buffer-name): Rename from *animate*.
7127 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
7129         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7130         This is simpler and helps future-proof the code.
7131         (timer-until): Use time-subtract and float-time.
7132         (timer--time-less-p): Use time-less-p.
7134 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7136         * type-break.el (timep): Use the value of `float-time' to avoid a
7137         byte-compiler warning.
7139         * server.el (server-eval-and-print): Return any result, even nil.
7141 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
7143         * type-break.el: Accept time formats that the builtins accept.
7144         (timep, type-break-time-difference): Accept any format that
7145         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7146         This is simpler and helps future-proof the code.
7147         (type-break-time-difference): Round rather than ignoring
7148         subseconds components.
7150 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7152         * info.el (Info-apropos-matches): Make non-interactive, since it
7153         doesn't seem to do anything useful as a command (bug#8829).
7155 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
7157         * frame.el (frame-background-mode, frame-set-background-mode):
7158         Move from faces.el.
7159         (frame-default-terminal-background): New function.
7161         * custom.el (custom-push-theme): Don't record faces in `changed'
7162         theme; this doesn't work correctly for per-frame face settings.
7163         (disable-theme): Use face-set-after-frame-default to reset faces.
7164         (custom--frame-color-default): New function.
7166 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7168         * dired.el (dired-flagging-regexp): Remove unused variable
7169         (bug#8769).
7171 2011-03-29  Kevin Ryde  <user42@zip.com.au>
7173         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7174         `perl-Test2' extend to match possible "fail #N" rep count
7175         (bug#8377).
7177 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7179         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7180         `smtpmail-via-smtp' now returns the error instead of nil.
7182         * isearch.el (isearch-search-fun-function): Clarify the doc string
7183         (bug#8101).
7185 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
7187         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7188         unnecessary spaces (bug#8987).
7190 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7192         * net/network-stream.el (open-network-stream): Use the
7193         :end-of-capability command thoughout.
7195 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7197         * net/network-stream.el (open-network-stream): Add the
7198         :end-of-capability command parameter, used by pop3.el.
7200 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7202         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7204         * fringe.el (fringe-query-style): Remove redundant text " (type ?
7205         for list)" (bug#6475).
7207         * files.el (file-expand-wildcards): Ignore non-readable
7208         sub-directories while trying to find matches instead of signaling
7209         an error (bug#6297).
7211         * man.el (Man-reference-regexp): Allow matching possible
7212         word-wrapped references (bug#6289).
7214         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7215         for consistency with the other vc buffers (bug#6197).
7216         (vc-checkin): Ditto.
7218         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7220         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7222 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7224         * custom.el (defcustom): Clarify that :set is only used in the
7225         Customize user interface (bug#6089).
7227         * progmodes/flymake.el (flymake-mode): If the buffer isn't
7228         associated with a file, refuse to run instead of erroring out
7229         (bug#6084).
7231         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7232         the doc string, since it appears that using `fill-column' always
7233         controls the width (bug#7845).
7235         * simple.el (shell-command-on-region): Say where the error output
7236         went if `shell-command-default-error-buffer' is set (bug#6857).
7238 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
7240         * allout.el (allout-yank-processing): Adjust cursor position for
7241         backwards-deleted space.
7243         (allout-rebullet-heading): Register changes with
7244         allout-exposure-changed-hook, so the modified topic is properly
7245         decorated.
7247 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7249         * minibuffer.el (completion-in-region): Document PREDICATE
7250         (bug#7136).
7252         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7253         of keyword/argument pairs (bug#6904).
7255         * replace.el (multi-occur):
7256         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7258 2011-07-02  Drew Adams  <drew.adams@oracle.com>
7260         * dired.el (dired-mark-if): Make the message about whether it's
7261         marking or unmarking clearer (bug#8523).
7263 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7265         * disp-table.el (display-table-print-array): New function.
7266         (describe-display-table): Use it to print the vectors more pretty
7267         (Bug#8859).
7269 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
7271         * window.el (window-state-get-1): Don't assign clone numbers.
7272         Add clone-of item to list of window parameters.
7273         (window-state-put-2): Don't process clone numbers.
7274         (display-buffer-alist): Fix doc-string.
7276 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7278         * subr.el (remq): Don't allocate if it's not needed.
7279         (keymap--menu-item-binding, keymap--menu-item-with-binding)
7280         (keymap--merge-bindings): New functions.
7281         (keymap-canonicalize): Use them to refine the canonicalization.
7282         * minibuffer.el (minibuffer-local-completion-map)
7283         (minibuffer-local-must-match-map): Move initialization from C.
7284         (minibuffer-local-filename-completion-map): Move initialization from C;
7285         don't inherit from anything here.
7286         (minibuffer-local-filename-must-match-map): Make obsolete.
7287         (completing-read-default): Use make-composed-keymap to combine
7288         minibuffer-local-filename-completion-map with either
7289         minibuffer-local-must-match-map or
7290         minibuffer-local-filename-completion-map.
7292 2011-07-01  Glenn Morris  <rgm@gnu.org>
7294         * type-break.el (type-break-time-sum): Use dolist.
7296         * textmodes/flyspell.el (flyspell-word-search-backward):
7297         Replace CL function.
7299 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7301         * mouse.el (mouse--strip-first-event): New function.
7302         (function-key-map): Use it to map fringe clicks to normal clicks
7303         by default.
7305         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7306         (vc-bzr-revision-completion-table): Add support for annotate and date.
7308         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7309         inherit from parent.
7311 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7313         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7314         (dired-show-file-type): Doc fixup (bug#8818).
7316         * dired.el (dired-mode): Fix up the doc string as suggested by
7317         Drew Adams (bug#8817).
7319         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7320         cookie, since the manual says that it should be possible to add
7321         this function to `find-file-hook' (bug#8709).
7323 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7325         * progmodes/cfengine.el: Moved all cfengine3.el functionality
7326         here.  Noted Ted Zlatanov as the maintainer.
7327         (cfengine-common-settings, cfengine-common-syntax): New functions
7328         to set up common things between `cfengine-mode' and
7329         `cfengine3-mode'.
7330         (cfengine3-mode): New mode.
7331         (cfengine3-defuns cfengine3-defuns-regex
7332         (cfengine3-class-selector-regex cfengine3-category-regex)
7333         (cfengine3-vartypes cfengine3-font-lock-keywords)
7334         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7335         (cfengine3-indent-line): Add from cfengine3.el.
7337 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
7339         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7341         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7343 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
7345         * window.el (same-window-buffer-names, same-window-regexps)
7346         (same-window-p, special-display-frame-alist)
7347         (special-display-popup-frame, special-display-function)
7348         (special-display-buffer-names, special-display-regexps)
7349         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7350         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7351         (split-window-preferred-function, split-height-threshold)
7352         (split-width-threshold, even-window-heights)
7353         (display-buffer-mark-dedicated, window-splittable-p)
7354         (split-window-sensibly, window-safely-shrinkable-p):
7355         Un-obsolete.
7356         (display-buffer): Don't spread args with function specifier
7357         because special-display-popup-frame won't like it.
7359 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7361         Time-stamp simplifications and fixes.
7362         These improve accuracy slightly, and future-proof the code
7363         against some potential changes to current-time format.
7365         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7366         by using time-since and float-time.
7368         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7369         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
7370         + NNN microseconds".
7372         * type-break.el (type-break-time-sum): Rewrite using time-add.
7374         * play/hanoi.el (hanoi-current-time-float): Remove.
7375         All uses replaced by float-time.
7377         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7378         This yields a more-accurate answer.
7379         (rng-time-to-float): Remove; no longer needed.
7381         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7383         * calendar/timeclock.el (timeclock-seconds-to-time):
7384         Defalias to seconds-to-time, since they're the same thing.
7386         * emacs-lisp/elp.el (elp-elapsed-time):
7387         * emacs-lisp/benchmark.el (benchmark-elapse):
7388         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7390 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7392         * window.el (bury-buffer): Don't iconify the only frame.
7393         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7394         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
7396 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
7398         * eshell/em-smart.el (eshell-smart-display-navigate-list):
7399         Add mouse-yank-primary.
7401 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7403         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7405 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7407         * emacs-lisp/find-func.el (find-library--load-name): New fun.
7408         (find-library-name): Use it to find relative load names when provided
7409         absolute file name (bug#8803).
7411 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7413         * textmodes/flyspell.el (flyspell-word): Consider words that
7414         differ only in case as potential doublons (bug#5687).
7416         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7417         Remove two rather uninteresting debugging-like messages to make
7418         debbugs.el more silent.
7420         * comint.el (comint-password-prompt-regexp): Accept "Response" as
7421         a password-like phrase.
7423 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
7425         * progmodes/cc-guess.el: New file.
7427         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7429         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7430         derived from `c-basic-common-init'.
7432         * progmodes/cc-mode.el (top-level): Require cc-guess.
7433         (c-basic-common-init): Use `cc-choose-style-for-mode'.
7435 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
7437         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7439 2011-06-30  Alan Mackenzie  <acm@muc.de>
7441         * progmodes/cc-engine.el (c-guess-continued-construct):
7442         Correct the handling of template-args-cont, particularly for when font
7443         lock is disabled.  Name this case as "CASE G".
7445 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
7447         * allout.el (allout-yank-processing): Fix injection of extra space
7448         between bullet and non-whitespace character in first topic when
7449         pasting, ensuring that the actual spacing in the pasted topic
7450         following the bullet char is preserved.  This extra space was
7451         causing pasted encrypted topics to get a decrypted status even
7452         when the content was actually still encrypted.  Now the decryption
7453         status from before the paste is preserved.
7455         (allout-flag-region): Set all allout overlays so they evaporate
7456         when reduced to zero length (evanescent), to prevent overlay
7457         leakage.
7459 2011-06-30  Glenn Morris  <rgm@gnu.org>
7461         * w32-fns.el (w32-charset-info-alist): Declare.
7463         * find-dired.el (find-grep-options): Simplify.
7465         * term/ns-win.el (ns-set-resource): Declare.
7467         * ses.el (row, col): Declare dynamic variables honestly.
7469         * textmodes/reftex-parse.el (index-tags): Declare.
7471 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
7473         * cus-edit.el (customize-push-and-save): New function.
7475         * files.el (hack-local-variables-confirm): Use it.
7477         * custom.el (load-theme): New arg NO-CONFIRM.
7478         Use customize-push-and-save (Bug#8720).
7479         (custom-enabled-themes): Doc fix.
7481         * cus-theme.el (customize-create-theme)
7482         (custom-theme-merge-theme): Callers to load-theme changed.
7484 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7486         * thingatpt.el (thing-at-point-short-url-regexp): Require that
7487         short URLs have at least one dot in them (bug #7614).
7489         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7490         nil, because using a pty is apparently too slow (bug #895).
7492 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7494         * mail/sendmail.el (sendmail-query-once): New function.
7495         (sendmail-query-once-function): New variable.
7497 2011-06-29  Glenn Morris  <rgm@gnu.org>
7499         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7501         * ses.el (top-level): Require cl when compiling.
7502         (ses-set-localvars): Fix error statement.
7503         Call it at compile time to silence a storm of warnings.
7505 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
7507         * window.el (normalize-live-buffer): Rename to
7508         window-normalize-buffer.
7509         (normalize-live-frame): Rename to window-normalize-frame.
7510         (normalize-any-window): Rename to window-normalize-any-window.
7511         (normalize-live-window): Rename to window-normalize-live-window.
7512         (make-window-atom): Rename to window-make-atom.
7513         (window-resize-reset): Rename to window--resize-reset.
7514         (window-resize-reset-1): Rename to window--resize-reset-1.
7515         (resize-mini-window): Rename to window--resize-mini-window.
7516         (resize-subwindows-skip-p): Rename to
7517         window--resize-subwindows-skip-p.
7518         (resize-subwindows-normal): Rename to
7519         window--resize-subwindows-normal.
7520         (resize-subwindows): Rename to window--resize-subwindows.
7521         (resize-other-windows): Rename to window--resize-siblings.
7522         (resize-this-window): Rename to window--resize-this-window.
7523         (resize-root-window): Rename to window--resize-root-window.
7524         (resize-root-window-vertically): Rename to
7525         window--resize-root-window-vertically.
7526         (normalize-buffer-to-display): Rename to
7527         window-normalize-buffer-to-display.
7528         (normalize-buffer-to-switch-to): Rename to
7529         window-normalize-buffer-to-switch-to.
7530         Correspondingly update all callers of the functions listed
7531         above.
7532         (display-buffer-alist, display-buffer-normalize-arguments)
7533         (display-buffer-normalize-options, display-buffer)
7534         (display-buffer-alist-set): Use "function" instead of
7535         "fun-with-args".
7537 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
7539         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7540         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
7541         debbugs.gnu.org.  Mention acknowledgment email.
7543 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7545         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7546         buffer multibyteness, since it shouldn't matter.
7548 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7550         * window.el (display-buffer-in-side-window): Handle dedicated
7551         windows as in display-buffer-reuse-window.
7552         (display-buffer-normalize-alist): Use value of override
7553         specifier.
7554         (display-buffer-normalize-specifiers): Use value of
7555         other-window-means-other-frame specifier.
7556         (display-buffer-alist): Rewrite some texts in widgets.
7557         (display-buffer): Spread arguments when calling function
7558         specified by fun-with-args.
7560 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7562         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7563         Unnest `let'.
7565         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7566         selectors (Bug#5732).
7567         (css-proprietary-nmstart-re): Use `regexp-opt'.
7569 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7571         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7572         (eshell-ls-date-format): New defcustom.
7573         (eshell-ls-file): Use it.
7575 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7577         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7579 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7581         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7582         (ange-ftp-make-tmp-name): New arg.
7583         (ange-ftp-file-local-copy): Use it.
7585 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7587         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7588         no-conversion (Bug#8870).
7590 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7592         * window.el (window-right, window-left, window-child)
7593         (window-child-count, window-last-child)
7594         (window-iso-combination-p, walk-window-tree-1)
7595         (window-atom-check-1, window-tree-1, delete-window)
7596         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7597         new naming conventions - window-vchild, window-hchild,
7598         window-next and window-prev are now called window-top-child,
7599         window-left-child, window-next-sibling and window-prev-sibling
7600         respectively.
7601         (resize-window-reset): Rename to window-resize-reset.
7602         (resize-window-reset-1): Rename to window-resize-reset-1.
7603         (resize-window): Rename to window-resize.
7604         (window-min-height, window-min-width)
7605         (resize-mini-window, resize-this-window, resize-root-window)
7606         (resize-root-window-vertically, adjust-window-trailing-edge)
7607         (enlarge-window, shrink-window, maximize-window)
7608         (minimize-window, delete-window, quit-restore-window)
7609         (split-window, balance-windows, balance-windows-area-adjust)
7610         (balance-windows-area, window-state-put-2)
7611         (display-buffer-even-window-sizes, display-buffer-set-height)
7612         (display-buffer-set-width, set-window-text-height)
7613         (fit-window-to-buffer): Rename all "resize-window" prefixed
7614         calls to use the "window-resize" prefix convention.
7615         (display-buffer-alist): Fix symbol for label specifier.
7616         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7617         corresponding specifier.
7618         Reported by Juanma Barranquero <lekktu@gmail.com>.
7620 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7622         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7623         convention.
7624         (ses-call-printer): Does not pass an empty string to formatter when the
7625         cell is empty to keep from barking printer Calc math-format-value.
7627 2011-06-27  Richard Stallman  <rms@gnu.org>
7629         * battery.el (battery-mode-line-limit): New variable.
7630         (battery-update): Handle it.
7632         * mail/rmailmm.el (rmail-mime-process-multipart):
7633         Handle truncated messages.
7635 2011-06-27  Glenn Morris  <rgm@gnu.org>
7637         * progmodes/flymake.el (flymake-err-line-patterns):
7638         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7640 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7642         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7643         (ses--clean-!, ses--clean-_): New functions.
7644         (ses-range): Add configurability of readout order, and conversion
7645         to Calc vector.
7647         * ses.el (ses-repair-cell-reference-all): New function.
7648         (ses-cell-symbol): Set macro as safe, so that it can be used in
7649         formulas.
7651         * ses.el: Update cycle detection algorithm.
7652         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7653         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7654         (ses-set-localvars): New function.
7655         (ses-make-cell): Add property-list as a cell element.
7656         (ses-cell-property-get-fun, ses-cell-property-get)
7657         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7658         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7659         New functions.
7660         (ses-cell-property-set, ses-cell-property-pop)
7661         (ses-cell-property-get-handle): New macro.
7662         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7663         New aliases, used for code readability.
7664         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7665         cycle detection.
7666         (ses-self-reference-early-detection): New defcustom.
7667         (ses-formula-references): Robustify against self-referring cells.
7668         (ses-mode): Use ses-set-localvars.
7669         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7670         before lauching the update processing.
7671         (ses-initialize-Dijkstra-attempt): New function.
7672         (ses-recalculate-cell): Update for cycle detection based on
7673         Dijkstra algorithm.
7675         * ses.el: Fix commenting and indenting convention.
7677 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7679         * bs.el (bs-cycle-next): Complete last change.
7681 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7683         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7685 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7687         * net/network-stream.el (network-stream-open-starttls):
7688         Don't re-get capabilities unless we've reestablished connection.
7689         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7691         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7692         to binary to possibly avoid line encoding issues on Windows (among
7693         other things).
7695 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7697         * net/network-stream.el (open-network-stream): Return an :error
7698         saying what the problem was, if possible.
7700         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7701         server.
7703         * net/network-stream.el (network-stream-open-starttls): If we
7704         wanted to use STARTTLS, and the server offered it, but we weren't
7705         able to because we had no STARTTLS support, then close the connection.
7706         (open-network-stream): Return an :error element, if present.
7708 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7710         * hl-line.el (hl-line-sticky-flag): Doc fix.
7711         (global-hl-line-sticky-flag): New option (Bug#8323).
7712         (global-hl-line-highlight): Obey it.
7714         * vc/vc.el (vc-revert-show-diff): Default to t.
7716 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7718         * allout-widgets.el (allout-widgets-post-command-business):
7719         Stop decorating intermediate isearch matches.  They're not being
7720         undecorated when an isearch is continued past, and isearch
7721         automatically collapses them.  This leads to "widget leaks", where
7722         decorated items accumulate in collapsed areas.  Lines with lots of
7723         hidden widgets can slow down cursor travel, substantially.
7724         Too much complicated machinery would be needed to ensure undecoration,
7725         so we're doing without this nicety.
7727         (allout-widgets-tally-string): Don't try to do a hash-table-count
7728         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7729         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7730         *Messages* when allout-widgets-maintain-tally is t.
7732 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7734         * window.el (display-buffer-normalize-argument): Rename to
7735         display-buffer-normalize-arguments.  Handle special meaning of
7736         LABEL argument.  Respect special-display-function when popping up
7737         a new frame.  Fix code searching for a window showing the buffer
7738         on another frame.
7739         (display-buffer-normalize-specifiers):
7740         Call display-buffer-normalize-arguments.
7741         (display-buffer-in-window): Don't undedicate the window if its
7742         buffer remains the same.
7743         Reported by Drew Adams <drew.adams@oracle.com>.
7744         (display-buffer-alist): Add choice for same-window macro
7745         specfier.
7746         (display-buffer): Mention special meaning of LABEL argument in
7747         doc-string.  Fix quoting.  Don't pop up a new frame even as
7748         fallback.
7750 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7752         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7753         avoid deleting the current window in some cases (bug#8911).
7755 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7757         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7758         (Bug#8934)
7760 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7762         * net/network-stream.el (network-stream-open-starttls):
7763         Use built-in TLS support if `gnutls-available-p' is true.
7764         (network-stream-open-tls): Ditto.
7766 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7768         * register.el (registerv): New struct.
7769         (registerv-make): New function.
7770         (jump-to-register, describe-register-1, insert-register):
7771         Support the jump-func, print-func and insert-func slot of a registerv
7772         struct.  (Bug#8415)
7774 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7776         * vc/vc.el (vc-revert-show-diff): New defcustom.
7777         (vc-diff-internal): New arg specifying diff buffer.
7778         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7779         reuse an existing *vc-diff* buffer (Bug#8927).
7781         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7783 2011-06-26  Glenn Morris  <rgm@gnu.org>
7785         * progmodes/f90.el (f90-critical-indent): New option.
7786         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7787         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7788         (f90-mode): Doc fix.
7789         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7790         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7791         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7792         (f90-match-end): Handle block, critical.
7794 2011-06-25  Glenn Morris  <rgm@gnu.org>
7796         * calendar/diary-lib.el (diary-included-files): Doc fix.
7797         (diary-include-files): New function, extracted from
7798         diary-include-other-diary-files and diary-mark-included-diary-files.
7799         (diary-include-other-diary-files, diary-mark-included-diary-files):
7800         Just call diary-include-files.
7801         (diary-mark-entries): Reset diary-included-files on first call.
7803         * calendar/diary-lib.el (diary-mark-entries)
7804         (diary-mark-included-diary-files):
7805         Visit included diary-files in temp buffers.
7807         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7808         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7809         (f90-start-block-re, f90-imenu-generic-expression)
7810         (f90-looking-at-program-block-start, f90-no-block-limit):
7811         Add support for submodules.
7813         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7814         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7816 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
7818         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7819         buffer-file-type before setting its value, to avoid disastrous
7820         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
7822 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7824         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7826         * ses.el (ses-unload-function):
7827         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7829         * proced.el (proced-unload-function):
7830         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7832 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
7834         * server.el (server-create-window-system-frame): Add parameters arg.
7835         (server-process-filter): Doc fix.  Handle frame-parameters.
7837 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7839         Fix bug#8730, bug#8781.
7841         * loadhist.el (unload--set-major-mode): New function.
7842         (unload-feature): Use it.
7844         * progmodes/python.el (python-after-info-look): Add autoload cookie.
7845         (python-unload-function): New function.
7847 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7849         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7851 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
7853         * net/browse-url.el (browse-url-firefox-program): Add icecat to
7854         the candidates list.
7856 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
7858         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7860 2011-06-23  Richard Stallman  <rms@gnu.org>
7862         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7863         (rmail-variables): Set next-error-move-function.
7864         (rmail-what-message): Take argument POS.
7865         (rmail-next-error-move): New function.
7867 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7869         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7870         messages for adjacent non-terminals.
7872 2011-06-23  Richard Stallman  <rms@gnu.org>
7874         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7875         (rmail-show-message-1): Preserve buffer modified flag.
7876         (rmail-start-mail): Don't specify use of rmail-mail-return;
7877         that's done by mail-bury now.
7878         (rmail-mail-return): Handle arg NEWBUF.
7880 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
7882         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7883         SIZE is a number.
7885 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
7887         * window.el (get-lru-window, get-mru-window)
7888         (get-largest-window): Never return a minibuffer window.
7889         (display-buffer-pop-up-window): Fix a bug that could lead to
7890         reusing the minibuffer window.
7891         (display-buffer): Pass original specifier argument to
7892         display-buffer-function instead of the normalized one.
7893         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7895 2011-06-22  Leo Liu  <sdl.web@gmail.com>
7897         * minibuffer.el (completing-read-function)
7898         (completing-read-default): Move from minibuf.c
7900 2011-06-22  Richard Stallman  <rms@gnu.org>
7902         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7903         to Rmail even if not started by a special Rmail command.
7905         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7906         Copy the buffer currently showing just one message.
7908 2011-06-22  Roland Winkler  <winkler@gnu.org>
7910         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7911         (bibtex-clean-entry): First delete the old key so that a
7912         customized algorithm for generating the new key does not get
7913         confused by the old key.
7914         (bibtex-url): Obey regexp of first step.
7915         (bibtex-search-entries): Do not use add-to-list with local
7916         list-var.
7918 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7920         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7921         stored a user name, then query for the password first, instead of
7922         waiting for SMTP to give an error message and the trying again.
7924 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
7926         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7927         BUFFER in call-process.
7929 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7931         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7932         QUIT twice.
7933         (smtpmail-try-auth-methods): Require user name and password from
7934         auth-source.
7936 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
7938         * window.el (display-buffer-default-specifiers)
7939         (display-buffer-alist): Remove entries for pop-up-frame-alist.
7940         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
7941         (split-window): Normalize SIDE argument (Bug#8916).
7943         * frame.el (pop-up-frame-alist, pop-up-frame-function)
7944         (special-display-frame-alist, special-display-popup-frame):
7945         Remove duplicate declarations.  These are now in window.el.
7947 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7949         * mail/smtpmail.el (smtpmail-via-smtp):
7950         Set :use-starttls-if-possible so that we always use STARTTLS if the
7951         server supports it.  SMTP servers that support STARTTLS commonly
7952         require it.
7954         * net/network-stream.el (network-stream-open-starttls): Support
7955         upgrading to STARTTLS always, even if we don't have built-in support.
7956         (open-network-stream): Add the :always-query-capabilities keyword.
7958         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7959         upgrades with `open-network-stream', and rely solely on
7960         auth-source for all credentials.  Big changes throughout the file,
7961         but in particular:
7962         (smtpmail-auth-credentials): Remove.
7963         (smtpmail-starttls-credentials): Remove.
7964         (smtpmail-via-smtp): Check for servers saying they want AUTH after
7965         MAIL FROM, too.
7967         * net/network-stream.el (network-stream-open-starttls):
7968         Provide support for client certificates both for external and built-in
7969         STARTTLS.
7970         (auth-source): Require.
7971         (open-network-stream): Document the :client-certificate keyword.
7972         (network-stream-certificate): Change cert-cert to cert and
7973         cert-key to key.
7975 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
7977         * net/tramp-cache.el (top): Don't load the persistency file when
7978         "emacs -Q" has been called.
7980 2011-06-21  Tim Harper  <timcharper@gmail.com>
7982         * term/ns-win.el (ns-initialize-window-system):
7983         Set application-specific `ApplePressAndHoldEnabled' system
7984         resource to NO as it is not yet supported by the NS port.
7986 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
7988         * misc.el (list-dynamic-libraries--refresh): Compute header here...
7989         (list-dynamic-libraries): ...not here.
7991 2011-06-21  Leo Liu  <sdl.web@gmail.com>
7993         * subr.el (sha1): Implement sha1 using secure-hash.
7995 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
7997         * window.el (display-buffer-alist): In default value do not
7998         enforce searching a window on any but the selected frame.
7999         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8000         (display-buffer-select-window): Remove function.
8001         (display-buffer-in-window): When a window on another frame gets
8002         reused, do not select it any more but just raise its frame if
8003         necessary (Bug#8851) and (Bug#8856).
8004         (display-buffer-normalize-options): Handle pop-up-frames related
8005         options more faithfully.
8006         (pop-to-buffer): Don't rely on `display-buffer' selecting the
8007         window if it is on another frame.
8008         (display-buffer-alist, display-buffer-default-specifiers):
8009         Don't make new frame unsplittable by default.
8010         (display-buffer-normalize-argument): Fix doc-string typo and use
8011         'same-frame-other-window instead of 'other-window when associating
8012         with display-buffer-macro-specifiers.
8014 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
8016         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8017         New functions.
8018         (5x5-mode-map, 5x5-mode-menu): Bind them.
8019         (5x5-draw-grid): Tweak the solver's rendering.
8021 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8023         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8024         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8026 2011-06-21  Drew Adams  <drew.adams@oracle.com>
8028         * menu-bar.el: Use function variable instead of switch-to-buffer.
8029         (menu-bar-select-buffer-function): New variable.
8030         (menu-bar-update-buffers): Use it (bug#8876).
8032 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8034         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8035         variable's status.
8037 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
8039         * x-dnd.el (x-dnd-version-from-flags)
8040         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8041         and long as number (Bug#8899).
8042         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8044 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8046         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8047         (completion-try-completion, completion-all-completions): Compute the
8048         metadata argument if it's missing; make it optional (bug#8795).
8050         * wid-edit.el: Use lex-bind and move towards completion-at-point.
8051         (widget-complete): Use new :completion-function property.
8052         (widget-completions-at-point): New function.
8053         (default): Use :completion-function instead of :complete.
8054         (widget-default-completions): Rename from widget-default-complete;
8055         Rewrite.
8056         (widget-string-complete, widget-file-complete, widget-color-complete):
8057         Remove functions.
8058         (file, symbol, function, variable, coding-system, color):
8059         * international/mule-cmds.el (default-input-method, charset)
8060         (language-info-custom-alist):
8061         * cus-edit.el (face): Use new property :completions.
8063         * progmodes/pascal.el (pascal-completions-at-point): New function.
8064         (pascal-mode): Use it.
8065         (pascal-mode-map): Use completion-at-point.
8066         (pascal-toggle-completions): Make obsolete.
8067         (pascal-complete-word, pascal-show-completions):
8068         * progmodes/octave-mod.el (octave-complete-symbol):
8069         Redefine as obsolete alias.
8070         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8071         Signal absence of completion info for old Octave,
8072         (inferior-octave-complete): Redefine as obsolete alias.
8073         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8074         (meta-completions-at-point): Rename from meta-complete-symbol and
8075         adapt it for use on completion-at-point-functions.
8076         (meta-common-mode): Use it.
8077         (meta-looking-at-backward, meta-match-buffer): Remove.
8078         (meta-complete-symbol): Redefine as obsolete alias.
8079         (meta-common-mode-map): Use completion-at-point.
8080         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8081         (makefile-mode-map): Use completion-at-point.
8082         (makefile-completions-at-point): Rename from makefile-complete and
8083         adapt it for use on completion-at-point-functions.
8084         (makefile-mode): Use it.
8085         (makefile-complete): Redefine as obsolete alias.
8087 2011-06-20  Deniz Dogan  <deniz@dogan.se>
8089         * net/rcirc.el: Delete trailing whitespaces once and for all.
8091 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
8093         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8095 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
8097         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8099         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8101 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
8103         * window.el (display-buffer-other-window-means-other-frame):
8104         Call display-buffer-normalize-alist.
8105         (display-buffer-normalize-specifiers-1): Rename to
8106         display-buffer-normalize-argument.  New argument other-frame.
8107         Rewrite.
8108         (display-buffer-normalize-specifiers-2): Rename to
8109         display-buffer-normalize-options.
8110         (display-buffer-normalize-alist-1): New function.
8111         (display-buffer-normalize-specifiers-3): Rename to
8112         display-buffer-normalize-alist.
8113         Call display-buffer-normalize-alist-1.
8114         (display-buffer-normalize-options-inhibit): New variable.
8115         (display-buffer-normalize-specifiers): Rewrite calling
8116         display-buffer-normalize-alist,
8117         display-buffer-normalize-argument, and
8118         display-buffer-normalize-options.  Don't call the latter if
8119         display-buffer-normalize-options-inhibit is non-nil.
8120         (frame-auto-delete): New option.
8121         (window-deletable-p): Use frame-auto-delete.
8122         (window-list-no-nils, window-state-ignored-parameters)
8123         (window-state-get-1, window-state-get, window-state-put-list)
8124         (window-state-put-1, window-state-put-2, window-state-put):
8125         New functions.
8126         (display-buffer-normalize-options): Move special-display-p group
8127         after pop-up-frame group (Bug#8851) and (Bug#8856).
8129 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
8131         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8132         groups (Bug#8776).
8133         (rx-submatch-n): New function.
8134         (rx): Document it.
8136         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8137         (Bug#8768).
8139         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8141         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8143         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8144         anytime existing face settings are present (Bug#8889).
8146         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8147         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8148         Remove unused argument.
8150 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
8152         * window.el (display-buffer-default-specifiers):
8153         Remove pop-up-frame.  Add pop-up-window-min-height,
8154         pop-up-window-min-width, and another reuse-window specifier
8155         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
8156         (display-buffer-normalize-specifiers-2):
8157         Handle split-height-threshold and split-width-threshold also when
8158         pop-up-windows is unset.  Add a reuse-window specifier for the
8159         case popping up a new window fails.
8160         (special-display-popup-frame): Remove double quoting.
8161         (display-buffer-normalize-specifiers-1): Fix thinko.
8163 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8165         * shell.el (shell-completion-vars): Set pcomplete-termination-string
8166         according to comint-completion-addsuffix.
8168         * pcomplete.el: Convert to lexical binding and fix bug#8819.
8169         (pcomplete-suffix-list): Mark as obsolete.
8170         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8171         pcomplete-seen in the closure.
8172         (pcomplete-comint-setup): Setup completion-at-point as well.
8173         (pcomplete--entries): New function.
8174         (pcomplete--env-regexp): New var.
8175         (pcomplete-entries): Rewrite to work with partial-completion and
8176         without relying on pcomplete-suffix-list.
8177         (pcomplete-pare-list): Remove, unused.
8179 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
8181         * window.el (display-buffer-alist): Set pop-up-window-min-height
8182         and pop-up-window-min-width in default value.  Reported by
8183         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
8184         other-window-means-other-frame.
8185         (display-buffer-macro-specifiers): Comment out entry for
8186         other-window specifier.
8187         (display-buffer-other-window-means-other-frame): New function.
8188         (display-buffer-normalize-specifiers-1): New arguments
8189         buffer-name and label.  Treat other-window case specially.
8190         (display-buffer-normalize-specifiers-2): Treat other-window case
8191         specially.
8192         (display-buffer-normalize-specifiers-3): New function.
8193         (display-buffer-normalize-specifiers):
8194         Call display-buffer-normalize-specifiers-3.
8196 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
8198         * window.el (same-window-p): Fix two typos introduced when
8199         adding with-no-warnings.
8200         (display-buffer-normalize-specifiers-1): Don't check
8201         pop-up-frames for 'unset initialization.
8202         (display-buffer-normalize-specifiers-2): Major rewrite using
8203         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8204         (pop-up-frames, display-buffer-reuse-frames)
8205         (display-buffer-mark-dedicated): Don't initialize to 'unset.
8206         Suggested by David Engster <deng@randomsample.de>.
8207         (even-window-heights): Initialize to 'unset.
8208         (display-buffer-alist-set): Handle new 'unset initializations.
8209         (display-buffer-macro-specifiers): Don't pop up a new frame in the
8210         other window case.
8212 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
8214         * window.el (display-buffer-normalize-specifiers-1):
8215         Respect current value of pop-up-frames for most reasonable values of
8216         second argument of display-buffer (Bug#8865).
8217         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8218         (switch-to-buffer-other-window-same-frame)
8219         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
8220         Adams (Bug#8875).
8221         (display-buffer): Don't check noninteractive when calling
8222         display-buffer-pop-up-frame.
8223         (display-buffer-pop-up-frame): Never pop up a frame in
8224         noninteractive mode (Bug#8857).
8225         (enlarge-window, shrink-window): Don't report an error when the
8226         window can't be resized as requested (Bug#8862).
8228 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8230         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8232         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8234         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8236 2011-06-15  Alan Mackenzie  <acm@muc.de>
8238         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8239         for declarators, disable knr checking to speed up for normal files.
8240         2: Refactor, replacing a sequence of nested if forms by a cond form.
8242 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8244         * net/network-stream.el (open-network-stream): Add the keyword
8245         :always-query-capabilities for the case where you want to force a
8246         `plain' network connection, but the protocol still requires the
8247         capabilitiy command (i.e., SMTP and EHLO).
8249         * subr.el (process-live-p): Rename from `process-alive-p' for
8250         consistency with other `-live-p' functions.
8252 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8254         * window.el (same-window-buffer-names, same-window-regexps)
8255         (special-display-frame-alist, special-display-popup-frame)
8256         (special-display-function, special-display-buffer-names)
8257         (special-display-regexps, pop-up-frame-alist)
8258         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8259         (pop-up-windows, split-window-preferred-function)
8260         (split-height-threshold, split-width-threshold, even-window-heights)
8261         (display-buffer-mark-dedicated): Don't encourage the use of
8262         display-buffer-alist from Elisp code.
8264 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
8266         * progmodes/python.el (python-mode): Derive from prog-mode.
8267         * progmodes/ps-mode.el (ps-mode):
8268         * progmodes/mixal-mode.el (mixal-mode):
8269         * progmodes/cfengine.el (cfengine-mode):
8270         * progmodes/ld-script.el (ld-script-mode): Likewise.
8272 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
8274         * window.el (display-buffer-alist): Trim default value to avoid
8275         popping up a new frame (Bug#8857) or reusing an arbitrary window
8276         on another frame.
8277         (display-buffer): Do not fall back on popping up a new frame in
8278         batch mode (Bug#8857).
8280 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
8282         * cus-theme.el (describe-theme-1): Use custom-theme-p.
8283         (custom-theme-summary): New function.
8284         (customize-themes): Use it.
8286 2011-06-13  Glenn Morris  <rgm@gnu.org>
8288         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8290 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
8292         * help.el (help-window): Remove variable.
8293         (help-window-point-marker, temp-buffer-max-height)
8294         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8295         (help-print-return-message): Don't set help-window.
8296         (resize-temp-buffer-window): Rewrite cod eand doc-string.
8297         (help-window-setup-finish): Remove.
8298         (help-window-display-message, help-window-setup)
8299         (with-help-window): Major rewrite based on new
8300         display-buffer-window variable.
8302         * help-mode.el (help-mode-finish): Remove help-window related
8303         code.
8305         * view.el (view-exits-all-viewing-windows): Remove reference to
8306         view-return-to-alist in doc-string.
8307         (view-return-to-alist): Make obsolete.
8308         (view-buffer): Call pop-to-buffer-same-window and remove
8309         undo-window code.
8310         (view-buffer-other-window): Call pop-to-buffer-other-window and
8311         simplify code.  Ignore second argument.
8312         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8313         simplify code.  Ignore second argument.
8314         (view-return-to-alist-update): Make obsolete.
8315         (view-mode-enter): Rename second argument to QUIT-RESTORE.
8316         Rewrite using quit-restore window parameters.
8317         (view-mode-exit): Rename second argument to EXIT-ONLY.
8318         Rewrite using quit-restore-window.
8319         (View-exit, View-exit-and-edit, View-leave, View-quit)
8320         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8321         appropriate arguments.
8322         (view-end-message): Use quit-restore window parameter.
8324         * window.el (display-buffer-function): Rewrite doc-string.
8325         (display-buffer-window, display-buffer-alist): New variables.
8326         (display-buffer-split-specifiers)
8327         (display-buffer-side-specifiers)
8328         (display-buffer-macro-specifiers): New constants.
8329         (display-buffer-even-window-sizes, display-buffer-set-height)
8330         (display-buffer-set-width, display-buffer-select-window)
8331         (display-buffer-in-window, display-buffer-reuse-window)
8332         (display-buffer-split-window-1, display-buffer-split-window)
8333         (display-buffer-split-atom-window, display-buffer-pop-up-window)
8334         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8335         (display-buffer-in-side-window, normalize-buffer-to-display)
8336         (display-buffer-normalize-specifiers-1)
8337         (display-buffer-normalize-specifiers-2)
8338         (display-buffer-normalize-specifiers, display-buffer-frame):
8339         New functions.
8340         (display-buffer): Major rewrite.
8341         (display-buffer-other-window, display-buffer-other-frame)
8342         (pop-to-buffer, switch-to-buffer-other-window)
8343         (switch-to-buffer-other-frame): Rewrite.
8344         (display-buffer-same-window, display-buffer-same-frame)
8345         (display-buffer-same-frame-other-window)
8346         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8347         (pop-to-buffer-other-window)
8348         (pop-to-buffer-same-frame-other-window)
8349         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8350         (switch-to-buffer-other-window-same-frame): New functions.
8351         (same-window-p, special-display-p): Rewrite disabling warnings.
8352         Make obsolete.
8353         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8354         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8355         Make obsolete
8356         (same-window-buffer-names, same-window-regexps)
8357         (special-display-frame-alist, special-display-popup-frame)
8358         (special-display-function, special-display-buffer-names)
8359         (special-display-regexps, pop-up-frame-alist)
8360         (pop-up-frame-function, split-window-preferred-function)
8361         (split-height-threshold, split-width-threshold)
8362         (even-window-heights): Make obsolete.
8364 2011-06-12  Glenn Morris  <rgm@gnu.org>
8366         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
8367         Misc simplifications.
8369 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
8371         * window.el (window-safely-shrinkable-p): Restore function which
8372         was inadvertently removed in change from 2011-06-11.  Declare as
8373         obsolete.
8375         * calendar/calendar.el (calendar-generate-window):
8376         Use window-iso-combined-p instead of combination of one-window-p and
8377         window-safely-shrinkable-p.
8379 2011-06-12  Glenn Morris  <rgm@gnu.org>
8381         * progmodes/fortran.el (fortran-mode-syntax-table):
8382         * progmodes/f90.el (f90-mode-syntax-table):
8383         Set % to punctuation.  (Bug#8820)
8384         (f90-find-tag-default): Remove, no longer needed.
8386 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
8388         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8390 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
8392         * image.el (image-animated-p): Return animation delay in seconds.
8393         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8394         (image-animate-timeout): Remove DELAY argument.  Don't assume
8395         every subimage has the same delay; get it from image-animated-p.
8396         (image-animate): Caller changed.
8398 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
8400         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8401         to ignored backtrace functions.
8403 2011-06-11  Glenn Morris  <rgm@gnu.org>
8405         * calendar/appt.el (appt-disp-window-function): Doc fix.
8406         (appt-check): Handle overlapping appointments.  (Bug#8337)
8408 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
8410         * window.el (window-tree-1, window-tree): New functions, moving
8411         the latter to window.el.
8412         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8413         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8414         (bw-refresh-edges): Remove.
8415         (balance-windows-1, balance-windows-2): New functions.
8416         (balance-windows): Rewrite in terms of window tree functions,
8417         balance-windows-1 and balance-windows-2.
8418         (bw-adjust-window): Remove.
8419         (balance-windows-area-adjust): New function with functionality of
8420         bw-adjust-window but using resize-window.
8421         (set-window-text-height): Rewrite doc-string.
8422         Use normalize-live-window and resize-window.
8423         (enlarge-window-horizontally, shrink-window-horizontally):
8424         Rename argument to DELTA.
8425         (window-buffer-height): New function.
8426         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8427         Rewrite using new window resize routines.
8428         (kill-buffer-and-window, mouse-autoselect-window-select):
8429         Use ignore-errors instead of condition-case.
8430         (quit-window): Call delete-frame instead of delete-windows-on
8431         for the only buffer on frame.
8433 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8435         * loadup.el (top-level): Load window before files for the sake
8436         of replace-buffer-in-windows.
8438         * files.el (read-buffer-to-switch)
8439         (switch-to-buffer-other-window)
8440         (switch-to-buffer-other-frame, display-buffer-other-frame):
8441         Move to window.el.
8443         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8444         (previous-buffer): Move to window.el.
8446         * bindings.el (unbury-buffer): Move to window.el.
8448         * window.el (delete-other-windows-vertically): Move after
8449         definition of delete-other-windows.
8450         (other-window, delete-windows-on, replace-buffer-in-windows):
8451         Move here from window.c.
8452         (record-window-buffer, unrecord-window-buffer)
8453         (set-window-buffer-start-and-point, switch-to-prev-buffer)
8454         (switch-to-next-buffer): New functions.
8455         (get-next-valid-buffer, last-buffer, next-buffer): Move here
8456         from simple.el.  Call switch-to-next-buffer.
8457         (previous-buffer): Move here from simple.el.
8458         Call switch-to-prev-buffer.
8459         (bury-buffer): Move here from buffer.c.  Switch to previous
8460         buffer when window cannot be deleted.
8461         (unbury-buffer): Move here from bindings.el.
8462         (ctl-x-map): Move binding for other-window from window.c to
8463         here.
8464         (read-buffer-to-switch, switch-to-buffer-other-window)
8465         (switch-to-buffer-other-frame): Move here from files.el.
8466         (normalize-buffer-to-switch-to): New functions.
8467         (switch-to-buffer): Move here from buffer.c.
8468         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8470 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8472         * window.el (window-min-height, window-min-width): Move here
8473         from window.c.  Add defcustoms and rewrite doc-strings.
8474         (resize-mini-window, resize-window): New functions.
8475         (adjust-window-trailing-edge, enlarge-window, shrink-window):
8476         Move here from window.c.
8477         (maximize-window, minimize-window): New functions.
8478         (delete-window, delete-other-windows, split-window): Move here
8479         from window.c.
8480         (window-split-min-size): New function.
8481         (split-window-keep-point): Mention split-window-above-each-other
8482         instead of split-window-vertically.
8483         (split-window-above-each-other, split-window-vertically):
8484         Rename split-window-vertically to split-window-above-each-other
8485         and provide defalias for old definition.
8486         (split-window-side-by-side, split-window-horizontally):
8487         Rename split-window-horizontally to split-window-side-by-side
8488         and provide defalias for the old definition.
8489         (ctl-x-map): Move bindings for delete-window,
8490         delete-other-windows and enlarge-window here from window.c.
8491         Replace bindings for split-window-vertically and
8492         split-window-horizontally by bindings for
8493         split-window-above-each-other and split-window-side-by-side.
8495         * cus-start.el (all): Remove entries for window-min-height and
8496         window-min-width.  Add entries for window-splits and
8497         window-nest.
8499 2011-06-09  Glenn Morris  <rgm@gnu.org>
8501         * calendar/appt.el (appt-mode-line): New function.
8502         (appt-check, appt-disp-window): Use it.
8504         * files.el (hack-one-local-variable-eval-safep):
8505         Allow minor-modes with explicit +/-1 arguments.
8507 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
8509         * term/xterm.el (xterm): Add defgroup.
8510         (xterm-extra-capabilities): Add defcustom to supply known xterm
8511         capabilities, skip querying them, or query them (default).
8512         (terminal-init-xterm): Use it.
8513         (terminal-init-xterm-modify-other-keys): New function to set up
8514         modifyOtherKeys support to simplify `terminal-init-xterm'.
8516 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
8518         * window.el (resize-window-reset, resize-window-reset-1)
8519         (resize-subwindows-skip-p, resize-subwindows-normal)
8520         (resize-subwindows, resize-other-windows, resize-this-window)
8521         (resize-root-window, resize-root-window-vertically)
8522         (window-deletable-p, window-or-subwindow-p)
8523         (frame-root-window-p): New functions.
8525 2011-06-09  Glenn Morris  <rgm@gnu.org>
8527         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8528         (ange-ftp-get-files): Use it.
8530 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8532         * mail/sendmail.el (mail-recover-1, mail-recover):
8533         * files.el (recover-file, recover-session):
8534         Handle dired-listing-switches not being just a single short option.
8536 2011-06-09  Glenn Morris  <rgm@gnu.org>
8538         * calendar/appt.el (appt-display-message, appt-disp-window):
8539         Handle lists of appointments.
8541 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8543         * window.el (one-window-p): Move down in code.
8544         Rewrite doc-string.
8545         (window-current-scroll-bars): Rewrite doc-string.
8546         Normalize live window argument.
8547         (walk-windows, get-window-with-predicate, count-windows):
8548         Rewrite doc-string.  Use window-list-1.
8549         (window-in-direction-2, window-in-direction, get-mru-window):
8550         New functions.
8552 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8554         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8555         Doc fix (Bug#8713).
8557 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8559         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8561 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8563         * loadhist.el (unload-feature-special-hooks):
8564         Add `comint-output-filter-functions'.
8566 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8568         * calendar/appt.el (appt-check): Move some initializations into the let.
8570 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8572         * window.el (window-height): Defalias to window-total-height.
8573         (window-width): Defalias to window-body-width.
8575 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8577         * image-mode.el (image-toggle-animation): New command.
8578         (image-mode-map): Bind it to RET.
8579         (image-mode): Update message.
8580         (image-toggle-display-image): Avoid a spurious cache flush.
8581         (image-transform-rotation): Doc fix.
8582         (image-transform-properties): Return quickly in the normal case.
8583         (image-animate-loop): Rename from image-animate-max-time.
8585         * image.el (image-animate-max-time): Move to image-mode.el.
8586         (create-animated-image): Remove unnecessary function.
8587         (image-animate): Rename from image-animate-start.  New arg.
8588         (image-animate-stop): Remove; just use image-animate-timer.
8589         (image-animate-timer): Use car-safe.
8590         (image-animate-timeout): Rename argument.
8592 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8594         * window.el (get-lru-window, get-largest-window): Move here from
8595         window.c.  Rename first argument to ALL-FRAMES.
8596         Rephrase doc-strings.
8597         (get-buffer-window-list): Rewrite using window-list-1.
8598         Rephrase doc-string.
8599         (window-safe-min-height, window-safe-min-width): New constants.
8600         (window-size-ignore, window-min-size, window-min-size-1)
8601         (window-sizable, window-sizable-p, window-size-fixed-1)
8602         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8603         (window-max-delta-1, window-max-delta, window-resizable)
8604         (window-resizable-p, window-total-height, window-total-width)
8605         (window-body-width): New functions.
8606         (window-full-height-p, window-full-width-p): Rewrite using
8607         window-total-size.
8608         (window-body-height): Rewrite using window-body-size.
8610 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8612         * window.el (window-right, window-left, window-child)
8613         (window-child-count, window-last-child, window-any-p)
8614         (normalize-live-buffer, normalize-live-frame)
8615         (normalize-any-window, normalize-live-window)
8616         (window-iso-combination-p, window-iso-combined-p)
8617         (window-iso-combinations)
8618         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8619         (windows-with-parameter, window-with-parameter)
8620         (window-atom-root, make-window-atom, window-atom-check-1)
8621         (window-atom-check, window-side-check, window-check):
8622         New functions.
8623         (ignore-window-parameters, window-sides, window-sides-vertical)
8624         (window-sides-slots): New variables.
8625         (window-size-fixed): Move down in code.  Minor doc-string fix.
8627 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8629         * comint.el (comint-dynamic-complete-as-filename)
8630         (comint-dynamic-complete-filename): Correctly call
8631         completion-in-region.
8633 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8635         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8636         in last change.
8638 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8640         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8641         (rcirc): Use it to prompt for encryption.
8643 2011-06-05  Roland Winkler  <winkler@gnu.org>
8645         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8646         (bibtex-search-entries): New command bound to C-c C-a.
8647         (bibtex-display-entries): New function.
8649 2011-06-05  Roland Winkler  <winkler@gnu.org>
8651         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8652         (bibtex-insert-kill): After yanking insert newline if necessary.
8653         (bibtex-initialize): Call bibtex-string-files-init only once.
8654         (bibtex-mode): Do not call easy-menu-add.
8655         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8656         (bibtex-yank): Set arg properly if nil.
8658 2011-06-05  Roland Winkler  <winkler@gnu.org>
8660         * textmodes/bibtex.el (bibtex-search-entry-globally):
8661         New variable.
8662         (bibtex-search-entry): Use it.
8664 2011-06-05  Roland Winkler  <winkler@gnu.org>
8666         * textmodes/bibtex.el (bibtex-entry-format): New option
8667         sort-fields.
8668         (bibtex-format-entry, bibtex-reformat): Honor this option.
8669         (bibtex-parse-entry): Return fields in proper order.
8671 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8673         * doc-view.el (doc-view-remove-if): Move computation of result out
8674         of `dolist' to silence misleading lexical-binding warning.
8676 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8678         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8679         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8681 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8683         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8684         "SunOS 5.10".
8686 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8688         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8689         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8690         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8691         (tramp-parse-putty):
8692         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8693         (tramp-completion-function-alist-ssh)
8694         (tramp-completion-function-alist-telnet)
8695         (tramp-completion-function-alist-su)
8696         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8697         cookie.
8699         * net/tramp-ftp.el:
8700         * net/tramp-sh.el:
8701         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8702         load "tramp.el" `tramp-set-completion-function'.
8704 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8706         * shell.el: Require and use pcomplete.
8707         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8708         (shell-completion-vars): Set pcomplete-default-completion-function.
8710 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8712         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8713         `memq' (Bug#8799).
8715 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8717         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8719 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8721         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8722         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8723         * vc/log-view.el (log-view-beginning-of-defun):
8724         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8725         (smerge-refine-forward, smerge-refine-chopup-region):
8726         Silence warning for unused `dotimes' counter variables.
8728 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8730         * net/tramp.el (tramp-with-progress-reporter): Rename from
8731         with-progress-reporter.  Use `declare'.
8732         * net/tramp-smb.el:
8733         * net/tramp-sh.el:
8734         * net/tramp-gvfs.el: Update all uses.
8736 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8738         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8739         buffer isn't killed before making it current.
8741 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8743         Silence various byte-compiler warnings.
8744         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8745         `access-type' and new obsolescence format.
8746         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8747         new format.
8748         (byte-compile-check-variable): New `access-type' argument.
8749         Only warn if the access-type is obsolete.
8750         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8751         (byte-compile-variable-set): Adjust callers.
8752         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8753         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8754         setting it as obsolete.
8755         * simple.el (minibuffer-completing-symbol):
8756         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8757         access as obsolete.
8758         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8759         obsolete yet.
8760         * international/quail.el (quail-mouse-choose-completion): Remove unused
8761         code referring to obsolete var.
8762         (quail-choose-completion-string): Remove.
8763         * server.el (server-clients-with, server-kill-buffer-query-function)
8764         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8765         * proced.el (proced-send-signal):
8766         * emacs-lisp/lisp.el (lisp-complete-symbol):
8767         Replace completion-annotate-function with completion-extra-properties.
8769 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8771         * simple.el (goto-line): Use read-number.
8772         (overriding-map-is-bound): Remove.
8773         (saved-overriding-map): Change default.
8774         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8775         Take the map as argument.
8776         (universal-argument, negative-argument, digit-argument): Use it.
8777         (restore-overriding-map): Adjust.
8778         (do-auto-fill): Use fill-forward-paragraph.
8779         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8781         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8782         (minibuffer-inactive-mode): New major mode.
8783         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8784         the *Messages* buffer" hack.
8785         (mouse-popup-menubar): Don't burp if the event is a normal key.
8787         Miscellaneous tweaks.
8788         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8789         lexical scoping as in subr.el's dolist and dotimes.
8790         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8791         Silence compiler warning.
8792         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8793         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8794         * international/ccl.el (ccl-compile): Trivial simplification.
8795         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8796         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8797         `printflag' argument.
8798         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8799         Purecopy the whole obsolescence data.
8801 2011-06-01  Leo Liu  <sdl.web@gmail.com>
8803         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8804         improve doc-string as suggested by Marco Pessotto
8805         <melmothx@gmail.com>.
8806         (rcirc-print): Fix last change.
8808 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8810         * minibuffer.el (complete-with-action): Return nil for the metadata and
8811         boundaries of non-functional tables.
8812         (completion-table-dynamic): Return nil for the metadata.
8813         (completion-table-with-terminator): Add default case, using
8814         complete-with-action.
8815         (completion--metadata): New function.
8816         (completion-all-sorted-completions, minibuffer-completion-help): Use it
8817         to try and avoid pathological performance problems.
8818         (completion--embedded-envvar-table): Return `category' metadata.
8820 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8822         * subr.el (process-alive-p): New tiny convenience function.
8824 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8826         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8827         content but also its previous major mode.
8829 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
8831         * emacs-lisp/debug.el (debug): Restore the previous content of the
8832         *Backtrace* buffer when we exit with C-M-c.
8834 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8836         * minibuffer.el: Add metadata method to completion tables.
8837         (completion-category-overrides): New defcustom.
8838         (completion-metadata, completion--field-metadata)
8839         (completion-metadata-get, completion--styles)
8840         (completion--cycle-threshold): New functions.
8841         (completion-try-completion, completion-all-completions):
8842         Add `metadata' argument to choose completion-styles.
8843         (completion--do-completion): Use metadata to choose cycling.
8844         (completion-all-sorted-completions): Use metadata for sorting.
8845         Remove :completion-cycle-penalty which is not needed any more.
8846         (completion--try-word-completion): Add `metadata' argument.
8847         (minibuffer-completion-help): Check metadata for annotation function
8848         and sorting.
8849         (completion-file-name-table): Return `category' metadata.
8850         (minibuffer-completing-file-name): Make obsolete.
8851         * simple.el (minibuffer-completing-symbol): Make obsolete.
8852         * icomplete.el (icomplete-completions): Pass new `metadata' param to
8853         completion-try-completion.
8855 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8857         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8859 2011-05-30  Leo Liu  <sdl.web@gmail.com>
8861         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8862         (rcirc-print): Decode all incoming messages (bug#8744).
8863         (rcirc-decode-coding-system): Allow value nil for automatic coding
8864         system detection.
8866 2011-06-01  Glenn Morris  <rgm@gnu.org>
8868         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8870 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8872         * image.el (image-animate-max-time): Allow nil and t values.
8873         Default to nil.
8874         (create-animated-image): Doc fix.
8875         (image-animate-start): Remove second arg; just use
8876         image-animate-max-time.
8877         (image-animate-timeout): Doc fix.  Args changed.
8879         * image-mode.el (image-toggle-display-image): Ensure that the
8880         image spec passed to the animate timer is the same object as in
8881         the buffer's display property (Bug#6981).
8882         (image-transform-properties): Doc fix.
8884         * image.el (image-animate-max-time): Default to nil.
8886 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
8888         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8889         entire buffer list (Bug#8184).
8891 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8893         * image.el (imagemagick-types-inhibit)
8894         (imagemagick-register-types): Doc fix.
8896 2011-05-29  Deniz Dogan  <deniz@dogan.se>
8898         * net/rcirc.el (rcirc): Use the user's stored encryption method by
8899         default.
8901 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8903         * select.el: Don't perform clipboard-manager saving in hooks;
8904         leave the hooks empty.
8906 2011-05-28  Leo Liu  <sdl.web@gmail.com>
8908         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8909         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
8910         (occur-edit-mode): New major mode (Bug#8463).
8911         (occur-after-change-function): New function.
8912         (occur-engine): Give Occur tags a read-only property.
8914 2011-05-28  Kevin Ryde  <user42@zip.com.au>
8916         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8918 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8920         * bindings.el (help-echo): Make the initial non-indicator dash
8921         empty on graphical terminals (Bug#7295).
8923         * files.el (auto-mode-alist): Move config rule after the
8924         in-stripping one (Bug#8547).
8926         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8928         * startup.el (normal-splash-screen): Remove gratuitous mode-line
8929         setting (Bug#8740).
8931 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
8933         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8934         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8935         (Bug#8539).
8937 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8939         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8941 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
8943         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8944         (hs-hide-block-at-point, hs-find-block-beginning)
8945         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8946         (Bug#8279).
8948 2011-05-28  Glenn Morris  <rgm@gnu.org>
8950         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
8952 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
8954         * help-fns.el (describe-function-1): If the function is a derived
8955         major mode, print the parent mode.
8957         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8958         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8960 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8962         * minibuffer.el (completion--capf-wrapper): Check applicability before
8963         returning non-nil for non-exclusive completion data.
8964         * progmodes/etags.el (tags-completion-at-point-function):
8965         * info-look.el (info-lookup-completions-at-point): Mark as
8966         non-exclusive.
8967         (info-complete): Adjust accordingly.
8969         * info-look.el: Convert to lexical-binding and completion-at-point.
8970         (info-lookup-completions-at-point): New function.
8971         (info-complete): Use it and completion-in-region.
8973 2011-05-28  Drew Adams  <drew.adams@oracle.com>
8975         * isearch.el: Let M-e start with point at the first mismatched char.
8976         (isearch-fail-pos): New function.
8977         (isearch-edit-string): Use it.
8979 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
8981         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8983 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
8985         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
8986         traversal functions for avl-trees.
8987         (avl-tree--stack): New struct.
8988         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8989         (avl-tree-enter): Add optional `updatefun' arg.
8990         (avl-tree--do-enter): Add optional `updatefun' arg.
8991         Change return value.
8992         (avl-tree-delete): Add optional `test' and `nilflag' args.
8993         (avl-tree--do-delete): Add `test' and `nilflag' args.
8994         Change return value.
8995         (avl-tree-member): Add optional `nilflag'
8996         (avl-tree-member-p): New function.
8997         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8998         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8999         (avl-tree-stack-empty-p): New functions.
9001         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9002         avl-tree--del-balance1 and make it work both ways.
9003         (avl-tree--del-balance2): Remove.
9004         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9005         make it work both ways.
9006         (avl-tree--enter-balance2): Remove.
9007         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9008         New macros.
9009         (avl-tree--mapc, avl-tree-map): Add direction argument.
9011 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
9013         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9015 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
9017         * select.el: Support clipboard managers with built-in function
9018         x-clipboard-manager-save, via delete-frame-functions and
9019         kill-emacs-hook.
9020         (xselect-convert-to-targets): Add MULTIPLE target to list.
9021         (xselect-convert-to-save-targets): New function.
9023 2011-05-27  Kenichi Handa  <handa@m17n.org>
9025         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9026         let-binding rfc2047-encode-encoded-words to nil.
9028 2011-05-27  Glenn Morris  <rgm@gnu.org>
9030         * mail/emacsbug.el: Don't require url-util.
9032         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
9034         * files.el (set-auto-mode):
9035         Also respect mode: entries at the end of the file.  (Bug#8586)
9037 2011-05-26  Glenn Morris  <rgm@gnu.org>
9039         * files.el (hack-local-variables-prop-line, hack-local-variables):
9040         Downcase mode names, as seems to be traditional.
9041         (hack-local-variables, hack-local-variables-apply): Doc fixes.
9043         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9044         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
9046 2011-05-25  Julien Danjou  <julien@danjou.info>
9048         * textmodes/rst.el (rst-define-level-faces): Do not define face
9049         symbol if it is already defined.
9051 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9053         * play/5x5.el (5x5-new-game, 5x5-randomize):
9054         Reset 5x5-solver-output to nil when a new grid is cast.
9055         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9056         these debugging traces, as defmacro breaks the compiled code.
9058 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9060         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9062 2011-05-24  Leo Liu  <sdl.web@gmail.com>
9064         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9065         (vc-bzr-sha1): Adapt.
9067         * sha1.el: Remove.  Function `sha1' is now builtin.
9069         * bindings.el: Provide sha1 feature.
9071 2011-05-24  Kenichi Handa  <handa@m17n.org>
9073         * mail/sendmail.el: Require `rfc2047'.
9074         (mail-insert-from-field): Do not perform RFC2047 encoding.
9075         (mail-encode-header): New function.
9076         (sendmail-send-it): Set buffer-file-coding-system of the work
9077         buffer to the return value of select-message-coding-system.
9078         Call mail-encode-header.
9080         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9082 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
9084         * mail/supercite.el (sc-default-cite-frame):
9085         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9087 2011-05-24  Glenn Morris  <rgm@gnu.org>
9089         * progmodes/python.el (brm-menu): Declare.
9091         * emulation/viper.el (viper-set-hooks): Declare.
9093         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9094         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9095         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9096         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9097         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9098         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9100 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9102         Add an :exit-function for completion-at-point.
9104         * minibuffer.el (completion--done): New fun.
9105         (completion--do-completion): Use it.  New arg `expect-exact'.
9106         (minibuffer-complete, minibuffer-complete-word): Don't output message,
9107         since completion--do-completion does it for us now.
9108         (minibuffer-force-complete): Use completion--done and
9109         completion--replace.  Handle sole-completion case with more care.
9110         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9111         (completion-extra-properties): New var.
9112         (completion-annotate-function): Make obsolete.
9113         (minibuffer-completion-help): Adjust accordingly.
9114         Use completion-list-insert-choice-function.
9115         (completion-at-point, completion-help-at-point):
9116         Bind completion-extra-properties.
9117         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9118         * simple.el (completion-list-insert-choice-function): New var.
9119         (completion-setup-function): Preserve it.
9120         (choose-completion): Pay attention to it, shuffle the code a bit.
9121         (choose-completion-string): New arg `insert-function'.
9123         * textmodes/bibtex.el: Convert to lexical binding.
9124         (bibtex-mode-map): Use completion-at-point.
9125         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9126         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9127         (bibtex-complete): Define as obsolete alias.
9128         (bibtex-complete-internal): Remove.
9129         (bibtex-format-entry): Remove unused sub-group in regexp.
9130         * shell.el (shell--command-completion-data)
9131         (shell-environment-variable-completion):
9132         * pcomplete.el (pcomplete-completions-at-point):
9133         * comint.el (comint--complete-file-name-data): Use :exit-function
9134         instead of completion-table-with-terminator so it also works for
9135         choose-completion.
9137 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9139         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9141         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9142         (bug#8710).
9144         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9146 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
9148         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9149         customization variable and implement: If non-nil, auto-fill will
9150         be inhibited while on topic's header line.
9152 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9154         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9155         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
9156         always have a solution in grid size = 5 cases.
9157         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9158         (5x5-solver-output, 5x5-log-buffer): New vars.
9159         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9160         Make these variables buffer local to achieve 5x5 multi-session-ness.
9161         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9162         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9163         (5x5-solve-suggest): New funs.
9164         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9165         randomize a grid so that we ensure that there is always a solution.
9166         (5x5-make-random-grid): Allow other movement than flipping.
9168 2011-05-23  Kevin Ryde  <user42@zip.com.au>
9170         * emacs-lisp/advice.el (ad-read-advised-function):
9171         Use `function-called-at-point' as the default, if it has
9172         advice and passes PREDICATE.
9174 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9176         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9177         byte-compile-lambda if it's actually a lambda.
9179         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9180         Fix function quoting.  Use backquote better.
9182 2011-05-22  Yuanle Song  <sylecn@gmail.com>
9184         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9185         matching (Bug#8516).
9187 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
9189         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9190         different face (Bug#8178).
9192 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
9194         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9195         defface (Bug#8144).
9197 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9199         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9200         funcall as well (bug#8712).  Warn when performing those conversions.
9201         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9203         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9205 2011-05-22  Glenn Morris  <rgm@gnu.org>
9207         * files.el (hack-local-variables-prop-line): Small simplifications.
9208         (hack-local-variables, hack-local-variables-prop-line):
9209         If MODE-ONLY, return the mode, rather than just `t'.
9211 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9213         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9215 2011-05-21  Glenn Morris  <rgm@gnu.org>
9217         * files.el (hack-local-variables-prop-line, hack-local-variables):
9218         If only interested in the mode, don't bother doing the other stuff.
9220         * image-mode.el (image-after-revert-hook):
9221         Redraw all frames on which the image is visible.  (Bug#8567)
9223         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
9225         * wid-edit.el (widget-checklist-match-inline):
9226         Fix 2011-04-19 change.  (Bug#8649)
9228 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9230         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9231         Also allow singlespace after single-letter capitals followed by a dot.
9233         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9234         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9236 2011-05-20  Nix  <nix@esperi.org.uk>
9238         * files.el (basic-save-buffer-2):
9239         Fix handling of break-hardlink-on-save with non-existent files.
9241 2011-05-19  Deniz Dogan  <deniz@dogan.se>
9243         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9244         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9246 2011-05-19  Glenn Morris  <rgm@gnu.org>
9248         * progmodes/f90.el (f90-type-def-re):
9249         Handle "type, bind(c)".  (Bug#8691)
9251         * emacs-lisp/autoload.el (batch-update-autoloads):
9252         Set autoload-excludes by parsing loadup.el rather than Makefiles.
9254 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
9256         * net/tramp.el (tramp-process-actions): Set "first-password-request"
9257         property for the correct connection in case of multihops.
9259 2011-05-18  Glenn Morris  <rgm@gnu.org>
9261         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9262         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9264         Rationalize calendar handling of day and month abbrev-arrays.
9265         * calendar/calendar.el (calendar-customized-p): New function.
9266         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9267         (calendar-day-name-array, calendar-month-name-array): Doc fix.
9268         Add :set function.
9269         (calendar-abbrev-length, calendar-day-abbrev-array)
9270         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9271         (calendar-day-abbrev-array, calendar-month-abbrev-array):
9272         Elements may no longer be nil.
9273         (calendar-day-name, calendar-month-name):
9274         Update for changed nature of abbrev arrays.
9275         * calendar/diary-lib.el (diary-name-pattern):
9276         Update for changed nature of abbrev arrays.
9277         (diary-mark-entries-1): Update calendar-make-alist calls.
9278         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9279         * calendar/cal-html.el (cal-html-day-abbrev-array):
9280         Simply inherit from calendar-day-abbrev-array.
9282 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9284         * progmodes/grep.el (grep-mode): Disable default
9285         compilation-directory-matcher setting (bug#8684).
9287 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
9289         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9290         instead of "head" and "tail".  There were problems with SunOS 5.9,
9291         and it performs better.
9293 2011-05-17  Glenn Morris  <rgm@gnu.org>
9295         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9297         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9298         Replace obsolete function.
9300         * shell.el (pcomplete-parse-arguments-function): Declare.
9302         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9303         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9304         (appt-check): Doc fixes.
9305         (appt-disp-window-function, appt-delete-window-function):
9306         Remove needless special case in custom :type.
9307         (appt-display-count): Default to 0, not nil.
9308         (appt-check): Reset appt-display-count to 0, not nil.
9310 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
9312         * progmodes/python.el (python-font-lock-keywords):
9313         Add the Python 3.X keyword "nonlocal" (bug#8639).
9315 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9317         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9319 2011-05-16  Kevin Ryde  <user42@zip.com.au>
9321         * info-look.el (makefile-automake-mode): New setups, looking in
9322         automake manual, then makefile-mode.
9323         (makefile-mode): Remove automake manual, have it just in
9324         makefile-automake-mode since there's various things different or
9325         not relevant to plain make.
9326         (makefile-mode): Remove "other-modes" non-existent automake-mode,
9327         believe a hypothetical automake-mode would go to makefile-mode,
9328         not the other way around.
9330 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
9332         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9333         hunk-end tags (Bug#8672).
9335         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9336         vc-annotate-show-diff-revision-at-line (Bug#8671).
9338 2011-05-14  Glenn Morris  <rgm@gnu.org>
9340         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9341         in the middle of an existing one with multiple authors.  (Bug#8645)
9342         (change-log-font-lock-keywords): Also handle multiple author lines
9343         with leading tabs.  (Bug#8644)
9345         * calendar/appt.el (appt-check): Rename some local variables.
9346         Some simplification/reordering.
9348         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9349         (feedmail-sendmail-f-doesnt-sell-me-out)
9350         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9351         (feedmail-debug-sit-for, feedmail-queue-express-hook)
9352         (feedmail-queue-runner-message-sender): Set :version.
9353         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9354         (bbdb-dwim-net-address, vm-mail): Declare.
9355         (feedmail-binmail-gnulinuxish-template):
9356         Rename from feedmail-binmail-linuxish-template.
9357         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9358         Use insert-buffer-substring.
9360 2011-05-14  Bill Carpenter  <bill@carpenter.org>
9362         * mail/feedmail.el (feedmail-patch-level): Increase.
9363         (feedmail-debug): New custom group.
9364         (feedmail-confirm-outgoing-timeout)
9365         (feedmail-sendmail-f-doesnt-sell-me-out)
9366         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9367         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9368         (feedmail-sender-line, feedmail-from-line)
9369         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9370         (feedmail-spray-this-address)
9371         (feedmail-spray-address-fiddle-plex-list)
9372         (feedmail-queue-use-send-time-for-date)
9373         (feedmail-queue-use-send-time-for-message-id)
9374         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9375         (feedmail-buffer-eating-function):
9376         Doc fixes.
9377         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9378         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9379         (feedmail-message-action-scroll-down): New functions.
9380         (feedmail-queue-directory, feedmail-queue-draft-directory):
9381         Use expand-file-name.
9382         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9383         Remove C-v help entry.
9384         (feedmail-queue-buffer-file-name): New variable.
9385         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9386         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9387         (feedmail-message-action-send-strong, feedmail-message-action-edit)
9388         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9389         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9390         (feedmail-message-action-toggle-spray)
9391         (feedmail-run-the-queue-no-prompts)
9392         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9393         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9394         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9395         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9396         (feedmail-envelope-deducer, feedmail-fiddle-from)
9397         (feedmail-fiddle-sender, feedmail-default-date-generator)
9398         (feedmail-fiddle-date, feedmail-fiddle-message-id)
9399         (feedmail-fiddle-spray-address)
9400         (feedmail-fiddle-list-of-spray-fiddle-plexes)
9401         (feedmail-fiddle-list-of-fiddle-plexes)
9402         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9403         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9404         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9405         Change default.  Doc fix.
9406         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9407         (feedmail-binmail-linuxish-template): New constant.
9408         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
9409         Respect feedmail-sendmail-f-doesnt-sell-me-out.
9410         (feedmail-send-it): Add debug call.
9411         Use feedmail-queue-buffer-file-name, and
9412         feedmail-send-it-immediately-wrapper.
9413         (feedmail-message-action-send): Add debug call.
9414         Use feedmail-send-it-immediately-wrapper.
9415         (feedmail-queue-express-to-queue): Add debug call.
9416         Run feedmail-queue-express-hook.
9417         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
9418         (feedmail-message-action-help-blat):
9419         Rename from feedmail-queue-send-edit-prompt-help-first.
9420         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
9421         Check line-endings.  Handle errors better.
9422         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9423         Doc fix.  Add debug call.
9424         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
9425         Use feedmail-queue-send-edit-prompt-inner.
9426         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9427         (feedmail-queue-send-edit-prompt-inner): New function, extracted
9428         from feedmail-queue-send-edit-prompt.
9429         (feedmail-queue-send-edit-prompt-help)
9430         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9431         (feedmail-tidy-up-slug): Add debug call.
9432         Respect feedmail-queue-slug-suspect-regexp.
9433         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9434         (feedmail-dump-message-to-queue): Add debug call.
9435         Expand queue-directory.
9436         (feedmail-dump-message-to-queue): Change message slightly.
9437         Use feedmail-say-chatter.
9438         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
9439         (feedmail-send-it-immediately-wrapper): New function.
9440         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
9441         Insert empty string rather than newline.  Handle full-frame case.
9442         Use catch/throw.  Use feedmail-say-chatter.
9443         (feedmail-fiddle-from): Try mail-host-address.
9444         (feedmail-default-message-id-generator): Doc fix.
9445         Bind system-time-locale.  Handle missing end.
9446         (feedmail-fiddle-x-mailer): Add debug call.
9447         Handle feedmail-x-mailer-line being nil.
9448         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9449         Add debug call.  Use buffer-substring-no-properties.
9450         (feedmail-say-debug, feedmail-say-chatter): New functions.
9451         (feedmail-find-eoh): Give an explicit error.
9453 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
9455         * net/newst-treeview.el (newsticker-treeview-face): Change default
9456         family from helvetica to sans.
9457         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9458         etc/images/newsticker.
9460         * net/newst-reader.el (newsticker-feed-face): Change default
9461         family from helvetica to sans.
9463         * net/newst-plainview.el (newsticker-new-item-face)
9464         (newsticker-old-item-face, newsticker-immortal-item-face)
9465         (newsticker-obsolete-item-face, newsticker-date-face)
9466         (newsticker-statistics-face): Change default family from
9467         helvetica to sans.
9468         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9469         etc/images/newsticker.
9471         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9472         (newsticker--process-auto-mark-filter-match): : Tell user about
9473         auto-marking.
9475 2011-05-13  Didier Verna  <didier@xemacs.org>
9477         Common Lisp indentation improvements on defmethod and lambda-lists.
9478         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9479         TODO entries.
9480         (lisp-lambda-list-keyword-parameter-indentation)
9481         (lisp-lambda-list-keyword-parameter-alignment)
9482         (lisp-lambda-list-keyword-alignment): New customizable user options.
9483         (lisp-indent-defun-method): Improve docstring.
9484         (extended-loop-p): Fix comment.
9485         (lisp-indent-lambda-list-keywords-regexp): New variable.
9486         (lisp-indent-lambda-list): New function.
9487         (lisp-indent-259): Use it.
9488         (lisp-indent-defmethod): Support for more than one
9489         method qualifier and properly indent methods lambda-lists.
9490         (defgeneric): Provide a missing common-lisp-indent-function property.
9492 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9494         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9495         bounds for the empty string (bug#8667).
9497 2011-05-13  Glenn Morris  <rgm@gnu.org>
9499         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9501         * mail/sendmail.el (sendmail-program): Try executable-find first.
9502         (sendmail-send-it): `sendmail-program' cannot be unbound.
9504         * calendar/appt.el (appt-make-list): Simplify.
9505         (appt-time-msg-list): Doc fix.
9506         (appt-check): Change mode-line message at the time of the appointment.
9508 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9510         * progmodes/ld-script.el (ld-script-keywords)
9511         (ld-script-builtins): Update keywords list.
9513 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9515         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9517         * shell.el (shell-completion-vars): New function.
9518         (shell-mode):
9519         * simple.el (read-shell-command): Use it.
9520         (blink-matching-open): No need for " [...]" in minibuffer-message.
9522 2011-05-12  Glenn Morris  <rgm@gnu.org>
9524         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9525         (appt-check): Simplify.
9527 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
9529         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9530         literal "/dev/null".
9532 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9534         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9535         Fix typo.
9537 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
9539         * progmodes/which-func.el (which-function):
9540         Use add-log-current-defun instead of add-log-current-defun-function,
9541         which might not be defined (Bug#8260).
9543 2011-05-12  Glenn Morris  <rgm@gnu.org>
9545         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9546         Let byte-compile-initial-macro-environment always take precedence.
9548 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9550         * net/rcirc.el: Add support for SSL/TLS connections.
9551         (rcirc-server-alist): New field `encryption'.
9552         (rcirc): Check `encryption' settings.
9553         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9554         Merge make-local-variable into `set'.
9555         (rcirc--connection-open-p): New function.
9556         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9557         the process is not a network process (e.g. running gnutls-cli).
9558         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9559         Make rcirc-(en|de)code-coding-system local here.
9560         (rcirc-mode): Merge make-local-variable into `set'.
9561         (rcirc-parent-buffer): Make permanent buffer-local.
9562         (rcirc-multiline-minor-mode): Don't do it here.
9563         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9564         there's no server buffer.
9566 2011-05-11  Glenn Morris  <rgm@gnu.org>
9568         * newcomment.el (comment-kill): Prefix "unused" local.
9570         * term/w32console.el (get-screen-color): Declare.
9572         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9573         Handle symbol elements of byte-compile-initial-macro-environment.
9575 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9577         * bookmark.el (bookmark-bmenu-mode-map):
9578         Bind bookmark-bmenu-search to `/'.
9580         * mail/footnote.el: Convert to utf-8 encoding.
9581         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9582         (Footnote-unicode): New function.
9583         (footnote-style-alist): Add unicode style to the list.
9584         (footnote-style): Doc fix.
9586 2011-05-10  Jim Meyering  <meyering@redhat.com>
9588         Fix doubled-word typos.
9589         * international/quail.el (quail-insert-kbd-layout): and and -> and
9590         * kermit.el: and and -> and
9591         * net/ldap.el (ldap-search-internal): to to -> to
9592         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9593         * progmodes/js.el (js-mode): and and -> and
9594         * textmodes/artist.el (artist-move-to-xy): at at -> at
9595         (artist-draw-region-trim-line-endings): if if -> if
9596         And Safetyc -> Safety.
9597         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9599 2011-05-10  Glenn Morris  <rgm@gnu.org>
9600             Stefan Monnier  <monnier@iro.umontreal.ca>
9602         * files.el (hack-one-local-variable-eval-safep):
9603         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9605 2011-05-10  Glenn Morris  <rgm@gnu.org>
9607         * calendar/diary-lib.el (diary-list-entries-hook)
9608         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9609         (diary-nongregorian-marking-hook, diary-list-entries)
9610         (diary-include-other-diary-files, diary-mark-entries)
9611         (diary-mark-included-diary-files): Doc fixes.
9613 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9615         * misc.el: Require tabulated-list.el during compilation.
9617 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9619         * progmodes/compile.el (compilation-start):
9620         Run compilation-filter-hook for the async case too.
9621         (compilation-filter-hook): Doc fix.
9623 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9625         * wdired.el: Remove outdated installation comment.  Fix usage
9626         comment.
9628 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9630         * misc.el: Implement new command `list-dynamic-libraries'.
9631         (list-dynamic-libraries--loaded-only-p): New variable.
9632         (list-dynamic-libraries--refresh): New function.
9633         (list-dynamic-libraries): New command.
9635 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9637         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9638         Fix the ant regexp to handle end-line and end-column info from jikes.
9639         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9640         higher priority to avoid clobbering by gnu.
9642 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9644         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9645         if the face has existing theme settings (Bug#8454).
9647 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9649         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9650         Only match variables declared via `my' or `our' (Bug#8261).
9652         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9653         special file names `.' and `..' (Bug#8259).
9655 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9657         * progmodes/grep.el (grep-mode-font-lock-keywords):
9658         Remove buffer-changing entries.
9659         (grep-filter): New function.
9660         (grep-mode): Add it to compilation-filter-hook.
9662         * progmodes/compile.el (compilation-filter-hook)
9663         (compilation-filter-start): New defvars.
9664         (compilation-filter): Call compilation-filter-hook prior to
9665         updating the process mark.
9667 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9669         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9671 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9673         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9674         mailclient-send-it even if window-system is nil.  (Bug#8595)
9676         * term/w32console.el (terminal-init-w32console):
9677         Call get-screen-color and use its output to set the frame
9678         background-mode.  (Bug#8597)
9680 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9682         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9683         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9684         New functions.
9685         (defgeneric, eieio--defmethod): Use them.
9686         (eieio-defgeneric): Remove.
9687         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9689 2011-05-07  Glenn Morris  <rgm@gnu.org>
9691         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9692         Use let rather than let*.
9693         (timeclock-find-discrep): Remove unused local.
9695         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9697         * calendar/appt.el (appt-time-msg-list): Doc fix.
9699 2011-05-06  Noah Friedman  <friedman@splode.com>
9701         * apropos.el (apropos-print-doc): Only use
9702         emacs-lisp-docstring-fill-column when it is bound to an integer,
9703         per that variable's documentation.
9705 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9707         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9708         and warnings are not silently discarded (e.g. use -d instead of -P).
9710 2011-05-06  Glenn Morris  <rgm@gnu.org>
9712         * calendar/appt.el (appt-message-warning-time): Doc fix.
9713         (appt-warning-time-regexp): New option.
9714         (appt-make-list): Respect appt-message-warning-time.
9716         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9717         New options.
9718         (diary-add-to-list): Strip comments from the displayed string.
9719         (diary-mode): Set comment-start and comment-end.
9721         * vc/diff-mode.el (smerge-refine-subst): Declare.
9722         (diff-refine-hunk): Don't require smerge-mode when compiling.
9724 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9726         * simple.el (list-processes): Return nil as the docstring says.
9728 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9730         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9731         to "".
9732         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9733         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9734         determining of binary transfer.  (Bug#7383)
9736 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9738         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9739         Fix port computation bug.  (Bug#8618)
9741 2011-05-05  Glenn Morris  <rgm@gnu.org>
9743         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9745         * simple.el (shell-dynamic-complete-functions)
9746         (comint-dynamic-complete-functions): Declare.
9748         * net/network-stream.el (gnutls-negotiate):
9749         * simple.el (tabulated-list-print): Fix declarations.
9751         * progmodes/gud.el (syntax-symbol, syntax-point):
9752         Remove unnecessary and incorrect declarations.
9754         * emacs-lisp/check-declare.el (check-declare-scan):
9755         Handle byte-compile-initial-macro-environment in bytecomp.el
9757 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9759         Fix earlier half-done eieio-defmethod change (bug#8338).
9760         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9761         Streamline and change calling convention.
9762         (defmethod): Adjust accordingly and simplify.
9763         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9764         new eieio--defmethod.
9765         (slot-boundp): Minor CSE simplification.
9767 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9769         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9770         (glasses-make-readable): Use glasses-separate-capital-groups.
9772 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9774         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9775         (warning-series): Doc fix.
9776         (display-warning): Don't try to create the buffer if we just found it.
9778 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9780         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9781         (autoload-find-generated-file): New function.
9782         (generate-file-autoloads): Bind generated-autoload-file to
9783         buffer-file-name.
9784         (update-file-autoloads, update-directory-autoloads):
9785         Use autoload-find-generated-file.  If called interactively, prompt for
9786         output file (Bug#7989).
9787         (batch-update-autoloads): Doc fix.
9789 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9791         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9793 2011-05-04  Glenn Morris  <rgm@gnu.org>
9795         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9796         function, so it follows changes in calendar-date-style.
9797         (diary-fancy-date-matcher): New function.
9798         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9799         (diary-fancy-font-lock-fontify-region-function):
9800         Use diary-fancy-date-pattern as a function.
9802         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9803         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
9805 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
9807         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9808         instead of positional arguments.  Allow :keylist and :crlfiles
9809         arguments.
9810         (open-gnutls-stream): Call it.
9812         * net/network-stream.el (network-stream-open-starttls): Adjust to
9813         call `gnutls-negotiate' with :process and :hostname arguments.
9815 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9817         * minibuffer.el (completion--message): New function.
9818         (completion--do-completion, minibuffer-complete)
9819         (minibuffer-force-complete, minibuffer-complete-word): Use it.
9820         (completion--do-completion): Don't ignore completion-auto-help when in
9821         icomplete-mode.
9823         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9824         internal encoding (e.g. tibetan zero is not whitespace).
9825         (global-whitespace-mode): Prefer save-current-buffer.
9826         (whitespace-trailing-regexp): Remove useless save-match-data.
9827         (whitespace-empty-at-bob-regexp): Minor simplification.
9829 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
9831         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9833 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9835         * textmodes/ispell.el (ispell-add-per-file-word-list):
9836         Use `concat' to create string for insertion.
9838 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9840         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9841         Avoid open-line which runs post-self-insert-hook.
9842         (bibtex-fill-entry): Remove unused `end' var.
9844 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
9846         * textmodes/ispell.el (ispell-add-per-file-word-list):
9847         Protect against `nil' value of `comment-start' (Bug#8579).
9849 2011-05-03  Leo Liu  <sdl.web@gmail.com>
9851         * isearch.el (isearch-yank-pop): New command.
9852         (isearch-mode-map): Bind it to `M-y'.
9853         (isearch-forward): Mention it.
9855 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9857         * simple.el (minibuffer-complete-shell-command): Remove.
9858         (minibuffer-local-shell-command-map): Use completion-at-point.
9859         (read-shell-command): Setup completion vars here instead.
9860         (read-expression-map): Bind TAB to symbol completion.
9862         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9863         error directly rather via storing it into `results'.
9865 2011-05-02  Leo Liu  <sdl.web@gmail.com>
9867         * vc/diff.el: Fix description.
9869 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9871         * server.el (server-eval-at): New function.
9873 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9875         * net/network-stream.el (open-network-stream): Take a :nowait
9876         parameter and pass it on to `make-network-process'.
9877         (network-stream-open-plain): Ditto.
9879 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9881         * faces.el (face-spec-set-match-display): Don't match toolkit
9882         options on terminal frames.
9884 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9886         * progmodes/pascal.el: Use lexical binding.
9887         (pascal-mode-map): Remove author preferences.
9889         * pcomplete.el (pcomplete-std-complete): Don't abuse
9890         completion-at-point.
9892 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9894         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9895         removing code that has been dead since 1991 or so.
9897         * startup.el (command-line): When warning about "_emacs", use a
9898         delayed warning to allow the user to filter it out.
9900 2011-04-28  Deniz Dogan  <deniz@dogan.se>
9902         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9903         user has not joined.
9905 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9907         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9908         aren't any completions at point.
9910 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9912         * subr.el (display-delayed-warnings): New function.
9913         (delayed-warnings-hook): New variable.
9915 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9917         * minibuffer.el (completion-at-point, completion-help-at-point):
9918         Don't presume that a given completion-at-point-function will always
9919         use the same calling convention.
9921         * pcomplete.el (pcomplete-completions-at-point):
9922         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
9923         pcomplete-seen is non-nil.
9924         (pcomplete-comint-setup): Also recognize the new comint/shell
9925         completion functions.
9926         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9927         pcomplete-seen is non-nil.
9929 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
9931         * calendar/icalendar.el (diary-lib): Add require statement.
9932         (icalendar--create-uid): Read out a uid from a text-property on
9933         the first character in the entry.  This allows for code to add its
9934         own uid to the entry.
9935         (icalendar--convert-float-to-ical): Add export of
9936         `diary-float'-entries save for those with the optional DAY
9937         argument.
9939 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
9941         * subr.el (shell-quote-argument): Use alternate escaping strategy
9942         when we spot a variable reference in a string.
9944 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9946         * cus-start.el (all): Define customization for debug-on-event.
9948 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
9950         * subr.el (shell-quote-argument): Escape correctly under Windows.
9952 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9954         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9956 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
9958         * net/tramp.el (tramp-process-actions): Add POS argument.
9959         Delete region between POS and (pos).
9961         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9962         Use `nil' position in `tramp-process-actions' call.
9963         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9965         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9966         position in `tramp-process-actions' call.
9968         * net/trampver.el: Update release number.
9970 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9972         * custom.el (defcustom): Obey lexical-binding.
9974         Fix octave-inf completion problems reported by Alexander Klimov.
9975         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9976         Inherit from octave-mode-syntax-table.
9977         (inferior-octave-mode): Set info-lookup-mode.
9978         (inferior-octave-completion-at-point): New function.
9979         (inferior-octave-complete): Use it and completion-in-region.
9980         (inferior-octave-dynamic-complete-functions): Use it as well, and use
9981         comint-filename-completion.
9982         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9983         symbol elements which shouldn't be word elements.
9984         (octave-font-lock-keywords, octave-beginning-of-defun)
9985         (octave-function-header-regexp): Adjust regexps accordingly.
9986         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9988 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
9990         * net/gnutls.el (gnutls-errorp): Declare before first use.
9992 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
9994         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9995         verify-error, and verify-hostname-error parameters.  Check whether
9996         default trustfile exists before going to use it.  Add missing
9997         argument to gnutls-message-maybe call.  Return value.
9998         Reported by Claudio Bley <claudio.bley@gmail.com>.
9999         (open-gnutls-stream): Add usage example.
10001         * net/network-stream.el (network-stream-open-starttls): Give host
10002         parameter to `gnutls-negotiate'.
10003         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10004         * subr.el (shell-quote-argument): Escape correctly under Windows.
10006 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
10008         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10009         Use correct match group (bug#8438).
10011 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10013         * emacs-lisp/package.el (package-built-in-p): Fix typo.
10014         (package-menu--generate): New arg specifying packages to show.
10015         (package-menu-refresh, package-menu-execute, list-packages):
10016         Callers changed.
10017         (package-show-package-list): New function, replacing deleted
10018         package--list-packages (renamed because it is non-internal).
10020         * finder.el (finder-list-matches): Use package-show-package-list
10021         instead of deleted package--list-packages.
10023         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10024         Based on a previous implementation by Juanma Barranquero (Bug#8366).
10025         (vc-annotate-mode-map): Bind it to RET.
10027 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10029         * progmodes/etags.el (next-file): Don't use set-buffer to change
10030         buffers (Bug#8478).
10032 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10034         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10036         * apropos.el (apropos-label-face): Avoid variable-pitch face.
10037         (apropos-accumulator): Doc fix.
10038         (apropos-function, apropos-macro, apropos-command)
10039         (apropos-variable, apropos-face, apropos-group, apropos-widget)
10040         (apropos-plist): Add face property.
10041         (apropos-symbols-internal): Fix indentation.
10042         (apropos-print): Simplify help, and recognize apropos-multi-type.
10043         (apropos-print-doc): Use button-type-get to extract the button's
10044         face property.  Fill docstring (Bug#8352).
10046 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
10048         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10050         * play/mpuz.el (mpuz-silent): Doc fix.
10051         (mpuz-mode-map): Use mapc.
10052         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10053         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10054         Fix typos in docstrings.
10056         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10057         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10059         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10061 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
10063         * minibuffer.el (completion--do-completion): Avoid the "Next char
10064         not unique" prompt if icomplete-mode is enabled (Bug#5849).
10066         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10067         mouse-2 into unread-command-events, it is interpreted correctly.
10069         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10070         (image-toggle-display): Doc fix.
10072 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
10074         * textmodes/page.el (what-page): Use line-number-at-pos to
10075         calculate line number (Bug#6825).
10077 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10079         * eshell/esh-mode.el (find-tag-interactive): Declare function.
10080         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10081         Pass argument NO-DEFAULT to `find-tag-interactive'.
10083 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10085         Lexical-binding cleanup.
10087         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10088         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10089         * progmodes/ada-prj.el (ada-prj-initialize-values)
10090         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10091         (ada-prj-show-value):
10092         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10093         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10094         (antlr-invalidate-context-cache, antlr-options-menu-filter)
10095         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10096         * progmodes/bug-reference.el (bug-reference-push-button):
10097         * progmodes/fortran.el (fortran-line-length):
10098         * progmodes/glasses.el (glasses-change):
10099         * progmodes/octave-mod.el (octave-fill-paragraph):
10100         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10101         (python-pdbtrack-grub-for-buffer, python-sentinel):
10102         * progmodes/sql.el (sql-save-connection):
10103         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10104         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10105         Mark unused parameters.
10107         * progmodes/compile.el (compilation--flush-directory-cache)
10108         (compilation--flush-parse, compile-internal): Mark unused parameters.
10109         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10110         (compilation-next-error-function): Remove unused variable `timestamp'.
10112         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10113         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10115         * progmodes/dcl-mode.el (dcl-end-of-command):
10116         Remove unused variable `start'.
10117         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10118         (dcl-option-value-basic, dcl-option-value-offset)
10119         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10120         Mark unused parameters.
10121         (dcl-save-local-variable): Remove unused variable `val'.
10122         (mode): Declare.
10124         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10125         Mark unused parameters.
10126         (delphi-ignore-changes): Move before first use.
10127         (delphi-charset-token-at): Remove unused variable `start'.
10128         (delphi-else-start): Remove unused variable `if-count'.
10129         (delphi-comment-block-start, delphi-comment-block-end):
10130         Remove unused variable `kind'.
10131         (delphi-indent-line): Remove unused variable `new-point'.
10133         * progmodes/ebrowse.el (ebrowse-files-list)
10134         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10135         Mark unused parameters.  Don't quote `lambda'.
10136         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10137         Don't quote `lambda'.
10138         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10139         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10140         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10141         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10142         Use `ignore-errors'.
10143         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10144         (ebrowse-view/find-file-and-search-pattern)
10145         (ebrowse-view/find-member-declaration/definition):
10146         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10147         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10148         Rename parameter PREFIX-ARG to PREFIX.
10149         (ebrowse-tags-read-name): Remove unused variables `start' and
10150         `member-info'.
10151         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10152         to `tags-file'.
10154         * progmodes/etags.el (local-find-tag-hook): Declare.
10155         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10156         Mark unused parameters.
10158         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10159         (executable-interpret): Mark unused parameter.
10161         * progmodes/flymake.el (flymake-process-sentinel)
10162         (flymake-after-change-function)
10163         (flymake-create-temp-with-folder-structure)
10164         (flymake-get-include-dirs-dot): Mark unused parameters.
10165         (flymake-safe-delete-directory): Remove unused variable `err'.
10167         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10168         (speedbar-timer-fn, speedbar-line-text)
10169         (speedbar-change-expand-button-char, speedbar-delete-subblock)
10170         (speedbar-center-buffer-smartly): Declare functions.
10171         (gdb-find-watch-expression): Remove unused variable `array'.
10172         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10173         (gdb-starting): Mark unused parameters.
10174         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10175         (gdb-table-string): Remove unused variable `res'.
10176         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10177         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10178         (gdb-display-buffer): Remove unused variable `cur-size'.
10180         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10181         allow lexical-binding compilation.
10182         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10183         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10184         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10185         Mark unused parameters.
10186         (gud-gdb-marker-filter): Remove unused variable `match'.
10187         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10188         lambda expressions and funcall them, instead of using `fset'.
10190         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10191         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10193         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10194         variable `header-beg'; use `let'.
10196         * progmodes/icon.el (indent-icon-exp): Remove unused variables
10197         `restart', `last-sexp' and `at-do'.
10199         * progmodes/js.el (js--debug): Mark unused parameter.
10200         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10201         (js--splice-into-items): Remove unused variable `item'.
10202         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10204         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10205         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10206         (makefile-complete): Remove unused variable `try'.
10207         (makefile-fill-paragraph, makefile-match-function-end):
10208         Mark unused parameters.
10210         * progmodes/octave-inf.el (inferior-octave-complete):
10211         Remove unused variable `proc'.
10212         (inferior-octave-output-digest): Mark unused parameter.
10214         * progmodes/perl-mode.el (perl-calculate-indent):
10215         Remove unused variable `err'.
10217         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10218         (prolog-indent-line): Mark unused parameters.
10219         (prolog-indent-line): Remove unused variable `beg'.
10221         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10222         (reporter-dont-compact-list): Declare.
10224         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10225         Remove unused variable `char'.
10226         (sh-debug): Mark unused parameter.
10227         (sh-get-indent-info): Remove unused variable `start'.
10228         (sh-calculate-indent): Remove unused variable `var'.
10230         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10231         (simula-electric-keyword): Remove unused variable `null'.
10232         (simula-search-backward, simula-search-forward): Remove unused
10233         variables `begin' and `end'.
10235         * progmodes/vera-mode.el (vera-guess-basic-syntax):
10236         Remove unused variable `pos'.
10237         (vera-electric-tab, vera-comment-uncomment-region):
10238         Mark unused parameters.
10239         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10241 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
10243         * emacs-lisp/package.el (package--builtins, package-alist)
10244         (package-load-descriptor, package-built-in-p, package-activate)
10245         (define-package, package-installed-p)
10246         (package-compute-transaction, package-buffer-info)
10247         (package--push): Doc fix.  Distinguish more clearly between
10248         version strings and version lists.
10250 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
10252         Lexical-binding cleanup.
10254         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10255         (5x5-make-mutate-best):
10256         * play/fortune.el (fortune-in-buffer):
10257         * play/gomoku.el (gomoku-init-display):
10258         * play/solitaire.el (solitaire, solitaire-do-check):
10259         * play/tetris.el (tetris-default-update-speed-function):
10260         Mark unused parameters.
10262         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10263         (bubbles--shift): Remove unused variable `char-org'.
10264         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
10265         (bubbles--show-images): Remove unused variable `char'.
10267         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10268         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10269         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10270         (decipher-analyze-buffer): Use ?\s.
10271         (decipher-make-checkpoint): Remove unused variable `mapping'.
10273         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10275         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10276         Remove unused variable `result'; use `let'.
10278         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10279         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10280         (gametree-children-shown-p, gametree-compute-reduced-score):
10281         Use `ignore-errors'.
10283         * play/handwrite.el (ps-lpr-switches): Declare.
10284         (handwrite): Remove unused variables `pmin' and `lastp'.
10286         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10288         * play/landmark.el (landmark-init-display)
10289         (landmark-update-naught-weights): Mark unused parameters.
10290         (landmark-y): Remove unused variable `noise'.  Simplify.
10291         (landmark-human-plays): Remove unused variable `score'.
10293         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10294         (mpuz-try-proposal): Remove unused variable `game'.
10296         * play/zone.el (life-patterns): Declare.
10298 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
10300         * vc/vc.el (ediff-vc-internal): Declare function.
10302 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10304         * shell.el: Use lexical-binding and std completion UI.
10305         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10306         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10307         comint-preoutput-filter-functions rather than on
10308         comint-output-filter-functions.
10309         (shell-command-completion, shell--command-completion-data)
10310         (shell-filename-completion, shell-environment-variable-completion)
10311         (shell-c-a-p-replace-by-expanded-directory): New functions.
10312         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10313         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10314         (shell-dynamic-complete-environment-variable): Use them.
10315         (shell-dynamic-complete-as-environment-variable)
10316         (shell-dynamic-complete-as-command): Remove.
10317         (shell-match-partial-variable): Match past point.
10318         * comint.el: Clean up use of completion-at-point-functions.
10319         (comint-completion-at-point): New function.
10320         (comint-mode): Use it completion-at-point-functions.
10321         (comint-dynamic-complete): Make it obsolete.
10322         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10323         (comint-c-a-p-replace-by-expanded-history): New function.
10324         (comint-dynamic-complete-functions)
10325         (comint-replace-by-expanded-history): Use it.
10326         * minibuffer.el (completion-table-with-terminator): Allow dynamic
10327         termination strings.  Try harder to avoid second try-completion.
10328         (completion-in-region-mode-map): Disable bindings that don't work yet.
10330         * comint.el: Use lexical-binding.  Require CL.
10331         (comint-dynamic-complete-functions): Use comint-filename-completion.
10332         (comint-completion-addsuffix): Tweak custom type.
10333         (comint-filename-completion, comint--common-suffix)
10334         (comint--common-quoted-suffix, comint--table-subvert)
10335         (comint--complete-file-name-data): New functions.
10336         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10337         (comint-dynamic-list-filename-completions): Use them.
10338         (comint-dynamic-simple-complete): Make obsolete.
10340         * minibuffer.el (completion-in-region-mode):
10341         Keep completion-in-region-mode--predicate global.
10342         (completion-in-region--postch):
10343         Assume completion-in-region-mode--predicate is not null.
10345         * progmodes/flymake.el (flymake-start-syntax-check-process):
10346         Obey `dir'.  Simplify.
10348         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10349         we're in VC after all.
10351 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
10353         * vc/vc.el (vc-diff-build-argument-list-internal)
10354         (vc-version-ediff, vc-ediff): New commands.
10355         (vc-version-diff): Use vc-diff-build-argument-list-internal.
10357 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10359         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10360         add sanity check.
10362         * obsolete/erc-hecomplete.el: Make obsolete.
10363         * obsolete/: Standardize obsolescence info in the header.
10365 2011-04-20  Glenn Morris  <rgm@gnu.org>
10367         * calendar/solar.el (solar-horizontal-coordinates):
10368         Use the longitude argument rather than `calendar-longitude'.
10369         (solar-date-next-longitude): Remove unused locals.
10371 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10373         * whitespace.el: New version 13.2.1.
10375 2011-04-20  felix  <EmacsWiki>  (tiny change)
10377         * whitespace.el (global-whitespace-mode): Keep highlight when
10378         switching between major modes on a file.
10380 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10382         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10383         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10384         multi-line comments as well.
10386 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
10388         Lexical-binding cleanup.
10390         * arc-mode.el (archive-mode-revert):
10391         * cmuscheme.el (scheme-interactively-start-process):
10392         * custom.el (custom-initialize-delay):
10393         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10394         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10395         * emacs-lock.el (emacs-lock-clear-sentinel):
10396         * ezimage.el (defezimage):
10397         * follow.el (follow-avoid-tail-recenter):
10398         * fringe.el (set-fringe-mode-1):
10399         * generic-x.el (bat-generic-mode-compile):
10400         * help-mode.el (help-info-variable, help-do-xref)
10401         (help-mode-revert-buffer):
10402         * help.el (view-emacs-todo):
10403         * iswitchb.el (iswitchb-completion-help):
10404         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10405         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10406         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10407         * locate.el (locate-update):
10408         * longlines.el (longlines-encode-region)
10409         (longlines-after-change-function):
10410         * outline.el (outline-isearch-open-invisible):
10411         * ps-def.el (declare-function, charset-dimension, char-width)
10412         (encode-char):
10413         * ps-mule.el (ps-mule-plot-string):
10414         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10415         (recentf-edit-list-select, recentf-edit-list-validate)
10416         (recentf-open-files-action):
10417         * rect.el (delete-whitespace-rectangle-line)
10418         (rectangle-number-line-callback):
10419         * register.el (window-configuration-to-register)
10420         (frame-configuration-to-register):
10421         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10422         * select.el (xselect-convert-to-string, xselect-convert-to-length)
10423         (xselect-convert-to-targets, xselect-convert-to-delete)
10424         (xselect-convert-to-filename, xselect-convert-to-charpos)
10425         (xselect-convert-to-lineno, xselect-convert-to-colno)
10426         (xselect-convert-to-os, xselect-convert-to-host)
10427         (xselect-convert-to-user, xselect-convert-to-class)
10428         (xselect-convert-to-name, xselect-convert-to-integer)
10429         (xselect-convert-to-atom, xselect-convert-to-identity):
10430         * subr.el (declare, ignore, process-kill-without-query)
10431         (text-clone-maintain):
10432         * terminal.el (te-get-char, te-tic-sentinel):
10433         * tool-bar.el (tool-bar-make-keymap):
10434         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10435         * type-break.el (type-break-mode, type-break-noninteractive-query):
10436         * view.el (View-back-to-mark):
10437         * wid-browse.el (widget-browse-action, widget-browse-widget)
10438         (widget-browse-widgets, widget-browse-sexp):
10439         * widget.el (define-widget-keywords):
10440         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10441         Mark unused parameters.
10443         * align.el (align-adjust-col-for-rule): Mark unused parameter.
10444         (align-areas): Remove unused variable `look'.
10445         (align-region): Remove unused variables `real-end' and `pos-list'.
10447         * apropos.el (apropos-score-doc): Remove unused variable `i'.
10449         * bindings.el (mode-line-modified, mode-line-remote):
10450         Mark unused parameters.
10451         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10453         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10454         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10456         * comint.el (comint-history-isearch-pop-state)
10457         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10458         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10459         (comint-substitute-in-file-name): Doc fix.
10461         * completion.el (cmpl-statistics-block): Mark unused parameter.
10462         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10463         (save-completions-to-file, load-completions-from-file):
10464         Remove unused local variable `e'.
10466         * composite.el (compose-chars): Remove unused variable `len'.
10467         (lgstring-insert-glyph): Remove unused variable `g'.
10468         (compose-glyph-string): Remove unused variables `ascent',
10469         `descent', `lbearing' and `rbearing'.
10470         (compose-glyph-string-relative): Remove unused variables
10471         `lbearing', `rbearing' and `wadjust'.
10472         (compose-gstring-for-graphic): Remove unused variables `header',
10473         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
10474         (compose-gstring-for-terminal): Remove unused variables `header'
10475         and `nchars'.  Use `let', not `let*'.
10477         * cus-edit.el (Custom-set, Custom-save, custom-reset)
10478         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10479         (Custom-buffer-done, custom-buffer-create-internal)
10480         (custom-browse-visibility-action, custom-browse-group-tag-action)
10481         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10482         (widget-magic-mouse-down-action, custom-toggle-parent)
10483         (custom-add-parent-links, custom-toggle-hide-variable)
10484         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10485         (custom-toggle-hide-face, face, hook, custom-group-link-action)
10486         (custom-face-menu-create, custom-variable-menu-create, get)
10487         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10488         (custom-reset-standard-save-and-update): Remove unused variable `value'.
10489         (customize-apropos): Remove unused variable `tests'.
10490         (custom-group-value-create): Remove unused variable `hidden-p'.
10491         (sort-fold-case): Declare.
10493         * cus-theme.el (custom-reset-standard-faces-list)
10494         (custom-reset-standard-variables-list): Declare.
10495         (customize-create-theme, custom-theme-revert, custom-theme-write)
10496         (custom-theme-choose-mode, customize-themes, custom-theme-save):
10497         Mark unused parameters.
10499         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10501         * delim-col.el (delimit-columns-max): Move defvar before first use.
10503         * descr-text.el (describe-char-categories): Don't quote `lambda'.
10504         (describe-char): Don't quote `lambda'.  Mark unused parameter.
10506         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10507         (auto-insert): Declare.
10508         (desktop-restore-file-buffer): Rename desktop-* parameters;
10509         mark unused ones.
10510         (desktop-create-buffer): Rename desktop-* parameters and bind them.
10511         (desktop-buffer): Rename desktop-* parameters.
10513         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10514         (dframe-reposition-frame-xemacs, dframe-help-echo)
10515         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10516         Mark unused parameters.
10518         * dired-aux.el (backup-extract-version-start, overwrite-query)
10519         (overwrite-backup-query, rename-regexp-query)
10520         (rename-non-directory-query): Declare.
10521         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10522         (dired-add-entry): Remove unused variable `orig-file-name'.
10523         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10524         Use parameter PRESERVE-TIME instead of accessing dynamic variable
10525         `dired-copy-preserve-time' directly.
10526         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10527         (dired-insert-subdir-newpos): Rename unused variable `pos'.
10529         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10530         (dired-virtual-revert, dired-make-relative-symlink):
10531         Mark unused parameters.
10532         (manual-program): Declare.
10533         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10534         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10535         wrapped in `with-no-warnings' to avoid replacing one warning by another.
10537         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10539         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10541         * echistory.el (electric-history-in-progress, Helper-return-blurb):
10542         Declare.
10544         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10546         * electric.el (Electric-command-loop): Rename parameter
10547         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10549         * expand.el (expand-in-literal): Remove unused variable `here'.
10551         * facemenu.el (facemenu-add-new-color):
10552         Remove unused variable `docstring'.
10554         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10555         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10556         (face-attr-construct): Mark unused parameter.  Doc fix.
10557         (read-color): Remove unused variable `hex-string'.
10559         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10560         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10561         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10562         (display-buffer-other-frame): Remove unused variable `old-window'.
10563         (kill-buffer-hook): Declare.
10564         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10565         Mark unused parameters.
10566         (after-find-file): Pass 1 to `auto-save-mode', not t.
10568         * files-x.el (auto-insert): Declare.
10569         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10571         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10572         variable `buf'.  Mark unused parameter.
10573         (find-lisp-insert-directory): Mark unused parameter.
10575         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10576         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10577         (format-common-tail): Remove, unused.
10578         (format-deannotate-region): Remove unused variable `loc'.
10579         (format-annotate-region): Remove unused variable `p'.
10580         (format-annotate-single-property-change): Remove unused variables
10581         `default' and `tail'.
10583         * forms.el (read-file-filter): Declare.
10584         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10586         * frame.el (frame-creation-function-alist): Mark unused parameter.
10587         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10589         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10590         Remove unused parameters.
10591         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10592         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10594         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10595         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10596         (hfy-prepare-tag-map): Mark unused parameters.
10597         (htmlfontify-buffer): Use `called-interactively-p'.
10599         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10600         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10601         (ibuffer-do-occur): Mark unused parameters.
10602         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10603         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10605         * ibuffer.el: Don't quote `lambda'.
10606         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10607         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10608         Mark unused parameters.
10610         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10611         (ido-completing-read): Mark unused parameters.
10612         (ido-copy-current-word): Mark unused parameters;
10613         remove unused variable `name'.
10614         (ido-sort-merged-list): Remove unused parameter `dirs'.
10616         * ielm.el (ielm-input-sender): Mark unused parameter.
10617         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10618         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10619         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10620         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10621         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10623         * image-dired.el (image-dired-display-thumbs): Remove unused
10624         variables `curr-file' and `count'.
10625         (image-dired-remove-tag): Remove unused variable `start'.
10626         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10627         variable `curr-file'
10628         (image-dired-rotate-original): Remove unused variable `temp-file'.
10629         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10630         Remove unused variable `file'.
10631         (image-dired-gallery-generate): Remove unused variable `curr'.
10632         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10634         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10636         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10638         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10640         * isearch.el (minibuffer-history-symbol): Declare.
10641         (isearch-edit-string): Remove unused variable `err'.
10642         (isearch-message-prefix, isearch-message-suffix):
10643         Mark unused parameters.
10645         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10647         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10649         * makesum.el (double-column): Remove unused variable `cnt'.
10651         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10652         (ido-ignore-item-temp-list): Declare.
10654         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10655         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10656         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10657         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10658         `mouse-col-delta'.
10660         * mouse-sel.el (mouse-extend-internal):
10661         Remove unused variable `orig-window-frame'.
10663         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10664         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10665         Move declarations before first use.
10666         (pcomplete-opt): Mark unused parameters; doc fix.
10668         * proced.el (proced-revert): Mark unused parameter.
10669         (proced-send-signal): Remove unused variable `err'.
10671         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10672         Rename parameter PREFIX-ARG to ARG.
10673         (ps-basic-plot-string, ps-basic-plot-whitespace):
10674         Mark unused parameters.
10676         * replace.el (replace-count): Define.
10677         (occur-revert-function): Mark unused parameters.
10678         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10679         (isearch-case-fold-search, isearch-string): Declare.
10680         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10681         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10682         and simplify.
10683         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10684         COUNT and bind `replace-count'.
10685         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10686         to COUNT.
10688         * savehist.el (print-readably, print-string-length): Declare.
10690         * shadowfile.el (shadow-expand-cluster-in-file-name):
10691         Remove unused variable `cluster'.
10692         (shadow-copy-file): Remove unused variable `i'.
10693         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10694         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10695         (shadow-define-literal-group, shadow-define-regexp-group)
10696         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10698         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10699         (shell): Use `called-interactively-p'.
10700         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10702         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10703         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10704         (delete-backward-char): Remove unused variable `ocol'.
10705         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10706         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10707         (event-apply-hyper-modifier, event-apply-shift-modifier)
10708         (event-apply-control-modifier, event-apply-meta-modifier):
10709         Mark unused parameters.
10710         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10711         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10713         * speedbar.el (speedbar-ignored-directory-expressions)
10714         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10715         (speedbar-find-file, speedbar-dir-follow)
10716         (speedbar-directory-buttons-follow, speedbar-tag-find)
10717         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10718         (speedbar-buffers-line-directory, speedbar-buffer-click):
10719         Mark unused parameters.
10720         (speedbar-tag-file): Remove unused variable `mode'.
10721         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10723         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10725         * talk.el (talk): Remove unused variable `display'.
10727         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10728         (tar-write-region-annotate): Mark unused parameter.
10730         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10731         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10732         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10733         warning by another.
10735         * time-stamp.el (time-stamp-string-preprocess):
10736         Remove unused variable `require-padding'.
10738         * tree-widget.el (widget-glyph-enable): Declare.
10739         (tree-widget-action): Mark unused parameter.
10741         * w32-fns.el (x-get-selection): Mark unused parameter.
10742         (autoload-make-program, generated-autoload-file): Declare.
10744         * wdired.el (wdired-revert): Mark unused parameters.
10745         (wdired-xcase-word): Remove unused variable `err'.
10747         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10748         (whitespace-help-scroll): Remove unused variable `data-help'.
10750         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10751         (widget-image-insert, widget-after-change, default)
10752         (widget-default-format-handler, widget-default-notify)
10753         (widget-default-prompt-value, widget-info-link-action)
10754         (widget-url-link-action, widget-function-link-action)
10755         (widget-variable-link-action, widget-file-link-action)
10756         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10757         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10758         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10759         (widget-insert-button-action, widget-delete-button-action, visibility)
10760         (widget-documentation-link-action, widget-documentation-string-action)
10761         (widget-const-prompt-value, widget-regexp-match, symbol)
10762         (widget-coding-system-prompt-value)
10763         (widget-key-sequence-value-to-external, sexp)
10764         (widget-sexp-value-to-internal, character, vector, cons)
10765         (widget-choice-prompt-value, widget-boolean-prompt-value)
10766         (widget-color--choose-action): Mark unused parameters.
10767         (widget-item-match-inline, widget-choice-match-inline)
10768         (widget-checklist-match, widget-checklist-match-inline)
10769         (widget-group-match): Rename parameter VALUES to VALS.
10770         (widget-field-value-set): Remove unused variable `size'.
10771         (widget-color-action): Remove unused variables `value' and `start'.
10773         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10774         variable `dir'.  Doc fix.
10775         (windmove-find-other-window): Don't pass it.
10777         * window.el (count-windows): Mark unused parameter.
10778         (bw-adjust-window): Remove unused variable `err'.
10780         * woman.el (woman-file-name): Remove unused variable `default'.
10781         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10782         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10783         (global-font-lock-mode): Declare.
10784         (woman-decode-region): Mark unused parameter.
10785         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10787         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10788         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10789         (x-dnd-handle-moz-url): Remove unused variable `title'.
10790         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10792         * xml.el (xml-parse-tag, xml-parse-attlist):
10793         Remove unused variable `pos'.
10795 2011-04-19  Glenn Morris  <rgm@gnu.org>
10797         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10798         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10799         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10800         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10801         * calendar/cal-html.el (cal-html-insert-minical):
10802         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10803         (calendar-mark-date-pattern):
10804         Prefix "unused" locals.
10806         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10807         optional argument `style'.
10809         * calendar/appt.el (appt-make-list):
10810         * calendar/cal-china.el (calendar-chinese-date-string):
10811         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10812         (diary-hebrew-yahrzeit):
10813         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10814         * calendar/calendar.el (calendar-generate-window):
10815         * calendar/time-date.el (time-to-days):
10816         Remove unused local variables.
10818 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
10820         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10821         glyphless-char-display table.
10822         (tabulated-list-glyphless-char-display): New var.
10824 2011-04-18  Sam Steingold  <sds@gnu.org>
10826         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10827         to acknowledgments.
10829 2011-04-17  Glenn Morris  <rgm@gnu.org>
10831         * calendar/diary-lib.el (diary-sexp-entry):
10832         * calendar/holidays.el (holiday-sexp):
10833         Set debug-on-error rather than the removed stack-trace-on-error.
10835 2011-04-16  Glenn Morris  <rgm@gnu.org>
10837         * progmodes/f90.el: Use lexical-binding.
10838         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10840 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10842         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10843         (mail-mode): Setup mailalias completion here instead.
10844         * mail/mailalias.el: Use lexical-binding.
10845         (pattern, mailalias-done): Declare dynamic.
10846         (mail-completion-at-point-function): New function, from mail-complete.
10847         (mail-complete): Use it.
10848         (mail-completion-expand): New function.
10849         (mail-get-names): Use it.
10850         (mail-directory, mail-directory-process, mail-directory-stream):
10851         Don't use `pattern' for lexically bound arg.
10853         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10855         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10856         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10857         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10859         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10860         (byte-save-window-excursion, byte-temp-output-buffer-setup)
10861         (byte-interactive-p): Define them again, for use when inlining
10862         old code.
10864 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
10866         * loadup.el: Use `string-to-number', not `string-to-int'.
10868 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10870         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10871         gud-gdb-complete-command.
10872         (gud-gdb-completions): New function, from gud-gdb-complete-command.
10873         (gud-gdb-completion-at-point): New function.
10874         (gud-gdb-completions): Remove.
10876 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
10878         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10879         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
10880         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10881         whether `executable-find' is bound.
10883         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10885 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10887         * minibuffer.el (completion-in-region-mode-predicate)
10888         (completion-in-region-mode--predicate): New vars.
10889         (completion-in-region, completion-in-region--postch)
10890         (completion-in-region-mode): Use them.
10891         (completion--capf-wrapper): Also return the hook function.
10892         (completion-at-point, completion-help-at-point):
10893         Adjust and provide a predicate.
10895         Preserve arg names for advice of subr and lexical functions (bug#8457).
10896         * help-fns.el (help-function-arglist): Consolidate the subr and
10897         new-byte-code cases.  Add argument `preserve-names' to extract names
10898         from the docstring when needed.
10899         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10900         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10901         (ad-arglist): Use help-function-arglist's new arg.
10902         (ad-definition-type): Use cond.
10904 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
10906         * autorevert.el (auto-revert-handler):
10907         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10908         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10909         Don't quote lambda.
10911         * image-mode.el (image-transform-set-scale):
10912         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10914 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10916         * net/network-stream.el (network-stream-open-starttls): Only do
10917         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
10918         Upgrades via gnutls-cli are too slow to be done opportunistically.
10920 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
10922         * dframe.el (dframe-current-frame): Remove spurious quote.
10924 2011-04-12  Glenn Morris  <rgm@gnu.org>
10926         * calendar/cal-tex.el (cal-tex-end-document):
10927         Try to automatically use latin1 input if needed.
10929         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10930         Don't try to cons a mark onto an empty element.
10932 2011-04-11  Leo Liu  <sdl.web@gmail.com>
10934         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10935         buffers.
10936         (ido-kill-buffer-at-head): Support killing virtual buffers.
10938 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
10940         * minibuffer.el (completion-show-inline-help): New var.
10941         (completion--do-completion, minibuffer-complete)
10942         (minibuffer-force-complete, minibuffer-complete-word):
10943         Inhibit minibuffer messages if completion-show-inline-help is nil.
10945         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10946         to avoid interference from inline help (Bug#5849).
10948 2011-04-10  Leo Liu  <sdl.web@gmail.com>
10950         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10951         Fix typo.
10953 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
10955         * image-mode.el (image-toggle-display-image): Signal an error if
10956         not in Image mode.
10957         (image-transform-mode, image-transform-resize)
10958         (image-transform-set-rotation): Doc fix.
10959         (image-transform-set-resize): Delete.
10960         (image-transform-set-scale, image-transform-fit-to-height)
10961         (image-transform-fit-to-width): Handle image-toggle-display-image
10962         and image-transform-resize directly.
10964 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
10966         * doc-view.el (doc-view-fit-width-to-window)
10967         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10968         New functions for fitting the shown image to the Emacs window size.
10969         (doc-view-mode-map): Add bindings for the new functions.
10971 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
10973         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
10974         Fix typo in docstring.
10976 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10978         * files.el (file-size-human-readable): Produce one digit after
10979         decimal, like "ls -lh" does.
10981         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10982         the file size representation.
10984         * simple.el (list-processes): If async subprocesses are not
10985         available, error out with a clear error message.
10987 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
10989         * help.el (help-form-show): New function, to be called from C.
10990         Put help-form output in a buffer named differently than *Help*.
10992 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
10994         * files.el (file-size-human-readable): New function.
10996         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10997         computing the representation inline.  Don't require `cl'.
10999 2011-04-08  Glenn Morris  <rgm@gnu.org>
11001         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11003         * net/browse-url.el (browse-url-firefox):
11004         Test system-type, not system-configuration.
11006         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11007         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11008         Use log-edit-empty-buffer-p.  (Bug#7598)
11010         * net/rlogin.el (rlogin-process-connection-type): Simplify.
11011         (rlogin-mode-map): Initialize in the defvar.
11012         (rlogin): Use ignore-errors.
11014         * replace.el (occur-mode-map): Some fixes for menu items.
11016 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11018         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
11020 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11022         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11023         issuing unused warnings.
11025         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11026         macro directly.
11028         * simple.el: Lisp reimplement of list-processes.  Based on an
11029         earlier reimplementation by Leo Liu, but using tabulated-list.el.
11030         (process-menu-mode): New major mode.
11031         (list-processes--refresh, list-processes):
11032         (process-menu-visit-buffer): New functions.
11034         * files.el (save-buffers-kill-emacs): Don't assume any return
11035         value of list-processes, which is undocumented anyway.
11037 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11039         * emacs-lisp/tabulated-list.el: New file.
11041         * emacs-lisp/package.el: Use Tabulated List mode.
11042         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11043         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
11044         table format using Tabulated List mode variables.
11045         (package--push): New macro, replacing package-list-maybe-add.
11046         (package-menu--generate): Use package--push.  Renamed from
11047         package--generate-package-list.
11048         (package-menu-refresh, list-packages): Use it.
11049         (package-menu--print-info): Rename from package-print-package.
11050         Return insertion data instead of inserting it directly.
11051         (package-menu-describe-package, package-menu-execute):
11052         Use tabulated-list-get-id.
11053         (package-menu-mark-delete, package-menu-mark-install)
11054         (package-menu-mark-unmark, package-menu-backup-unmark)
11055         (package-menu-mark-obsolete-for-deletion):
11056         Use tabulated-list-put-tag.
11057         (package--list-packages, package-menu-revert)
11058         (package-menu-get-package, package-menu-get-version)
11059         (package-menu-sort-by-column): Functions deleted.
11060         (package-menu-package-list, package-menu-sort-key): Vars deleted.
11061         (package-menu--status-predicate, package-menu--version-predicate)
11062         (package-menu--name-predicate)
11063         (package-menu--description-predicate): Handle arguments in the
11064         Tabulated List format.
11065         (package-list-packages-no-fetch): Call list-packages.
11067 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
11069         * files.el (after-find-file-from-revert-buffer): Remove variable.
11070         (after-find-file): Don't bind it.
11071         (revert-buffer-in-progress-p): New variable.
11072         (revert-buffer): Bind it.
11073         Pass nil for `after-find-file-from-revert-buffer'.
11075         * saveplace.el (save-place-find-file-hook): Use new variable
11076         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11078 2011-04-06  Glenn Morris  <rgm@gnu.org>
11080         * Makefile.in (AUTOGEN_VCS): New variable.
11081         (autoloads): Use $AUTOGEN_VCS.
11083         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11084         * calendar/calendar.el (calendar-mode-map):
11085         Check for toolkit scroll bars.  (Bug#8305)
11087 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11089         * minibuffer.el (completion-in-region--postch)
11090         (completion-in-region-mode): Remove unnecessary messages.
11092 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
11094         * font-lock.el (font-lock-refresh-defaults):
11095         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11096         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11098         * info.el (Info-directory-list, Info-read-node-name-2)
11099         (Info-split-parameter-string): Doc fixes.
11100         (Info-virtual-nodes): Reflow docstring.
11101         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11102         (Info-apropos-toc-nodes, info-finder, Info-get-token)
11103         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11104         Fix typos in docstrings.
11105         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11106         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11107         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11108         (Info-restore-desktop-buffer): Mark unused parameters.
11109         (Info-directory-find-file, Info-directory-find-node)
11110         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11111         (Info-virtual-index-find-node, Info-apropos-find-file)
11112         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11113         Mark unused parameters; fix typos in docstrings.
11114         (Info-virtual-index): Remove unused local variable `nodename'.
11116 2011-04-05  Deniz Dogan  <deniz@dogan.se>
11118         * net/rcirc.el: Update my e-mail address.
11119         (rcirc-mode-map): Remove M-o binding.
11121 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11123         * startup.el (command-line): Save the cursor's theme-face
11124         directly, instead of using face-override-spec.
11126         * custom.el (load-theme): Minor optimization in assigning faces.
11128 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11130         * help-fns.el (describe-variable): Complete all variables having
11131         documentation, including keywords.
11132         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11134 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11136         Convert to lexical-binding.
11138         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11139         (bs--get-marked-string, bs--get-modified-string)
11140         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11141         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11142         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11144         * ehelp.el (electric-help-execute-extended)
11145         (electric-help-ctrl-x-prefix):
11146         * hexl.el (hexl-revert-buffer-function):
11147         * linum.el (linum-after-change, linum-after-scroll):
11148         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11150         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11152 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
11154         * epa-dired.el:
11155         * epa-mail.el:
11156         * epa-hook.el:
11157         * epa-file.el:
11158         * epa.el:
11159         * epg.el: Use lexical binding.
11161 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
11163         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11165         * textmodes/flyspell.el (flyspell-word): Recognize default
11166         dictionary case for flyspell-mark-duplications-exceptions.
11167         Use regexp matching for languages.
11168         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11169         default dictionary (Bug#7926).
11171 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
11173         * emacs-lisp/package.el (package--with-work-buffer):
11174         Recognize https URLs.
11176         * net/network-stream.el: Move from gnus/proto-stream.el.
11177         Change prefix to network-stream throughout.
11178         (open-protocol-stream): Merge into open-network-stream, leaving
11179         open-protocol-stream as an alias.  Handle nil BUFFER args.
11181         * subr.el (open-network-stream): Move to net/network-stream.el.
11183 2011-04-02  Glenn Morris  <rgm@gnu.org>
11185         * find-dired.el (find-exec-terminator): New option.
11186         (find-ls-option): Test for -ls support.
11187         (find-ls-subdir-switches): Test for -b in find-ls-option.
11188         (find-dired, find-grep-dired): Doc fixes.
11189         (find-dired): Use find-exec-terminator.
11191         * find-dired.el (find-ls-option, find-ls-subdir-switches)
11192         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11193         (find-name-arg): Remove purecopy.
11195         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11196         (grep-compute-defaults): Check for `-exec COMMAND +' support.
11197         Set grep-find-use-xargs, grep-find-command, and grep-find-template
11198         accordingly.  Don't add the null-device if not needed.
11200         * files.el (save-some-buffers): Doc fix.
11202 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
11204         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11206 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
11208         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11209         Use `dolist' rather than `mapcar'.
11211 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11213         Add lexical binding.
11215         * subr.el (apply-partially): Use new closures rather than CL.
11216         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11217         (dolist, dotimes): Use slightly different expansion for lexical code.
11218         (functionp): Move to C.
11219         (letrec): New macro.
11220         (with-wrapper-hook): Use it and apply-partially instead of CL.
11221         (eval-after-load): Preserve lexical-binding.
11222         (save-window-excursion, with-output-to-temp-buffer): Turn them
11223         into macros.
11225         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11227         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11228         than the arglist.
11229         (help-add-fundoc-usage): Don't add `Not documented'.
11230         (help-function-arglist): Handle closures, subroutines, and new
11231         byte-code-functions.
11232         (help-make-usage): Remove leading underscores.
11233         (describe-function-1): Handle closures.
11234         (describe-variable): Use special-variable-p for completion.
11236         * files.el (lexical-binding): Declare safe.
11238         * emacs-lisp/pcase.el: Don't use destructuring-bind.
11239         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
11240         (pcase): Add `let' pattern.
11241         Change memoization so it actually works.
11242         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11243         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11244         <let>: New case.
11246         * emacs-lisp/macroexp.el: Use lexical binding.
11247         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
11248         Don't convert ' to #' without checking that it's indeed quoting
11249         a lambda.
11251         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11252         Use eval-sexp-add-defvars.
11253         (eval-sexp-add-defvars): New fun.
11255         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11257         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11258         Don't autoload.
11259         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11260         than the internal `byte-compile-lambda'.
11261         (defmethod): Don't hide code under quotes.
11262         (eieio-defmethod): New `code' argument.
11264         * emacs-lisp/eieio-comp.el: Remove.
11266         * emacs-lisp/edebug.el (edebug-eval-defun)
11267         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11268         (edebug-toggle): Avoid `eval'.
11270         * emacs-lisp/disass.el (disassemble-internal): Handle new
11271         `closure' objects.
11272         (disassemble-1): Handle new byte codes.
11274         * emacs-lisp/cl.el (pushnew): Silence warning.
11276         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11277         (cl-byte-compile-throw): Remove.
11278         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11280         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11281         closures.
11283         * emacs-lisp/cconv.el: New file.
11285         * emacs-lisp/bytecomp.el: Use lexical binding instead of
11286         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
11287         (byte-compile-initial-macro-environment):
11288         Handle declare-function here.
11289         (byte-compile--lexical-environment): New var.
11290         (byte-stack-ref, byte-stack-set, byte-discardN)
11291         (byte-discardN-preserve-tos): New lap codes.
11292         (byte-interactive-p): Don't use any more.
11293         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11294         New macros.
11295         (byte-compile-lapcode): Use them and handle new lap codes.
11296         (byte-compile-obsolete): Remove.
11297         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11298         (byte-compile-arglist-warn): Check late def of inlinable funs.
11299         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11300         since they should have been expanded by now.
11301         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11302         (byte-compile-from-buffer): Remove unused second arg.
11303         (byte-compile-preprocess): New function.
11304         (byte-compile-toplevel-file-form): New function to distinguish
11305         file-form calls from outside from file-form calls from hunk-handlers.
11306         (byte-compile-file-form): Simplify.
11307         (byte-compile-file-form-defsubst): Remove.
11308         (byte-compile-file-form-defmumble): Simplify now that
11309         byte-compile-lambda always returns a byte-code-function.
11310         (byte-compile): Preprocess.
11311         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11312         Remove, not used any more.
11313         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11314         (byte-compile-make-args-desc): New funs.
11315         (byte-compile-lambda): Handle lexical functions.  Always return
11316         a byte-code-function.
11317         (byte-compile-reserved-constants): New var, to make up room for
11318         closed-over variables.
11319         (byte-compile-constants-vector): Obey it.
11320         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11321         (byte-compile-macroexpand-declare-function): New function.
11322         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11323         byte-code-functions.
11324         (byte-compile-form): Check obsolescence here.
11325         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11326         (byte-compile-variable-ref): Remove.
11327         (byte-compile-dynamic-variable-op): New fun.
11328         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11329         (byte-compile-variable-set): New funs.
11330         (byte-compile-discard): Add 2 args.
11331         (byte-compile-stack-ref, byte-compile-stack-set)
11332         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11333         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11334         macroexpand-all instead.
11335         (byte-compile-quote-form): Remove.
11336         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11337         (byte-compile-bind, byte-compile-unbind): New funs.
11338         (byte-compile-let): Handle let* and lexical binding.
11339         (byte-compile-let*): Remove.
11340         (byte-compile-catch, byte-compile-unwind-protect)
11341         (byte-compile-track-mouse, byte-compile-condition-case):
11342         Handle a new :fun-body form, used for lexical scoping.
11343         (byte-compile-save-window-excursion)
11344         (byte-compile-with-output-to-temp-buffer): Remove.
11345         (byte-compile-defun): Simplify.
11346         (byte-compile-stack-adjustment): New fun.
11347         (byte-compile-out): Use it.
11348         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11350         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11351         handler any more.
11353         * emacs-lisp/byte-opt.el: Use lexical binding.
11354         (byte-inline-lapcode): Remove (to bytecomp).
11355         (byte-compile-inline-expand): Pay attention to inlining to/from
11356         lexically bound code.
11357         (byte-compile-unfold-lambda): Don't handle byte-code-functions
11358         any more.
11359         (byte-optimize-form-code-walker): Don't handle save-window-excursion
11360         any more and don't call compiler-macros.
11361         (byte-compile-splice-in-already-compiled-code): Remove.
11362         (byte-code): Don't inline any more.
11363         (disassemble-offset): Receive `bytes' as argument rather than via
11364         dynamic scoping.
11365         (byte-compile-tag-number): Declare before first use.
11366         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11367         `return' even if make-spliceable.
11368         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11369         obsolete interactive-p.
11370         (byte-optimize-lapcode): Optimize new lap-codes.
11371         Don't trip up on new form of `byte-constant' lap code.
11373         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11375         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11377         * custom.el (custom-initialize-default, custom-declare-variable):
11378         Use `defvar'.
11380         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11381         New variables.
11382         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11383         (COMPILE_FIRST): Add macroexp and cconv.
11384         * makefile.w32-in: Mirror changes in Makefile.in.
11386         * vc/cvs-status.el:
11387         * vc/diff-mode.el:
11388         * vc/log-edit.el:
11389         * vc/log-view.el:
11390         * vc/smerge-mode.el:
11391         * textmodes/bibtex-style.el:
11392         * textmodes/css.el:
11393         * startup.el:
11394         * uniquify.el:
11395         * minibuffer.el:
11396         * newcomment.el:
11397         * reveal.el:
11398         * server.el:
11399         * mpc.el:
11400         * emacs-lisp/smie.el:
11401         * doc-view.el:
11402         * dired.el:
11403         * abbrev.el: Use lexical binding.
11405 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
11407         * info.el (info-display-manual): New function.
11409 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11411         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11413 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
11415         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11416         an entry for that server in rcirc-authinfo.  (Bug#8385)
11418 2011-03-31  Glenn Morris  <rgm@gnu.org>
11420         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11422         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11424 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
11426         * progmodes/python.el (python-default-interpreter)
11427         (python-python-command-args, python-jython-command-args)
11428         (python-which-shell, python-which-args, python-which-bufname)
11429         (python-file-queue, python-comint-output-filter-function)
11430         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11431         variables and functions.
11433 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11435         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11436         (completion-in-region-mode): New minor mode.
11437         (completion-in-region): Use it.
11438         (completion-in-region--data, completion-in-region-mode-map): New vars.
11439         (completion-in-region--postch): New function.
11440         (completion--capf-misbehave-funs, completion--capf-safe-funs):
11441         New vars.
11442         (completion--capf-wrapper): New function.
11443         (completion-at-point): Use it to track well-behavedness of
11444         hook functions.
11445         (completion-help-at-point): New command.
11447 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
11449         * vc/add-log.el (add-change-log-entry): Don't use whitespace
11450         syntax class to search for whitespace on a single line
11451         (Message-ID: <4D938140.4030905@redhat.com>).
11453 2011-03-30  Leo Liu  <sdl.web@gmail.com>
11455         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11456         New commands.
11457         (edit-abbrevs-map): Bind them here.
11458         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
11460 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
11462         * allout.el (allout-hide-by-annotation, allout-flag-region):
11463         Reduce possibility of overlay leakage by making them volatile.
11465         * allout-widgets.el (allout-widgets-tally): Define as nil so the
11466         hash is not shared between buffers.  Mode initialization is
11467         responsible for giving it a useful starting value.
11468         (allout-item-span): Reduce possibility of overlay leakage by
11469         making them volatile.
11470         (allout-widgets-count-buttons-in-region): Add diagnostic function
11471         for tracking down button overlay leaks.
11473 2011-03-29  Leo Liu  <sdl.web@gmail.com>
11475         * ido.el (ido-read-internal): Use the default history var
11476         minibuffer-history if no HISTORY is specified.
11478 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
11480         * net/imap.el (imap-shell-open, imap-process-connection-type):
11481         Use imap-process-connection-type for 'shell' streams as well as
11482         Kerberos, SSL, other subprocesses.
11484 2011-03-28  Leo Liu  <sdl.web@gmail.com>
11486         * abbrev.el (abbrev-table-empty-p): New function.
11487         (prepare-abbrev-list-buffer): Place empty abbrev tables after
11488         nonempty ones.  (Bug#5937)
11490 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
11492         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11494 2011-03-27  Leo Liu  <sdl.web@gmail.com>
11496         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11497         for foreground and background colors.
11498         (ansi-color-make-color-map): Adapt.
11500 2011-03-25  Leo Liu  <sdl.web@gmail.com>
11502         * midnight.el (midnight-time-float): Remove.  Note it calculates
11503         the microsecond component incorrectly and seconds-to-time does the
11504         same job.
11505         Remove redundant (require 'timer).
11507         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11508         (ido-completions): Remove unused arguments.  (Bug#8329)
11510 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11512         * minibuffer.el (completion--flush-all-sorted-completions):
11513         Remove itself from hook.
11514         (completion-at-point): Let the functions perform the completion
11515         immediately and return nil or t.
11516         * comint.el (comint-dynamic-complete-functions): Now identical to
11517         completion-at-point-functions.
11518         (comint-dynamic-list-input-ring): Remove unused var `index'.
11519         (comint--match-partial-filename, comint--unquote&expand-filename):
11520         New funs, split from comint-match-partial-filename.
11521         (comint-dynamic-complete): Use completion-at-point.
11522         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11524 2011-03-24  Drew Adams  <drew.adams@oracle.com>
11526         * thingatpt.el: Support `defun'.
11528 2011-03-23  Leo Liu  <sdl.web@gmail.com>
11530         * abbrevlist.el: Move to obsolete/abbrevlist.el.
11532         * help-mode.el (help-mode-finish): Tweak regexp.
11534 2011-03-23  Glenn Morris  <rgm@gnu.org>
11536         * eshell/esh-opt.el (eshell-eval-using-options):
11537         Do not bind unused local variable `eshell-option-stub'.
11539         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11541 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11543         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11544         keymap variable in `with-no-warnings' to avoid a warning when the
11545         keymap has been already `defconst'ed.
11547 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11549         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11550         encode all chars in abbrevs; otherwise use emacs-mule or
11551         utf-8-emacs.  (Bug#8308)
11553 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11555         * simple.el (backward-delete-char-untabify):
11556         Avoid warning about using `delete-backward-char'.
11558         * image.el (image-type-file-name-regexps): Make it variable.
11559         `imagemagick-register-types' modifies it, and the user may want
11560         to add new extensions for known image types.
11561         (imagemagick-register-types): Throw error if not using ImageMagick.
11563 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11565         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11566         located before rcirc-prompt-end-marker.
11567         (rcirc-complete): Error if point is not after rcirc prompt.
11568         Handle the case when table is nil.
11569         (rcirc-user-authenticated): Define to fix compiler warning.
11571 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11573         * custom.el (custom--inhibit-theme-enable): Make it affect only
11574         custom-theme-set-variables and custom-theme-set-faces.
11575         (provide-theme): Ignore custom--inhibit-theme-enable.
11576         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11577         (custom-enabling-themes): Delete variable.
11578         (enable-theme): Accept only loaded themes as arguments.
11579         Ignore the special custom-enabled-themes variable.
11580         (custom-enabled-themes): Forbid themes from setting this.
11581         Eliminate use of custom-enabling-themes.
11582         (custom-push-theme): Quote "changed" custom var entry.
11584 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11586         * ido.el (ido-read-internal): Add ido-selected to history instead
11587         of user input.
11589 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11591         * subr.el (deferred-action-list, deferred-action-function):
11592         Mark obsolete.
11594 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11596         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11597         change on 2011-02-13 (bug#8309).
11599         * minibuffer.el (read-file-name-function): Change default value.
11600         (read-file-name--defaults): Rename from read-file-name-defaults.
11601         (read-file-name-default): Rename from read-file-name.
11602         (read-file-name): Call read-file-name-function.
11604 2011-03-21  Glenn Morris  <rgm@gnu.org>
11606         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11607         Doc fixes.
11609 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11611         * cus-theme.el: Add missing provide statement.
11612         (customize-create-theme): Extract theme value correctly.
11613         (custom-theme-visit-theme): Autoload.
11614         (customize-create-theme): Prompt before inserting default faces.
11616 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11618         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11619         units and musical notes.
11621 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11623         * ido.el (ido-read-internal): Use completing-read-default.
11624         (ido-completing-read): Fix compatibility with completing-read.
11626 2011-03-20  Christian Ohler  <ohler@gnu.org>
11628         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11629         (ert-delete-all-tests): Use `called-interactively-p' rather than
11630         `interactive-p'.
11631         (ert--make-xrefs-region): Respect END.
11633 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11635         * dired-aux.el (dired-create-directory): Signal an error if the
11636         directory already exists (Bug#8246).
11638         * facemenu.el (list-colors-display): Call list-faces-display
11639         inside with-help-window.
11640         (list-colors-print): Use display property to align the final
11641         column, instead of checking window-width.
11643 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11645         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11646         windows-nt systems.
11647         (emerge-protect-metachars): Quote correctly for ms-dos and
11648         windows-nt systems.
11650 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11652         * info.el (info-initialize): Replace all uses of `:' with
11653         path-separator for compatibility with non-Unix systems.
11654         Cache quoting of path-separator.  (Bug#8258)
11656 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11658         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11659         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11660         (mouse-avoidance-mode): Fix typos in docstrings.
11662 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11664         * startup.el (package-subdirectory-regexp): Move from package.el.
11665         Omit \\` and \\', and let callers add them.
11667         * emacs-lisp/package.el (package-strip-version)
11668         (package-load-all-descriptors): Add \\` and \\' to
11669         package-subdirectory-regexp before using it.
11670         (package-untar-buffer): New arg DIR; ensure that file untars only
11671         into this expected directory.  Remove superfluous delete-region.
11672         (package-unpack): Caller changed.
11673         (package-tar-file-info): Use package-subdirectory-regexp.
11675 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11677         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11678         diff-mode-shared-map (bug#8284).
11679         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11681 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11683         * calendar/time-date.el (format-seconds): Use assoc instead of
11684         assoc-string, since assoc-string doesn't exist in XEmacs.
11686 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11688         * custom.el (custom-known-themes): Reflow docstring.
11689         (custom-theme-load-path): Fix typo in docstring.
11690         (load-theme): Fix typo in error message.
11691         (custom-available-themes, custom-variable-theme-value):
11692         Use `let', not `let*'.
11694 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11696         * calc/README: Mention inclusion of musical notes.
11698         * calc/calc-units.el (calc-lu-quant): Rename from
11699         `calc-logunits-quantity'.
11700         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11701         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11702         (calc-db): Rename from `calc-dblevel'.
11703         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11704         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11705         (calc-np): Rename from `calc-nplevel'.
11706         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11707         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11708         (calc-lu-plus): Rename from `calc-logunits-add'.
11709         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11710         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11711         (calc-lu-minus): Rename from `calc-logunits-sub'.
11712         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11713         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11714         (calc-lu-times): Rename from `calc-logunits-mul'.
11715         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11716         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11717         (calc-lu-divide): Rename from `calc-logunits-div'.
11718         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11719         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11721         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11722         functions being autoloaded.
11724         * calc/calc.el (calc-lu-power-reference): Rename from
11725         `calc-logunits-power-reference'.
11726         (calc-lu-field-reference): Rename from
11727         `calc-logunits-field-reference'.
11729         * calc/calc-help.el (calc-l-prefix-help):
11730         Mention musical note functions.
11732 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11734         * minibuffer.el (completion-all-sorted-completions):
11735         Use :completion-cycle-penalty text property if present.
11737 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11739         * allout.el (allout-yank-processing): Adjust for new rebulleting
11740         regime so bullet being yanked is used without prompting the user
11741         for a choice.
11743 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11745         * startup.el (command-line): Warn the user that _emacs is deprecated.
11747 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11749         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11750         (delphi-verbose, delphi-comment-face, delphi-string-face)
11751         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11752         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11753         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11754         (delphi-new-comment-line, delphi-font-lock-defaults)
11755         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11756         Fix typos in docstrings.
11758 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11760         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11761         Invert the roles of character and string values for INSTEAD, so a
11762         string is used for the more common case of a defaulting prompt.
11764 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11766         * progmodes/ruby-mode.el (ruby-backward-sexp):
11767         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11768         * play/gamegrid.el (gamegrid-make-face):
11769         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11770         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11771         * notifications.el (notifications-notify):
11772         * net/xesam.el (xesam-search-engines):
11773         * net/quickurl.el (quickurl-list-insert):
11774         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11776 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11778         * startup.el (command-line): Update package subdirectory regexp.
11780 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11782         * allout.el (allout-abbreviate-flattened-numbering)
11783         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11785         * subr.el (read-char-choice): Only show the cursor after the prompt,
11786         not after the answer.
11788 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11790         * help-fns.el (variable-at-point): Skip leading quotes, if any
11791         (bug#8253).
11793 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11795         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11796         warning message.
11798 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11800         * shell.el (shell): When called interactively, offer to change the
11801         shell file name on remote hosts.
11803 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
11805         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11806         integration for LDAP parameters.  The host, base, user or binddn,
11807         and secret tokens can be specified in a netrc file, for instance.
11808         This is optional because an `auth-source' parameter must be
11809         specified in the search attributes.
11811 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
11813         * help.el (describe-mode): Link to the mode's definition (bug#8185).
11815 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11817         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11818         into declaration.  Remove redundant and harmful binding.
11820 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
11822         * files.el (file-ownership-preserved-p): Pass `integer' as an
11823         explicit 2nd argument to `file-attributes'.  If the file's owner
11824         is the Administrators group on Windows, and the current user is
11825         Administrator, consider that a match.
11827         * server.el (server-ensure-safe-dir): Consider server directory
11828         safe on MS-Windows if its owner is the Administrators group while
11829         the current Emacs user is Administrator.  Use `=' to compare
11830         numerical UIDs, since they could be integers or floats.
11832 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
11834         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11836 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
11838         Sync with Tramp 2.2.1.
11840         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11842         * net/trampver.el: Update release number.
11844 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11846         * progmodes/compile.el (compilation--previous-directory): Fix up
11847         various nil/dead-marker mismatches (bug#8014).
11848         (compilation-directory-properties, compilation-error-properties):
11849         Don't call it at a position past the one we're about to change.
11851         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11852         Disable obsolescence warnings in the file that declares it.
11854 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
11856         * allout-widgets.el (allout-widgets-tally):
11857         Initialize allout-widgets-tally as a hash table rather than nil to
11858         prevent mode-line redisplay warnings.  Also, clarify the module
11859         description and fix a comment typo.
11861 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
11863         * help-fns.el (describe-variable): Don't complete keywords.
11864         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11866 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
11868         * emacs-lisp/package.el (package-version-join): Impose a standard
11869         string representation for pre/alpha/beta version lists.
11870         (package-unpack-single): Standardize the directory name by passing
11871         it through package-version-join.
11872         (package-strip-rcs-id): Accept any version string that does not
11873         signal an error in version-to-list.
11875 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
11877         * simple.el (delete-trailing-whitespace): Return nil for the
11878         benefit of `write-file-functions'.
11880 2011-03-10  Glenn Morris  <rgm@gnu.org>
11882         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11884         * vc/vc-git.el (vc-git-program): New option.
11885         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11886         (vc-git--call): Use it.
11888         * eshell/esh-util.el (eshell-condition-case): Doc fix.
11890         * cus-edit.el (Custom-newline): If no button at point, look
11891         for a subgroup button at start-of-line.  (Bug#2298)
11893         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11895 2011-03-10  Julien Danjou  <julien@danjou.info>
11897         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11898         `cursor-type' is nil.
11900 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
11902         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11904 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
11906         * allout.el: Change so yank of distinctive-bullet items
11907         preserves the existing header prefix, rebulleting it if necessary,
11908         rather than replacing it.  This is necessary for proper operation
11909         of cooperative addons like allout-widgets.
11910         (allout-make-topic-prefix, allout-rebullet-heading):
11911         Change SOLICIT arg to INSTEAD, and interpret additionally a string
11912         value as alternate bullet to be used, instead of prompting the user
11913         for a bullet character.
11915 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
11917         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11918         Do not use `tramp-file-name-port', because this returns also
11919         `tramp-default-port'.
11921 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
11923         * net/rcirc.el (rcirc-handler-001): Remove useless
11924         with-rcirc-process-buffer.
11925         (rcirc-check-auth-status): Swap arguments to string-match.
11927 2011-03-09  Glenn Morris  <rgm@gnu.org>
11929         * shell.el (shell-mode):
11930         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
11932         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11933         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
11935 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11937         * emacs-lisp/package.el (package-refresh-contents)
11938         (package-menu-execute): Use condition-case-no-debug.
11940 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
11942         * simple.el (shell-command-to-string): Use `process-file'.
11944         * emacs-lisp/package.el (package-tar-file-info): Handle also
11945         remote files.
11947         * emacs-lisp/package-x.el (package-upload-buffer-internal):
11948         Use `equal' for upload base check.
11950 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
11952         * textmodes/texinfo.el (texinfo-environments):
11953         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
11955 2011-03-08  Glenn Morris  <rgm@gnu.org>
11957         * cus-start.el (cursor-in-non-selected-windows):
11958         Fix :set quoting oddness.  (Bug#8192)
11960         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11961         in some setf expressions.  (Bug#2159)
11963 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
11965         * custom.el (custom-available-themes): Return themes in
11966         alphabetical order.
11968 See ChangeLog.15 for earlier changes.
11970 ;; Local Variables:
11971 ;; coding: utf-8
11972 ;; End:
11974   Copyright (C) 2011-2012  Free Software Foundation, Inc.
11976   This file is part of GNU Emacs.
11978   GNU Emacs is free software: you can redistribute it and/or modify
11979   it under the terms of the GNU General Public License as published by
11980   the Free Software Foundation, either version 3 of the License, or
11981   (at your option) any later version.
11983   GNU Emacs is distributed in the hope that it will be useful,
11984   but WITHOUT ANY WARRANTY; without even the implied warranty of
11985   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11986   GNU General Public License for more details.
11988   You should have received a copy of the GNU General Public License
11989   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.