Doc fixes in window.el functions.
[emacs.git] / lisp / ChangeLog
blobcbdeb23b4e2ba7570b64c9bb41f1ed6ebbb7ab4b
1 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
3         * window.el (window-min-size, window-sizable, window-min-delta)
4         (window-max-delta, window--resizable, window-resizable)
5         (window-total-size, window-full-height-p, window-full-width-p)
6         (window-in-direction, window--resize-mini-window, window-resize)
7         (window--resize-child-windows-normal)
8         (window--resize-child-windows, window--resize-siblings)
9         (window--resize-this-window, adjust-window-trailing-edge)
10         (enlarge-window, shrink-window): 
12 2012-04-19  Chong Yidong  <cyd@gnu.org>
14         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): New
15         function to call delete-process on the gdb-inferior buffer's pty.
16         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
17         pty process (Bug#11273).
18         (gdb-update): New arg to suppress talking to the gdb process.
19         (gdb-done-or-error): Use it.
20         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
21         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
22         sentinel not being called.
24         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
26 2012-04-18  Chong Yidong  <cyd@gnu.org>
28         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
30 2012-04-18  Glenn Morris  <rgm@gnu.org>
32         * net/network-stream.el (open-network-stream): Doc fix.
34 2012-04-17  Chong Yidong  <cyd@gnu.org>
36         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
38 2012-04-16  Alan Mackenzie  <acm@muc.de>
40         Ensure searching for keywords is case sensitive.
42         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
43         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
44         (c-defun-name, c-mark-function, c-cpp-define-name)
45         (c-comment-indent, c-scan-conditionals, c-indent-defun)
46         (c-context-line-break): bind case-fold-search to nil.
48         * progmodes/cc-mode.el (c-font-lock-fontify-region): bind
49         case-fold-search to nil.
51 2012-04-16  Chong Yidong  <cyd@gnu.org>
53         * mail/sendmail.el (mail-bury): Call return action with the right
54         Rmail buffer (Bug#11242).
56 2012-04-15  Chong Yidong  <cyd@gnu.org>
58         * server.el (server-process-filter): Handle corner case where both
59         tty and nowait options are present (Bug#11102).
61 2012-04-15  Glenn Morris  <rgm@gnu.org>
63         * simple.el (process-file-side-effects): Doc fix.
65 2012-04-14  Glenn Morris  <rgm@gnu.org>
67         * international/mule-cmds.el (set-language-environment): Doc fix.
69 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
71         Avoid the use of ((lambda ...) ...) in lexical-binding code.
72         * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241).
74 2012-04-13  Kim F. Storm  <storm@cua.dk>
76         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
77         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
79 2012-04-12  Chong Yidong  <cyd@gnu.org>
81         * custom.el (custom-theme-set-variables): Doc fix.
83 2012-04-12  Glenn Morris  <rgm@gnu.org>
85         * international/mule.el (set-auto-coding-for-load): Doc fix.
87 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
89         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
90         Reported by Noah Friedman.  Backport from trunk.
92 2012-04-11  Alan Mackenzie  <acm@muc.de>
94         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression):
95         Make imenu work again for Objective C Mode.  Correct the *-index
96         values, these having been disturbed by a previous change in 2011-08.
98         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
99         Correct two search limits.
101 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
103         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
105 2012-04-10  Andreas Schwab  <schwab@linux-m68k.org>
107         * international/characters.el: Fix sorting.
109 2012-04-10  Eli Zaretskii  <eliz@gnu.org>
111         * international/characters.el: Add more missing Latin case pairs.
113 2012-04-10  Andreas Schwab  <schwab@linux-m68k.org>
115         * international/characters.el: Recover lost case pairs.
117 2012-04-10  Glenn Morris  <rgm@gnu.org>
119         * files.el (dir-locals-set-class-variables): Doc fix.
121 2012-04-09  Eli Zaretskii  <eliz@gnu.org>
123         * international/characters.el: Add set-case-syntax-pair call for
124         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
125         counterpart.  (Bug#11209)
127         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
129 2012-04-09  Glenn Morris  <rgm@gnu.org>
131         * calendar/holidays.el (calendar-check-holidays): Doc fix.
133 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
135         * textmodes/ispell.el (ispell-dictionary-base-alist): Add data for
136         Hebrew.
138 2012-04-08  Chong Yidong  <cyd@gnu.org>
140         * net/rcirc.el (rcirc-cmd-quit): Revert 2012-03-18 change
141         (Bug#11192).
143 2012-04-07  Glenn Morris  <rgm@gnu.org>
145         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
147 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
149         * minibuffer.el (completion-in-region-mode-map):
150         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
152 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
154         * window.el (shrink-window): Mention the `window-min-height'
155         variable in the doc string.
157 2012-04-05  Bastien Guerry  <bzg@altern.org>
159         * color.el (color-lighten-name): Fix typo.
161 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
163         * server.el (server--on-display-p): New function.
164         (server--on-display-p): Use it.
166 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
168         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
169         (bug#11145).
171 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
173         * comint.el (comint--common-quoted-suffix): Check string boundary
174         before comparing (bug#11158).
175         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
177 2012-04-04  Chong Yidong  <cyd@gnu.org>
179         * minibuffer.el (completion-extra-properties): Doc fix.
181         * subr.el (delayed-warnings-hook): Doc fix.
183 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
185         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
186         selection (Bug#11159).
187         (epa-insert-keys): Inform that the default public key will be
188         exported if no key is selected.
190 2012-04-04  Richard Stallman  <rms@gnu.org>
192         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
194 2012-04-03  Chong Yidong  <cyd@gnu.org>
196         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
197         mail-insert-file, not its obsolete alias mail-attach-file.
199 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
201         * notifications.el (notifications-notify): Fix docstring.
203 2012-04-02  Glenn Morris  <rgm@gnu.org>
205         * emacs-lisp/authors.el (authors-aliases): Another addition.
207 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
209         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
210         `tramp-compat-call-process' instead of `tramp-local-call-process'.
211         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
213 2012-04-01  Chong Yidong  <cyd@gnu.org>
215         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
216         Handle root directory properly.
217         (copy-directory): Caller changed.
219         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
220         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
222 2012-03-31  Glenn Morris  <rgm@gnu.org>
224         * term/xterm.el (xterm-extra-capabilities): Doc fix.
226         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
228         * calendar/calendar.el (calendar-window-list)
229         (calendar-hide-window): Restore.  (Bug#11140)
230         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
232         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
234 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
236         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
237         Check if file is a symlink (Bug#10489).
239         * files.el (copy-directory): Likewise.
241 2012-03-30  Chong Yidong  <cyd@gnu.org>
243         * image.el (imagemagick-types-inhibit)
244         (imagemagick-register-types): Doc fix.
246 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
248         * ispell.el (ispell-get-extended-character-mode): Disable
249         extended-char-mode for hunspell. hunspell does not support it and
250         treats ~word as ordinary words in pipe mode.
252 2012-03-30  Glenn Morris  <rgm@gnu.org>
254         * tutorial.el (help-with-tutorial): Ensure local variables don't
255         happen to make the buffer read-only.  (Bug#11127)
257 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
259         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
260         (perl-calculate-indent): Return `noindent' in strings.
262 2012-03-28  Sam Steingold  <sds@gnu.org>
264         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
265         instead of the broken adhockery which does not prevent calendar
266         buffers from being displayed at random after exit.
267         (calendar-window-list, calendar-hide-window): Remove the broken
268         adhockery.
270 2012-03-28  Glenn Morris  <rgm@gnu.org>
272         * replace.el (query-replace-map): Doc fix.
274 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
276         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
277         contents.  (Bug#11109)
279 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
281         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
282         (bug#11077).
283         (avl-tree--check, avl-tree--check-node): New funs.
285 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
287         * window.el (switch-to-visible-buffer): New option.
288         (switch-to-prev-buffer, switch-to-next-buffer):
289         Observe switch-to-visible-buffer.  Make sure that checking for a window
290         showing a buffer already is done on the same frame.
292 2012-03-27  Glenn Morris  <rgm@gnu.org>
294         * startup.el (mail-host-address): Doc fix.
296 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
298         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
299         than 197 variables.
301 2012-03-26  Ami Fischman  <ami@fischman.org>
303         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
305 2012-03-26  Glenn Morris  <rgm@gnu.org>
307         * files.el (save-buffers-kill-emacs): Doc fix.
309         * startup.el (normal-top-level, command-line, command-line-1):
310         Give them doc strings.
312 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
314         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
315         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
317 2012-03-25  Chong Yidong  <cyd@gnu.org>
319         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
320         theme if it was previously enabled before (Bug#11031).
322         * cus-theme.el (custom-theme-write-faces): Retrieve current face
323         spec with custom-face-get-current-spec if its :shown-value is not
324         determined yet (Bug#9337).
325         (customize-create-theme, custom-theme-revert): Doc fixes.
327         * button.el (button-at): Minor addition to docstring.
329 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
331         * vc/vc.el (vc-merge): Fix a prompt.
333 2012-03-24  Chong Yidong  <cyd@gnu.org>
335         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
336         point (Bug#9623).
338         * button.el (button-at): Minor addition to docstring.
340 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
342         * newcomment.el (comment-choose-indent): No space after BOL.
344 2012-03-22  Sam Steingold  <sds@gnu.org>
346         * window.el (switch-to-prev-buffer): Revert last patch because the
347         bug turned out to be an advertised feature (Elisp manual 28.14).
349 2012-03-22  Glenn Morris  <rgm@gnu.org>
351         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
352         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
354 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
356         * net/network-stream.el (network-stream-open-starttls): Make error
357         message under Windows be less misleading.
359 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
361         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
362         understands (bug#9942).
364 2012-03-22  Chong Yidong  <cyd@gnu.org>
366         * simple.el (end-of-visible-line): Handle return value of
367         next-single-property-change properly (Bug#9371).
369 2012-03-22  Kenichi Handa  <handa@m17n.org>
371         * international/quail.el (quail-insert-kbd-layout): Fix previous
372         change.  To avoid unwanted bidi reordering, use
373         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
375 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
377         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
378         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
379         (ruby-beginning-of-indent): Be more careful with the difference
380         between word-boundary and symbol boundary.
381         (ruby-mode-syntax-table): Make : a symbol constituent.
383 2012-03-21  Andreas Politz  <politza@fh-trier.de>
385         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
387 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
389         * progmodes/etags.el (tags-completion-at-point-function):
390         Improve last fix.
392         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
394 2012-03-21  Sam Steingold  <sds@gnu.org>
396         * progmodes/etags.el (tags-completion-at-point-function):
397         Avoid the error when point is inside the pattern.
399 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
401         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
402         line (Bug#10855).
404 2012-03-21  Drew Adams  <drew.adams@oracle.com>
406         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
408 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
410         * ido.el (ido-set-current-directory, ido-read-internal)
411         (ido-choose-completion-string, ido-completion-help): Handle nil
412         value of ido-completion-buffer (Bug#11008).
414 2012-03-21  Sam Steingold  <sds@gnu.org>
416         * window.el (switch-to-prev-buffer): Do not switch to a visible
417         window previous buffer, just like with the frame previous buffers.
419 2012-03-21  Chong Yidong  <cyd@gnu.org>
421         * faces.el (make-face, make-empty-face, copy-face):
422         * face-remap.el (face-remap-add-relative, face-remap-set-base):
423         Doc fixes.
425 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
427         * wid-edit.el (widget-complete-field): Remove (bug#11051).
428         (widget-complete): Remove broken use of it.
430 2012-03-20  Chong Yidong  <cyd@gnu.org>
432         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
433         Use string-width and truncate-string-width to handle arbitrary
434         characters.
436 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
438         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
439         to draw rectangles, not squares.  (Regression introduced by revno
440         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
442 2012-03-18  Chong Yidong  <cyd@gnu.org>
444         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
445         it is not yet defined (for temacs).
447 2012-03-18  Leo Liu  <sdl.web@gmail.com>
449         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
451 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
453         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
454         (ispell-choices-win-default-height, ispell-silently-savep)
455         (ispell-dictionary-alist, ispell-encoding8-command)
456         (ispell-check-version, ispell-aspell-find-dictionary)
457         (ispell-valid-dictionary-list, ispell-words-keyword)
458         (ispell-get-word, ispell-internal-change-dictionary)
459         (ispell-region, ispell-skip-region-list)
460         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
461         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
462         (ispell-message-text-end, ispell-message)
463         (ispell-buffer-local-parsing): Doc fix.
465 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
467         * htmlfontify.el: Add support for code block fontification for ODT
468         export (Bug #9914).
469         (hfy-optimisations): Define new option
470         `body-text-only'
471         (hfy-fontify-buffer): Honor above setting.
472         (hfy-begin-span, hfy-end-span): New routines factored out form
473         `hfy-fontify-buffer'.
474         (hfy-begin-span-handler, hfy-end-span-handler): New variables
475         that permit insertion of custom tags.
476         (hfy-fontify-buffer): Use above handlers.
477         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
478         (hfy-face-to-css): Re-defined to be a variable.
479         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
480         over multiple runs. This is made possible by having the caller let
481         bind a special variable `hfy-user-sheet-assoc'.
482         (htmlfontify-string): New defun.
483         (hfy-compile-face-map): Make sure that the last char in the
484         buffer is correctly fontified.
485         (hfy-face-resolve-face): Whitespace only change.
487 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
489         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
490         message more clear.
492 2012-03-16  Leo Liu  <sdl.web@gmail.com>
494         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
496 2012-03-16  Alan Mackenzie  <acm@muc.de>
498         Further optimise the handling of large macros.
500         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
501         limit to a call of `c-literal-limits'.
502         (c-determine-+ve-limit): New function.
503         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
504         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
505         In CASE 5B, restrict a search limit to 500.
506         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
508         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
509         Restrict macro bounds to +-500 from after-change's BEG END.
511 2012-03-16  Leo Liu  <sdl.web@gmail.com>
513         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
515 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
517         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
518         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
520 2012-03-16  Glenn Morris  <rgm@gnu.org>
522         * view.el (view-buffer, view-buffer-other-window)
523         (view-buffer-other-frame): Doc fixes re special mode-class.
525         * subr.el (eval-after-load): If named feature is provided not from
526         a file, run after-load forms.  (Bug#10946)
528         * calendar/calendar.el (calendar-insert-at-column):
529         Handle non-unit-width characters a bit better.  (Bug#10978)
531 2012-03-15  Chong Yidong  <cyd@gnu.org>
533         * emacs-lisp/ring.el (ring-extend): New function.
534         (ring-insert+extend): Extend the ring correctly (Bug#11019).
536         * comint.el (comint-read-input-ring)
537         (comint-add-to-input-history): Grow comint-input-ring lazily.
539 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
541         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
542         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
544         * imenu.el: Fix multiple inheritance breakage (bug#9199).
545         (imenu-add-to-menubar): Don't add a redundant index.
546         (imenu-update-menubar): Handle a dynamically composed keymap.
548 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
550         * mail/sendmail.el (mail-encode-header):
551         Bind rfc2047-encode-encoded-words to nil.
553 2012-03-13  Glenn Morris  <rgm@gnu.org>
555         * calendar/calendar.el (calendar-string-spread):
556         Handle non-unit-width characters a bit better.  (Bug#10978)
558 2012-03-13  Leo Liu  <sdl.web@gmail.com>
560         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
561         directory and file as argument (Bug#10822).
563 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
565         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
566         For dynamically generated code, follow $PC.
567         (gdb-disassembly-handler-custom): Handle no function name case.
569 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
571         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
572         * emulation/ws-mode.el (ws-query-replace):
573         * sort.el (sort-regexp-fields):
574         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
576 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
578         * dabbrev.el: Fix cycle completion order (bug#10963).
579         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
580         (dabbrev-completion): Don't use an obarray; provide
581         a cycle-sort-function.
583 2012-03-12  Leo Liu  <sdl.web@gmail.com>
585         * simple.el (kill-new): Use equal-including-properties for comparison.
586         (kill-do-not-save-duplicates): Doc fix.
588 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
590         * dabbrev.el: Fix cycle completion (bug#10963).
591         Use lexical binding and wrap to 80 columns.
592         (dabbrev-completion): Delay computing the list of completions.
594 2012-03-12  Kenichi Handa  <handa@m17n.org>
596         * international/quail.el (quail-insert-kbd-layout): Surround each
597         row by LRO and PDF instead of inserting many LRMs.  Pad the left
598         and right of each non-spacing marks.  Insert invisible space
599         between lower and upper characters to prevent composition.
601 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
603         * minibuffer.el (minibuffer-complete): Don't get confused when the
604         function is run twice via different commands (bug#10958).
605         (complete-with-action): Fix docstring.
607 2012-03-12  Chong Yidong  <cyd@gnu.org>
609         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
610         (nxml-completion-at-point-function): New function.
611         (nxml-mode): Use it.
612         (nxml-bind-meta-tab-to-complete-flag): Default to t.
614         * emacs-lisp/package.el (package-unpack, package-unpack-single):
615         Load generated autoloads file before byte compiling (Bug#10970).
616         (package--make-autoloads-and-compile): New helper fun.
618 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
620         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
622 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
624         * autorevert.el (auto-revert-handler): Ensure, that
625         file-readable-p is applied only for local files or in
626         auto-revert-tail-mode.
628 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
630         * server.el (server-eval-at): Handle non-tcp connections.
631         Decode result string.
633         * server.el (server-msg-size): New constant.
634         (server-reply-print): New function.
635         (server-eval-and-print): Use it.
636         (server-eval-at): Use server-quote-arg and server-unquote-arg.
637         Handle -print-nonl.
639 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
641         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
642         (Bug#10987).
644 2012-03-11  Chong Yidong  <cyd@gnu.org>
646         * simple.el (goto-line): Doc fix (Bug#9938).
648         * subr.el (save-window-excursion): Doc fix (Bug#9979).
650         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
651         when finished (Bug#10963).
653 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
655         * window.el (split-window-below): Fix bug in case where
656         split-window-keep-point is nil (Bug#10971).
658 2012-03-11  Juri Linkov  <juri@jurta.org>
660         * replace.el (replace-highlight): Set isearch-word to nil
661         unconditionally.  (Bug#10887)
663 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
665         * net/mairix.el (mairix-replace-invalid-chars): Rename from
666         mairix-replace-illegal-chars; all callers changed.  Don't remove
667         ^, ~, and = characters: they are meaningful in mairix search specs.
668         (mairix-widget-create-query): Add usage information about mairix
669         search forms: negating words, searching for substrings, etc.
671 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
673         * international/fontset.el (font-encoding-alist): Add an entry for
674         ksx1001 (Bug#5667).
676 2012-03-10  Richard Stallman  <rms@gnu.org>
678         * mail/sendmail.el (mail-encode-header):
679         Set rfc2047-encode-encoded-words.
681         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
683         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
684         view buffer means not swapped.
685         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
686         (rmail-write-region-annotate): Error if real text has disappeared.
688         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
690 2012-03-10  Chong Yidong  <cyd@gnu.org>
692         * emulation/cua-rect.el (cua--init-rectangles):
693         * emulation/cua-base.el (cua--init-keymaps):
694         Add delete-forward-char to remappings (Bug#9666).
696 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
698         * speedbar.el (speedbar-unhighlight-one-tag-line):
699         Avoid unhighlighting due to frame switching (Bug#10275).
701 2012-03-10  Chong Yidong  <cyd@gnu.org>
703         * minibuffer.el (completion-in-region, completion-help-at-point):
704         Give the completion field overlay a high priority (Bug#6830).
706         * dired.el (dired-goto-file): Recognize absolute file name
707         listings (Bug#7126).
708         (dired-goto-file-1): New helper function.
709         (dired-toggle-read-only): Inhibit warnings.
711 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
713         * net/dbus.el: (dbus-property-handler): Return empty array if
714         there are no properties.
716 2012-03-09  Leo Liu  <sdl.web@gmail.com>
718         * savehist.el (savehist-printable): Stricter check for string
719         value (Bug#10937).
721 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
723         * mail/smtpmail.el (smtpmail-send-it):
724         Bind coding-system-for-write to *-unix, so that FCC files are kept in
725         valid mbox format.
727 2012-03-09  Glenn Morris  <rgm@gnu.org>
729         * files.el (dir-locals-find-file):
730         Don't check result is regular, readable.
731         (dir-locals-read-from-file): Demote errors.
733 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
735         * international/quail.el (quail-insert-kbd-layout):
736         Insert invisible LRM characters before each character in a keyboard
737         layout cell, to prevent their reordering by bidi display engine.
738         For details, see the discussion in
739         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
741 2012-03-08  Alan Mackenzie  <acm@muc.de>
743         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
744         the starting position; make it extend the marked region when
745         invoked repeatedly - all under appropriate circumstances.
746         Fixes bugs #5525, #10906.
748 2012-03-08  Glenn Morris  <rgm@gnu.org>
750         * files.el (locate-dominating-file, dir-locals-find-file):
751         Undo 2012-03-06 change.
753 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
755         * international/quail.el (quail-help):
756         Force bidi-paragraph-direction be left-to-right.  See discussion in
757         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
758         for the reason.
760 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
762         Avoid superfluous registering of signals.  (Bug#10807)
764         * notifications.el (notifications-on-action-object)
765         (notifications-on-close-object): New defvars.
766         (notifications-on-action-signal, notifications-on-closed-signal):
767         Unregister the signal if not needed any longer.
768         (notifications-notify): Register `notifications-action-signal' or
769         `notifications-closed-signal', if :on-action or :on-close has been
770         passed as argument.
772 2012-03-07  Chong Yidong  <cyd@gnu.org>
774         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
775         non-X platforms.
777 2012-03-06  Glenn Morris  <rgm@gnu.org>
779         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
780         (x-disown-selection-internal, x-get-selection-internal):
781         Doc fix (add arglist signatures).  (Bug#10783)
783 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
785         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
786         Handle breakpoints with no "type".
788 2012-03-06  Glenn Morris  <rgm@gnu.org>
790         * files.el (locate-dominating-file): Add optional predicate argument.
791         (dir-locals-find-file): Make use of above change.
793 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
795         * info.el (Info-insert-dir): Also try "dir.gz".
797 2012-03-06  Glenn Morris  <rgm@gnu.org>
799         * files.el (dir-locals-find-file):
800         Ignore non-readable or non-regular files.  (Bug#10928)
802         * files.el (locate-dominating-file): Doc fix.
804 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
806         * calendar/calendar.el (calendar-set-mode-line):
807         `getenv' returns a string.  (Bug#10951)
809 2012-03-05  Leo Liu  <sdl.web@gmail.com>
811         * simple.el (backward-delete-char-untabify): Constrain point to
812         field (Bug#10939).
814         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
816 2012-03-05  Chong Yidong  <cyd@gnu.org>
818         * simple.el (count-words): If called from Lisp, return the word
819         count, for symmetry with `count-lines'.  Arglist changed.
820         (count-words--message): Args changed.  Consolidate counting code
821         from count-words and count-words-region.
822         (count-words-region): Caller changed.
823         (count-lines-region): Make it an obsolete alias.
825 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
827         * saveplace.el (save-place-to-alist)
828         (save-place-ignore-files-regexp): Allow value nil to disable this
829         feature.
831 2012-03-04  Chong Yidong  <cyd@gnu.org>
833         * faces.el (face-spec-reset-face): For the default face, reset the
834         attributes to default values (Bug#10748).
836 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
838         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
839         previous patch: Check `message-send-mail-function', and not the
840         default function (bug#10897).
842 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
844         * notifications.el (notifications-on-action-signal)
845         (notifications-on-closed-signal): Check for unique service name of
846         incoming event.  Fix error in removing entry.
847         (top): Register for signals with wildcard service name.
848         (notifications-notify): Use daemon unique service name for map entries.
850 2012-03-04  Chong Yidong  <cyd@gnu.org>
852         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
854 2012-03-04  Glenn Morris  <rgm@gnu.org>
856         * abbrev.el (copy-abbrev-table, abbrev-table-p)
857         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
858         (expand-abbrev, define-abbrev-table): Doc fixes.
860 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
862         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
863         `message-default-send-mail-function' and not `send-mail-function'
864         when doing the prompting for `sendmail-query-once' before sending
865         in Message buffers (bug#10897).
867         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
868         This is inconsistent with all the other stream functions, which leave
869         the setting up to the higher levels (if so wanted) (bug#10931).
871 2012-03-02  Alan Mackenzie  <acm@muc.de>
873         Depessimize the handling of very large macros.
875         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
876         (c-macro-cache-syntactic): New variables to implement a one
877         element macro cache.
878         (c-invalidate-macro-cache): New function.
879         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
880         Adapt to use the new cache.
881         (c-state-safe-place): Use better the cache of safe positions.
882         (c-state-semi-nonlit-pos-cache)
883         (c-state-semi-nonlit-pos-cache-limit):
884         New variables for...
885         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
886         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
887         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
888         Use c-state-semi-safe-place.
890         * progmodes/cc-langs.el (c-get-state-before-change-functions):
891         Add c-invalidate-macro-cache to the C, C++, Obj entries.
893 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
895         * jka-compr.el (jka-compr-call-process):
896         Apply `file-accessible-directory-p' only when the default directory is
897         not remote.
899 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
901         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
902         access of FILE2, if FILE1 does not exist.
904         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
905         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
907         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
908         Add "PAGER=" to `process-environment'.
910 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
912         * progmodes/sql.el: Bug fix
913         (sql-get-login-ext): Save login values in globals.
914         (sql-get-login): Use new version of `sql-get-login-ext'.
915         (sql-interactive-mode): Set global `sql-connection' to nil.
916         (sql-connect): Set global values for connection.
917         (sql-product-interactive): Save global values as buffer local.
919 2012-02-29  Leo Liu  <sdl.web@gmail.com>
921         * abbrev.el (define-abbrevs): Reset sys to nil.
923 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
925         * files.el (file-equal-p): Rename from `files-equal-p'.
926         Return nil when one or both files don't exist.
927         (file-subdir-of-p): Now only top directory must exists,
928         return nil if it doesn't.
929         (copy-directory): No need to test with `file-subdir-of-p' after
930         creating dir.
931         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
932         to `file-equal-p'.
934 2012-02-28  Glenn Morris  <rgm@gnu.org>
936         * shell.el (shell-mode):
937         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
938         * play/landmark.el (landmark-font-lock-face-O):
939         * play/handwrite.el (handwrite):
940         * play/gomoku.el (gomoku-O):
941         * net/browse-url.el (browse-url-browser-display):
942         * international/mule.el (define-charset):
943         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
944         * filesets.el (filesets-find-file-delay):
945         * eshell/em-xtra.el (eshell-xtra):
946         * eshell/em-unix.el (eshell-grep):
947         * emulation/viper.el (viper-mode):
948         * emacs-lisp/regexp-opt.el (regexp-opt-group):
949         * emacs-lisp/easymenu.el (easy-menu-define):
950         * calendar/timeclock.el (timeclock-use-display-time):
951         * bs.el (bs-mode):
952         * bookmark.el (bookmark-save-flag):
953         Doc fix (standardize possessive apostrophe usage).
955 2012-02-27  Chong Yidong  <cyd@gnu.org>
957         * emulation/viper-cmd.el (viper-intercept-ESC-key):
958         Fix key-binding lookup for ESC key (Bug#9146).
960         * font-lock.el (font-lock-specified-p): Rename from
961         font-lock-spec-present.  Callers changed.
963 2012-02-27  Daniel Hackney  <dan@haxney.org>
965         * emacs-lisp/package.el (package-compute-transaction):
966         Handle holding a package version to t in package-load-list.
968 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
970         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
971         (tramp-get-inode, tramp-get-device): Use cached values.
973 2012-02-26  Alan Mackenzie  <acm@muc.de>
975         Check there is a font-lock specification before doing initial
976         fontification.
978         * font-core.el (font-lock-mode): Move the conditional from
979         :after-hook to font-lock-initial-fontify.
980         (font-lock-default-function): Move the check for a specification
981         to font-lock-spec-present.
983         * font-lock.el (font-lock-initial-fontify): Call ...
984         (font-lock-spec-present): New function.
986 2012-02-26  Jim Blandy  <jimb@red-bean.com>
988         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
989         (gdb-send): Apply it to the operand of the '-interpreter-exec
990         console' command, so that we can pass arguments with (say) quotes
991         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
993 2012-02-26  Chong Yidong  <cyd@gnu.org>
995         * help-fns.el (describe-function-1): Clarify description of
996         remapping (Bug#10844).
998         * files.el (files-equal-p): Doc fix.
999         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
1000         and quit the loop once a mismatch is found.
1002 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
1004         * bs.el (bs--show-with-configuration): Don't throw an error
1005         if the window cannot be split; otherwise, subsequent calls to
1006         bs-show fail, restoring a stale window config.  (Bug#10882)
1008 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
1010         * term/ns-win.el (global-map): Bind ns-drag-file to
1011         ns-find-file (Bug#5855, Bug#10050).
1013 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
1015         * calendar/parse-time.el (parse-time-string): Allow extractor to
1016         return nil.
1018 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
1020         * net/tramp.el (tramp-file-name-for-operation):
1021         Add `files-equal-p' and `file-subdir-of-p'.
1023         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1024         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1025         Add COPY-CONTENTS argument.
1027 2012-02-25  Chong Yidong  <cyd@gnu.org>
1029         Add custom groups for VC backends, for consistency with vc-bzr.
1031         * vc/vc-arch.el (vc-arch):
1032         * vc/vc-cvs.el (vc-cvs):
1033         * vc/vc-git.el (vc-git):
1034         * vc/vc-hg.el (vc-hg):
1035         * vc/vc-mtn.el (vc-mtn):
1036         * vc/vc-rcs.el (vc-rcs):
1037         * vc/vc-sccs.el (vc-sccs):
1038         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1039         All relevant defcustoms reassigned.
1041 2012-02-25  Chong Yidong  <cyd@gnu.org>
1043         * newcomment.el (comment-styles): Add autoload (Bug#10868).
1045         * term/x-win.el (x-initialize-window-system): Reduce default for
1046         x-selection-timeout to 5 seconds (Bug#8869).
1048 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1050         * files.el (file-subdir-of-p): Fix typo.
1052 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1054         * files.el (files-equal-p, file-subdir-of-p): New functions.
1055         (copy-directory): Error when trying to copy a directory on itself.
1056         Add missing copy-contents arg to tramp handler.
1057         * dired-aux.el (dired-copy-file-recursive): Same.
1058         (dired-create-files): Modify destination when source is equal to
1059         dest when copying files.
1060         Return also when dest is a subdir of source.  (Bug#10489)
1062 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
1064         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1065         (Bug#10874)
1067 2012-02-23  Alan Mackenzie  <acm@muc.de>
1069         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1070         parameter "after-hook:" to allow the expansion to run code after
1071         the execution of the mode hooks.
1073         * font-lock.el (font-lock-initial-fontify): New function extracted
1074         from font-lock-mode-internal.
1076         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
1077         :after-hook.
1079 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1081         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1082         (completion--cache-all-sorted-completions): New function.
1083         (completion-all-sorted-completions): Use it.
1084         (completion--do-completion, minibuffer-force-complete):
1085         Use it to re-instate the flush hook.
1087         * icomplete.el (icomplete-completions): Replace last fix with a better
1088         one (bug#10850).
1090 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1092         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1093         when it might call us back infinitely (bug#10797).
1095 2012-02-23  Glenn Morris  <rgm@gnu.org>
1097         * minibuffer.el (completion-category-overrides): Doc fix.
1099 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1101         * minibuffer.el (completion-table-with-context): Fix inf-loop.
1102         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1104 2012-02-23  Glenn Morris  <rgm@gnu.org>
1106         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
1107         (authors-obsolete-files-regexps, authors-ignored-files)
1108         (authors-ambiguous-files, authors-renamed-files-alist):
1109         Add more entries.
1111 2012-02-23  Juri Linkov  <juri@jurta.org>
1113         * isearch.el (isearch-occur): Sync interactive spec with occur's
1114         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
1116         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1118 2012-02-22  Juri Linkov  <juri@jurta.org>
1120         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1121         (ucs-insert): Doc fix.  Check for hex digits in the string.
1122         Don't display `nil' in the error message.  (Bug#10857)
1124 2012-02-22  Alan Mackenzie  <acm@muc.de>
1126         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
1128 2012-02-22  Glenn Morris  <rgm@gnu.org>
1130         * ffap.el (ffap-c-path):
1131         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
1133 2012-02-22  Chong Yidong  <cyd@gnu.org>
1135         * custom.el (load-theme): Doc fix.
1137 2012-02-22  Glenn Morris  <rgm@gnu.org>
1139         * dired-x.el (dired-guess-shell-alist-default):
1140         Remove escape sequences from nroff output.  (Bug#172)
1142 2012-02-21  Glenn Morris  <rgm@gnu.org>
1144         * vc/emerge.el (emerge-defvar-local):
1145         Set `permanent-local' property rather than unused `preserved'.
1147         * textmodes/picture.el (picture-delete-char): New alias.
1148         (picture-mode-map): Use it.  (Bug#10860)
1149         (picture-mode): Doc fix.
1151 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
1153         * newcomment.el (uncomment-region-default): Remove unused binding.
1155 2012-02-21  Glenn Morris  <rgm@gnu.org>
1157         * textmodes/picture.el (picture-motion, picture-motion-reverse)
1158         (picture-self-insert, picture-tab-chars): Doc fix.
1159         (picture-mode-map): Fix C-a, C-e.
1161 2012-02-20  Glenn Morris  <rgm@gnu.org>
1163         * emacs-lisp/authors.el (authors-aliases): Add another entry.
1165 2012-02-20  Leo Liu  <sdl.web@gmail.com>
1167         * icomplete.el (icomplete-completions): Check FROM arg before
1168         passing to substring (Bug#10850).
1170 2012-02-19  Chong Yidong  <cyd@gnu.org>
1172         * comint.el: Require ansi-color.
1173         (comint-output-filter-functions): Add ansi-color-process-output.
1175         * ansi-color.el: Don't set comint-output-filter-functions; it is
1176         now in the initial value defined in comint.el.
1177         (ansi-color-apply-face-function): New variable.
1178         (ansi-color-apply-on-region): Use it.
1179         (ansi-color-apply-overlay-face): New function.
1181         * shell.el (shell): No need to require ansi-color.
1182         (shell-mode): Use ansi-color-apply-face-function to highlight
1183         color escapes using font-lock-face property (Bug#10835).
1185 2012-02-19  Chong Yidong  <cyd@gnu.org>
1187         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
1188         mode-line formats (Bug#10839).
1190 2012-02-18  Glenn Morris  <rgm@gnu.org>
1192         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
1194         * mail/undigest.el (unforward-rmail-message): Doc fix.
1196         * saveplace.el (save-place-ignore-files-regexp): Add :version.
1198 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
1200         * international/characters.el (script-list): Sync with the latest
1201         Unicode Character Database.
1203 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
1205         * international/titdic-cnv.el: Remove duplicate coding tag.
1206         * language/cham.el: Likewise.
1207         * language/tai-viet.el: Likewise.
1209 2012-02-18  Glenn Morris  <rgm@gnu.org>
1211         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
1212         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
1213         (calendar-bahai-all-holidays-flag, calendar-other-dates):
1214         * calendar/diary-lib.el (diary-abbreviated-year-flag):
1215         * calendar/holidays.el (holiday-bahai-holidays)
1216         (calendar-holidays, list-holidays):
1217         Use utf-8 Bahá'í in doc-strings, menus, etc.
1219 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
1221         * saveplace.el (save-place-ignore-files-regexp): New variable
1222         allowing for excluding files from saving their location of point.
1223         The default value matches the temporary commit message editing
1224         files from Git, SVN, Bazaar, and Mercurial.
1225         (save-place-to-alist): Use it.
1227 2012-02-17  Lawrence Mitchell <wence@gmx.li>
1228             Stefan Monnier  <monnier@iro.umontreal.ca>
1230         * newcomment.el (uncomment-region-default): Don't leave extra space
1231         when an arg is provided (bug#8150).
1233 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
1235         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
1237 2012-02-17  Glenn Morris  <rgm@gnu.org>
1239         * net/socks.el: Require network-stream.  (Bug#10599)
1241 2012-02-17  Kenichi Handa  <handa@m17n.org>
1243         * international/charprop.el:
1244         * international/uni-name.el:
1245         * international/uni-old-name.el:
1246         * international/uni-comment.el: Regenerate.
1248 2012-02-16  Glenn Morris  <rgm@gnu.org>
1250         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
1251         Interactively in calendar buffer, give an error if not on a date.
1253 2012-02-15  Glenn Morris  <rgm@gnu.org>
1255         * shell.el (shell-delimiter-argument-list):
1256         Revert 2011-02-17 change.  (Bug#8027)
1258 2012-02-15  Chong Yidong  <cyd@gnu.org>
1260         * minibuffer.el (completion-at-point-functions): Doc fix.
1262         * custom.el (defcustom): Doc fix; note use of defvar.
1264 2012-02-15  Glenn Morris  <rgm@gnu.org>
1266         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
1267         Doc fixes.
1269 2012-02-14  Glenn Morris  <rgm@gnu.org>
1271         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
1273 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
1275         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
1276         way the ports list is computed.
1277         (smtpmail-query-smtp-server): Prompt the user for a port number if
1278         we can't connect to any of the standard ports (bug#10810).
1280 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
1282         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
1284 2012-02-13  Glenn Morris  <rgm@gnu.org>
1286         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
1288 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
1290         * net/gnutls.el (gnutls-trustfiles): New variable.
1291         (gnutls-negotiate): Use it.
1293 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
1295         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
1296         does its stuff if Gnus is running.
1298 2012-02-13  Alan Mackenzie  <acm@muc.de>
1300         Fix a loop in c-set-fl-decl-start.
1302         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
1303         c-backward-syntactic-ws actually moves backwards.
1305 2012-02-13  Leo Liu  <sdl.web@gmail.com>
1307         * net/rcirc.el (rcirc-markup-attributes): Move point to the
1308         beginning so that all \C-o chars are removed.
1310 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
1312         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
1314 2012-02-12  Alan Mackenzie  <acm@muc.de>
1316         Fix infinite loop with long macros.
1317         * cc-engine.el (c-state-safe-place): Handle macros properly.
1319 2012-02-12  Chong Yidong  <cyd@gnu.org>
1321         * window.el (display-buffer): Doc fix (Bug#10785).
1323 2012-02-12  Glenn Morris  <rgm@gnu.org>
1325         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1326         (x-disown-selection-internal, x-get-selection-internal):
1327         Sync docs with the xselect.c versions.
1329         * allout-widgets.el: Add missing license notice.
1331 2012-02-11  Glenn Morris  <rgm@gnu.org>
1333         * select.el (x-get-selection-internal, x-own-selection-internal)
1334         (x-disown-selection-internal):
1335         * x-dnd.el (x-get-selection-internal): Update declarations.
1337         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
1339         * window.el (window-sides-slots):
1340         * tool-bar.el (tool-bar-position):
1341         * term/xterm.el (xterm-extra-capabilities):
1342         * ses.el (ses-self-reference-early-detection):
1343         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
1344         (verilog-auto-wire-type)
1345         (verilog-auto-delete-trailing-whitespace)
1346         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
1347         (verilog-auto-tieoff-declaration):
1348         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
1349         (sql-oracle-statement-starters, sql-oracle-scan-on):
1350         * progmodes/prolog.el (prolog-align-comments-flag)
1351         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
1352         (prolog-left-indent-regexp, prolog-paren-indent-p)
1353         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
1354         (prolog-types, prolog-mode-specificators)
1355         (prolog-determinism-specificators, prolog-directives)
1356         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
1357         (prolog-electric-dot-flag)
1358         (prolog-electric-dot-full-predicate-template)
1359         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
1360         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
1361         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
1362         (prolog-program-switches, prolog-prompt-regexp)
1363         (prolog-debug-on-string, prolog-debug-off-string)
1364         (prolog-trace-on-string, prolog-trace-off-string)
1365         (prolog-zip-on-string, prolog-zip-off-string)
1366         (prolog-use-standard-consult-compile-method-flag)
1367         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
1368         (prolog-imenu-max-lines, prolog-info-predicate-index)
1369         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
1370         (prolog-char-quote-workaround):
1371         * progmodes/cc-vars.el (c-defun-tactic):
1372         * net/tramp.el (tramp-encoding-command-interactive)
1373         (tramp-local-end-of-line):
1374         * net/soap-client.el (soap-client):
1375         * net/netrc.el (netrc-file):
1376         * net/gnutls.el (gnutls):
1377         * minibuffer.el (completion-category-overrides)
1378         (completion-cycle-threshold)
1379         (completion-pcm-complete-word-inserts-delimiters):
1380         * man.el (Man-name-local-regexp):
1381         * mail/feedmail.el (feedmail-display-full-frame):
1382         * international/characters.el (glyphless-char-display-control):
1383         * eshell/em-ls.el (eshell-ls-date-format):
1384         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
1385         (lisp-lambda-list-keyword-parameter-indentation)
1386         (lisp-lambda-list-keyword-parameter-alignment):
1387         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
1388         * dired-x.el (dired-omit-verbose):
1389         * cus-theme.el (custom-theme-allow-multiple-selections):
1390         * calc/calc.el (calc-highlight-selections-with-faces)
1391         (calc-lu-field-reference, calc-lu-power-reference)
1392         (calc-note-threshold):
1393         * battery.el (battery-mode-line-limit):
1394         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1395         (archive-7z-update):
1396         * allout.el (allout-prefixed-keybindings)
1397         (allout-unprefixed-keybindings)
1398         (allout-inhibit-auto-fill-on-headline)
1399         (allout-flattened-numbering-abbreviation):
1400         * allout-widgets.el (allout-widgets-auto-activation)
1401         (allout-widgets-icons-dark-subdir)
1402         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
1403         (allout-widgets-theme-dark-background)
1404         (allout-widgets-theme-light-background)
1405         (allout-widgets-item-image-properties-emacs)
1406         (allout-widgets-item-image-properties-xemacs)
1407         (allout-widgets-run-unit-tests-on-load)
1408         (allout-widgets-time-decoration-activity)
1409         (allout-widgets-hook-error-post-time)
1410         (allout-widgets-track-decoration):
1411         Add missing :version tags to new defcustoms and defgroups.
1413         * progmodes/sql.el (sql-ansi-statement-starters)
1414         (sql-oracle-statement-starters): Add custom type.
1416         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
1417         (prolog-system-version): Give it a type.
1419 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
1421         * term/pc-win.el (x-select-text, x-selection-owner-p)
1422         (x-own-selection-internal, x-disown-selection-internal)
1423         (x-get-selection-internal): Sync doc strings and argument lists
1424         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
1426 2012-02-11  Leo Liu  <sdl.web@gmail.com>
1428         * progmodes/python.el (python-end-of-statement): Fix infinite
1429         loop.  (Bug#10788)
1431 2012-02-10  Glenn Morris  <rgm@gnu.org>
1433         * international/mule-cmds.el (unify-8859-on-encoding-mode)
1434         (unify-8859-on-decoding-mode): Properly mark as obsolete.
1436 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
1438         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
1439         about SMTP before checking the From header.
1441         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
1442         into own function for reuse by emacsbug.el.
1444 2012-02-10  Leo Liu  <sdl.web@gmail.com>
1446         * subr.el (condition-case-unless-debug): Rename from
1447         condition-case-no-debug.  All callers changed.
1448         (with-demoted-errors): Fix caller.
1450         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
1451         * nxml/rng-valid.el (rng-do-some-validation):
1452         * emacs-lisp/package.el (package-refresh-contents)
1453         (package-menu-execute):
1454         * desktop.el (desktop-create-buffer):
1455         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1457 2012-02-10  Glenn Morris  <rgm@gnu.org>
1459         * textmodes/bibtex.el:
1460         Add missing :version tags for new/changed defcustoms.
1462         * files.el (remote-file-name-inhibit-cache): Doc fixes.
1464 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
1466         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
1467         (smtpmail-via-smtp): Use it, or fall back on the From address.
1468         (smtpmail-send-it): Ditto.
1470 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1472         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1473         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
1474         (byte-compile-tmp-var): New const.
1475         (byte-compile-defvar): Use it to minimize .elc size.
1476         Just use `defvar' rather than simulate it (bug#10761).
1478 2012-02-09  Glenn Morris  <rgm@gnu.org>
1480         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
1482         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
1483         Add :version tags.
1485         * progmodes/compile.el (compilation-error-screen-columns)
1486         (compilation-first-column, compilation-filter-start): Doc fixes.
1488         * vc/log-view.el (log-view-toggle-entry-display):
1489         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
1491         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
1492         (report-emacs-bug-can-use-xdg-email):
1493         (report-emacs-bug-insert-to-mailer): Doc fixes.
1494         (report-emacs-bug): Message fix.
1496         * net/browse-url.el (browse-url-can-use-xdg-open)
1497         (browse-url-xdg-open): Doc fixes.
1499         * electric.el (electric-indent-mode, electric-pair-mode)
1500         (electric-layout-rules, electric-layout-mode): Doc fixes.
1501         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
1503 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
1505         * server.el (server-unselect-display): Don't inadvertently kill
1506         the current buffer.  (Bug#10729)
1508 2012-02-08  Glenn Morris  <rgm@gnu.org>
1510         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
1511         (sql-list-table): Doc fixes.
1513         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
1514         Comment out (does nothing).
1516         * completion.el (dynamic-completion-mode):
1517         * dirtrack.el (dirtrack-debug-mode):
1518         * electric.el (electric-layout-mode):
1519         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
1520         * face-remap.el (text-scale-mode, buffer-face-mode):
1521         * iimage.el (iimage-mode):
1522         * image-mode.el (image-transform-mode):
1523         * minibuffer.el (completion-in-region-mode):
1524         * scroll-lock.el (scroll-lock-mode):
1525         * simple.el (next-error-follow-minor-mode):
1526         * tar-mode.el (tar-subfile-mode):
1527         * tooltip.el (tooltip-mode):
1528         * vcursor.el (vcursor-use-vcursor-map):
1529         * wid-browse.el (widget-minor-mode):
1530         * emulation/tpu-edt.el (tpu-edt-mode):
1531         * emulation/tpu-extras.el (tpu-cursor-free-mode):
1532         * international/iso-ascii.el (iso-ascii-mode):
1533         * language/thai-util.el (thai-word-mode):
1534         * mail/supercite.el (sc-minor-mode):
1535         * net/goto-addr.el (goto-address-mode):
1536         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
1537         * progmodes/cwarn.el (cwarn-mode):
1538         * progmodes/flymake.el (flymake-mode):
1539         * progmodes/glasses.el (glasses-mode):
1540         * progmodes/hideshow.el (hs-minor-mode):
1541         * progmodes/pascal.el (pascal-outline-mode):
1542         * textmodes/enriched.el (enriched-mode):
1543         * vc/smerge-mode.el (smerge-mode):
1544         Doc fixes (minor mode argument).
1546 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
1548         * ls-lisp.el (ls-lisp-sanitize): New function.
1549         (ls-lisp-insert-directory): Use it to fix or remove any elements
1550         in file-alist with missing attributes.  (Bug#4673)
1552 2012-02-07  Alan Mackenzie  <acm@muc.de>
1554         Fix spurious recognition of c-in-knr-argdecl.
1556         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
1557         putative K&R region.
1559 2012-02-07  Alan Mackenzie  <acm@muc.de>
1561         * progmodes/cc-engine.el (c-forward-objc-directive):
1562         Prevent looping in "#pragma mark @implementation".
1564 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
1566         * notifications.el (notifications-on-closed-signal): Make `reason'
1567         optional.  (Bug#10744)
1569 2012-02-07  Glenn Morris  <rgm@gnu.org>
1571         * emacs-lisp/easy-mmode.el (define-minor-mode):
1572         Doc fixes for the macro and the mode it defines.
1574         * image.el (imagemagick-types-inhibit): Doc fix.
1576         * cus-start.el (imagemagick-render-type): Add it.
1578 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
1580         * progmodes/cc-mode.el
1581         (c-standard-font-lock-fontify-region-function): Set the default at
1582         load time, too, so that `font-lock-fontify-buffer' can be called
1583         without setting up the entire mode first.  This fixes a bug in
1584         `mm-inline-text' with C MIME parts.
1586 2012-02-06  Chong Yidong  <cyd@gnu.org>
1588         * simple.el (list-processes--refresh): Delete exited processes
1589         (Bug#8094).
1591         * comint.el (comint-next-prompt): next-single-char-property-change
1592         and prev-single-char-property-change never return nil (Bug#8657).
1594         * custom.el (defcustom): Doc fix (Bug#9711).
1596 2012-02-05  Chong Yidong  <cyd@gnu.org>
1598         * cus-edit.el (custom-variable-reset-backup): Quote the value
1599         before storing it in the customized-value property (Bug#6712).
1600         (custom-display): Add a customization type tag.
1601         (custom-buffer-create-internal): Improve tooltip message.
1603         * wid-edit.el (widget-field-value-get): New optional arg to
1604         suppress trailing whitespace truncation.
1605         (character): Use it (Bug#2689).
1607 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
1609         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
1610         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
1612 2012-02-05  Chong Yidong  <cyd@gnu.org>
1614         * cus-edit.el (custom-variable-value-create): For mismatched
1615         types, show the current value (Bug#7600).
1617         * custom.el (defcustom): Doc fix.
1619 2012-02-05  Glenn Morris  <rgm@gnu.org>
1621         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
1623 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
1625         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
1626         (pp-buffer): Use `ignore-errors', `looking-at-p'.
1627         (pp-last-sexp): Use `looking-at-p'.
1629 2012-02-04  Glenn Morris  <rgm@gnu.org>
1631         * files.el (revert-buffer):
1632         Doc fix (mention revert-buffer-in-progress-p).
1634         * emacs-lisp/ert-x.el (ert-simulate-command):
1635         Check deferred-action-list (which is obsolete) is bound.
1637         * subr.el (with-wrapper-hook): Doc fixes.
1639         * simple.el (filter-buffer-substring-functions)
1640         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
1642 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
1644         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
1645         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
1647 2012-02-04  Leo Liu  <sdl.web@gmail.com>
1649         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
1651 2012-02-04  Glenn Morris  <rgm@gnu.org>
1653         * image.el (image-extension-data): Add obsolete alias.
1655         * isearch.el (isearch-update): Doc fix.
1657         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
1659         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
1661 2012-02-03  Glenn Morris  <rgm@gnu.org>
1663         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
1664         (image-animate-timeout): Doc fix.
1666         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
1668 2012-02-02  Glenn Morris  <rgm@gnu.org>
1670         * server.el (server-auth-dir): Doc fix.
1671         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
1673         * subr.el (run-mode-hooks): Doc fix.
1675 2012-02-02  Juri Linkov  <juri@jurta.org>
1677         * image-mode.el (image-toggle-display-image): Remove tautological
1678         `major-mode' from the `derived-mode-p' test.
1680 2012-02-02  Kenichi Handa  <handa@m17n.org>
1682         * composite.el (compose-region): Cancel previous change.
1684 2012-02-02  Kenichi Handa  <handa@m17n.org>
1686         * composite.el (compose-region, compose-string): Signal error for
1687         a null string component (Bug#6988).
1689 2012-02-01  Chong Yidong  <cyd@gnu.org>
1691         * view.el (view-buffer-other-window, view-buffer-other-frame):
1692         Handle special modes like view-buffer (Bug#10650).
1693         (view-buffer): Simplify.
1695         * frame.el (set-frame-font): Tweak meaning of third argument.
1697         * dynamic-setting.el (font-setting-change-default-font):
1698         Use set-frame-font (Bug#9982).
1700 2012-02-01  Glenn Morris  <rgm@gnu.org>
1702         * progmodes/compile.el (compilation-internal-error-properties):
1703         Respect compilation-first-column in the "*compilation*" buffer.
1705         * emacs-lisp/easy-mmode.el (define-minor-mode):
1706         Relax :variable's test for a named function.
1708 2012-01-31  Alan Mackenzie  <acm@muc.de>
1710         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
1711         off by one error.
1713 2012-01-31  Chong Yidong  <cyd@gnu.org>
1715         * frame.el (set-frame-font): New arg ALL-FRAMES.
1717         * menu-bar.el (menu-set-font): Use set-frame-font.
1719         * faces.el (face-spec-reset-face): Don't apply unspecified
1720         attribute values to the default face.
1722 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
1724         * progmodes/cwarn.el (cwarn): Remove dead link.
1725         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
1726         Remove * from defcustom docstrings.
1727         (turn-on-cwarn-mode): Make obsolete.
1728         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
1729         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
1731 2012-01-31  Glenn Morris  <rgm@gnu.org>
1733         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1734         Fix :variable handling of mode a symbol not equal to modefun.
1735         Allow named functions to be used as the cdr of :variable.
1737 2012-01-30  Glenn Morris  <rgm@gnu.org>
1739         * emacs-lisp/authors.el (authors-fixed-entries):
1740         Remove reference to deleted file rnewspost.el.
1742 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
1744         * window.el (window-with-parameter): Remove unused variable `windows'.
1745         (window--side-check): Remove unused variable `code'.
1746         (window--resize-siblings): Remove unused variable `first'.
1747         (adjust-window-trailing-edge): Remove unused variable `failed'.
1748         (window-deletable-p, window--delete): Remove unused variable `buffer'.
1749         Use `let', not `let*'.
1750         (balance-windows-2): Remove unused variable `found'.
1751         (window--state-put-2): Remove unused variable `splits'.
1752         (window-state-put): Remove unused variable `selected'.
1753         (same-window-p): Use `string-match-p'.
1754         (display-buffer-assq-regexp): Remove unused variable `value'.
1755         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1756         Mark argument ALIST as ignored.
1757         (pop-to-buffer): Remove unused variable `old-window'.
1759 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
1761         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
1762         and .lzma compressed files.
1764 2012-01-29  Chong Yidong  <cyd@gnu.org>
1766         * frame.el (window-system-default-frame-alist): Doc fix.
1768         * dynamic-setting.el (font-setting-change-default-font): Don't
1769         change the default face if SET-FONT argument is non-nil (Bug#9982).
1771 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
1773         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
1775 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
1777         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
1778         breakpoints in files outside current directory (Bug#6098).
1780 2012-01-29  Chong Yidong  <cyd@gnu.org>
1782         * progmodes/python.el: Require ansi-color at top-level.
1784         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
1785         Define and use in Emacs Lisp mode (Bug#9360).
1786         (lisp-mode-abbrev-table): Add doc.
1787         (lisp-mode-variables): Don't set local-abbrev-table.
1788         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
1790 2012-01-28  Roland Winkler  <winkler@gnu.org>
1792         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
1794 2012-01-28  Roland Winkler  <winkler@gnu.org>
1796         * textmodes/bibtex.el (bibtex-entry-alist): New function.
1797         (bibtex-set-dialect): Use it.  Either set global values of
1798         dialect-dependent variables or bind these variables buffer-locally
1799         (Bug#10254).
1800         (bibtex-mode): Call bibtex-set-dialect via
1801         hack-local-variables-hook.
1802         (bibtex-dialect): Update docstring.
1803         Add safe-local-variable predicate.
1804         (bibtex-entry-alist, bibtex-field-alist): Initialize via
1805         bibtex-set-dialect.
1806         (bibtex-mode-map): Define menu for each dialect.
1807         (bibtex-entry): Fix docstring.
1809 2012-01-28  Chong Yidong  <cyd@gnu.org>
1811         * eshell/esh-arg.el (eshell-quote-argument): New function.
1813         * eshell/esh-ext.el (eshell-invoke-batch-file):
1814         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
1815         first arg to eshell-parse-command (Bug#10523).
1817 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1819         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
1820         `default-directory' is non-nil.
1822 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1824         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
1825         line that displays system-configuration-options.  (Bug#9924)
1827 2012-01-28  Drew Adams  <drew.adams@oracle.com>
1829         * descr-text.el (describe-char): Show information about POS, in
1830         addition to information about the character at POS.  Improve and
1831         update the doc string.  Change "code point" to "code point in
1832         charset", to avoid confusion with the character's Unicode code
1833         point shown above that.  (Bug#10129)
1835 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
1837         * descr-text.el (describe-char): Show the raw character, not only
1838         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
1839         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
1840         for the reasons.
1842 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
1844         * emacs-lisp/package.el (package-install):
1845         Run package-refresh-contents if there is no archive yet (Bug#9798).
1847 2012-01-28  Chong Yidong  <cyd@gnu.org>
1849         * emacs-lisp/package.el (package-maybe-load-descriptor):
1850         New function, split from package-maybe-load-descriptor.
1851         (package-maybe-load-descriptor): Use it.
1852         (package-download-transaction): Fully load required packages
1853         inside the loop, so that `require' calls work (Bug#10593).
1854         (package-install): No need to call package-initialize now.
1856 2012-01-28  Chong Yidong  <cyd@gnu.org>
1858         * simple.el (deactivate-mark): Doc fix (Bug#8614).
1860         * tooltip.el (tooltip-mode): Doc fix.
1861         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
1863         * frame.el (set-cursor-color): Doc fix (Bug#352).
1865         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
1866         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
1868         * cus-edit.el (custom-buffer-create-internal): Fix search button
1869         action (Bug#10542).
1870         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
1872 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
1874         * dired.el (dired-mark-files-regexp):
1875         Include any subdirectory components.  (Bug#10445)
1877 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1879         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
1880         Handle [host]:port syntax.  (Bug#10533)
1882 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
1884         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
1886 2012-01-26  Glenn Morris  <rgm@gnu.org>
1888         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
1889         * term.el (term-raw-escape-map): Use Control-X-prefix.
1890         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
1892 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
1894         * window.el (window-state-get, window--state-get-1): Don't deal
1895         with fixed-sizeness of windows.  Simplify code.
1897 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
1899         * window.el (window--state-get-1, window--state-put-2):
1900         Don't save and restore the mark.
1902 2012-01-25  Chong Yidong  <cyd@gnu.org>
1904         * custom.el (custom-variable-p): Doc fix.
1906 2012-01-25  Glenn Morris  <rgm@gnu.org>
1908         * dired.el (dired-goto-file): Handle some of the more common
1909         characters that `ls -b' escapes.  (Bug#10596)
1911         * progmodes/compile.el (compilation-next-error-function):
1912         Respect compilation-first-column in the "*compilation*" buffer.
1913         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
1915         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
1917 2012-01-24  Glenn Morris  <rgm@gnu.org>
1919         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
1921 2012-01-24  Julien Danjou  <julien@danjou.info>
1923         * color.el (color-rgb-to-hsl): Fix value computing.
1924         (color-hue-to-rgb): New function.
1925         (color-hsl-to-rgb): New function.
1926         (color-clamp, color-saturate-hsl, color-saturate-name)
1927         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1928         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1930 2012-01-24  Glenn Morris  <rgm@gnu.org>
1932         * vc/vc-rcs.el (vc-rcs-create-tag):
1933         * vc/vc-sccs.el (vc-sccs-create-tag):
1934         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
1936 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
1938         * eshell/esh-util.el (eshell-read-hosts-file):
1939         Skip comment lines.  (Bug#10549)
1941         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
1943 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
1945         * subr.el (display-delayed-warnings): Doc fix.
1946         (collapse-delayed-warnings): New function to collapse identical
1947         adjacent warnings.
1948         (delayed-warnings-hook): Add it.
1950 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
1952         * net/tramp.el (tramp-action-login): Set connection property "login-as".
1954         * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1955         properties, when "login-as" is set.
1957         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1958         (tramp-default-user-alist): Don't add "pscp".
1959         (tramp-do-copy-or-rename-file-out-of-band): Use connection
1960         property "login-as", if set.  (Bug#10530)
1962 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
1964         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1965         "plink1" and "psftp".  (Bug#10530)
1967 2012-01-21  Kenichi Handa  <handa@m17n.org>
1969         * international/mule-cmds.el (prefer-coding-system): Show a
1970         warning message if the default value of file-name-coding-system
1971         was not changed.
1973 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
1975         * windmove.el (windmove-reference-loc):
1976         Fix windmove-reference-loc miscalculation.
1978 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1980         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1981         default unit.
1983 2012-01-21  Glenn Morris  <rgm@gnu.org>
1985         * international/mule.el (auto-coding-alist): Add .tbz.
1987         * files.el (local-enable-local-variables): Doc fix.
1988         (inhibit-local-variables-regexps): Rename from
1989         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
1990         Doc fix.  Add some extensions from auto-coding-alist.
1991         (inhibit-local-variables-suffixes):
1992         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
1993         (inhibit-local-variables-p):
1994         New function, extracted from set-auto-mode-1.
1995         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
1996         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
1997         (hack-local-variables): Doc fix.  Make the mode-only case
1998         respect enable-local-variables and friends.
1999         Respect inhibit-local-variables-regexps for file-locals, but
2000         not for directory-locals.
2001         (set-visited-file-name):
2002         Take account of inhibit-local-variables-regexps.
2003         Whether it applies may change as the file name is changed.
2004         * jka-cmpr-hook.el (jka-compr-install):
2005         * jka-compr.el (jka-compr-uninstall):
2006         Update for inhibit-first-line-modes-suffixes name change.
2008 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
2010         * help-macro.el (make-help-screen): Temporarily restore original
2011         binding for minor-mode-map-alist (Bug#10454).
2013 2012-01-19  Julien Danjou  <julien@danjou.info>
2015         * color.el (color-name-to-rgb): Use the white color to find the max
2016         color component value and return correctly computed values.
2017         (color-name-to-rgb): Add missing float conversion for max value.
2019 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
2021         * window.el (window--state-get-1, window-state-get): Do not use
2022         special state value for window-persistent-parameters.
2023         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
2024         (window--state-put-2): Reset all window parameters to nil before
2025         assigning values of persistent parameters.
2027 2012-01-18  Alan Mackenzie  <acm@muc.de>
2029         Eliminate sluggishness and hangs in fontification of "semicolon
2030         deserts".
2032         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2033         Change value 10000 -> 3000.
2034         (c-state-safe-place): Reformulate so it doesn't stack up an
2035         infinite number of wrong entries in c-state-nonlit-pos-cache.
2036         (c-determine-limit-get-base, c-determine-limit): New functions to
2037         determine backward search limits disregarding literals.
2038         (c-find-decl-spots): Amend commenting.
2039         (c-cheap-inside-bracelist-p): New function which detects "={".
2041         * progmodes/cc-fonts.el
2042         (c-make-font-lock-BO-decl-search-function): Give a limit to a
2043         backward search.
2044         (c-font-lock-declarations): Fix an occurrence of point being
2045         undefined.  Check additionally for point being in a bracelist or
2046         near a macro invocation without a semicolon so as to avoid a
2047         fruitless time consuming search for a declarator.  Give a more
2048         precise search limit for declarators using the new
2049         c-determine-limit.
2051 2012-01-18  Glenn Morris  <rgm@gnu.org>
2053         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2054         (set-auto-mode): Doc fixes.
2056 2012-01-17  Glenn Morris  <rgm@gnu.org>
2058         * isearch.el (search-nonincremental-instead): Fix doc typo.
2060         * dired.el (dired-insert-directory): Handle newlines in directory name.
2061         (dired-build-subdir-alist): Unescape newlines in directory name.
2063 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
2065         * net/tramp.el (tramp-local-end-of-line): New defcustom.
2066         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2067         (tramp-action-terminal): Use it.  (Bug#10530)
2069 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2071         * minibuffer.el (completion--replace): Strip properties (bug#10062).
2073 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
2075         * window.el (window-state-ignored-parameters): Remove variable.
2076         (window--state-get-1): Rename argument MARKERS to IGNORE.
2077         Handle persistent window parameters.  Make copy of clone-of
2078         parameter only if requested.  (Bug#10348)
2079         (window--state-put-2): Install a window parameter only if it has
2080         a non-nil value or an existing parameter shall be overwritten.
2082 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
2084         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2086 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
2088         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2089         don't pass the (nil) value of `upnode' to string-match.
2091 2012-01-14  Chong Yidong  <cyd@gnu.org>
2093         * startup.el (command-line): Fix X resource class for cursorColor.
2094         Fix values recognized by the cursorBlink resource.
2096 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
2098         * epg.el (epg--make-temp-file): Avoid permission race condition
2099         when running on old Emacs versions (bug#10403).
2101 2012-01-14  Glenn Morris  <rgm@gnu.org>
2103         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2105 2012-01-13  Alan Mackenzie  <acm@muc.de>
2107         Fix filling for when filladapt mode is enabled.
2109         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2110         c-mask-paragraph, pass in `fill-paragraph' rather than
2111         `fill-region-as-paragraph'.  (This is a reversion of a previous
2112         change.)
2113         * progmodes/cc-mode.el (c-basic-common-init):
2114         Make fill-paragraph-handle-comment buffer local and set it to nil.
2116 2012-01-13  Glenn Morris  <rgm@gnu.org>
2118         * dired.el (dired-switches-escape-p): New function.
2119         (dired-insert-directory): Use dired-switches-escape-p.
2120         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
2122         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
2124 2012-01-12  Glenn Morris  <rgm@gnu.org>
2126         * mail/sendmail.el (mail-mode): Update paragraph-separate for
2127         changes in adaptive-fill-regexp.  (Bug#10276)
2129 2012-01-11  Alan Mackenzie  <acm@muc.de>
2131         Fix Emacs bug #10463 - put `widen's around the critical spots.
2133         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2134         widen around each invocation of c-state-pp-to-literal.  Remove an
2135         unused let variable.
2137 2012-01-11  Glenn Morris  <rgm@gnu.org>
2139         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
2140         Doc fix.
2142 2012-01-10  Chong Yidong  <cyd@gnu.org>
2144         * net/network-stream.el (network-stream-open-starttls):
2145         Avoid emitting a confusing error message when the server gives a bad
2146         response to the capability command.
2148 2012-01-10  Glenn Morris  <rgm@gnu.org>
2150         * mail/unrmail.el (unrmail): Tweak previous change.
2152 2012-01-09  Chong Yidong  <cyd@gnu.org>
2154         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
2156 2012-01-08  Alan Mackenzie  <acm@muc.de>
2158         Optimise font locking in long enum definitions.
2160         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
2161         arm to a cond form to handle enums.
2162         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
2163         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
2165 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2167         * files.el (move-file-to-trash): Preserve default file modes on error.
2168         (Bug#10401)
2170 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2172         * faces.el (set-face-attribute): Clarify the meaning of the nil
2173         frame (bug#10294).
2175         * subr.el (with-selected-frame): Mention that the selected frame
2176         is restored (bug#9980).
2178         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
2179         (bug#9759).
2181         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
2182         (password-read): Don't autoload unused function.
2184 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
2186         * progmodes/which-func.el (which-func-mode): Turn into a
2187         non-interactive function and mark as obsolete (bug#10428).
2189 2012-01-06  Chong Yidong  <cyd@gnu.org>
2191         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
2192         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
2193         functions, along with 1 and -1.
2195 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
2197         * time.el (display-time-load-average)
2198         (display-time-default-load-average): Doc fixes.  See the thread
2199         starting at
2200         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
2201         for the details.
2203 2012-01-06  Glenn Morris  <rgm@gnu.org>
2205         * mail/unrmail.el (unrmail): Give an explicit error if the input file
2206         has no messages.  (Bug#10377)
2208         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
2209         than Info-edit.  (Bug#10385)
2211         * time.el (display-time-load-average, display-time-next-load-average):
2212         Doc fixes.
2214         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
2215         local setting of buffer-read-only to the input buffer.  (Bug#10419)
2217         * calendar/calendar.el (calendar-mode):
2218         Locally set scroll-margin to 0.  (Bug#10379)
2220 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
2222         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
2224 2012-01-05  Glenn Morris  <rgm@gnu.org>
2226         * eshell/em-unix.el (diff-no-select): Autoload it.
2227         (eshell/diff): Use diff-no-select.  (Bug#10420)
2229 2012-01-05  Chong Yidong  <cyd@gnu.org>
2231         * shell.el (shell-dynamic-complete-functions): Revert last change.
2232         (shell-command-completion-function): New function.
2233         (shell-completion-vars): Use it to implement
2234         shell-completion-execonly (Bug#10417).
2236         * custom.el (enable-theme): Don't set custom-safe-themes.
2238         * cus-theme.el (custom-theme-merge-theme):
2239         Ignore custom-enabled-themes and custom-safe-themes.
2241 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
2243         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
2244         first prompt in `sql-interacive-mode'.
2245         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
2246         keywords.
2247         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
2248         (sql-product-interactive): Bug fix: Set `sql-buffer' in
2249         context of original buffer.  Invoke `sql-login-hook'.
2251 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
2253         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
2254         letters in cite-prefix.
2256 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2258         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
2260 2012-01-03  Chong Yidong  <cyd@gnu.org>
2262         * shell.el (shell-dynamic-complete-functions):
2263         Put pcomplete-completions-at-point, so as to try
2264         comint-filename-completion first (Bug#10417).
2266 2012-01-02  Richard Stallman  <rms@gnu.org>
2268         * battery.el (battery-status-function):
2269         Detect when to use battery-yeeloong-sysfs.
2270         (battery-echo-area-format): Add string for Yeeloong.
2271         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
2272         (battery-yeeloong-sysfs): New function.
2274 2012-01-02  Chong Yidong  <cyd@gnu.org>
2276         * dirtrack.el (dirtrack-list): Eliminate unused third element.
2277         (dirtrack): Merge code for handling relative filenames in prompt
2278         from shell-dir-cookie-watcher.
2279         (dirtrack-debug-message): New arg to avoid excess format calls.
2281         * shell.el (shell-dir-cookie-re): Variable deleted.
2282         (shell-dir-cookie-watcher): Function deleted.
2283         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
2284         with dirtrack-mode.
2286 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
2288         * term/w32-win.el (dynamic-library-alist) <gnutls>:
2289         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
2290         libgnutls-26.dll.
2292 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
2294         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2296 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
2298         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
2299         headers of non-MIME messages, when rmail-enable-mime is non-nil.
2301 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
2303         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
2304         also for alternative shells.
2305         (tramp-open-connection-setup-interactive-shell): Check, whether
2306         the shell is a busybox.
2307         (tramp-send-command): Don't suppress multiple prompts for
2308         busyboxes, it hurts.
2310 2011-12-28  Chong Yidong  <cyd@gnu.org>
2312         * progmodes/gdb-mi.el (gdb-get-source-file-list)
2313         (gdb-get-source-file): Move mode line update to
2314         gdb-get-source-file (Bug#10087).
2316 2011-12-25  Chong Yidong  <cyd@gnu.org>
2318         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
2319         gud-gdb-marker-filter without taking it as an argument.
2320         (gud-gdb-run-command-fetch-lines): Caller changed.
2321         (gud-gdb-completion-function): New variable.
2322         (gud-gdb-completion-at-point): Use it.
2323         (gud-gdb-completions-1): Split from gud-gdb-completions.
2325         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
2326         function as separate arguments.
2327         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
2328         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
2329         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
2330         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
2331         (gdb-stopped, def-gdb-auto-update-trigger)
2332         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
2333         (gdb-get-changed-registers, gdb-get-main-selected-frame):
2334         Callers changed.
2335         (gud-gdbmi-completions): New function.
2336         (gdb): Use it for generating the completion table.
2338 2011-12-24  Alan Mackenzie  <acm@muc.de>
2340         Introduce a mechanism to widen the region used in context font
2341         locking.  Use this to protect declarations from losing their contexts.
2343         * progmodes/cc-langs.el (c-before-font-lock-functions):
2344         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
2345         (c-before-context-fontification-functions): New defvar, a list of
2346         functions to be run just before context (etc.) font locking.
2348         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
2349         New, functionality extracted from
2350         c-neutralize-syntax-in-and-mark-CPP.
2351         (c-in-after-change-fontification): New variable.
2352         (c-after-change): Set c-in-after-change-fontification.
2353         (c-set-fl-decl-start): Rejig its interface, so it can be called
2354         from both after-change and context fontifying.
2355         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
2356         New functions.
2357         (c-standard-font-lock-fontify-region-function): New variable.
2358         (c-font-lock-fontify-region): New function.
2360 2011-12-24  Juri Linkov  <juri@jurta.org>
2362         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
2363         (Bug#10348)
2365 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
2367         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
2368         existence of source file.  (Bug#10325)
2370 2011-12-23  Alan Mackenzie  <acm@muc.de>
2372         Fix unstable fontification inside templates.
2374         * progmodes/cc-langs.el (c-before-font-lock-functions):
2375         Newly created from the singular version.  The (c c++ objc) entry now
2376         additionally has c-set-fl-decl-start.  The other languages (apart
2377         from AWK) have that as a single entry.
2379         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2380         The functionality for "local" declarations has been extracted to
2381         c-set-fl-decl-start.
2383         * progmodes/cc-mode.el (c-common-init, c-after-change):
2384         Changes due to pluralisation of c-before-font-lock-functions.
2385         (c-set-fl-decl-start): New function, extracted from
2386         c-font-lock-enclosing-decls and enhanced.
2388 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
2390         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
2392 2011-12-22  Juri Linkov  <juri@jurta.org>
2394         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
2396 2011-12-22  Chong Yidong  <cyd@gnu.org>
2398         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
2400 2011-12-21  Drew Adams  <drew.adams@oracle.com>
2402         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
2404 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
2406         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
2408 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
2410         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
2411         highlighting and support.  Fix up comments for capitalization.
2412         (cfengine-mode-debug): New var.
2413         (cfengine3-mode): Change the modeline indicator to "CFE3".
2414         (cfengine3-font-lock-keywords): Improve defun highlighting.
2415         (cfengine2-actions): Rename from `cfengine-actions'.
2416         (cfengine2-font-lock-keywords): Rename from
2417         `cfengine-font-lock-keywords'.
2418         (cfengine2-imenu-expression): Rename from
2419         `cfengine-imenu-expression'.
2420         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
2421         (cfengine2-beginning-of-defun): Rename from
2422         `cfengine-beginning-of-defun'.
2423         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
2424         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
2425         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
2426         modeline indicator to "CFE2".
2427         (cfengine-mode): Defalias to `cfengine-auto-mode'.
2428         (cfengine-mode-abbrevs): Mark obsolete.
2430 2011-12-21  Chong Yidong  <cyd@gnu.org>
2432         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
2433         filename argument.
2435 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
2437         * window.el (window-normalize-buffer-to-display): Remove.
2438         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
2440 2011-12-19  Chong Yidong  <cyd@gnu.org>
2442         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
2443         Don't signal an error in a predicate function; return non-nil.
2444         (vc-dir-mark-file): Move the error here.
2445         (vc-dir-mark-unmark): If acting on the region, keep going if one
2446         of the entries cannot be marked/unmarked.
2447         (vc-dir-mark-all-files): If current entry is a directory, mark
2448         only child files, as documented.
2450 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2452         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
2453         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
2454         addition.
2456 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
2458         * term/ns-win.el (ns-get-selection-internal)
2459         (ns-store-selection-internal): Declare.
2460         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
2461         Declare as obsolete.
2462         (ns-get-pasteboard, ns-paste-secondary):
2463         Use ns-get-selection-internal.
2464         (ns-set-pasteboard,  ns-copy-including-secondary):
2465         Use ns-store-selection-internal.
2467 2011-12-17  Chong Yidong  <cyd@gnu.org>
2469         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
2470         (vc-deduce-fileset): Doc fix.
2472 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
2474         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
2476 2011-12-13  Sam Steingold  <sds@gnu.org>
2478         * man.el (Man-getpage-in-background): When running under a
2479         window-system, ignore $MANWIDTH and $COLUMNS.
2481 2011-12-15  Kenichi Handa  <handa@m17n.org>
2483         * language/ethio-util.el: Change coding tag to utf-8-emacs.
2484         (setup-ethiopic-environment-internal): Comment out key-binding for
2485         ethio-toggle-punctuation.
2487 2011-12-13  Alan Mackenzie  <acm@muc.de>
2489         Add the switch statement to AWK Mode.
2491         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
2492         "default" to the keywords regexp.
2494         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
2495         expression as the rest.
2496         (c-nonlabel-token-key): Allow string literals for AWK.
2497         Refactor for the other modes.
2499         Large brace-block initialisation makes CC Mode slow: Fix.
2500         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
2501         routines.  Limit backward searching in c-font-lock-enclosing.decl.
2503         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
2504         pp-state and literal type in addition to the limits.
2505         (c-state-safe-place): New defun, extracted from c-state-literal-at.
2506         (c-state-literal-at): Use the above new defun.
2507         (c-slow-in-literal, c-fast-in-literal): Remove.
2508         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
2510         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
2511         being in a literal.  Add a limit for backward searching.
2513         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
2514         c-slow-in-literal.
2516 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2518         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
2520 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
2522         * window.el (delete-other-windows): Use correct frame in call to
2523         window-with-parameter.
2525 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
2527         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
2528         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
2529         (makefile-gmake-statements, makefile-makepp-statements):
2530         Use it and add new makepp keywords.
2531         (makefile-makepp-font-lock-keywords): Add new patterns.
2532         (makefile-match-function-end): Match new [...] and [[...]].
2534 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
2536         * ses.el (ses-call-printer-return, ses-cell-property-get)
2537         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
2538         (ses-create-cell-variable, ses-reset-header-string)
2539         (ses-cell-set-formula, ses-repair-cell-reference-all)
2540         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
2541         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
2542         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
2543         (ses-aset-with-undo, ses-load, ses-truncate-cell)
2544         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
2545         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
2546         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
2547         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
2548         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
2549         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
2550         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
2551         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
2553 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2555         * ses.el: The overall change is to add cell renaming, that is
2556         setting fancy names for cell symbols other than name matching
2557         "\\`[A-Z]+[0-9]+\\'" regexp .
2558         (ses-create-cell-variable): New defun.
2559         (ses-relocate-formula): Relocate formulas only for cells the
2560         symbols of which are not renamed, i.e. symbols whose names do not
2561         match regexp "\\`[A-Z]+[0-9]+\\'".
2562         (ses-relocate-all): Relocate values only for cells the symbols of
2563         which are not renamed.
2564         (ses-load): Create cells variables as the (ses-cell ...) are read,
2565         in order to check row col consistency with cell symbol name only
2566         for cells that are not renamed.
2567         (ses-replace-name-in-formula): New defun.
2568         (ses-rename-cell): New defun.
2570 2011-12-11  Chong Yidong  <cyd@gnu.org>
2572         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
2573         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2575 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
2577         * window.el (other-window): Fix docstring.
2579 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2581         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
2582         `from' or `to' address before taking its substring.
2583         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
2584         encoded name is chopped in the middle of the encoded string, and
2585         thus displayed encoded.
2587 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
2589         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
2591 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
2593         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
2594         to use texinfo-update-node and commands that call it if the
2595         Texinfo file uses @node lines without next/prev/up pointers.
2596         Correct outdated description about texinfo-master-menu.
2597         (texinfo-all-menus-update, texinfo-master-menu)
2598         (texinfo-update-node, texinfo-every-node-update)
2599         (texinfo-multiple-files-update): Doc fix.  Warn against updating
2600         all the @node lines.
2601         (texinfo-master-menu): Only call texinfo-update-node if the prefix
2602         argument is numeric.  Explain better in the doc string what the
2603         function really does.
2604         (texinfo-insert-master-menu-list): Improve the error message
2605         displayed if there's no menu in the Top node.
2606         (Bug#2975)  See also this thread:
2607         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
2609 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
2611         * speedbar.el (speedbar-supported-extension-expressions):
2612         Add .adb and .ads, commonly used for Ada source code (bug#10256).
2614 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
2616         * printing.el (pr-mode-alist):
2617         * simple.el (filter-buffer-substring-functions)
2618         (completion-list-insert-choice-function):
2619         * window.el (window-with-parameter, window-atom-root)
2620         (window-sides-slots, window-size-fixed, window-min-delta)
2621         (window-max-delta, window--resize-mini-window)
2622         (window--resize-child-windows-normal, window-tree)
2623         (delete-other-windows, quit-window, split-window)
2624         (display-buffer-record-window, special-display-buffer-names)
2625         (special-display-regexps, special-display-popup-frame)
2626         (same-window-p, split-window-sensibly)
2627         (display-buffer-overriding-action, display-buffer-alist)
2628         (display-buffer-base-action, display-buffer, switch-to-buffer)
2629         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
2630         (fit-window-to-buffer, recenter-positions)
2631         (mouse-autoselect-window-state, mouse-autoselect-window-select):
2632         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
2633         and remove unneeded backslashes in docstrings.
2635 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2637         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
2639         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
2640         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
2641         end in ".mk".
2642         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
2643         when reading the makefile (bug#10116).
2645 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2647         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
2648         (bug#10116).
2650 2011-12-06  Glenn Morris  <rgm@gnu.org>
2652         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2654 2011-12-06  Chong Yidong  <cyd@gnu.org>
2656         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
2658 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
2660         * textmodes/table.el (table-shorten-cell): Fix typo.
2662 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
2664         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
2666 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
2668         * descr-text.el (describe-char): Fix display of strong
2669         right-to-left characters and directional embeddings and overrides.
2671         * simple.el (what-cursor-position): Fix display of codepoints of
2672         strong right-to-left characters.
2674 2011-12-05  Chong Yidong  <cyd@gnu.org>
2676         * faces.el (read-color): Doc fix.
2678 2011-12-05  Glenn Morris  <rgm@gnu.org>
2680         * align.el (align--set-marker): Add doc-string.
2681         Don't try to move something that is not a marker.  (Bug#10216)
2683 2011-12-04  Glenn Morris  <rgm@gnu.org>
2685         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
2686         overly zealous deletion of trailing whitespace.
2688 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
2690         * server.el (server-delete-client): On Windows, do not try to delete
2691         the only terminal.
2692         (server-process-filter): On Windows, treat requests for a tty frame as
2693         if they were for a GUI frame if the running server is in GUI mode.
2695 2011-12-03  Glenn Morris  <rgm@gnu.org>
2697         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
2699 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2701         * electric.el: Streamline electric-indent's hook.
2702         (electric-indent-chars): Revert to simple list.
2703         (electric-indent-functions): New var.
2704         (electric-indent-post-self-insert-function): Use it.
2706         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
2707         there's no inferior buffer (bug#10196).
2708         (prolog-consult-compile): Don't use toggle-read-only.
2710 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
2712         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
2713         interrupt.  (Bug#10187)
2715 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2717         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
2718         (bug#9160).
2720         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
2721         (bug#10191).
2723 2011-12-02  Juri Linkov  <juri@jurta.org>
2725         * info.el (Info-search): Display "end of manual" when Isearch
2726         reaches the end of single-file Info manual.  (Bug#9918)
2728 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
2730         * isearch.el (isearch-message-prefix): Run the input method part
2731         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
2733 2011-12-02  Juri Linkov  <juri@jurta.org>
2735         * isearch.el (isearch-occur): Use `word-search-regexp' for
2736         `isearch-word'.
2737         (isearch-search-and-update): Add condition for `isearch-word' and
2738         call `word-search-regexp'.  (Bug#10145)
2740 2011-12-01  Glenn Morris  <rgm@gnu.org>
2742         * eshell/em-hist.el (eshell-hist-initialize):
2743         Handle eshell-history-size nil and HISTSIZE set or unset.
2744         (eshell-history-file-name, eshell-history-size): Fix custom type.
2746 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
2750 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
2752         * progmodes/verilog-mode.el (verilog-pretty-expr):
2753         Rework verilog-pretty-expr to handle new assignment operators in system
2754         verilog, such as += *= and the like.
2755         (verilog-assignment-operator-re): Regular expression to find the
2756         assigment operator in a verilog assignment.
2757         (verilog-assignment-operation-re): Regular expression to find an
2758         assignment statement for pretty-expr.
2759         (verilog-in-attribute-p): Query returns true if point is in an
2760         attribute context; used to skip these for expression line up from
2761         pretty-expr.
2762         (verilog-in-parameter-p): Query returns true if point is in an
2763         parameter definition context; used to skip these for expression
2764         line up from pretty-expr.
2765         (verilog-in-parenthesis-p): Query returns true if point is in a
2766         parenthetical expression, specifically ( ) but not [ ] or { };
2767         used by pretty-expr.
2768         (verilog-just-one-space): If there is no space, don't add one.
2769         (verilog-get-lineup-indent-2): Specifically skip just attribute
2770         contexts for expression lineup, rather than skipping all
2771         parenthetical expressions.
2772         (verilog-calculate-indent): Fix comment, and fix indent.
2773         (verilog-do-indent): Indent declarations in lists (suggested by
2774         Joachim Lechner).
2775         (verilog-mode-abbrev-table): Populate abbrev mode with the various
2776         skeleton items.
2777         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
2778         by Alain Mellan).
2780 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
2782         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
2783         parameters with embedded comments.  Reported by Ray Stevens.
2784         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
2785         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
2786         Reported by Tim Holt.
2787         (verilog-auto): Fix AUTOing a upper module then AUTOing module
2788         instantiated by upper module causing wrong expansion until AUTOed a
2789         second time.  Reported by K C Buckenmaier.
2790         (verilog-diff-auto): Fix showing .* as a difference when
2791         `verilog-auto-star-save' off.  Reported by Dan Dever.
2792         (verilog-auto-reset, verilog-read-always-signals)
2793         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
2794         temporary signals in reset list if
2795         verilog-auto-reset-blocking-in-non is nil, and match assignment
2796         style to each signal's assignment type, bug381.
2797         Reported by Thomas Esposito.
2798         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
2799         (verilog-uvm-statement-re): Support UVM indentation and
2800         highlighting, with old OVM keywords only.
2801         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
2802         Support AUTOTIEOFF creating non-wire data types.
2803         Suggested by Jonathan Greenlaw.
2804         (verilog-auto-insert-lisp, verilog-delete-to-paren)
2805         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
2806         (verilog-inject-sense, verilog-read-inst-pins)
2807         (verilog-read-sub-decls, verilog-read-sub-decls-line):
2808         Fix mismatching parenthesis inside commented out code when deleting
2809         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
2810         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
2811         non-numeric vector width.  Reported by Alex Reed.
2812         (verilog-auto-ascii-enum): Add "onehot" option to work around not
2813         detecting signals with parameter widths.  Reported by Alex Reed.
2814         (verilog-auto-delete-trailing-whitespace):
2815         With `verilog-auto-delete-trailing-whitespace' remove trailing
2816         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
2817         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
2818         Fix verilog-scan-cache corruption when running user AUTO expansion
2819         hooks that call indentation routines.
2820         (verilog-simplify-range-expression): Fix typo ignoring lower case
2821         identifiers.
2822         (verilog-delete-auto): Fix delete-autos to also remove user created
2823         automatics, as long as they start with AUTO.
2824         (verilog-batch-diff-auto, verilog-diff-auto)
2825         (verilog-diff-function): Add `verilog-diff-auto' and bind to
2826         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
2827         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
2828         (verilog-in-paren-quick, verilog-re-search-backward-quick)
2829         (verilog-re-search-forward-quick, verilog-syntax-ppss):
2830         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
2831         is disabled and its cache will get corrupt, causing AUTOS not to
2832         expand.  Instead use only -quick functions.
2833         (verilog-scan-region): Fix scanning over escaped quotes.
2834         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
2835         (verilog-re-search-backward-quick)
2836         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
2837         related functions now ignore strings, to fix misparsing of strings
2838         with magic comments embedded in them.
2839         (verilog-read-auto-template):
2840         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
2841         Reported by Brad Dobbie.
2842         (verilog-read-auto-template):
2843         Fix 'verilog-auto-inst-template-numbers' with comments.
2844         Reported by Brad Dobbie.
2845         (verilog-auto-inst, verilog-auto-inst-param)
2846         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
2847         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
2848         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
2849         debugging templates without merge conflicts, bug357.
2850         Reported by Brad Dobbie.
2851         (verilog-read-auto-template):
2852         Fix verilog-auto-inst-template-numbers with multiple templates.
2853         Reported by Brad Dobbie.
2854         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
2855         abbrevs so user won't be asked to save.
2856         (verilog-read-auto-lisp-present): Fix to start at beginning of
2857         buffer in case called outside of verilog-auto.
2858         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
2859         to "X-2".  Reported by Matthew Myers.
2860         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
2861         all inputs from module templates.  Reported by Leith Johnson.
2862         (verilog-module-inside-filename-p): Fix locating programs as with
2863         modules.
2864         (verilog-auto-inst-port): Fix vl-width expressions when using
2865         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
2866         (verilog-decls-get-regs, verilog-decls-get-signals,
2867         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
2868         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
2869         verilog-read-decls): Combine reg and wire structures into one var
2870         structure to represent SystemVerilog concepts.
2871         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
2872         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
2873         (verilog-auto-wire-type, verilog-insert-definition):
2874         Add verilog-auto-wire-type and AUTOLOGIC to support using
2875         SystemVerilog "logic" keyword instead of "wire"/"reg".
2876         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
2877         to declares outputs that also have assignments (presumably in an
2878         ifdef or generate if so there's not a driver conflict).
2879         Reported by Matthew Myers.
2880         (verilog-auto-declare-nettype, verilog-insert-definition):
2881         Add verilog-auto-declare-nettype to fix declarations using
2882         `default_nettype none.  Reported by Julian Gorfajn.
2883         (verilog-read-always-signals-recurse, verilog-read-decls)
2884         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
2885         malformed end statement, bug325.  Reported by Joshua Wise and
2886         Andrew Drake.
2887         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
2888         (verilog-inst-comment-re): Fix not deleting Interfaced comment
2889         when expanding .* in interfaces, bug320.
2890         Reported by Pierre-David Pfister.
2891         (verilog-read-module-name): Fix import statements between module
2892         name and open parenthesis, bug317.
2893         Reported by Pierre-David Pfister.
2894         (verilog-simplify-range-expression): Fix simplification of
2895         multiplications inside AUTOWIRE connections, bug303.
2896         (verilog-auto-inst-port): Support parameter expansion in
2897         multidimensional arrays.
2898         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
2899         after "assert property".  Reported by Julian Gorfajn.
2900         (verilog-simplify-range-expression): Fix "couldn't merge" errors
2901         with multiplication, bug303.
2902         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
2903         Reported by Jan Frode Lonnum.
2905 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
2907         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
2908         (hfy-shell-file-name, hfy-shell):
2909         * international/fontset.el (x-decompose-font-name): Fix typos.
2911 2011-11-29  Ken Brown  <kbrown@cornell.edu>
2913         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
2914         (gdb-version): Remove defvar.
2915         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
2916         (gdb-gud-context-command, gdb-non-stop-handler)
2917         (gdb-current-context-command, gdb-stopped): Use it.
2918         (gdb-init-1): Enable pretty printing here.
2919         (gdb-non-stop-handler): Don't enable pretty-printing here.
2920         Check to see if the target supports non-stop mode; if not, turn off
2921         non-stop mode.  Use the following.
2922         (gdb-check-target-async): New defun.
2923         (gud-watch, gdb-stopped): Fix whitespace.
2924         (gdb-get-source-file): Don't try to display the source file if
2925         `gdb-main-file' is nil.
2927 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2929         * align.el: Try to generate fewer markers (bug#10047).
2930         (align--set-marker): New macro.
2931         (align-region): Use it.
2933 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2935         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2937 2011-11-29  Chong Yidong  <cyd@gnu.org>
2939         * indent.el (indent-for-tab-command, indent-according-to-mode):
2940         Doc fix.
2941         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
2943 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
2945         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2946         aware of remote file names.  (Bug#10124)
2948 2011-11-29  Chong Yidong  <cyd@gnu.org>
2950         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2952 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2954         * files.el (find-file): Don't use force-same-window (bug#10144).
2955         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2956         use pop-to-buffer if the selected window can't be used.
2957         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2959 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
2961         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2962         special-mode-map.
2964 2011-11-28  Chong Yidong  <cyd@gnu.org>
2966         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2968 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
2970         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2971           gdb-get-source-file-list on gdb-create-source-file-list.
2973 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
2975         * whitespace.el (whitespace-newline): Use a different foreground
2976         color for 16-color light-background displays.
2978 2011-11-24  Chong Yidong  <cyd@gnu.org>
2980         * window.el (display-buffer--special-action): Doc fix.
2982 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
2984         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2985         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2986         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2987         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2988         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2989         (avl-tree-stack-first):
2990         * emacs-lisp/cconv.el (cconv--analyse-use):
2991         * net/gnutls.el (gnutls-negotiate): Fix typos.
2993 2011-11-24  Glenn Morris  <rgm@gnu.org>
2995         * lpr.el (lpr-windows-system, lpr-lp-system):
2996         * mail/binhex.el (binhex-begin-line):
2997         * progmodes/grep.el (grep-history, grep-find-history):
2998         * textmodes/flyspell.el:
2999         * vc/pcvs-defs.el (cvs-global-menu):
3000         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3001         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3002         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3004         * net/tls.el: Fix case of "GnuTLS".
3006         * paths.el (rmail-file-name): Format doc-string for make-docfile.
3008         * version.el (emacs-build-system): Give it a doc-string.
3010 2011-11-24  Juri Linkov  <juri@jurta.org>
3012         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3014 2011-11-24  Glenn Morris  <rgm@gnu.org>
3016         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3017         if called on a non-mime message just toggle the headers.  (Bug#8006)
3019 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
3021         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3022         (allout-lead-with-comment-string, allout-structure-deleted-hook)
3023         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3024         (allout-rebullet-heading, allout-open-sibtopic)
3025         (allout-toggle-current-subtree-encryption)
3026         (allout-toggle-subtree-encryption, allout-encrypt-string)
3027         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3028         (allout-distinctive-bullets-string, allout-auto-activation):
3029         * window.el (window-normalize-buffer-to-display):
3030         * progmodes/verilog-mode.el (verilog-batch-indent):
3031         * textmodes/bibtex.el (bibtex-field-braces-opt)
3032         (bibtex-field-strings-opt):
3033         * vc/cvs-status.el (cvs-tree-merge):
3034         Fix typos.
3036 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
3038         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3039         `non-essential' to t, in order to avoid remote connections.
3041 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
3043         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3044         On MS-DOS and MS-Windows, compare with loaddefs.el
3045         case-insensitively.
3047 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3049         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
3051 2011-11-23  Glenn Morris  <rgm@gnu.org>
3053         * paths.el (rmail-file-name): Reformat the doc-string so that it
3054         is picked up.
3056         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3057         (rmail-auto-file): Ignore case in the "special" field names,
3058         as mail-fetch-field does for all others.
3060         * mail/rmail.el (rmail-forward):
3061         * mail/rmailkwd.el (rmail-set-label):
3062         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3063         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
3065         * mail/rmail.el (rmail-current-message): Doc fix.
3067         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
3069 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3071         * server.el (server-eval-and-print): Allow C-g (bug#6585).
3073 2011-11-22  Glenn Morris  <rgm@gnu.org>
3075         * mail/rmailmm.el (test-rmail-mime-handler)
3076         (test-rmail-mime-bulk-handler)
3077         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3079 2011-11-21  Juri Linkov  <juri@jurta.org>
3081         * calc/calc.el (calc-read-key-sequence):
3082         Let-bind `input-method-function' to nil.  (Bug#10018)
3084 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3086         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3087         Tell the caller that the next line needs recomputation, even
3088         though it doesn't start a sexp (bug#10094).
3090 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3092         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3094 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3096         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3097         Use force-same-window.
3099 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3101         * descr-text.el (describe-char-unicode-data):
3102         * json.el (json-string-escape):
3103         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3104         (Footnote-unicode, Footnote-style-p):
3105         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3107 2011-11-20  Chong Yidong  <cyd@gnu.org>
3109         * window.el (replace-buffer-in-windows): Restore interactive spec.
3111 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3113         * electric.el (electric-indent-mode): Fix last change (too optimistic).
3115         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3116         (byte-compile-global-not-obsolete-vars): New var.
3117         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3118         Use it.
3119         (byte-compile-warn-obsolete): Align text with the one in *Help*.
3121 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
3123         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3124         * progmodes/pascal.el (electric-pascal-equal):
3125         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3126         * xml.el (xml-substitute-special): Fix typos.
3128 2011-11-20  Glenn Morris  <rgm@gnu.org>
3130         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3131         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3132         Doc fixes.
3133         (rmail-decode-mime-charset): Mark as obsolete.
3135         * mail/rmailsum.el (rmail-message-regexp-p-1):
3136         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
3137         Before using mime functions, check they are set.  (Bug#10077)
3139 2011-11-19  Juri Linkov  <juri@jurta.org>
3141         * info.el (Info-finder-find-node): Use `package--builtins' instead
3142         of `package-alist'.  Use node names formed by the pattern "Keyword "
3143         and the keyword name.
3145 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3147         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
3149 2011-11-19  Juri Linkov  <juri@jurta.org>
3151         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
3152         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
3153         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
3154         `old-history', `old-history-forward'.  Add let-binding
3155         `window-selected'.  Remove calls to `kill-buffer',
3156         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
3157         before calling `Info-find-node', so `Info-find-node-2' will reread
3158         the Info file.  Restore window positions only when `window-selected'
3159         is non-nil.
3161 2011-11-19  Juri Linkov  <juri@jurta.org>
3163         * isearch.el (isearch-lazy-highlight-new-loop):
3164         Remove condition `(not isearch-error)'.  (Bug#9918)
3166         * misearch.el (multi-isearch-search-fun): Add condition
3167         `(not bound)' to ignore lazy-highlighting search.
3168         Add the search-failed message "end of multi" when the end of
3169         multi-sequence is reached.  Uncapitalize the search-failed
3170         message "Repeat for next buffer".
3172         * info.el (Info-search): Add the search-failed message
3173         "end of the manual" when the end of the manual is reached
3174         in Isearch mode.
3176 2011-11-19  Juri Linkov  <juri@jurta.org>
3178         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
3179         Use non-destructive `remove' instead of `delete' because
3180         `Info-history-list' stored to `Info-isearch-initial-history-list' in
3181         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
3183 2011-11-19  Juri Linkov  <juri@jurta.org>
3185         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
3186         to nil instead of binding `search-ring' and `regexp-search-ring'.
3187         (Bug#9185)
3189 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3191         * simple.el (line-move): Force movement by logical lines for any
3192         hscrolled window, not only when auto-hscroll-mode is on.
3193         (line-move-visual): Update doc string to that effect.  (Bug#10076)
3195 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
3197         * language/european.el (macintosh): Define as alias for mac-roman.
3199 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
3201         * mail/rmailmm.el (rmail-mime-display-header)
3202         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
3203         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
3204         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
3205         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
3206         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
3207         of a raw aref.
3208         (rmail-mime-entity-segment): To get past the tagline, move forward
3209         2 more lines, to account for the 2 empty lines that precede and
3210         follow the line with the buttons.
3211         (rmail-mime-update-tagline): Move one more line, to get past the
3212         empty line that follows the buttons in the tagline.  (Bug#9520)
3214 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
3216         * window.el (window-max-delta-1, window-min-delta-1)
3217         (window-min-size-1, window-state-get-1, window-state-put-1)
3218         (window-state-put-2): Use "window--" prefix.
3220 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3222         * emacs-lisp/smie.el: Improve warnings and conflict detection.
3223         (smie-warning-count): New var.
3224         (smie-set-prec2tab): Use it.
3225         (smie-bnf->prec2): Improve warnings.  Add docstring.
3226         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
3227         (smie-bnf--set-class): New function.
3228         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
3229         corner case.
3231         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
3232         (compilation-error-properties, compilation-move-to-column):
3233         Handle compilation-first-column while in the target buffer.
3235         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
3236         Don't hardcode point-min==1.
3238         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
3239         (eshell-rewrite-for-command): Remove workaround.
3240         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
3241         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
3242         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
3244         * files-x.el (modify-file-local-variable): Obey commenting conventions.
3246 2011-11-17  Glenn Morris  <rgm@gnu.org>
3248         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3249         Ignore buffer-local generated-autoload-file if it is the same
3250         as the global value.  (Bug#10049)
3252 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
3254         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
3255         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
3256         (reftex-toc-previous-heading, reftex-toc-max-level)
3257         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
3258         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
3259         (reftex-toc-do-promote, reftex-toc-promote-prepare)
3260         (reftex-toc-promote-action, reftex-toc-extract-section-number)
3261         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
3262         (reftex-toc-rename-label, reftex-toc-visit-location)
3263         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
3264         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
3265         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
3266         leaving "*toc*" only for references to the buffer.
3268 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
3270         * window.el (window-resize, delete-window, split-window):
3271         Replace window-splits by window-combination-resize.
3272         * cus-start.el (window-splits): Replace by window-combination-resize.
3274 2011-11-17  Glenn Morris  <rgm@gnu.org>
3276         * progmodes/sh-script.el (sh-font-lock-keywords-var):
3277         Make bash entry derive from sh entry, not shell entry.
3279 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
3281         * net/tramp-cache.el (tramp-flush-file-property): Flush also
3282         properties of linked files.  (Bug#9879)
3284         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
3285         local file name.
3287 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3289         * menu-bar.el (menu-bar-file-menu):
3290         * printing.el (pr-ps-utility):
3291         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
3292         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
3293         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
3294         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
3295         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
3296         (icalendar--convert-cyclic-to-ical)
3297         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
3298         (icalendar--convert-ical-to-diary)
3299         (icalendar--convert-recurring-to-diary)
3300         (icalendar--convert-non-recurring-all-day-to-diary)
3301         (icalendar-import-format-sample):
3302         * progmodes/idlw-shell.el (idlwave-shell-mode):
3303         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
3304         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
3305         (vhdl-ps-print-init): Fix typos.
3307 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
3309         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
3310         FSF and collapse date sequence, obscure author/maintainer email address
3311         better, remove extra version line, track relocation of author's webpage.
3313         * progmodes/python.el (python-pdbtrack-input-prompt)
3314         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
3315         regular python pdb prompts.  Adjustments shamelessly taken exactly as
3316         suggested in EmacsWiki page (tiny change):
3317         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
3319 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
3321         * expand.el (expand-pos, expand-index, expand-point):
3322         Remove redundant info from docstring.
3323         (expand-add-abbrevs): Doc fix.
3324         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
3325         (expand-sample-perl-mode-expand-list): Fix typos.
3327         * net/dbus.el (dbus-event-member-name):
3328         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
3329         * term/pc-win.el (msdos-create-frame-with-faces):
3330         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
3332 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
3334         * window.el (split-window, window-state-get-1)
3335         (window-state-put-1, window-state-put-2): Rename occurrences of
3336         window-nest to window-combination-limit.
3337         * cus-start.el (window-nest): Rename to window-combination-limit.
3339 2011-11-16  Chong Yidong  <cyd@gnu.org>
3341         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
3342         regexp (Bug#10033).
3344 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3346         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
3347         `completing-read' will remove *Completions* and will preserve
3348         current-buffer for us.
3349         (tmm-add-prompt): Users of *Completions* will always (re)set its
3350         major mode.
3351         (tmm-old-comp-map): Remove.
3353 2011-11-16  Glenn Morris  <rgm@gnu.org>
3355         * mail/rmailedit.el: Require rmailmm when compiling.
3356         (rmail-old-mime-state): New declaration.
3357         (rmail-edit-current-message): If editing a mime message,
3358         edit the "raw" message from the mbox buffer.
3359         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
3361 2011-11-15  Glenn Morris  <rgm@gnu.org>
3363         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
3364         which wasn't being used.  Add optional arg to force given state.
3365         (rmail-mime): Add optional arg to force given state.
3367 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3369         * allout.el (allout-encryption-plaintext-sanitization-regexps):
3370         * frame.el (display-mm-dimensions-alist):
3371         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
3372         (outline-move-subtree-down):
3373         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
3374         (newsticker--treeview-do-get-node):
3375         * net/quickurl.el (quickurl-list-buffer-name):
3376         * progmodes/dcl-mode.el (dcl-mode):
3377         * progmodes/gdb-mi.el (gdb-mapcar*):
3378         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
3380 2011-11-15  Glenn Morris  <rgm@gnu.org>
3382         * mail/rmail.el (rmail-file-coding-system): It's only ever used
3383         in a boolean sense, so just make it a boolean, and fix the doc.
3384         (rmail-show-mime-function, rmail-mime-feature)
3385         (rmail-require-mime-maybe): Doc fixes.
3386         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
3388         * mail/rmailmm.el (rmail-show-mime): Doc fix.
3390 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
3392         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
3393         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
3394         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
3395         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
3397 2011-11-15  Glenn Morris  <rgm@gnu.org>
3399         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
3400         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
3401         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
3402         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
3403         (rmail-mime, rmail-show-mime): Doc fixes.
3405         * term/ns-win.el (mode-line-frame-identification):
3406         Leave it alone.  (Bug#10051)
3408         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
3410         * mail/rmailout.el (rmail-output-to-rmail-buffer):
3411         Handle empty buffers.  (Bug#9978)
3413 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
3415         * international/mule.el (define-charset):
3416         * mail/rmailmm.el (rmail-mime-find-header-encoding):
3417         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
3418         * progmodes/verilog-mode.el (verilog-backward-token):
3419         * textmodes/ispell.el (lookup-words):
3420         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
3422 2011-11-14  Glenn Morris  <rgm@gnu.org>
3424         * progmodes/executable.el
3425         (executable-make-buffer-file-executable-if-script-p):
3426         Handle file-modes returning nil.
3428         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
3429         message - not necessary, and causes problems.  (Bug#9831)
3431         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
3433         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
3435         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
3436         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
3437         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
3439 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
3441         * window.el (window-resize, delete-window): Use window-splits
3442         variable instead of function.
3443         (window-state-get-1, window-state-put-2, window-state-put):
3444         Don't deal with windows' splits status.
3446 2011-11-12  Glenn Morris  <rgm@gnu.org>
3448         * apropos.el (apropos-do-all, apropos-library, apropos-value)
3449         (apropos-documentation): Doc fixes.
3451 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
3453         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
3454         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
3456 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3458         * electric.el (electric-indent-post-self-insert-function): Make it
3459         possible for a char to only indent in some circumstances.
3460         (electric-indent-mode): Simplify.
3462 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
3464         * window.el (windows-with-parameter): Remove unused function.
3465         (windows-at-side): Rename to window-at-side-list.
3466         (window-check, window-atom-check, window-atom-check-1)
3467         (window-side-check, window-size-ignore, window-size-fixed-1)
3468         (window-in-direction-2): Prefix with "window--".
3469         (window-tree-1): Rename to window--subtree, fix doc-string.
3471 2011-11-11  Glenn Morris  <rgm@gnu.org>
3473         * subr.el (eval-after-load): If FILE is already loaded,
3474         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
3476 2011-11-10  Glenn Morris  <rgm@gnu.org>
3478         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
3479         Call svn via vc-svn-command rather than vc-do-command.
3480         (vc-svn-command): Add --non-interactive.  (Bug#9993)
3481         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
3483         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3484         Add toggle-read-only.  (Bug#7292)
3485         * files.el (toggle-read-only): Mention that it should only
3486         be used interactively.  (Bug#10006)
3488 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3490         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3491         Adjust regexp for OCaml warnings.
3493         * electric.el (electric-pair-post-self-insert-function): Let user
3494         turn it off buffer-locally (bug#9932).
3496         * progmodes/python.el (python-beginning-of-statement):
3497         Rewrite (bug#2703).
3499         * progmodes/compile.el: Better handle TABs (bug#9749).
3500         (compilation-internal-error-properties)
3501         (compilation-next-error-function): Obey the target buffer's
3502         compilation-error-screen-columns.
3504 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
3506         * progmodes/meta-mode.el: Remove obsolete comments.
3507         (meta-right-comment-regexp, meta-ignore-comment-regexp):
3508         Fix typos in docstrings.
3510 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
3512         * window.el (window-size-fixed-p): Rewrite doc-string.
3513         (window-resizable-p): Rename to window--resizable-p.  Update callers.
3514         (window--resizable): New function.  Make all callers of
3515         window-resizable call window--resizable instead.
3516         (window-resizable): Rewrite in terms of window--resizable.
3518 2011-11-08  Glenn Morris  <rgm@gnu.org>
3520         * progmodes/delphi.el (delphi-mode-syntax-table):
3521         Let define-derived-mode define a proper syntax table.  (Bug#9994)
3523 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3525         * window.el: Stay away from defsubst.
3526         (window-list-no-nils): Remove.
3527         (window-state-get-1, window-state-get): Use backquote instead.
3529 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3531         * emacs-lisp/find-func.el (find-function-read):
3532         Fix incorrect use of default argument in `completing-read'.
3534 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
3536         * window.el (display-buffer-function, special-display-function):
3537         Mention display-buffer-record-window but do not mention
3538         help-setup parameter in doc-strings.
3539         (window-min-delta): Fix doc-string typo.
3541 2011-11-08  Chong Yidong  <cyd@gnu.org>
3543         * window.el (window-total-height, window-total-width): Doc fix.
3544         (window-body-size): Move from C.
3545         (window-body-height, window-body-width): Move to C.
3547 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3549         * window.el: Make special-display like display-buffer-alist (bug#9532).
3550         (display-buffer--special-action): New function, morphed
3551         from display-buffer--special.
3552         (display-buffer): Use it to handle special-display-buffers at higher
3553         priority (just after display-buffer-alist).
3554         (display-buffer-fallback-action, display-buffer--other-frame-action)
3555         (pop-to-buffer-same-window): Remove display-buffer--special.
3557 2011-11-07  Glenn Morris  <rgm@gnu.org>
3559         * calendar/cal-menu.el (cal-menu-set-date-title):
3560         Do nothing if not in a calendar.  (Bug#9976)
3562 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3564         * files.el (find-file): Always use selected-window.
3566 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
3568         * window.el (window-combinations): Make WINDOW argument
3569         mandatory.  Rewrite doc-string.
3570         (walk-window-subtree, window-atom-check, window-min-delta)
3571         (window-max-delta, window--resize-this-window)
3572         (window--resize-root-window-vertically, window-tree)
3573         (balance-windows, window-state-put): Rewrite doc-strings as to
3574         not mention the term "subwindow".
3575         (window--resize-subwindows-skip-p): Rename to
3576         window--resize-child-windows-skip-p.
3577         (window--resize-subwindows-normal): Rename to
3578         window--resize-child-windows-normal.
3579         (window--resize-subwindows): Rename to
3580         window--resize-child-windows.
3581         (window-or-subwindow-p): Rename to window--in-subtree-p.
3583 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3585         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
3586         Ensure that mbox format messages end in two newlines (Bug#9974).
3588 2011-11-06  Chong Yidong  <cyd@gnu.org>
3590         * window.el (window-combination-p): Function deleted; its
3591         side-effect is not used in any existing code.
3592         (window-combinations, window-combined-p): Call window-*-child
3593         directly.
3595 2011-11-05  Chong Yidong  <cyd@gnu.org>
3597         * window.el (window-valid-p): Rename from window-any-p.
3598         (window-size-ignore, window-state-get): Callers changed.
3599         (window-normalize-window): Rename from window-normalize-any-window.
3600         New arg LIVE-ONLY, replacing window-normalize-live-window.
3601         (window-normalize-live-window): Delete.
3602         (window-combination-p, window-combined-p, window-combinations)
3603         (walk-window-subtree, window-atom-root, window-min-size)
3604         (window-sizable, window-sizable-p, window-size-fixed-p)
3605         (window-min-delta, window-max-delta, window-resizable)
3606         (window-resizable-p, window-full-height-p, window-full-width-p)
3607         (window-current-scroll-bars, window-point-1, set-window-point-1)
3608         (window-at-side-p, window-in-direction, window-resize)
3609         (adjust-window-trailing-edge, maximize-window, minimize-window)
3610         (window-deletable-p, delete-window, delete-other-windows)
3611         (record-window-buffer, unrecord-window-buffer)
3612         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
3613         (quit-window, split-window, window-state-put)
3614         (set-window-text-height, fit-window-to-buffer)
3615         (shrink-window-if-larger-than-buffer): Callers changed.
3617 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
3619         * mail/rmail.el (rmail-simplified-subject): Decode subject with
3620         rfc2047-decode-string.
3621         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
3622         warnings.
3624         * window.el (window-body-height, window-body-width): Mention in
3625         the doc string that the return values are in frame's canonical
3626         units.  (Bug#9949)
3628 2011-11-03  Alan Mackenzie  <acm@muc.de>
3630         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
3631         change in cc-engine.el.
3633 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3635         * window.el (switch-to-buffer): Use `force-same-window' interactively.
3637 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
3639         * window.el (quit-window): Call unrecord-window-buffer after
3640         showing another buffer in the window.  (Bug#9937)
3641         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
3643 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
3645         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
3646         Accept status with more than 9 shelves.  (Bug#9935)
3647         Reported by Colin D Bennett <colin@gibibit.com>.
3649 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
3651         * help.el (with-help-window): Don't reference
3652         temp-buffer-show-specifiers in doc-string.
3654 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
3656         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
3657         menu-item.
3659 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3661         * whitespace.el: New version 13.2.2.
3662         (whitespace-newline-mode): Disable properly.  Reported by Sarah
3663         <EmacsWiki>.
3665 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
3667         * net/newst-treeview.el: Remove "Time-stamp".
3668         (newsticker--group-manage-orphan-feeds): Do not call
3669         newsticker--treeview-tree-update.
3670         (newsticker-treeview-update, newsticker-treeview):
3671         Call newsticker--treeview-tree-update if necessary.
3673 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
3675         * window.el (window-iso-combination-p, window-iso-combined-p)
3676         (window-iso-combinations): Remove "iso-" infix.
3677         Suggested by Chong Yidong.
3678         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
3679         (window-max-delta-1, window-resize, window--resize-siblings)
3680         (window--resize-this-window, adjust-window-trailing-edge)
3681         (split-window, balance-windows-1)
3682         (shrink-window-if-larger-than-buffer):
3683         * calendar/calendar.el (calendar-generate-window):
3684         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3686 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3688         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
3689         in place (bug#9907).
3690         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
3691         (eshell-rewrite-if-command, eshell-rewrite-for-command)
3692         (eshell-structure-basic-command, eshell-rewrite-while-command)
3693         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
3694         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
3695         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
3696         (eshell-do-pipelines-synchronously, eshell-eval-command):
3697         Use backquotes and prefer setq to set.
3698         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
3699         (eshell-macrop): Use functionp.
3700         (eshell-do-eval): Handle multiple expressions in `while' body.
3702 2011-10-30  Chong Yidong  <cyd@gnu.org>
3704         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
3705         instead of set-mark (Bug#9810).
3707 2011-10-30  Chong Yidong  <cyd@gnu.org>
3709         * window.el (split-window-below, split-window-right): Rename from
3710         split-window-above-each-other and split-window-side-by-side
3711         respectively.  All callers changed.
3712         (split-window-sensibly, split-window-sensibly): Use them.
3713         (split-window-keep-point): Doc fix.
3715         * isearch.el: Add isearch-scroll property to split-window-below
3716         and split-window-right.
3718         * follow.el (follow-mode):
3719         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3720         * progmodes/ada-xref.el (ada-gdb-application):
3721         * emulation/vip.el (vip-buffer-in-two-windows):
3722         * image-dired.el (image-dired-dired-with-window-configuration):
3723         * dired-x.el (dired-do-find-marked-files):
3724         * dired.el (dired-pop-to-buffer):
3725         * bs.el (bs--show-with-configuration):
3726         * vc/emerge.el (emerge-setup-windows):
3727         * textmodes/two-column.el (2C-two-columns):
3728         * textmodes/reftex-toc.el (reftex-toc):
3729         * progmodes/gdb-mi.el (gdb-setup-windows):
3730         * progmodes/fortran.el (fortran-window-create):
3731         * net/newst-treeview.el (newsticker--treeview-window-init):
3732         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
3733         * emulation/tpu-edt.el (tpu-gold-map):
3734         * emulation/crisp.el (crisp-mode-map):
3735         * calendar/calendar.el (calendar-basic-setup): Callers changed.
3737 2011-10-29  Chong Yidong  <cyd@gnu.org>
3739         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
3741         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
3743         * textmodes/flyspell.el (flyspell-word): Fix char offset for
3744         forged Ispell output (Bug#7904).
3746         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
3748 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3750         * doc-view.el: Avoid ugly errors about not finding nil.
3751         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
3752         (doc-view-dvipdf-program, doc-view-unoconv-program)
3753         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
3754         Avoid nil or absolute file name as default value.
3755         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
3757 2011-10-28  Alan Mackenzie  <acm@muc.de>
3759         * progmodes/cc-defs.el (c-version): -> 5.32.2.
3761 2011-10-28  Alan Mackenzie  <acm@muc.de>
3763         Amend the handling of c-beginning/end-of-defun in nested declaration
3764         scopes.
3766         * progmodes/cc-vars.el (c-defun-tactic): Move here from
3767         cc-langs.el.  Change it to a defcustom.
3769         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
3770         cc-vars.el.
3772         * progmodes/cc-engine.el (c-beginning-of-statement-1):
3773         Prevent "class foo : bar" being spuriously recognized as a label.
3775         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
3776         Add parameter `inclusive' (to include enclosing braces in the region).
3777         (c-widen-to-enclosing-decl-scope): New function.
3778         (c-while-widening-to-decl-block): New macro.
3779         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
3780         outward for defun boundaries, and correspondingly change symbol
3781         `respect-enclosure' to `go-outward'.
3782         (c-declaration-limits): Change algorithm to report only the "innermost"
3783         defun's boundaries.
3785 2011-10-28  Deniz Dogan  <deniz@dogan.se>
3787         * net/rcirc.el (rcirc-mode): Use hard newlines.
3789 2011-10-28  Alan Mackenzie  <acm@muc.de>
3791         Amend to indent and fontify macros "which include their own semicolon"
3792         correctly, using the "virtual semicolon" mechanism.
3794         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
3796         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3797         Recode to scan one line at a time rather than having \n and \r
3798         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
3799         (c-forward-label): Amend for virtual semicolons.
3800         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
3802         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
3803         of the new C macros.
3805         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
3806         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
3807         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
3808         (c-opt-cpp-macro-define): Make into a full language variable.
3809         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
3810         AWK Mode (including \n, \r) removed, no longer needed.
3812         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
3813         Invoke c-make-macro-with-semi-re.
3815         * progmodes/cc-vars.el (c-macro-with-semi-re):
3816         (c-macro-names-with-semicolon): New variables.
3817         (c-make-macro-with-semi-re): New function.
3819 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3821         * vc/log-edit.el: Fill empty field rather than adding new one.
3822         (log-edit-add-field): New function.
3823         (log-edit-insert-changelog): Use it.
3825 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
3827         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
3829 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3831         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
3832         (gdb--check-interpreter): New function.
3833         (gdb): Use it.
3835 2011-10-27  Glenn Morris  <rgm@gnu.org>
3837         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
3838         (least-positive-float, least-negative-float)
3839         (least-positive-normalized-float, least-negative-normalized-float)
3840         (float-epsilon, float-negative-epsilon):
3841         Remove unnecessary declarations.
3843         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
3844         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
3845         (least-positive-float, least-negative-float)
3846         (least-positive-normalized-float, least-negative-normalized-float)
3847         (float-epsilon, float-negative-epsilon): Add doc-strings,
3848         based on those in cl.texi.
3850         * files.el (set-visited-file-name): If the major-mode changed,
3851         reload the local variables.  (Bug#9796)
3853 2011-10-27  Chong Yidong  <cyd@gnu.org>
3855         * subr.el (change-major-mode-after-body-hook): New hook.
3856         (run-mode-hooks): Run it.
3858         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3859         Use change-major-mode-before-body-hook.
3861         * simple.el (fundamental-mode):
3862         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
3863         change introducing fundamental-mode-hook.
3865 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
3867         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
3869 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
3871         * ido.el (ido-file-name-all-completions-1): Do not require
3872         tramp.el explicitly.  (Bug#7583)
3874 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3876         * progmodes/octave-mod.el:
3877         * progmodes/octave-inf.el: Update maintainer.
3879 2011-10-26  Chong Yidong  <cyd@gnu.org>
3881         * subr.el (with-wrapper-hook): Rewrite doc.
3883 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
3885         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
3886         filenames "/method:foo:".  (Bug#9793)
3888 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3890         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
3891         (bug#9865).
3893 2011-10-24  Glenn Morris  <rgm@gnu.org>
3895         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
3897 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
3899         * notifications.el: Add the requirement of a running D-Bus session
3900         bus to the Commentary.
3902 2011-10-24  Juri Linkov  <juri@jurta.org>
3904         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3905         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
3906         (Bug#9364)
3908 2011-10-24  Juri Linkov  <juri@jurta.org>
3910         * info.el (Info-following-node-name-re): Add newline to the list
3911         of allowed characters for leading space.  (Bug#9824)
3913 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3915         * progmodes/octave-inf.el (inferior-octave-mode-map):
3916         Fix C-c C-h binding.
3917         * progmodes/octave-mod.el (octave-help): Remove.
3919 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
3921         Sync with Tramp 2.2.3.
3923         * net/tramp-cache.el (top): Pacify byte-compiler using
3924         `init-file-user' and `site-run-file'.
3926         * net/trampver.el: Update release number.
3928 2011-10-23  Chong Yidong  <cyd@gnu.org>
3930         * files.el (toggle-read-only): Remove obsolete comment about
3931         version control.
3933         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3934         for toggle-read-only.  Note that this hasn't called vc-next-action
3935         since 2008-05-02, though it wasn't documented at the time.
3937         * vc/ediff-init.el (ediff-toggle-read-only-function):
3938         Use toggle-read-only.
3940 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
3942         Fix bug #9560, sporadic wrong indentation; improve instrumentation
3943         of c-parse-state.
3945         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3946         correct faulty logical expression.
3947         (c-parse-state-state, c-record-parse-state-state):
3948         (c-replay-parse-state-state): New defvar/defuns.
3949         (c-debug-parse-state): Use new functions.
3951 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
3953         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
3954         last fix.  Use window-in-direction correctly.
3956 2011-10-21  Chong Yidong  <cyd@gnu.org>
3958         * progmodes/idlwave.el (idlwave-mode):
3959         * progmodes/vera-mode.el (vera-mode): No need to set
3960         require-final-newline; that's done in prog-mode.
3961         Suggested by Stefan Monnier.
3963 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
3965         * mouse.el (mouse-drag-window-above)
3966         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3967         (mouse-drag-mode-line-1, mouse-drag-header-line)
3968         (mouse-drag-vertical-line-rightward-window): Remove.
3969         (mouse-drag-line): New function.
3970         (mouse-drag-mode-line, mouse-drag-header-line)
3971         (mouse-drag-vertical-line): Call mouse-drag-line.
3972         * window.el (window-at-side-p, windows-at-side): New functions.
3974 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
3976         * tar-mode.el (tar-grind-file-mode):
3977         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
3979 2011-10-21  Chong Yidong  <cyd@gnu.org>
3981         * progmodes/idlwave.el (idlwave-mode):
3982         * progmodes/vera-mode.el (vera-mode):
3983         Use mode-require-final-newline.
3985 2011-10-20  Glenn Morris  <rgm@gnu.org>
3987         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
3989 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
3991         * emulation/cua-base.el (cua-set-mark): Fix case of string.
3993 2011-10-20  Chong Yidong  <cyd@gnu.org>
3995         * emulation/cua-base.el (cua-mode):
3996         * mail/footnote.el (footnote-mode):
3997         * mail/mailabbrev.el (mail-abbrevs-mode):
3998         * net/xesam.el (xesam-minor-mode):
3999         * progmodes/bug-reference.el (bug-reference-mode):
4000         * progmodes/cap-words.el (capitalized-words-mode):
4001         * progmodes/compile.el (compilation-minor-mode)
4002         (compilation-shell-minor-mode):
4003         * progmodes/gud.el (gud-tooltip-mode):
4004         * progmodes/hideif.el (hide-ifdef-mode):
4005         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4006         * progmodes/subword.el (subword-mode):
4007         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4008         * progmodes/which-func.el (which-function-mode):
4009         * term/tvi970.el (tvi970-set-keypad-mode):
4010         * term/vt100.el (vt100-wide-mode):
4011         * textmodes/flyspell.el (flyspell-mode):
4012         * textmodes/ispell.el (ispell-minor-mode):
4013         * textmodes/nroff-mode.el (nroff-electric-mode):
4014         * textmodes/paragraphs.el (use-hard-newlines):
4015         * textmodes/refill.el (refill-mode):
4016         * textmodes/reftex.el (reftex-mode):
4017         * textmodes/rst.el (rst-minor-mode):
4018         * textmodes/sgml-mode.el (html-autoview-mode)
4019         (sgml-electric-tag-pair-mode):
4020         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4021         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4022         * emulation/crisp.el (crisp-mode):
4023         * emacs-lisp/eldoc.el (eldoc-mode):
4024         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4025         minor mode behavior.
4027 2011-10-19  Juri Linkov  <juri@jurta.org>
4029         * descr-text.el (describe-char): Add #x2010 and #x2011 to
4030         the list of hard-coded chars with escape-glyph face.
4032 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4034         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4036 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
4038         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4039         running process.
4041 2011-10-19  Glenn Morris  <rgm@gnu.org>
4043         * vc/vc-bzr.el (vc-bzr-after-dir-status):
4044         Ignore ignored files.  (Bug#9726)
4046 2011-10-19  Chong Yidong  <cyd@gnu.org>
4048         Doc fix for minor modes, stating that an omitted argument enables
4049         the mode unconditionally when called from Lisp.
4051         * abbrev.el (abbrev-mode):
4052         * allout.el (allout-mode):
4053         * autoinsert.el (auto-insert-mode):
4054         * autoarg.el (autoarg-mode, autoarg-kp-mode):
4055         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4056         (global-auto-revert-mode):
4057         * battery.el (display-battery-mode):
4058         * composite.el (global-auto-composition-mode)
4059         (auto-composition-mode):
4060         * delsel.el (delete-selection-mode):
4061         * desktop.el (desktop-save-mode):
4062         * dired-x.el (dired-omit-mode):
4063         * dirtrack.el (dirtrack-mode):
4064         * doc-view.el (doc-view-minor-mode):
4065         * double.el (double-mode):
4066         * electric.el (electric-indent-mode, electric-pair-mode):
4067         * emacs-lock.el (emacs-lock-mode):
4068         * epa-hook.el (auto-encryption-mode):
4069         * follow.el (follow-mode):
4070         * font-core.el (font-lock-mode):
4071         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4072         * help.el (temp-buffer-resize-mode):
4073         * hilit-chg.el (highlight-changes-mode)
4074         (highlight-changes-visible-mode):
4075         * hi-lock.el (hi-lock-mode):
4076         * hl-line.el (hl-line-mode, global-hl-line-mode):
4077         * icomplete.el (icomplete-mode):
4078         * ido.el (ido-everywhere):
4079         * image-file.el (auto-image-file-mode):
4080         * image-mode.el (image-minor-mode):
4081         * iswitchb.el (iswitchb-mode):
4082         * jka-cmpr-hook.el (auto-compression-mode):
4083         * linum.el (linum-mode):
4084         * longlines.el (longlines-mode):
4085         * master.el (master-mode):
4086         * mb-depth.el (minibuffer-depth-indicate-mode):
4087         * menu-bar.el (menu-bar-mode):
4088         * minibuf-eldef.el (minibuffer-electric-default-mode):
4089         * mouse-sel.el (mouse-sel-mode):
4090         * msb.el (msb-mode):
4091         * mwheel.el (mouse-wheel-mode):
4092         * outline.el (outline-minor-mode):
4093         * paren.el (show-paren-mode):
4094         * recentf.el (recentf-mode):
4095         * reveal.el (reveal-mode, global-reveal-mode):
4096         * rfn-eshadow.el (file-name-shadow-mode):
4097         * ruler-mode.el (ruler-mode):
4098         * savehist.el (savehist-mode):
4099         * scroll-all.el (scroll-all-mode):
4100         * scroll-bar.el (scroll-bar-mode):
4101         * server.el (server-mode):
4102         * shell.el (shell-dirtrack-mode):
4103         * simple.el (auto-fill-mode, transient-mark-mode)
4104         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4105         (line-number-mode, column-number-mode, size-indication-mode)
4106         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4107         * strokes.el (strokes-mode):
4108         * time.el (display-time-mode):
4109         * t-mouse.el (gpm-mouse-mode):
4110         * tool-bar.el (tool-bar-mode):
4111         * tooltip.el (tooltip-mode):
4112         * type-break.el (type-break-mode-line-message-mode)
4113         (type-break-query-mode):
4114         * view.el (view-mode):
4115         * whitespace.el (whitespace-mode, whitespace-newline-mode)
4116         (global-whitespace-mode, global-whitespace-newline-mode):
4117         * xt-mouse.el (xterm-mouse-mode): Doc fix.
4119         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4120         Fix autogenerated docstring.
4122 2011-10-19  Juri Linkov  <juri@jurta.org>
4124         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4125         by checking environment variables "DESKTOP_SESSION" and
4126         "XDG_CURRENT_DESKTOP".  (Bug#9779)
4128 2011-10-19  Juri Linkov  <juri@jurta.org>
4130         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4131         (browse-url-chromium-program, browse-url-chromium-arguments):
4132         New defcustoms.
4133         (browse-url-default-browser): Check for `browse-url-chromium' and
4134         call `browse-url-chromium-program'.
4135         (browse-url-chromium): New command.  (Bug#9779)
4137 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
4139         * facemenu.el (list-colors-duplicates): On Windows, detect more
4140         duplicates by assuming that only colors matching "^System" are
4141         special "system colors".  (Bug#9722)
4143 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4145         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
4146         to distinguish the author from the committer.
4148 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
4150         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
4152 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
4154         * international/mule.el (sgml-html-meta-auto-coding-function):
4155         Add support for detecting encoding in HTML5 specified only as
4156         <meta charset="UTF-8">.  Implementation just makes http-equiv and
4157         content-type parts from HTML4 encoding string optional.  (Bug#9716)
4159 2011-10-18  Glenn Morris  <rgm@gnu.org>
4161         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
4163 2011-10-18  Chong Yidong  <cyd@gnu.org>
4165         * faces.el (cursor): Doc fix.
4167 2011-10-17  Chong Yidong  <cyd@gnu.org>
4169         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4171 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
4173         * dirtrack.el (dirtrack): Support shell buffers with path
4174         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
4176 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
4178         * json.el: Bump version to 1.3 and note change in History.
4179         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
4181 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4183         * comint.el (comint-insert-input, comint-send-input)
4184         (comint-get-old-input-default, comint-backward-matching-input)
4185         (comint-next-prompt): Use nil instead of `input' for field property of
4186         past user input (bug#114).
4188         * minibuffer.el (completion--replace): Inherit surrounding properties
4189         (bug#114).
4190         (minibuffer-complete-and-exit): Use it.
4192         * comint.el (comint--table-subvert): Quote the all-completions output
4193         (bug#9160).
4195 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
4197         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4199         * menu-bar.el (menu-bar-file-menu): Add entry for making new
4200         window on right of selected.  (Bug#9350) Reword other window
4201         entries and separate them from frame entries.
4203 2011-10-15  Glenn Morris  <rgm@gnu.org>
4205         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
4206         Doc fixes.
4208 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
4210         * net/network-stream.el (network-stream-open-starttls):
4211         Improve detection of failure due to lack of TLS support.
4213         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
4214         putting the input text in front and in bold.
4216 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4218         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
4220         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
4221         empty buffer.
4223         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
4224         unread-command-events rather than pushing yet-another event.
4226 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
4228         * mail/sendmail.el (sendmail-query-once): Improve the wording of
4229         the explanation of the possible choices.  Make the options passed
4230         to completing-read shorter.
4232 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4234         * textmodes/flyspell.el (flyspell-large-region): Make sure
4235         extended character mode is used if defined (Bug#1339).
4237 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
4239         * simple.el (what-cursor-position): Fix the display of the
4240         character info for LRE, LRO, RLE, and RLO characters by appending
4241         an invisible PDF.
4243 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4245         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
4246         even in case of error; add debug spec; simplify data flow.
4247         (with-timeout-handler): Remove.
4249 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
4251         Fix Bug#6019, Bug#9315.
4253         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
4254         complete `buffer-file-name', the local file name part could look
4255         remotely (for example on VMS).
4257         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
4258         `tramp-run-real-handler'.
4259         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
4260         already quoted by '"'.
4262         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
4263         Let `file-name-handler-alist' be nil, the local file name part
4264         could look remotely (for example on VMS).
4266 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4268         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
4269         from here...
4270         (flyspell-post-command-hook): ...to here.
4272 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4274         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
4275         if not needed.
4276         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
4277         using completion.  Protect against "slow" callers.
4278         Remove the "message hack".
4280 2011-10-11  Juri Linkov  <juri@jurta.org>
4282         * isearch.el (isearch-lazy-highlight-word): New variable.
4283         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4284         Use it.  (Bug#9727)
4286 2011-10-11  Glenn Morris  <rgm@gnu.org>
4288         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
4289         like f90-previous-statement does.
4291 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4293         * eshell/eshell.el (eshell-command): History should be saved
4294         only in interactive use, to avoid error.
4296 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4298         * minibuffer.el (completion-file-name-table): Fix last change,
4299         i.e. ignore normal errors but not the other ones.
4301 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
4303         * window.el (special-display-buffer-names)
4304         (special-display-regexps): Remove some remnants of earlier
4305         changes from doc-strings.
4306         (quit-windows-on): New function.
4308         * vc/vc.el (vc-revert, vc-rollback):
4309         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
4310         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
4311         (Bug#6183) (Bug#7074) (Bug#7447)
4313 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
4315         * window.el (frame-auto-hide-function): Add version tag.
4316         (Bug#9699)
4318 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
4320         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
4321         condition.
4323 2011-10-09  Leo Liu  <sdl.web@gmail.com>
4325         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
4326         (Bug#9701)
4328 2011-10-08  Glenn Morris  <rgm@gnu.org>
4330         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
4331         before the first code statement zero indent.  (Bug#9690)
4333 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
4335         * simple.el (count-words-region): Always count in the region.
4336         Report the number of lines and characters too.
4337         (count-words): New command, which counts in the buffer if the
4338         region is inactive, as count-words-region used to.
4339         (count-words--message): New function.  Handle plurals.
4340         (count-lines-region): Make it an alias for count-words-region.
4342         * bindings.el (esc-map): Replace count-lines-region with
4343         count-words-region.
4345 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
4347         * window.el (window--delete): Delete dedicated frame
4348         unconditionally when argument KILL is non-nil.  (Bug#9699)
4349         (switch-to-buffer): Fix doc-string typo.
4351 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4353         * eshell/eshell.el (eshell-command): Avoid using hooks.
4355 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
4357         * bindings.el ([M-left],[M-right]): Bind to left-word and
4358         right-word respectively.
4360 2011-10-07  Glenn Morris  <rgm@gnu.org>
4362         * cus-start.el (debug-on-quit): Fix custom type.
4364 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4366         * subr.el (define-key-after): Clarify that the function is not
4367         useful for non-menu keymaps.
4369         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
4371 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4373         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
4374         in current minibuffer (Fix bug with recursive minibuffers).
4376 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
4378         * progmodes/gdb-mi.el (gdb): Doc fix.
4380 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
4382         * window.el (frame-auto-hide-function): New option replacing
4383         frame-auto-delete.  Suggested by Stefan Monnier.
4384         (window--delete): Call frame-auto-hide-function instead of
4385         investigating frame-auto-delete.
4386         (window-point-1, set-window-point-1): New functions.
4387         (window-in-direction, record-window-buffer, window-state-get-1)
4388         (display-buffer-record-window): Use window-point-1 instead of
4389         window-point.
4390         (set-window-buffer-start-and-point): Use set-window-point-1.
4392 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4394         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
4396 2011-10-05  Glenn Morris  <rgm@gnu.org>
4398         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
4399         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
4401 2011-10-05  Leo Liu  <sdl.web@gmail.com>
4403         * subr.el (read-char-choice): Fix argument to buffer-live-p which
4404         works with buffer object.
4406 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4408         * mpc.el (mpc-tool-bar-map): Add labels.
4410 2011-10-04  Glenn Morris  <rgm@gnu.org>
4412         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4414 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
4416         * window.el (window--delete): New function.
4417         (frame-auto-delete): Resuscitate option.
4418         (bury-buffer, replace-buffer-in-windows)
4419         (quit-window): Rewrite using window--delete.
4420         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4421         Pass display-buffer-mark-dedicated to window--display-buffer-2
4422         (Bug#9639).
4424 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4426         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
4427         returns a list (bug#9554).  Add remote file name completion.
4428         * comint.el (comint--table-subvert): Curry and get quote&unquote
4429         functions as arguments.
4430         (comint--complete-file-name-data): Adjust call accordingly.
4431         * pcomplete.el (pcomplete--table-subvert): Remove.
4432         (pcomplete-completions-at-point): Use comint--table-subvert instead.
4434         * minibuffer.el (completion-table-case-fold): Use currying.
4435         (completion--styles-type, completion--cycling-threshold-type):
4436         New constants.
4437         (completion-styles, completion-category-overrides)
4438         (completion-cycle-threshold): Use them.
4439         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
4440         completion-table-case-fold.
4442 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
4444         * minibuffer.el (completion-category-overrides): Fix type of styles
4445         and add more user friendly tags (bug#9660).
4447 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4449         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
4450         (mule-input-method-string): New widget.
4451         (default-input-method, language-info-custom-alist): Use it.
4453 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4455         * pcomplete.el: Require comint.
4456         (pcomplete--common-suffix): Remove.
4457         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
4458         (pcomplete--table-subvert): Sync with comint--table-subvert.
4459         (pcomplete--entries): Use comint-completion-file-name-table.
4460         * comint.el (comint-unquote-filename): Simplify.
4461         (comint-completion-file-name-table): New function (bug#9616).
4462         (comint--complete-file-name-data): Use it.
4464         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
4465         (pcmpl-gnu-tar-buffer): Remove.
4466         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
4467         around.  Make sure pcomplete-suffix-list is only changed temporarily.
4468         Don't look inside the tar's file if it's too large.
4470 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
4472         * cus-edit.el (custom-mode-map):
4473         * epa.el (epa-key-list-mode-map):
4474         * man.el (Man-mode-map):
4475         * startup.el (splash-screen-keymap):
4476         * simple.el (special-mode-map): Use scroll-up-command and
4477         scroll-down-command.
4479         * progmodes/idlw-help.el (idlwave-help-mode-map):
4480         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
4481         * net/newst-plainview.el (newsticker-mode-map):
4482         * emulation/ws-mode.el (wordstar-mode-map):
4483         * emulation/vi.el (vi-com-map):
4484         * calc/calc-graph.el (calc-graph-show-dumb):
4485         * term/sun.el (terminal-init-sun):
4486         * term/ns-win.el (global-map):
4487         * progmodes/grep.el (grep-mode-map):
4488         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
4489         * mail/rmail.el (rmail-mode-map):
4490         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
4492         * custom.el (custom-safe-themes, load-theme): Treat value of t for
4493         custom-safe-themes as special.
4495 2011-10-01  Julien Danjou  <julien@danjou.info>
4497         * notifications.el (notifications-notify): Fix docstring.
4499 2011-10-01  Per Starbäck  <per@starback.se>
4501         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
4503 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
4505         * startup.el (command-line-1): Fix last fix by inserting
4506         initial-scratch-message into *scratch* before displaying it.
4507         (Bug#9605) and (Bug#9636)
4509 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
4511         * simple.el (line-move): If auto-hscroll-mode is disabled and the
4512         window is hscrolled, move by logical lines.  (Bug#9607)
4513         (line-move-visual): Update the doc string to the above effect.
4515 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
4517         * window.el (display-buffer-record-window): When WINDOW is the
4518         selected window use `point' instead of `window-point'.  (Bug#9626)
4520         * startup.el (command-line-1): Use insert-before-markers when
4521         inserting initial-scratch-message.  (Bug#9605)
4523         * help.el (help-window): Remove variable.
4525 2011-09-29  Glenn Morris  <rgm@gnu.org>
4527         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
4529 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
4531         * descr-text.el (describe-char-categories): Accept category
4532         descriptions more than one line long.
4534 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4536         * simple.el (delete-trailing-whitespace): Fix last change.
4538         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4539         Don't confuse "y => 3" as the beginning of a `y' operation.
4541         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
4542         object has more than 4 slots (bug#9613).
4544 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
4546         * subr.el (with-output-to-temp-buffer):
4547         * net/quickurl.el (quickurl, quickurl-browse-url):
4548         Fix typos in docstrings.
4550 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
4552         * minibuffer.el (completion-styles)
4553         (completion-category-overrides): Cross reference each other in doc
4554         strings.
4556 2011-09-27  Glenn Morris  <rgm@gnu.org>
4558         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
4559         to split-string.  (Bug#9606)
4561 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4563         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
4564         (bug#9615).
4566 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
4568         * emacs-lisp/package.el (list-packages): Fix echo area message.
4570 2011-09-27  Leo Liu  <sdl.web@gmail.com>
4572         * ido.el (ido-read-internal): Accept cons cell HIST arg.
4574 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
4576         * net/dbus.el (dbus-unregister-object): Don't release services for
4577         registered signals.  (Bug#9581)
4579 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
4581         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
4582         function that picks between cfengine 2 and 3 support
4583         automatically.  Update docs accordingly.
4585 2011-09-22  Kenichi Handa  <handa@m17n.org>
4587         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
4588         ZERO.
4589         (indian-itrans-v5-table-for-tamil): New variable.
4590         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
4592 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
4594         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
4595         that's true if the current command involved collapsing of text.
4596         It's reset to false at the beginning of the next command.
4597         (allout-post-command-business): Move the cursor to the beginning
4598         of entry if the cursor is hidden and collapsing activity just
4599         happened.
4601 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
4603         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
4604         tracking (Bug#9541).
4606 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
4608         * net/newst-reader.el (newsticker-html-renderer)
4609         (newsticker-show-news): Automatically load html rendering package
4610         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
4611         because w3m-fill-column is let-bound" and the error "Symbol's value
4612         as variable is void: w3m-fill-column".
4614 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
4616         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
4617         Release services only if they are defined.  (Bug#9581)
4619 2011-09-23  Richard Stallman  <rms@gnu.org>
4621         * textmodes/paragraphs.el (forward-sentence): For backwards case,
4622         distinguish start of paragraph from start of its text.
4624         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
4626         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
4627         (rmail-generate-viewer-buffer): Put that hook on view buffer.
4628         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
4630 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
4632         * international/mule-diag.el (mule-diag): Insert a newline after
4633         each fontset description.
4635 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4637         * simple.el (delete-trailing-whitespace):
4638         Document last change; simplify.
4640 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
4642         * simple.el (delete-trailing-whitespace): Also delete
4643         extra newlines at the end of the buffer.
4645         * textmodes/picture.el: Make motion commands obey shift-select-mode.
4646         (picture-newline): Use forward-line so as to ignore fields.
4648 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4650         * subr.el (with-wrapper-hook): Fix edebug spec.
4652 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4654         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
4655         (bug#4538).
4657 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
4659         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
4660         Fix nasty bug using wrong cached values.
4662 2011-09-23  Alan Mackenzie  <acm@muc.de>
4664         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
4666 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
4668         * window.el (pop-to-buffer): Ensure right window is selected if we
4669         chose another frame.
4671 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
4673         * simple.el (what-cursor-position): Use get-char-property-change
4674         and next-single-char-property-change, to be able to show display
4675         properties that come from overlays as well as text properties.
4677 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
4679         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
4681         * cmuscheme.el (run-scheme, switch-to-scheme):
4682         * cus-edit.el (customize-group, custom-buffer-create)
4683         (customize-browse):
4684         * info.el (info):
4685         * shell.el (shell):
4686         * mail/sendmail.el (mail):
4687         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
4689 2011-09-22  Richard Stallman  <rms@gnu.org>
4691         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
4692         move back only to line beg, don't move back over blank lines.
4694 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
4696         * files.el (copy-directory): Set directory attributes only in case
4697         they could be retrieved from the source directory.  (Bug#9565)
4699 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
4701         * progmodes/hideshow.el (hs-looking-at-block-start-p)
4702         (hs-find-block-beginning, hs-hide-level-recursive):
4703         Ignore strings as well as comments.  (Bug#9502)
4705 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
4707         * progmodes/sql.el (sql-comint-postgres):
4708         Convert port number to a string.  (Bug#9566)
4710 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
4712         * window.el (quit-window): Undedicate window when switching to
4713         previous buffer.  Reported by Thierry Volpiatto
4714         <thierry.volpiatto@gmail.com>.
4715         (special-display-popup-frame): When popping up a new frame reset
4716         its previous buffers to nil.  Simplify code.
4718 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
4720         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
4721         and process filter, as done also in `shell-command'.
4723 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
4725         * window.el (set-window-buffer-start-and-point):
4726         Call set-window-start with NOFORCE argument t.
4727         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4728         (quit-window): Reword doc-string.  Handle new format of
4729         quit-restore parameter.  Don't delete window if it has a
4730         previous buffer we can show instead of the present one.
4731         (display-buffer-record-window): Rewrite using a new format for
4732         the quit-restore window parameter
4733         (special-display-popup-frame, display-buffer-same-window)
4734         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4735         (display-buffer-pop-up-window, display-buffer-use-some-window):
4736         Adapt symbol passed to display-buffer-record-window.
4737         * help.el (help-window-setup): Handle new format of quit-restore
4738         parameter.
4740 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4742         * faces.el (face-list): Fix docstring (bug#9564).
4744         * window.el (display-buffer--action-function-custom-type):
4745         Don't include internal functions in the Custom interface.
4747 2011-09-20  Juri Linkov  <juri@jurta.org>
4749         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
4750         (Info-forward-node, Info-backward-node, Info-next-preorder)
4751         (Info-last-preorder): Use it.  (Bug#9528)
4753 2011-09-20  Juri Linkov  <juri@jurta.org>
4755         * info.el (Info-last-preorder): Visit last menu item only when
4756         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
4758 2011-09-20  Julien Danjou  <julien@danjou.info>
4760         * password-cache.el (password-cache-remove): Remove entries even if the
4761         value is nil, so that password with a nil value (negative caching) is
4762         possible to invalidate.
4764 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
4766         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
4767         all whitespace around breakpoint.  (Bug#9553)
4768         (f90-find-breakpoint): Only break at whitespace inside a comment.
4770 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4772         * minibuffer.el (completion-file-name-table): Keep track of errors.
4773         (completion-table-with-predicate): Handle the case where pred1 is nil.
4774         * pcomplete.el (pcomplete-completions-at-point): Simplify.
4776 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4778         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
4779         (debugger-return-value): Signal an error if the debugging context does
4780         not await any return value.
4782         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
4783         * image-mode.el (image-toggle-display-text)
4784         (image-toggle-display-image): Stay away from evil `intangible'.
4786 2011-09-19  Leo Liu  <sdl.web@gmail.com>
4788         * replace.el (occur-revert-arguments): Make it permanent-local.
4789         (occur-mode): Don't call font-lock-defontify.
4791 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
4793         * net/ldap.el (ldap-search-internal): Don't push empty search
4794         result (Bug#9508).
4796 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4798         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
4800 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
4802         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
4803         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
4805 2011-09-18  Juri Linkov  <juri@jurta.org>
4807         * buff-menu.el (Buffer-menu-mode-map):
4808         * dired.el (dired-mode-map):
4809         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
4810         (lisp-interaction-mode-map):
4811         * emacs-lisp/package.el (package-menu-mode-map):
4812         * epa.el (epa-key-list-mode-map):
4813         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
4814         (menu-bar-options-menu):
4815         * outline.el (outline-mode-menu-bar-map):
4816         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
4817         * vc/vc-dir.el (vc-dir-menu-map):
4818         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
4819         Capitalize non-function content words in menu item strings.
4821         * dired.el (dired-mode-map): Add menu item for
4822         `image-dired-dired-toggle-marked-thumbs'.
4824 2011-09-18  Juri Linkov  <juri@jurta.org>
4826         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
4827         to `isearch-case-fold-search' and restore its original value
4828         after the `isearch-mode' call.
4830 2011-09-18  Juri Linkov  <juri@jurta.org>
4832         * progmodes/grep.el (grep-process-setup): Don't check code for 1
4833         because `zgrep' returns 1 for successful matches (bug#9226).
4835 2011-09-18  Juri Linkov  <juri@jurta.org>
4837         * info.el (Info-extract-menu-node-name): Check the second match
4838         for empty string (second test-case of bug#9528).
4839         (Info-last-preorder): Let-bind `Info-history' to nil to not add
4840         intermediate nodes to the history (first test-case of bug#9528).
4842 2011-09-18  Juri Linkov  <juri@jurta.org>
4844         * info.el (Info-mode-syntax-table): New variable.
4845         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
4847 2011-09-18  Juri Linkov  <juri@jurta.org>
4849         * info.el (Info-file-supports-index-cookies):
4850         Increment line-beginning-position's arg from 3 to 4 because makeinfo
4851         outputs one more line for long file names (bug#4142).
4853 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4855         * newcomment.el (comment-normalize-vars): If prompting for
4856         comment-start, set comment-start-skip too (Bug#8424).
4858 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
4860         * icomplete.el: Fix previous fix of Bug#5849.
4861         (icomplete-mode): Don't set completion-show-inline-help.
4862         (icomplete-minibuffer-setup): Set completion-show-inline-help
4863         locally during icompletion.
4865 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
4867         * woman.el (woman2-process-escapes): Don't delete unrecognized
4868         escapes (Bug#7843).
4870         * files.el (inhibit-first-line-modes-regexps): Add image files.
4871         (hack-local-variables-prop-line): Return nil for malformed
4872         prop-lines (Bug#9044).
4874 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
4876         * net/tramp.el (top): Don't require 'shell.
4877         (tramp-methods): Fix docstring.
4878         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
4879         Return complete remote file name.  Handle "smb" case.
4880         Use `tramp-tmpdir', if defined for the respective method.
4881         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
4883         * net/tramp-compat.el (top): Require 'shell.
4885         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4886         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
4887         `tramp-current-host'.
4888         (tramp-get-remote-tmpdir): Remove.
4890         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
4891         `tramp-tmpdir' entries.
4892         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
4893         (tramp-smb-handle-file-attributes): Ignore errors.
4894         (tramp-smb-wait-for-output): Check also for process end.
4896 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4898         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
4899         when sending QUIT (bug#9312).
4901 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
4903         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
4904         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
4905         occur-mode-display-occurrence.
4906         (occur-edit-mode): Add usage message.
4907         (occur-cease-edit): New command.
4908         (occur-after-change-function): Use text properties to find the
4909         position of the prefix text.
4910         (occur-engine): Set stickiness of prefix text properties.
4912 2011-09-17  Glenn Morris  <rgm@gnu.org>
4914         * progmodes/etags.el (complete-tag):
4915         Fix call to completion-in-region.  (Bug#9526)
4917 2011-09-17  Juri Linkov  <juri@jurta.org>
4919         * textmodes/ispell.el (ispell-word): Add to the error message
4920         the word, ispell program name and current dictionary (bug#9121).
4921         (ispell-tex-arg-end): Capitalize "error" in the error message.
4923 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
4925         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4926         check.  (Bug#4251)
4928 2011-09-17  Juri Linkov  <juri@jurta.org>
4930         * window.el (window-safe-min-height, window-safe-min-width):
4931         Fix typos (followup to bug#9522).
4933 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
4935         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4937 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
4939         * simple.el (line-move): If goal-column is set, move by logical
4940         lines, not by display lines.  (Bug#971)
4941         (next-line, previous-line, goal-column, line-move-visual): Doc fix
4942         to reflect the above change.
4944 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4946         * image.el (imagemagick-register-types): Use regexp-opt.
4948 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4950         * window.el (display-buffer-base-action): Rename from
4951         display-buffer-default-action.  Make default value empty.
4952         (display-buffer-overriding-action): Convert to defvar.
4953         (display-buffer-fallback-action): New var.
4955 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
4957         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4958         declaration.
4959         (package--add-to-archive-contents): If there is a duplicate entry
4960         with an older version, remove it.
4961         (package-menu-mark-delete, package-menu-mark-install)
4962         (package-menu-mark-unmark): Make unused args optional.
4963         (package-menu-mark-obsolete-for-deletion):
4964         Use package-menu-get-status instead of a regexp search.
4965         (package-menu-get-status): Use tabulated-list-entry.
4966         (package-menu-mark-upgrades): New command.
4967         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
4968         (package-menu-execute): Do installation before deletion.
4969         (package-menu-refresh, package-menu-execute): Use derived-mode-p
4970         instead of checking major-mode.
4971         (package-menu--find-upgrades): New function.
4973 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4975         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4976         passwords in the log buffer.
4977         (smtpmail-process-filter): Update the process marker so that the
4978         "broken by peer" status message is inserted in the right place.
4980 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4982         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4983         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4984         bibtex-completion-at-point-function.
4985         (bibtex-completion-at-point-function): Use them.
4987         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4989         * mpc.el (mpc-constraints-tag-lookup): New function.
4990         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4991         also to browser "album|playlist".
4993 2011-09-14  Juri Linkov  <juri@jurta.org>
4995         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
4996         (isearch-edit-string): Use length of `isearch-string' when
4997         `isearch-fail-pos' returns nil.
4998         (isearch-message): Remove duplicate code and call
4999         `isearch-fail-pos' with arg `t'.
5001 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
5003         * replace.el (occur-mode-goto-occurrence): Don't force using other
5004         window (Bug#9499).
5006         * dired-aux.el (dired-do-chmod): Don't provide initial input.
5008 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
5010         * window.el (display-buffer-window): Remove.
5011         (display-buffer-record-window): Use help-setup window parameter
5012         instead of variable display-buffer-window.
5013         (display-buffer-function, special-display-buffer-names)
5014         (special-display-function): Mention help-setup parameter instead
5015         of display-buffer-window in doc-string.
5016         * help.el (help-window-setup): New argument help-window.
5017         Use help-window-setup parameter instead of display-buffer-window.
5018         Reword some messages.
5019         (with-help-window): Pass window used for displaying the buffer
5020         to help-window-setup.  Don't set display-buffer-window.
5022 2011-09-13  Glenn Morris  <rgm@gnu.org>
5024         * emacs-lisp/debug.el (debugger-make-xrefs):
5025         Preserve point.  (Bug#9462)
5027 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5029         * window.el (window-deletable-p): Use next-frame.
5031 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
5033         * window.el (window-auto-delete): Remove.
5034         (window-deletable-p): Remove argument FORCE.  Don't deal with
5035         dedication and previous buffers.
5036         (switch-to-prev-buffer): Don't delete window.
5037         (delete-windows-on): Delete a window's frame if and only if the
5038         window is dedicated.
5039         (replace-buffer-in-windows): Delete buffer's window or frame if
5040         and only if window is dedicated.
5041         (quit-window): Handle quit-restore as before last change.
5042         (bury-buffer): Delete window only if window-deletable-p returns t.
5044 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
5046         * window.el (window-deletable-p): Never delete the last frame on a
5047         given terminal.
5049 2011-09-13  Glenn Morris  <rgm@gnu.org>
5051         * help.el (describe-key-briefly): Copy previous standard-output change.
5053 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
5055         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
5057 2011-09-13  Glenn Morris  <rgm@gnu.org>
5059         * emacs-lisp/lisp-mode.el (lisp-indent-function):
5060         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5062 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
5064         * dired-aux.el (dired-mark-read-string): Don't return default
5065         value on empty input (Bug#9361).
5066         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5067         Omit initial minibuffer contents.
5068         (dired-do-chmod): Signal an error on empty input.
5069         (dired-mark-read-string): Don't return default on empty input.
5071         * files.el (file-modes-symbolic-to-number): Doc fix.
5073 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5075         * international/mule-cmds.el (ucs-completions): Remove.
5076         (read-char-by-name): Use complete-with-action instead; add metadata.
5078 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5080         * window.el (display-buffer--action-function-custom-type)
5081         (display-buffer--action-custom-type): New vars.
5082         (display-buffer-alist, display-buffer-default-action)
5083         (display-buffer-overriding-action): Add defcustom types.
5085         * frame.el (delete-other-frames): Doc fix (Bug#276).
5087 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5089         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5091 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
5093         Change modes that used same-window-* vars to use switch-to-buffer.
5095         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5096         Use switch-to-buffer.
5098         * cus-edit.el (customize-group, custom-buffer-create)
5099         (customize-browse, custom-buffer-create-other-window):
5100         Use switch-to-buffer or switch-to-buffer-other-window.
5102         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5103         (Info-prev, Info-up, Info-speedbar-goto-node)
5104         (info-display-manual): Use switch-to-buffer.
5105         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5107         * mail/sendmail.el (mail): Use switch-to-buffer.
5108         (mail-recover): Use switch-to-buffer-other-window.
5110         * cmuscheme.el (run-scheme, switch-to-scheme):
5111         * ielm.el (ielm):
5112         * shell.el (shell):
5113         * net/rlogin.el (rlogin):
5114         * net/telnet.el (telnet, rsh):
5115         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5117 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
5119         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5121 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5123         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5124         so don't mention it (bug#9301).
5125         (dired-sort-toggle-or-edit): Clarify string further.
5127         * faces.el (face-spec-set-match-display): Make `(type graphic)'
5128         match `x', `w32' and `ns', like the manual says (bug#9029).
5130         * subr.el (eval-after-load): Doc string clarification (bug#9125).
5131         (process-kill-buffer-query-function): Mention the buffer name in
5132         the query.
5134         * image-mode.el (image-next-line): The line parameter is mandatory
5135         (bug#9258).
5137         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
5138         which can be useful (bug#9301).
5140         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
5142         * subr.el (match-string): Mention that the current buffer should
5143         be the same as the search was done in (bug#9282).
5145         * facemenu.el: Disable the remove-* commands if the mark isn't
5146         active (bug#9162).
5148 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5150         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
5151         of display-buffer.
5152         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
5154         * replace.el (occur-mode-goto-occurrence)
5155         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
5156         and display-buffer.
5158         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
5159         display-buffer.
5161         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
5162         special-display and same-window variables.
5163         (mail-other-window): Use switch-to-buffer-other-window.
5164         (mail-other-frame): USe switch-to-buffer-other-frame.
5166         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
5167         Use display-buffer-other-frame.
5168         (gdb-display-gdb-buffer): Use pop-to-buffer.
5170         * progmodes/gud.el (gud-goto-info): Use info-other-window.
5172         * progmodes/python.el: Don't set same-window-buffer-names.
5174         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
5176         * window.el (display-buffer-alist): Add *Python*.
5178 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
5180         * window.el (display-buffer-alist): Add entry for buffers
5181         previously handled same-window-*.
5182         (display-buffer-alist, display-buffer-default-action)
5183         (display-buffer-overriding-action): Mark as risky.
5184         (display-buffer-alist): Document action function changes.
5185         (display-buffer--same-window-action)
5186         (display-buffer--other-frame-action): New variables.
5187         (switch-to-buffer, display-buffer-other-frame): Use them.
5188         (display-buffer): Rename reuse-frame entry to reusable-frames.
5189         (display-buffer-reuse-selected-window): Function deleted.
5190         (display-buffer-reuse-window): Handle reusable-frames alist entry.
5191         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
5192         (display-buffer-special): New function.
5193         (display-buffer--maybe-pop-up-frame-or-window): Rename from
5194         display-buffer-reuse-or-pop-window.  Split off special-display
5195         part into display-buffer-special.
5196         (display-buffer-use-some-window): Don't perform any special
5197         pop-up-frames handling.
5198         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
5199         (display-buffer--maybe-same-window): Rename from
5200         display-buffer-maybe-same-window.
5202         * info.el: Don't set same-window-regexps.
5203         (info-setup): New function.
5204         (info-other-window, info): Call it.
5206         * cus-edit.el: Don't set same-window-regexps.
5207         (customize-group): New argument.
5208         (customize-group-other-window): Use it.
5209         (customize-face, customize-face-other-window): Likewise.
5210         (custom-buffer-create-other-window): Use pop-to-buffer directly.
5212         * net/rlogin.el:
5213         * net/telnet.el:
5214         * progmodes/gud.el: Don't set same-window-regexps.
5216         * cmuscheme.el:
5217         * ielm.el:
5218         * shell.el:
5219         * mail/sendmail.el:
5220         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
5222 2011-09-10  Juri Linkov  <juri@jurta.org>
5224         * isearch.el (isearch-edit-string): Remove obsolete mention of
5225         `C-w' (`isearch-yank-word-or-char') from docstring.
5226         (isearch-query-replace): Fix typo in docstring (bug#9466).
5228 2011-09-10  Juri Linkov  <juri@jurta.org>
5230         * paren.el (show-paren-function): Don't show escaped parens.
5231         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
5233 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
5235         * mail/sendmail.el (mml-to-mime, mml-attach-file)
5236         (mm-default-file-encoding): Remove autoload forms, they are
5237         replaced with autoload cookies in mml.el and mm-encode.el.
5238         (mail-add-attachment): New command.
5239         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
5240         (mail-mode): Mention mail-insert-file and mail-add-attachment in
5241         the doc string.
5242         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
5244 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
5246         * simple.el (count-words-region): Use buffer if there's no region
5247         (bug#9429).
5249 2011-09-09  Juri Linkov  <juri@jurta.org>
5251         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
5252         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
5253         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
5255 2011-09-09  Alan Mackenzie  <acm@muc.de>
5257         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
5258         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
5260 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
5262         Fix for Savannah bug#9392.
5263         * simple.el (mail-encode-mml): New defvar.
5265         * mail/rmail.el (mail-encode-mml): Add a defvar.
5266         (rmail-enable-mime-composing): Default to t.
5267         (rmail-forward): Use MIME method of forwarding only if both
5268         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
5269         Set mail-encode-mml non-nil if the MIME method was used.
5271         * mail/sendmail.el (mml-to-mime): Add autoload form.
5272         (mail-encode-mml): Add a defvar.
5273         (mail-mode): Make mail-encode-mml buffer-local and initialize it
5274         to nil.
5275         (mail-send): If mail-encode-mml is non-nil, run the outgoing
5276         message through mml-to-mime, and reset mail-encode-mml to nil.
5278 2011-09-09  Glenn Morris  <rgm@gnu.org>
5280         * woman.el (woman-if-body): When processing an .el block,
5281         do not delete the next .el block as well.  (Bug#9447)
5282         (woman-special-characters): Add oq, cq, and hy characters.
5284 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
5286         * window.el (window-deletable-p): Make sure window is live before
5287         invoking window-prev-buffers.
5289 2011-09-08  Leo Liu  <sdl.web@gmail.com>
5291         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
5293 2011-09-08  Juri Linkov  <juri@jurta.org>
5295         * progmodes/compile.el (compilation-environment): Make it
5296         a defcustom (bug#8340).
5298 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
5300         * window.el (frame-auto-delete): Rename to window-auto-delete.
5301         Make it control auto-deletion of windows and/or frames.
5302         (window-deletable-p): New argument FORCE.  Rewrite conditions
5303         for deleting window/frame.  (Bug#9419)
5304         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
5305         Rewrite handling of case when window/frame can be deleted.
5306         (delete-windows-on): Call window-deletable-p with new FORCE
5307         argument t.  (Bug#9456)
5309 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
5311         * help-mode.el (help-mode): Restore autoload.
5313 2011-09-07  Juri Linkov  <juri@jurta.org>
5315         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
5316         `compilation-environment'.  Set buffer-local
5317         `compilation-environment' to `thisenv' later after (funcall mode).
5318         (Bug#8340)
5320         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
5321         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
5322         instead of replacing its value.  (Bug#8340)
5324 2011-09-07  Juri Linkov  <juri@jurta.org>
5326         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
5327         based on text properties put by `grep-filter' instead of matching
5328         escape sequences.
5329         (grep-mode): Set buffer-local `compilation-error-screen-columns'
5330         to the value of `grep-error-screen-columns' (bug#9438).
5332 2011-09-07  Juri Linkov  <juri@jurta.org>
5334         * simple.el (next-error-highlight, next-error-highlight-no-select):
5335         Doc fix (bug#9432).
5337 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
5339         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5340         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
5342 2011-09-07  Leo Liu  <sdl.web@gmail.com>
5344         * net/rcirc.el (rcirc-mode): Conditionally initialize
5345         rcirc-input-ring.
5347 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5349         * emacs-lisp/find-func.el (find-function-C-source): Only set
5350         find-function-C-source-directory after checking that we found a source
5351         file there (bug#9440).
5353 2011-09-06  Alan Mackenzie  <acm@muc.de>
5355         * isearch.el (isearch-other-meta-char): Wherever a key list is
5356         unread, "unread" the prefix arg, too.  This fixes bug #8901.
5358 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5360         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
5362 2011-09-05  Juri Linkov  <juri@jurta.org>
5364         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
5366 2011-09-05  Juri Linkov  <juri@jurta.org>
5368         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
5369         keeping point where processing of grep matches begins, and
5370         continue to delete remaining escape sequences from the same point.
5371         (grep-filter): Make leading zero optional in "0?1;31m" because
5372         git-grep emits "\033[1;31m" escape sequences unlike expected
5373         "\033[01;31m" as GNU Grep does (bug#9408).
5374         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
5376 2011-09-05  Juri Linkov  <juri@jurta.org>
5378         * subr.el (y-or-n-p): Capitalize "yes".
5380 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
5382         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
5383         `tramp-cache-unload-hook' where appropriate.
5384         (tramp-methods): Rename `tramp-remote-sh' to
5385         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
5386         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
5388         * net/tramp-sh.el (top): Don't require 'shell.
5389         (tramp-methods): Add `tramp-remote-shell' and
5390         `tramp-remote-shell-args' entries.
5391         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
5392         (tramp-sh-handle-shell-command): Remove.
5393         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5394         Use `tramp-remote-shell'.
5396 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
5398         * mail/sendmail.el (sendmail-query-once-function): Delete.
5399         (sendmail-query-once): Save directly to send-mail-function.
5400         Update message-send-mail-function too.
5402         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
5404 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5406         * progmodes/python.el (python-mode-map): Use correct function to
5407         start python interpreter from menu-bar (as reported by Geert
5408         Kloosterman).
5409         (inferior-python-mode-map): Fix typo.
5410         (python-shell-map): Remove.
5412 2011-09-03  Deniz Dogan  <deniz@dogan.se>
5414         * net/rcirc.el (rcirc-print): Simplify code for
5415         rcirc-scroll-show-maximum-output.  There is no need to walk
5416         through all windows to find the right one.
5418 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
5420         * help.el (help-return-method): Doc fix.
5422 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
5424         * window.el (window-deletable-p): Don't return a non-nil value
5425         when there's a buffer that was shown in the window before.
5426         (Bug#9419)
5427         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5428         Set window's previous buffers to nil.
5430 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
5432         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
5433         newline before and after the tag line, so it doesn't interfere
5434         with determining the paragraph direction of bidirectional text.
5436 2011-09-03  Leo Liu  <sdl.web@gmail.com>
5438         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
5440 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5442         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
5443         (pop-to-buffer): Change interactive spec.  Pass second argument
5444         directly to display-buffer.
5445         (display-buffer): Fix interactive spec.  Use functionp to
5446         distinguish between a function and a list of functions.
5448         * abbrev.el (edit-abbrevs):
5449         * arc-mode.el (archive-extract):
5450         * autoinsert.el (auto-insert):
5451         * bookmark.el (bookmark-bmenu-list):
5452         * files.el (find-file):
5453         * view.el (view-buffer):
5454         * progmodes/compile.el (compilation-goto-locus):
5455         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
5457 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
5459         * window.el (display-buffer-alist): Doc fix.
5460         (display-buffer): Add docstring.  Don't treat
5461         display-buffer-default specially.
5462         (display-buffer-reuse-selected-window)
5463         (display-buffer-same-window, display-buffer-maybe-same-window)
5464         (display-buffer-reuse-window, display-buffer-pop-up-frame)
5465         (display-buffer-pop-up-window)
5466         (display-buffer-reuse-or-pop-window)
5467         (display-buffer-use-some-window): New functions.
5468         (display-buffer-default-action): Use them.
5469         (display-buffer-default): Delete.
5470         (pop-to-buffer-1): Fix choice of actions.
5472 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5474         * minibuffer.el (completion--insert-strings): Don't get confused by
5475         completion entries that end with an LF char.
5477 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
5479         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
5481 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
5483         * window.el (display-buffer): Restore interactive spec.
5484         (display-buffer-same-window, display-buffer-other-window):
5485         New functions.
5486         (pop-to-buffer-1): New function.  Use the above.
5487         (pop-to-buffer, pop-to-buffer-same-window): Use it.
5488         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
5490         * view.el (view-buffer-other-window, view-buffer-other-frame):
5491         Just use pop-to-buffer.
5493 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5495         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
5497 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
5499         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
5501 2011-08-31  Richard Stallman  <rms@gnu.org>
5503         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
5504         of the separation of rmail-view-buffer from rmail-buffer.
5505         If you say no to "replace original", the decrypt is in the
5506         view buffer.  If you say yes, the decrypt goes into the
5507         rmail buffer also.
5509 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
5511         * window.el (display-buffer-window): Rewrite doc-string.
5512         (display-buffer-record-window): New function.
5513         (display-buffer-macro-specifiers)
5514         (display-buffer-even-window-sizes, display-buffer-set-height)
5515         (display-buffer-set-width, display-buffer-in-window)
5516         (display-buffer-reuse-window, display-buffer-split-specifiers)
5517         (display-buffer-side-specifiers, display-buffer-split-window-1)
5518         (display-buffer-split-window, display-buffer-split-atom-window)
5519         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5520         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
5521         (display-buffer-other-window-means-other-frame)
5522         (display-buffer-normalize-special)
5523         (display-buffer-normalize-default)
5524         (display-buffer-normalize-argument)
5525         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
5526         (display-buffer-normalize-specifiers, display-buffer-frame)
5527         (display-buffer-same-window, display-buffer-same-frame)
5528         (display-buffer-other-window)
5529         (display-buffer-same-frame-other-window)
5530         (display-buffer-other-frame, pop-to-buffer-same-window)
5531         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
5532         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
5533         (switch-to-buffer-same-frame)
5534         (switch-to-buffer-other-window-same-frame)
5535         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
5536         (display-buffer-alist-set-1, display-buffer-alist-set-2)
5537         (display-buffer-alist-set): Remove.
5538         (display-buffer-function, special-display-buffer-names)
5539         (special-display-regexps, special-display-function):
5540         In doc-string refer to display-buffer-window and quit-restore
5541         parameter.
5542         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
5543         (special-display-frame-alist, special-display-popup-frame)
5544         (same-window-buffer-names, same-window-regexps, same-window-p)
5545         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5546         (split-window-preferred-function, split-height-threshold)
5547         (split-width-threshold, window-splittable-p)
5548         (split-window-sensibly, window--try-to-split-window)
5549         (window--frame-usable-p, even-window-heights)
5550         (window--even-window-heights, window--display-buffer-1)
5551         (window--display-buffer-2, display-buffer-other-frame):
5552         Restore old Emacs 23 code, order and doc-strings where applicable.
5553         (display-buffer-default, display-buffer-assq-regexp): New functions.
5554         (display-buffer-alist): Rewrite doc-string.
5555         (display-buffer-default-action)
5556         (display-buffer-overriding-action): New variables.
5557         (display-buffer, switch-to-buffer): Rewrite.
5558         (pop-to-buffer): Restore Emacs 23 behavior but use
5559         window-normalize-buffer-to-display.
5560         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
5561         Restore Emacs 23 behavior but use
5562         window-normalize-buffer-to-switch-to.
5563         (pop-to-buffer-same-window): Rewrite.
5564         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
5565         Rewrite using Emacs 23 options.
5567 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
5569         * net/tramp.el (tramp-root-regexp): Remove.
5570         (tramp-completion-file-name-regexp-unified)
5571         (tramp-completion-file-name-regexp-separate)
5572         (tramp-completion-file-name-regexp-url): Don't use leading volume
5573         letter on win32 systems.  (Bug#5303, Bug#9311)
5574         (tramp-drop-volume-letter): Simplify definition.
5575         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5577 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5579         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
5580         (bug#9356).
5582 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
5584         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5586 2011-08-29  Juri Linkov  <juri@jurta.org>
5588         * isearch.el (isearch-done): Don't display message "Mark saved"
5589         when arg `edit' is non-nil to prevent its flicker in the echo area.
5591 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5593         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
5594         obsolete packages for deletion.
5596 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
5598         * help-mode.el (help-mode-map): Add special-mode-map to parent.
5599         (help-mode): Derive help-mode from special-mode.  Don't invoke
5600         view-mode from help-mode.
5601         (help-xref-override-view-map): Remove.
5602         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
5603         view-mode is not used anymore.
5605 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
5607         * server.el (server-port): Doc fix.
5609         * cus-theme.el (custom-theme-choose-mode): Inherit from
5610         special-mode (Bug#9124).
5611         (custom-theme-choose-mode-map): Add special-mode to parent.
5613 2011-08-28  Alan Mackenzie  <acm@muc.de>
5615         * progmodes/cc-fonts.el
5616         (c-make-font-lock-BO-decl-search-function): New function.
5617         (c-basic-matchers-after - "Fontify the clauses after various
5618         keywords"): Extract the three keyword lists for the 3 erroneous
5619         constructs from the list of four, and use the new function above
5620         in place of an old one.
5622 2011-08-28  Deniz Dogan  <deniz@dogan.se>
5624         * net/rcirc.el (rcirc-insert-prev-input)
5625         (rcirc-insert-next-input): Remove unused argument.
5627 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5629         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
5631 2011-08-27  Alan Mackenzie  <acm@muc.de>
5633         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
5634         handle function pointer parameters properly.
5636 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
5638         * window.el (display-buffer-reuse-window): Fix case where
5639         selected window was reused with non-nil OTHER-WINDOW argument.
5640         (Bug#9381)
5642 2011-08-27  Deniz Dogan  <deniz@dogan.se>
5644         * net/rcirc.el (rcirc-check-auth-status): Adding support for
5645         oftc's NickServ messages.
5647 2011-08-27  Glenn Morris  <rgm@gnu.org>
5649         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
5651 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
5653         * emacs-lisp/package.el (package-install): Call package-initialize
5654         if called interactively.
5656 2011-08-26  Leo Liu  <sdl.web@gmail.com>
5658         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
5660 2011-08-25  Juri Linkov  <juri@jurta.org>
5662         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5663         `search-whitespace-regexp' (bug#9364).
5665 2011-08-25  Juri Linkov  <juri@jurta.org>
5667         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
5668         `regexp-search-ring' to their global values to protect from
5669         updating by `read-from-minibuffer' (bug#9185).
5671 2011-08-25  Juri Linkov  <juri@jurta.org>
5673         * textmodes/ispell.el (ispell-command-loop): Add newline
5674         at the end of the "Use option `i'..." line.
5676 2011-08-25  Juri Linkov  <juri@jurta.org>
5678         * battery.el (display-battery-mode): If `battery-status-function'
5679         or `battery-mode-line-format' is nil, display the message and set
5680         `display-battery-mode' to nil (bug#9363).
5682 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
5684         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
5685         bidi-string-mark-left-to-right; they are unnecessary now.
5687 2011-08-25  Deniz Dogan  <deniz@dogan.se>
5689         * net/quickurl.el: Documentation typo fixes.
5691 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
5693         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
5695 2011-08-25  Glenn Morris  <rgm@gnu.org>
5697         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
5699         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
5700         (smtpmail-via-smtp): Handle nil response from smtp.
5702 2011-08-24  Juri Linkov  <juri@jurta.org>
5704         * proced.el (proced-marked): Inherit from `error' instead of
5705         `font-lock-warning-face'.
5707         * ibuffer.el (ibuffer-marked-face): Change default face from
5708         `font-lock-warning-face' to `warning'.
5709         (ibuffer-deletion-face): Change default face from
5710         `font-lock-type-face' to `error'.
5712         * battery.el (battery-update): Use the face `error' instead of
5713         `font-lock-warning-face' (bug#6117).
5715 2011-08-24  Juri Linkov  <juri@jurta.org>
5717         * faces.el (success): Change face color from "Green3" to
5718         "ForestGreen" on light background (bug#9353).
5720 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
5722         * window.el (quit-window): Rename from quit-restore-window.
5723         Use same arglist as old quit-window.
5724         (frame-auto-delete): Doc fix.
5726         * view.el (view-mode-exit): Use quit-window.
5728 2011-08-24  Juri Linkov  <juri@jurta.org>
5730         * isearch.el (isearch-ring-adjust1): Start visiting previous
5731         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
5732         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
5733         for empty search string (when the last search string is reused
5734         automatically) to adjust the isearch ring to the last element and
5735         prepare the correct index for further M-p commands (bug#9185).
5737 2011-08-24  Kenichi Handa  <handa@m17n.org>
5739         * international/ucs-normalize.el: If decomposition property of
5740         CHAR is the default one (i.e. a list of CHAR itself), treat it as
5741         nil.
5742         (nfd, nfkd): Likewise.
5744 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5746         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
5747         from process filters aren't reliably transmitted to the surrounding
5748         accept-process-output.
5749         (mpc-proc-check): New function.
5750         (mpc-proc-sync): Use it (bug#8293)
5752 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5754         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
5755         Add compatibility functions (bug#9313).
5757 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
5759         * cus-start.el (all): Add entry for bidi-paragraph-direction.
5761         * international/uni-bidi.el: Regenerate.
5763 2011-08-23  Kenichi Handa  <handa@m17n.org>
5765         * international/charprop.el:
5766         * international/uni-bidi.el:
5767         * international/uni-category.el:
5768         * international/uni-combining.el:
5769         * international/uni-comment.el:
5770         * international/uni-decimal.el:
5771         * international/uni-decomposition.el:
5772         * international/uni-digit.el:
5773         * international/uni-lowercase.el:
5774         * international/uni-mirrored.el:
5775         * international/uni-name.el:
5776         * international/uni-numeric.el:
5777         * international/uni-old-name.el:
5778         * international/uni-titlecase.el:
5779         * international/uni-uppercase.el: Regenerate.
5781 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
5783         * help.el (help-window-setup): Fix message displayed when other
5784         window is reused.  (Bug#9341)
5786 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5788         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
5789         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
5791         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
5792         Mark obsolete.
5793         * shell.el (shell-parse-pcomplete-arguments): New function.
5794         (shell-completion-vars): Use it instead (bug#9160).
5796 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5798         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
5799         strings and comments (bug#9333).
5801         * emacs-lisp/debug.el (debug-arglist): New function.
5802         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
5803         (debug-on-entry-1): Handle interpreted closures (bug#9120).
5805 2011-08-22  Juri Linkov  <juri@jurta.org>
5807         * progmodes/compile.el (compilation-mode-font-lock-keywords):
5808         Revert regexp that highlights output switches to its old
5809         pre-2010-10-28 value and remove one `?' from it (bug#9319).
5811         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
5812         to check for empty output (bug#9226).
5814 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
5816         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
5817         symbol-constituent as the default, as that stops font-lock from
5818         working properly (Bug#8843).
5820 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5822         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
5823         `coding-system-for-*' around the process open call to avoid
5824         auth-source side effects.
5825         (smtpmail-try-auth-methods): Expand the secret password.
5826         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
5827         probe hangs.
5829 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5831         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
5833         * emacs-lisp/find-func.el (find-function-noselect): New arg
5834         lisp-only.
5836         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
5837         signal an error for built-in functions (Bug#6664).
5839 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5841         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
5842         (smtpmail-try-auth-methods): Use it.
5844 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
5846         * font-lock.el (font-lock-fontify-region)
5847         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
5848         (font-lock-default-unfontify-buffer)
5849         (font-lock-default-fontify-region)
5850         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
5852         * progmodes/compile.el (compilation-error-properties):
5853         Fix confusion between file struct and message struct (Bug#9319).
5854         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
5855         `ant' regexp.
5857         * net/browse-url.el (browse-url-firefox): Don't call
5858         browse-url-firefox-sentinel unless using -remote (Bug#9328).
5860 2011-08-20  Glenn Morris  <rgm@gnu.org>
5862         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
5864         * tutorial.el (tutorial--default-keys): Update some default bindings.
5866         * files.el (hack-local-variables): Fully ignore case for "mode:".
5868 2011-08-20  Alan Mackenzie  <acm@muc.de>
5870         Resolve invalid use of a regexp in regexp-opt.
5872         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
5873         detection for a java annotation.
5875         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
5876         detection for a java annotation.
5878         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
5879         handling for java.
5880         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
5882 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
5884         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
5885         (Bug#9274).
5887 2011-08-20  Alan Mackenzie  <acm@muc.de>
5889         Fontify CPP expressions correctly when starting in the middle of
5890         such a construct.  Mainly for when jit-lock etc. starts a chunk
5891         here.
5893         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
5894         variable.
5895         (c-make-font-lock-search-form): New function, extracted from
5896         c-make-font-lock-search-function.
5897         (c-make-font-lock-search-function): Use the above function.
5898         (c-make-font-lock-context-search-function): New function.
5899         (c-cpp-matchers): Enhance the preprocessor expression case with
5900         the above function
5901         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
5902         which takes an expression.
5904         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
5906 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
5908         * window.el (display-buffer-reuse-window)
5909         (display-buffer-pop-up-window): Don't reuse or split a side
5910         window.
5912 2011-08-19  Glenn Morris  <rgm@gnu.org>
5914         * files.el (hack-local-variables-prop-line, hack-local-variables):
5915         Downcase "Mode:".  (Bug#9331)
5917 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
5919         * international/characters.el: Add L and R categories.
5921         * subr.el (bidi-string-mark-left-to-right): Rename from
5922         string-mark-left-to-right.  Use category search.
5924         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5926 2011-08-18  Juri Linkov  <juri@jurta.org>
5928         * faces.el (error, warning, success): New faces with definitions
5929         copied from old default values of `font-lock-warning-face',
5930         `compilation-warning', `compilation-info' (bug#6117).
5932         * font-lock.el (font-lock-warning-face): Inherit from `error'.
5934         * progmodes/compile.el (compilation-error): Inherit from `error'.
5935         (compilation-warning): Inherit from `warning'.
5936         (compilation-info): Inherit from `success'.
5938         * dired.el (dired-marked): Inherit from `warning'.
5939         (dired-flagged): Inherit from `error'.
5941 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5943         * mail/smtpmail.el (auth-source): Require to avoid problems with
5944         binding variables (bug#9298).  Also clean up some unused
5945         autoloads.
5947         * net/network-stream.el (network-stream-open-starttls):
5948         Support using starttls.el without using gnutls-cli.
5950 2011-08-17  Juri Linkov  <juri@jurta.org>
5952         * progmodes/grep.el (rgrep): Handle the case when
5953         `grep-find-command' is a cons cell (bug#9278).
5955 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
5957         * window.el (display-buffer-pop-up-frame): Run frame creation
5958         function with BUFFER current (as special-display-popup-frame
5959         does).  Reported by Drew Adams.
5961 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
5963         * epa-mail.el: Simplify GnuPG group expansion using
5964         epg-expand-group.
5965         (epa-mail-group-alist, epa-mail-group-modtime)
5966         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5967         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5968         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5969         Remove.
5971 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
5973         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5975 2011-08-16  Alan Mackenzie  <acm@muc.de>
5977         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5978         Correct, to avoid the inside of macros.
5980 2011-08-16  Richard Stallman  <rms@gnu.org>
5982         * epa-mail.el: Handle GnuPG group definitions.
5983         (epa-mail-group-alist, epa-mail-group-modtime)
5984         (epa-mail-gnupg-conf-file): New variables.
5985         (epa-mail-parse-groups, epa-mail-sync-groups)
5986         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5987         (epa-mail-expand-recipients): New functions.
5988         (epa-mail-encrypt): Call epa-mail-expand-recipients.
5990         * mail/rmail.el (rmail-epa-decrypt): New command.
5992         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5993         Don't bind buffer-read-only, just inhibit-read-only.
5994         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5995         (epa-decrypt-armor-in-region): Make error message clearer.
5997 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5999         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6000         and "a2b" to "ab" for `prefix'.
6002 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
6004         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6005         filter groups.
6006         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
6007         Fourquet (Bug#8804).
6009 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
6011         * startup.el (argi): Declare as global variable (bug#9275).
6013 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
6015         * subr.el (string-mark-left-to-right): Search the entire string
6016         for RTL script, not just the terminating character.  Doc fix.
6018 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6020         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6021         New function.
6022         (js--regexp-literal, js-syntax-propertize-function): Remove.
6023         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6024         (js-mode-map): Don't rebind electric keys.
6025         (js-insert-and-indent): Remove.
6026         (js-mode): Setup electric-layout and electric-indent instead.
6028         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6030 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
6032         * epa.el (epa-progress-callback-function): Fix the logic of
6033         displaying progress.
6034         * epa-file.el (epa-file-insert-file-contents): Make progress
6035         display more user-friendly.
6036         (epa-file-write-region): Ditto.
6038 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
6040         * subr.el (string-mark-left-to-right): New function.
6042         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6043         Use string-mark-left-to-right.
6044         (list-buffers-noselect): Caller changed.
6046         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6047         Use string-mark-left-to-right.
6048         (tabulated-list-print): Recenter after moving point.
6050 2011-08-10  Juri Linkov  <juri@jurta.org>
6052         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6053         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6054         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6056 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
6058         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6059         (Bug#7554).
6061 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6063         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6064         character.  (Bug#6594)
6066 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
6068         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6069         (image-dired--with-db-file): New macro.
6070         (image-dired-write-tags, image-dired-remove-tag)
6071         (image-dired-create-gallery-lists, image-dired-write-comments)
6072         (image-dired-get-comment, image-dired-mark-tagged-files)
6073         (image-dired-list-tags, image-dired-gallery-generate): Use it.
6074         (image-dired-gallery-generate): Use insert-file-contents.
6076         * time.el (display-time-world-list, display-time-world-display):
6077         * time-stamp.el (time-stamp-string):
6078         * vc/add-log.el (add-change-log-entry): Use setenv instead of
6079         set-time-zone-rule (Bug#7337).
6081 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
6083         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6084         (epg-error-to-string, epg-errors-to-string): New function.
6085         (epg-wait-for-completion): Reverse errors list.
6086         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6087         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6088         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6089         (epg-sign-keys, epg-generate-key-from-file)
6090         (epg-generate-key-from-string): Format errors by using
6091         epg-errors-to-string (bug#9255).
6092         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6094 2011-08-07  Juri Linkov  <juri@jurta.org>
6096         * faces.el (list-faces-display): Remove extra angle bracket
6097         from `help-mode-map'.
6099         * info.el (Info-history-toc-nodes): Doc fix.
6101         * longlines.el (longlines-mode): Doc fix.
6103 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6105         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6106         of statements and in a few more cases (bug#9183).
6108         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6109         New functions.
6110         (cl-transform-lambda): Use them (bug#9239).
6112 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
6114         * window.el (display-buffer-same-window)
6115         (display-buffer-same-frame, display-buffer-other-window)
6116         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6117         (pop-to-buffer-other-window)
6118         (pop-to-buffer-same-frame-other-window)
6119         (pop-to-buffer-other-frame): Make them defuns.
6120         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6122 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6124         * subr.el (make-composed-keymap): Move from C.  Change calling
6125         convention, and improve docstring to bring attention to a subtle point.
6126         * minibuffer.el (completing-read-default): Adjust accordingly.
6128 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
6130         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6131         (tramp-open-shell): Use `tramp-shell-quote-argument'.
6133         * net/trampver.el: Update release number.
6135 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6137         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
6138         "in" (bug#9190).
6140 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6142         * mail/sendmail.el (sendmail-query-once): Restore the current
6143         buffer after querying (bug#9074).
6145         * dired.el (dired-flagged): Use different faces for marked and
6146         flagged files (bug#6117).
6148         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
6149         (bug#4433).
6151         * ido.el (ido-mode): Switch off the message if called
6152         non-interactively.
6154         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
6155         before 587, since it appears that that's more likely to work for
6156         more people.
6158         * cus-edit.el (custom-file): When running under emacs -q, always
6159         refuse to save the customizations, even if the .emacs file doesn't
6160         exist.
6162         * info.el: Remove the `Info-beginning-of-buffer' function
6163         (bug#8325).
6165         * net/network-stream.el (network-stream-open-starttls):
6166         Use `starttls-available-p' to see whether starttls.el can be used.
6168 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
6170         * window.el (display-buffer-in-window): Don't set dedicated status
6171         of window here (Bug#9215).
6172         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6173         (display-buffer-pop-up-side-window)
6174         (display-buffer-in-side-window): Set dedicated status of window here.
6176 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6178         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
6179         before binding generated-autoload-file.
6181 2011-08-01  Deniz Dogan  <deniz@dogan.se>
6183         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
6185 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
6187         Sync with Tramp 2.2.2.
6189         * net/trampver.el: Update release number.
6191 2011-07-30  Juri Linkov  <juri@jurta.org>
6193         * dired-aux.el (dired-touch-initial): Remove function.
6194         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
6195         current time, and `default' to the last modification time of the
6196         current marked file (bug#6887).
6198 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
6200         * simple.el (goto-line): Use string-to-number to provide a
6201         numeric argument to read-number (bug#9163).
6203 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
6205         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
6206         connection process, it could be nil.
6208 2011-07-27  Leo Liu  <sdl.web@gmail.com>
6210         Simplify url handling in rcirc-mode.
6212         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
6213         (rcirc-browse-url-at-mouse): Remove.
6214         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
6216 2011-07-26  Alan Mackenzie  <acm@muc.de>
6218         Fontify bitfield declarations properly.
6220         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
6221         (c-symbol-chars): Now exported as a lang variable.
6222         (c-not-primitive-type-keywords): New lang variable.
6224         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
6225         QT keyword "more" to prevent "more slots: ...." being spuriously
6226         parsed as a bitfield declaration.
6228         * progmodes/cc-engine.el (c-beginning-of-statement-1):
6229         Refactor and enhance to handle bitfield declarations.
6230         (c-punctuation-in): New function.
6231         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
6232         declarations properly.
6234 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
6236         * calendar/icalendar.el (icalendar--all-events): Take care of
6237         multiple vcalendars in a single file.
6238         (icalendar--convert-float-to-ical): Checkdoc fixes.
6240 2011-07-25  Deniz Dogan  <deniz@dogan.se>
6242         * image.el (insert-image): Clarifying docstring.
6244 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
6246         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
6247         `tramp-send-command-and-check' if there is no error.
6248         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
6250 2011-07-22  Alan Mackenzie  <acm@muc.de>
6252         Prevent cc-langs.elc being loaded at run time.
6254         * progmodes/cc-mode.el: Remove two autoload forms which loaded
6255         cc-langs.
6257         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
6258         "(require 'cc-langs)".  Quote a form so it will evaluate at
6259         (cc-mode's) compilation time.
6261 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
6263         * net/tramp.el (tramp-file-name-handler): Avoid recursive
6264         loading.  (Bug#9114)
6266 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
6268         * window.el (display-buffer-pop-up-window)
6269         (display-buffer-pop-up-side-window)
6270         (display-buffer-in-side-window): Call display-buffer-set-height
6271         and display-buffer-set-width after setting the new window's
6272         buffer so `fit-window-to-buffer' and friends work on the right buffer.
6274 2011-07-20  Sam Steingold  <sds@gnu.org>
6276         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
6277         (etags-tags-included-tables): Call `convert-standard-filename' on
6278         the file names contained in TAGS so that windows Emacs can handle
6279         TAGS files created by cygwin ctags.
6281 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6283         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
6284         which apparently didn't work.
6286 2011-07-19  Roland Winkler  <winkler@gnu.org>
6288         * proced.el (proced-send-signal): For *Marked Processes* buffer
6289         put point at beginning of buffer.
6291 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
6293         * proced.el (proced-format): Make header lines align with the text
6294         (bug#1779).
6296 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6298         * view.el (view-buffer): Allow running in `special' modes if we're
6299         visiting a file (bug#8615).
6301 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
6303         * window.el (display-buffer-alist-of-strings-p)
6304         (display-buffer-alist-set-1, display-buffer-alist-set-2):
6305         New functions.
6306         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
6307         more accurately.
6309 2011-07-18  Alan Mackenzie  <acm@muc.de>
6311         Fontify declarators properly when, e.g., a jit-lock chunk begins
6312         inside a declaration.
6314         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
6316         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6317         New function.
6318         (c-complex-decl-matchers): Insert reference to
6319         c-font-lock-enclosing-decls.
6321         * progmodes/cc-engine.el (c-backward-single-comment):
6322         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
6323         to nil around calls to (forward-comment -1).
6325 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6327         * image.el (put-image): Doc typo fix.
6329         * progmodes/etags.el (tags-search): Doc typo fix.
6331         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
6332         password if we get errors 550 to 554.
6334 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6336         * net/gnutls.el (gnutls-log-level): Remove.
6338         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
6339         indentation character (bug#6380).
6341         * files.el (buffer-offer-save): Made permanently local (bug#6241).
6343         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
6344         to clarify what the problem is (bug#4291).
6346         * simple.el (current-kill): Clarify what
6347         `interprogram-paste-function' does (bug#7500).
6348         (auto-fill-mode): Document `auto-fill-function' in relation to
6349         `auto-fill-mode' (bug#2470).
6351 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
6353         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
6354         method if slot is read-only (bug#9035).
6356 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
6358         * frame.el (select-frame-set-input-focus): New argument NORECORD.
6359         * window.el (pop-to-buffer): Select window used even if it was
6360         selected before, see discussion of (Bug#8615), (Bug#6954).
6361         Pass argument NORECORD on to select-frame-set-input-focus.
6363 2011-07-15  Glenn Morris  <rgm@gnu.org>
6365         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
6366         Respect help-form.
6368 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
6370         * net/gnutls.el (gnutls-min-prime-bits): New variable.
6371         (gnutls-negotiate): Use it.
6373 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6375         * net/gnutls.el (gnutls-negotiate):
6376         Upcase `gnutls-algorithm-priority'.
6378 2011-07-15  Glenn Morris  <rgm@gnu.org>
6380         * jka-compr.el (jka-compr-verbose): Move from here...
6381         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
6382         Add missing :version tag.
6383         * info.el: No need to require jka-compr when compiling.
6385 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6387         * net/gnutls.el (gnutls-algorithm-priority): New variable.
6388         (gnutls-negotiate): Use it.
6390         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
6392         * info.el (Info-beginning-of-buffer): New command.
6393         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
6394         announcing `b' as the key (bug#8325).
6395         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
6397         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
6399         * international/mule-cmds.el
6400         (describe-specified-language-support): Make the error message
6401         clearer (bug#8905).
6403         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
6405         * isearch.el (isearch-barrier): Add a doc string, since it's
6406         mentioned in a function doc string (bug#8678).
6408 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
6410         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
6411         buffer argument (Bug#9083) and self-identifying label argument.
6413 2011-07-15  Glenn Morris  <rgm@gnu.org>
6415         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
6417 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6419         * man.el (Man-fontify-manpage): Fix message when formatting the
6420         man page (bug#7929).
6422 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6424         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
6425         argument LRM; if non-nil, append an invisible LRM character to the
6426         buffer name.
6427         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
6428         last argument non-nil, when formatting buffer names.
6429         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
6430         paragraph direction.
6432 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6434         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
6435         the man page name (bug#7929).
6437         * image.el (put-image): Mention the `put-image' overlay property
6438         (bug#7834).
6440         * scroll-bar.el (set-scroll-bar-mode): Mention that
6441         `scroll-bar-mode' lists the values (bug#7772).
6443         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
6444         command (bug#7729).
6446         * rect.el (apply-on-rectangle): Return the point after the last
6447         operation.
6448         (string-rectangle): Go to the point after the last operation
6449         (bug#7522).
6451         * printing.el (pr-toggle-region): Clarify the documentation
6452         slightly (bug#7493).
6454         * time.el (display-time-update):
6455         Allow `display-time-mail-function' to return nil (bug#7158).
6456         Fix suggested by Detlev Zundel.
6458         * vc/diff.el (diff): Clarify the order the file names are read
6459         (bug#7111).
6461         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
6462         the doc string (bug#7015).
6464         * font-lock.el (font-lock-maximum-decoration): Mention what
6465         numeric levels mean (bug#6935).
6467         * startup.el (initial-buffer-choice): Don't mention the `none'
6468         selection, which is against policy.
6470 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
6472         * window.el (display-buffer-normalize-special):
6473         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
6475 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
6477         * subr.el (version<, version<=, version=): Mention "-CVS" and
6478         "-12345" alpha version numbers.
6480 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6482         * bindings.el: Add advertised binding for set-mark-command
6483         (Bug#5772).
6485 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
6487         * bindings.el (mode-line-other-buffer):
6488         * bookmark.el (bookmark-bmenu-2-window):
6489         * bs.el (bs-cycle-next, bs-cycle-previous):
6490         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
6491         switch-to-buffer.
6493         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6494         Delete.
6496 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
6498         * follow.el (follow-debug-message, follow-redisplay):
6499         * jka-cmpr-hook.el (with-auto-compression-mode):
6500         Fix typos in docstrings.
6502 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6504         * subr.el (with-silent-modifications): Clarify somewhat what the
6505         macro inhibits (bug#6525).
6507         * simple.el (eval-expression): Note what it does if called
6508         interactively (bug#6495).
6510 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6512         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
6513         Use pop-to-buffer buffer-or-name if it is nil.
6515         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6516         Remove switch-to-buffer.
6518 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6520         * files.el (make-directory): Clarify that an error will be raised
6521         if there's an error (bug#6397).
6523         * startup.el (initial-buffer-choice): Add `none' as a choice
6524         (bug#6234).
6526         * subr.el (add-hook): Clarify section about buffer-local hooks
6527         (bug#6218).
6529         * dired.el (dired-flagged): Clarify doc string (bug#6117).
6531 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6533         * tabify.el (untabify): Preserve the current column so that point
6534         doesn't move (bug#6032).
6536 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6538         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
6539         Rewrite to avoid awkward possessive "s" (bug#5986).
6541 2011-07-13  Glenn Morris  <rgm@gnu.org>
6543         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
6544         (dired-insert-directory): Give a message the first time
6545         if ls is found not to support --dired.
6547 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6549         * simple.el (toggle-truncate-lines): Clarify what is toggled
6550         (bug#5580).  Text by Drew Adams.
6552 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
6554         * simple.el (blink-matching-open): Make the error message from the
6555         last change less verbose.
6557 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
6559         * font-lock.el (font-lock-comment-face): Use the high contrast
6560         "yellow" color for font-lock-comment-face on low color terminals
6561         using a dark background color (bug#4221).
6563 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6565         * dired.el (dired-insert-set-properties): Make the doc string
6566         reflect what it does now (bug#5325).
6568         * simple.el (blink-matching-open): Say that we were unable to find
6569         the match within the limit, if we're limited (bug#5122).
6571         * international/mule-cmds.el (prefer-coding-system): Add an
6572         example (bug#4869).
6574         * progmodes/etags.el (tags-search): Document `file-list-form'
6575         (bug#4731).
6577 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
6579         * net/browse-url.el (browse-url-default-browser)
6580         (browse-url-browser-function): Make the default browser choice a
6581         bit more logical (bug#4300).  Also clean up the doc string.
6583 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
6585         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
6586         binary endings (bug#4440).
6588 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6590         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
6591         which can be pretty annoying (bug#8971).
6593         * jka-compr.el (jka-compr-verbose): New variable, and use
6594         throughout (bug#8971).
6596         * info.el (Info-find-file): Fall back on the installation
6597         directory if we can't find the info node anywhere else.
6599 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
6601         * vc/vc.el (vc-revert-file):
6602         Don't set file time-stamp in the past.  (Bug#5181)
6604 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6606         * files.el (after-find-file): Give a better error message when
6607         trying to find a symlink that points to a file that doesn't exist
6608         (bug#4398).
6610         * progmodes/cc-vars.el: Remove (probably) misleading comment
6611         (bug#4396).
6613 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
6615         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
6617 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6619         * mouse-sel.el: Hack restoring functionality, while keeping
6620         compatibility with 2010-07-03 changes to mouse selection.
6621         (mouse-sel-primary-overlay): New var.
6622         (mouse-sel-selection-alist): Use it.
6623         (mouse-sel-mode): Doc fix; remove points that are default features
6624         of mouse.el.
6626 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
6628         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6629         Fix previous fix (bug#2490).
6631 2011-07-12  Roland Winkler  <winkler@gnu.org>
6633         * textmodes/bibtex.el (bibtex-initialize):
6634         Use pop-to-buffer-same-window.
6635         (bibtex-search-entries): Fix interactive call.
6637 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6639         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6640         Fontise bytecomp Error lines more correctly (bug#2490).
6641         Fix suggested by Johan Bockgård.
6643         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
6645         * dired-x.el (dired-guess-default): Use `delete-dups'.
6647 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
6649         * dired.el (dired-mark-prompt):
6650         * dired-aux.el (dired-read-shell-command): Doc fix.
6652 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6654         * mail/sendmail.el (sendmail-query-once):
6655         Use `customize-save-variable' unconditionally, now that it works under
6656         emacs -Q.
6658         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6660         * cus-edit.el (custom-file): Take an optional no-error variable.
6661         (customize-save-variable): Set the variable, and give a warning if
6662         running under "emacs -q".
6664 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
6666         * loadhist.el (unload-feature-special-hooks):
6667         Add `auto-coding-functions', `fill-nobreak-predicate' and
6668         `find-directory-functions' (bug#5327).
6670 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6672         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
6674         * cus-edit.el (custom-guess-name-alist): -alist variables should
6675         use the `alist' type (bug#3120).  Suggested by Drew Adams.
6677         * printing.el: Add documentation to all the `pr-toggle-' commands.
6679 2011-07-11  Leo Liu  <sdl.web@gmail.com>
6681         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
6682         backends where it makes sense (bug#2623).
6684 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6686         * dired-x.el (dired-guess-default): Remove duplicate shell command
6687         entries (bug#2028).
6688         (dired-guess-default): Fix grammar in doc string (bug#2028).
6689         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
6691         * subr.el (remove-duplicates): New conveniency function.
6693 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6695         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
6696         (bug#1526).
6698 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
6700         * window.el (display-buffer-normalize-default): Don't invert
6701         meaning of even-window-heights.  Reported by Eli Zaretskii
6702         <eliz@gnu.org>.
6704 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
6706         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
6708 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
6710         * window.el (display-buffer): Fix arguments to
6711         display-buffer-reuse-window in last change.
6713         * faces.el (link): Use a less saturated blue on light backgrounds.
6715         * startup.el (fancy-startup-text, fancy-about-text)
6716         (fancy-startup-tail): Use font-lock faces, for background safety.
6718 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
6720         * emulation/viper-cmd.el (viper-change-state-to-vi):
6721         Limit triggering of abbrev expansion (Bug#9038).
6723 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
6725         * window.el (display-buffer-default-specifiers): Remove.
6726         (display-buffer-macro-specifiers): Remove default specifiers.
6727         (display-buffer-alist): Default to nil.
6728         (display-buffer-reuse-window): New optional argument other-window.
6729         (display-buffer-pop-up-window): Allow splitting internal
6730         windows.  Check whether a live window was created.
6731         (display-buffer-other-window-means-other-frame)
6732         (display-buffer-normalize-arguments): Rename to
6733         display-buffer-normalize-argument and rewrite.  Set the
6734         other-window specifier.
6735         (display-buffer-normalize-special): New function.
6736         (display-buffer-normalize-options): Rename to
6737         display-buffer-normalize-default and rewrite.
6738         (display-buffer-normalize-options-inhibit): Remove.
6739         (display-buffer-normalize-specifiers): Rewrite.
6740         (display-buffer): Process other-window specifier and call
6741         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
6742         more faithfully.
6743         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
6744         (display-buffer-alist-set): Don't handle 'unset default values.
6745         (display-buffer-in-window, display-buffer-alist-set):
6746         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
6747         <tassilo@member.fsf.org>.
6749 2011-07-09  Leo Liu  <sdl.web@gmail.com>
6751         * register.el (insert-register): Restore accidental change on
6752         2011-06-26.  (Bug#9028)
6754 2011-07-09  Glenn Morris  <rgm@gnu.org>
6756         * subr.el (remq): Handle the empty list.  (Bug#9024)
6758 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
6760         * mail/sendmail.el (send-mail-function): No longer delay custom
6761         initialization.
6762         * custom.el (custom-initialize-delay): Doc fix.
6764 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6766         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
6768 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
6770         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
6771         human-friendly prompt.
6773 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6775         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
6776         provided by a particular plugin.
6778 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6780         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
6781         save customizations (with "emacs -Q"), just set the variable
6782         instead of erroring out.
6784         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
6786 2011-07-08  Juri Linkov  <juri@jurta.org>
6788         * arc-mode.el (archive-zip-expunge, archive-zip-update)
6789         (archive-zip-update-case): Use 7z if found by `executable-find'.
6790         The order of searching the available programs is the same as in
6791         `archive-zip-extract' (bug#8968).
6793 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6795         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
6796         (menu-bar-options-menu): Tweak descriptions.
6798 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6800         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
6801         menu items into verb phrases (bug#1421).  Also refill to fit under
6802         80 columns.
6804 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6806         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
6807         (Info-read-node-name): Doc fix (Bug#1084).
6809         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
6810         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
6811         (end-of-sexp, beginning-of-sexp)
6812         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
6813         (forward-symbol, forward-same-syntax, word-at-point)
6814         (sentence-at-point): Doc fix (Bug#1144).
6816 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6818         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
6819         should cover it (bug#1281).
6821         * cus-edit.el (custom-show): Mark as obsolete.
6823         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
6824         negotiation fails, then possibly try again with a non-encrypted
6825         connection (bug#9017).
6827         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
6828         be used.
6830 2011-07-07  Richard Stallman  <rms@gnu.org>
6832         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
6833         property, and handle its changed format.
6834         Look for the correct line number.
6835         Use file's line contents (but not past first =) to find
6836         correct line in message.
6838 2011-07-07  Kenichi Handa  <handa@m17n.org>
6840         * international/characters.el (build-unicode-category-table):
6841         Delete it.
6842         (unicode-category-table): Set it by unicode-property-table-internal.
6844         * international/mule-cmds.el (char-code-property-alist): Move to
6845         to src/chartab.c.
6846         (get-char-code-property): Call unicode-property-table-internal to
6847         load a file.  Call get-unicode-property-internal where necessary.
6848         (put-char-code-property): Call unicode-property-table-internal to
6849         load a file.  Call put-unicode-property-internal where necessary.
6850         put-unicode-property-internal where necessary.
6851         (char-code-property-description):
6852         Call unicode-property-table-internal to load a file.
6854         * international/charprop.el:
6855         * international/uni-bidi.el:
6856         * international/uni-category.el:
6857         * international/uni-combining.el:
6858         * international/uni-comment.el:
6859         * international/uni-decimal.el:
6860         * international/uni-decomposition.el:
6861         * international/uni-digit.el:
6862         * international/uni-lowercase.el:
6863         * international/uni-mirrored.el:
6864         * international/uni-name.el:
6865         * international/uni-numeric.el:
6866         * international/uni-old-name.el:
6867         * international/uni-titlecase.el:
6868         * international/uni-uppercase.el: Regenerate.
6870         * loadup.el: Load international/charprop.el before
6871         international/characters.
6873 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
6875         * window.el (next-buffer, previous-buffer): Signal an error if
6876         called from a minibuffer window.
6878         * bindings.el: Revert 2011-07-04 change.
6880 2011-07-06  Richard Stallman  <rms@gnu.org>
6882         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
6883         (rmail-mime-insert-bulk, rmail-mime-insert-text):
6884         Treat markers like ints.
6885         (rmail-mime-entity): Doc fix.
6887 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6889         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
6890         defcustom again for backwards compatibility.
6892         * simple.el (shell-command-on-region): Fill.
6894         * dired-aux.el (dired-kill-line): Add a doc string.
6896         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
6897         to "\\sw\\|\\s_" (bug#358).
6899         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
6900         (dired-unmark-backward): Ditto.
6901         (dired-flag-backup-files): Ditto.
6903         * dired-x.el (dired-mark-sexp): Ditto.
6905 2011-07-06  Richard Stallman  <rms@gnu.org>
6907         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
6908         (rmail-mime-entity): New arg TRUNCATED.
6909         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
6910         New functions.
6911         (rmail-mime-save): Warn if entity is truncated.
6912         (rmail-mime-toggle-hidden): Likewise, for showing.
6913         (rmail-mime-process-multipart): Record when an entity is truncated.
6915         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
6916         if ENTITY is a string.
6918 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6920         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
6921         of faces when `M-C-x'-ing their definitions (bug#8378).
6922         Also clean up the code slightly.
6924         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
6925         because that makes the colors go away.
6927         * mail/sendmail.el (send-mail-function): Change the default to
6928         `sendmail-query-once'.
6929         (sendmail-query-once): Add an autoload cookie.
6931         * net/network-stream.el (network-stream-open-starttls): Try using
6932         a plain connection even if the server offered STARTTLS, and we
6933         kinda wanted to use it, if Emacs doesn't have any STARTTLS
6934         capability.  This should make smtpmail.el work in slightly more
6935         configurations.
6937 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
6939         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6940         New defun.
6941         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6943 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
6945         * progmodes/sql.el: Version 3.0
6946         (sql-product-alist): Add product :completion-object,
6947         :completion-column, and :statement attributes.
6948         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
6949         (sql-mode-syntax-table): Mark all punctuation.
6950         (sql-font-lock-keywords-builder): Temporarily remove fallback on
6951         ansi keywords.
6952         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
6953         (sql-mode-oracle-font-lock-keywords): Improve.
6954         (sql-oracle-show-reserved-words): New function for development.
6955         (sql-product-font-lock): Simplify for source code buffers.
6956         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6957         New functions.
6958         (sql-highlight-product): Set product specific syntax table.
6959         (sql-mode-map): Add statement movement functions.
6960         (sql-ansi-statement-starters, sql-oracle-statement-starters):
6961         New variable.
6962         (sql-statement-regexp, sql-beginning-of-statement)
6963         (sql-end-of-statement, sql-signum): New functions.
6964         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
6965         (sql-show-sqli-buffer): Bug fix.
6966         (sql-interactive-mode): Store connection data as buffer local.
6967         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
6968         with sql-interactive-mode.
6969         (sql-save-connection): Save buffer local settings.
6970         (sql-connection-menu-filter): Change menu entry name.
6971         (sql-product-interactive): Bug fix.
6972         (sql-preoutput-hold): New variable.
6973         (sql-interactive-remove-continuation-prompt): Bug fixes.
6974         (sql-debug-redirect): New variable.
6975         (sql-str-literal): New function.
6976         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
6977         Redesign.
6978         (sql-oracle-save-settings, sql-oracle-restore-settings)
6979         (sql-oracle-list-all, sql-oracle-list-table): New functions.
6980         (sql-completion-object, sql-completion-column)
6981         (sql-completion-sqlbuf): New variables.
6982         (sql-build-completions-1, sql-build-completions)
6983         (sql-try-completion): New functions.
6984         (sql-read-table-name): Use them.
6985         (sql-contains-names): New buffer local variable.
6986         (sql-list-all, sql-list-table): Use it.
6987         (sql-oracle-completion-types): New variable.
6988         (sql-oracle-completion-object, sql-sqlite-completion-object)
6989         (sql-postgres-completion-object): New functions.
6991 2011-07-06  Glenn Morris  <rgm@gnu.org>
6993         * window.el (pop-to-buffer): Doc fix.
6995 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
6997         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6999 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
7001         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7003         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
7005 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
7007         * button.el (button): Inherit from link face.  Suggested by Dan
7008         Nicolaescu.
7010 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7012         * progmodes/gdb-mi.el: Fit in 80 columns.
7013         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7014         switch-to-buffer.
7016         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7017         if imenu is simply not configured (bug#8941).
7019 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
7021         * allout.el (allout-post-undo-hook): New allout outline-change
7022         event hook to signal undo activity.
7023         (allout-post-command-business): Run allout-post-undo-hook if an
7024         undo just occurred.
7025         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7026         * allout-widgets.el (allout-widgets-after-undo-function):
7027         Ensure the integrity of the current item's decoration after it has been
7028         in the vicinity of an undo.
7029         (allout-widgets-mode): Include allout-widgets-after-undo-function
7030         on the new allout-post-undo-hook.
7032 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7034         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7035         Let define-derived-mode define it.
7036         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7037         cycles of abbrev-table inheritance (bug#8998).
7039 2011-07-05  Roland Winkler  <winkler@gnu.org>
7041         * textmodes/bibtex.el: Add support for biblatex.
7042         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7043         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7044         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7045         (bibtex-entry-alist, bibtex-field-alist): New variables.
7046         (bibtex-entry-field-alist): Obsolete alias for
7047         bibtex-BibTeX-entry-alist.
7048         (bibtex-entry-alist, bibtex-field-alist): New widgets.
7049         (bibtex-set-dialect): New command.
7050         (bibtex-entry-type, bibtex-entry-head)
7051         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7052         Bind via bibtex-set-dialect.
7053         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7054         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7055         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7056         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7057         Define via bibtex-set-dialect.
7058         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7059         Obey bibtex-no-opt-remove-re.
7060         (bibtex-vec-push, bibtex-vec-incr): New functions.
7061         (bibtex-format-entry, bibtex-field-list)
7062         (bibtex-print-help-message, bibtex-validate)
7063         (bibtex-search-entries): Use new format of bibtex-entry-alist.
7065 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7067         * progmodes/compile.el (compilation-goto-locus):
7068         * net/tramp-cmds.el (tramp-append-tramp-buffers):
7069         * bs.el (bs-cycle-next, bs-cycle-previous):
7070         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7071         * bindings.el (mode-line-other-buffer):
7072         * autoinsert.el (auto-insert):
7073         * arc-mode.el (archive-extract):
7074         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7076 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7078         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7079         Fix check of `emacs-lock-unlockable-modes'.
7080         Coerce true values of `emacs-lock--try-unlocking' to t.
7082 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7084         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7085         * emacs-lock.el: New file.
7087 2011-07-05  Julien Danjou  <julien@danjou.info>
7089         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7090         than `boundp' to check if face is set.
7092 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
7094         * register.el (registerv-make):
7095         * window.el (window-min-height): Fix typos in docstrings.
7097 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
7099         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7100         Update doc string.
7102 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7104         * server.el (server-execute): Catch quit and call
7105         `server-return-error' to pass the error back to emacsclient and
7106         close the connection (bug#8942).
7108 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
7110         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7111         insecure exception for current topic.  Also note that auto-saves
7112         are handled differently.
7114         (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7115         State variables for tracking auto-save inhibition situation.
7117         (allout-write-contents-hook-handler): Rename from
7118         'allout-write-file-hook-handler', and describe how it depends on
7119         write-contents-functions sensitivity to non-nil value to prevent
7120         file write.
7122         (allout-auto-save-hook-handler): Remove.  auto-save does not check
7123         this in individual buffers, only in the starting buffer, so this
7124         is not the right way for us to inhibit auto-save in a buffer
7125         according to its condition.
7127         (allout-mode): Use new allout-write-contents-hook-handler, and
7128         only with write-contents-functions.  Remove auto-save provisions -
7129         they're implemented elsewhere.
7131         (allout-before-change-handler): If undo is in progress, note that
7132         for attention of allout-post-command-business.
7134         (allout-post-command-business): If the command we're following was
7135         an undo, check for change in the status of encrypted items and
7136         adjust auto-save inhibitions accordingly.
7138         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
7139         according to whether there are or aren't any plain-text topics
7140         pending encryption.
7142         (allout-inhibit-auto-save-info-for-decryption):
7143         Adjust buffer-saved-size and some allout state to inhibit auto-saves
7144         if there are plain-text topics pending encryption.
7146         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
7147         buffer-saved-size and some allout state to not inhibit auto-saves
7148         if there are no longer any plain-text topics pending encryption.
7150         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
7151         No longer provide for exemption of the current topic.
7153 2011-07-04  Juri Linkov  <juri@jurta.org>
7155         Add 7z operations to delete and save changed members (bug#8968).
7156         * arc-mode.el (archive-7z-expunge, archive-7z-update):
7157         New defcustoms.
7158         (archive-7z-write-file-member): New function.
7159         (archive-7z-summarize): Fix the number of dashes in the
7160         listing output.
7162 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7164         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
7165         (bug#8958).
7167 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
7169         * bindings.el: Ignore next-buffer and previous-buffer in
7170         minibuffer-local-map.
7172         * font-lock.el (font-lock-builtin-face): Change light background
7173         color to dark slate blue (Bug#6693).
7175 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
7177         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
7179 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7181         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
7182         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7183         Add switch-to-buffer.
7185 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7187         * isearch.el (isearch-search-fun-function): Clarify further the
7188         meaning of the function returned.
7190 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
7192         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
7194         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
7195         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
7196         Use it.
7197         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
7198         `tramp-default-remote-path' does not exist.
7199         (tramp-send-command-and-read): New optional argument NOERROR.
7200         (tramp-open-connection-setup-interactive-shell)
7201         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
7202         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
7203         (tramp-process-sentinel): Flush also process' connection property.
7204         (tramp-sh-handle-start-file-process): Do not set process
7205         sentinel.  It is done now ...
7206         (tramp-maybe-open-connection): ... here.  (Bug#8929)
7208 2011-07-04  MON KEY  <monkey@sandpframing.com>
7210         * play/animate.el (animate-string): Doc fixes and allow changing
7211         the buffer name (bug#5417).
7213 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7215         * play/animate.el (animation-buffer-name): Rename from *animate*.
7217 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
7219         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
7220         This is simpler and helps future-proof the code.
7221         (timer-until): Use time-subtract and float-time.
7222         (timer--time-less-p): Use time-less-p.
7224 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
7226         * type-break.el (timep): Use the value of `float-time' to avoid a
7227         byte-compiler warning.
7229         * server.el (server-eval-and-print): Return any result, even nil.
7231 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
7233         * type-break.el: Accept time formats that the builtins accept.
7234         (timep, type-break-time-difference): Accept any format that
7235         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
7236         This is simpler and helps future-proof the code.
7237         (type-break-time-difference): Round rather than ignoring
7238         subseconds components.
7240 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7242         * info.el (Info-apropos-matches): Make non-interactive, since it
7243         doesn't seem to do anything useful as a command (bug#8829).
7245 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
7247         * frame.el (frame-background-mode, frame-set-background-mode):
7248         Move from faces.el.
7249         (frame-default-terminal-background): New function.
7251         * custom.el (custom-push-theme): Don't record faces in `changed'
7252         theme; this doesn't work correctly for per-frame face settings.
7253         (disable-theme): Use face-set-after-frame-default to reset faces.
7254         (custom--frame-color-default): New function.
7256 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7258         * dired.el (dired-flagging-regexp): Remove unused variable
7259         (bug#8769).
7261 2011-03-29  Kevin Ryde  <user42@zip.com.au>
7263         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7264         `perl-Test2' extend to match possible "fail #N" rep count
7265         (bug#8377).
7267 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7269         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
7270         `smtpmail-via-smtp' now returns the error instead of nil.
7272         * isearch.el (isearch-search-fun-function): Clarify the doc string
7273         (bug#8101).
7275 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
7277         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
7278         unnecessary spaces (bug#8987).
7280 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7282         * net/network-stream.el (open-network-stream): Use the
7283         :end-of-capability command thoughout.
7285 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7287         * net/network-stream.el (open-network-stream): Add the
7288         :end-of-capability command parameter, used by pop3.el.
7290 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7292         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
7294         * fringe.el (fringe-query-style): Remove redundant text " (type ?
7295         for list)" (bug#6475).
7297         * files.el (file-expand-wildcards): Ignore non-readable
7298         sub-directories while trying to find matches instead of signaling
7299         an error (bug#6297).
7301         * man.el (Man-reference-regexp): Allow matching possible
7302         word-wrapped references (bug#6289).
7304         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
7305         for consistency with the other vc buffers (bug#6197).
7306         (vc-checkin): Ditto.
7308         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
7310         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
7312 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7314         * custom.el (defcustom): Clarify that :set is only used in the
7315         Customize user interface (bug#6089).
7317         * progmodes/flymake.el (flymake-mode): If the buffer isn't
7318         associated with a file, refuse to run instead of erroring out
7319         (bug#6084).
7321         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
7322         the doc string, since it appears that using `fill-column' always
7323         controls the width (bug#7845).
7325         * simple.el (shell-command-on-region): Say where the error output
7326         went if `shell-command-default-error-buffer' is set (bug#6857).
7328 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
7330         * allout.el (allout-yank-processing): Adjust cursor position for
7331         backwards-deleted space.
7333         (allout-rebullet-heading): Register changes with
7334         allout-exposure-changed-hook, so the modified topic is properly
7335         decorated.
7337 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7339         * minibuffer.el (completion-in-region): Document PREDICATE
7340         (bug#7136).
7342         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
7343         of keyword/argument pairs (bug#6904).
7345         * replace.el (multi-occur):
7346         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
7348 2011-07-02  Drew Adams  <drew.adams@oracle.com>
7350         * dired.el (dired-mark-if): Make the message about whether it's
7351         marking or unmarking clearer (bug#8523).
7353 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7355         * disp-table.el (display-table-print-array): New function.
7356         (describe-display-table): Use it to print the vectors more pretty
7357         (Bug#8859).
7359 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
7361         * window.el (window-state-get-1): Don't assign clone numbers.
7362         Add clone-of item to list of window parameters.
7363         (window-state-put-2): Don't process clone numbers.
7364         (display-buffer-alist): Fix doc-string.
7366 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7368         * subr.el (remq): Don't allocate if it's not needed.
7369         (keymap--menu-item-binding, keymap--menu-item-with-binding)
7370         (keymap--merge-bindings): New functions.
7371         (keymap-canonicalize): Use them to refine the canonicalization.
7372         * minibuffer.el (minibuffer-local-completion-map)
7373         (minibuffer-local-must-match-map): Move initialization from C.
7374         (minibuffer-local-filename-completion-map): Move initialization from C;
7375         don't inherit from anything here.
7376         (minibuffer-local-filename-must-match-map): Make obsolete.
7377         (completing-read-default): Use make-composed-keymap to combine
7378         minibuffer-local-filename-completion-map with either
7379         minibuffer-local-must-match-map or
7380         minibuffer-local-filename-completion-map.
7382 2011-07-01  Glenn Morris  <rgm@gnu.org>
7384         * type-break.el (type-break-time-sum): Use dolist.
7386         * textmodes/flyspell.el (flyspell-word-search-backward):
7387         Replace CL function.
7389 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7391         * mouse.el (mouse--strip-first-event): New function.
7392         (function-key-map): Use it to map fringe clicks to normal clicks
7393         by default.
7395         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
7396         (vc-bzr-revision-completion-table): Add support for annotate and date.
7398         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
7399         inherit from parent.
7401 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7403         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
7404         (dired-show-file-type): Doc fixup (bug#8818).
7406         * dired.el (dired-mode): Fix up the doc string as suggested by
7407         Drew Adams (bug#8817).
7409         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7410         cookie, since the manual says that it should be possible to add
7411         this function to `find-file-hook' (bug#8709).
7413 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7415         * progmodes/cfengine.el: Moved all cfengine3.el functionality
7416         here.  Noted Ted Zlatanov as the maintainer.
7417         (cfengine-common-settings, cfengine-common-syntax): New functions
7418         to set up common things between `cfengine-mode' and
7419         `cfengine3-mode'.
7420         (cfengine3-mode): New mode.
7421         (cfengine3-defuns cfengine3-defuns-regex
7422         (cfengine3-class-selector-regex cfengine3-category-regex)
7423         (cfengine3-vartypes cfengine3-font-lock-keywords)
7424         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
7425         (cfengine3-indent-line): Add from cfengine3.el.
7427 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
7429         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
7431         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
7433 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
7435         * window.el (same-window-buffer-names, same-window-regexps)
7436         (same-window-p, special-display-frame-alist)
7437         (special-display-popup-frame, special-display-function)
7438         (special-display-buffer-names, special-display-regexps)
7439         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
7440         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7441         (split-window-preferred-function, split-height-threshold)
7442         (split-width-threshold, even-window-heights)
7443         (display-buffer-mark-dedicated, window-splittable-p)
7444         (split-window-sensibly, window-safely-shrinkable-p):
7445         Un-obsolete.
7446         (display-buffer): Don't spread args with function specifier
7447         because special-display-popup-frame won't like it.
7449 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
7451         Time-stamp simplifications and fixes.
7452         These improve accuracy slightly, and future-proof the code
7453         against some potential changes to current-time format.
7455         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
7456         by using time-since and float-time.
7458         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
7459         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
7460         + NNN microseconds".
7462         * type-break.el (type-break-time-sum): Rewrite using time-add.
7464         * play/hanoi.el (hanoi-current-time-float): Remove.
7465         All uses replaced by float-time.
7467         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
7468         This yields a more-accurate answer.
7469         (rng-time-to-float): Remove; no longer needed.
7471         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
7473         * calendar/timeclock.el (timeclock-seconds-to-time):
7474         Defalias to seconds-to-time, since they're the same thing.
7476         * emacs-lisp/elp.el (elp-elapsed-time):
7477         * emacs-lisp/benchmark.el (benchmark-elapse):
7478         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
7480 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7482         * window.el (bury-buffer): Don't iconify the only frame.
7483         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
7484         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
7486 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
7488         * eshell/em-smart.el (eshell-smart-display-navigate-list):
7489         Add mouse-yank-primary.
7491 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
7493         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
7495 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7497         * emacs-lisp/find-func.el (find-library--load-name): New fun.
7498         (find-library-name): Use it to find relative load names when provided
7499         absolute file name (bug#8803).
7501 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7503         * textmodes/flyspell.el (flyspell-word): Consider words that
7504         differ only in case as potential doublons (bug#5687).
7506         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
7507         Remove two rather uninteresting debugging-like messages to make
7508         debbugs.el more silent.
7510         * comint.el (comint-password-prompt-regexp): Accept "Response" as
7511         a password-like phrase.
7513 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
7515         * progmodes/cc-guess.el: New file.
7517         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
7519         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
7520         derived from `c-basic-common-init'.
7522         * progmodes/cc-mode.el (top-level): Require cc-guess.
7523         (c-basic-common-init): Use `cc-choose-style-for-mode'.
7525 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
7527         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
7529 2011-06-30  Alan Mackenzie  <acm@muc.de>
7531         * progmodes/cc-engine.el (c-guess-continued-construct):
7532         Correct the handling of template-args-cont, particularly for when font
7533         lock is disabled.  Name this case as "CASE G".
7535 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
7537         * allout.el (allout-yank-processing): Fix injection of extra space
7538         between bullet and non-whitespace character in first topic when
7539         pasting, ensuring that the actual spacing in the pasted topic
7540         following the bullet char is preserved.  This extra space was
7541         causing pasted encrypted topics to get a decrypted status even
7542         when the content was actually still encrypted.  Now the decryption
7543         status from before the paste is preserved.
7545         (allout-flag-region): Set all allout overlays so they evaporate
7546         when reduced to zero length (evanescent), to prevent overlay
7547         leakage.
7549 2011-06-30  Glenn Morris  <rgm@gnu.org>
7551         * w32-fns.el (w32-charset-info-alist): Declare.
7553         * find-dired.el (find-grep-options): Simplify.
7555         * term/ns-win.el (ns-set-resource): Declare.
7557         * ses.el (row, col): Declare dynamic variables honestly.
7559         * textmodes/reftex-parse.el (index-tags): Declare.
7561 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
7563         * cus-edit.el (customize-push-and-save): New function.
7565         * files.el (hack-local-variables-confirm): Use it.
7567         * custom.el (load-theme): New arg NO-CONFIRM.
7568         Use customize-push-and-save (Bug#8720).
7569         (custom-enabled-themes): Doc fix.
7571         * cus-theme.el (customize-create-theme)
7572         (custom-theme-merge-theme): Callers to load-theme changed.
7574 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7576         * thingatpt.el (thing-at-point-short-url-regexp): Require that
7577         short URLs have at least one dot in them (bug #7614).
7579         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
7580         nil, because using a pty is apparently too slow (bug #895).
7582 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7584         * mail/sendmail.el (sendmail-query-once): New function.
7585         (sendmail-query-once-function): New variable.
7587 2011-06-29  Glenn Morris  <rgm@gnu.org>
7589         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
7591         * ses.el (top-level): Require cl when compiling.
7592         (ses-set-localvars): Fix error statement.
7593         Call it at compile time to silence a storm of warnings.
7595 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
7597         * window.el (normalize-live-buffer): Rename to
7598         window-normalize-buffer.
7599         (normalize-live-frame): Rename to window-normalize-frame.
7600         (normalize-any-window): Rename to window-normalize-any-window.
7601         (normalize-live-window): Rename to window-normalize-live-window.
7602         (make-window-atom): Rename to window-make-atom.
7603         (window-resize-reset): Rename to window--resize-reset.
7604         (window-resize-reset-1): Rename to window--resize-reset-1.
7605         (resize-mini-window): Rename to window--resize-mini-window.
7606         (resize-subwindows-skip-p): Rename to
7607         window--resize-subwindows-skip-p.
7608         (resize-subwindows-normal): Rename to
7609         window--resize-subwindows-normal.
7610         (resize-subwindows): Rename to window--resize-subwindows.
7611         (resize-other-windows): Rename to window--resize-siblings.
7612         (resize-this-window): Rename to window--resize-this-window.
7613         (resize-root-window): Rename to window--resize-root-window.
7614         (resize-root-window-vertically): Rename to
7615         window--resize-root-window-vertically.
7616         (normalize-buffer-to-display): Rename to
7617         window-normalize-buffer-to-display.
7618         (normalize-buffer-to-switch-to): Rename to
7619         window-normalize-buffer-to-switch-to.
7620         Correspondingly update all callers of the functions listed
7621         above.
7622         (display-buffer-alist, display-buffer-normalize-arguments)
7623         (display-buffer-normalize-options, display-buffer)
7624         (display-buffer-alist-set): Use "function" instead of
7625         "fun-with-args".
7627 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
7629         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
7630         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
7631         debbugs.gnu.org.  Mention acknowledgment email.
7633 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7635         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
7636         buffer multibyteness, since it shouldn't matter.
7638 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
7640         * window.el (display-buffer-in-side-window): Handle dedicated
7641         windows as in display-buffer-reuse-window.
7642         (display-buffer-normalize-alist): Use value of override
7643         specifier.
7644         (display-buffer-normalize-specifiers): Use value of
7645         other-window-means-other-frame specifier.
7646         (display-buffer-alist): Rewrite some texts in widgets.
7647         (display-buffer): Spread arguments when calling function
7648         specified by fun-with-args.
7650 2011-06-28  Deniz Dogan  <deniz@dogan.se>
7652         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
7653         Unnest `let'.
7655         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
7656         selectors (Bug#5732).
7657         (css-proprietary-nmstart-re): Use `regexp-opt'.
7659 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
7661         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
7662         (eshell-ls-date-format): New defcustom.
7663         (eshell-ls-file): Use it.
7665 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7667         * help-fns.el (describe-variable): Fix message for terminal-local vars.
7669 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
7671         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
7672         (ange-ftp-make-tmp-name): New arg.
7673         (ange-ftp-file-local-copy): Use it.
7675 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
7677         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
7678         no-conversion (Bug#8870).
7680 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
7682         * window.el (window-right, window-left, window-child)
7683         (window-child-count, window-last-child)
7684         (window-iso-combination-p, walk-window-tree-1)
7685         (window-atom-check-1, window-tree-1, delete-window)
7686         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
7687         new naming conventions - window-vchild, window-hchild,
7688         window-next and window-prev are now called window-top-child,
7689         window-left-child, window-next-sibling and window-prev-sibling
7690         respectively.
7691         (resize-window-reset): Rename to window-resize-reset.
7692         (resize-window-reset-1): Rename to window-resize-reset-1.
7693         (resize-window): Rename to window-resize.
7694         (window-min-height, window-min-width)
7695         (resize-mini-window, resize-this-window, resize-root-window)
7696         (resize-root-window-vertically, adjust-window-trailing-edge)
7697         (enlarge-window, shrink-window, maximize-window)
7698         (minimize-window, delete-window, quit-restore-window)
7699         (split-window, balance-windows, balance-windows-area-adjust)
7700         (balance-windows-area, window-state-put-2)
7701         (display-buffer-even-window-sizes, display-buffer-set-height)
7702         (display-buffer-set-width, set-window-text-height)
7703         (fit-window-to-buffer): Rename all "resize-window" prefixed
7704         calls to use the "window-resize" prefix convention.
7705         (display-buffer-alist): Fix symbol for label specifier.
7706         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
7707         corresponding specifier.
7708         Reported by Juanma Barranquero <lekktu@gmail.com>.
7710 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7712         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
7713         convention.
7714         (ses-call-printer): Does not pass an empty string to formatter when the
7715         cell is empty to keep from barking printer Calc math-format-value.
7717 2011-06-27  Richard Stallman  <rms@gnu.org>
7719         * battery.el (battery-mode-line-limit): New variable.
7720         (battery-update): Handle it.
7722         * mail/rmailmm.el (rmail-mime-process-multipart):
7723         Handle truncated messages.
7725 2011-06-27  Glenn Morris  <rgm@gnu.org>
7727         * progmodes/flymake.el (flymake-err-line-patterns):
7728         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
7730 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7732         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
7733         (ses--clean-!, ses--clean-_): New functions.
7734         (ses-range): Add configurability of readout order, and conversion
7735         to Calc vector.
7737         * ses.el (ses-repair-cell-reference-all): New function.
7738         (ses-cell-symbol): Set macro as safe, so that it can be used in
7739         formulas.
7741         * ses.el: Update cycle detection algorithm.
7742         (ses-localvars): Add ses--Dijkstra-attempt-nb and
7743         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
7744         (ses-set-localvars): New function.
7745         (ses-make-cell): Add property-list as a cell element.
7746         (ses-cell-property-get-fun, ses-cell-property-get)
7747         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
7748         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
7749         New functions.
7750         (ses-cell-property-set, ses-cell-property-pop)
7751         (ses-cell-property-get-handle): New macro.
7752         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
7753         New aliases, used for code readability.
7754         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
7755         cycle detection.
7756         (ses-self-reference-early-detection): New defcustom.
7757         (ses-formula-references): Robustify against self-referring cells.
7758         (ses-mode): Use ses-set-localvars.
7759         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
7760         before lauching the update processing.
7761         (ses-initialize-Dijkstra-attempt): New function.
7762         (ses-recalculate-cell): Update for cycle detection based on
7763         Dijkstra algorithm.
7765         * ses.el: Fix commenting and indenting convention.
7767 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7769         * bs.el (bs-cycle-next): Complete last change.
7771 2011-06-27  Drew Adams  <drew.adams@oracle.com>
7773         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
7775 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7777         * net/network-stream.el (network-stream-open-starttls):
7778         Don't re-get capabilities unless we've reestablished connection.
7779         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
7781         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
7782         to binary to possibly avoid line encoding issues on Windows (among
7783         other things).
7785 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7787         * net/network-stream.el (open-network-stream): Return an :error
7788         saying what the problem was, if possible.
7790         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
7791         server.
7793         * net/network-stream.el (network-stream-open-starttls): If we
7794         wanted to use STARTTLS, and the server offered it, but we weren't
7795         able to because we had no STARTTLS support, then close the connection.
7796         (open-network-stream): Return an :error element, if present.
7798 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7800         * hl-line.el (hl-line-sticky-flag): Doc fix.
7801         (global-hl-line-sticky-flag): New option (Bug#8323).
7802         (global-hl-line-highlight): Obey it.
7804         * vc/vc.el (vc-revert-show-diff): Default to t.
7806 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
7808         * allout-widgets.el (allout-widgets-post-command-business):
7809         Stop decorating intermediate isearch matches.  They're not being
7810         undecorated when an isearch is continued past, and isearch
7811         automatically collapses them.  This leads to "widget leaks", where
7812         decorated items accumulate in collapsed areas.  Lines with lots of
7813         hidden widgets can slow down cursor travel, substantially.
7814         Too much complicated machinery would be needed to ensure undecoration,
7815         so we're doing without this nicety.
7817         (allout-widgets-tally-string): Don't try to do a hash-table-count
7818         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
7819         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
7820         *Messages* when allout-widgets-maintain-tally is t.
7822 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
7824         * window.el (display-buffer-normalize-argument): Rename to
7825         display-buffer-normalize-arguments.  Handle special meaning of
7826         LABEL argument.  Respect special-display-function when popping up
7827         a new frame.  Fix code searching for a window showing the buffer
7828         on another frame.
7829         (display-buffer-normalize-specifiers):
7830         Call display-buffer-normalize-arguments.
7831         (display-buffer-in-window): Don't undedicate the window if its
7832         buffer remains the same.
7833         Reported by Drew Adams <drew.adams@oracle.com>.
7834         (display-buffer-alist): Add choice for same-window macro
7835         specfier.
7836         (display-buffer): Mention special meaning of LABEL argument in
7837         doc-string.  Fix quoting.  Don't pop up a new frame even as
7838         fallback.
7840 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
7842         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
7843         avoid deleting the current window in some cases (bug#8911).
7845 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
7847         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
7848         (Bug#8934)
7850 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7852         * net/network-stream.el (network-stream-open-starttls):
7853         Use built-in TLS support if `gnutls-available-p' is true.
7854         (network-stream-open-tls): Ditto.
7856 2011-06-26  Leo Liu  <sdl.web@gmail.com>
7858         * register.el (registerv): New struct.
7859         (registerv-make): New function.
7860         (jump-to-register, describe-register-1, insert-register):
7861         Support the jump-func, print-func and insert-func slot of a registerv
7862         struct.  (Bug#8415)
7864 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
7866         * vc/vc.el (vc-revert-show-diff): New defcustom.
7867         (vc-diff-internal): New arg specifying diff buffer.
7868         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
7869         reuse an existing *vc-diff* buffer (Bug#8927).
7871         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
7873 2011-06-26  Glenn Morris  <rgm@gnu.org>
7875         * progmodes/f90.el (f90-critical-indent): New option.
7876         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
7877         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
7878         (f90-mode): Doc fix.
7879         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
7880         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
7881         (f90-beginning-of-block, f90-next-block, f90-indent-region)
7882         (f90-match-end): Handle block, critical.
7884 2011-06-25  Glenn Morris  <rgm@gnu.org>
7886         * calendar/diary-lib.el (diary-included-files): Doc fix.
7887         (diary-include-files): New function, extracted from
7888         diary-include-other-diary-files and diary-mark-included-diary-files.
7889         (diary-include-other-diary-files, diary-mark-included-diary-files):
7890         Just call diary-include-files.
7891         (diary-mark-entries): Reset diary-included-files on first call.
7893         * calendar/diary-lib.el (diary-mark-entries)
7894         (diary-mark-included-diary-files):
7895         Visit included diary-files in temp buffers.
7897         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
7898         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
7899         (f90-start-block-re, f90-imenu-generic-expression)
7900         (f90-looking-at-program-block-start, f90-no-block-limit):
7901         Add support for submodules.
7903         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7904         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
7906 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
7908         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
7909         buffer-file-type before setting its value, to avoid disastrous
7910         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
7912 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7914         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
7916         * ses.el (ses-unload-function):
7917         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7919         * proced.el (proced-unload-function):
7920         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7922 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
7924         * server.el (server-create-window-system-frame): Add parameters arg.
7925         (server-process-filter): Doc fix.  Handle frame-parameters.
7927 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
7929         Fix bug#8730, bug#8781.
7931         * loadhist.el (unload--set-major-mode): New function.
7932         (unload-feature): Use it.
7934         * progmodes/python.el (python-after-info-look): Add autoload cookie.
7935         (python-unload-function): New function.
7937 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7939         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7941 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
7943         * net/browse-url.el (browse-url-firefox-program): Add icecat to
7944         the candidates list.
7946 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
7948         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7950 2011-06-23  Richard Stallman  <rms@gnu.org>
7952         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7953         (rmail-variables): Set next-error-move-function.
7954         (rmail-what-message): Take argument POS.
7955         (rmail-next-error-move): New function.
7957 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7959         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7960         messages for adjacent non-terminals.
7962 2011-06-23  Richard Stallman  <rms@gnu.org>
7964         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
7965         (rmail-show-message-1): Preserve buffer modified flag.
7966         (rmail-start-mail): Don't specify use of rmail-mail-return;
7967         that's done by mail-bury now.
7968         (rmail-mail-return): Handle arg NEWBUF.
7970 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
7972         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7973         SIZE is a number.
7975 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
7977         * window.el (get-lru-window, get-mru-window)
7978         (get-largest-window): Never return a minibuffer window.
7979         (display-buffer-pop-up-window): Fix a bug that could lead to
7980         reusing the minibuffer window.
7981         (display-buffer): Pass original specifier argument to
7982         display-buffer-function instead of the normalized one.
7983         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7985 2011-06-22  Leo Liu  <sdl.web@gmail.com>
7987         * minibuffer.el (completing-read-function)
7988         (completing-read-default): Move from minibuf.c
7990 2011-06-22  Richard Stallman  <rms@gnu.org>
7992         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7993         to Rmail even if not started by a special Rmail command.
7995         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7996         Copy the buffer currently showing just one message.
7998 2011-06-22  Roland Winkler  <winkler@gnu.org>
8000         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8001         (bibtex-clean-entry): First delete the old key so that a
8002         customized algorithm for generating the new key does not get
8003         confused by the old key.
8004         (bibtex-url): Obey regexp of first step.
8005         (bibtex-search-entries): Do not use add-to-list with local
8006         list-var.
8008 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8010         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8011         stored a user name, then query for the password first, instead of
8012         waiting for SMTP to give an error message and the trying again.
8014 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
8016         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8017         BUFFER in call-process.
8019 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8021         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8022         QUIT twice.
8023         (smtpmail-try-auth-methods): Require user name and password from
8024         auth-source.
8026 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
8028         * window.el (display-buffer-default-specifiers)
8029         (display-buffer-alist): Remove entries for pop-up-frame-alist.
8030         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
8031         (split-window): Normalize SIDE argument (Bug#8916).
8033         * frame.el (pop-up-frame-alist, pop-up-frame-function)
8034         (special-display-frame-alist, special-display-popup-frame):
8035         Remove duplicate declarations.  These are now in window.el.
8037 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8039         * mail/smtpmail.el (smtpmail-via-smtp):
8040         Set :use-starttls-if-possible so that we always use STARTTLS if the
8041         server supports it.  SMTP servers that support STARTTLS commonly
8042         require it.
8044         * net/network-stream.el (network-stream-open-starttls): Support
8045         upgrading to STARTTLS always, even if we don't have built-in support.
8046         (open-network-stream): Add the :always-query-capabilities keyword.
8048         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8049         upgrades with `open-network-stream', and rely solely on
8050         auth-source for all credentials.  Big changes throughout the file,
8051         but in particular:
8052         (smtpmail-auth-credentials): Remove.
8053         (smtpmail-starttls-credentials): Remove.
8054         (smtpmail-via-smtp): Check for servers saying they want AUTH after
8055         MAIL FROM, too.
8057         * net/network-stream.el (network-stream-open-starttls):
8058         Provide support for client certificates both for external and built-in
8059         STARTTLS.
8060         (auth-source): Require.
8061         (open-network-stream): Document the :client-certificate keyword.
8062         (network-stream-certificate): Change cert-cert to cert and
8063         cert-key to key.
8065 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
8067         * net/tramp-cache.el (top): Don't load the persistency file when
8068         "emacs -Q" has been called.
8070 2011-06-21  Tim Harper  <timcharper@gmail.com>
8072         * term/ns-win.el (ns-initialize-window-system):
8073         Set application-specific `ApplePressAndHoldEnabled' system
8074         resource to NO as it is not yet supported by the NS port.
8076 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
8078         * misc.el (list-dynamic-libraries--refresh): Compute header here...
8079         (list-dynamic-libraries): ...not here.
8081 2011-06-21  Leo Liu  <sdl.web@gmail.com>
8083         * subr.el (sha1): Implement sha1 using secure-hash.
8085 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
8087         * window.el (display-buffer-alist): In default value do not
8088         enforce searching a window on any but the selected frame.
8089         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8090         (display-buffer-select-window): Remove function.
8091         (display-buffer-in-window): When a window on another frame gets
8092         reused, do not select it any more but just raise its frame if
8093         necessary (Bug#8851) and (Bug#8856).
8094         (display-buffer-normalize-options): Handle pop-up-frames related
8095         options more faithfully.
8096         (pop-to-buffer): Don't rely on `display-buffer' selecting the
8097         window if it is on another frame.
8098         (display-buffer-alist, display-buffer-default-specifiers):
8099         Don't make new frame unsplittable by default.
8100         (display-buffer-normalize-argument): Fix doc-string typo and use
8101         'same-frame-other-window instead of 'other-window when associating
8102         with display-buffer-macro-specifiers.
8104 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
8106         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8107         New functions.
8108         (5x5-mode-map, 5x5-mode-menu): Bind them.
8109         (5x5-draw-grid): Tweak the solver's rendering.
8111 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8113         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8114         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8116 2011-06-21  Drew Adams  <drew.adams@oracle.com>
8118         * menu-bar.el: Use function variable instead of switch-to-buffer.
8119         (menu-bar-select-buffer-function): New variable.
8120         (menu-bar-update-buffers): Use it (bug#8876).
8122 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8124         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8125         variable's status.
8127 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
8129         * x-dnd.el (x-dnd-version-from-flags)
8130         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8131         and long as number (Bug#8899).
8132         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8134 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8136         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
8137         (completion-try-completion, completion-all-completions): Compute the
8138         metadata argument if it's missing; make it optional (bug#8795).
8140         * wid-edit.el: Use lex-bind and move towards completion-at-point.
8141         (widget-complete): Use new :completion-function property.
8142         (widget-completions-at-point): New function.
8143         (default): Use :completion-function instead of :complete.
8144         (widget-default-completions): Rename from widget-default-complete;
8145         Rewrite.
8146         (widget-string-complete, widget-file-complete, widget-color-complete):
8147         Remove functions.
8148         (file, symbol, function, variable, coding-system, color):
8149         * international/mule-cmds.el (default-input-method, charset)
8150         (language-info-custom-alist):
8151         * cus-edit.el (face): Use new property :completions.
8153         * progmodes/pascal.el (pascal-completions-at-point): New function.
8154         (pascal-mode): Use it.
8155         (pascal-mode-map): Use completion-at-point.
8156         (pascal-toggle-completions): Make obsolete.
8157         (pascal-complete-word, pascal-show-completions):
8158         * progmodes/octave-mod.el (octave-complete-symbol):
8159         Redefine as obsolete alias.
8160         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
8161         Signal absence of completion info for old Octave,
8162         (inferior-octave-complete): Redefine as obsolete alias.
8163         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
8164         (meta-completions-at-point): Rename from meta-complete-symbol and
8165         adapt it for use on completion-at-point-functions.
8166         (meta-common-mode): Use it.
8167         (meta-looking-at-backward, meta-match-buffer): Remove.
8168         (meta-complete-symbol): Redefine as obsolete alias.
8169         (meta-common-mode-map): Use completion-at-point.
8170         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
8171         (makefile-mode-map): Use completion-at-point.
8172         (makefile-completions-at-point): Rename from makefile-complete and
8173         adapt it for use on completion-at-point-functions.
8174         (makefile-mode): Use it.
8175         (makefile-complete): Redefine as obsolete alias.
8177 2011-06-20  Deniz Dogan  <deniz@dogan.se>
8179         * net/rcirc.el: Delete trailing whitespaces once and for all.
8181 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
8183         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
8185 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
8187         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
8189         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
8191 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
8193         * window.el (display-buffer-other-window-means-other-frame):
8194         Call display-buffer-normalize-alist.
8195         (display-buffer-normalize-specifiers-1): Rename to
8196         display-buffer-normalize-argument.  New argument other-frame.
8197         Rewrite.
8198         (display-buffer-normalize-specifiers-2): Rename to
8199         display-buffer-normalize-options.
8200         (display-buffer-normalize-alist-1): New function.
8201         (display-buffer-normalize-specifiers-3): Rename to
8202         display-buffer-normalize-alist.
8203         Call display-buffer-normalize-alist-1.
8204         (display-buffer-normalize-options-inhibit): New variable.
8205         (display-buffer-normalize-specifiers): Rewrite calling
8206         display-buffer-normalize-alist,
8207         display-buffer-normalize-argument, and
8208         display-buffer-normalize-options.  Don't call the latter if
8209         display-buffer-normalize-options-inhibit is non-nil.
8210         (frame-auto-delete): New option.
8211         (window-deletable-p): Use frame-auto-delete.
8212         (window-list-no-nils, window-state-ignored-parameters)
8213         (window-state-get-1, window-state-get, window-state-put-list)
8214         (window-state-put-1, window-state-put-2, window-state-put):
8215         New functions.
8216         (display-buffer-normalize-options): Move special-display-p group
8217         after pop-up-frame group (Bug#8851) and (Bug#8856).
8219 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
8221         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
8222         groups (Bug#8776).
8223         (rx-submatch-n): New function.
8224         (rx): Document it.
8226         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
8227         (Bug#8768).
8229         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
8231         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
8233         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
8234         anytime existing face settings are present (Bug#8889).
8236         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
8237         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
8238         Remove unused argument.
8240 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
8242         * window.el (display-buffer-default-specifiers):
8243         Remove pop-up-frame.  Add pop-up-window-min-height,
8244         pop-up-window-min-width, and another reuse-window specifier
8245         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
8246         (display-buffer-normalize-specifiers-2):
8247         Handle split-height-threshold and split-width-threshold also when
8248         pop-up-windows is unset.  Add a reuse-window specifier for the
8249         case popping up a new window fails.
8250         (special-display-popup-frame): Remove double quoting.
8251         (display-buffer-normalize-specifiers-1): Fix thinko.
8253 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8255         * shell.el (shell-completion-vars): Set pcomplete-termination-string
8256         according to comint-completion-addsuffix.
8258         * pcomplete.el: Convert to lexical binding and fix bug#8819.
8259         (pcomplete-suffix-list): Mark as obsolete.
8260         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
8261         pcomplete-seen in the closure.
8262         (pcomplete-comint-setup): Setup completion-at-point as well.
8263         (pcomplete--entries): New function.
8264         (pcomplete--env-regexp): New var.
8265         (pcomplete-entries): Rewrite to work with partial-completion and
8266         without relying on pcomplete-suffix-list.
8267         (pcomplete-pare-list): Remove, unused.
8269 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
8271         * window.el (display-buffer-alist): Set pop-up-window-min-height
8272         and pop-up-window-min-width in default value.  Reported by
8273         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
8274         other-window-means-other-frame.
8275         (display-buffer-macro-specifiers): Comment out entry for
8276         other-window specifier.
8277         (display-buffer-other-window-means-other-frame): New function.
8278         (display-buffer-normalize-specifiers-1): New arguments
8279         buffer-name and label.  Treat other-window case specially.
8280         (display-buffer-normalize-specifiers-2): Treat other-window case
8281         specially.
8282         (display-buffer-normalize-specifiers-3): New function.
8283         (display-buffer-normalize-specifiers):
8284         Call display-buffer-normalize-specifiers-3.
8286 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
8288         * window.el (same-window-p): Fix two typos introduced when
8289         adding with-no-warnings.
8290         (display-buffer-normalize-specifiers-1): Don't check
8291         pop-up-frames for 'unset initialization.
8292         (display-buffer-normalize-specifiers-2): Major rewrite using
8293         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
8294         (pop-up-frames, display-buffer-reuse-frames)
8295         (display-buffer-mark-dedicated): Don't initialize to 'unset.
8296         Suggested by David Engster <deng@randomsample.de>.
8297         (even-window-heights): Initialize to 'unset.
8298         (display-buffer-alist-set): Handle new 'unset initializations.
8299         (display-buffer-macro-specifiers): Don't pop up a new frame in the
8300         other window case.
8302 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
8304         * window.el (display-buffer-normalize-specifiers-1):
8305         Respect current value of pop-up-frames for most reasonable values of
8306         second argument of display-buffer (Bug#8865).
8307         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
8308         (switch-to-buffer-other-window-same-frame)
8309         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
8310         Adams (Bug#8875).
8311         (display-buffer): Don't check noninteractive when calling
8312         display-buffer-pop-up-frame.
8313         (display-buffer-pop-up-frame): Never pop up a frame in
8314         noninteractive mode (Bug#8857).
8315         (enlarge-window, shrink-window): Don't report an error when the
8316         window can't be resized as requested (Bug#8862).
8318 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8320         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
8322         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
8324         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
8326 2011-06-15  Alan Mackenzie  <acm@muc.de>
8328         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
8329         for declarators, disable knr checking to speed up for normal files.
8330         2: Refactor, replacing a sequence of nested if forms by a cond form.
8332 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8334         * net/network-stream.el (open-network-stream): Add the keyword
8335         :always-query-capabilities for the case where you want to force a
8336         `plain' network connection, but the protocol still requires the
8337         capabilitiy command (i.e., SMTP and EHLO).
8339         * subr.el (process-live-p): Rename from `process-alive-p' for
8340         consistency with other `-live-p' functions.
8342 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8344         * window.el (same-window-buffer-names, same-window-regexps)
8345         (special-display-frame-alist, special-display-popup-frame)
8346         (special-display-function, special-display-buffer-names)
8347         (special-display-regexps, pop-up-frame-alist)
8348         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
8349         (pop-up-windows, split-window-preferred-function)
8350         (split-height-threshold, split-width-threshold, even-window-heights)
8351         (display-buffer-mark-dedicated): Don't encourage the use of
8352         display-buffer-alist from Elisp code.
8354 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
8356         * progmodes/python.el (python-mode): Derive from prog-mode.
8357         * progmodes/ps-mode.el (ps-mode):
8358         * progmodes/mixal-mode.el (mixal-mode):
8359         * progmodes/cfengine.el (cfengine-mode):
8360         * progmodes/ld-script.el (ld-script-mode): Likewise.
8362 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
8364         * window.el (display-buffer-alist): Trim default value to avoid
8365         popping up a new frame (Bug#8857) or reusing an arbitrary window
8366         on another frame.
8367         (display-buffer): Do not fall back on popping up a new frame in
8368         batch mode (Bug#8857).
8370 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
8372         * cus-theme.el (describe-theme-1): Use custom-theme-p.
8373         (custom-theme-summary): New function.
8374         (customize-themes): Use it.
8376 2011-06-13  Glenn Morris  <rgm@gnu.org>
8378         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
8380 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
8382         * help.el (help-window): Remove variable.
8383         (help-window-point-marker, temp-buffer-max-height)
8384         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
8385         (help-print-return-message): Don't set help-window.
8386         (resize-temp-buffer-window): Rewrite cod eand doc-string.
8387         (help-window-setup-finish): Remove.
8388         (help-window-display-message, help-window-setup)
8389         (with-help-window): Major rewrite based on new
8390         display-buffer-window variable.
8392         * help-mode.el (help-mode-finish): Remove help-window related
8393         code.
8395         * view.el (view-exits-all-viewing-windows): Remove reference to
8396         view-return-to-alist in doc-string.
8397         (view-return-to-alist): Make obsolete.
8398         (view-buffer): Call pop-to-buffer-same-window and remove
8399         undo-window code.
8400         (view-buffer-other-window): Call pop-to-buffer-other-window and
8401         simplify code.  Ignore second argument.
8402         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
8403         simplify code.  Ignore second argument.
8404         (view-return-to-alist-update): Make obsolete.
8405         (view-mode-enter): Rename second argument to QUIT-RESTORE.
8406         Rewrite using quit-restore window parameters.
8407         (view-mode-exit): Rename second argument to EXIT-ONLY.
8408         Rewrite using quit-restore-window.
8409         (View-exit, View-exit-and-edit, View-leave, View-quit)
8410         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
8411         appropriate arguments.
8412         (view-end-message): Use quit-restore window parameter.
8414         * window.el (display-buffer-function): Rewrite doc-string.
8415         (display-buffer-window, display-buffer-alist): New variables.
8416         (display-buffer-split-specifiers)
8417         (display-buffer-side-specifiers)
8418         (display-buffer-macro-specifiers): New constants.
8419         (display-buffer-even-window-sizes, display-buffer-set-height)
8420         (display-buffer-set-width, display-buffer-select-window)
8421         (display-buffer-in-window, display-buffer-reuse-window)
8422         (display-buffer-split-window-1, display-buffer-split-window)
8423         (display-buffer-split-atom-window, display-buffer-pop-up-window)
8424         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
8425         (display-buffer-in-side-window, normalize-buffer-to-display)
8426         (display-buffer-normalize-specifiers-1)
8427         (display-buffer-normalize-specifiers-2)
8428         (display-buffer-normalize-specifiers, display-buffer-frame):
8429         New functions.
8430         (display-buffer): Major rewrite.
8431         (display-buffer-other-window, display-buffer-other-frame)
8432         (pop-to-buffer, switch-to-buffer-other-window)
8433         (switch-to-buffer-other-frame): Rewrite.
8434         (display-buffer-same-window, display-buffer-same-frame)
8435         (display-buffer-same-frame-other-window)
8436         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8437         (pop-to-buffer-other-window)
8438         (pop-to-buffer-same-frame-other-window)
8439         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
8440         (switch-to-buffer-other-window-same-frame): New functions.
8441         (same-window-p, special-display-p): Rewrite disabling warnings.
8442         Make obsolete.
8443         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8444         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
8445         Make obsolete
8446         (same-window-buffer-names, same-window-regexps)
8447         (special-display-frame-alist, special-display-popup-frame)
8448         (special-display-function, special-display-buffer-names)
8449         (special-display-regexps, pop-up-frame-alist)
8450         (pop-up-frame-function, split-window-preferred-function)
8451         (split-height-threshold, split-width-threshold)
8452         (even-window-heights): Make obsolete.
8454 2011-06-12  Glenn Morris  <rgm@gnu.org>
8456         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
8457         Misc simplifications.
8459 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
8461         * window.el (window-safely-shrinkable-p): Restore function which
8462         was inadvertently removed in change from 2011-06-11.  Declare as
8463         obsolete.
8465         * calendar/calendar.el (calendar-generate-window):
8466         Use window-iso-combined-p instead of combination of one-window-p and
8467         window-safely-shrinkable-p.
8469 2011-06-12  Glenn Morris  <rgm@gnu.org>
8471         * progmodes/fortran.el (fortran-mode-syntax-table):
8472         * progmodes/f90.el (f90-mode-syntax-table):
8473         Set % to punctuation.  (Bug#8820)
8474         (f90-find-tag-default): Remove, no longer needed.
8476 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
8478         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
8480 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
8482         * image.el (image-animated-p): Return animation delay in seconds.
8483         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
8484         (image-animate-timeout): Remove DELAY argument.  Don't assume
8485         every subimage has the same delay; get it from image-animated-p.
8486         (image-animate): Caller changed.
8488 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
8490         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
8491         to ignored backtrace functions.
8493 2011-06-11  Glenn Morris  <rgm@gnu.org>
8495         * calendar/appt.el (appt-disp-window-function): Doc fix.
8496         (appt-check): Handle overlapping appointments.  (Bug#8337)
8498 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
8500         * window.el (window-tree-1, window-tree): New functions, moving
8501         the latter to window.el.
8502         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
8503         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
8504         (bw-refresh-edges): Remove.
8505         (balance-windows-1, balance-windows-2): New functions.
8506         (balance-windows): Rewrite in terms of window tree functions,
8507         balance-windows-1 and balance-windows-2.
8508         (bw-adjust-window): Remove.
8509         (balance-windows-area-adjust): New function with functionality of
8510         bw-adjust-window but using resize-window.
8511         (set-window-text-height): Rewrite doc-string.
8512         Use normalize-live-window and resize-window.
8513         (enlarge-window-horizontally, shrink-window-horizontally):
8514         Rename argument to DELTA.
8515         (window-buffer-height): New function.
8516         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
8517         Rewrite using new window resize routines.
8518         (kill-buffer-and-window, mouse-autoselect-window-select):
8519         Use ignore-errors instead of condition-case.
8520         (quit-window): Call delete-frame instead of delete-windows-on
8521         for the only buffer on frame.
8523 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8525         * loadup.el (top-level): Load window before files for the sake
8526         of replace-buffer-in-windows.
8528         * files.el (read-buffer-to-switch)
8529         (switch-to-buffer-other-window)
8530         (switch-to-buffer-other-frame, display-buffer-other-frame):
8531         Move to window.el.
8533         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
8534         (previous-buffer): Move to window.el.
8536         * bindings.el (unbury-buffer): Move to window.el.
8538         * window.el (delete-other-windows-vertically): Move after
8539         definition of delete-other-windows.
8540         (other-window, delete-windows-on, replace-buffer-in-windows):
8541         Move here from window.c.
8542         (record-window-buffer, unrecord-window-buffer)
8543         (set-window-buffer-start-and-point, switch-to-prev-buffer)
8544         (switch-to-next-buffer): New functions.
8545         (get-next-valid-buffer, last-buffer, next-buffer): Move here
8546         from simple.el.  Call switch-to-next-buffer.
8547         (previous-buffer): Move here from simple.el.
8548         Call switch-to-prev-buffer.
8549         (bury-buffer): Move here from buffer.c.  Switch to previous
8550         buffer when window cannot be deleted.
8551         (unbury-buffer): Move here from bindings.el.
8552         (ctl-x-map): Move binding for other-window from window.c to
8553         here.
8554         (read-buffer-to-switch, switch-to-buffer-other-window)
8555         (switch-to-buffer-other-frame): Move here from files.el.
8556         (normalize-buffer-to-switch-to): New functions.
8557         (switch-to-buffer): Move here from buffer.c.
8558         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
8560 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
8562         * window.el (window-min-height, window-min-width): Move here
8563         from window.c.  Add defcustoms and rewrite doc-strings.
8564         (resize-mini-window, resize-window): New functions.
8565         (adjust-window-trailing-edge, enlarge-window, shrink-window):
8566         Move here from window.c.
8567         (maximize-window, minimize-window): New functions.
8568         (delete-window, delete-other-windows, split-window): Move here
8569         from window.c.
8570         (window-split-min-size): New function.
8571         (split-window-keep-point): Mention split-window-above-each-other
8572         instead of split-window-vertically.
8573         (split-window-above-each-other, split-window-vertically):
8574         Rename split-window-vertically to split-window-above-each-other
8575         and provide defalias for old definition.
8576         (split-window-side-by-side, split-window-horizontally):
8577         Rename split-window-horizontally to split-window-side-by-side
8578         and provide defalias for the old definition.
8579         (ctl-x-map): Move bindings for delete-window,
8580         delete-other-windows and enlarge-window here from window.c.
8581         Replace bindings for split-window-vertically and
8582         split-window-horizontally by bindings for
8583         split-window-above-each-other and split-window-side-by-side.
8585         * cus-start.el (all): Remove entries for window-min-height and
8586         window-min-width.  Add entries for window-splits and
8587         window-nest.
8589 2011-06-09  Glenn Morris  <rgm@gnu.org>
8591         * calendar/appt.el (appt-mode-line): New function.
8592         (appt-check, appt-disp-window): Use it.
8594         * files.el (hack-one-local-variable-eval-safep):
8595         Allow minor-modes with explicit +/-1 arguments.
8597 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
8599         * term/xterm.el (xterm): Add defgroup.
8600         (xterm-extra-capabilities): Add defcustom to supply known xterm
8601         capabilities, skip querying them, or query them (default).
8602         (terminal-init-xterm): Use it.
8603         (terminal-init-xterm-modify-other-keys): New function to set up
8604         modifyOtherKeys support to simplify `terminal-init-xterm'.
8606 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
8608         * window.el (resize-window-reset, resize-window-reset-1)
8609         (resize-subwindows-skip-p, resize-subwindows-normal)
8610         (resize-subwindows, resize-other-windows, resize-this-window)
8611         (resize-root-window, resize-root-window-vertically)
8612         (window-deletable-p, window-or-subwindow-p)
8613         (frame-root-window-p): New functions.
8615 2011-06-09  Glenn Morris  <rgm@gnu.org>
8617         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
8618         (ange-ftp-get-files): Use it.
8620 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8622         * mail/sendmail.el (mail-recover-1, mail-recover):
8623         * files.el (recover-file, recover-session):
8624         Handle dired-listing-switches not being just a single short option.
8626 2011-06-09  Glenn Morris  <rgm@gnu.org>
8628         * calendar/appt.el (appt-display-message, appt-disp-window):
8629         Handle lists of appointments.
8631 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8633         * window.el (one-window-p): Move down in code.
8634         Rewrite doc-string.
8635         (window-current-scroll-bars): Rewrite doc-string.
8636         Normalize live window argument.
8637         (walk-windows, get-window-with-predicate, count-windows):
8638         Rewrite doc-string.  Use window-list-1.
8639         (window-in-direction-2, window-in-direction, get-mru-window):
8640         New functions.
8642 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
8644         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
8645         Doc fix (Bug#8713).
8647 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
8649         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
8651 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
8653         * loadhist.el (unload-feature-special-hooks):
8654         Add `comint-output-filter-functions'.
8656 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
8658         * calendar/appt.el (appt-check): Move some initializations into the let.
8660 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
8662         * window.el (window-height): Defalias to window-total-height.
8663         (window-width): Defalias to window-body-width.
8665 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
8667         * image-mode.el (image-toggle-animation): New command.
8668         (image-mode-map): Bind it to RET.
8669         (image-mode): Update message.
8670         (image-toggle-display-image): Avoid a spurious cache flush.
8671         (image-transform-rotation): Doc fix.
8672         (image-transform-properties): Return quickly in the normal case.
8673         (image-animate-loop): Rename from image-animate-max-time.
8675         * image.el (image-animate-max-time): Move to image-mode.el.
8676         (create-animated-image): Remove unnecessary function.
8677         (image-animate): Rename from image-animate-start.  New arg.
8678         (image-animate-stop): Remove; just use image-animate-timer.
8679         (image-animate-timer): Use car-safe.
8680         (image-animate-timeout): Rename argument.
8682 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
8684         * window.el (get-lru-window, get-largest-window): Move here from
8685         window.c.  Rename first argument to ALL-FRAMES.
8686         Rephrase doc-strings.
8687         (get-buffer-window-list): Rewrite using window-list-1.
8688         Rephrase doc-string.
8689         (window-safe-min-height, window-safe-min-width): New constants.
8690         (window-size-ignore, window-min-size, window-min-size-1)
8691         (window-sizable, window-sizable-p, window-size-fixed-1)
8692         (window-size-fixed-p, window-min-delta-1, window-min-delta)
8693         (window-max-delta-1, window-max-delta, window-resizable)
8694         (window-resizable-p, window-total-height, window-total-width)
8695         (window-body-width): New functions.
8696         (window-full-height-p, window-full-width-p): Rewrite using
8697         window-total-size.
8698         (window-body-height): Rewrite using window-body-size.
8700 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
8702         * window.el (window-right, window-left, window-child)
8703         (window-child-count, window-last-child, window-any-p)
8704         (normalize-live-buffer, normalize-live-frame)
8705         (normalize-any-window, normalize-live-window)
8706         (window-iso-combination-p, window-iso-combined-p)
8707         (window-iso-combinations)
8708         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
8709         (windows-with-parameter, window-with-parameter)
8710         (window-atom-root, make-window-atom, window-atom-check-1)
8711         (window-atom-check, window-side-check, window-check):
8712         New functions.
8713         (ignore-window-parameters, window-sides, window-sides-vertical)
8714         (window-sides-slots): New variables.
8715         (window-size-fixed): Move down in code.  Minor doc-string fix.
8717 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
8719         * comint.el (comint-dynamic-complete-as-filename)
8720         (comint-dynamic-complete-filename): Correctly call
8721         completion-in-region.
8723 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8725         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
8726         in last change.
8728 2011-06-05  Deniz Dogan  <deniz@dogan.se>
8730         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
8731         (rcirc): Use it to prompt for encryption.
8733 2011-06-05  Roland Winkler  <winkler@gnu.org>
8735         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
8736         (bibtex-search-entries): New command bound to C-c C-a.
8737         (bibtex-display-entries): New function.
8739 2011-06-05  Roland Winkler  <winkler@gnu.org>
8741         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
8742         (bibtex-insert-kill): After yanking insert newline if necessary.
8743         (bibtex-initialize): Call bibtex-string-files-init only once.
8744         (bibtex-mode): Do not call easy-menu-add.
8745         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
8746         (bibtex-yank): Set arg properly if nil.
8748 2011-06-05  Roland Winkler  <winkler@gnu.org>
8750         * textmodes/bibtex.el (bibtex-search-entry-globally):
8751         New variable.
8752         (bibtex-search-entry): Use it.
8754 2011-06-05  Roland Winkler  <winkler@gnu.org>
8756         * textmodes/bibtex.el (bibtex-entry-format): New option
8757         sort-fields.
8758         (bibtex-format-entry, bibtex-reformat): Honor this option.
8759         (bibtex-parse-entry): Return fields in proper order.
8761 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
8763         * doc-view.el (doc-view-remove-if): Move computation of result out
8764         of `dolist' to silence misleading lexical-binding warning.
8766 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
8768         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
8769         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
8771 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8773         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
8774         "SunOS 5.10".
8776 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
8778         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
8779         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
8780         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
8781         (tramp-parse-putty):
8782         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
8783         (tramp-completion-function-alist-ssh)
8784         (tramp-completion-function-alist-telnet)
8785         (tramp-completion-function-alist-su)
8786         (tramp-completion-function-alist-putty): Set `tramp-autoload'
8787         cookie.
8789         * net/tramp-ftp.el:
8790         * net/tramp-sh.el:
8791         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
8792         load "tramp.el" `tramp-set-completion-function'.
8794 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8796         * shell.el: Require and use pcomplete.
8797         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
8798         (shell-completion-vars): Set pcomplete-default-completion-function.
8800 2011-06-04  Deniz Dogan  <deniz@dogan.se>
8802         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
8803         `memq' (Bug#8799).
8805 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8807         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
8809 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
8811         * bs.el (bs--mark-unmark, bs--nth-wrapper):
8812         * mpc.el (mpc-select-extend, mpc-songpointer-context):
8813         * vc/log-view.el (log-view-beginning-of-defun):
8814         * vc/smerge-mode.el (smerge-apply-resolution-patch)
8815         (smerge-refine-forward, smerge-refine-chopup-region):
8816         Silence warning for unused `dotimes' counter variables.
8818 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8820         * net/tramp.el (tramp-with-progress-reporter): Rename from
8821         with-progress-reporter.  Use `declare'.
8822         * net/tramp-smb.el:
8823         * net/tramp-sh.el:
8824         * net/tramp-gvfs.el: Update all uses.
8826 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
8828         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
8829         buffer isn't killed before making it current.
8831 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8833         Silence various byte-compiler warnings.
8834         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
8835         `access-type' and new obsolescence format.
8836         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
8837         new format.
8838         (byte-compile-check-variable): New `access-type' argument.
8839         Only warn if the access-type is obsolete.
8840         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
8841         (byte-compile-variable-set): Adjust callers.
8842         * help-fns.el (describe-variable): Adjust to new obsolescence format.
8843         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
8844         setting it as obsolete.
8845         * simple.el (minibuffer-completing-symbol):
8846         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
8847         access as obsolete.
8848         * minibuffer.el (minibuffer-completing-file-name): Don't make it
8849         obsolete yet.
8850         * international/quail.el (quail-mouse-choose-completion): Remove unused
8851         code referring to obsolete var.
8852         (quail-choose-completion-string): Remove.
8853         * server.el (server-clients-with, server-kill-buffer-query-function)
8854         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
8855         * proced.el (proced-send-signal):
8856         * emacs-lisp/lisp.el (lisp-complete-symbol):
8857         Replace completion-annotate-function with completion-extra-properties.
8859 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8861         * simple.el (goto-line): Use read-number.
8862         (overriding-map-is-bound): Remove.
8863         (saved-overriding-map): Change default.
8864         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
8865         Take the map as argument.
8866         (universal-argument, negative-argument, digit-argument): Use it.
8867         (restore-overriding-map): Adjust.
8868         (do-auto-fill): Use fill-forward-paragraph.
8869         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
8871         * minibuffer.el (minibuffer-inactive-mode-map): New var.
8872         (minibuffer-inactive-mode): New major mode.
8873         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
8874         the *Messages* buffer" hack.
8875         (mouse-popup-menubar): Don't burp if the event is a normal key.
8877         Miscellaneous tweaks.
8878         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
8879         lexical scoping as in subr.el's dolist and dotimes.
8880         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
8881         Silence compiler warning.
8882         * thingatpt.el (forward-whitespace): Trivial coding style fix.
8883         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
8884         * international/ccl.el (ccl-compile): Trivial simplification.
8885         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
8886         * emacs-lisp/testcover.el (testcover-end): Remove spurious
8887         `printflag' argument.
8888         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
8889         Purecopy the whole obsolescence data.
8891 2011-06-01  Leo Liu  <sdl.web@gmail.com>
8893         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
8894         improve doc-string as suggested by Marco Pessotto
8895         <melmothx@gmail.com>.
8896         (rcirc-print): Fix last change.
8898 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8900         * minibuffer.el (complete-with-action): Return nil for the metadata and
8901         boundaries of non-functional tables.
8902         (completion-table-dynamic): Return nil for the metadata.
8903         (completion-table-with-terminator): Add default case, using
8904         complete-with-action.
8905         (completion--metadata): New function.
8906         (completion-all-sorted-completions, minibuffer-completion-help): Use it
8907         to try and avoid pathological performance problems.
8908         (completion--embedded-envvar-table): Return `category' metadata.
8910 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8912         * subr.el (process-alive-p): New tiny convenience function.
8914 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8916         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8917         content but also its previous major mode.
8919 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
8921         * emacs-lisp/debug.el (debug): Restore the previous content of the
8922         *Backtrace* buffer when we exit with C-M-c.
8924 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8926         * minibuffer.el: Add metadata method to completion tables.
8927         (completion-category-overrides): New defcustom.
8928         (completion-metadata, completion--field-metadata)
8929         (completion-metadata-get, completion--styles)
8930         (completion--cycle-threshold): New functions.
8931         (completion-try-completion, completion-all-completions):
8932         Add `metadata' argument to choose completion-styles.
8933         (completion--do-completion): Use metadata to choose cycling.
8934         (completion-all-sorted-completions): Use metadata for sorting.
8935         Remove :completion-cycle-penalty which is not needed any more.
8936         (completion--try-word-completion): Add `metadata' argument.
8937         (minibuffer-completion-help): Check metadata for annotation function
8938         and sorting.
8939         (completion-file-name-table): Return `category' metadata.
8940         (minibuffer-completing-file-name): Make obsolete.
8941         * simple.el (minibuffer-completing-symbol): Make obsolete.
8942         * icomplete.el (icomplete-completions): Pass new `metadata' param to
8943         completion-try-completion.
8945 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8947         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8949 2011-05-30  Leo Liu  <sdl.web@gmail.com>
8951         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8952         (rcirc-print): Decode all incoming messages (bug#8744).
8953         (rcirc-decode-coding-system): Allow value nil for automatic coding
8954         system detection.
8956 2011-06-01  Glenn Morris  <rgm@gnu.org>
8958         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8960 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8962         * image.el (image-animate-max-time): Allow nil and t values.
8963         Default to nil.
8964         (create-animated-image): Doc fix.
8965         (image-animate-start): Remove second arg; just use
8966         image-animate-max-time.
8967         (image-animate-timeout): Doc fix.  Args changed.
8969         * image-mode.el (image-toggle-display-image): Ensure that the
8970         image spec passed to the animate timer is the same object as in
8971         the buffer's display property (Bug#6981).
8972         (image-transform-properties): Doc fix.
8974         * image.el (image-animate-max-time): Default to nil.
8976 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
8978         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8979         entire buffer list (Bug#8184).
8981 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8983         * image.el (imagemagick-types-inhibit)
8984         (imagemagick-register-types): Doc fix.
8986 2011-05-29  Deniz Dogan  <deniz@dogan.se>
8988         * net/rcirc.el (rcirc): Use the user's stored encryption method by
8989         default.
8991 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
8993         * select.el: Don't perform clipboard-manager saving in hooks;
8994         leave the hooks empty.
8996 2011-05-28  Leo Liu  <sdl.web@gmail.com>
8998         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8999         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
9000         (occur-edit-mode): New major mode (Bug#8463).
9001         (occur-after-change-function): New function.
9002         (occur-engine): Give Occur tags a read-only property.
9004 2011-05-28  Kevin Ryde  <user42@zip.com.au>
9006         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9008 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9010         * bindings.el (help-echo): Make the initial non-indicator dash
9011         empty on graphical terminals (Bug#7295).
9013         * files.el (auto-mode-alist): Move config rule after the
9014         in-stripping one (Bug#8547).
9016         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9018         * startup.el (normal-splash-screen): Remove gratuitous mode-line
9019         setting (Bug#8740).
9021 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
9023         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9024         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9025         (Bug#8539).
9027 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9029         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9031 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
9033         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9034         (hs-hide-block-at-point, hs-find-block-beginning)
9035         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9036         (Bug#8279).
9038 2011-05-28  Glenn Morris  <rgm@gnu.org>
9040         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
9042 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
9044         * help-fns.el (describe-function-1): If the function is a derived
9045         major mode, print the parent mode.
9047         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9048         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9050 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9052         * minibuffer.el (completion--capf-wrapper): Check applicability before
9053         returning non-nil for non-exclusive completion data.
9054         * progmodes/etags.el (tags-completion-at-point-function):
9055         * info-look.el (info-lookup-completions-at-point): Mark as
9056         non-exclusive.
9057         (info-complete): Adjust accordingly.
9059         * info-look.el: Convert to lexical-binding and completion-at-point.
9060         (info-lookup-completions-at-point): New function.
9061         (info-complete): Use it and completion-in-region.
9063 2011-05-28  Drew Adams  <drew.adams@oracle.com>
9065         * isearch.el: Let M-e start with point at the first mismatched char.
9066         (isearch-fail-pos): New function.
9067         (isearch-edit-string): Use it.
9069 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9071         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9073 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
9075         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
9076         traversal functions for avl-trees.
9077         (avl-tree--stack): New struct.
9078         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9079         (avl-tree-enter): Add optional `updatefun' arg.
9080         (avl-tree--do-enter): Add optional `updatefun' arg.
9081         Change return value.
9082         (avl-tree-delete): Add optional `test' and `nilflag' args.
9083         (avl-tree--do-delete): Add `test' and `nilflag' args.
9084         Change return value.
9085         (avl-tree-member): Add optional `nilflag'
9086         (avl-tree-member-p): New function.
9087         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9088         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9089         (avl-tree-stack-empty-p): New functions.
9091         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9092         avl-tree--del-balance1 and make it work both ways.
9093         (avl-tree--del-balance2): Remove.
9094         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9095         make it work both ways.
9096         (avl-tree--enter-balance2): Remove.
9097         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9098         New macros.
9099         (avl-tree--mapc, avl-tree-map): Add direction argument.
9101 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
9103         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9105 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
9107         * select.el: Support clipboard managers with built-in function
9108         x-clipboard-manager-save, via delete-frame-functions and
9109         kill-emacs-hook.
9110         (xselect-convert-to-targets): Add MULTIPLE target to list.
9111         (xselect-convert-to-save-targets): New function.
9113 2011-05-27  Kenichi Handa  <handa@m17n.org>
9115         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9116         let-binding rfc2047-encode-encoded-words to nil.
9118 2011-05-27  Glenn Morris  <rgm@gnu.org>
9120         * mail/emacsbug.el: Don't require url-util.
9122         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
9124         * files.el (set-auto-mode):
9125         Also respect mode: entries at the end of the file.  (Bug#8586)
9127 2011-05-26  Glenn Morris  <rgm@gnu.org>
9129         * files.el (hack-local-variables-prop-line, hack-local-variables):
9130         Downcase mode names, as seems to be traditional.
9131         (hack-local-variables, hack-local-variables-apply): Doc fixes.
9133         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9134         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
9136 2011-05-25  Julien Danjou  <julien@danjou.info>
9138         * textmodes/rst.el (rst-define-level-faces): Do not define face
9139         symbol if it is already defined.
9141 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9143         * play/5x5.el (5x5-new-game, 5x5-randomize):
9144         Reset 5x5-solver-output to nil when a new grid is cast.
9145         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
9146         these debugging traces, as defmacro breaks the compiled code.
9148 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
9150         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9152 2011-05-24  Leo Liu  <sdl.web@gmail.com>
9154         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
9155         (vc-bzr-sha1): Adapt.
9157         * sha1.el: Remove.  Function `sha1' is now builtin.
9159         * bindings.el: Provide sha1 feature.
9161 2011-05-24  Kenichi Handa  <handa@m17n.org>
9163         * mail/sendmail.el: Require `rfc2047'.
9164         (mail-insert-from-field): Do not perform RFC2047 encoding.
9165         (mail-encode-header): New function.
9166         (sendmail-send-it): Set buffer-file-coding-system of the work
9167         buffer to the return value of select-message-coding-system.
9168         Call mail-encode-header.
9170         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
9172 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
9174         * mail/supercite.el (sc-default-cite-frame):
9175         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
9177 2011-05-24  Glenn Morris  <rgm@gnu.org>
9179         * progmodes/python.el (brm-menu): Declare.
9181         * emulation/viper.el (viper-set-hooks): Declare.
9183         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
9184         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
9185         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
9186         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
9187         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
9188         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
9190 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9192         Add an :exit-function for completion-at-point.
9194         * minibuffer.el (completion--done): New fun.
9195         (completion--do-completion): Use it.  New arg `expect-exact'.
9196         (minibuffer-complete, minibuffer-complete-word): Don't output message,
9197         since completion--do-completion does it for us now.
9198         (minibuffer-force-complete): Use completion--done and
9199         completion--replace.  Handle sole-completion case with more care.
9200         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
9201         (completion-extra-properties): New var.
9202         (completion-annotate-function): Make obsolete.
9203         (minibuffer-completion-help): Adjust accordingly.
9204         Use completion-list-insert-choice-function.
9205         (completion-at-point, completion-help-at-point):
9206         Bind completion-extra-properties.
9207         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
9208         * simple.el (completion-list-insert-choice-function): New var.
9209         (completion-setup-function): Preserve it.
9210         (choose-completion): Pay attention to it, shuffle the code a bit.
9211         (choose-completion-string): New arg `insert-function'.
9213         * textmodes/bibtex.el: Convert to lexical binding.
9214         (bibtex-mode-map): Use completion-at-point.
9215         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
9216         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
9217         (bibtex-complete): Define as obsolete alias.
9218         (bibtex-complete-internal): Remove.
9219         (bibtex-format-entry): Remove unused sub-group in regexp.
9220         * shell.el (shell--command-completion-data)
9221         (shell-environment-variable-completion):
9222         * pcomplete.el (pcomplete-completions-at-point):
9223         * comint.el (comint--complete-file-name-data): Use :exit-function
9224         instead of completion-table-with-terminator so it also works for
9225         choose-completion.
9227 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9229         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
9231         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
9232         (bug#8710).
9234         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
9236 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
9238         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
9239         customization variable and implement: If non-nil, auto-fill will
9240         be inhibited while on topic's header line.
9242 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9244         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
9245         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
9246         always have a solution in grid size = 5 cases.
9247         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
9248         (5x5-solver-output, 5x5-log-buffer): New vars.
9249         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
9250         Make these variables buffer local to achieve 5x5 multi-session-ness.
9251         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
9252         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
9253         (5x5-solve-suggest): New funs.
9254         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
9255         randomize a grid so that we ensure that there is always a solution.
9256         (5x5-make-random-grid): Allow other movement than flipping.
9258 2011-05-23  Kevin Ryde  <user42@zip.com.au>
9260         * emacs-lisp/advice.el (ad-read-advised-function):
9261         Use `function-called-at-point' as the default, if it has
9262         advice and passes PREDICATE.
9264 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9266         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
9267         byte-compile-lambda if it's actually a lambda.
9269         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
9270         Fix function quoting.  Use backquote better.
9272 2011-05-22  Yuanle Song  <sylecn@gmail.com>
9274         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9275         matching (Bug#8516).
9277 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
9279         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
9280         different face (Bug#8178).
9282 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
9284         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
9285         defface (Bug#8144).
9287 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9289         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
9290         funcall as well (bug#8712).  Warn when performing those conversions.
9291         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
9293         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
9295 2011-05-22  Glenn Morris  <rgm@gnu.org>
9297         * files.el (hack-local-variables-prop-line): Small simplifications.
9298         (hack-local-variables, hack-local-variables-prop-line):
9299         If MODE-ONLY, return the mode, rather than just `t'.
9301 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9303         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
9305 2011-05-21  Glenn Morris  <rgm@gnu.org>
9307         * files.el (hack-local-variables-prop-line, hack-local-variables):
9308         If only interested in the mode, don't bother doing the other stuff.
9310         * image-mode.el (image-after-revert-hook):
9311         Redraw all frames on which the image is visible.  (Bug#8567)
9313         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
9315         * wid-edit.el (widget-checklist-match-inline):
9316         Fix 2011-04-19 change.  (Bug#8649)
9318 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9320         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
9321         Also allow singlespace after single-letter capitals followed by a dot.
9323         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
9324         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
9326 2011-05-20  Nix  <nix@esperi.org.uk>
9328         * files.el (basic-save-buffer-2):
9329         Fix handling of break-hardlink-on-save with non-existent files.
9331 2011-05-19  Deniz Dogan  <deniz@dogan.se>
9333         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9334         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
9336 2011-05-19  Glenn Morris  <rgm@gnu.org>
9338         * progmodes/f90.el (f90-type-def-re):
9339         Handle "type, bind(c)".  (Bug#8691)
9341         * emacs-lisp/autoload.el (batch-update-autoloads):
9342         Set autoload-excludes by parsing loadup.el rather than Makefiles.
9344 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
9346         * net/tramp.el (tramp-process-actions): Set "first-password-request"
9347         property for the correct connection in case of multihops.
9349 2011-05-18  Glenn Morris  <rgm@gnu.org>
9351         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
9352         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
9354         Rationalize calendar handling of day and month abbrev-arrays.
9355         * calendar/calendar.el (calendar-customized-p): New function.
9356         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
9357         (calendar-day-name-array, calendar-month-name-array): Doc fix.
9358         Add :set function.
9359         (calendar-abbrev-length, calendar-day-abbrev-array)
9360         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
9361         (calendar-day-abbrev-array, calendar-month-abbrev-array):
9362         Elements may no longer be nil.
9363         (calendar-day-name, calendar-month-name):
9364         Update for changed nature of abbrev arrays.
9365         * calendar/diary-lib.el (diary-name-pattern):
9366         Update for changed nature of abbrev arrays.
9367         (diary-mark-entries-1): Update calendar-make-alist calls.
9368         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
9369         * calendar/cal-html.el (cal-html-day-abbrev-array):
9370         Simply inherit from calendar-day-abbrev-array.
9372 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9374         * progmodes/grep.el (grep-mode): Disable default
9375         compilation-directory-matcher setting (bug#8684).
9377 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
9379         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
9380         instead of "head" and "tail".  There were problems with SunOS 5.9,
9381         and it performs better.
9383 2011-05-17  Glenn Morris  <rgm@gnu.org>
9385         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
9387         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
9388         Replace obsolete function.
9390         * shell.el (pcomplete-parse-arguments-function): Declare.
9392         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
9393         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
9394         (appt-check): Doc fixes.
9395         (appt-disp-window-function, appt-delete-window-function):
9396         Remove needless special case in custom :type.
9397         (appt-display-count): Default to 0, not nil.
9398         (appt-check): Reset appt-display-count to 0, not nil.
9400 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
9402         * progmodes/python.el (python-font-lock-keywords):
9403         Add the Python 3.X keyword "nonlocal" (bug#8639).
9405 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9407         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
9409 2011-05-16  Kevin Ryde  <user42@zip.com.au>
9411         * info-look.el (makefile-automake-mode): New setups, looking in
9412         automake manual, then makefile-mode.
9413         (makefile-mode): Remove automake manual, have it just in
9414         makefile-automake-mode since there's various things different or
9415         not relevant to plain make.
9416         (makefile-mode): Remove "other-modes" non-existent automake-mode,
9417         believe a hypothetical automake-mode would go to makefile-mode,
9418         not the other way around.
9420 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
9422         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
9423         hunk-end tags (Bug#8672).
9425         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
9426         vc-annotate-show-diff-revision-at-line (Bug#8671).
9428 2011-05-14  Glenn Morris  <rgm@gnu.org>
9430         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
9431         in the middle of an existing one with multiple authors.  (Bug#8645)
9432         (change-log-font-lock-keywords): Also handle multiple author lines
9433         with leading tabs.  (Bug#8644)
9435         * calendar/appt.el (appt-check): Rename some local variables.
9436         Some simplification/reordering.
9438         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
9439         (feedmail-sendmail-f-doesnt-sell-me-out)
9440         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9441         (feedmail-debug-sit-for, feedmail-queue-express-hook)
9442         (feedmail-queue-runner-message-sender): Set :version.
9443         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
9444         (bbdb-dwim-net-address, vm-mail): Declare.
9445         (feedmail-binmail-gnulinuxish-template):
9446         Rename from feedmail-binmail-linuxish-template.
9447         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
9448         Use insert-buffer-substring.
9450 2011-05-14  Bill Carpenter  <bill@carpenter.org>
9452         * mail/feedmail.el (feedmail-patch-level): Increase.
9453         (feedmail-debug): New custom group.
9454         (feedmail-confirm-outgoing-timeout)
9455         (feedmail-sendmail-f-doesnt-sell-me-out)
9456         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
9457         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
9458         (feedmail-sender-line, feedmail-from-line)
9459         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
9460         (feedmail-spray-this-address)
9461         (feedmail-spray-address-fiddle-plex-list)
9462         (feedmail-queue-use-send-time-for-date)
9463         (feedmail-queue-use-send-time-for-message-id)
9464         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
9465         (feedmail-buffer-eating-function):
9466         Doc fixes.
9467         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
9468         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
9469         (feedmail-message-action-scroll-down): New functions.
9470         (feedmail-queue-directory, feedmail-queue-draft-directory):
9471         Use expand-file-name.
9472         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
9473         Remove C-v help entry.
9474         (feedmail-queue-buffer-file-name): New variable.
9475         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
9476         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
9477         (feedmail-message-action-send-strong, feedmail-message-action-edit)
9478         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
9479         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
9480         (feedmail-message-action-toggle-spray)
9481         (feedmail-run-the-queue-no-prompts)
9482         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
9483         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
9484         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
9485         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
9486         (feedmail-envelope-deducer, feedmail-fiddle-from)
9487         (feedmail-fiddle-sender, feedmail-default-date-generator)
9488         (feedmail-fiddle-date, feedmail-fiddle-message-id)
9489         (feedmail-fiddle-spray-address)
9490         (feedmail-fiddle-list-of-spray-fiddle-plexes)
9491         (feedmail-fiddle-list-of-fiddle-plexes)
9492         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
9493         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
9494         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
9495         Change default.  Doc fix.
9496         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
9497         (feedmail-binmail-linuxish-template): New constant.
9498         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
9499         Respect feedmail-sendmail-f-doesnt-sell-me-out.
9500         (feedmail-send-it): Add debug call.
9501         Use feedmail-queue-buffer-file-name, and
9502         feedmail-send-it-immediately-wrapper.
9503         (feedmail-message-action-send): Add debug call.
9504         Use feedmail-send-it-immediately-wrapper.
9505         (feedmail-queue-express-to-queue): Add debug call.
9506         Run feedmail-queue-express-hook.
9507         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
9508         (feedmail-message-action-help-blat):
9509         Rename from feedmail-queue-send-edit-prompt-help-first.
9510         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
9511         Check line-endings.  Handle errors better.
9512         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
9513         Doc fix.  Add debug call.
9514         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
9515         Use feedmail-queue-send-edit-prompt-inner.
9516         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
9517         (feedmail-queue-send-edit-prompt-inner): New function, extracted
9518         from feedmail-queue-send-edit-prompt.
9519         (feedmail-queue-send-edit-prompt-help)
9520         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
9521         (feedmail-tidy-up-slug): Add debug call.
9522         Respect feedmail-queue-slug-suspect-regexp.
9523         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
9524         (feedmail-dump-message-to-queue): Add debug call.
9525         Expand queue-directory.
9526         (feedmail-dump-message-to-queue): Change message slightly.
9527         Use feedmail-say-chatter.
9528         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
9529         (feedmail-send-it-immediately-wrapper): New function.
9530         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
9531         Insert empty string rather than newline.  Handle full-frame case.
9532         Use catch/throw.  Use feedmail-say-chatter.
9533         (feedmail-fiddle-from): Try mail-host-address.
9534         (feedmail-default-message-id-generator): Doc fix.
9535         Bind system-time-locale.  Handle missing end.
9536         (feedmail-fiddle-x-mailer): Add debug call.
9537         Handle feedmail-x-mailer-line being nil.
9538         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
9539         Add debug call.  Use buffer-substring-no-properties.
9540         (feedmail-say-debug, feedmail-say-chatter): New functions.
9541         (feedmail-find-eoh): Give an explicit error.
9543 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
9545         * net/newst-treeview.el (newsticker-treeview-face): Change default
9546         family from helvetica to sans.
9547         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
9548         etc/images/newsticker.
9550         * net/newst-reader.el (newsticker-feed-face): Change default
9551         family from helvetica to sans.
9553         * net/newst-plainview.el (newsticker-new-item-face)
9554         (newsticker-old-item-face, newsticker-immortal-item-face)
9555         (newsticker-obsolete-item-face, newsticker-date-face)
9556         (newsticker-statistics-face): Change default family from
9557         helvetica to sans.
9558         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
9559         etc/images/newsticker.
9561         * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
9562         (newsticker--process-auto-mark-filter-match): : Tell user about
9563         auto-marking.
9565 2011-05-13  Didier Verna  <didier@xemacs.org>
9567         Common Lisp indentation improvements on defmethod and lambda-lists.
9568         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
9569         TODO entries.
9570         (lisp-lambda-list-keyword-parameter-indentation)
9571         (lisp-lambda-list-keyword-parameter-alignment)
9572         (lisp-lambda-list-keyword-alignment): New customizable user options.
9573         (lisp-indent-defun-method): Improve docstring.
9574         (extended-loop-p): Fix comment.
9575         (lisp-indent-lambda-list-keywords-regexp): New variable.
9576         (lisp-indent-lambda-list): New function.
9577         (lisp-indent-259): Use it.
9578         (lisp-indent-defmethod): Support for more than one
9579         method qualifier and properly indent methods lambda-lists.
9580         (defgeneric): Provide a missing common-lisp-indent-function property.
9582 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9584         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
9585         bounds for the empty string (bug#8667).
9587 2011-05-13  Glenn Morris  <rgm@gnu.org>
9589         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
9591         * mail/sendmail.el (sendmail-program): Try executable-find first.
9592         (sendmail-send-it): `sendmail-program' cannot be unbound.
9594         * calendar/appt.el (appt-make-list): Simplify.
9595         (appt-time-msg-list): Doc fix.
9596         (appt-check): Change mode-line message at the time of the appointment.
9598 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9600         * progmodes/ld-script.el (ld-script-keywords)
9601         (ld-script-builtins): Update keywords list.
9603 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9605         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
9607         * shell.el (shell-completion-vars): New function.
9608         (shell-mode):
9609         * simple.el (read-shell-command): Use it.
9610         (blink-matching-open): No need for " [...]" in minibuffer-message.
9612 2011-05-12  Glenn Morris  <rgm@gnu.org>
9614         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
9615         (appt-check): Simplify.
9617 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
9619         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
9620         literal "/dev/null".
9622 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9624         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
9625         Fix typo.
9627 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
9629         * progmodes/which-func.el (which-function):
9630         Use add-log-current-defun instead of add-log-current-defun-function,
9631         which might not be defined (Bug#8260).
9633 2011-05-12  Glenn Morris  <rgm@gnu.org>
9635         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
9636         Let byte-compile-initial-macro-environment always take precedence.
9638 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9640         * net/rcirc.el: Add support for SSL/TLS connections.
9641         (rcirc-server-alist): New field `encryption'.
9642         (rcirc): Check `encryption' settings.
9643         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
9644         Merge make-local-variable into `set'.
9645         (rcirc--connection-open-p): New function.
9646         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
9647         the process is not a network process (e.g. running gnutls-cli).
9648         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
9649         Make rcirc-(en|de)code-coding-system local here.
9650         (rcirc-mode): Merge make-local-variable into `set'.
9651         (rcirc-parent-buffer): Make permanent buffer-local.
9652         (rcirc-multiline-minor-mode): Don't do it here.
9653         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
9654         there's no server buffer.
9656 2011-05-11  Glenn Morris  <rgm@gnu.org>
9658         * newcomment.el (comment-kill): Prefix "unused" local.
9660         * term/w32console.el (get-screen-color): Declare.
9662         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9663         Handle symbol elements of byte-compile-initial-macro-environment.
9665 2011-05-10  Leo Liu  <sdl.web@gmail.com>
9667         * bookmark.el (bookmark-bmenu-mode-map):
9668         Bind bookmark-bmenu-search to `/'.
9670         * mail/footnote.el: Convert to utf-8 encoding.
9671         (footnote-unicode-string, footnote-unicode-regexp): New variable.
9672         (Footnote-unicode): New function.
9673         (footnote-style-alist): Add unicode style to the list.
9674         (footnote-style): Doc fix.
9676 2011-05-10  Jim Meyering  <meyering@redhat.com>
9678         Fix doubled-word typos.
9679         * international/quail.el (quail-insert-kbd-layout): and and -> and
9680         * kermit.el: and and -> and
9681         * net/ldap.el (ldap-search-internal): to to -> to
9682         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
9683         * progmodes/js.el (js-mode): and and -> and
9684         * textmodes/artist.el (artist-move-to-xy): at at -> at
9685         (artist-draw-region-trim-line-endings): if if -> if
9686         And Safetyc -> Safety.
9687         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
9689 2011-05-10  Glenn Morris  <rgm@gnu.org>
9690             Stefan Monnier  <monnier@iro.umontreal.ca>
9692         * files.el (hack-one-local-variable-eval-safep):
9693         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
9695 2011-05-10  Glenn Morris  <rgm@gnu.org>
9697         * calendar/diary-lib.el (diary-list-entries-hook)
9698         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
9699         (diary-nongregorian-marking-hook, diary-list-entries)
9700         (diary-include-other-diary-files, diary-mark-entries)
9701         (diary-mark-included-diary-files): Doc fixes.
9703 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9705         * misc.el: Require tabulated-list.el during compilation.
9707 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9709         * progmodes/compile.el (compilation-start):
9710         Run compilation-filter-hook for the async case too.
9711         (compilation-filter-hook): Doc fix.
9713 2011-05-09  Deniz Dogan  <deniz@dogan.se>
9715         * wdired.el: Remove outdated installation comment.  Fix usage
9716         comment.
9718 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
9720         * misc.el: Implement new command `list-dynamic-libraries'.
9721         (list-dynamic-libraries--loaded-only-p): New variable.
9722         (list-dynamic-libraries--refresh): New function.
9723         (list-dynamic-libraries): New command.
9725 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
9727         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9728         Fix the ant regexp to handle end-line and end-column info from jikes.
9729         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
9730         higher priority to avoid clobbering by gnu.
9732 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9734         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
9735         if the face has existing theme settings (Bug#8454).
9737 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
9739         * progmodes/perl-mode.el (perl-imenu-generic-expression):
9740         Only match variables declared via `my' or `our' (Bug#8261).
9742         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
9743         special file names `.' and `..' (Bug#8259).
9745 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
9747         * progmodes/grep.el (grep-mode-font-lock-keywords):
9748         Remove buffer-changing entries.
9749         (grep-filter): New function.
9750         (grep-mode): Add it to compilation-filter-hook.
9752         * progmodes/compile.el (compilation-filter-hook)
9753         (compilation-filter-start): New defvars.
9754         (compilation-filter): Call compilation-filter-hook prior to
9755         updating the process mark.
9757 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9759         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
9761 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
9763         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
9764         mailclient-send-it even if window-system is nil.  (Bug#8595)
9766         * term/w32console.el (terminal-init-w32console):
9767         Call get-screen-color and use its output to set the frame
9768         background-mode.  (Bug#8597)
9770 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9772         Make bytecomp.el understand that defmethod defines funs (bug#8631).
9773         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
9774         New functions.
9775         (defgeneric, eieio--defmethod): Use them.
9776         (eieio-defgeneric): Remove.
9777         (defmethod): Call defgeneric in a way visible to the byte-compiler.
9779 2011-05-07  Glenn Morris  <rgm@gnu.org>
9781         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
9782         Use let rather than let*.
9783         (timeclock-find-discrep): Remove unused local.
9785         * calendar/diary-lib.el (diary-comment-start): Doc fix.
9787         * calendar/appt.el (appt-time-msg-list): Doc fix.
9789 2011-05-06  Noah Friedman  <friedman@splode.com>
9791         * apropos.el (apropos-print-doc): Only use
9792         emacs-lisp-docstring-fill-column when it is bound to an integer,
9793         per that variable's documentation.
9795 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9797         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
9798         and warnings are not silently discarded (e.g. use -d instead of -P).
9800 2011-05-06  Glenn Morris  <rgm@gnu.org>
9802         * calendar/appt.el (appt-message-warning-time): Doc fix.
9803         (appt-warning-time-regexp): New option.
9804         (appt-make-list): Respect appt-message-warning-time.
9806         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
9807         New options.
9808         (diary-add-to-list): Strip comments from the displayed string.
9809         (diary-mode): Set comment-start and comment-end.
9811         * vc/diff-mode.el (smerge-refine-subst): Declare.
9812         (diff-refine-hunk): Don't require smerge-mode when compiling.
9814 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
9816         * simple.el (list-processes): Return nil as the docstring says.
9818 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9820         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
9821         to "".
9822         (ange-ftp-write-region, ange-ftp-insert-file-contents)
9823         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
9824         determining of binary transfer.  (Bug#7383)
9826 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
9828         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9829         Fix port computation bug.  (Bug#8618)
9831 2011-05-05  Glenn Morris  <rgm@gnu.org>
9833         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
9835         * simple.el (shell-dynamic-complete-functions)
9836         (comint-dynamic-complete-functions): Declare.
9838         * net/network-stream.el (gnutls-negotiate):
9839         * simple.el (tabulated-list-print): Fix declarations.
9841         * progmodes/gud.el (syntax-symbol, syntax-point):
9842         Remove unnecessary and incorrect declarations.
9844         * emacs-lisp/check-declare.el (check-declare-scan):
9845         Handle byte-compile-initial-macro-environment in bytecomp.el
9847 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9849         Fix earlier half-done eieio-defmethod change (bug#8338).
9850         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
9851         Streamline and change calling convention.
9852         (defmethod): Adjust accordingly and simplify.
9853         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
9854         new eieio--defmethod.
9855         (slot-boundp): Minor CSE simplification.
9857 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
9859         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
9860         (glasses-make-readable): Use glasses-separate-capital-groups.
9862 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
9864         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
9865         (warning-series): Doc fix.
9866         (display-warning): Don't try to create the buffer if we just found it.
9868 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
9870         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
9871         (autoload-find-generated-file): New function.
9872         (generate-file-autoloads): Bind generated-autoload-file to
9873         buffer-file-name.
9874         (update-file-autoloads, update-directory-autoloads):
9875         Use autoload-find-generated-file.  If called interactively, prompt for
9876         output file (Bug#7989).
9877         (batch-update-autoloads): Doc fix.
9879 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
9881         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
9883 2011-05-04  Glenn Morris  <rgm@gnu.org>
9885         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
9886         function, so it follows changes in calendar-date-style.
9887         (diary-fancy-date-matcher): New function.
9888         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
9889         (diary-fancy-font-lock-fontify-region-function):
9890         Use diary-fancy-date-pattern as a function.
9892         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
9893         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
9895 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
9897         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
9898         instead of positional arguments.  Allow :keylist and :crlfiles
9899         arguments.
9900         (open-gnutls-stream): Call it.
9902         * net/network-stream.el (network-stream-open-starttls): Adjust to
9903         call `gnutls-negotiate' with :process and :hostname arguments.
9905 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9907         * minibuffer.el (completion--message): New function.
9908         (completion--do-completion, minibuffer-complete)
9909         (minibuffer-force-complete, minibuffer-complete-word): Use it.
9910         (completion--do-completion): Don't ignore completion-auto-help when in
9911         icomplete-mode.
9913         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
9914         internal encoding (e.g. tibetan zero is not whitespace).
9915         (global-whitespace-mode): Prefer save-current-buffer.
9916         (whitespace-trailing-regexp): Remove useless save-match-data.
9917         (whitespace-empty-at-bob-regexp): Minor simplification.
9919 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
9921         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9923 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9925         * textmodes/ispell.el (ispell-add-per-file-word-list):
9926         Use `concat' to create string for insertion.
9928 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9930         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9931         Avoid open-line which runs post-self-insert-hook.
9932         (bibtex-fill-entry): Remove unused `end' var.
9934 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
9936         * textmodes/ispell.el (ispell-add-per-file-word-list):
9937         Protect against `nil' value of `comment-start' (Bug#8579).
9939 2011-05-03  Leo Liu  <sdl.web@gmail.com>
9941         * isearch.el (isearch-yank-pop): New command.
9942         (isearch-mode-map): Bind it to `M-y'.
9943         (isearch-forward): Mention it.
9945 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9947         * simple.el (minibuffer-complete-shell-command): Remove.
9948         (minibuffer-local-shell-command-map): Use completion-at-point.
9949         (read-shell-command): Setup completion vars here instead.
9950         (read-expression-map): Bind TAB to symbol completion.
9952         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9953         error directly rather via storing it into `results'.
9955 2011-05-02  Leo Liu  <sdl.web@gmail.com>
9957         * vc/diff.el: Fix description.
9959 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9961         * server.el (server-eval-at): New function.
9963 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9965         * net/network-stream.el (open-network-stream): Take a :nowait
9966         parameter and pass it on to `make-network-process'.
9967         (network-stream-open-plain): Ditto.
9969 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9971         * faces.el (face-spec-set-match-display): Don't match toolkit
9972         options on terminal frames.
9974 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9976         * progmodes/pascal.el: Use lexical binding.
9977         (pascal-mode-map): Remove author preferences.
9979         * pcomplete.el (pcomplete-std-complete): Don't abuse
9980         completion-at-point.
9982 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
9984         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9985         removing code that has been dead since 1991 or so.
9987         * startup.el (command-line): When warning about "_emacs", use a
9988         delayed warning to allow the user to filter it out.
9990 2011-04-28  Deniz Dogan  <deniz@dogan.se>
9992         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9993         user has not joined.
9995 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9997         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9998         aren't any completions at point.
10000 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
10002         * subr.el (display-delayed-warnings): New function.
10003         (delayed-warnings-hook): New variable.
10005 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10007         * minibuffer.el (completion-at-point, completion-help-at-point):
10008         Don't presume that a given completion-at-point-function will always
10009         use the same calling convention.
10011         * pcomplete.el (pcomplete-completions-at-point):
10012         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
10013         pcomplete-seen is non-nil.
10014         (pcomplete-comint-setup): Also recognize the new comint/shell
10015         completion functions.
10016         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10017         pcomplete-seen is non-nil.
10019 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
10021         * calendar/icalendar.el (diary-lib): Add require statement.
10022         (icalendar--create-uid): Read out a uid from a text-property on
10023         the first character in the entry.  This allows for code to add its
10024         own uid to the entry.
10025         (icalendar--convert-float-to-ical): Add export of
10026         `diary-float'-entries save for those with the optional DAY
10027         argument.
10029 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
10031         * subr.el (shell-quote-argument): Use alternate escaping strategy
10032         when we spot a variable reference in a string.
10034 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10036         * cus-start.el (all): Define customization for debug-on-event.
10038 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
10040         * subr.el (shell-quote-argument): Escape correctly under Windows.
10042 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10044         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10046 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
10048         * net/tramp.el (tramp-process-actions): Add POS argument.
10049         Delete region between POS and (pos).
10051         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10052         Use `nil' position in `tramp-process-actions' call.
10053         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10055         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10056         position in `tramp-process-actions' call.
10058         * net/trampver.el: Update release number.
10060 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10062         * custom.el (defcustom): Obey lexical-binding.
10064         Fix octave-inf completion problems reported by Alexander Klimov.
10065         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10066         Inherit from octave-mode-syntax-table.
10067         (inferior-octave-mode): Set info-lookup-mode.
10068         (inferior-octave-completion-at-point): New function.
10069         (inferior-octave-complete): Use it and completion-in-region.
10070         (inferior-octave-dynamic-complete-functions): Use it as well, and use
10071         comint-filename-completion.
10072         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10073         symbol elements which shouldn't be word elements.
10074         (octave-font-lock-keywords, octave-beginning-of-defun)
10075         (octave-function-header-regexp): Adjust regexps accordingly.
10076         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10078 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
10080         * net/gnutls.el (gnutls-errorp): Declare before first use.
10082 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
10084         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10085         verify-error, and verify-hostname-error parameters.  Check whether
10086         default trustfile exists before going to use it.  Add missing
10087         argument to gnutls-message-maybe call.  Return value.
10088         Reported by Claudio Bley <claudio.bley@gmail.com>.
10089         (open-gnutls-stream): Add usage example.
10091         * net/network-stream.el (network-stream-open-starttls): Give host
10092         parameter to `gnutls-negotiate'.
10093         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
10094         * subr.el (shell-quote-argument): Escape correctly under Windows.
10096 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
10098         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10099         Use correct match group (bug#8438).
10101 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10103         * emacs-lisp/package.el (package-built-in-p): Fix typo.
10104         (package-menu--generate): New arg specifying packages to show.
10105         (package-menu-refresh, package-menu-execute, list-packages):
10106         Callers changed.
10107         (package-show-package-list): New function, replacing deleted
10108         package--list-packages (renamed because it is non-internal).
10110         * finder.el (finder-list-matches): Use package-show-package-list
10111         instead of deleted package--list-packages.
10113         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10114         Based on a previous implementation by Juanma Barranquero (Bug#8366).
10115         (vc-annotate-mode-map): Bind it to RET.
10117 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10119         * progmodes/etags.el (next-file): Don't use set-buffer to change
10120         buffers (Bug#8478).
10122 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
10124         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10126         * apropos.el (apropos-label-face): Avoid variable-pitch face.
10127         (apropos-accumulator): Doc fix.
10128         (apropos-function, apropos-macro, apropos-command)
10129         (apropos-variable, apropos-face, apropos-group, apropos-widget)
10130         (apropos-plist): Add face property.
10131         (apropos-symbols-internal): Fix indentation.
10132         (apropos-print): Simplify help, and recognize apropos-multi-type.
10133         (apropos-print-doc): Use button-type-get to extract the button's
10134         face property.  Fill docstring (Bug#8352).
10136 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
10138         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
10140         * play/mpuz.el (mpuz-silent): Doc fix.
10141         (mpuz-mode-map): Use mapc.
10142         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
10143         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
10144         Fix typos in docstrings.
10146         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
10147         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
10149         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
10151 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
10153         * minibuffer.el (completion--do-completion): Avoid the "Next char
10154         not unique" prompt if icomplete-mode is enabled (Bug#5849).
10156         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
10157         mouse-2 into unread-command-events, it is interpreted correctly.
10159         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
10160         (image-toggle-display): Doc fix.
10162 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
10164         * textmodes/page.el (what-page): Use line-number-at-pos to
10165         calculate line number (Bug#6825).
10167 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10169         * eshell/esh-mode.el (find-tag-interactive): Declare function.
10170         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
10171         Pass argument NO-DEFAULT to `find-tag-interactive'.
10173 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
10175         Lexical-binding cleanup.
10177         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
10178         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
10179         * progmodes/ada-prj.el (ada-prj-initialize-values)
10180         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
10181         (ada-prj-show-value):
10182         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
10183         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
10184         (antlr-invalidate-context-cache, antlr-options-menu-filter)
10185         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
10186         * progmodes/bug-reference.el (bug-reference-push-button):
10187         * progmodes/fortran.el (fortran-line-length):
10188         * progmodes/glasses.el (glasses-change):
10189         * progmodes/octave-mod.el (octave-fill-paragraph):
10190         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
10191         (python-pdbtrack-grub-for-buffer, python-sentinel):
10192         * progmodes/sql.el (sql-save-connection):
10193         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
10194         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
10195         Mark unused parameters.
10197         * progmodes/compile.el (compilation--flush-directory-cache)
10198         (compilation--flush-parse, compile-internal): Mark unused parameters.
10199         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
10200         (compilation-next-error-function): Remove unused variable `timestamp'.
10202         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
10203         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
10205         * progmodes/dcl-mode.el (dcl-end-of-command):
10206         Remove unused variable `start'.
10207         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
10208         (dcl-option-value-basic, dcl-option-value-offset)
10209         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
10210         Mark unused parameters.
10211         (dcl-save-local-variable): Remove unused variable `val'.
10212         (mode): Declare.
10214         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
10215         Mark unused parameters.
10216         (delphi-ignore-changes): Move before first use.
10217         (delphi-charset-token-at): Remove unused variable `start'.
10218         (delphi-else-start): Remove unused variable `if-count'.
10219         (delphi-comment-block-start, delphi-comment-block-end):
10220         Remove unused variable `kind'.
10221         (delphi-indent-line): Remove unused variable `new-point'.
10223         * progmodes/ebrowse.el (ebrowse-files-list)
10224         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
10225         Mark unused parameters.  Don't quote `lambda'.
10226         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
10227         Don't quote `lambda'.
10228         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
10229         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
10230         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
10231         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
10232         Use `ignore-errors'.
10233         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
10234         (ebrowse-view/find-file-and-search-pattern)
10235         (ebrowse-view/find-member-declaration/definition):
10236         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
10237         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
10238         Rename parameter PREFIX-ARG to PREFIX.
10239         (ebrowse-tags-read-name): Remove unused variables `start' and
10240         `member-info'.
10241         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
10242         to `tags-file'.
10244         * progmodes/etags.el (local-find-tag-hook): Declare.
10245         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
10246         Mark unused parameters.
10248         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
10249         (executable-interpret): Mark unused parameter.
10251         * progmodes/flymake.el (flymake-process-sentinel)
10252         (flymake-after-change-function)
10253         (flymake-create-temp-with-folder-structure)
10254         (flymake-get-include-dirs-dot): Mark unused parameters.
10255         (flymake-safe-delete-directory): Remove unused variable `err'.
10257         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
10258         (speedbar-timer-fn, speedbar-line-text)
10259         (speedbar-change-expand-button-char, speedbar-delete-subblock)
10260         (speedbar-center-buffer-smartly): Declare functions.
10261         (gdb-find-watch-expression): Remove unused variable `array'.
10262         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
10263         (gdb-starting): Mark unused parameters.
10264         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
10265         (gdb-table-string): Remove unused variable `res'.
10266         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
10267         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
10268         (gdb-display-buffer): Remove unused variable `cur-size'.
10270         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
10271         allow lexical-binding compilation.
10272         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
10273         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
10274         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
10275         Mark unused parameters.
10276         (gud-gdb-marker-filter): Remove unused variable `match'.
10277         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
10278         lambda expressions and funcall them, instead of using `fset'.
10280         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
10281         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
10283         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
10284         variable `header-beg'; use `let'.
10286         * progmodes/icon.el (indent-icon-exp): Remove unused variables
10287         `restart', `last-sexp' and `at-do'.
10289         * progmodes/js.el (js--debug): Mark unused parameter.
10290         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
10291         (js--splice-into-items): Remove unused variable `item'.
10292         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
10294         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
10295         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
10296         (makefile-complete): Remove unused variable `try'.
10297         (makefile-fill-paragraph, makefile-match-function-end):
10298         Mark unused parameters.
10300         * progmodes/octave-inf.el (inferior-octave-complete):
10301         Remove unused variable `proc'.
10302         (inferior-octave-output-digest): Mark unused parameter.
10304         * progmodes/perl-mode.el (perl-calculate-indent):
10305         Remove unused variable `err'.
10307         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
10308         (prolog-indent-line): Mark unused parameters.
10309         (prolog-indent-line): Remove unused variable `beg'.
10311         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
10312         (reporter-dont-compact-list): Declare.
10314         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
10315         Remove unused variable `char'.
10316         (sh-debug): Mark unused parameter.
10317         (sh-get-indent-info): Remove unused variable `start'.
10318         (sh-calculate-indent): Remove unused variable `var'.
10320         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
10321         (simula-electric-keyword): Remove unused variable `null'.
10322         (simula-search-backward, simula-search-forward): Remove unused
10323         variables `begin' and `end'.
10325         * progmodes/vera-mode.el (vera-guess-basic-syntax):
10326         Remove unused variable `pos'.
10327         (vera-electric-tab, vera-comment-uncomment-region):
10328         Mark unused parameters.
10329         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
10331 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
10333         * emacs-lisp/package.el (package--builtins, package-alist)
10334         (package-load-descriptor, package-built-in-p, package-activate)
10335         (define-package, package-installed-p)
10336         (package-compute-transaction, package-buffer-info)
10337         (package--push): Doc fix.  Distinguish more clearly between
10338         version strings and version lists.
10340 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
10342         Lexical-binding cleanup.
10344         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
10345         (5x5-make-mutate-best):
10346         * play/fortune.el (fortune-in-buffer):
10347         * play/gomoku.el (gomoku-init-display):
10348         * play/solitaire.el (solitaire, solitaire-do-check):
10349         * play/tetris.el (tetris-default-update-speed-function):
10350         Mark unused parameters.
10352         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
10353         (bubbles--shift): Remove unused variable `char-org'.
10354         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
10355         (bubbles--show-images): Remove unused variable `char'.
10357         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
10358         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
10359         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
10360         (decipher-analyze-buffer): Use ?\s.
10361         (decipher-make-checkpoint): Remove unused variable `mapping'.
10363         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
10365         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
10366         Remove unused variable `result'; use `let'.
10368         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
10369         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
10370         (gametree-children-shown-p, gametree-compute-reduced-score):
10371         Use `ignore-errors'.
10373         * play/handwrite.el (ps-lpr-switches): Declare.
10374         (handwrite): Remove unused variables `pmin' and `lastp'.
10376         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
10378         * play/landmark.el (landmark-init-display)
10379         (landmark-update-naught-weights): Mark unused parameters.
10380         (landmark-y): Remove unused variable `noise'.  Simplify.
10381         (landmark-human-plays): Remove unused variable `score'.
10383         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
10384         (mpuz-try-proposal): Remove unused variable `game'.
10386         * play/zone.el (life-patterns): Declare.
10388 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
10390         * vc/vc.el (ediff-vc-internal): Declare function.
10392 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10394         * shell.el: Use lexical-binding and std completion UI.
10395         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
10396         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
10397         comint-preoutput-filter-functions rather than on
10398         comint-output-filter-functions.
10399         (shell-command-completion, shell--command-completion-data)
10400         (shell-filename-completion, shell-environment-variable-completion)
10401         (shell-c-a-p-replace-by-expanded-directory): New functions.
10402         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
10403         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
10404         (shell-dynamic-complete-environment-variable): Use them.
10405         (shell-dynamic-complete-as-environment-variable)
10406         (shell-dynamic-complete-as-command): Remove.
10407         (shell-match-partial-variable): Match past point.
10408         * comint.el: Clean up use of completion-at-point-functions.
10409         (comint-completion-at-point): New function.
10410         (comint-mode): Use it completion-at-point-functions.
10411         (comint-dynamic-complete): Make it obsolete.
10412         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
10413         (comint-c-a-p-replace-by-expanded-history): New function.
10414         (comint-dynamic-complete-functions)
10415         (comint-replace-by-expanded-history): Use it.
10416         * minibuffer.el (completion-table-with-terminator): Allow dynamic
10417         termination strings.  Try harder to avoid second try-completion.
10418         (completion-in-region-mode-map): Disable bindings that don't work yet.
10420         * comint.el: Use lexical-binding.  Require CL.
10421         (comint-dynamic-complete-functions): Use comint-filename-completion.
10422         (comint-completion-addsuffix): Tweak custom type.
10423         (comint-filename-completion, comint--common-suffix)
10424         (comint--common-quoted-suffix, comint--table-subvert)
10425         (comint--complete-file-name-data): New functions.
10426         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
10427         (comint-dynamic-list-filename-completions): Use them.
10428         (comint-dynamic-simple-complete): Make obsolete.
10430         * minibuffer.el (completion-in-region-mode):
10431         Keep completion-in-region-mode--predicate global.
10432         (completion-in-region--postch):
10433         Assume completion-in-region-mode--predicate is not null.
10435         * progmodes/flymake.el (flymake-start-syntax-check-process):
10436         Obey `dir'.  Simplify.
10438         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
10439         we're in VC after all.
10441 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
10443         * vc/vc.el (vc-diff-build-argument-list-internal)
10444         (vc-version-ediff, vc-ediff): New commands.
10445         (vc-version-diff): Use vc-diff-build-argument-list-internal.
10447 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10449         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
10450         add sanity check.
10452         * obsolete/erc-hecomplete.el: Make obsolete.
10453         * obsolete/: Standardize obsolescence info in the header.
10455 2011-04-20  Glenn Morris  <rgm@gnu.org>
10457         * calendar/solar.el (solar-horizontal-coordinates):
10458         Use the longitude argument rather than `calendar-longitude'.
10459         (solar-date-next-longitude): Remove unused locals.
10461 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10463         * whitespace.el: New version 13.2.1.
10465 2011-04-20  felix  <EmacsWiki>  (tiny change)
10467         * whitespace.el (global-whitespace-mode): Keep highlight when
10468         switching between major modes on a file.
10470 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10472         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
10473         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
10474         multi-line comments as well.
10476 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
10478         Lexical-binding cleanup.
10480         * arc-mode.el (archive-mode-revert):
10481         * cmuscheme.el (scheme-interactively-start-process):
10482         * custom.el (custom-initialize-delay):
10483         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
10484         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
10485         * emacs-lock.el (emacs-lock-clear-sentinel):
10486         * ezimage.el (defezimage):
10487         * follow.el (follow-avoid-tail-recenter):
10488         * fringe.el (set-fringe-mode-1):
10489         * generic-x.el (bat-generic-mode-compile):
10490         * help-mode.el (help-info-variable, help-do-xref)
10491         (help-mode-revert-buffer):
10492         * help.el (view-emacs-todo):
10493         * iswitchb.el (iswitchb-completion-help):
10494         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
10495         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
10496         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
10497         * locate.el (locate-update):
10498         * longlines.el (longlines-encode-region)
10499         (longlines-after-change-function):
10500         * outline.el (outline-isearch-open-invisible):
10501         * ps-def.el (declare-function, charset-dimension, char-width)
10502         (encode-char):
10503         * ps-mule.el (ps-mule-plot-string):
10504         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
10505         (recentf-edit-list-select, recentf-edit-list-validate)
10506         (recentf-open-files-action):
10507         * rect.el (delete-whitespace-rectangle-line)
10508         (rectangle-number-line-callback):
10509         * register.el (window-configuration-to-register)
10510         (frame-configuration-to-register):
10511         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
10512         * select.el (xselect-convert-to-string, xselect-convert-to-length)
10513         (xselect-convert-to-targets, xselect-convert-to-delete)
10514         (xselect-convert-to-filename, xselect-convert-to-charpos)
10515         (xselect-convert-to-lineno, xselect-convert-to-colno)
10516         (xselect-convert-to-os, xselect-convert-to-host)
10517         (xselect-convert-to-user, xselect-convert-to-class)
10518         (xselect-convert-to-name, xselect-convert-to-integer)
10519         (xselect-convert-to-atom, xselect-convert-to-identity):
10520         * subr.el (declare, ignore, process-kill-without-query)
10521         (text-clone-maintain):
10522         * terminal.el (te-get-char, te-tic-sentinel):
10523         * tool-bar.el (tool-bar-make-keymap):
10524         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
10525         * type-break.el (type-break-mode, type-break-noninteractive-query):
10526         * view.el (View-back-to-mark):
10527         * wid-browse.el (widget-browse-action, widget-browse-widget)
10528         (widget-browse-widgets, widget-browse-sexp):
10529         * widget.el (define-widget-keywords):
10530         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
10531         Mark unused parameters.
10533         * align.el (align-adjust-col-for-rule): Mark unused parameter.
10534         (align-areas): Remove unused variable `look'.
10535         (align-region): Remove unused variables `real-end' and `pos-list'.
10537         * apropos.el (apropos-score-doc): Remove unused variable `i'.
10539         * bindings.el (mode-line-modified, mode-line-remote):
10540         Mark unused parameters.
10541         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
10543         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
10544         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
10546         * comint.el (comint-history-isearch-pop-state)
10547         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
10548         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
10549         (comint-substitute-in-file-name): Doc fix.
10551         * completion.el (cmpl-statistics-block): Mark unused parameter.
10552         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
10553         (save-completions-to-file, load-completions-from-file):
10554         Remove unused local variable `e'.
10556         * composite.el (compose-chars): Remove unused variable `len'.
10557         (lgstring-insert-glyph): Remove unused variable `g'.
10558         (compose-glyph-string): Remove unused variables `ascent',
10559         `descent', `lbearing' and `rbearing'.
10560         (compose-glyph-string-relative): Remove unused variables
10561         `lbearing', `rbearing' and `wadjust'.
10562         (compose-gstring-for-graphic): Remove unused variables `header',
10563         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
10564         (compose-gstring-for-terminal): Remove unused variables `header'
10565         and `nchars'.  Use `let', not `let*'.
10567         * cus-edit.el (Custom-set, Custom-save, custom-reset)
10568         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
10569         (Custom-buffer-done, custom-buffer-create-internal)
10570         (custom-browse-visibility-action, custom-browse-group-tag-action)
10571         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
10572         (widget-magic-mouse-down-action, custom-toggle-parent)
10573         (custom-add-parent-links, custom-toggle-hide-variable)
10574         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
10575         (custom-toggle-hide-face, face, hook, custom-group-link-action)
10576         (custom-face-menu-create, custom-variable-menu-create, get)
10577         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
10578         (custom-reset-standard-save-and-update): Remove unused variable `value'.
10579         (customize-apropos): Remove unused variable `tests'.
10580         (custom-group-value-create): Remove unused variable `hidden-p'.
10581         (sort-fold-case): Declare.
10583         * cus-theme.el (custom-reset-standard-faces-list)
10584         (custom-reset-standard-variables-list): Declare.
10585         (customize-create-theme, custom-theme-revert, custom-theme-write)
10586         (custom-theme-choose-mode, customize-themes, custom-theme-save):
10587         Mark unused parameters.
10589         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
10591         * delim-col.el (delimit-columns-max): Move defvar before first use.
10593         * descr-text.el (describe-char-categories): Don't quote `lambda'.
10594         (describe-char): Don't quote `lambda'.  Mark unused parameter.
10596         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
10597         (auto-insert): Declare.
10598         (desktop-restore-file-buffer): Rename desktop-* parameters;
10599         mark unused ones.
10600         (desktop-create-buffer): Rename desktop-* parameters and bind them.
10601         (desktop-buffer): Rename desktop-* parameters.
10603         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10604         (dframe-reposition-frame-xemacs, dframe-help-echo)
10605         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
10606         Mark unused parameters.
10608         * dired-aux.el (backup-extract-version-start, overwrite-query)
10609         (overwrite-backup-query, rename-regexp-query)
10610         (rename-non-directory-query): Declare.
10611         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
10612         (dired-add-entry): Remove unused variable `orig-file-name'.
10613         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
10614         Use parameter PRESERVE-TIME instead of accessing dynamic variable
10615         `dired-copy-preserve-time' directly.
10616         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
10617         (dired-insert-subdir-newpos): Rename unused variable `pos'.
10619         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
10620         (dired-virtual-revert, dired-make-relative-symlink):
10621         Mark unused parameters.
10622         (manual-program): Declare.
10623         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
10624         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
10625         wrapped in `with-no-warnings' to avoid replacing one warning by another.
10627         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
10629         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
10631         * echistory.el (electric-history-in-progress, Helper-return-blurb):
10632         Declare.
10634         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
10636         * electric.el (Electric-command-loop): Rename parameter
10637         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
10639         * expand.el (expand-in-literal): Remove unused variable `here'.
10641         * facemenu.el (facemenu-add-new-color):
10642         Remove unused variable `docstring'.
10644         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
10645         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
10646         (face-attr-construct): Mark unused parameter.  Doc fix.
10647         (read-color): Remove unused variable `hex-string'.
10649         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
10650         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
10651         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
10652         (display-buffer-other-frame): Remove unused variable `old-window'.
10653         (kill-buffer-hook): Declare.
10654         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
10655         Mark unused parameters.
10656         (after-find-file): Pass 1 to `auto-save-mode', not t.
10658         * files-x.el (auto-insert): Declare.
10659         (modify-file-local-variable-prop-line): Remove unused variable `val'.
10661         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
10662         variable `buf'.  Mark unused parameter.
10663         (find-lisp-insert-directory): Mark unused parameter.
10665         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
10666         (format-encode-region): Remove unused variables `cur-buf' and `result'.
10667         (format-common-tail): Remove, unused.
10668         (format-deannotate-region): Remove unused variable `loc'.
10669         (format-annotate-region): Remove unused variable `p'.
10670         (format-annotate-single-property-change): Remove unused variables
10671         `default' and `tail'.
10673         * forms.el (read-file-filter): Declare.
10674         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
10676         * frame.el (frame-creation-function-alist): Mark unused parameter.
10677         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
10679         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
10680         Remove unused parameters.
10681         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
10682         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
10684         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
10685         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
10686         (hfy-prepare-tag-map): Mark unused parameters.
10687         (htmlfontify-buffer): Use `called-interactively-p'.
10689         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
10690         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
10691         (ibuffer-do-occur): Mark unused parameters.
10692         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
10693         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
10695         * ibuffer.el: Don't quote `lambda'.
10696         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
10697         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
10698         Mark unused parameters.
10700         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
10701         (ido-completing-read): Mark unused parameters.
10702         (ido-copy-current-word): Mark unused parameters;
10703         remove unused variable `name'.
10704         (ido-sort-merged-list): Remove unused parameter `dirs'.
10706         * ielm.el (ielm-input-sender): Mark unused parameter.
10707         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
10708         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
10709         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
10710         `ielm-string' as a dynamic variable accessible from the IELM prompt.
10711         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
10713         * image-dired.el (image-dired-display-thumbs): Remove unused
10714         variables `curr-file' and `count'.
10715         (image-dired-remove-tag): Remove unused variable `start'.
10716         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
10717         variable `curr-file'
10718         (image-dired-rotate-original): Remove unused variable `temp-file'.
10719         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
10720         Remove unused variable `file'.
10721         (image-dired-gallery-generate): Remove unused variable `curr'.
10722         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
10724         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
10726         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
10728         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
10730         * isearch.el (minibuffer-history-symbol): Declare.
10731         (isearch-edit-string): Remove unused variable `err'.
10732         (isearch-message-prefix, isearch-message-suffix):
10733         Mark unused parameters.
10735         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
10737         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
10739         * makesum.el (double-column): Remove unused variable `cnt'.
10741         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
10742         (ido-ignore-item-temp-list): Declare.
10744         * mouse-drag.el (mouse-drag-throw): Remove unused variables
10745         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
10746         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
10747         (mouse-drag-drag): Remove unused variables `mouse-delta' and
10748         `mouse-col-delta'.
10750         * mouse-sel.el (mouse-extend-internal):
10751         Remove unused variable `orig-window-frame'.
10753         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
10754         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
10755         Move declarations before first use.
10756         (pcomplete-opt): Mark unused parameters; doc fix.
10758         * proced.el (proced-revert): Mark unused parameter.
10759         (proced-send-signal): Remove unused variable `err'.
10761         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
10762         Rename parameter PREFIX-ARG to ARG.
10763         (ps-basic-plot-string, ps-basic-plot-whitespace):
10764         Mark unused parameters.
10766         * replace.el (replace-count): Define.
10767         (occur-revert-function): Mark unused parameters.
10768         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
10769         (isearch-case-fold-search, isearch-string): Declare.
10770         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
10771         bind `case-fold-search'.  Remove unused variables `beg' and `end',
10772         and simplify.
10773         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
10774         COUNT and bind `replace-count'.
10775         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
10776         to COUNT.
10778         * savehist.el (print-readably, print-string-length): Declare.
10780         * shadowfile.el (shadow-expand-cluster-in-file-name):
10781         Remove unused variable `cluster'.
10782         (shadow-copy-file): Remove unused variable `i'.
10783         (shadow-noquery, shadow-clusters, shadow-site-cluster)
10784         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
10785         (shadow-define-literal-group, shadow-define-regexp-group)
10786         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
10788         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
10789         (shell): Use `called-interactively-p'.
10790         (shell-directory-tracker): Remove unused variable `chdir-failure'.
10792         * simple.el (compilation-context-lines, comint-file-name-quote-list)
10793         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
10794         (delete-backward-char): Remove unused variable `ocol'.
10795         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
10796         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
10797         (event-apply-hyper-modifier, event-apply-shift-modifier)
10798         (event-apply-control-modifier, event-apply-meta-modifier):
10799         Mark unused parameters.
10800         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
10801         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
10803         * speedbar.el (speedbar-ignored-directory-expressions)
10804         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
10805         (speedbar-find-file, speedbar-dir-follow)
10806         (speedbar-directory-buttons-follow, speedbar-tag-find)
10807         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
10808         (speedbar-buffers-line-directory, speedbar-buffer-click):
10809         Mark unused parameters.
10810         (speedbar-tag-file): Remove unused variable `mode'.
10811         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
10813         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
10815         * talk.el (talk): Remove unused variable `display'.
10817         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
10818         (tar-write-region-annotate): Mark unused parameter.
10820         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
10821         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
10822         Declare them, wrapped in `with-no-warnings' to avoid replacing one
10823         warning by another.
10825         * time-stamp.el (time-stamp-string-preprocess):
10826         Remove unused variable `require-padding'.
10828         * tree-widget.el (widget-glyph-enable): Declare.
10829         (tree-widget-action): Mark unused parameter.
10831         * w32-fns.el (x-get-selection): Mark unused parameter.
10832         (autoload-make-program, generated-autoload-file): Declare.
10834         * wdired.el (wdired-revert): Mark unused parameters.
10835         (wdired-xcase-word): Remove unused variable `err'.
10837         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
10838         (whitespace-help-scroll): Remove unused variable `data-help'.
10840         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
10841         (widget-image-insert, widget-after-change, default)
10842         (widget-default-format-handler, widget-default-notify)
10843         (widget-default-prompt-value, widget-info-link-action)
10844         (widget-url-link-action, widget-function-link-action)
10845         (widget-variable-link-action, widget-file-link-action)
10846         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
10847         (widget-field-prompt-internal, widget-field-action, widget-field-match)
10848         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
10849         (widget-insert-button-action, widget-delete-button-action, visibility)
10850         (widget-documentation-link-action, widget-documentation-string-action)
10851         (widget-const-prompt-value, widget-regexp-match, symbol)
10852         (widget-coding-system-prompt-value)
10853         (widget-key-sequence-value-to-external, sexp)
10854         (widget-sexp-value-to-internal, character, vector, cons)
10855         (widget-choice-prompt-value, widget-boolean-prompt-value)
10856         (widget-color--choose-action): Mark unused parameters.
10857         (widget-item-match-inline, widget-choice-match-inline)
10858         (widget-checklist-match, widget-checklist-match-inline)
10859         (widget-group-match): Rename parameter VALUES to VALS.
10860         (widget-field-value-set): Remove unused variable `size'.
10861         (widget-color-action): Remove unused variables `value' and `start'.
10863         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
10864         variable `dir'.  Doc fix.
10865         (windmove-find-other-window): Don't pass it.
10867         * window.el (count-windows): Mark unused parameter.
10868         (bw-adjust-window): Remove unused variable `err'.
10870         * woman.el (woman-file-name): Remove unused variable `default'.
10871         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
10872         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
10873         (global-font-lock-mode): Declare.
10874         (woman-decode-region): Mark unused parameter.
10875         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
10877         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
10878         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
10879         (x-dnd-handle-moz-url): Remove unused variable `title'.
10880         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
10882         * xml.el (xml-parse-tag, xml-parse-attlist):
10883         Remove unused variable `pos'.
10885 2011-04-19  Glenn Morris  <rgm@gnu.org>
10887         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
10888         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
10889         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10890         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
10891         * calendar/cal-html.el (cal-html-insert-minical):
10892         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
10893         (calendar-mark-date-pattern):
10894         Prefix "unused" locals.
10896         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
10897         optional argument `style'.
10899         * calendar/appt.el (appt-make-list):
10900         * calendar/cal-china.el (calendar-chinese-date-string):
10901         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
10902         (diary-hebrew-yahrzeit):
10903         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
10904         * calendar/calendar.el (calendar-generate-window):
10905         * calendar/time-date.el (time-to-days):
10906         Remove unused local variables.
10908 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
10910         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
10911         glyphless-char-display table.
10912         (tabulated-list-glyphless-char-display): New var.
10914 2011-04-18  Sam Steingold  <sds@gnu.org>
10916         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10917         to acknowledgments.
10919 2011-04-17  Glenn Morris  <rgm@gnu.org>
10921         * calendar/diary-lib.el (diary-sexp-entry):
10922         * calendar/holidays.el (holiday-sexp):
10923         Set debug-on-error rather than the removed stack-trace-on-error.
10925 2011-04-16  Glenn Morris  <rgm@gnu.org>
10927         * progmodes/f90.el: Use lexical-binding.
10928         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10930 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10932         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10933         (mail-mode): Setup mailalias completion here instead.
10934         * mail/mailalias.el: Use lexical-binding.
10935         (pattern, mailalias-done): Declare dynamic.
10936         (mail-completion-at-point-function): New function, from mail-complete.
10937         (mail-complete): Use it.
10938         (mail-completion-expand): New function.
10939         (mail-get-names): Use it.
10940         (mail-directory, mail-directory-process, mail-directory-stream):
10941         Don't use `pattern' for lexically bound arg.
10943         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10945         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10946         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10947         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10949         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10950         (byte-save-window-excursion, byte-temp-output-buffer-setup)
10951         (byte-interactive-p): Define them again, for use when inlining
10952         old code.
10954 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
10956         * loadup.el: Use `string-to-number', not `string-to-int'.
10958 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10960         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10961         gud-gdb-complete-command.
10962         (gud-gdb-completions): New function, from gud-gdb-complete-command.
10963         (gud-gdb-completion-at-point): New function.
10964         (gud-gdb-completions): Remove.
10966 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
10968         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10969         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
10970         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10971         whether `executable-find' is bound.
10973         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10975 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10977         * minibuffer.el (completion-in-region-mode-predicate)
10978         (completion-in-region-mode--predicate): New vars.
10979         (completion-in-region, completion-in-region--postch)
10980         (completion-in-region-mode): Use them.
10981         (completion--capf-wrapper): Also return the hook function.
10982         (completion-at-point, completion-help-at-point):
10983         Adjust and provide a predicate.
10985         Preserve arg names for advice of subr and lexical functions (bug#8457).
10986         * help-fns.el (help-function-arglist): Consolidate the subr and
10987         new-byte-code cases.  Add argument `preserve-names' to extract names
10988         from the docstring when needed.
10989         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10990         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10991         (ad-arglist): Use help-function-arglist's new arg.
10992         (ad-definition-type): Use cond.
10994 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
10996         * autorevert.el (auto-revert-handler):
10997         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10998         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10999         Don't quote lambda.
11001         * image-mode.el (image-transform-set-scale):
11002         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11004 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11006         * net/network-stream.el (network-stream-open-starttls): Only do
11007         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
11008         Upgrades via gnutls-cli are too slow to be done opportunistically.
11010 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
11012         * dframe.el (dframe-current-frame): Remove spurious quote.
11014 2011-04-12  Glenn Morris  <rgm@gnu.org>
11016         * calendar/cal-tex.el (cal-tex-end-document):
11017         Try to automatically use latin1 input if needed.
11019         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11020         Don't try to cons a mark onto an empty element.
11022 2011-04-11  Leo Liu  <sdl.web@gmail.com>
11024         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11025         buffers.
11026         (ido-kill-buffer-at-head): Support killing virtual buffers.
11028 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
11030         * minibuffer.el (completion-show-inline-help): New var.
11031         (completion--do-completion, minibuffer-complete)
11032         (minibuffer-force-complete, minibuffer-complete-word):
11033         Inhibit minibuffer messages if completion-show-inline-help is nil.
11035         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11036         to avoid interference from inline help (Bug#5849).
11038 2011-04-10  Leo Liu  <sdl.web@gmail.com>
11040         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11041         Fix typo.
11043 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
11045         * image-mode.el (image-toggle-display-image): Signal an error if
11046         not in Image mode.
11047         (image-transform-mode, image-transform-resize)
11048         (image-transform-set-rotation): Doc fix.
11049         (image-transform-set-resize): Delete.
11050         (image-transform-set-scale, image-transform-fit-to-height)
11051         (image-transform-fit-to-width): Handle image-toggle-display-image
11052         and image-transform-resize directly.
11054 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
11056         * doc-view.el (doc-view-fit-width-to-window)
11057         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11058         New functions for fitting the shown image to the Emacs window size.
11059         (doc-view-mode-map): Add bindings for the new functions.
11061 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
11063         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
11064         Fix typo in docstring.
11066 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11068         * files.el (file-size-human-readable): Produce one digit after
11069         decimal, like "ls -lh" does.
11071         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11072         the file size representation.
11074         * simple.el (list-processes): If async subprocesses are not
11075         available, error out with a clear error message.
11077 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
11079         * help.el (help-form-show): New function, to be called from C.
11080         Put help-form output in a buffer named differently than *Help*.
11082 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
11084         * files.el (file-size-human-readable): New function.
11086         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11087         computing the representation inline.  Don't require `cl'.
11089 2011-04-08  Glenn Morris  <rgm@gnu.org>
11091         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11093         * net/browse-url.el (browse-url-firefox):
11094         Test system-type, not system-configuration.
11096         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11097         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11098         Use log-edit-empty-buffer-p.  (Bug#7598)
11100         * net/rlogin.el (rlogin-process-connection-type): Simplify.
11101         (rlogin-mode-map): Initialize in the defvar.
11102         (rlogin): Use ignore-errors.
11104         * replace.el (occur-mode-map): Some fixes for menu items.
11106 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11108         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
11110 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11112         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11113         issuing unused warnings.
11115         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11116         macro directly.
11118         * simple.el: Lisp reimplement of list-processes.  Based on an
11119         earlier reimplementation by Leo Liu, but using tabulated-list.el.
11120         (process-menu-mode): New major mode.
11121         (list-processes--refresh, list-processes):
11122         (process-menu-visit-buffer): New functions.
11124         * files.el (save-buffers-kill-emacs): Don't assume any return
11125         value of list-processes, which is undocumented anyway.
11127 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
11129         * emacs-lisp/tabulated-list.el: New file.
11131         * emacs-lisp/package.el: Use Tabulated List mode.
11132         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11133         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
11134         table format using Tabulated List mode variables.
11135         (package--push): New macro, replacing package-list-maybe-add.
11136         (package-menu--generate): Use package--push.  Renamed from
11137         package--generate-package-list.
11138         (package-menu-refresh, list-packages): Use it.
11139         (package-menu--print-info): Rename from package-print-package.
11140         Return insertion data instead of inserting it directly.
11141         (package-menu-describe-package, package-menu-execute):
11142         Use tabulated-list-get-id.
11143         (package-menu-mark-delete, package-menu-mark-install)
11144         (package-menu-mark-unmark, package-menu-backup-unmark)
11145         (package-menu-mark-obsolete-for-deletion):
11146         Use tabulated-list-put-tag.
11147         (package--list-packages, package-menu-revert)
11148         (package-menu-get-package, package-menu-get-version)
11149         (package-menu-sort-by-column): Functions deleted.
11150         (package-menu-package-list, package-menu-sort-key): Vars deleted.
11151         (package-menu--status-predicate, package-menu--version-predicate)
11152         (package-menu--name-predicate)
11153         (package-menu--description-predicate): Handle arguments in the
11154         Tabulated List format.
11155         (package-list-packages-no-fetch): Call list-packages.
11157 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
11159         * files.el (after-find-file-from-revert-buffer): Remove variable.
11160         (after-find-file): Don't bind it.
11161         (revert-buffer-in-progress-p): New variable.
11162         (revert-buffer): Bind it.
11163         Pass nil for `after-find-file-from-revert-buffer'.
11165         * saveplace.el (save-place-find-file-hook): Use new variable
11166         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
11168 2011-04-06  Glenn Morris  <rgm@gnu.org>
11170         * Makefile.in (AUTOGEN_VCS): New variable.
11171         (autoloads): Use $AUTOGEN_VCS.
11173         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
11174         * calendar/calendar.el (calendar-mode-map):
11175         Check for toolkit scroll bars.  (Bug#8305)
11177 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11179         * minibuffer.el (completion-in-region--postch)
11180         (completion-in-region-mode): Remove unnecessary messages.
11182 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
11184         * font-lock.el (font-lock-refresh-defaults):
11185         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
11186         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
11188         * info.el (Info-directory-list, Info-read-node-name-2)
11189         (Info-split-parameter-string): Doc fixes.
11190         (Info-virtual-nodes): Reflow docstring.
11191         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11192         (Info-apropos-toc-nodes, info-finder, Info-get-token)
11193         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
11194         Fix typos in docstrings.
11195         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11196         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
11197         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
11198         (Info-restore-desktop-buffer): Mark unused parameters.
11199         (Info-directory-find-file, Info-directory-find-node)
11200         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
11201         (Info-virtual-index-find-node, Info-apropos-find-file)
11202         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
11203         Mark unused parameters; fix typos in docstrings.
11204         (Info-virtual-index): Remove unused local variable `nodename'.
11206 2011-04-05  Deniz Dogan  <deniz@dogan.se>
11208         * net/rcirc.el: Update my e-mail address.
11209         (rcirc-mode-map): Remove M-o binding.
11211 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
11213         * startup.el (command-line): Save the cursor's theme-face
11214         directly, instead of using face-override-spec.
11216         * custom.el (load-theme): Minor optimization in assigning faces.
11218 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11220         * help-fns.el (describe-variable): Complete all variables having
11221         documentation, including keywords.
11222         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
11224 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
11226         Convert to lexical-binding.
11228         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
11229         (bs--get-marked-string, bs--get-modified-string)
11230         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
11231         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
11232         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11234         * ehelp.el (electric-help-execute-extended)
11235         (electric-help-ctrl-x-prefix):
11236         * hexl.el (hexl-revert-buffer-function):
11237         * linum.el (linum-after-change, linum-after-scroll):
11238         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
11240         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
11242 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
11244         * epa-dired.el:
11245         * epa-mail.el:
11246         * epa-hook.el:
11247         * epa-file.el:
11248         * epa.el:
11249         * epg.el: Use lexical binding.
11251 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
11253         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
11255         * textmodes/flyspell.el (flyspell-word): Recognize default
11256         dictionary case for flyspell-mark-duplications-exceptions.
11257         Use regexp matching for languages.
11258         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
11259         default dictionary (Bug#7926).
11261 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
11263         * emacs-lisp/package.el (package--with-work-buffer):
11264         Recognize https URLs.
11266         * net/network-stream.el: Move from gnus/proto-stream.el.
11267         Change prefix to network-stream throughout.
11268         (open-protocol-stream): Merge into open-network-stream, leaving
11269         open-protocol-stream as an alias.  Handle nil BUFFER args.
11271         * subr.el (open-network-stream): Move to net/network-stream.el.
11273 2011-04-02  Glenn Morris  <rgm@gnu.org>
11275         * find-dired.el (find-exec-terminator): New option.
11276         (find-ls-option): Test for -ls support.
11277         (find-ls-subdir-switches): Test for -b in find-ls-option.
11278         (find-dired, find-grep-dired): Doc fixes.
11279         (find-dired): Use find-exec-terminator.
11281         * find-dired.el (find-ls-option, find-ls-subdir-switches)
11282         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
11283         (find-name-arg): Remove purecopy.
11285         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
11286         (grep-compute-defaults): Check for `-exec COMMAND +' support.
11287         Set grep-find-use-xargs, grep-find-command, and grep-find-template
11288         accordingly.  Don't add the null-device if not needed.
11290         * files.el (save-some-buffers): Doc fix.
11292 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
11294         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
11296 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
11298         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
11299         Use `dolist' rather than `mapcar'.
11301 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11303         Add lexical binding.
11305         * subr.el (apply-partially): Use new closures rather than CL.
11306         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
11307         (dolist, dotimes): Use slightly different expansion for lexical code.
11308         (functionp): Move to C.
11309         (letrec): New macro.
11310         (with-wrapper-hook): Use it and apply-partially instead of CL.
11311         (eval-after-load): Preserve lexical-binding.
11312         (save-window-excursion, with-output-to-temp-buffer): Turn them
11313         into macros.
11315         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
11317         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
11318         than the arglist.
11319         (help-add-fundoc-usage): Don't add `Not documented'.
11320         (help-function-arglist): Handle closures, subroutines, and new
11321         byte-code-functions.
11322         (help-make-usage): Remove leading underscores.
11323         (describe-function-1): Handle closures.
11324         (describe-variable): Use special-variable-p for completion.
11326         * files.el (lexical-binding): Declare safe.
11328         * emacs-lisp/pcase.el: Don't use destructuring-bind.
11329         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
11330         (pcase): Add `let' pattern.
11331         Change memoization so it actually works.
11332         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
11333         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
11334         <let>: New case.
11336         * emacs-lisp/macroexp.el: Use lexical binding.
11337         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
11338         Don't convert ' to #' without checking that it's indeed quoting
11339         a lambda.
11341         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
11342         Use eval-sexp-add-defvars.
11343         (eval-sexp-add-defvars): New fun.
11345         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
11347         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
11348         Don't autoload.
11349         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
11350         than the internal `byte-compile-lambda'.
11351         (defmethod): Don't hide code under quotes.
11352         (eieio-defmethod): New `code' argument.
11354         * emacs-lisp/eieio-comp.el: Remove.
11356         * emacs-lisp/edebug.el (edebug-eval-defun)
11357         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
11358         (edebug-toggle): Avoid `eval'.
11360         * emacs-lisp/disass.el (disassemble-internal): Handle new
11361         `closure' objects.
11362         (disassemble-1): Handle new byte codes.
11364         * emacs-lisp/cl.el (pushnew): Silence warning.
11366         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
11367         (cl-byte-compile-throw): Remove.
11368         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
11370         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
11371         closures.
11373         * emacs-lisp/cconv.el: New file.
11375         * emacs-lisp/bytecomp.el: Use lexical binding instead of
11376         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
11377         (byte-compile-initial-macro-environment):
11378         Handle declare-function here.
11379         (byte-compile--lexical-environment): New var.
11380         (byte-stack-ref, byte-stack-set, byte-discardN)
11381         (byte-discardN-preserve-tos): New lap codes.
11382         (byte-interactive-p): Don't use any more.
11383         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
11384         New macros.
11385         (byte-compile-lapcode): Use them and handle new lap codes.
11386         (byte-compile-obsolete): Remove.
11387         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
11388         (byte-compile-arglist-warn): Check late def of inlinable funs.
11389         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
11390         since they should have been expanded by now.
11391         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
11392         (byte-compile-from-buffer): Remove unused second arg.
11393         (byte-compile-preprocess): New function.
11394         (byte-compile-toplevel-file-form): New function to distinguish
11395         file-form calls from outside from file-form calls from hunk-handlers.
11396         (byte-compile-file-form): Simplify.
11397         (byte-compile-file-form-defsubst): Remove.
11398         (byte-compile-file-form-defmumble): Simplify now that
11399         byte-compile-lambda always returns a byte-code-function.
11400         (byte-compile): Preprocess.
11401         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
11402         Remove, not used any more.
11403         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
11404         (byte-compile-make-args-desc): New funs.
11405         (byte-compile-lambda): Handle lexical functions.  Always return
11406         a byte-code-function.
11407         (byte-compile-reserved-constants): New var, to make up room for
11408         closed-over variables.
11409         (byte-compile-constants-vector): Obey it.
11410         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
11411         (byte-compile-macroexpand-declare-function): New function.
11412         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
11413         byte-code-functions.
11414         (byte-compile-form): Check obsolescence here.
11415         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
11416         (byte-compile-variable-ref): Remove.
11417         (byte-compile-dynamic-variable-op): New fun.
11418         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11419         (byte-compile-variable-set): New funs.
11420         (byte-compile-discard): Add 2 args.
11421         (byte-compile-stack-ref, byte-compile-stack-set)
11422         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
11423         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
11424         macroexpand-all instead.
11425         (byte-compile-quote-form): Remove.
11426         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
11427         (byte-compile-bind, byte-compile-unbind): New funs.
11428         (byte-compile-let): Handle let* and lexical binding.
11429         (byte-compile-let*): Remove.
11430         (byte-compile-catch, byte-compile-unwind-protect)
11431         (byte-compile-track-mouse, byte-compile-condition-case):
11432         Handle a new :fun-body form, used for lexical scoping.
11433         (byte-compile-save-window-excursion)
11434         (byte-compile-with-output-to-temp-buffer): Remove.
11435         (byte-compile-defun): Simplify.
11436         (byte-compile-stack-adjustment): New fun.
11437         (byte-compile-out): Use it.
11438         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
11440         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
11441         handler any more.
11443         * emacs-lisp/byte-opt.el: Use lexical binding.
11444         (byte-inline-lapcode): Remove (to bytecomp).
11445         (byte-compile-inline-expand): Pay attention to inlining to/from
11446         lexically bound code.
11447         (byte-compile-unfold-lambda): Don't handle byte-code-functions
11448         any more.
11449         (byte-optimize-form-code-walker): Don't handle save-window-excursion
11450         any more and don't call compiler-macros.
11451         (byte-compile-splice-in-already-compiled-code): Remove.
11452         (byte-code): Don't inline any more.
11453         (disassemble-offset): Receive `bytes' as argument rather than via
11454         dynamic scoping.
11455         (byte-compile-tag-number): Declare before first use.
11456         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
11457         `return' even if make-spliceable.
11458         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
11459         obsolete interactive-p.
11460         (byte-optimize-lapcode): Optimize new lap-codes.
11461         Don't trip up on new form of `byte-constant' lap code.
11463         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
11465         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
11467         * custom.el (custom-initialize-default, custom-declare-variable):
11468         Use `defvar'.
11470         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
11471         New variables.
11472         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
11473         (COMPILE_FIRST): Add macroexp and cconv.
11474         * makefile.w32-in: Mirror changes in Makefile.in.
11476         * vc/cvs-status.el:
11477         * vc/diff-mode.el:
11478         * vc/log-edit.el:
11479         * vc/log-view.el:
11480         * vc/smerge-mode.el:
11481         * textmodes/bibtex-style.el:
11482         * textmodes/css.el:
11483         * startup.el:
11484         * uniquify.el:
11485         * minibuffer.el:
11486         * newcomment.el:
11487         * reveal.el:
11488         * server.el:
11489         * mpc.el:
11490         * emacs-lisp/smie.el:
11491         * doc-view.el:
11492         * dired.el:
11493         * abbrev.el: Use lexical binding.
11495 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
11497         * info.el (info-display-manual): New function.
11499 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11501         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
11503 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
11505         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
11506         an entry for that server in rcirc-authinfo.  (Bug#8385)
11508 2011-03-31  Glenn Morris  <rgm@gnu.org>
11510         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
11512         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
11514 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
11516         * progmodes/python.el (python-default-interpreter)
11517         (python-python-command-args, python-jython-command-args)
11518         (python-which-shell, python-which-args, python-which-bufname)
11519         (python-file-queue, python-comint-output-filter-function)
11520         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
11521         variables and functions.
11523 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11525         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
11526         (completion-in-region-mode): New minor mode.
11527         (completion-in-region): Use it.
11528         (completion-in-region--data, completion-in-region-mode-map): New vars.
11529         (completion-in-region--postch): New function.
11530         (completion--capf-misbehave-funs, completion--capf-safe-funs):
11531         New vars.
11532         (completion--capf-wrapper): New function.
11533         (completion-at-point): Use it to track well-behavedness of
11534         hook functions.
11535         (completion-help-at-point): New command.
11537 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
11539         * vc/add-log.el (add-change-log-entry): Don't use whitespace
11540         syntax class to search for whitespace on a single line
11541         (Message-ID: <4D938140.4030905@redhat.com>).
11543 2011-03-30  Leo Liu  <sdl.web@gmail.com>
11545         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
11546         New commands.
11547         (edit-abbrevs-map): Bind them here.
11548         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
11550 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
11552         * allout.el (allout-hide-by-annotation, allout-flag-region):
11553         Reduce possibility of overlay leakage by making them volatile.
11555         * allout-widgets.el (allout-widgets-tally): Define as nil so the
11556         hash is not shared between buffers.  Mode initialization is
11557         responsible for giving it a useful starting value.
11558         (allout-item-span): Reduce possibility of overlay leakage by
11559         making them volatile.
11560         (allout-widgets-count-buttons-in-region): Add diagnostic function
11561         for tracking down button overlay leaks.
11563 2011-03-29  Leo Liu  <sdl.web@gmail.com>
11565         * ido.el (ido-read-internal): Use the default history var
11566         minibuffer-history if no HISTORY is specified.
11568 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
11570         * net/imap.el (imap-shell-open, imap-process-connection-type):
11571         Use imap-process-connection-type for 'shell' streams as well as
11572         Kerberos, SSL, other subprocesses.
11574 2011-03-28  Leo Liu  <sdl.web@gmail.com>
11576         * abbrev.el (abbrev-table-empty-p): New function.
11577         (prepare-abbrev-list-buffer): Place empty abbrev tables after
11578         nonempty ones.  (Bug#5937)
11580 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
11582         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
11584 2011-03-27  Leo Liu  <sdl.web@gmail.com>
11586         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
11587         for foreground and background colors.
11588         (ansi-color-make-color-map): Adapt.
11590 2011-03-25  Leo Liu  <sdl.web@gmail.com>
11592         * midnight.el (midnight-time-float): Remove.  Note it calculates
11593         the microsecond component incorrectly and seconds-to-time does the
11594         same job.
11595         Remove redundant (require 'timer).
11597         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
11598         (ido-completions): Remove unused arguments.  (Bug#8329)
11600 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11602         * minibuffer.el (completion--flush-all-sorted-completions):
11603         Remove itself from hook.
11604         (completion-at-point): Let the functions perform the completion
11605         immediately and return nil or t.
11606         * comint.el (comint-dynamic-complete-functions): Now identical to
11607         completion-at-point-functions.
11608         (comint-dynamic-list-input-ring): Remove unused var `index'.
11609         (comint--match-partial-filename, comint--unquote&expand-filename):
11610         New funs, split from comint-match-partial-filename.
11611         (comint-dynamic-complete): Use completion-at-point.
11612         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
11614 2011-03-24  Drew Adams  <drew.adams@oracle.com>
11616         * thingatpt.el: Support `defun'.
11618 2011-03-23  Leo Liu  <sdl.web@gmail.com>
11620         * abbrevlist.el: Move to obsolete/abbrevlist.el.
11622         * help-mode.el (help-mode-finish): Tweak regexp.
11624 2011-03-23  Glenn Morris  <rgm@gnu.org>
11626         * eshell/esh-opt.el (eshell-eval-using-options):
11627         Do not bind unused local variable `eshell-option-stub'.
11629         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
11631 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11633         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
11634         keymap variable in `with-no-warnings' to avoid a warning when the
11635         keymap has been already `defconst'ed.
11637 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11639         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
11640         encode all chars in abbrevs; otherwise use emacs-mule or
11641         utf-8-emacs.  (Bug#8308)
11643 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
11645         * simple.el (backward-delete-char-untabify):
11646         Avoid warning about using `delete-backward-char'.
11648         * image.el (image-type-file-name-regexps): Make it variable.
11649         `imagemagick-register-types' modifies it, and the user may want
11650         to add new extensions for known image types.
11651         (imagemagick-register-types): Throw error if not using ImageMagick.
11653 2011-03-22  Leo Liu  <sdl.web@gmail.com>
11655         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
11656         located before rcirc-prompt-end-marker.
11657         (rcirc-complete): Error if point is not after rcirc prompt.
11658         Handle the case when table is nil.
11659         (rcirc-user-authenticated): Define to fix compiler warning.
11661 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
11663         * custom.el (custom--inhibit-theme-enable): Make it affect only
11664         custom-theme-set-variables and custom-theme-set-faces.
11665         (provide-theme): Ignore custom--inhibit-theme-enable.
11666         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
11667         (custom-enabling-themes): Delete variable.
11668         (enable-theme): Accept only loaded themes as arguments.
11669         Ignore the special custom-enabled-themes variable.
11670         (custom-enabled-themes): Forbid themes from setting this.
11671         Eliminate use of custom-enabling-themes.
11672         (custom-push-theme): Quote "changed" custom var entry.
11674 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11676         * ido.el (ido-read-internal): Add ido-selected to history instead
11677         of user input.
11679 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11681         * subr.el (deferred-action-list, deferred-action-function):
11682         Mark obsolete.
11684 2011-03-21  Leo Liu  <sdl.web@gmail.com>
11686         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
11687         change on 2011-02-13 (bug#8309).
11689         * minibuffer.el (read-file-name-function): Change default value.
11690         (read-file-name--defaults): Rename from read-file-name-defaults.
11691         (read-file-name-default): Rename from read-file-name.
11692         (read-file-name): Call read-file-name-function.
11694 2011-03-21  Glenn Morris  <rgm@gnu.org>
11696         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
11697         Doc fixes.
11699 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
11701         * cus-theme.el: Add missing provide statement.
11702         (customize-create-theme): Extract theme value correctly.
11703         (custom-theme-visit-theme): Autoload.
11704         (customize-create-theme): Prompt before inserting default faces.
11706 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
11708         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
11709         units and musical notes.
11711 2011-03-20  Leo Liu  <sdl.web@gmail.com>
11713         * ido.el (ido-read-internal): Use completing-read-default.
11714         (ido-completing-read): Fix compatibility with completing-read.
11716 2011-03-20  Christian Ohler  <ohler@gnu.org>
11718         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
11719         (ert-delete-all-tests): Use `called-interactively-p' rather than
11720         `interactive-p'.
11721         (ert--make-xrefs-region): Respect END.
11723 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11725         * dired-aux.el (dired-create-directory): Signal an error if the
11726         directory already exists (Bug#8246).
11728         * facemenu.el (list-colors-display): Call list-faces-display
11729         inside with-help-window.
11730         (list-colors-print): Use display property to align the final
11731         column, instead of checking window-width.
11733 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
11735         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
11736         windows-nt systems.
11737         (emerge-protect-metachars): Quote correctly for ms-dos and
11738         windows-nt systems.
11740 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
11742         * info.el (info-initialize): Replace all uses of `:' with
11743         path-separator for compatibility with non-Unix systems.
11744         Cache quoting of path-separator.  (Bug#8258)
11746 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
11748         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
11749         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
11750         (mouse-avoidance-mode): Fix typos in docstrings.
11752 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
11754         * startup.el (package-subdirectory-regexp): Move from package.el.
11755         Omit \\` and \\', and let callers add them.
11757         * emacs-lisp/package.el (package-strip-version)
11758         (package-load-all-descriptors): Add \\` and \\' to
11759         package-subdirectory-regexp before using it.
11760         (package-untar-buffer): New arg DIR; ensure that file untars only
11761         into this expected directory.  Remove superfluous delete-region.
11762         (package-unpack): Caller changed.
11763         (package-tar-file-info): Use package-subdirectory-regexp.
11765 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11767         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
11768         diff-mode-shared-map (bug#8284).
11769         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
11771 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11773         * calendar/time-date.el (format-seconds): Use assoc instead of
11774         assoc-string, since assoc-string doesn't exist in XEmacs.
11776 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
11778         * custom.el (custom-known-themes): Reflow docstring.
11779         (custom-theme-load-path): Fix typo in docstring.
11780         (load-theme): Fix typo in error message.
11781         (custom-available-themes, custom-variable-theme-value):
11782         Use `let', not `let*'.
11784 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
11786         * calc/README: Mention inclusion of musical notes.
11788         * calc/calc-units.el (calc-lu-quant): Rename from
11789         `calc-logunits-quantity'.
11790         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
11791         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
11792         (calc-db): Rename from `calc-dblevel'.
11793         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
11794         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
11795         (calc-np): Rename from `calc-nplevel'.
11796         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
11797         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
11798         (calc-lu-plus): Rename from `calc-logunits-add'.
11799         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
11800         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
11801         (calc-lu-minus): Rename from `calc-logunits-sub'.
11802         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
11803         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
11804         (calc-lu-times): Rename from `calc-logunits-mul'.
11805         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
11806         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
11807         (calc-lu-divide): Rename from `calc-logunits-div'.
11808         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
11809         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
11811         * calc/calc-ext.el (calc-init-extensions): Update the names of the
11812         functions being autoloaded.
11814         * calc/calc.el (calc-lu-power-reference): Rename from
11815         `calc-logunits-power-reference'.
11816         (calc-lu-field-reference): Rename from
11817         `calc-logunits-field-reference'.
11819         * calc/calc-help.el (calc-l-prefix-help):
11820         Mention musical note functions.
11822 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11824         * minibuffer.el (completion-all-sorted-completions):
11825         Use :completion-cycle-penalty text property if present.
11827 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
11829         * allout.el (allout-yank-processing): Adjust for new rebulleting
11830         regime so bullet being yanked is used without prompting the user
11831         for a choice.
11833 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11835         * startup.el (command-line): Warn the user that _emacs is deprecated.
11837 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
11839         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
11840         (delphi-verbose, delphi-comment-face, delphi-string-face)
11841         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
11842         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
11843         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
11844         (delphi-new-comment-line, delphi-font-lock-defaults)
11845         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
11846         Fix typos in docstrings.
11848 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
11850         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
11851         Invert the roles of character and string values for INSTEAD, so a
11852         string is used for the more common case of a defaulting prompt.
11854 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11856         * progmodes/ruby-mode.el (ruby-backward-sexp):
11857         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
11858         * play/gamegrid.el (gamegrid-make-face):
11859         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
11860         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
11861         * notifications.el (notifications-notify):
11862         * net/xesam.el (xesam-search-engines):
11863         * net/quickurl.el (quickurl-list-insert):
11864         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
11866 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
11868         * startup.el (command-line): Update package subdirectory regexp.
11870 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11872         * allout.el (allout-abbreviate-flattened-numbering)
11873         (allout-mode-deactivate-hook): Fix up obsolescence "date".
11875         * subr.el (read-char-choice): Only show the cursor after the prompt,
11876         not after the answer.
11878 2011-03-15  Kevin Ryde  <user42@zip.com.au>
11880         * help-fns.el (variable-at-point): Skip leading quotes, if any
11881         (bug#8253).
11883 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11885         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
11886         warning message.
11888 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
11890         * shell.el (shell): When called interactively, offer to change the
11891         shell file name on remote hosts.
11893 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
11895         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
11896         integration for LDAP parameters.  The host, base, user or binddn,
11897         and secret tokens can be specified in a netrc file, for instance.
11898         This is optional because an `auth-source' parameter must be
11899         specified in the search attributes.
11901 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
11903         * help.el (describe-mode): Link to the mode's definition (bug#8185).
11905 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11907         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
11908         into declaration.  Remove redundant and harmful binding.
11910 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
11912         * files.el (file-ownership-preserved-p): Pass `integer' as an
11913         explicit 2nd argument to `file-attributes'.  If the file's owner
11914         is the Administrators group on Windows, and the current user is
11915         Administrator, consider that a match.
11917         * server.el (server-ensure-safe-dir): Consider server directory
11918         safe on MS-Windows if its owner is the Administrators group while
11919         the current Emacs user is Administrator.  Use `=' to compare
11920         numerical UIDs, since they could be integers or floats.
11922 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
11924         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11926 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
11928         Sync with Tramp 2.2.1.
11930         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11932         * net/trampver.el: Update release number.
11934 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11936         * progmodes/compile.el (compilation--previous-directory): Fix up
11937         various nil/dead-marker mismatches (bug#8014).
11938         (compilation-directory-properties, compilation-error-properties):
11939         Don't call it at a position past the one we're about to change.
11941         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11942         Disable obsolescence warnings in the file that declares it.
11944 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
11946         * allout-widgets.el (allout-widgets-tally):
11947         Initialize allout-widgets-tally as a hash table rather than nil to
11948         prevent mode-line redisplay warnings.  Also, clarify the module
11949         description and fix a comment typo.
11951 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
11953         * help-fns.el (describe-variable): Don't complete keywords.
11954         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11956 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
11958         * emacs-lisp/package.el (package-version-join): Impose a standard
11959         string representation for pre/alpha/beta version lists.
11960         (package-unpack-single): Standardize the directory name by passing
11961         it through package-version-join.
11962         (package-strip-rcs-id): Accept any version string that does not
11963         signal an error in version-to-list.
11965 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
11967         * simple.el (delete-trailing-whitespace): Return nil for the
11968         benefit of `write-file-functions'.
11970 2011-03-10  Glenn Morris  <rgm@gnu.org>
11972         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11974         * vc/vc-git.el (vc-git-program): New option.
11975         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11976         (vc-git--call): Use it.
11978         * eshell/esh-util.el (eshell-condition-case): Doc fix.
11980         * cus-edit.el (Custom-newline): If no button at point, look
11981         for a subgroup button at start-of-line.  (Bug#2298)
11983         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11985 2011-03-10  Julien Danjou  <julien@danjou.info>
11987         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11988         `cursor-type' is nil.
11990 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
11992         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11994 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
11996         * allout.el: Change so yank of distinctive-bullet items
11997         preserves the existing header prefix, rebulleting it if necessary,
11998         rather than replacing it.  This is necessary for proper operation
11999         of cooperative addons like allout-widgets.
12000         (allout-make-topic-prefix, allout-rebullet-heading):
12001         Change SOLICIT arg to INSTEAD, and interpret additionally a string
12002         value as alternate bullet to be used, instead of prompting the user
12003         for a bullet character.
12005 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
12007         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12008         Do not use `tramp-file-name-port', because this returns also
12009         `tramp-default-port'.
12011 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
12013         * net/rcirc.el (rcirc-handler-001): Remove useless
12014         with-rcirc-process-buffer.
12015         (rcirc-check-auth-status): Swap arguments to string-match.
12017 2011-03-09  Glenn Morris  <rgm@gnu.org>
12019         * shell.el (shell-mode):
12020         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
12022         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12023         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
12025 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12027         * emacs-lisp/package.el (package-refresh-contents)
12028         (package-menu-execute): Use condition-case-no-debug.
12030 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
12032         * simple.el (shell-command-to-string): Use `process-file'.
12034         * emacs-lisp/package.el (package-tar-file-info): Handle also
12035         remote files.
12037         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12038         Use `equal' for upload base check.
12040 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
12042         * textmodes/texinfo.el (texinfo-environments):
12043         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
12045 2011-03-08  Glenn Morris  <rgm@gnu.org>
12047         * cus-start.el (cursor-in-non-selected-windows):
12048         Fix :set quoting oddness.  (Bug#8192)
12050         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12051         in some setf expressions.  (Bug#2159)
12053 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
12055         * custom.el (custom-available-themes): Return themes in
12056         alphabetical order.
12058 See ChangeLog.15 for earlier changes.
12060 ;; Local Variables:
12061 ;; coding: utf-8
12062 ;; End:
12064   Copyright (C) 2011-2012  Free Software Foundation, Inc.
12066   This file is part of GNU Emacs.
12068   GNU Emacs is free software: you can redistribute it and/or modify
12069   it under the terms of the GNU General Public License as published by
12070   the Free Software Foundation, either version 3 of the License, or
12071   (at your option) any later version.
12073   GNU Emacs is distributed in the hope that it will be useful,
12074   but WITHOUT ANY WARRANTY; without even the implied warranty of
12075   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12076   GNU General Public License for more details.
12078   You should have received a copy of the GNU General Public License
12079   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.