In Imenu, don't show defvars with no second argument.
[emacs.git] / lisp / ChangeLog
blobe211bacbb02a26c266fc4b1fd298b553afe960fe
1 2012-08-05  Chong Yidong  <cyd@gnu.org>
3         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
4         show defvars which have no second argument (Bug#8638).
6         * imenu.el (imenu-generic-expression): Move documentation here
7         from imenu--generic-function.
8         (imenu--generic-function): Refer to imenu-generic-expression.
10 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
12         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
13         indentation declaration.
14         (viper-loop): Add indentation declaration (Bug#7025).
16 2012-08-05  Chong Yidong  <cyd@gnu.org>
18         * help-fns.el (describe-variable): Add hyperlink for
19         directory-local variables files.  Improve buffer-local and
20         permanent-local reporting; suggested by MON KEY (Bug#6644).
22         * help-mode.el (help-dir-local-var-def): New button type.
24         * files.el (kill-buffer-hook): Provide a defvar.
26 2012-08-05  Glenn Morris  <rgm@gnu.org>
28         * eshell/esh-ext.el (eshell/addpath):
29         Also update eshell-path-env.  (Bug#12013)
31 2012-08-05  Chong Yidong  <cyd@gnu.org>
33         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
35         * fringe.el (fringe-styles): Add docstring.
36         (fringe--check-mode): New function.
37         (set-fringe-mode, set-fringe-style): Use it.
38         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
40         * files.el (set-auto-mode): Fix invalid setq call.
42 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
44         * isearch.el: Misc simplification; use defstruct.
45         (isearch-mode-map): Dense maps now work like sparse ones.
46         (isearch--state): New defstruct.
47         (isearch-string-state, isearch-message-state, isearch-point-state)
48         (isearch-success-state, isearch-forward-state)
49         (isearch-other-end-state, isearch-word-state, isearch-error-state)
50         (isearch-wrapped-state, isearch-barrier-state)
51         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
52         replaced by defstruct's accessors.
53         (isearch--set-state): Rename from isearch-top-state and change
54         calling convention.
55         (isearch-push-state): Use new isearch--get-state.
56         (isearch-toggle-word): Disable regexp when enabling word.
57         (isearch-message-prefix): Remove unused arg _c-q-hack.
58         (isearch-message-suffix): Remove unused arg _ellipsis.
60 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
62         * simple.el (list-processes--refresh): For a server use :host or
63         :local as the address.
64         (list-processes): Doc fix.
66 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
68         * lisp/mpc.el: Support password in host argument.
69         (mpc--proc-connect): Parse and use new password element.
70         Set mpc-proc variable instead of returning process.
71         (mpc-proc): Adjust accordingly.
73 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
75         * whitespace.el (whitespace-display-mappings): Use Unicode
76         codepoints, instead of emacs-mule codepoints.  See
77         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
78         for the details.
80         * files.el (file-truename): Don't skip symlink-chasing part on
81         windows-nt.  Incorporate the resolution of 8+3 short aliases on
82         Windows into the loop that recursively chases symlinks.  Compare
83         directory and its parent case-insensitively on MS-Windows and
84         MS-DOS.
86 2012-08-03  Chong Yidong  <cyd@gnu.org>
88         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
90         * sort.el (sort-regexp-fields): Doc fix.
92 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
94         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
95         labels regex position point at the expected place.
97 2012-08-03  MON KEY  <monkey@sandpframing.com>
99         * net/imap.el (imap-interactive-login, imap-authenticate)
100         (imap-mailbox-lsub, imap-mailbox-list)
101         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
102         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
103         (imap-parse-response): Doc fix.
105 2012-08-03  João Távora  <joaotavora@gmail.com>
107         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
108         if sexp scanning does not move point (Bug#5734).
110 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
112         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
113         Add listings, minted, and ctable packages.
114         (reftex-label-alist-builtin): Move listings, minted, and ctable
115         entries before LaTeX.
116         (reftex-label-alist): Docfix.
118 2012-08-02  Bastien Guerry  <bzg@gnu.org>
120         * replace.el (occur): Fix docstring (bug#12122).
122 2012-08-02  Glenn Morris  <rgm@gnu.org>
124         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
126 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
128         Obsolete alias inactivate-current-input-method-function (Bug#10150).
129         * international/mule-cmds.el: Create
130         inactivate-current-input-method-function as an obsolete alias for
131         deactivate-current-input-method-function.  See Katsumi Yamaoka in
132         <http://bugs.gnu.org/10150#46>.
134 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
136         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
137         of nested `if's.
139 2012-08-01  Glenn Morris  <rgm@gnu.org>
141         * progmodes/autoconf.el (autoconf-definition-regexp):
142         Add AH_TEMPLATE, adjust submatch numbering.
143         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
144         (autoconf-current-defun-function): Update for above change.
145         (autoconf-current-defun-function): First skip to end of current word.
147 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
149         * calendar/cal-html.el (cal-html-insert-agenda-days):
150         Fix typo.  (Bug#12018)
152 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
154         Shell processes: enhancements to startup and CEDET compatibility.
155         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
156         (python-shell-make-comint): accept-process-output at startup.
157         (run-python-internal): Set inferior-python-mode-hook to nil.
158         (python-shell-internal-get-or-create-process): call sit-for.
159         (python-preoutput-result): Add obsolete alias.
160         (python-shell-internal-send-string): Use it.
161         (python-shell-send-setup-code): Remove call to
162         accept-process-output.
164 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
166         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
167         (Bug#12108)
169 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
171         * calc-mode.el (calc-basic-simplification-mode): Rename from
172         `calc-limited-simplification-mode'.
173         (calc-alg-simplification-mode): New function.
174         (calc-set-simplify-mode):  Adjust message.
176         * calc.el (calc-set-mode-line): Adjust mode line display for
177         basic simplification mode.
179         * calc-help.el (calc-m-prefix-help): Update help message.
181         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
182         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
184 2012-07-31  Bastien Guerry  <bzg@gnu.org>
186         * man.el (man): Fix comment.  (bug#12101)
188 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
190         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
191         Don't return a non-nil value when no suitable buffer was found.
193 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
195         * progmodes/python.el (run-python-internal): Disable font lock for
196         internal shells.
198 2012-07-30  Stefan Merten  <smerten@oekonux.de>
200         * rst.el: Silence `checkdoc-ispell'.
201         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
202         (rst-official-version, rst-official-cvs-rev)
203         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
204         (rst-mode-map): New key binding.
206 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
208         Update .PHONY listings in makefiles.
209         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
210         autoloads, update-subdirs, updates, bzr-update, update-authors,
211         compile-onefile, compile-calc, backup-compiled-files,
212         compile-after-backup, compile-one-process, mh-autoloads,
213         bootstrap-clean, distclean, maintainer-clean.
215 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
217         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
218         (calc-set-mode-line): Don't display "AlgSimp ".
220         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
221         (calc-lim-simplify-mode): New function.
222         (calc-set-simplify-mode): Default to 'alg.
223         (calc-default-simplify-mode): Make algebraic simplifications
224         the default.
226         * calc/calc-ext.el (calc-init-extensions): Remove binding for
227         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
229         * calc/calc-help.el (calc-m-prefix-help): Change messages to
230         indicate new simplification modes.
232         * calc/README: Mention new default simplification mode.
234         * calc/calc.el (math-normalize-error): New variable.
235         (math-normalize): Set `math-normalize-error' to t
236         when there's an error.
238         * calc/calc-alg.el (math-simplify): Don't simplify when
239         `math-normalize' returns an error.
241 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
243         * international/mule-cmds.el (set-locale-environment): Revert last
244         change, since display-graphic-p returns nil when this function is
245         called during startup.  Instead...
247         * term/w32console.el (terminal-init-w32console): ...setup the
248         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
250 2012-07-29  Juri Linkov  <juri@jurta.org>
252         * simple.el (goto-line): Don't display default line number in the
253         prompt because it should be displayed by `read-number' (bug#9952).
254         Add the current line number to the defaults of `goto-line' to
255         allow its easier modification by users with `M-n' (bug#9201).
257         * subr.el (read-number): Support multiple default values like in
258         other minibuffer reading functions.  Replace `read' with
259         `string-to-number' for consistency with `number-to-string'.
261 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
263         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
264         * emulation/viper-init.el (viper-deactivate-input-method-action):
265         Rename from viper-inactivate-input-method-action.
266         (viper-deactivate-input-method):
267         Rename from viper-inactivate-input-method.
268         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
269         * international/mule-cmds.el (deactivate-input-method):
270         Rename from inactivate-input-method.
271         Also run input-method-deactivate-hook.
272         (deactivate-current-input-method-function):
273         Rename from inactivate-current-input-method-function.
274         (input-method-deactivate-hook): New hook.
275         (input-method-inactivate-hook): Mark obsolete.
276         (inactivate-input-method): Mark obsolete.
278         * international/quail.el (quail-activate):
279         Also run quail-deactivate-hook.
280         (quail-deactivate): Rename from quail-inactivate.
281         * international/robin.el (robin-activate):
282         Also run robin-deactivate-hook.
283         (robin-deactivate): Rename from robin-inactivate.
285 2012-07-29  Chong Yidong  <cyd@gnu.org>
287         * simple.el (indicate-copied-region): New function.
288         (kill-ring-save): Split off from here.
290         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
291         (kill-rectangle): Set deactivate-mark to t on read-only error.
293         * register.el (copy-to-register, copy-rectangle-to-register):
294         Deactivate the mark, and use indicate-copied-region (Bug#10056).
295         (append-to-register, prepend-to-register): Call
297 2012-07-29  Juri Linkov  <juri@jurta.org>
299         * simple.el (async-shell-command-buffer): New defcustom.
300         (shell-command): Use it.  (Bug#4719)
302 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
304         * international/mule-cmds.el (set-locale-environment): In a
305         console session on MS-Windows, set up keyboard and terminal
306         encoding from the OEM codepage, not the ANSI codepage.
307         (Bug#12055)
309 2012-07-28  Chong Yidong  <cyd@gnu.org>
311         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
312         gdb-get-location.
314 2012-07-25  Leo Liu  <sdl.web@gmail.com>
316         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
317         the alist (bug#12029).
319 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
321         * makefile.w32-in (custom-deps, finder-data, updates, compile)
322         (compile-always, compile-first)
323         ($(lisp)/calendar/cal-loaddefs.el)
324         ($(lisp)/calendar/diary-loaddefs.el)
325         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
326         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
327         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
328         instead of on update-subdirs.
329         (bootstrap-clean): Delete $(lisp)/subdirs.el.
331 2012-07-28  Chong Yidong  <cyd@gnu.org>
333         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
334         directory if vc-deduce-backend returns nil (Bug#7350).
336         * simple.el (delete-trailing-lines): New option.
337         (delete-trailing-whitespace): Obey it (Bug#11879).
339 2012-07-28  David Engster  <deng@randomsample.de>
341         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
342         Explanation of new 'symbol-qnames feature in doc-strings.
343         (xml-maybe-do-ns): Return expanded names as plain symbols if
344         'symbol-qnames was provided in XML-NS argument (Bug#11916).
345         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
347 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
349         Consistent completion in inferior python with emacs -nw.
350         * progmodes/python.el (inferior-python-mode): replace "<tab>"
351         binding in inferior-python-mode-map with "\t".
352         (python-shell-completion-complete-at-point)
353         (python-completion-complete-at-point): Remove interactive spec.
355 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
357         * calc/calccomp.el (math-compose-expr): Undo previous change.
359 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
361         * progmodes/python.el (python-mode-map): Added keybinding for
362         run-python.
363         (python-shell-make-comint): Fix pop-to-buffer call.
364         (run-python): Autoload.  New arg SHOW.
365         (python-shell-get-or-create-process): Do not pop python process
366         buffer.
368 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
370         * notifications.el (notifications-on-action-signal)
371         (notifications-on-closed-signal): Use also the bus address for the map.
372         (notifications-notify, notifications-close-notification)
373         (notifications-get-capabilities):  Add optional argument BUS.
375 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
377         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
378         support for the lstlisting and minted environments, and for the
379         ctable macro.
380         * textmodes/reftex.el (reftex-compile-variables): Also recognize
381         labels written in keyvals syntax.
383 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
385         * calc/calccomp.el (math-compose-expr): Use parentheses when
386         there is a product in the denominator of a fraction.
388 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
390         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
391         ($(lisp)/calendar/diary-loaddefs.el)
392         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
393         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.  Fixes
394         failures in parallel bootstrap because subdirs.el is being
395         rewritten while the autoload files are built at the same time,
396         which needs to load subdirs.el.
398 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
400         * mouse.el (popup-menu): Fix doc-string and re-indent code.
401         (mouse-drag-line): Don't exit tracking when a switch-frame or
402         switch-window event occurs (Bug#12006).
404 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
406         * mouse.el (popup-menu): Fix last change.
408 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
410         Autoload from Lisp with more care.  Follow aliases when looking for
411         function properties.
412         * subr.el (autoloadp): New function.
413         (symbol-file): Use it.
414         (function-get): New function.
415         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
416         autoload-do-load.
417         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
418         (lisp-indent-function):
419         * emacs-lisp/gv.el (gv-get):
420         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
421         * emacs-lisp/byte-opt.el (byte-optimize-form):
422         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
423         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
424         Use function-get.
425         * emacs-lisp/cl.el: Don't propagate function properties any more.
427         * speedbar.el (speedbar-add-localized-speedbar-support):
428         * emacs-lisp/disass.el (disassemble-internal):
429         * desktop.el (desktop-load-file):
430         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
431         (describe-function-1):
432         * emacs-lisp/find-func.el (find-function-noselect):
433         * emacs-lisp/elp.el (elp-instrument-function):
434         * emacs-lisp/advice.el (ad-has-proper-definition):
435         * apropos.el (apropos-safe-documentation, apropos-macrop):
436         * emacs-lisp/debug.el (debug-on-entry):
437         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
438         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
439         * calc/calc.el (name): Use autoloadp & autoload-do-load.
441 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
443         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
444         function, not an obsolete variable (Bug#12046).
446 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
448         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
450 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
452         * emacs-lisp/pp.el (pp-display-expression): Select old selected
453         window only if it is still live (Bug#12034).
455 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
457         * subr.el (redirect-frame-focus): Add advertised calling
458         convention (Bug#12030).
460 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
462         Prefer typical American spelling for "acknowledgment".
463         * vc/add-log.el (change-log-acknowledgment): Rename from
464         change-log-acknowledgement, with an alias for the old name.
466 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
468         * calc-alg.el (math-simplify-divide): Don't cross multiply
469         in an equation when the lhs is a variable.
471 2012-07-24  Julien Danjou  <julien@danjou.info>
473         * net/netrc.el (netrc-find-service-number, netrc-store-data):
474         Remove, unused.
476 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
478         * startup.el (command-line): Don't display an empty user name in
479         the error message about non-existent home directory, when
480         init-file-user was set to an empty string.  See
481         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
482         for the details and context.
484 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
486         * ses.el (ses-cell-formula-aset): New macro.
487         (ses-cell-references-aset): New macro.
488         (ses-cell-p): New function.
489         (ses-rename-cell): Do no longer rely on complex operations like
490         ses-cell-set-formula or ses-set-cell to change the cell and handle
491         the undo at the same time, but rather use lower level new macros
492         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
493         the undo directly. Refresh the mode line.
495 2012-07-21  Leo Liu  <sdl.web@gmail.com>
497         * progmodes/cc-cmds.el (c-defun-name):
498         Use match-string-no-properties instead for consistency.
500 2012-07-20  Leo Liu  <sdl.web@gmail.com>
502         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
503         (Bug#7879)
505         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
507 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
509         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
510         * progmodes/bug-reference.el, misearch.el: Provide themselves
511         (bug#11915).
513         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
514         of narrowed buffer (bug#11966).
516 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
518         * ses.el (ses-rename-cell): Set new name also in reference list of
519         cells of which the renamed cell depends.
521 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
523         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
524         to check whether menu-bar is shown or not.  If not shown,
525         show the menu-bar as a popup menu instead of using tmm.
526         * mouse.el (popup-menu): Accept `point' as `position' argument.
528 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
530         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
531         up inside string symbol literal (bug#11923).
533 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
535         * startup.el (fancy-startup-text): Read the whole tutorial, not
536         just its first 256 bytes.  Prevents gibberish in display of the
537         tutorial title.
539 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
541         Drop idle buffer compaction due to an absence of the
542         proved efficiency.
543         * compact.el: Remove.
545 2012-07-19  Sam Steingold  <sds@gnu.org>
547         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
548         vc-bzr-pull & vc-bzr-merge-branch.
549         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
550         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
551         for consistency with compilation-error-regexp-alist.
552         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
553         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
554         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
555         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
557 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
559         * emacs-lisp/chart.el: Use lexical-binding.
560         (chart-emacs-storage): Don't hardcode the list of entries.
562 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
564         Next round of tweaks caused by Fgarbage_collect changes.
565         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
567 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
569         Compact buffers when idle.
570         * compact.el: New file.
572 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
574         * subr.el (eventp): Presume that if it looks vaguely like an event,
575         it's an event (bug#10190).
577 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
579         Enhancements to ppss related code (thanks Stefan).
580         * progmodes/python.el (python-indent-context)
581         (python-indent-calculate-indentation, python-indent-dedent-line)
582         (python-indent-electric-colon, python-nav-forward-block)
583         (python-mode-abbrev-table)
584         (python-info-assignment-continuation-line-p): Simplify checks
585         for ppss context.
586         (python-info-continuation-line-p): Cleanup.
587         (python-info-ppss-context): Do not catch 'quote.
588         (python-info-ppss-context-type)
589         (python-info-ppss-comment-or-string-p): Simplify.
591 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
593         * progmodes/python.el: Enhancements to eldoc support.
594         (python-info-current-symbol): New function.
595         (python-eldoc-at-point): Use python-info-current-symbol.
596         (python-info-current-defun): Fix cornercase on first defun scan.
597         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
598         and signal error when no inferior python process is available.
600 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
602         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
603         assume it's always t.
604         (vc-git-registered): Remove caching, the function is only called
605         once.
606         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
608 2012-07-18  Chong Yidong  <cyd@gnu.org>
610         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
612         * simple.el (count-words): Report on narrowing (Bug#9959).
614         * bindings.el: Bind M-= to count-words.
616         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
618 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
620         * progmodes/sh-script.el (sh-imenu-generic-expression):
621         Capture a function with `function' keyword and without parentheses
622         like "function FOO" (bug#11856).
624 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
626         * window.el (split-window-sensibly): Make WINDOW argument
627         optional.
629 2012-07-18  Chong Yidong  <cyd@gnu.org>
631         * subr.el (keyboard-translate): Doc fix (Bug#7261).
633         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
634         and make C-x 8 RET exit isearch (Bug#11439).
636         * international/iso-transl.el: Move isearch-mode-map key
637         definitions to isearch.el.
639 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
641         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
642         (eieio-defclass): Use gv-define-setter when possible.
644 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
646         Reflect recent changes in Fgarbage_collect.
647         * emacs-lisp/chart.el (chart-emacs-storage): Change to
648         reflect new format of data returned by Fgarbage_collect.
650 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
652         New utility functions + python-info-ppss-context fix (Bug#11910).
653         * progmodes/python.el (python-info-beginning-of-block-statement-p)
654         (python-info-ppss-comment-or-string-p): New functions.
655         (python-info-ppss-context): Small fix for string check.
657 2012-07-17  Juri Linkov  <juri@jurta.org>
659         * dired-aux.el (dired-do-async-shell-command): Doc fix.
660         (dired-do-async-shell-command): Don't add `*' at the end of the
661         command (Bug#11815).
662         (dired-do-shell-command): Doc fix.
663         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
664         Join the individual commands using either "&" or ";" as the
665         separator depending on the values of these trailing characters.
666         At the end re-add the trailing "&".  (Bug#10598)
668         * simple.el (async-shell-command): Sync the interactive spec with
669         `shell-command'.  Doc fix.
670         (shell-command): Doc fix.
672 2012-07-17  Juri Linkov  <juri@jurta.org>
674         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
676 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
678         Final renames and doc fixes for movement commands (bug#11899).
679         * progmodes/python.el (python-nav-beginning-of-statement):
680         Rename from python-nav-statement-start.
681         (python-nav-end-of-statement): Rename from
682         python-nav-statement-end.
683         (python-nav-beginning-of-block): Rename from
684         python-nav-block-start.
685         (python-nav-end-of-block): Rename from python-nav-block-end.
687 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
689         * progmodes/python.el (python-shell-send-string-no-output):
690         Allow accept-process-output to quit, keeping shell process ready for
691         future interactions (Bug#11868).
693 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
695         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
697         * emacs-lisp/elint.el (elint-find-args-in-code):
698         Use help-function-arglist, so as to handle lexical byte-code.
700         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
701         change (bug#11826).
703 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
705         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
706         Avoid spuriously marking the buffer as modified because of c-is-sws.
708         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
709         as not-a-comment (bug#11946).
711         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
712         for uninterned vars.
714         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
715         Use read-event since we don't really want to read chars but bytes.
717         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
718         $$..$$ but also $..$ using regexps (bug#11953).
719         Use tex-verbatim for \url and \path.
720         (tex-font-lock-keywords): Define as defconst like the others.
721         (tex-common-initialization): Don't use font-lock-syntax-table any more.
723 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
725         * international/mule-cmds.el (ucs-insert): Make it an obsolete
726         alias for insert-char.
728 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
730         * progmodes/python.el: Simplified imenu implementation.
731         (python-nav-jump-to-defun): Remove command.
732         (python-mode-map): Use `imenu' instead.
733         (python-nav-list-defun-positions-cache)
734         (python-imenu-include-defun-type, python-imenu-make-tree)
735         (python-imenu-subtree-root-label, python-imenu-index-alist):
736         Remove vars.
737         (python-nav-list-defun-positions, python-nav-read-defun)
738         (python-imenu-tree-assoc, python-imenu-make-element-tree)
739         (python-imenu-make-tree, python-imenu-create-index):
740         Remove functions.
741         (python-mode): Update to interact with imenu by setting
742         `imenu-extract-index-name-function' only.
744 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
746         * progmodes/python.el: Enhancements to navigation commands.
747         (python-nav-backward-sentence)
748         (python-nav-forward-sentence): Remove.
749         (python-nav-backward-statement, python-nav-forward-statement)
750         (python-nav-statement-start, python-nav-statement-end)
751         (python-nav-backward-block, python-nav-forward-block)
752         (python-nav-block-start, python-nav-block-end)
753         (python-nav-forward-sexp-function)
754         (python-info-current-line-comment-p)
755         (python-info-current-line-empty-p): New functions.
756         (python-indent-context): Use `python-nav-statement-start'.
758 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
760         * eshell/em-ls.el (eshell/ls): Use `apply'.
762         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
763         multi-hops, instead of Tramp internals.
765         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
767         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
768         when F1 and F2 are located on different hosts.
770 2012-07-14  Chong Yidong  <cyd@gnu.org>
772         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
773         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
774         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
775         (xterm-mouse--read-event-sequence-1000)
776         (xterm-mouse--read-event-sequence-1006): New functions.  For old
777         mouse protocol, handle M-mouse-X events correctly.
778         (xterm-mouse-event): New arg specifying mouse protocol.
779         (turn-on-xterm-mouse-tracking-on-terminal)
780         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
781         sequence to toggle extended coordinates on newer XTerms.
782         This appears to be harmless on terminals which do not support this.
784 2012-07-14  Leo Liu  <sdl.web@gmail.com>
786         Add fringe bitmap indicators for flymake.  (Bug#11253)
787         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
788         (flymake-make-overlay): New arg BITMAP.
789         (flymake-error-bitmap, flymake-warning-bitmap)
790         (flymake-fringe-indicator-position): New user variables.
792         * fringe.el: New bitmap exclamation-mark.
794 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
796         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
797         also (Bug#7879).
799 2012-07-14  Chong Yidong  <cyd@gnu.org>
801         * electric.el (electric-pair-post-self-insert-function): Fix pair
802         insertion in empty-region case (Bug#11520).
804 2012-07-14  Chong Yidong  <cyd@gnu.org>
806         * bindings.el: Consolidate ctl-x-r-map bindings.
807         Bind copy-rectangle-as-kill to C-x r w.
809         * rect.el, register.el: Move bindings to bindings.el.
811 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
813         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
815 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
817         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
819 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
821         * bindings.el (top): Use `mapc' instead of `mapcar'.
823         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
825 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
827         * progmodes/sql.el (sql-comint): Suppress the check for program on
828         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
829         (Bug#11908)
831 2012-07-13  Chong Yidong  <cyd@gnu.org>
833         * bindings.el: Assign a non-nil permanent-local property to
834         per-buffer variables which lack a default value (Bug#11930).
836         * help-fns.el (describe-variable): In the "automatically becomes
837         local" notice, take note of permanent-local variables.
839 2012-07-13  Chong Yidong  <cyd@gnu.org>
841         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
842         to allow printing the message when called from Lisp.
844         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
845         Remove toggle-read-only.
847         * bs.el (bs-toggle-readonly):
848         * buff-menu.el (Buffer-menu-toggle-read-only):
849         Remove with-no-warnings around toggle-read-only.
851         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
852         Remove with-no-warnings around toggle-read-only.
853         (ffap-read-only, ffap-read-only-other-window)
854         (ffap-read-only-other-frame): Callers changed.
856         * help-mode.el: Don't require view package.
857         (help-mode-finish): Set buffer-read-only instead of calling
858         toggle-read-only.
860         * bindings.el (mode-line-toggle-read-only):
861         * dired.el (dired-toggle-read-only):
862         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
863         with non-nil second arg.
865         * emacs-lisp/eieio-custom.el (eieio-customize-object):
866         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
867         directly.
869 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
871         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
872         not incf.
874 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
876         More CL cleanups and reduction of use of cl.el.
877         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
878         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
879         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
880         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
881         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
882         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
883         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
884         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
885         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
886         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
887         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
888         * eshell/em-cmpl.el, eshell/em-banner.el:
889         * calendar/parse-time.el: Use cl-lib.
890         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
891         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
892         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
893         * term/ns-win.el, term.el, shell.el, ps-samp.el:
894         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
895         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
896         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
897         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
898         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
899         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
900         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
901         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
902         `lambda' rather than with `quote'.
903         (eshell-do-opt): Adjust accordingly.
904         (eshell-process-option): Simplify.
905         * eshell/esh-var.el:
906         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
907         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
908         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
909         to `pcase--dontcare'.
910         * emacs-lisp/cl.el (labels): Mark obsolete.
911         (cl--letf, letf): Move to cl-lib.
912         (cl--letf*, letf*): Remove.
913         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
914         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
915         (cl-progv): Rewrite.
916         (cl--letf, cl-letf): Move from cl.el.
917         (cl-letf*): New macro.
918         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
920 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
922         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
924 2012-07-11  Chong Yidong  <cyd@gnu.org>
926         * vc/log-edit.el (log-edit-vc-backend): New variable.
927         (log-edit): Doc fix.
929         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
930         argument of log-edit to set up all local variables.
931         (vc-start-logentry): New optional arg specifying VC backend.
933         * vc/vc.el (vc-checkin): Use it.
934         (vc-deduce-fileset): Handle Log Edit buffers.
935         (vc-diff): Make first argument optional too.
937         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
939 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
941         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
942         command, just in case.  The function is not needed anymore.
943         (eshell-external-command): Do not call `eshell-remote-command'.
945 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
947         Reduce use of (require 'cl).
948         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
949         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
950         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
951         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
952         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
953         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
954         * battery.el, avoid.el, abbrev.el: Use cl-lib.
955         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
956         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
957         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
958         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
959         * calculator.el, autorevert.el, apropos.el: Don't require CL.
960         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
961         (byte-compile-unfold-bcf, byte-compile-check-variable):
962         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
963         (byte-compile-nilconstp):
964         * emacs-lisp/autoload.el (make-autoload): Use pcase.
965         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
967         * emacs-lisp/gv.el (cond): Make it a valid place.
968         (if): Simplify slightly.
970         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
971         (pcase--self-quoting-p): New function.
972         (pcase--u1): Use it.
974 2012-07-10  Glenn Morris  <rgm@gnu.org>
976         * emacs-lisp/authors.el (authors-fixed-entries):
977         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
979 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
981         Rename configure.in to configure.ac (Bug#11603).
982         * emacs-lisp/authors.el (authors-canonical-file-name):
983         * progmodes/autoconf.el (autoconf-mode):
984         Prefer configure.ac to configure.in.
986 2012-07-08  Chong Yidong  <cyd@gnu.org>
988         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
989         Implement the mouse-1-click-follows-link handling properly.
991         * info.el (Info-link-keymap): Use follow-link mechanism for
992         header-line links (Bug#374).
994         * simple.el (deactivate-mark): Do not set the primary selection
995         if another program has acquired it (Bug#11772).
997 2012-07-07  Kevin Ryde  <user42@zip.com.au>
999         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1000         (woman-decode-region): Replace escaped-escapes without destroying
1001         bold or underline (Bug#11552).
1002         (woman2-process-escapes): Handle nofill regions (Bug#11591).
1004 2012-07-07  Chong Yidong  <cyd@gnu.org>
1006         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1007         (interprogram-cut-function, interprogram-paste-function):
1008         Mention that we typically mean the clipboard.
1010 2012-07-06  Glenn Morris  <rgm@gnu.org>
1012         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
1014         * files.el (toggle-read-only): Restrict message to interactive use.
1016 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
1018         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1020         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1022 2012-07-06  Glenn Morris  <rgm@gnu.org>
1024         * Makefile.in (compile-one-process): Rename from "recompile".
1026         * Makefile.in (bzr-update): "compile" is the same as "recompile
1027         autoloads", but parallelizable, so use that instead.
1029 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
1031         * window.el (quit-window): Always restore window height when
1032         it's saved in quit-restore parameter (Bug#11810).
1034 2012-07-06  Glenn Morris  <rgm@gnu.org>
1036         * simple.el (kill-whole-line): Doc tweak.
1038 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
1040         * files.el (file-relative-name): Compare file names
1041         case-insensitively if on MS-Windows or MS-DOS, or if
1042         read-file-name-completion-ignore-case is non-nil.  Don't use
1043         case-fold-search for this purpose.  (Bug#11827)
1045 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
1047         * calendar/cal-dst.el (calendar-current-time-zone):
1048         Return calendar-current-time-zone-cache if non-nil.
1050 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
1051 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1053         * calendar/cal-dst.el (calendar-current-time-zone):
1054         Return calendar-current-time-zone-cache if non-nil.
1056 2012-07-06  Glenn Morris  <rgm@gnu.org>
1058         * Makefile.in (cvs-update): Remove old alias.
1060 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
1062         Sync with Tramp 2.2.6-pre.
1064         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1065         compatible declaration.
1067         * net/tramp-cmds.el (tramp-append-tramp-buffers):
1068         Protect `list-load-path-shadows' call.
1070         * net/tramp-compat.el (top): Require packages, which aren't
1071         autoloaded anymore for XEmacs.  Protect call of
1072         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1073         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
1074         it hurts at least for SXEmacs.
1075         (tramp-compat-temporary-file-directory): In XEmacs, there is no
1076         standard-value for `temporary-file-directory'.
1078         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1079         Redirect stderr to /dev/null.
1080         (tramp-sh-handle-write-region): uid and gid can be floats.
1081         Reported by Russell Sim <russell.sim@gmail.com>.
1082         (tramp-sh-handle-vc-registered): Hide errors.
1083         (tramp-vc-file-name-handler): Use dummy results for `process-file'
1084         and `start-file-process'.
1085         (tramp-maybe-open-connection): Check also whether `non-essential'
1086         is bound.
1088 2012-07-04  Chong Yidong  <cyd@gnu.org>
1090         * xml.el (xml--parse-buffer): Use xml-syntax-table.
1091         (xml-parse-tag): Likewise, and avoid changing entity tables.
1092         (xml-syntax-table): Define from scratch, making sure not to give
1093         x2000 and other Unicode spaces whitespace syntax, since those are
1094         not spaces in XML.
1095         (xml-parse-fragment): Delete unused function.
1096         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1097         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1098         (xml-entity-ref, xml-pe-reference-re)
1099         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1100         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1101         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1102         (xml-entity-value-re): Use syntax references in regexps where
1103         possible; no need to define inside a let-binding.
1104         (xml-parse-dtd): Use xml-pe-reference-re.
1105         (xml-entity-or-char-ref-re): New defconst.
1106         (xml-parse-string, xml-substitute-special): Use it.
1108 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1110         * files.el (locate-dominating-file): Allow `name' to be a predicate.
1111         (find-file--read-only): New function.
1112         (find-file-read-only, find-file-read-only-other-window)
1113         (find-file-read-only-other-frame): Use it.
1114         (insert-file-contents-literally): Don't `fset'.
1115         (get-free-disk-space): Use locate-dominating-file.
1117         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1118         function is already compiled.
1120         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
1122 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
1124         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1125         files on the same host.
1127 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1129         * help-fns.el (describe-function-1): Only call
1130         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
1132 2012-07-03  Chong Yidong  <cyd@gnu.org>
1134         * xml.el: Protect parser against XML bombs.
1135         (xml-entity-expansion-limit): New variable.
1136         (xml-parse-string, xml-substitute-special): Use it.
1137         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1139 2012-07-03  Glenn Morris  <rgm@gnu.org>
1141         * progmodes/bug-reference.el (bug-reference-bug-regexp):
1142         Allow linking to specific messages in debbugs reports (eg 123#5).
1144 2012-07-02  Chong Yidong  <cyd@gnu.org>
1146         * xml.el: Fix entity and character reference expansion, allowing
1147         them to expand into markup as per XML spec.
1148         (xml-default-ns): New variable.
1149         (xml-entity-alist): Use XML spec definitions for lt and amp.
1150         (xml-parse-region): Make first two arguments optional.
1151         Discard text properties.
1152         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1153         All callers changed.
1154         (xml-parse-tag): Call xml-parse-tag-1.  For backward
1155         compatibility, this function should not modify buffer contents.
1156         (xml-parse-tag-1): Fix opening-tag regexp.
1157         (xml-parse-string): Rewrite, handling entity and character
1158         references properly.
1159         (xml--entity-replacement-text): Signal an error if a parameter
1160         entity is undefined.
1162 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1164         * comint.el (comint-output-filter): Filter out repeated prompts.
1166         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1167         and file-name-absolute-p.
1168         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1169         internal calls.
1171 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
1173         Spelling fixes.
1174         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1175         Rename from byte-compile--refiy-function.  All uses changed.
1177 2012-07-01  Chong Yidong  <cyd@gnu.org>
1179         * xml.el (xml--parse-buffer): New function.  Move most of
1180         xml-parse-region here.
1181         (xml-parse-region): Copy region into a temporary buffer, since
1182         parameter entity substitution requires changing buffer contents.
1183         Use xml--parse-buffer.
1184         (xml-parse-file): Use xml--parse-buffer.
1185         (xml-parse-dtd): Make parameter entity substitution work right.
1186         Use proper regexps for ELEMENT declarations (Bug#7172).
1188 2012-06-30  Glenn Morris  <rgm@gnu.org>
1190         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1192         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1193         Remove outdated and unnecessary dbus declarations.
1195 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
1197         * emacs-lisp/timer.el (timer-until): Subtract results of
1198         float-time, instead of taking float-time of the result of
1199         time-subtract, since float-time signals an error for negative time
1200         arguments.
1202 2012-06-30  Chong Yidong  <cyd@gnu.org>
1204         * xml.el (xml-*-re): Convert defvars into defconsts, and
1205         eval-and-compile them so eval-and-compile works on derivatives.
1206         (xml--entity-replacement-text): Use eval-and-comple.
1208 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
1210         * vc/vc-git.el (vc-git-registered): Use cache property
1211         `git-registered'.
1212         (vc-git-mode-line-string): Call `vc-working-revision' instead of
1213         `vc-git-working-revision' in order to benefit from the cache.
1214         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
1216 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
1218         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1219         removed (likely outside Emacs).  (Bug#11757)
1221 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1223         * emacs-lisp/cl-lib.el: Require macroexp.
1225 2012-06-30  Chong Yidong  <cyd@gnu.org>
1227         * xml.el: Implement XML parameter entities.
1228         (xml-parameter-entity-alist): New variable.
1229         (xml-parse-region, xml-parse-fragment): Preserve previous values
1230         of xml-entity-alist and xml-parameter-entity-alist, so that
1231         repeated calls on different documents do not change them.
1232         (xml-parse-tag): Fix doctype regexp.
1233         (xml--entity-replacement-text): New function.
1234         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
1235         properly requires url retrieval which is unimplemented.
1236         (xml-escape-string): Doc fix.
1238 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1240         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1242 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
1244         * fringe.el (fringe-mode): Doc fix.
1246 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
1248         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1249         is non-nil.
1250         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1251         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
1253 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
1255         * calendar/cal-dst.el (calendar-current-time-zone):
1256         Return calendar-current-time-zone-cache if non-nil.
1258 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
1260         * progmodes/which-func.el (which-func-format):
1261         Add mouse-face.  (Bug#11698)
1263 2012-06-29  Leo Liu  <sdl.web@gmail.com>
1265         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1267 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1269         * minibuffer.el (minibuffer-confirm-exit-commands):
1270         Add completion-at-point (bug#11725).
1272 2012-06-29  Glenn Morris  <rgm@gnu.org>
1274         * progmodes/f90.el (f90-font-lock-keywords-2):
1275         Add some preprocessor elements.  (Bug#10499)
1277 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1279         * progmodes/cperl-mode.el (cperl-update-syntaxification):
1280         Use syntax-propertize (bug#11739).
1282 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
1284         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1286 2012-06-28  Julien Danjou  <julien@danjou.info>
1288         * term.el (term-handle-colors-array): Use a set of new faces to
1289         color the terminal.  Also uses :inverse-video property.
1290         (term-default-fg-color): Set to nil by default, deprecate in favor
1291         of `term-face'.
1292         (term-default-bg-color): Set to nil by default, deprecate in favor
1293         of `term-face'.
1294         (term-current-face): Use `term-face' by default.
1295         (term-bold-attribute): Variable deleted.
1297 2012-06-28  Glenn Morris  <rgm@gnu.org>
1299         * simple.el (completion-list-mode-finish):
1300         Don't use toggle-read-only.  (Since completion-list-mode has
1301         a special mode-class, it wasn't doing anything extra anyway.)
1303 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1305         Make inlining of other-mode interpreted functions work (bug#11799).
1306         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1307         (byte-compile): Use it to fix compilation of lexical-binding closures.
1308         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1309         function, if needed.
1311 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1313         * help-mode.el (help-make-xrefs): Don't just withstand
1314         cyclic-variable-indirection but any error in documentation-property.
1316         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1317         memory use.
1318         * bindings.el (bindings--define-key): New function.
1319         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1320         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1321         * bindings.el: Use it to purecopy define-key bindings.
1323         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1325         * emacs-lisp/cl.el (flet): Mark obsolete.
1326         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1327         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1328         * progmodes/js.el (js-c-fill-paragraph):
1329         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1330         (ebrowse-switch-member-buffer-to-derived-class):
1331         * play/5x5.el (5x5-solver): Use cl-flet.
1333         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
1334         (cl--symbol-function): New macro.
1335         (cl--letf, cl--letf*): Use it.
1337         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1338         Strip "toggle-" if any.
1340 2012-06-27  Glenn Morris  <rgm@gnu.org>
1342         * info.el (Info-default-directory-list): Move here from paths.el.
1343         * paths.el: Remove file, which is now empty.
1344         * loadup.el: No longer load "paths".
1346         * custom.el (custom-initialize-delay): Doc fix.
1348         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1349         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1350         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1351         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1352         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1353         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1354         * eshell/eshell.el (eshell-defgroup): Remove alias.
1356 2012-06-27  Chong Yidong  <cyd@gnu.org>
1358         * help.el (help-enable-auto-load): New variable.
1360         * help-fns.el (help-fns--autoloaded-p): New function.
1361         (describe-function-1): Refer to a function as "autoloaded" if it
1362         was autoloaded at any time in the past.  Perform autoloading if
1363         help-enable-auto-load is non-nil.
1365 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
1367         * makefile.w32-in (compile, compile-always): Depend on
1368         update-subdirs, not on subdirs.el.  Otherwise, several different
1369         sub-targets of 'bootstrap' running in parallel could
1370         simultaneously write to subdirs.el, producing a garbled file.
1372 2012-06-26  Sam Steingold  <sds@gnu.org>
1374         * files.el (file-name-base): New convenience function.
1375         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1376         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1377         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1378         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1379         * textmodes/ispell.el, textmodes/reftex-ref.el:
1380         * textmodes/tex-mode.el: Use it.
1381         Did not touch cedet and org because they are maintained elsewhere.
1383 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
1385         * calendar/calendar.el (calendar-exit): Don't try to delete or
1386         iconify last frame.  See:
1387         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1389 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
1391         * server.el (server-process-filter): Remember dir in the
1392         process's `server-client-directory' properties.
1394 2012-06-24  Chong Yidong  <cyd@gnu.org>
1396         * xml.el (xml-parse-tag): Correctly handle comment embedded in
1397         non-tag text.
1399 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
1401         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1403 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1405         * help-fns.el (describe-variable): Don't croak when doc is not found.
1406         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1407         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1408         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1409         * emacs-lisp/smie.el (smie-next-sexp): CSE.
1410         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1411         ((lambda ..) ..).
1412         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1414 2012-06-23  Chong Yidong  <cyd@gnu.org>
1416         * info.el (Info-mouse-follow-link): Accept symbol values of
1417         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
1418         (Info-fontify-node): Use Info-link-keymap for all navigation
1419         buttons, with link-args property to perform the desired action.
1420         (Info-link-keymap): Doc fix.
1421         (Info-next-link-keymap, Info-prev-link-keymap)
1422         (Info-up-link-keymap): Delete now-unused keymaps.
1424 2012-06-23  Chong Yidong  <cyd@gnu.org>
1426         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1428         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1429         system abbrevs.
1431         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1433 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1435         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1436         (bug#11719).
1438         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1439         the requote function doesn't work properly (bug#11714).
1441 2012-06-23  Glenn Morris  <rgm@gnu.org>
1443         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1445 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1447         Further GV/CL cleanups.
1448         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1449         gv-expander.
1450         (gv--defun-declaration): New function.
1451         (defun-declarations-alist): Use it.
1452         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1453         (gv-place): Autoload.
1454         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1455         original definition of dotimes and dolist.
1456         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1457         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1458         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1459         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1460         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1461         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1462         to the function's definition.
1463         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1464         * window.el:
1465         * files.el:
1466         * faces.el:
1467         * env.el: Don't use CL.
1469 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1471         Support higher-resolution time stamps (Bug#9000).
1473         * calendar/time-date.el (with-decoded-time-value): New arg
1474         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
1475         (encode-time-value): New optional arg PICO.  New type 3.
1476         (time-to-seconds) [!float-time]: Support the new picoseconds
1477         component if it's used.
1478         (seconds-to-time, time-subtract, time-add):
1479         Support ps-resolution time stamps as well.
1481         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
1482         (timerp): Timer vectors now have length 9, not 8.
1483         (timer--time): Support new-style (4-part) time stamps.
1484         (timer-next-integral-multiple-of-time): Time stamps now have
1485         picosecond resolution, so take a bit more care about rounding.
1486         (timer-relative-time, timer-inc-time): New optional arg psecs.
1487         (timer-set-time-with-usecs): Set psecs to 0.
1488         (timer--activate): Check psecs component, too.
1490         * proced.el (proced-time-lessp): Support ps-resolution stamps.
1492 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1494         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1495         Move the non-essential binding to the post/pre-command-hook where it is
1496         more obviously correct.
1498         * subr.el (read-passwd): Don't use a history at all.
1499         * savehist.el (savehist-save): Remove password saved accidentally
1500         because of the above bug.
1502 2012-06-22  Bastien Guerry  <bzg@gnu.org>
1504         * files.el (toggle-read-only): Display a message telling whether
1505         the buffer is read-only or not (bug#11726).
1507 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1509         * emacs-lisp/gv.el: New file.
1510         * subr.el (push, pop): Extend to generalized variables.
1511         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1512         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1513         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
1514         gv-define-simple-setter, and gv-define-expander.
1515         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
1516         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1517         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1518         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1519         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1520         gv-letplace.
1521         (cl-defstruct): Don't define setf-method any more.
1522         * emacs-lisp/cl.el (flet): Don't autoload.
1523         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1524         (define-setf-expander, defsetf, define-modify-macro)
1525         (cl-struct-setf-expander): Move from cl-lib.el.
1526         * emacs-lisp/syntax.el:
1527         * emacs-lisp/ewoc.el:
1528         * emacs-lisp/smie.el:
1529         * emacs-lisp/cconv.el:
1530         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1531         (timer--time): Use gv-define-simple-setter.
1532         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1533         to avoid coding-system problems in subr.el.  Adjust all users.
1534         (macroexp--maxsize, macroexp-small-p): New functions.
1535         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1536         * scroll-bar.el (scroll-bar-mode):
1537         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1538         (normal-erase-is-backspace-mode): Don't use the `eq' place.
1539         * winner.el (winner-configuration, winner-make-point-alist)
1540         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1541         * files.el (locate-file-completion-table): Avoid list*.
1543 2012-06-22  Chong Yidong  <cyd@gnu.org>
1545         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1546         (dired-create-files): Doc fix (Bug#11329).
1547         (dired-do-copy): Doc fix (Bug#11334).
1548         (dired-mark-read-string): Doc fix (Bug#11553).
1550         * dired.el (dired-recursive-copies, dired-recursive-deletes):
1551         Doc fix (Bug#11326).
1552         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
1553         (dired-dwim-target): Doc fix.
1555         * wdired.el (wdired-mode): Doc fix.
1557 2012-06-22  Glenn Morris  <rgm@gnu.org>
1559         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1560         (pcmpl-rpm-cache-stamp-file): New constant.
1561         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1562         (pcmpl-rpm-packages): Optionally cache list of packages.
1564         * pcmpl-rpm.el (pcmpl-rpm): New group.
1565         (pcmpl-rpm-query-options): New option.
1566         (pcmpl-rpm-packages): No need to inline it.
1567         Use pcmpl-rpm-query-options.
1569         * calendar/calendar.el (calendar-in-read-only-buffer):
1570         Avoid some needless mode changes.
1572 2012-06-21  Chong Yidong  <cyd@gnu.org>
1574         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1575         (desktop-path): Remove . from the default value (Bug#10977).
1576         (desktop-read): Use user-emacs-directory if desktop-path is nil.
1578 2012-06-20  Chong Yidong  <cyd@gnu.org>
1580         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1582 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
1584         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1585         (bug#11201).
1587 2012-06-20  Chong Yidong  <cyd@gnu.org>
1589         * term.el (term-window-width): Handle the case of a missing right
1590         fringe (Bug#8837).
1591         (term-check-size): Use window-text-height (Bug#5445).
1592         (term-mode): Use define-derived-mode.  Minor cleanups.
1593         Set font-lock-defaults (Bug#7692).
1594         (term-move-columns, term-insert-char, term-emulate-terminal)
1595         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1597 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
1599         * net/ange-ftp.el (ange-ftp-get-passwd):
1600         Bind `enable-recursive-minibuffers'.
1601         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1603 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
1605         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1607 2012-06-19  Glenn Morris  <rgm@gnu.org>
1609         * progmodes/python.el (python-mode): Derive from prog-mode.
1611 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1613         * emulation/edt.el (edt-default-menu-bar-update-buffers)
1614         (edt-user-menu-bar-update-buffers): New functions.
1615         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1617 2012-06-19  Chong Yidong  <cyd@gnu.org>
1619         * subr.el (with-selected-window): Preserve the selected window's
1620         terminal's top-frame (Bug#4702).
1622         * window.el (save-selected-window): Likewise.
1624 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1626         * progmodes/python.el (python-rx-constituents): Move backquote.
1627         (python-skeleton-define, python-define-auxiliary-skeleton):
1628         Use `declare'.
1630 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
1632         * minibuffer.el (read-file-name-default): Revert the patch from
1633         2012-06-17.
1635 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1637         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1638         (pcase--u1, pcase--q1): Don't use apply-partially.
1640 2012-06-18  Glenn Morris  <rgm@gnu.org>
1642         * progmodes/python.el (python-proc, python-buffer)
1643         (python-send-receive, python-send-string): Fix obsolete versions.
1645 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
1647         * window.el (special-display-p): Completely remove stringp
1648         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1650 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
1652         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1654         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1656         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1657         * net/tramp-sh.el (tramp-maybe-open-connection):
1658         Throw if `non-essential' is non-nil.
1660 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
1662         * window.el (special-display-p): Signal an error if BUFFER-NAME
1663         is not a string (Bug#11713).
1665 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
1667         * progmodes/python.el (python-info-beginning-of-backslash):
1668         Rename from python-info-beginning-of-backlash, as a spelling fix.
1670 2012-06-17  Chong Yidong  <cyd@gnu.org>
1672         * term.el (term-emulate-terminal): If term-check-size is called,
1673         move point to the process mark without resetting point (Bug#4635).
1675 2012-06-17  Glenn Morris  <rgm@gnu.org>
1677         * international/mule-cmds.el (mule-menu-keymap)
1678         (set-language-environment, set-locale-environment): Doc tweaks.
1680 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
1682         * cus-face.el (custom-face-attributes): Add wave-style underline
1683         attribute.
1684         * faces.el (set-face-attribute): Update docstring to describe
1685         wave-style underline attribute.
1687 2012-06-16  Chong Yidong  <cyd@gnu.org>
1689         * term/xterm.el (terminal-init-xterm): Discard input before
1690         querying background mode (Bug#10959).
1692 2012-06-16  Stefan Merten  <smerten@oekonux.de>
1694         * textmodes/rst.el: Added and corrected some comments.
1695         (rst-re-alist-def): Improve symbol syntax.
1696         (rst-mode-syntax-table): Correct syntax entries.
1697         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1698         (rst-official-version, rst-official-cvs-rev): Update version
1699         information.
1701 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
1703         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1704         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1706 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
1708         * progmodes/python.el: New python.el merge.
1709         (python-guess-indent): Obsolete var.
1710         (python-indent-guess-indent-offset): New defcustom.
1711         (python-indent): Obsolete var.
1712         (python-indent-offset): New defcustom.
1713         (python-python-command, python-jython-command): Delete var.
1714         (python-shell-interpreter): New defcustom.
1715         (python-pdbtrack-do-tracking-p): Delete var.
1716         (python-pdbtrack-activate): New defcustom.
1717         (python-use-skeletons): Obsolete var.
1718         (python-skeleton-autoinsert): New defcustom.
1719         (inferior-python-filter-regexp, python-continuation-offset)
1720         (python-honour-comment-indentation, python-indent-string-contents)
1721         (python-jython-packages, python-mode-hook)
1722         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1723         (python-shell-prompt-alist)
1724         (python-source-modes): Delete defcustoms.
1725         (python-check-buffer-name, python-eldoc-setup-code)
1726         (python-eldoc-string-code, python-ffap-setup-code)
1727         (python-ffap-string-code, python-fill-comment-function)
1728         (python-fill-decorator-function, python-fill-paren-function)
1729         (python-fill-string-function, python-imenu-include-defun-type)
1730         (python-imenu-make-tree, python-imenu-subtree-root-label)
1731         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1732         (python-shell-compilation-regexp-alist)
1733         (python-shell-completion-module-string-code)
1734         (python-shell-completion-pdb-string-code)
1735         (python-shell-completion-setup-code)
1736         (python-shell-completion-string-code)
1737         (python-shell-enable-font-lock, python-shell-exec-path)
1738         (python-shell-extra-pythonpaths)
1739         (python-shell-internal-buffer-name, python-shell-interpreter-args)
1740         (python-shell-process-environment)
1741         (python-shell-prompt-block-regexp)
1742         (python-shell-prompt-output-regexp)
1743         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1744         (python-shell-send-setup-max-wait, python-shell-setup-codes)
1745         (python-shell-virtualenv-path): New defcustoms.
1746         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1747         (inferior-python-mode-syntax-table, python--prompt-regexp)
1748         (python-buffer, python-command python-python-command)
1749         (python-default-template, python-imports, python-indent-index)
1750         (python-indent-list, python-indent-list-length)
1751         (python-mode-running, python-pdbtrack-is-tracking-p)
1752         (python-preoutput-continuation, python-preoutput-leftover)
1753         (python-preoutput-result, python-preoutput-skip-next-prompt)
1754         (python-prev-dir/file, python-recursing)
1755         (python-saved-check-command, python-version-checked)
1756         (python-which-func-length-limit)
1757         (view-return-to-alist): Delete vars.
1758         (python-check-custom-command, python-dotty-syntax-table)
1759         (python-imenu-index-alist, python-indent-current-level)
1760         (python-indent-dedenters, python-indent-levels)
1761         (python-nav-beginning-of-defun-regexp)
1762         (python-nav-list-defun-positions-cache)
1763         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1764         (python-shell-internal-buffer)
1765         (python-skeleton-available): New vars.
1766         (def-python-skeleton): Delete macro.
1767         (python-skeleton-define): New macro.
1768         (python-define-auxiliary-skeleton, python-rx): New macros.
1769         (python-insert-class): Delete command.
1770         (python-skeleton-class): New command.
1771         (python-insert-def): Delete command.
1772         (python-skeleton-def): New command.
1773         (python-insert-for): Delete command.
1774         (python-skeleton-for): New command.
1775         (python-insert-if): Delete command.
1776         (python-skeleton-if): New command.
1777         (python-insert-try/except, python-insert-try/finally): Delete commands.
1778         (python-skeleton-try): New command.
1779         (python-insert-while): Delete command.
1780         (python-skeleton-while): New command.
1781         (python-backspace): Delete command.
1782         (python-indent-dedent-line-backspace): New command.
1783         (python-electric-colon): Delete command.
1784         (python-indent-electric-colon): New command.
1785         (python-guess-indent): Delete command.
1786         (python-indent-guess-indent-offset): New command.
1787         (python-shift-left): Delete command.
1788         (python-indent-shift-left): New command.
1789         (python-shift-right): Delete command.
1790         (python-indent-shift-right): New command.
1791         (python-find-function): Delete command.
1792         (python-nav-jump-to-defun): New command.
1793         (python-next-statement): Delete command.
1794         (python-nav-forward-sentence): New command.
1795         (python-previous-statement): Delete command.
1796         (python-nav-backward-sentence): New command.
1797         (python-fill-paragraph): Delete command.
1798         (python-fill-paragraph-function): New command.
1799         (python-send-buffer): Delete command.
1800         (python-shell-send-buffer): New command.
1801         (python-send-defun): Delete command.
1802         (python-shell-send-defun): New command.
1803         (python-send-region, python-send-region-and-go): Delete commands.
1804         (python-shell-send-region)
1805         (python-shell-switch-to-shell): New commands.
1806         (python-send-string): Delete command.
1807         (python-shell-send-string): New command.
1808         (python-switch-to-python): Delete command.
1809         (python-shell-switch-to-shell): New command.
1810         (python-describe-symbol): Delete command.
1811         (python-eldoc-at-point): New command.
1812         (python--set-prompt-regexp, python-args-to-list)
1813         (python-after-info-look, python-check-version)
1814         (python-check-comint-prompt, python-find-imports)
1815         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1816         (python-unload-function, python-expand-template)
1817         (python-maybe-jython, python-preoutput-filter)
1818         (python-pdbtrack-get-source-buffer)
1819         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1820         (python-pdbtrack-toggle-stack-tracking)
1821         (python-pdbtrack-track-stack-file, python-initial-text)
1822         (python-first-word, python-comment-line-p, python-send-command)
1823         (python-setup-brm, python-sentinel, python-set-proc)
1824         (python-skip-out, python-input-filter, python-outdent-p)
1825         (python-outline-level, python-backslash-continuation-line-p)
1826         (python-end-of-block, python-end-of-statement, python-mark-block)
1827         (python-beginning-of-block, python-beginning-of-statement)
1828         (python-blank-line-p, python-beginning-of-string)
1829         (python-open-block-statement-p): Delete functions.
1830         (python-indent-line, python-indent-line-1): Delete functions.
1831         (python-indent-line): New function.
1832         (python-indentation-levels): Delete function.
1833         (python-indent-calculate-levels): New function.
1834         (python-proc): Delete function.
1835         (python-shell-get-process): New function.
1836         (python-send-receive): Delete function.
1837         (python-shell-send-string-no-output): New function.
1838         (python-module-path): Delete function.
1839         (python-ffap-module-path): New function.
1840         (python-completion-at-point)
1841         (python-symbol-completions): Delete functions.
1842         (python-completion-complete-at-point): New function.
1843         (python-load-file): Delete function.
1844         (python-shell-send-file): New function.
1845         (python-calculate-indentation): Delete function.
1846         (python-indent-calculate-indentation): New function.
1847         (python-skip-comments/blanks): Delete function.
1848         (python-util-forward-comment): New function.
1849         (python-continuation-line-p): Delete function.
1850         (python-info-continuation-line-p): New function.
1851         (python-which-func, python-current-defun): Delete function.
1852         (python-info-current-defun): New function.
1853         (python-beginning-of-defun): Delete function.
1854         (python-nav-beginning-of-defun): New function.
1855         (python-close-block-statement-p)
1856         (python-block-end-p): Delete function.
1857         (python-info-closing-block): New function.
1858         (python-comint-output-filter-function)
1859         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1860         (python-fill-comment, python-fill-decorator, python-fill-paren)
1861         (python-fill-string, python-imenu-make-element-tree)
1862         (python-imenu-make-tree, python-imenu-tree-assoc)
1863         (python-indent-context, python-indent-dedent-line)
1864         (python-indent-line-function)
1865         (python-indent-post-self-insert-function)
1866         (python-indent-toggle-levels)
1867         (python-info-assignment-continuation-line-p)
1868         (python-info-beginning-of-backlash)
1869         (python-info-block-continuation-line-p)
1870         (python-info-closing-block-message)
1871         (python-info-line-ends-backslash-p)
1872         (python-info-looking-at-beginning-of-defun)
1873         (python-info-ppss-context, python-info-ppss-context-type)
1874         (python-nav-list-defun-positions, python-nav-read-defun)
1875         (python-nav-sentence-end, python-nav-sentence-start)
1876         (python-pdbtrack-comint-output-filter-function)
1877         (python-pdbtrack-set-tracked-buffer)
1878         (python-shell-calculate-exec-path)
1879         (python-shell-calculate-process-environment)
1880         (python-shell-completion--do-completion-at-point)
1881         (python-shell-completion--get-completions)
1882         (python-shell-completion-complete-at-point)
1883         (python-shell-completion-complete-or-indent)
1884         (python-shell-get-or-create-process)
1885         (python-shell-get-process-name)
1886         (python-shell-internal-get-or-create-process)
1887         (python-shell-internal-get-process-name)
1888         (python-shell-internal-send-string, python-shell-make-comint)
1889         (python-shell-parse-command, python-shell-send-setup-code)
1890         (python-skeleton-add-menu-items)
1891         (python-util-clone-local-variables, python-util-position)
1892         (run-python-internal, python-indentation-levels)
1893         (python-nav-beginning-of-defun)
1894         (python-completion-complete-at-point): New functions.
1895         (run-python): Change arguments.  New API requirements.
1897 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1899         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1900         (bug#11649).
1902         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1903         (macroexp--expand-all): Use it.
1905         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1906         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1907         Use `cl-function' instead.
1909 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
1911         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1912         Suggested by Stefan Monnier while discussing bug#11657.
1914 2012-06-14  Sam Steingold  <sds@gnu.org>
1916         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1918 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1920         * play/doctor.el (doctor-doc): Remove parameter and use
1921         doctor-sent instead of sent.
1922         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
1924 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1926         * files.el: Require cl-lib.
1927         (file-name-non-special): Replace case -> cl-case.
1929         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1931         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1932         mapping from #' to function*.
1934 2012-06-13  Chong Yidong  <cyd@gnu.org>
1936         * mouse.el (mouse-drag-track): Do not set the mark if the user
1937         releases the mouse without selecting anything (Bug#11588).
1939 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1941         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1942         as well (bug#11646).
1944         * loadup.el: Count byte-code functions as well.
1946         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1947         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1949         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1950         (bug#11649).  Add cl-defun and cl-defmacro.
1952 2012-06-13  Drew Adams  <drew.adams@oracle.com>
1954         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1955         Fix last change.
1957 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
1959         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1960         Otherwise, it blocks in batch mode.
1962 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
1964         * help-mode.el (bookmark-make-record-default): Declare.
1966 2012-06-13  Chong Yidong  <cyd@gnu.org>
1968         * emacs-lisp/package.el (list-packages): Compute a list of
1969         packages that are newly-available since the last list-packages
1970         invocation.
1971         (package-menu--new-package-list): New var.
1972         (package-menu--generate, package-menu--print-info)
1973         (package-menu--status-predicate, package-menu-mark-install):
1974         Handle new status label "new".
1976 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1978         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1979         conversion to backquotes.
1981 2012-06-12  Chong Yidong  <cyd@gnu.org>
1983         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1984         Rename from gud-inhibit-global-bindings.
1986         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1988         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1989         hook from nxml-glyph-set-hook.
1991         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1992         declaration.
1994         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1996         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1997         Convert to defcustom.
1999 2012-06-12  Drew Adams  <drew.adams@oracle.com>
2001         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2002         New functions.
2003         (help-mode): Use them.
2005 2012-06-11  Glenn Morris  <rgm@gnu.org>
2007         * progmodes/fortran.el (fortran-font-lock-keywords-3):
2008         Use preprocessor face for directives.
2009         (fortran-directive-re): Doc fix.
2011 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2013         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2014         conversion to backquotes (bug#11652).
2016         Fix compiler-expansion of CL's cXXr functions (bug#11673).
2017         * emacs-lisp/cl-lib.el (cl--defalias): New function.
2018         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2019         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2020         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2021         (cl-ninth, cl-tenth): Mark them as inlinable.
2022         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2023         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2024         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2025         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2026         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2027         (cl-list*, cl-adjoin): Don't put an autoload manually.
2028         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2029         (cl--compiler-macro-list*): Add autoload cookie.
2030         (cl--compiler-macro-cXXr): New function.
2032         * help-fns.el (help-fns--compiler-macro): New function extracted from
2033         describe-function-1; follow aliases and use `compiler-macro' property.
2034         (describe-function-1): Use it.
2036 2012-06-11  Chong Yidong  <cyd@gnu.org>
2038         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2039         is uninstalled, if imagemagick is installed.
2041 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2043         * emacs-lisp/cl-lib.el: Use lexical-binding.
2044         (cl-map-extents, cl-maclisp-member): Remove.
2045         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2046         (cl--set-substring, cl--block-wrapper, cl--block-throw)
2047         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2048         * emacs-lisp/cl-extra.el: Use lexical-binding.
2049         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2050         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2051         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2052         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2053         * emacs-lisp/cl-seq.el: Use lexical-binding.
2054         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2055         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2056         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2057         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2058         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2059         CL's internals.
2061 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
2063         Sync with Tramp 2.2.6-pre.
2065         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2066         `print-length' and `print-level' to nil, in order to avoid
2067         truncation.  Reported by Christopher Schmidt
2068         <christopher@ristopher.com>.
2070         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2072         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2073         New defmacro.
2074         (tramp-compat-copy-directory): Add optional argument
2075         COPY-CONTENTS.  It is not handled yet.
2077         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2078         (tramp-ftp-file-name-p): Simplify.
2080         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2081         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2082         connection vector.
2084         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2085         (tramp-methods): Do not use `tramp-password-end-of-line'.
2086         (tramp-completion-function-alist-putty): Handle UNIX case.
2087         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2088         (tramp-do-file-attributes-with-stat)
2089         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2090         gid as real numbers.  They could run out of integer range on cygwin.
2091         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2092         (tramp-sh-handle-expand-file-name): Handle hops.
2093         (tramp-open-connection-setup-interactive-shell):
2094         Use `tramp-cleanup'.  Move check for busyboxes ...
2095         (tramp-find-shell): ... here.  Simplify implementation.
2096         Set "remote-shell" property also for alternative shells.
2097         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2098         If failing, a regular file would be written otherwise.
2099         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2100         (tramp-find-inline-encoding): Cache the coding commands in the
2101         process cache.  Apply test command on the remote side, if defined.
2102         (tramp-find-inline-compress): Cache the compress commands in the
2103         process cache.
2104         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2105         when requested.  Handle hops.
2106         (tramp-current-connection): New defvar.
2107         (tramp-maybe-open-connection): Use `tramp-cleanup'.
2108         Throw `suppress', if there was a failed connection shortly before.
2109         Handle user interrupt.  (Bug#10187)
2110         (tramp-get-inline-compress, tramp-get-inline-coding):
2111         Read connection properties from the process cache.
2113         * net/tramp-smb.el (tramp-smb-server-version)
2114         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2115         New defconsts.
2116         (tramp-smb-prompt): Extend for powershell prompt.
2117         (tramp-smb-file-name-handler-alist): Add handlers for
2118         `process-file', `shell-command' and `start-file-process'.
2119         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2120         (tramp-smb-winexe-shell-command-switch): New defcustoms.
2121         (tramp-smb-file-name-p): Simplify.
2122         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2123         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2124         (tramp-smb-shell-quote-argument): New defuns.
2125         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2126         Implement using "tar".  By this, time-stamps are preserved.
2127         (tramp-smb-handle-copy-file): Handle also the case of directories.
2128         (tramp-smb-do-file-attributes-with-stat)
2129         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2130         Use `tramp-get-connection-buffer').
2131         (tramp-smb-handle-rename-file): Use "rename", when source and
2132         target are on the same share.
2133         (tramp-smb-maybe-open-connection): Handle wrong passwords.
2134         Use `tramp-smb-server-version'.
2135         (tramp-smb-wait-for-output): Remove prompt.
2137         * net/tramp.el (top): Require 'cl.
2138         (tramp-methods, tramp-rsh-end-of-line):
2139         Remove `tramp-password-end-of-line' from docstring.
2140         (tramp-save-ad-hoc-proxies): New defcustom.
2141         (tramp-completion-function-alist): Adapt docstring.
2142         (tramp-default-password-end-of-line): Remove defcustom.
2143         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
2144         (tramp-user-regexp, tramp-file-name-regexp-unified)
2145         (tramp-file-name-regexp-url): Extend regexp by hop separator.
2146         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2147         (tramp-remote-file-name-spec-regexp): New defconst.
2148         (tramp-file-name-structure): Extend structure for hops.
2149         (tramp-get-method-parameter): Move up.
2150         (tramp-file-name-p, tramp-dissect-file-name)
2151         (with-parsed-tramp-file-name): Handle hops.
2152         (tramp-file-name-hop): New defun.
2153         (tramp-make-tramp-file-name): New optional arg HOP.
2154         (tramp-message-show-progress-reporter-message): New defvar.
2155         (tramp-with-progress-reporter): Use it.  We cannot use
2156         `tramp-message-show-message' here, because this suppresses also
2157         error buffers.
2158         (tramp-error-with-buffer): Suppress buffer view, if
2159         `tramp-message-show-message' is nil.
2160         Use `tramp-get-connection-buffer'.
2161         (tramp-cleanup): New defun.
2162         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2163         (tramp-file-name-handler): If `debug-on-error' is set, propagate
2164         an error unchanged.
2165         (tramp-completion-handle-file-name-all-completions): Handle hops.
2166         Fix an error when called from ido.
2167         (tramp-completion-dissect-file-name): Use better local variable
2168         name.  Add hop to the vector.
2169         (tramp-handle-insert-file-contents): Use progress-reporter for the
2170         whole scenario.
2171         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2172         to `t'.
2173         (tramp-check-for-regexp): Simplify search.
2174         (tramp-enter-password): Remove it.  Move implementation ...
2175         (tramp-action-password): ... here.
2176         (tramp-mode-string-to-int, tramp-local-host-p)
2177         (tramp-make-tramp-temp-file, tramp-read-passwd)
2178         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2179         Set tramp-autoload cookie.
2181         * net/trampver.el: Update release number.
2183 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2184             Michael Albinus  <michael.albinus@gmx.de>
2186         * net/tramp.el (tramp-set-completion-function): Fix docstring.
2187         (tramp-parse-group, tramp-parse-file)
2188         (tramp-parse-shostkeys-sknownhosts): New defuns.
2189         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2190         (tramp-parse-shosts-group, tramp-parse-sconfig)
2191         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2192         (tramp-parse-sknownhosts, tramp-parse-hosts)
2193         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2194         Use them.
2195         (tramp-parse-passwd-group, tramp-parse-netrc-group)
2196         (tramp-parse-putty-group): Don't narrow.
2197         (tramp-parse-putty): Make a loop.
2198         (tramp-file-name-handler): Catch the `suppress' signal.
2200 2012-06-11  Chong Yidong  <cyd@gnu.org>
2202         * image.el (imagemagick-register-types): Put the ImageMagick entry
2203         at the end of image-type-file-name-regexps.
2205 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
2207         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2208         (pcase, pcase-let*, pcase-dolist): Use them.
2210 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2212         * emacs-lisp/pcase.el (pcase--let*): New function.
2213         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
2214         (pcase--expand): Use macroexp-let².
2216 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2218         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2219         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2220         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2221         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2222         * emacs-lisp/derived.el: Use pcase instead of `cl'.
2223         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2225 2012-06-10  Glenn Morris  <rgm@gnu.org>
2227         * mail/rmail.el (rmail-yank-current-message): Leave point at
2228         correct position.  (Bug#11660)
2230 2012-06-10  Chong Yidong  <cyd@gnu.org>
2232         * allout-widgets.el: Fix code header.
2234 2012-06-10  Chong Yidong  <cyd@gnu.org>
2236         * cus-edit.el (customize-changed-options-previous-release):
2237         Bump to 24.1.
2239 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
2241         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2243 2012-06-09  Chong Yidong  <cyd@gnu.org>
2245         * ebuff-menu.el (electric-buffer-list): Preserve header line.
2247 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
2249         * window.el (special-display-popup-frame): Don't use
2250         window--display-buffer (Bug#11651).
2252 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
2254         Fix parallel builds: make sure loaddefs.el is not being written
2255         while Lisp files are compiled.
2256         (compile): Don't depend on 'mh-autoloads'.
2257         (compile-CMD, compile-SH): Depend on 'autoloads'.
2258         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2260         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
2262 2012-06-09  Chong Yidong  <cyd@gnu.org>
2264         * face-remap.el (face-remap-add-relative, face-remap-set-base)
2265         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2266         Doc fixes (Bug#11225).
2268 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2270         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2271         a function if there's a clear indication that it has a compiler-macro.
2272         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2273         (macro-declarations-alist): Add arglist to declaration functions.
2274         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2275         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2276         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2277         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2278         Also add autoload to find the compiler macro.
2279         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2280         (cl--compiler-macro-member, cl--compiler-macro-assoc)
2281         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2282         (cl--compiler-macro-get): New functions, replacing calls to
2283         cl-define-compiler-macro.
2284         (cl-typep) [compiler-macro]: Use macroexp-let².
2286 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
2288         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2289         string properly, fixes Bug#11473.
2291 2012-06-08  Chong Yidong  <cyd@gnu.org>
2293         * faces.el (set-face-attribute): Doc fix.
2294         (modify-face): Don't use :bold and :italic.
2295         (error, warning, success): Tweak definitions.
2297         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2298         (custom-modified, custom-set, custom-changed, custom-themed)
2299         (custom-saved, custom-button, custom-button-mouse)
2300         (custom-button-pressed, custom-state, custom-comment-tag)
2301         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2302         (custom-group-subtitle): Use new-style face specs.
2303         (custom-invalid-face, custom-rogue-face, custom-modified-face)
2304         (custom-set-face, custom-changed-face, custom-saved-face)
2305         (custom-button-face, custom-button-pressed-face)
2306         (custom-documentation-face, custom-state-face)
2307         (custom-comment-face, custom-comment-tag-face)
2308         (custom-variable-tag-face, custom-variable-button-face)
2309         (custom-face-tag-face, custom-group-tag-face-1)
2310         (custom-group-tag-face): Remove obsolete face alias.
2312         * epa.el (epa-validity-high, epa-validity-medium)
2313         (epa-validity-low, epa-mark, epa-field-name, epa-string)
2314         (epa-field-name, epa-field-body):
2315         * font-lock.el (font-lock-comment-face, font-lock-string-face)
2316         (font-lock-keyword-face, font-lock-builtin-face)
2317         (font-lock-function-name-face, font-lock-variable-name-face)
2318         (font-lock-type-face, font-lock-constant-face):
2319         * ido.el (ido-first-match, ido-only-match, ido-subdir)
2320         (ido-virtual, ido-indicator, ido-incomplete-regexp):
2321         * speedbar.el (speedbar-button-face, speedbar-file-face)
2322         (speedbar-directory-face, speedbar-tag-face)
2323         (speedbar-selected-face, speedbar-highlight-face)
2324         (speedbar-separator-face):
2325         * whitespace.el (whitespace-newline, whitespace-space)
2326         (whitespace-hspace, whitespace-tab, whitespace-trailing)
2327         (whitespace-line, whitespace-space-before-tab)
2328         (whitespace-space-after-tab, whitespace-indentation)
2329         (whitespace-empty):
2330         * emulation/cua-base.el (cua-global-mark):
2331         * eshell/em-prompt.el (eshell-prompt):
2332         * net/newst-plainview.el (newsticker-new-item-face)
2333         (newsticker-old-item-face, newsticker-immortal-item-face)
2334         (newsticker-obsolete-item-face, newsticker-date-face)
2335         (newsticker-statistics-face, newsticker-default-face):
2336         * net/newst-reader.el (newsticker-feed-face)
2337         (newsticker-extra-face, newsticker-enclosure-face):
2338         * net/newst-treeview.el (newsticker-treeview-face)
2339         (newsticker-treeview-new-face, newsticker-treeview-old-face)
2340         (newsticker-treeview-immortal-face)
2341         (newsticker-treeview-obsolete-face)
2342         (newsticker-treeview-selection-face):
2343         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2344         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2345         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2346         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2347         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2348         (nxml-outline-active-indicator, nxml-outline-ellipsis):
2349         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2350         (mpuz-text):
2351         * progmodes/vera-mode.el (vera-font-lock-number)
2352         (vera-font-lock-function, vera-font-lock-interface):
2353         * textmodes/table.el (table-cell): Use new-style face specs, and
2354         don't use the old :bold and :italic attributes.
2356         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2357         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2358         (ebrowse-member-class, ebrowse-progress): Likewise.
2359         (ebrowse-tree-mark-face, ebrowse-root-class-face)
2360         (ebrowse-file-name-face, ebrowse-default-face)
2361         (ebrowse-member-attribute-face, ebrowse-member-class-face)
2362         (ebrowse-progress-face): Remove obsolete faces.
2364         * progmodes/flymake.el (flymake-errline, flymake-warnline):
2365         Inherit from error and warning faces respectively.
2367         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2368         Likewise.
2369         (flyspell-incorrect-face, flyspell-duplicate-face):
2370         Remove obsolete aliases.
2372 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
2374         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2375         Avoid infloop.
2377 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2379         * startup.el (argv, argi): Make lexically scoped.
2380         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2381         * emacs-lisp/cl-macs.el: Use lexical-binding.
2382         Rename cl-bind-* to cl--bind-*.
2383         * files.el: Don't require `cl' since it doesn't use it.
2384         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2386 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
2388         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2389         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2390         instead of calling external sort utility.
2391         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2393 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
2395         * descr-text.el (describe-char): Mention how to insert the
2396         character, if the current input method doesn't support it.
2397         See the discussion in this thread for the details:
2398         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2400 2012-06-08  Sam Steingold  <sds@gnu.org>
2402         * bindings.el (global-map): Bind XF86Forward to next-buffer and
2403         XF86Back to previous-buffer.
2404         (minibuffer-local-map): Bind them to next-history-element and
2405         previous-history-element respectively.
2406         * help-mode.el (help-mode-map): Bind them to help-go-forward and
2407         help-go-back respectively.
2408         * info.el (Info-mode-map): Bind them to Info-history-forward and
2409         Info-history-back respectively.
2410         These are the keys next to Up on the ThinkPad keyboard.
2412 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2414         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2415         * emacs-lisp/cl-macs.el: Provide itself.
2416         (cl--labels-convert-cache): New var.
2417         (cl--labels-convert): New function.
2418         (cl-flet, cl-labels): New implementation with new semantics, relying on
2419         lexical-binding.
2420         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2421         (cl-closure-vars, cl--function-convert-cache)
2422         (cl--function-convert): Move from cl-macs.el.
2423         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2424         rename by removing the "cl-" prefix.
2425         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2427 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2429         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2430         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2431         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2432         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2433         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2434         (cl-hash-table-count): Add old compatibility aliases.
2436         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2437         Use macroexpand-all-environment instead.
2438         (cl--old-macroexpand): New var.
2439         (cl--sm-macroexpand): New function.
2440         (cl-symbol-macrolet): Use it during macro expansion.
2441         (cl--function-convert-cache): New var.
2442         (cl--function-convert): New function, extracted from
2443         cl-macroexpand-all.
2444         (cl-lexical-let): Use it.
2446         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2447         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2448         (cl-member): Remove old alias.
2450         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2451         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2452         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2453         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2454         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2455         (cl-macroexpand-cmacs): Remove var.
2456         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2457         Use macroexpand-all instead.
2459 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2461         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2462         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2463         (macroexp-copyable-p): New functions and macros.
2464         * emacs-lisp/edebug.el (edebug-unwrap):
2465         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2466         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2467         (pcase--let*): Remove.
2468         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2469         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
2470         macroexp-const-p instead.
2471         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2473         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2474         instead of "cl-" for internal definitions.  Use macroexp-const-p.
2475         (cl-old-bc-file-form): Remove var.
2476         (cl-const-exprs-p): Remove fun.
2477         (cl-labels, cl-macrolet): Use backquote.
2478         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
2479         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2480         (cl-define-setf-expander): Rename from cl-define-setf-method.
2481         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2483         * international/mule-cmds.el: Don't require CL.
2484         (view-hello-file): Don't use `letf'.
2486 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2488         * tmm.el (tmm-prompt): Use string-prefix-p.
2489         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2490         (tmm-add-prompt): Use minibuffer-completion-help.
2491         (tmm-delete-map): Remove.
2493         * subr.el (kbd): Make it its own function.
2495 2012-06-07  Stefan Merten  <smerten@oekonux.de>
2497         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2498         Silence compiler warnings.  Fix versions.
2499         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2500         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2501         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2502         (rst-package-emacs-version-alist): Correct Emacs version to
2503         represent major merge with upstream.
2504         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2506 2012-06-06  Glenn Morris  <rgm@gnu.org>
2508         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2509         Only print environment variables if set.
2511 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2513         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2514         (macroexp--cons): Rename from maybe-cons.
2515         (macroexp--accumulate): Rename from macroexp-accumulate.
2516         (macroexp--all-forms): Rename from macroexpand-all-forms.
2517         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2518         (macroexp--expand-all): Rename from macroexpand-all-1.
2520 2012-06-06  Sam Steingold  <sds@gnu.org>
2522         * calendar/calendar.el (calendar-in-read-only-buffer):
2523         Call `special-mode' to enable the standard read-only keybindings.
2525 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2527         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2528         with "loading" messages (bug#11635).
2530 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
2532         * files.el (enable-remote-dir-locals): New option.
2533         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
2535         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2536         Ensure, that the temp directory is local.
2538         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2539         `temporary-file-directory'.
2541         * progmodes/python.el (python-send-region): Ensure, that the
2542         temporary file is created also in the remote case.
2544 2012-06-06  Glenn Morris  <rgm@gnu.org>
2546         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2547         (vc-rcs-update-changelog): Use it.
2549         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2551         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2552         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2553         (vc-sccs-diff): Replace use of the external vcdiff script.
2555 2012-06-05  Glenn Morris  <rgm@gnu.org>
2557         * ledit.el: Move to obsolete/.
2559 2012-06-05  Sam Steingold  <sds@gnu.org>
2561         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2562         patch (Bug#11140).
2564 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2566         * emacs-lisp/cust-print.el: Move to obsolete.
2568         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2569         compiler-macro expansion.
2571         Add native compiler-macro support.
2572         * emacs-lisp/macroexp.el (macroexpand-all-1):
2573         Support compiler-macros directly.  Properly follow aliases and apply
2574         the compiler macros more thoroughly.
2575         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2576         macroexpand now properly follows aliases.
2577         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2578         (cl-compiler-macroexpand): Use new prop.
2579         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2581         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2583 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
2585         * window.el (get-lru-window, get-mru-window, get-largest-window):
2586         New argument NOT-SELECTED to avoid picking the selected window.
2587         (window--display-buffer-1, window--display-buffer-2): Replace by
2588         new function window--display-buffer
2589         (display-buffer-same-window, display-buffer-reuse-window)
2590         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2591         Use window--display-buffer.
2592         (display-buffer-use-some-window): Remove temporary dedication
2593         hack by calling get-lru-window and get-largest-window with
2594         NOT-SELECTED argument non-nil.  Call window--display-buffer.
2596 2012-06-05  Glenn Morris  <rgm@gnu.org>
2598         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2599         Replace external vcdiff script.
2601 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2603         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2605 2012-06-04  Chong Yidong  <cyd@gnu.org>
2607         * image.el (imagemagick-types-inhibit): Revert last change.
2608         Add INFO and M.
2609         (imagemagick-enabled-types): Remove CIN and EPS*.
2611 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2613         * emacs-lisp/cl-lib.el: Rename from cl.el.
2614         * emacs-lisp/cl.el: New compatibility file.
2615         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2616         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2617         to obey the "cl-" prefix.
2618         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2620 2012-06-03  Glenn Morris  <rgm@gnu.org>
2622         * emacs-lisp/authors.el (authors-aliases): Addition.
2624         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2625         Fix :version.
2627 2012-06-03  Stefan Merten  <smerten@oekonux.de>
2629         * textmodes/rst.el: Add comments.
2630         (rst-transition, rst-adornment): New faces.
2631         (rst-adornment-faces-alist): Make default safe to reevaluate.
2632         Fixes
2633         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2634         Improve customization tags.
2635         (rst-define-level-faces): Clarify meaning.
2637 2012-06-03  Chong Yidong  <cyd@gnu.org>
2639         * progmodes/compile.el (compilation-mode-line-fail)
2640         (compilation-mode-line-run, compilation-mode-line-exit):
2641         New faces.
2642         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2644 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
2646         * progmodes/which-func.el (which-func-update-ediff-windows):
2647         New function.  Use it in ediff-select-hook (Bug#11478).
2649 2012-06-03  Chong Yidong  <cyd@gnu.org>
2651         * bindings.el: Remove explicit help text from format-mode-line.
2652         It is now supplied by mode-line-default-help-echo.
2653         (mode-line-front-space, mode-line-end-spaces)
2654         (mode-line-misc-info): New variables.
2655         (mode-line-modes, mode-line-position): Move the default value to
2656         the variable definition.
2657         (mode-line-default-help-echo): New defcustom.
2658         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2659         (mode-line-modified-help-echo): New functions.
2660         (mode-line-mule-info, mode-line-modified): Use them.
2661         (mode-line-eol-desc, propertized-buffer-identification):
2662         Consistency fixes for help text.
2663         (mode-line-coding-system-map): Allow using mouse-3 to invoke
2664         set-buffer-file-coding-system (Bug#289).
2665         (mode-line-mule-info-help-echo): Update help text.
2667 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2669         * simple.el (execute-extended-command): Set real-this-command
2670         (bug#11506).
2672 2012-06-02  Chong Yidong  <cyd@gnu.org>
2674         Remove incorrect uses of "modeline" in comments, docstrings, and
2675         function/variable names (Bug#10329).
2677         * cus-edit.el (mode-line):
2678         * dframe.el (dframe-mouse-hscroll):
2679         * emacs-lisp/re-builder.el:
2680         * emacs-lisp/easy-mmode.el (define-minor-mode):
2681         * frame.el (set-frame-name):
2682         * help.el (lookup-minor-mode-from-indicator):
2683         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2684         * progmodes/cc-cmds.el (c-toggle-auto-newline)
2685         (c-toggle-hungry-state):
2686         * progmodes/antlr-mode.el (antlr-language-alist):
2687         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2688         * progmodes/vhdl-mode.el (vhdl-mode):
2689         * progmodes/which-func.el (which-func, which-func-cleanup-function):
2690         * term/ns-win.el (ns-face-at-pos):
2691         * term/sup-mouse.el (sup-mouse-report):
2692         * textmodes/flyspell.el (flyspell-mode-line-string):
2693         * textmodes/ispell.el (ispell-highlight-face):
2694         * textmodes/reftex-global.el:
2695         * vc/vc-arch.el (vc-arch-mode-line-string):
2696         * vc/vc-cvs.el (vc-cvs-mode-line-string):
2697         * vc/vc-git.el (vc-git-mode-line-string):
2698         * vc/vc-hooks.el (vc-display-status)
2699         (vc-default-mode-line-string):
2700         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2702         * ansi-color.el (ansi-color-faces-vector): Change default faces.
2704         * dired.el (dired-sort-set-mode-line): Rename from
2705         dired-sort-set-modeline.  All callers changed.
2707         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2708         eshell-status-in-modeline.
2710         * foldout.el (foldout-mode-line-string): Rename from
2711         foldout-modeline-string.  All callers changed.
2712         (foldout-update-mode-line): Rename from foldout-update-modeline.
2714         * subr.el (redraw-modeline): Make into obsolete alias.
2716         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2717         timeclock-modeline-display.  Make old name an alias.
2718         (timeclock-update-mode-line): Likewise.  All callers changed.
2719         (timeclock-mode-line-display): No need to check before using
2720         add-hook.
2721         (timeclock-relative, timeclock-day-over-hook)
2722         (timeclock-use-elapsed, timeclock-mode-string)
2723         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2725         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2726         crisp-mode-modeline-string.
2728         * play/solitaire.el (solitaire-build-mode-line): Rename from
2729         solitaire-build-modeline.  All callers changed.
2731         * play/zone.el (zone-hiding-mode-line): Rename from
2732         zone-hiding-modeline.  All callers changed.
2733         (zone): Remove unusued `modeline-hidden-level' property.
2735         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2736         xscheme-modeline-initialize.  All callers changed.
2738         * strokes.el (strokes-lighter): Rename from
2739         strokes-modeline-string.
2741         * textmodes/sgml-mode.el (html-face-tag-alist)
2742         (html-tag-face-alist): Use mode-line face instead of obsolete
2743         alias modeline.
2745 2012-06-02  Stefan Merten  <smerten@oekonux.de>
2747         * textmodes/rst.el: Always require `cl'.
2748         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2750 2012-06-02  Chong Yidong  <cyd@gnu.org>
2752         * image.el (imagemagick-enabled-types): Rename from
2753         imagemagick-types-enable.  Add many more types.
2754         (imagemagick-types-inhibit): Change default to nil.
2755         (imagemagick-filter-types): Caller changed.
2757 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2759         * emacs-lisp/cl-macs.el: Use backquotes.
2760         (cl-transform-function-property): Use eval-and-compile rather than
2761         abusing `require'.
2762         (defstruct): Use declare-function instead of with-no-warnings.
2764         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2765         (byte-compile-output-docform): Re-add the print-circle bindings.
2766         (byte-compile-fix-header): Use #$ just because it's shorter.
2767         (byte-compile-output-file-form): Remove defun/defmacro.
2769 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
2771         * simple.el (choose-completion): Remove now obsolete binding for
2772         owindow.
2774 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
2776         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2777         in order to avoid "Stack overflow in regexp matcher".
2779 2012-05-31  Glenn Morris  <rgm@gnu.org>
2781         * image.el: For clarity, call imagemagick-register-types at
2782         top-level, rather than relying on a custom :initialize.
2783         (imagemagick-types-enable): New option.  (Bug#11557)
2784         (imagemagick-filter-types): New function.  (Bug#7406)
2785         (imagemagick-register-types): Use imagemagick-filter-types.
2786         If disabling support, remove elements altogether rather
2787         than using an impossible regexp.
2788         (imagemagick-types-inhibit): Give it the default init function.
2790 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2792         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2793         Handle arbitrary file name lengths (Bug#11585).
2795 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
2797         * desktop.el (desktop-read): Clear previous and next buffers for
2798         all windows and bury *Messages* buffer (bug#11556).
2800 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2802         Add `declare' for `defun'.  Align `defmacro's with it.
2803         * emacs-lisp/easy-mmode.el (define-minor-mode)
2804         (define-globalized-minor-mode): Don't autoload the var definitions.
2805         * emacs-lisp/byte-run.el: Use lexical-binding.
2806         (defun-declarations-alist, macro-declarations-alist): New vars.
2807         (defmacro, defun): Use them.
2808         (make-obsolete, define-obsolete-function-alias)
2809         (make-obsolete-variable, define-obsolete-variable-alias):
2810         Use `declare'.
2811         (macro-declaration-function): Mark obsolete.
2812         * emacs-lisp/autoload.el: Use lexical-binding.
2813         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
2815 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2817         * textmodes/ispell.el (ispell-with-no-warnings):
2818         Define as a macro.
2819         (ispell-kill-ispell, ispell-change-dictionary):
2820         Use `called-interactively-p' for Emacs instead of obsolete
2821         `interactive-p'.
2823 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2825         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2826         (macro-declaration-function): Move var from C code.
2827         (macro-declaration-function): Define function with defalias.
2828         * emacs-lisp/macroexp.el (macroexpand-all-1):
2829         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2830         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2831         defun/defmacro any more.
2832         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2833         Provide fallback for unknown arglist.
2834         (byte-compile-arglist-warn): Change calling convention.
2835         (byte-compile-output-file-form): Move print-vars binding.
2836         (byte-compile-output-docform): Simplify accordingly.
2837         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2838         (byte-compile-defmacro-declaration): Remove.
2839         (byte-compile-file-form-defmumble): Generalize to defalias.
2840         (byte-compile-output-as-comment): Return byte-positions.
2841         Simplify callers accordingly.
2842         (byte-compile-lambda): Use `assert'.
2843         (byte-compile-defun, byte-compile-defmacro): Remove.
2844         (byte-compile-file-form-defalias):
2845         Use byte-compile-file-form-defmumble.
2846         (byte-compile-defalias-warn): Remove.
2848 2012-05-29  Stefan Merten  <smerten@oekonux.de>
2850         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2851         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
2853         (rst-mode-abbrev-table): Merge definition.
2854         (rst-mode): Make sure `font-lock-defaults' is buffer local.
2855         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2857 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
2859         * calendar/icalendar.el
2860         (icalendar-export-region): Export UID properly.
2862 2012-05-29  Leo Liu  <sdl.web@gmail.com>
2863         * calendar/icalendar.el (icalendar-import-format):
2864         Add `icalendar-import-format-uid' (Bug#11525).
2865         (icalendar-import-format-uid): New.
2866         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2867         Export UID.
2869 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2871         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2872         different alternative patterns.
2873         (pcase-codegen): Be more careful to preserve identity.
2874         (pcase--u1): Don't forget to mark vars as used.
2876         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2877         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2878         (byte-compile-from-buffer): ...rather than here.
2880         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2881         functions from byte-compile-function-environment.
2883 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
2885         * window.el (window-deletable-p): Avoid deleting the root window
2886         of a frame with an active minibuffer.
2888 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
2890         * simple.el (choose-completion): Use quit-window (Bug#11567).
2892 2012-05-29  Chong Yidong  <cyd@gnu.org>
2894         * whitespace.el (whitespace-cleanup): Fix usage of
2895         whitespace-empty-at-bob-regexp (Bug#11492).
2897 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2899         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2900         revert (Bug#11488).
2902 2012-05-29  Juri Linkov  <juri@jurta.org>
2904         * isearch.el (isearch-mode-map): Bind `M-s _' to
2905         `isearch-toggle-symbol'.  Bind `M-s c' to
2906         `isearch-toggle-case-fold'.
2907         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2908         (isearch-forward): Add `M-s _' to the docstring.
2909         (isearch-forward-symbol, isearch-toggle-case-fold)
2910         (isearch-symbol-regexp): New functions.  (Bug#11381)
2912 2012-05-29  Juri Linkov  <juri@jurta.org>
2914         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
2915         (isearch-occur, isearch-search-and-update): If `isearch-word' is
2916         a function, call it to get the regexp.
2917         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2918         property `isearch-message-prefix' instead of the string "word ".
2919         (isearch-search-fun-default): For the case of `isearch-word',
2920         return a lambda that calls re-search-forward/re-search-backward
2921         with a regexp returned by `word-search-regexp' or by the function
2922         in `isearch-word'.
2924 2012-05-29  Juri Linkov  <juri@jurta.org>
2926         * isearch.el (isearch-search-fun-default): New function.
2927         (isearch-search-fun): Move default part to the new function
2928         `isearch-search-fun-default'.
2929         (isearch-search-fun-function): Set the default value to
2930         `isearch-search-fun-default'.  (Bug#11381)
2932         * comint.el (comint-history-isearch-end):
2933         Use `isearch-search-fun-default'.
2934         (comint-history-isearch-search): Use `isearch-search-fun-default'
2935         and remove spacial case for `isearch-word'.
2936         (comint-history-isearch-wrap): Remove spacial case for
2937         `isearch-word'.
2939         * hexl.el (hexl-isearch-search-function):
2940         Use `isearch-search-fun-default'.
2942         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2943         Use `word-search-regexp' for `isearch-word'.
2945         * misearch.el (multi-isearch-search-fun):
2946         Use `isearch-search-fun-default'.
2948         * simple.el (minibuffer-history-isearch-search):
2949         Use `isearch-search-fun-default' and remove spacial case for
2950         `isearch-word'.
2951         (minibuffer-history-isearch-wrap): Remove spacial case for
2952         `isearch-word'.
2954         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2955         Remove spacial case for `isearch-word'.
2956         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2958 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2960         Decrease XEmacs incompatibilities.
2961         * textmodes/flyspell.el (flyspell-check-pre-word-p):
2962         Use `string-match'.
2963         (flyspell-delete-region-overlays): Use alternative definition for
2964         XEmacs.
2965         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2966         (flyspell-word): Use `process-kill-without-query' if XEmacs.
2967         (flyspell-mode-on): Use `interactive-p' if XEmacs.
2968         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2969         `define-obsolete-face-alias' under XEmacs, but old method.
2971         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2972         `with-no-warnings' definition or Emacs alias.
2973         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2974         (ispell-word): Do not use `region-p' if XEmacs.
2976 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2978         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2979         Check for `ispell-dictionary-base-alist' instead of full
2980         `ispell-dictionary-alist'.
2981         (ispell-init-process): Show spellchecker when starting new Ispell
2982         process.
2984 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2986         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2987         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2989 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
2991         * version.el (motif-version-string, gtk-version-string)
2992         (ns-version-string): Declare.
2994 2012-05-27  Juri Linkov  <juri@jurta.org>
2996         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2997         after the `eval-defun-1' specialcaseing
2998         like in `edebug-eval-defun' (bug#10181).
3000         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3001         like in `eval-defun-1'.
3003 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
3005         * mail/sendmail.el (mail-yank-region):
3006         Recognize rmail-yank-current-message in addition to insert-buffer.
3007         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3008         a *mail* buffer created through rmail-start-mail with sendmail as
3009         mail-user-agent.
3011 2012-05-27  Chong Yidong  <cyd@gnu.org>
3013         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3014         Default to 256 (Bug#11267).
3016         * help.el (describe-mode): Doc fix.
3018 2012-05-26  Glenn Morris  <rgm@gnu.org>
3020         * w32-fns.el (w32-init-info): Remove.
3021         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3023         * info.el (info-initialize): For self-contained NS builds, put the
3024         included info/ directory at the front.  (Bug#2791)
3026         * paths.el (Info-default-directory-list): Make it a defcustom,
3027         mainly so that we can use custom-initialize-delay.
3029 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3031         * subr.el (buffer-has-markers-at): Mark obsolete.
3033         * subr.el (lambda): Use declare.
3035         * emacs-lisp/lisp-mode.el (lambda):
3036         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3038 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3040         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
3042 2012-05-26  Glenn Morris  <rgm@gnu.org>
3044         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3046 2012-05-25  Glenn Morris  <rgm@gnu.org>
3048         * paths.el: Remove no-byte-compile.
3049         * loadup.el: No need to load paths.el uncompiled.
3051         * image.el (imagemagick-types-inhibit): Doc fix.
3053         * version.el: Remove no-byte-compile and associated formatting.
3054         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
3055         is ancient code from when there was an "inc-vers.el".
3057 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3059         * progmodes/gdb-mi.el: Minor style changes.
3060         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3061         Turn into minor modes.
3062         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3063         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3064         (gdb-shell): Remove unneeded let-binding.
3065         (gdb-get-many-fields): Eliminate O(n²) behavior.
3067 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
3069         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3070         platforms that don't link in fontset.c.
3072 2012-05-25  Juri Linkov  <juri@jurta.org>
3074         Use the same diff color scheme as in modern VCSes (bug#10181).
3076         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3077         to avoid confusion with `diff-added' that now uses green colors.
3078         (diff-removed): Use shades of red.
3079         (diff-added): Use shades of green.
3080         (diff-changed): Leave just the yellow color.
3081         (diff-use-changed-face): New variable.
3082         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3083         how to highlight context diff changes.
3084         (diff-refine-change): Use shades of yellow.
3085         (diff-refine-removed): New face that uses shades of red.
3086         (diff-refine-added): New face that uses shades of green.
3087         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3088         `diff-refine-removed' in the call to `smerge-refine-subst'
3089         depending on the value of `diff-use-changed-face'.
3091         * vc/smerge-mode.el (smerge-mine): Use shades of red.
3092         (smerge-other): Use shades of green.
3093         (smerge-base): Use shades of yellow.
3094         (smerge-refined-change): Empty face.
3095         (smerge-refined-removed): New face that uses shades of red.
3096         (smerge-refined-added): New face that uses shades of green.
3097         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
3098         args `props-r' and `props-a', and use them.  Doc fix.
3099         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3100         on its value use different faces `smerge-refined-change',
3101         `smerge-refined-removed', `smerge-refined-added' in the call to
3102         `smerge-refine-subst'.
3104         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3105         Add face condition `min-colors 88' with shades of red.
3106         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3107         `min-colors 88' with shades of green.
3108         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3109         `min-colors 88' with shades of yellow.
3111 2012-05-24  Glenn Morris  <rgm@gnu.org>
3113         * paths.el (prune-directory-list, remote-shell-program): Move to...
3114         * files.el (prune-directory-list, remote-shell-program): ...here.
3115         For the latter, delay initialization, prefer ssh, just search PATH.
3117         * paths.el (term-file-prefix): Move to faces.el (the only user).
3118         * faces.el (term-file-prefix): Move here, make it a defcustom.
3120         * paths.el (news-directory, news-path, news-inews-program):
3121         Move to gnus/nnspool.el.
3123         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3125         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3126         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3127         Make the latter a defcustom, with a delayed initialization.
3129         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3130         These were deleted from Gnus itself late 2010.
3132 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
3134         * progmodes/which-func.el (which-func-ff-hook):
3135         Check against user-error, not error.
3137         * emacs-lisp/edebug.el (top): Do not load or set up loading of
3138         cl-specs.el, which no longer exists.
3140 2012-05-22  Glenn Morris  <rgm@gnu.org>
3142         * info.el (info-emacs-bug): New command.
3143         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3144         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3146 2012-05-21  Glenn Morris  <rgm@gnu.org>
3148         * makefile.w32-in (update-subdirs-SH):
3149         * Makefile.in (update-subdirs): Update for moved update-subdirs.
3151 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3153         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3155         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3156         Simplify Maven regexp, and make sure the file can't start with a space
3157         (bug#11517).
3159 2012-05-21  Glenn Morris  <rgm@gnu.org>
3161         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3162         Scrap superfluous subshells.
3164 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3166         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3167         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3169 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
3171         * calc/calc.el (calc-ensure-consistent-units): New variable.
3173         * calc/calc-units.el (math-consistent-units-p)
3174         (math-check-unit-consistency): New functions.
3175         (calc-quick-units, calc-convert-units):
3176         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3177         is non-nil.
3178         (calc-extract-units): Fix typo.
3180 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3182         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3184         * textmodes/flyspell.el: Commenting style, plus code simplifications.
3185         (flyspell-default-deplacement-commands): Don't spell check after
3186         repeated window/frame switches (e.g. triggered by mouse-movement).
3187         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3188         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3189         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3190         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3191         Remove unused vars.
3192         (flyspell-get-casechars, flyspell-get-not-casechars):
3193         Simplify; Don't bother removing a ] just to add it back.
3194         * textmodes/ispell.el (ispell-program-name): Use executable-find.
3196 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3198         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3199         New functions.
3200         (math-function-table): Add support for more C functions.
3202 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3204         * textmodes/flyspell.el (flyspell-check-pre-word-p)
3205         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3206         Protect delay handling for otherchars against empty otherchars.
3208 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3210         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3211         their respective macro declarations.
3212         * skeleton.el (define-skeleton):
3213         * progmodes/compile.el (define-compilation-mode):
3214         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3215         (define-ibuffer-filter):
3216         * emacs-lisp/generic.el (define-generic-mode):
3217         * emacs-lisp/easy-mmode.el (define-minor-mode)
3218         (define-globalized-minor-mode):
3219         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3220         * emacs-lisp/byte-run.el (defsubst):
3221         * custom.el (deftheme): Add doc-string metadata.
3223 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3225         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3227 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3229         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3231         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3232         * emacs-lisp/cl-macs.el: Idem.
3233         * emacs-lisp/cl-specs.el: Remove.
3235 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3237         Minor renaming of internal CL functions and variables.
3238         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3239         (cl--position): Rename from cl-position.
3240         (cl--delete-duplicates): Rename from cl-delete-duplicates.
3241         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3242         (cl--random-state): Rename from *random-state*.
3244 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3246         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3247         parens around the arg list (bug#11499).
3249 2012-05-17  Juri Linkov  <juri@jurta.org>
3251         * isearch.el (word-search-regexp, word-search-backward)
3252         (word-search-forward, word-search-backward-lax)
3253         (word-search-forward-lax): Move functions from search.c
3254         (bug#10145, bug#11381).
3256 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3258         * textmodes/flyspell.el (flyspell-check-pre-word-p)
3259         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3260         Delay for otherchars as for normal word components.
3262 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3264         * minibuffer.el (completion--sifn-requote): Fix last change.
3265         (minibuffer-local-must-match-filename-map):
3266         Move define-obsolete-variable-alias before its var.
3268 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3270         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3272         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3273         behavior.
3274         (completion--string-equal-p): New function.
3275         (completion--twq-all): Use it to get better assertion failure data.
3277         Only handle ".." and '..' quoting in shell-mode (bug#11466).
3278         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3279         (shell--requote-argument): New functions.
3280         (shell-completion-vars): Use them.
3281         (shell--parse-pcomplete-arguments): Rename from
3282         shell-parse-pcomplete-arguments.
3283         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
3284         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3285         Obey comint-file-name-quote-list.
3287         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3288         (smie-indent-keyword): Use it.
3290 2012-05-14  Stefan Merten  <smerten@oekonux.de>
3292         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3294 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3296         * net/rlogin.el (rlogin-mode-map): Fix last change.
3298 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
3300         * mail/smtpmail.el (smtpmail-send-command): Send the command and
3301         the following \r\n using a single `process-send-string', since the
3302         Lotus SMTP server refuses to accept any commands if they are sent
3303         with two `process-send-string's (Bug#11444).
3305 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3307         * shell.el (shell-parse-pcomplete-arguments):
3308         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3310 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
3312         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3313         (image-transform-scale, image-transform-right-angle-fudge): New vars.
3314         (image-transform-width, image-transform-fit-width): New functions.
3315         (image-transform-properties): Use them.
3316         (image-transform-check-size): New function.
3317         (image-toggle-display-image): Use it (for testing).
3318         (image-transform-set-rotation): Reduce angle mod 360.
3319         Delete obsolete comment.
3321 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
3323         * image-mode.el: Fix scaling (bug#11399).
3324         (image-transform-resize): Doc fix.
3325         (image-transform-properties): Default scale is 1 and height should
3326         be an integer.
3328 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
3330         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3331         than hard-coding `car', to fix misbehavior when moving forward.
3333 2012-05-13  Chong Yidong  <cyd@gnu.org>
3335         * emacs-lisp/tabulated-list.el (tabulated-list-format)
3336         (tabulated-list-entries, tabulated-list-padding)
3337         (tabulated-list-sort-key): Make permanent-local.
3339         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3340         (electric-buffer-list): Put electric buffer menu
3341         command descriptions in this docstring, instead of the docstring
3342         of electric-buffer-menu-mode.  Code cleanups.
3343         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
3344         Electric-buffer-menu-mode.
3345         (electric-buffer-update-highlight): Minor code cleanup.
3347 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
3349         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3350         (Bug#11447)
3352 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3354         Move define-obsolete-variable-alias before the var's definition.
3355         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3356         * tooltip.el (tooltip-hook):
3357         * textmodes/reftex-toc.el (reftex-toc-map):
3358         * textmodes/reftex-sel.el (reftex-select-label-map)
3359         (reftex-select-bib-map):
3360         * textmodes/reftex-index.el (reftex-index-map)
3361         (reftex-index-phrases-map):
3362         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3363         * progmodes/meta-mode.el (meta-mode-map):
3364         * novice.el (disabled-command-hook):
3365         * loadhist.el (unload-hook-features-list):
3366         * frame.el (blink-cursor):
3367         * files.el (find-file-not-found-hooks, write-file-hooks)
3368         (write-contents-hooks):
3369         * emulation/tpu-edt.el (GOLD-map):
3370         * emacs-lock.el (emacs-lock-from-exiting):
3371         * emacs-lisp/generic.el (generic-font-lock-defaults):
3372         * emacs-lisp/chart.el (chart-map):
3373         * dos-fns.el (register-name-alist):
3374         * dired-x.el (dired-omit-files-p):
3375         * desktop.el (desktop-enable):
3376         * cus-edit.el (custom-mode-hook):
3377         * buff-menu.el (buffer-menu-mode-hook):
3378         * bookmark.el (bookmark-read-annotation-text-func)
3379         (bookmark-exit-hooks):
3380         * allout.el (allout-mode-deactivate-hook)
3381         (allout-exposure-change-hook, allout-structure-added-hook)
3382         (allout-structure-deleted-hook, allout-structure-shifted-hook):
3383         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3384         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3385         comes before the corresponding variable's definition.
3387 2012-05-12  Chong Yidong  <cyd@gnu.org>
3389         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3390         (Buffer-menu-mouse-select): Restore function (Bug#11459).
3391         (Buffer-menu-mode-map): Bind it.
3392         (Buffer-menu--pretty-name): Add a mouse-face property.
3394 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3396         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
3397         (prolog-upper-case-string, prolog-lower-case-string)
3398         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3399         (prolog-use-smie, prolog-smie-grammar): New vars.
3400         (prolog-smie-forward-token, prolog-smie-backward-token)
3401         (prolog-smie-rules): New funs.
3402         (prolog-comment-indent): Remove.
3403         (prolog-mode-variables): Use default comment indentation instead.
3404         Setup SMIE.
3405         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3406         (prolog-mode): Don't call them any more.
3407         (prolog-electric-colon, prolog-electric-dash)
3408         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3410         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3412         * minibuffer.el (completion--twq-all): Again, allow case differences.
3414         * term.el: Move keymap initialization code to be more idiomatic.
3415         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3416         (term-terminal-menu): Move initialization into declaration.
3417         (term-escape-char): Let the user set it in her .emacs.
3419         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3420         Provide SMIE-based indentation (not enabled by default yet).
3421         (sh-mode-map): Don't bind electric keys.
3422         Use electric-pair-mode instead of skeleton-pair.
3423         (sh-assignment-regexp): Fit within 80 columns.
3424         (sh-indent-supported): Specify actual shell name instead of boolean.
3425         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3426         (sh-maybe-here-document): Use it.  Make obsolete.
3427         (sh-electric-here-document-mode) New minor mode.
3428         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
3429         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3430         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3431         (sh-smie-rc-grammar, sh-use-smie): New vars.
3432         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3433         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3434         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3435         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3436         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3437         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3438         (sh-set-shell): Use smie-setup if requested.
3440         * term.el (term-set-escape-char): Properly set term-escape-char.
3441         See http://stackoverflow.com/questions/10524656.
3443 2012-05-10  Chong Yidong  <cyd@gnu.org>
3445         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3446         Use url-generic-parse-url, and handle host names and Windows
3447         filenames properly.
3448         (ffap-url-unwrap-remote): Use url-generic-parse-url.
3449         (ffap-url-unwrap-remote): Accept list values, specifying a list of
3450         URL schemes to work on.
3451         (ffap--toggle-read-only): New function.
3452         (ffap-read-only, ffap-read-only-other-window)
3453         (ffap-read-only-other-frame): Use it.
3454         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3455         necessary for ffap-url-unwrap-remote.
3457 2012-05-10  Dave Abrahams  <dave@boostpro.com>
3459         * cus-start.el (create-lockfiles): Add it.
3461 2012-05-09  Chong Yidong  <cyd@gnu.org>
3463         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3464         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3466 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3468         * shell.el (shell-completion-vars): Fix last change (bug#11348).
3470 2012-05-09  Chong Yidong  <cyd@gnu.org>
3472         * ansi-color.el (ansi-color-process-output): Check for validity of
3473         comint-last-output-start before using it.  This avoids a bad
3474         interaction with gdb-mi's input/output buffer.
3476 2012-05-09  Glenn Morris  <rgm@gnu.org>
3478         * files.el (dir-locals-read-from-file):
3479         Mention dir-locals in any error message.
3481 2012-05-09  Chong Yidong  <cyd@gnu.org>
3483         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3484         package (Bug#11410).
3486         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3487         variables into description.
3489 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3491         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3492         shell-delimiter-argument-list (bug#11348).
3493         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3495 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
3497         * textmodes/rst.el: Silence byte-compiler warnings.
3498         (rst-re-alist, rst-reset-section-caches): Move around.
3499         (rst-re): Use `characterp', not `char-valid-p'.
3500         (font-lock-beg, font-lock-end): Declare.
3502         * progmodes/idlw-shell.el (specs): Remove reference to deleted
3503         variable `idlwave-shell-activate-alt-keybindings' and simplify.
3505         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3507 2012-05-08  Glenn Morris  <rgm@gnu.org>
3509         * files.el (auto-mode-alist): Treat ".make" like ".mk".
3511 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3513         * vc/log-edit.el: Add GNU coding standards highlighting.
3514         (log-edit-font-lock-gnu-style)
3515         (log-edit-font-lock-gnu-keywords): New vars.
3516         (log-edit-font-lock-keywords): New fun.
3517         (log-edit-mode): Don't fold case in font-lock.
3518         (log-edit-font-lock-keywords): Do not assume case-folding.
3520         * imenu.el: Misc cleanup.  Make docstrings out of comments.
3521         Use lexical-binding.
3522         (imenu--index-alist, imenu--last-menubar-index-alist)
3523         (imenu-menubar-modified-tick): Use defvar-local.
3524         (imenu--split-menu): Remove unused var.
3525         (imenu--cleanup-seen): Declare as global.
3526         (imenu--cleanup): Use dolist.
3528         * subr.el (defvar-local): Add debug spec and doc-string position.
3530 2012-05-08  Glenn Morris  <rgm@gnu.org>
3532         * language/burmese.el, language/cham.el, language/czech.el:
3533         * language/english.el, language/georgian.el, language/greek.el:
3534         * language/japanese.el, language/khmer.el, language/korean.el:
3535         * language/lao.el, language/misc-lang.el, language/romanian.el:
3536         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3537         * language/thai.el, language/utf-8-lang.el:
3538         Remove no-byte-compile setting.
3540         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
3542 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3544         * progmodes/make-mode.el (makefile-browse):
3545         Remove unnecessary interactive.  (Bug#11324)
3547 2012-05-07  Glenn Morris  <rgm@gnu.org>
3549         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3551         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3553 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3555         * loadup.el: Preload newcomment.el.
3556         * newcomment.el: Move autoload-only code to toplevel.
3558         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3559         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3560         Handle new :right-align column property.
3561         (tabulated-list-print-col): Idem, plus use `display' text-property to
3562         try and preserve alignment for variable pitch fonts.
3564 2012-05-07  Chong Yidong  <cyd@gnu.org>
3566         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3567         (tabulated-list-use-header-line): New var.
3568         (tabulated-list-init-header): Use it.
3569         (tabulated-list-print-fake-header): New function.
3570         (tabulated-list-print): Use it.
3571         (tabulated-list-sort-button-map): Add non-header-line commands.
3572         (tabulated-list-init-header): Add column name property to basic
3573         labels as well.
3574         (tabulated-list-col-sort): Handle non-header-line button case.
3575         (tabulated-list--sort-by-column-name): Fix a corner case.
3577         * buff-menu.el (list-buffers--refresh):
3578         Handle Buffer-menu-use-header-line.
3580 2012-05-06  Chong Yidong  <cyd@gnu.org>
3582         * buff-menu.el: Convert to Tabulated List mode.
3583         (Buffer-menu-buffer+size-width): Make obsolete.
3584         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3585         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3586         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
3587         documentation into docstring of buffer-menu.
3588         (Buffer-menu-toggle-files-only): Add an informative message.
3589         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3590         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3591         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3592         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3593         (Buffer-menu-execute, Buffer-menu-select)
3594         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3595         (Buffer-menu-bury): Use Tabulated List machinery.
3596         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3597         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3598         Delete.
3599         (list-buffers--refresh): New function.
3600         (list-buffers-noselect): Use it.
3601         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3602         (Buffer-menu--pretty-file-name): New helper functions.
3604         * loadup.el: Preload tabulated-list.
3606         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3607         tabulated-list-sort-column.
3608         (tabulated-list-init-header): Add the initial aligning space even
3609         if tabulated-list-padding is zero.
3611 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
3613         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3614         whose cdr is not a cons cell correctly (bug#11038).
3616 2012-05-06  Chong Yidong  <cyd@gnu.org>
3618         * emacs-lisp/tabulated-list.el (tabulated-list-format):
3619         Accept additional plist in column descriptors.
3620         (tabulated-list-init-header): Obey it.
3621         (tabulated-list-get-entry): New function.
3622         (tabulated-list-put-tag): Use it.  Use string-width instead of
3623         length.
3624         (tabulated-list--column-number): New function.
3625         (tabulated-list-print): Use it.
3626         (tabulated-list-print-col): New function.
3627         Set `tabulated-list-column-name' property on each column's text.
3628         (tabulated-list-print-entry): Use it.
3629         (tabulated-list-delete-entry, tabulated-list-set-col):
3630         New functions.
3631         (tabulated-list-sort-column): New command (Bug#11337).
3633         * buff-menu.el (list-buffers): Move C-x C-b binding from
3634         buff-menu.el to bindings.el.
3636         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3637         :advertised-binding feature.
3639 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
3641         * progmodes/compile.el (compilation-internal-error-properties):
3642         Calculate start position correctly when end-col is set but
3643         end-line is not (Bug#11382).
3645 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
3647         * man.el (Man-unindent): Use text-property-default-nonsticky to
3648         prevent untabify from inheriting face properties (Bug#11408).
3650 2012-05-05  Stefan Merten  <smerten@oekonux.de>
3652         * textmodes/rst.el: Major merge with upstream development up to
3653         Docutils SVN r7399 / rst.el V1.2.1.
3655         Clarify maintainership and authors.
3657         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3658         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3659         (rst-official-version, rst-official-cvs-rev, rst-version)
3660         (rst-package-emacs-version-alist): New functions and variables
3661         for version information.
3663         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3664         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3665         (rst-mode-syntax-table, rst-mode): New and corrected functions
3666         and variables representing reStructuredText features.
3668         (rst-re): New function for reStructuredText regexes.  Use in
3669         many places.
3671         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3672         (rst-mode-map): Rebind keys.
3674         (rst-mode-lazy, rst-font-lock-keywords)
3675         (rst-font-lock-extend-region)
3676         (rst-font-lock-extend-region-internal)
3677         (rst-font-lock-extend-region-extend)
3678         (rst-font-lock-find-unindented-line-limit)
3679         (rst-font-lock-find-unindented-line-match)
3680         (rst-adornment-level, rst-font-lock-adornment-level)
3681         (rst-font-lock-adornment-match)
3682         (rst-font-lock-handle-adornment-pre-match-form)
3683         (rst-font-lock-handle-adornment-matcher): Major revision of
3684         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
3686         (rst-preferred-adornments, rst-adjust-hook)
3687         (rst-new-adornment-down, rst-preferred-bullets)
3688         (rst-preferred-bullets, rst-indent, rst-indent-width)
3689         (rst-indent-field, rst-indent-literal-normal)
3690         (rst-indent-literal-minimized, rst-indent-comment): Change,
3691         extend and improve customization.
3693         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3694         (rst-normalize-cursor-position, rst-get-decoration)
3695         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3696         (rst-rstrip, rst-toc-insert-find-delete-contents)
3697         (rst-shift-fill-region, rst-compute-bullet-tabs)
3698         (rst-debug-print-tabs, rst-debug-mark-found)
3699         (rst-shift-region-guts, rst-shift-region-right)
3700         (rst-shift-region-left, rst-use-char-classes)
3701         (rst-font-lock-keywords-function)
3702         (rst-font-lock-indentation-point)
3703         (rst-font-lock-find-unindented-line-begin)
3704         (rst-font-lock-find-unindented-line-end)
3705         (rst-font-lock-find-unindented-line)
3706         (rst-font-lock-adornment-point, rst-font-lock-level)
3707         (rst-adornment-level-alist): Remove functions and variables.
3709         (rst-compare-adornments, rst-get-adornment-match)
3710         (rst-suggest-new-adornment, rst-get-adornments-around)
3711         (rst-adornment-complete-p, rst-get-next-adornment)
3712         (rst-adjust-adornment, rst-display-adornments-hierarchy)
3713         (rst-straighten-adornments): Standardize function names to
3714         use "adornment" instead of "decoration".  Correct callers.
3715         Similar standardizing in many places.
3717         (rst-update-section, rst-adjust, rst-promote-region)
3718         (rst-enumerate-region, rst-bullet-list-region)
3719         (rst-repeat-last-character): Correct use of `interactive'.
3721         (rst-classify-adornment, rst-find-all-adornments)
3722         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3723         (rst-find-leftmost-column, rst-repeat-last-character):
3724         Refactor functions.
3726         (rst-find-title-line, rst-reset-section-caches)
3727         (rst-get-adornments-around, rst-adjust-adornment-work)
3728         (rst-arabic-to-roman, rst-roman-to-arabic)
3729         (rst-insert-list-pos, rst-insert-list-new-item)
3730         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3731         New functions.
3733         (rst-all-sections, rst-section-hierarchy)
3734         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3735         New variables.
3737         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3738         configuration instead of only buffer.  Change where necessary.
3740         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3741         (rst-shift-region, rst-adaptive-fill): New functions for
3742         indentation and filling.
3744         (rst-comment-line-break, rst-comment-indent)
3745         (rst-comment-insert-comment, rst-comment-region)
3746         (rst-uncomment-region): New functions for handling comments.
3748         (rst-compile): Quote shell arguments.
3750         (rst-compile-pdf-preview, rst-compile-slides-preview):
3751         Delete temporary files after use.
3753 2012-05-05  Glenn Morris  <rgm@gnu.org>
3755         * calendar/cal-html.el: Optionally include holidays in the output.
3756         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3757         (cal-html-holidays): New option.
3758         (cal-html-css-default): Add holiday entry.
3759         (holiday-in-range): Autoload it.
3760         (cal-html-htmlify-entry): Add optional class argument.
3761         (cal-html-htmlify-list): Add optional holidays argument.
3762         (cal-html-insert-agenda-days): Include holidays in the output.
3763         (cal-html-one-month): Maybe include holidays.
3765         * calendar/holidays.el (holiday-in-range):
3766         Move here from cal-tex-list-holidays.
3767         * calendar/cal-tex.el (cal-tex-list-holidays):
3768         Make it an obsolete alias for holiday-in-range.  Update all callers.
3770 2012-05-05  Chong Yidong  <cyd@gnu.org>
3772         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3773         Nextstep.
3775 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
3777         * files.el (file-auto-mode-skip): New var.
3778         (set-auto-mode-1): Use it.
3780 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3782         * repeat.el: Use lexical-binding.
3783         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3784         (repeat-undo-count): Remove.
3785         (repeat):
3786         * progmodes/octave-mod.el (octave-abbrev-start):
3787         * progmodes/f90.el (f90-abbrev-start):
3788         * face-remap.el (text-scale-adjust):
3789         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3791         * emacs-lisp/pcase.el (pcase--let*): New function.
3792         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3793         a bit more.
3794         (pcase--split-pred): Be more clever about ruling out overlap between
3795         a predicate and some constant pattern.
3796         (pcase--q1): Use `null' instead of (eq foo nil).
3798         * subr.el (setq-local, defvar-local): New macros.
3799         (kbd): Redefine as an alias.
3800         (with-selected-window): Leave unrelated frames alone.
3801         (set-temporary-overlay-map): New function.
3803 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3805         * subr.el (user-error): New function.
3806         * window.el (switch-to-buffer):
3807         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3808         (smerge-match-conflict):
3809         * simple.el (previous-matching-history-element)
3810         (next-matching-history-element, goto-history-element, undo-more)
3811         (undo-start):
3812         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3813         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3814         (next-file, tags-loop-scan, list-tags, complete-tag):
3815         * progmodes/compile.el (compilation-loop):
3816         * mouse.el (mouse-minibuffer-check):
3817         * man.el (Man-bgproc-sentinel, Man-goto-page):
3818         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3819         (Info-history-forward, Info-follow-reference, Info-menu)
3820         (Info-extract-menu-item, Info-extract-menu-counting)
3821         (Info-forward-node, Info-backward-node, Info-next-menu-item)
3822         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3823         (Info-next-reference, Info-prev-reference, Info-index)
3824         (Info-index-next, Info-follow-nearest-node)
3825         (Info-copy-current-node-name):
3826         * imenu.el (imenu--make-index-alist)
3827         (imenu-default-create-index-function, imenu-add-to-menubar):
3828         * files.el (basic-save-buffer, recover-file):
3829         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3830         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3831         (checkdoc-message-text, checkdoc-defun):
3832         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3833         * cus-edit.el (customize-changed-options, customize-rogue)
3834         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3835         (custom-variable-mark-to-reset-standard)
3836         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3837         (custom-file):
3838         * completion.el (check-completion-length):
3839         * comint.el (comint-search-arg)
3840         (comint-previous-matching-input-string-position)
3841         (comint-previous-matching-input)
3842         (comint-replace-by-expanded-history-before-point, comint-send-input)
3843         (comint-copy-old-input, comint-backward-matching-input)
3844         (comint-goto-process-mark, comint-set-process-mark):
3845         * calendar/calendar.el (calendar-cursor-to-date): Use it.
3846         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3848 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3850         * dabbrev.el (dabbrev--ignore-case-p): New function.
3851         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3852         Use it.
3854         * files.el (automount-dir-prefix): Mark as obsolete.
3856 2012-05-04  Glenn Morris  <rgm@gnu.org>
3858         * patcomp.el, play/bruce.el: Move to obsolete/.
3860 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
3862         Fix minor Y10k bugs.
3863         * arc-mode.el (archive-unixdate):
3864         * autoinsert.el (auto-insert-alist):
3865         * calc/calc-forms.el (math-this-year):
3866         * emacs-lisp/copyright.el (copyright-current-year)
3867         (copyright-update-year, copyright):
3868         * tar-mode.el (tar-clip-time-string):
3869         * time.el (display-time-update):
3870         Don't assume years have 4 digits.
3872 2012-05-04  Chong Yidong  <cyd@gnu.org>
3874         * dos-w32.el (file-name-buffer-file-type-alist)
3875         (direct-print-region-use-command-dot-com):
3876         * ffap.el (ffap-menu-regexp):
3877         * find-file.el (ff-special-constructs):
3878         * follow.el (follow-debug):
3879         * forms.el (forms--debug):
3880         * iswitchb.el (iswitchb-all-frames):
3881         * ido.el (ido-all-frames):
3882         * emacs-lisp/timer.el (timer-max-repeats):
3883         * mail/feedmail.el (feedmail-mail-send-hook)
3884         (feedmail-mail-send-hook-queued):
3885         * mail/footnote.el (footnote-signature-separator):
3886         * mail/mailabbrev.el (mail-alias-separator-string)
3887         (mail-abbrev-mode-regexp):
3888         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3889         * progmodes/idlwave.el (idlwave-libinfo-file)
3890         (idlwave-default-completion-case-is-down)
3891         (idlwave-library-routines): Convert defvars to defcustoms.
3893         * mail/rmail.el (rmail-decode-mime-charset):
3894         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3895         (idlwave-shell-fix-inserted-breaks)
3896         (idlwave-shell-activate-alt-keybindings)
3897         (idlwave-shell-use-breakpoint-glyph):
3898         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3900 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3902         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3904 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
3906         * progmodes/verilog-mode.el (font-lock-keywords):
3907         Fix mis-highligting auto.  Reported by Craig Barner.
3908         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3909         defines from global name space. Reported by Dan Dever.
3910         (verilog-auto-reset, verilog-auto-reset-widths)
3911         (verilog-auto-tieoff): Support using unbased numbers for
3912         AUTORESET and AUTOTIEOFF.
3913         (verilog-submit-bug-report): Update variable list.
3914         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3915         parenthesis from not matching. Reported by Michael Rytting.
3916         (verilog-auto-template-lint): Fix hash error when linting modules
3917         with no used templates.
3918         (verilog-warn, verilog-warn-error)
3919         (verilog-warn-fatal): When non-interactive report multiple
3920         warnings before exiting.  Suggested by Brad Dobbie.
3921         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3922         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3923         to report unused template errors.  Reported by Brad Dobbie.
3924         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3925         nets, bug438. Reported by Vns Blore.
3926         (verilog-auto-inout-module, verilog-auto-reg)
3927         (verilog-read-decls, verilog-read-sub-decls-sig)
3928         (verilog-signals-edit-wire-reg, verilog-signals-with):
3929         Fix passing of Verilog data types in ANSI input/output ports
3930         such as "output logic" into the AUTOs. Special case "wire" and
3931         "reg" for backwards compatibility presuming Verilog 2001.
3932         (verilog-auto-ascii-enum): Add "auto enum" as alias.
3933         (verilog-preprocess): Fix replication of preprocess output.
3934         Reported by Brad Dobbie.
3935         (verilog-auto-inst-interfaced-ports):
3936         Create verilog-auto-inst-interfaced-ports, bug429.
3937         Reported by Julian Gorfajn.
3938         (verilog-after-save-font-hook)
3939         (verilog-before-save-font-hook): New variable.
3940         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3941         (verilog-save-font-mods): Wrap disabling fontification, reported
3942         by David Rogoff.
3943         (verilog-do-indent, verilog-pretty-declarations-auto)
3944         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3945         Reported by Pierre-David Pfister.
3946         (verilog-set-auto-endcomments): Fix endtask auto comments outside
3947         of class declarations, bug292.  Reported by Kevin Heilman.
3948         (verilog-read-decls): Fix 'parameter type' not appearing in
3949         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
3950         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3951         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3952         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3953         Reported by David Kravitz.
3955 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
3957         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3958         assignment with tests in ifs and for loops.
3959         (verilog-extended-complete-re, verilog-complete-reg): Change so
3960         that DPI inport functions don't look like fuction declarations.
3961         (verilog-pretty-expr): Don't line up assignment
3962         operations to the test and increment in if and for loops
3963         (verilog-extended-complete-re, verilog-complete-reg): Change so
3964         that DPI inport functions don't look like fuction declarations.
3966 2012-05-03  Kenichi Handa  <handa@m17n.org>
3968         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3969         decoding, and show a warning message without signaling an error
3970         (Bug#11282).
3972 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3974         * emacs-lisp/bytecomp.el
3975         (byte-compile-file-form-custom-declare-variable): Compile all elements,
3976         since cconv.el might have introduced :fun-body, internal-make-closure,
3977         and friends for bytecomp to handle (bug#11391).
3978         * custom.el (defcustom): Avoid ((λ ..) ..).
3980 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3982         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3984 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
3986         * notifications.el (dbus-debug):
3987         * term/linux.el (gpm-mouse-enable):
3988         * term/screen.el (xterm-register-default-colors): Declare.
3990 2012-05-02  Chong Yidong  <cyd@gnu.org>
3992         * cus-start.el (gc-cons-percentage, exec-suffixes)
3993         (dos-display-scancodes, dos-hyper-key, dos-super-key)
3994         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3995         (make-cursor-line-fully-visible, void-text-area-pointer)
3996         (font-list-limit): Add customization data.
3998         * allout.el (allout-exposure-change-functions)
3999         (allout-structure-added-functions)
4000         (allout-structure-deleted-functions)
4001         (allout-structure-shifted-functions): Rename abnormal hooks from
4002         *-hook, and convert to defcustoms.
4003         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4004         Convert to defcustoms.
4005         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4007         * allout-widgets.el: Hook callers changed.
4009 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
4011         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4012         the yanked message in preference to the default value of
4013         buffer-file-coding-system.
4015 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
4017         * window.el (display-buffer--action-function-custom-type):
4018         Fix entry.
4020 2012-05-02  Alan Mackenzie  <acm@muc.de>
4022         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4024 2012-05-01  Glenn Morris  <rgm@gnu.org>
4026         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4028         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
4030         * cus-edit.el (custom-variable-documentation): Simplify with format.
4032 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4033             Stefan Monnier  <monnier@iro.umontreal.ca>
4035         * simple.el (suggest-key-bindings, execute-extended-command):
4036         Move from keyboard.c.
4038 2012-05-01  Chong Yidong  <cyd@gnu.org>
4040         * follow.el: Eliminate advice.
4041         (set-process-filter, process-filter, sit-for): Advice deleted.
4042         (follow-mode-off-hook): Obsolete hook removed.
4043         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4044         Vars deleted.
4045         (follow-auto): Use a :set function.
4046         (follow-mode): Rewritten.  Don't advise process filters.
4047         (follow-switch-to-current-buffer-all, follow-scroll-up)
4048         (follow-scroll-down): Assume follow-mode is bound.
4049         (follow-comint-scroll-to-bottom)
4050         (follow-align-compilation-windows): New functions.
4051         (follow--window-sorter): New function.
4052         (follow-all-followers): Use it to explicitly sort windows by their
4053         positions; don't make assumptions about next-window order.
4054         (follow-windows-start-end, follow-delete-other-windows-and-split)
4055         (follow-calc-win-start): Doc fix.
4056         (follow-windows-aligned-p, follow-select-if-visible): Don't call
4057         vertical-motion unnecessarily.
4058         (follow-adjust-window): New function.
4059         (follow-post-command-hook): Use it.
4060         (follow-call-set-process-filter, follow-call-process-filter)
4061         (follow-intercept-process-output, follow-tidy-process-filter-alist)
4062         (follow-stop-intercept-process-output, follow-generic-filter):
4063         Functions deleted.
4064         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4065         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4066         New functions, replacing advice on scroll-bar-* commands.
4067         (follow-mwheel-scroll): New function (Bug#4112).
4069         * comint.el (comint-adjust-point): New function.
4070         (comint-postoutput-scroll-to-bottom): Use it.
4071         Call follow-comint-scroll-to-bottom for Follow mode buffers.
4073 2012-05-01  Glenn Morris  <rgm@gnu.org>
4075         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4076         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4077         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4078         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4079         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4080         Remove no-byte-compile setting.
4082 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4084         * minibuffer.el (completion-table-with-quoting): Fix compatibility
4085         all-completions code to not return a number in the last cdr.
4087 2012-04-30  Leo Liu  <sdl.web@gmail.com>
4089         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4090         read-only error.
4092 2012-04-29  Chong Yidong  <cyd@gnu.org>
4094         * follow.el (follow-calc-win-end): Rewrite to handle partial
4095         screen lines correctly (Bug#8390).
4096         (follow-avoid-tail-recenter): Minor cleanup.
4098 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4100         Avoid the obsolete `assoc' package.
4101         * speedbar.el (speedbar-refresh): Avoid adelete.
4102         (speedbar-file-lists): Simplify and avoid aput.
4103         * man.el (Man--sections, Man--refpages): New vars, replacing
4104         Man-sections-alist and Man-refpages-alist.
4105         (Man-build-section-alist, Man-build-references-alist):
4106         Use them; avoid aput.
4107         (Man--last-section, Man--last-refpage): New vars.
4108         (Man-follow-manual-reference): Use them.
4109         Use the `default' arg of completing-read.
4110         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
4112 2012-04-27  Chong Yidong  <cyd@gnu.org>
4114         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4116         * startup.el (x-apply-session-resources): New function.
4118         * term/ns-win.el (ns-initialize-window-system):
4119         * term/w32-win.el (w32-initialize-window-system):
4120         * term/x-win.el (x-initialize-window-system): Use it to properly
4121         set menu-bar-mode and other vars from X resources, even if the
4122         initial frame is not a window-system frame (Bug#2299).
4124         * subr.el (read-key): Avoid running filter function when setting
4125         up temporary tool bar entries (Bug#9922).
4127 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
4129         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4130         (Bug#11344)
4132 2012-04-27  Chong Yidong  <cyd@gnu.org>
4134         * select.el (xselect--encode-string): New function, split from
4135         xselect-convert-to-string.
4136         (xselect-convert-to-string): Use it.
4137         (xselect-convert-to-filename, xselect-convert-to-os)
4138         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4139         returned strings are properly encoded (Bug#11315).
4141 2012-04-27  Chong Yidong  <cyd@gnu.org>
4143         * simple.el (delete-active-region): Move to killing custom group.
4145 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
4147         * progmodes/which-func.el (which-func-current): Quote %
4148         characters for mode-line processing.
4150 2012-04-27  Chong Yidong  <cyd@gnu.org>
4152         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4153         reaching eob (Bug#11286).
4155 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
4157         * progmodes/gdb-mi.el (gdb-control-level): New variable.
4158         (gdb): Make it buffer-local and init to zero.
4159         (gdb-control-commands-regexp): New variable.
4160         (gdb-send): Don't wrap in "-interpreter-exec console" if
4161         gdb-control-level is positive.  Increment gdb-control-level
4162         whenever the command matches gdb-control-commands-regexp, and
4163         decrement it each time the command is "end".  (Bug#11279)
4165 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
4167         * window.el (adjust-window-trailing-edge, enlarge-window)
4168         (shrink-window, window-resize):
4169         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4170         windows (Bug#11276).
4172 2012-04-27  Chong Yidong  <cyd@gnu.org>
4174         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4175         fix "missing prefix" warning.  All callers changed.
4177 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4179         * emacs-lisp/assoc.el: Move to obsolete/.
4181 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4183         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4185         * term/ns-win.el (ns-define-service):
4186         * progmodes/pascal.el (pascal-goto-defun):
4187         * progmodes/js.el (js--read-tab):
4188         * progmodes/etags.el (tags-lazy-completion-table):
4189         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4190         * emacs-lisp/ewoc.el (ewoc--wrap):
4191         * emacs-lisp/assoc.el (aput, adelete, amake):
4192         * doc-view.el (doc-view-convert-current-doc):
4193         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4195 2012-04-26  Chong Yidong  <cyd@gnu.org>
4197         * image.el (image-type-from-buffer): Only return supported image
4198         type (Bug#9045).
4200         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4201         value, for symmetry with diff-end-of-hunk.
4202         (diff-split-hunk, diff-find-source-location)
4203         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4204         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4205         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4206         compute the relevant hunk or file properly (Bug#6005).
4207         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4209 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4211         * vc/vc-mtn.el:
4212         * vc/vc-hg.el:
4213         * vc/vc-git.el:
4214         * vc/vc-dir.el:
4215         * vc/vc-cvs.el:
4216         * vc/vc-bzr.el:
4217         * vc/vc-arch.el:
4218         * vc/vc.el: Replace lexical-let by lexical-binding.
4219         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4220         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4221         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4223 2012-04-26  Chong Yidong  <cyd@gnu.org>
4225         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4226         (diff-mode-shared-map): Bind it to / and [remap undo].
4228         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4229         (ediff-window-setup-function): Use it as the default, to set up
4230         windows based on whether the current frame is graphical (Bug#2138).
4231         (ediff-choose-window-setup-function-automatically): Make obsolete.
4233         * vc/ediff-init.el: Always define ediff-pixel-width/height.
4235 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4237         * ffap.el: Remove old code for obsolete package.
4238         (ffap-complete-as-file-p): Remove.
4240         Use completion-table-with-quoting for comint and pcomplete.
4241         * comint.el (comint--unquote&requote-argument)
4242         (comint--unquote-argument, comint--requote-argument): New functions.
4243         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4244         (comint-quote-filename): Use regexp-opt-charset.
4245         (comint--common-suffix, comint--common-quoted-suffix)
4246         (comint--table-subvert): Remove.
4247         (comint-unquote-function, comint-requote-function): New vars.
4248         (comint--complete-file-name-data): Use them with
4249         completion-table-with-quoting.
4250         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4251         * pcomplete.el (pcomplete-arg-quote-list)
4252         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4253         (pcomplete-unquote-argument-function): Default to non-nil.
4254         (pcomplete-unquote-argument): Simplify.
4255         (pcomplete--common-quoted-suffix): Remove.
4256         (pcomplete-requote-argument-function): New var.
4257         (pcomplete--common-suffix): New function.
4258         (pcomplete-completions-at-point): Use completion-table-with-quoting
4259         and completion-table-subvert.
4261         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4262         (minibuffer--double-dollars): Preserve properties.
4263         (completion--sifn-requote): New function.
4264         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4266         * minibuffer.el: Add support for completion of quoted/escaped data.
4267         (completion-table-with-quoting, completion-table-subvert): New funs.
4268         (completion--twq-try, completion--twq-all): New functions.
4269         (completion--nth-completion): New function.
4270         (completion-try-completion, completion-all-completions): Use it.
4272 2012-04-25  Leo Liu  <sdl.web@gmail.com>
4274         * progmodes/python.el (python-pdbtrack-get-source-buffer):
4275         Use compilation-message if available to find real filename.
4277 2012-04-25  Chong Yidong  <cyd@gnu.org>
4279         * vc/diff-mode.el (diff-setup-whitespace): New function.
4280         (diff-mode): Use it.
4282         * vc/diff.el (diff-sentinel):
4283         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4284         Whitespace mode variables based on diff style (Bug#8612).
4286 2012-04-25  Leo Liu  <sdl.web@gmail.com>
4288         * progmodes/python.el (python-send-region): Add suffix .py to the
4289         temp file.
4291         * files.el (auto-mode-alist): Use javascript-mode instead.
4293 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
4295         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
4297         * net/soap-client.el (soap-resolve-references-for-sequence-type)
4298         (soap-resolve-references-for-array-type): Hack to prevent self
4299         references, see Bug#9.
4300         (soap-parse-envelope): Report the contents of the 'detail' node
4301         when receiving a fault reply.
4302         (soap-parse-envelope): Report the contents of the entire 'detail' node.
4304         * net/soap-inspect.el (soap-sample-value-for-simple-type)
4305         (soap-inspect-simple-type): New function.
4307         * net/soap-client.el (soap-simple-type): New struct.
4308         (soap-default-xsd-types, soap-default-soapenc-types)
4309         (soap-decode-basic-type, soap-encode-basic-type):
4310         support unsignedInt and double basic types.
4311         (soap-resolve-references-for-simple-type)
4312         (soap-parse-simple-type, soap-encode-simple-type): New function.
4313         (soap-parse-schema): Parse xsd:simpleType declarations.
4315         * net/soap-client.el (soap-default-xsd-types)
4316         (soap-default-soapenc-types): Add integer, byte and anyURI types.
4317         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4318         the local name of "soapenc:Array".
4319         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4320         decoding integer, byte and anyURI xsd types.
4322 2012-04-25  Chong Yidong  <cyd@gnu.org>
4324         * cus-edit.el (custom-buffer-create-internal): Update header text.
4326 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
4328         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4329         settings on 'system-type', not on 'window-system'.  On MS-Windows,
4330         set interactive-mode on in GDB.
4332 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4334         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4335         (ruby-syntax-propertize-regexp): Remove.
4336         (ruby-syntax-propertize-function): Split regexp into chunks.
4337         Match following code directly.
4339 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
4341         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4342         (ruby-syntax-propertize-regexp): New function.
4343         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4344         by a special keyword.
4346         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4347         (ruby-syntax-general-delimiters-goto-beg)
4348         (ruby-syntax-propertize-general-delimiters): New functions.
4349         (ruby-syntax-propertize-function): Use them to handle GDL.
4350         (ruby-font-lock-keywords): Move old handling of GDL...
4351         (ruby-font-lock-syntactic-keywords): .. to here.
4352         (ruby-calculate-indent): Adjust indentation for GDL.
4354 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
4356         * notifications.el (top): Remove unneeded declarations.
4357         (notifications-specification-version): Change to "1.2".
4358         (notifications-interface, notifications-notify-method)
4359         (notifications-close-notification-method): Fix docstring.
4360         (notifications-get-capabilities-method): New defconst.
4361         (notifications-notify): Add :action-items, :resident and
4362         :transient hints.  Change "image_data" to "image-data" and
4363         "image_path" to "image-path".
4364         (notifications-get-capabilities): New defun.
4366 2012-04-24  Leo Liu  <sdl.web@gmail.com>
4368         * progmodes/python.el: Move hideshow setup to the end.
4370 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
4372         * window.el (handle-select-window): Clear echo area since this is
4373         no more done by read_char (Bug#11304).
4375 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4377         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4378         and `/ M' to filter-derived-mode.
4379         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4380         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4381         (ibuffer-mark-by-mode): Use default rather than initial-input.
4382         (ibuffer-filter-by-derived-mode): Autoload and require-match.
4384 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
4386         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4387         (ibuffer-filter-by-derived-mode): New filter.
4388         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4390 2012-04-23  Andreas Politz  <politza@fh-trier.de>
4392         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4394 2012-04-23  Chong Yidong  <cyd@gnu.org>
4396         * cus-edit.el (customize-apropos, customize-apropos-options):
4397         Disable matching of non-option variables (Bug#11176).
4398         (customize-option, customize-option-other-window)
4399         (customize-changed-options): Doc fix.
4400         (customize-apropos-options, customize-apropos-faces)
4401         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4403         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4404         Fix word list splitting (Bug#11132).
4405         (apropos-symbol, apropos-keybinding, apropos-label)
4406         (apropos-property, apropos-function-button)
4407         (apropos-variable-button, apropos-misc-button): New faces.
4408         (apropos-symbol-face, apropos-keybinding-face)
4409         (apropos-label-face, apropos-property-face, apropos-match-face):
4410         Variables removed (Bug#8396).
4411         (apropos-library-button, apropos-format-plist, apropos-print)
4412         (apropos-print-doc, apropos-describe-plist): Callers changed.
4414 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
4416         * net/xesam.el (xesam-mode-map): Use let-bound map in
4417         initialization.  (Bug#11292)
4419 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4421         Preserve ispell session localwords when switching back to
4422         original buffer.
4424         * textmodes/ispell.el (ispell-buffer-session-localwords):
4425         New buffer-local variable to hold buffer session localwords.
4426         (ispell-kill-ispell): Add option 'clear to delete session
4427         localwords.
4428         (ispell-command-loop, ispell-change-dictionary)
4429         (ispell-buffer-local-words): Preserve session localwords when
4430         needed.
4432         * textmodes/flyspell.el (flyspell-process-localwords)
4433         (flyspell-do-correct): Preserve session localwords when needed.
4435 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4437         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4438         using obsolete `translation-table-for-input'.
4439         (ispell-word, ispell-process-line, ispell-complete-word):
4440         Use plain `insert' instead of removed `ispell-insert-word'.
4442 2012-04-22  Chong Yidong  <cyd@gnu.org>
4444         * cus-edit.el (custom-variable-menu)
4445         (custom-variable-reset-saved, custom-face-menu)
4446         (custom-face-reset-saved): If there is no saved value, make the
4447         "reset-saved" operation bring back the default (Bug#9509).
4448         (custom-face-state): Properly detect themed faces.
4450         * faces.el (face-spec-set): Stop supporting deprecated form of
4451         third arg.
4453 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
4455         Move functions from C to Lisp.  Make non-blocking method calls
4456         the default.  Implement further D-Bus standard interfaces.
4458         * net/dbus.el (dbus-message-internal): Declare function.
4459         Remove unneeded function declarations.
4460         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4461         (dbus-message-type-method-return, dbus-message-type-error)
4462         (dbus-message-type-signal): Declare variables.  Remove local
4463         definitions.
4464         (dbus-interface-dbus, dbus-interface-peer)
4465         (dbus-interface-introspectable, dbus-interface-properties)
4466         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4467         Adapt docstring.
4468         (dbus-interface-objectmanager): New defconst.
4469         (dbus-call-method, dbus-call-method-asynchronously)
4470         (dbus-send-signal, dbus-method-return-internal)
4471         (dbus-method-error-internal, dbus-register-service)
4472         (dbus-register-signal, dbus-register-method): New defuns, moved
4473         from dbusbind.c
4474         (dbus-call-method-handler, dbus-setenv)
4475         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4476         New defuns.
4477         (dbus-call-method-non-blocking): Make it an obsolete function.
4478         (dbus-unregister-object, dbus-unregister-service)
4479         (dbus-handle-event, dbus-register-property)
4480         (dbus-property-handler): Obey the new structure of
4481         `bus-registered-objects'.
4482         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
4483         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4484         Use `dbus-call-method'.
4486 2012-04-22  Chong Yidong  <cyd@gnu.org>
4488         * cus-edit.el (custom-commands, custom-reset-menu)
4489         (Custom-reset-standard): Tweak labels.
4490         (custom-reset-button-menu): Change default to t.
4491         (custom-buffer-create-internal): For the custom-reset-button-menu
4492         case, put the revert button first.
4493         (custom-group-subtitle): New face.
4494         (custom-group-value-create): Align docstring to a specific column.
4496         * wid-edit.el (widget-documentation-link-add): Don't handle
4497         indentation in this function.
4498         (widget-documentation-string-indent-to): New function.
4499         (widget-documentation-string-value-create): Use it.
4501         * autorevert.el (auto-revert):
4502         * epg-config.el (epg):
4503         * ibuffer.el (ibuffer):
4504         * mpc.el (mpc):
4505         * ses.el (ses):
4506         * eshell/eshell.el (eshell):
4507         * net/ange-ftp.el (ange-ftp):
4508         * progmodes/ebnf2ps.el (postscript):
4509         * progmodes/flymake.el (flymake):
4510         * progmodes/prolog.el (prolog):
4511         * progmodes/verilog-mode.el (verilog-mode):
4512         * progmodes/which-func.el (which-func):
4513         * term/xterm.el (xterm):
4514         * textmodes/picture.el (picture):
4515         * textmodes/tildify.el (tildify):
4516         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4517         customization buffers.
4519 2012-04-22  Alan Mackenzie  <acm@muc.de>
4521         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4522         Adding a ) can hide the resulting (..) from searches.  Fix it.
4523         Bound the backward search to the position of the existing (.
4525 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
4527         * progmodes/verilog-mode.el (verilog-mode): Check whether
4528         which-func-modes is t before adding verilog-mode.
4529         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4531 2012-04-21  Leo Liu  <sdl.web@gmail.com>
4533         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4535 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
4537         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4538         filling of the last column of a table (Bug#5635).
4539         (woman-find-next-control-line): New arg, specifying an additional
4540         regexp component for the control line.
4541         (woman2-roff-buffer): Use it.
4542         (woman-break-table): New function.
4543         (woman2-TS): Use it.
4545 2012-04-21  Chong Yidong  <cyd@gnu.org>
4547         * woman.el (woman-set-buffer-display-table, woman-decode-region)
4548         (woman-horizontal-escapes, woman-negative-vertical-space)
4549         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4550         (WoMan-warn-ignored): Use ?\s instead of ?\ .
4552 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4554         * minibuffer.el (completion-file-name-table): Complete user names.
4556 2012-04-20  Leo Liu  <sdl.web@gmail.com>
4558         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4559         and pcase-let*.
4561 2012-04-20  Chong Yidong  <cyd@gnu.org>
4563         * server.el (server-execute): Respect initial-buffer-choice if it
4564         is a string and there are no files to open (Bug#2825).
4565         (server-create-window-system-frame, server-create-tty-frame):
4566         Don't switch buffers here.
4567         (server-process-filter): Only try to open a window system frame if
4568         compiled with graphical support (Bug#8314).
4570 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
4572         * battery.el (battery-echo-area-format): Display remaining time
4573         for sysfs backend too (Bug#11269).
4574         (battery-linux-sysfs): Fix conditional for the charge.
4576 2012-04-20  Chong Yidong  <cyd@gnu.org>
4578         * progmodes/gdb-mi.el (gdb): Revert previous change.
4579         (gdb-inferior-io--init-proc): New function.
4580         (gdb-init-1): Use it.
4581         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4582         responsible for allocating a new pty and hooking it to gdb when
4583         the old pty gets an EIO due to process exit.
4584         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
4585         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4586         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4588 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
4590         * window.el (window-min-size, window-sizable, window-min-delta)
4591         (window-max-delta, window--resizable, window-resizable)
4592         (window-total-size, window-full-height-p, window-full-width-p)
4593         (window-in-direction, window--resize-mini-window, window-resize)
4594         (window--resize-child-windows-normal)
4595         (window--resize-child-windows, window--resize-siblings)
4596         (window--resize-this-window, adjust-window-trailing-edge)
4597         (enlarge-window, shrink-window): Doc fixes.
4599 2012-04-20  Chong Yidong  <cyd@gnu.org>
4601         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4602         New function to call delete-process on the gdb-inferior buffer's pty.
4603         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4604         pty process (Bug#11273).
4605         (gdb-update): New arg to suppress talking to the gdb process.
4606         (gdb-done-or-error): Use it.
4607         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4608         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4609         sentinel not being called.
4611         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4613         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4615 2012-04-20  Glenn Morris  <rgm@gnu.org>
4617         * net/network-stream.el (open-network-stream): Doc fix.
4619 2012-04-20  Chong Yidong  <cyd@gnu.org>
4621         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4623 2012-04-20  Alan Mackenzie  <acm@muc.de>
4625         Ensure searching for keywords is case sensitive.
4627         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4628         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4629         (c-defun-name, c-mark-function, c-cpp-define-name)
4630         (c-comment-indent, c-scan-conditionals, c-indent-defun)
4631         (c-context-line-break): Bind case-fold-search to nil.
4633         * progmodes/cc-mode.el (c-font-lock-fontify-region):
4634         Bind case-fold-search to nil.
4636 2012-04-20  Chong Yidong  <cyd@gnu.org>
4638         * mail/sendmail.el (mail-bury): Call return action with the right
4639         Rmail buffer (Bug#11242).
4641         * server.el (server-process-filter): Handle corner case where both
4642         tty and nowait options are present (Bug#11102).
4644 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
4646         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4647         (top level): Put into the executable the ident-style '$Id:' tag on
4648         windows-nt as well.
4650 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4652         * electric.el (electric-indent-post-self-insert-function): Check that
4653         electric-indent-mode is enabled in current buffer.
4655 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
4657         * imenu.el (imenu-progress-message): Restore; it is "used" in
4658         erc/erc-imenu.el and net/snmp-mode.el.
4660 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
4662         * avoid.el (mouse-avoidance-mode): Mark unused arg.
4663         (mouse-avoidance-nudge-mouse): Remove unused binding.
4665         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4667         * descr-text.el (describe-char):
4668         * progmodes/python.el (python-describe-symbol):
4669         Don't call `toggle-read-only', set `buffer-read-only'.
4671         * imenu.el (imenu-default-goto-function): Mark unused args.
4672         (imenu-progress-message): Remove obsolete macro; all callers changed.
4674         * subr.el (keymap-canonicalize): Remove unused binding.
4675         (read-passwd): Mark unused arg.
4677         * tutorial.el (tutorial--display-changes): Remove unused binding.
4678         (tutorial--save-tutorial-to): Remove unused variable.
4680         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4681         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4682         (package-generate-autoloads, package-menu--generate)
4683         (package-menu--find-upgrades): Remove unused bindings.
4685         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4686         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
4687         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4688         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4689         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4690         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4691         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4692         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4693         (cua-delete-char-rectangle): Mark unused args.
4694         (cua-align-rectangle): Remove unused binding.
4696         * mail/rmail.el (compilation--message->loc)
4697         (epa--find-coding-system-for-mime-charset): Declare.
4699         * net/dbus.el (dbus-register-service): Declare.
4700         (dbus-name-owner-changed-handler): Remove unused binding.
4702         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4703         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4704         (nxml-scan-backward-within): Mark unused arg.
4705         (nxml-dynamic-markup-word): Remove unused binding.
4707         * mouse.el (mouse-menu-major-mode-map):
4708         * emacs-lisp/authors.el (authors-scan-change-log)
4709         (authors-add-to-author-list):
4710         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4711         * emacs-lisp/smie.el (smie-auto-fill):
4712         * mail/sendmail.el (mail-bury):
4713         * mail/unrmail.el (unrmail):
4714         * net/tls.el (open-tls-stream):
4715         * textmodes/picture.el (picture-mouse-set-point):
4716         Remove unused bindings.
4718 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
4720         * net/tramp.el (tramp-action-password): Let-bind
4721         `enable-recursive-minibuffers' to t.
4723 2012-04-18  Sam Steingold  <sds@gnu.org>
4725         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4726         instead of 'string to accommodate values like [f11].
4727         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4728         * progmodes/gdb-mi.el: Likewise.
4730 2012-04-18  Leo Liu  <sdl.web@gmail.com>
4732         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4733         current buffer.
4734         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4735         LOCAL is nil.
4737 2012-04-18  Chong Yidong  <cyd@gnu.org>
4739         * simple.el (line-move): Use forward-line if in batch mode
4740         (Bug#11053).
4742 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
4744         * files.el (after-find-file): Do not try to add a final newline if
4745         the buffer is read-only (Bug#11156).
4747 2012-04-17  Richard Stallman  <rms@gnu.org>
4749         * mail/rmail.el (rmail-start-mail):
4750         Pass (rmail-mail-return...) for the return-action.
4751         Pass (rmail-yank-current-message...) for the yank-action.
4752         (rmail-yank-current-message): New function.
4753         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4754         (rmail-reply): Likewise.
4755         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4757         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4758         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
4759         buffer, not newbuf.
4761 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
4763         * server.el (server-ensure-safe-dir): Simplify.
4765 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4767         * emacs-lisp/smie.el: Provide smarter auto-filling.
4768         (smie-auto-fill): New function.
4769         (smie-setup): Use it.
4771         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4773 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
4775         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4776         (comment-indent): Use it.
4778 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4780         * ses.el: The overall change is to add cell renaming, that is
4781         setting fancy names for cell symbols other than name matching
4782         "\\`[A-Z]+[0-9]+\\'" regexp .
4783         (ses-localvars): Add ses--renamed-cell-symb-list.
4784         (ses-create-cell-variable): New defun.
4785         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4786         (ses-relocate-formula): Relocate formulas only for cells the
4787         symbols of which are not renamed, i.e. symbols whose names do not
4788         match regexp "\\`[A-Z]+[0-9]+\\'".
4789         (ses-relocate-all): Relocate values only for cells the symbols of
4790         which are not renamed.
4791         (ses-load): Create cells variables as the (ses-cell ...) are read,
4792         in order to check row col consistency with cell symbol name only
4793         for cells that are not renamed.
4794         (ses-replace-name-in-formula): New defun.
4795         (ses-rename-cell): New defun.
4797 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
4799         * progmodes/perl-mode.el (perl-indent-parens-as-block):
4800         New option (bug#11118).
4801         (perl-calculate-indent): Respect it.
4803 2012-04-17  Glenn Morris  <rgm@gnu.org>
4805         * dired-aux.el (dired-mark-read-string): Doc fix.
4807 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
4809         * dired-aux.el (dired-mark-read-string): Offer optional completion.
4810         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
4812 2012-04-17  Glenn Morris  <rgm@gnu.org>
4814         * mouse.el (mouse-drag-track):
4815         * speedbar.el (speedbar-frame-mode):
4816         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4818 2012-04-16  Leo Liu  <sdl.web@gmail.com>
4820         * progmodes/python.el: Trivial cleanup.
4822 2012-04-16  Glenn Morris  <rgm@gnu.org>
4824         * vc/vc.el (vc-string-prefix-p):
4825         * vc/pcvs-util.el (cvs-string-prefix-p):
4826         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4827         * mpc.el (mpc-string-prefix-p):
4828         Make all of these into obsolete aliases for string-prefix-p.
4829         Update callers.
4830         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4832         * textmodes/two-column.el: Move custom options to the start.
4833         (frame-width): Remove compat definition.
4834         (2C-associate-buffer, 2C-dissociate):
4835         Use with-current-buffer rather than save-excursion.
4836         (2C-dissociate): Force a mode-line update.
4837         (2C-autoscroll): Use ignore-errors.
4839         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4840         Autoload trivia.
4842         * emacs-lisp/cl-extra.el (*random-state*):
4843         Remove unnecessary declaration.
4845         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4847         * play/cookie1.el (cookie-snarf):
4848         Give an explicit error if input file cannot be read.
4850         * play/yow.el (yow-file): Use expand-file-name rather than concat.
4852         * progmodes/perl-mode.el (c-macro-expand):
4853         Remove unnecessary autoload (it is in loaddefs.el).
4855         * textmodes/picture.el (picture-desired-column)
4856         (picture-update-desired-column): Convert comments to doc-strings.
4857         (picture-substitute): Remove function.
4858         (picture-mode-map): Initialize in the defvar.
4860         * woman.el: Remove eval-after-load for tar-mode.
4861         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4862         (woman-tar-extract-file): Autoload it.
4864         * frame.el (automatic-hscrolling): Make this alias obsolete.
4866 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4868         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4869         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4870         (ispell-dictionary-base-alist): Revert to original XEmacs
4871         friendly version for default.  [:alpha:] will be added in
4872         `ispell-set-spellchecker-params' if needed.
4874 2012-04-16  Chong Yidong  <cyd@gnu.org>
4876         * image.el (imagemagick--file-regexp): New variable.
4877         (imagemagick-register-types): Use it.
4878         (imagemagick-types-inhibit): Add :set function.  Allow new value
4879         of t to inhibit all types.
4881         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4882         so we can preload it.
4884         * loadup.el (fboundp): Preload regexp-opt, needed by
4885         imagemagick-register-types.
4887 2012-04-15  Chong Yidong  <cyd@gnu.org>
4889         * frame.el (scrolling): Remove nearly unused customization group.
4891         * scroll-all.el (scroll-all-mode): Move to windows group.
4893 2012-04-15  Chong Yidong  <cyd@gnu.org>
4895         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4897 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4899         Avoid the use of ((lambda ...) ...) in lexical-binding code.
4900         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4902 2012-04-15  Glenn Morris  <rgm@gnu.org>
4904         * simple.el (process-file-side-effects): Doc fix.
4906 2012-04-15  Glenn Morris  <rgm@gnu.org>
4908         * international/mule-cmds.el (set-language-environment): Doc fix.
4910 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
4912         * server.el (server-auth-key, server-generate-key): Doc fixes.
4913         (server-get-auth-key): Doc fix.  Use `string-match-p'.
4914         (server-start): Reflow docstring.
4916 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
4918         * server.el (server-generate-key): `called-interactively-p'
4919         requires a parameter.
4921 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
4923         * server.el (server-auth-key): New variable.
4924         (server-generate-key, server-get-auth-key): New function.
4925         (server-start): Use the new variable and functions to allow
4926         setting a permanent server key (bug#9423).
4928 2012-04-14  Leo Liu  <sdl.web@gmail.com>
4930         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4932 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
4934         Spelling fixes.
4935         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4936         Emacs uses American spelling.
4938 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
4940         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4941         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
4942         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4943         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
4945 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4947         * progmodes/which-func.el (which-func-modes): Change default.
4949 2012-04-14  Kim F. Storm  <storm@cua.dk>
4951         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4952         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4954 2012-04-14  Chong Yidong  <cyd@gnu.org>
4956         * custom.el (custom-theme-set-variables): Doc fix.
4958 2012-04-14  Glenn Morris  <rgm@gnu.org>
4960         * international/mule.el (set-auto-coding-for-load): Doc fix.
4962 2012-04-14  Alan Mackenzie  <acm@muc.de>
4964         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4965         imenu work again for Objective C Mode.  Correct the *-index values,
4966         these having been disturbed by a previous change in 2011-08.
4968         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4969         Correct two search limits.
4971 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4973         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4975 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
4977         * international/characters.el: Fix sorting.
4979 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4981         * international/characters.el: Add more missing Latin case pairs.
4983 2012-04-14  Glenn Morris  <rgm@gnu.org>
4985         * files.el (dir-locals-set-class-variables): Doc fix.
4987 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
4989         * international/characters.el: Add set-case-syntax-pair call for
4990         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4991         counterpart.  (Bug#11209)
4993         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
4995 2012-04-14  Glenn Morris  <rgm@gnu.org>
4997         * calendar/holidays.el (calendar-check-holidays): Doc fix.
4999 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5001         * textmodes/ispell.el (ispell-dictionary-base-alist):
5002         Add data for Hebrew.
5004 2012-04-14  Chong Yidong  <cyd@gnu.org>
5006         * net/rcirc.el (rcirc-cmd-quit):
5007         Revert 2012-03-18 change (Bug#11192).
5009 2012-04-14  Glenn Morris  <rgm@gnu.org>
5011         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5013 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
5015         * minibuffer.el (completion-in-region-mode-map):
5016         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
5018 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
5020         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5022 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
5024         * minibuffer.el (minibuffer-local-filename-syntax): New variable
5025         to allow `C-M-f' and `C-M-b' to move to the nearest path
5026         separator (bug#9511).
5028 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
5030         * avoid.el: Require cl when compiling.  And also move the
5031         `provide' to the end.
5033 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5035         * avoid.el (mouse-avoidance-banish-position): New variable.
5036         (mouse-avoidance-banish-destination): Use it (bug#10165).
5038 2012-04-13  Leo Liu  <sdl.web@gmail.com>
5040         * progmodes/which-func.el (which-func-modes): Add objc-mode.
5042 2012-04-13  Ken Brown  <kbrown@cornell.edu>
5044         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5045         this is no longer needed now that cygstart understands file:// URLs.
5046         (browse-url-filename-alist): For the same reason, don't modify
5047         file:// URLs on Cygwin.
5049 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5051         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5052         the region on shift if the binding is already shifted (bug#11221).
5054 2012-04-12  Glenn Morris  <rgm@gnu.org>
5056         * mail/mailpost.el: Move to obsolete/.
5058 2012-04-12  Drew Adams  <drew.adams@oracle.com>
5060         * imenu.el (imenu--generic-function): Ignore invisible definitions
5061         (bug#10123).
5063 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
5065         * hexl.el (hexl-bits): New variable.
5066         (hexl-options): Mention the variable in the doc string.
5067         (hexl-rulerise, hexl-line-displen): New functions.
5068         (hexl-mode): Mention the new variable.
5069         (hexl-mode, hexl-current-address, hexl-current-address):
5070         Use the displen.
5071         (hexl-ascii-start-column): New function.
5072         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5073         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5075 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5077         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5078         '("-i" ENCODING), in 2 separate command-line arguments, to specify
5079         the encoding, as expected by hunspell.
5081 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5083         * battery.el (battery--linux-sysfs-regexp): New const.
5084         (battery-status-function): Use it.  Remove yeeloong special case.
5085         (battery-yeeloong-sysfs): Remove.
5086         (battery-echo-area-format): Remove yeeloong special case.
5088 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5090         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5091         Reported by Noah Friedman.
5093         * subr.el (read-passwd): Use read-string.
5095 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5097         * vcursor.el (vcursor-move): Increase the priority of the overlay
5098         (bug#9663).
5100 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5102         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5103         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5105 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
5107         * textmodes/artist.el (artist-mode): Convert artist-mode to use
5108         define-minor-mode (bug#10760).
5110 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
5112         * progmodes/grep.el (rgrep): Tweak the find command line so
5113         that directories matching `grep-find-ignored-files' won't be
5114         pruned (bug#10351).
5116 2012-04-11  Chong Yidong  <cyd@gnu.org>
5118         * startup.el (command-line): Remove support for long-obsolete
5119         variable font-lock-face-attributes.
5121 2012-04-11  Glenn Morris  <rgm@gnu.org>
5123         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5125 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5127         * window.el (window--state-get-1): Obey window-point-insertion-type.
5129 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
5131         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5132         to previous function when point is on the first character of a
5133         function.  Take care of that in `narrow-to-defun' (bug#6157).
5135 2012-04-11  Glenn Morris  <rgm@gnu.org>
5137         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5138         not just file-errors.
5140         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5141         (vc-bzr-sha1): Use internal sha1.
5143 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5145         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5147 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
5149         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5150         that start in the middle of the line (bug#10496).
5152 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
5154         * battery.el (battery-linux-proc-acpi): Only one battery is
5155         discharged at a time, but that seems to confuse battery.el when
5156         computing `rate-type' for the battery not being discharged
5157         (bug#10332).
5159 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5161         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5163         * international/quail.el: Use dolist and simplify.
5164         (quail-define-package, quail-update-keyboard-layout)
5165         (quail-define-rules): Use dolist.
5166         (quail-insert-kbd-layout, quail-get-translation): CSE.
5168         * tmm.el: Use dolist, remove left over hook.
5169         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5170         Use dolist.
5171         (calendar-load-hook): Don't mess with it.
5173         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5174         Use derived-mode-p.  Run the diff asynchronously.
5176 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5178         * obsolete/mouse-sel.el: Add an Obsolete-since header.
5180 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
5182         * misc.el: Display absolute path of loaded DLLs (bug#10424).
5183         (list-dynamic-libraries--loaded): New function.
5184         (list-dynamic-libraries--refresh): Use it.
5186 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
5188         * progmodes/python.el (python-fill-paragraph):
5189         Make python-fill-region in a multiline string work when font-lock is
5190         disabled (bug#7018).
5192 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
5194         * language/european.el (cp775): Add oem/legacy (en)coding on
5195         DOS/MS Windows for the Baltic languages.  There are still plenty
5196         of texts written in this encoding/codepage (bug#6519).
5198 2012-04-10  Glenn Morris  <rgm@gnu.org>
5200         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5201         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5203 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
5205         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5206         next-line "n" and previous-line "p" in order to make recentf more
5207         consistent with ibuffer, dired or org-mode (bug#9387).
5209 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5211         * image.el (put-image): Return the overlay created instead of the
5212         optional input string (bug#7834).  Note that this may break code
5213         that is (for some reason or other) depending on `put-image'
5214         returning the string.
5216         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5218         * simple.el (zap-to-char): Allow zapping using input methods
5219         (bug#1580).
5221         * textmodes/fill.el (fill-region): Leave point and mark where they
5222         were before filling (bug#5399).
5224 2012-04-09  Glenn Morris  <rgm@gnu.org>
5226         * version.el (emacs-bzr-get-version):
5227         Handle lightweight checkouts of local branches.
5229 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
5231         * international/characters.el: Recover lost case pairs.  (Bug#11209)
5233 2012-04-09  Chong Yidong  <cyd@gnu.org>
5235         * custom.el (custom-variable-p): Return nil for non-symbol
5236         arguments instead of signaling an error.
5237         (user-variable-p): Obsolete alias for custom-variable-p.
5239         * apropos.el (apropos-variable):
5240         * files-x.el (read-file-local-variable):
5241         * simple.el (set-variable):
5242         * woman.el (woman-mini-help):
5243         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5245 2012-04-09  Glenn Morris  <rgm@gnu.org>
5247         * startup.el (normal-top-level): Don't look for leim-list.el
5248         in places where it will not be found.  (Bug#910)
5250         * international/mule-cmds.el (set-default-coding-systems):
5251         * files.el (normal-mode):
5252         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
5253         This function was removed with ucs-tables.el in 2008.
5255 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
5257         * textmodes/ispell.el (ispell-check-version): For hunspell, set
5258         ispell-encoding8-command to "-i", without a trailing space.
5259         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5260         separate command-line arguments, to specify the encoding, since
5261         that's how hunspell expects it.
5263 2012-04-08  Glenn Morris  <rgm@gnu.org>
5265         * loadup.el: Load bindings before cus-start.
5266         This reduces somewhat the number of "rogue" settings in emacs -Q.
5268 2012-04-07  Glenn Morris  <rgm@gnu.org>
5270         * version.el (emacs-bzr-get-version): New function.
5271         (emacs-bzr-version): New variable.
5272         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
5273         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5275 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
5277         * international/uni-bidi.el, international/uni-category.el:
5278         * international/uni-combining.el, international/uni-decimal.el:
5279         * international/uni-decomposition.el, international/uni-digit.el:
5280         * international/uni-lowercase.el, international/uni-mirrored.el:
5281         * international/uni-name.el, international/uni-numeric.el:
5282         * international/uni-titlecase.el, international/uni-uppercase.el:
5283         Update for Unicode 6.1.
5285 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
5287         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5289 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5291         * window.el (shrink-window): Mention the `window-min-height'
5292         variable in the doc string.
5294 2012-04-05  Bastien Guerry  <bzg@altern.org>
5296         * color.el (color-lighten-name): Fix typo.
5298 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5300         * server.el (server--on-display-p): New function.
5301         (server--on-display-p): Use it.
5303 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
5305         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5306         (bug#11145).
5308 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5310         * comint.el (comint--common-quoted-suffix): Check string boundary
5311         before comparing (bug#11158).
5312         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5314 2012-04-04  Chong Yidong  <cyd@gnu.org>
5316         * minibuffer.el (completion-extra-properties): Doc fix.
5318         * subr.el (delayed-warnings-hook): Doc fix.
5320 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
5322         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5323         selection (Bug#11159).
5324         (epa-insert-keys): Inform that the default public key will be
5325         exported if no key is selected.
5327 2012-04-04  Richard Stallman  <rms@gnu.org>
5329         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5331 2012-04-03  Chong Yidong  <cyd@gnu.org>
5333         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5334         mail-insert-file, not its obsolete alias mail-attach-file.
5336 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
5338         * notifications.el (notifications-notify): Fix docstring.
5340 2012-04-02  Glenn Morris  <rgm@gnu.org>
5342         * emacs-lisp/authors.el (authors-aliases): Another addition.
5344 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
5346         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5347         `tramp-compat-call-process' instead of `tramp-local-call-process'.
5348         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5350 2012-04-01  Chong Yidong  <cyd@gnu.org>
5352         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5353         Handle root directory properly.
5354         (copy-directory): Caller changed.
5356         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5357         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5359 2012-03-31  Glenn Morris  <rgm@gnu.org>
5361         * term/xterm.el (xterm-extra-capabilities): Doc fix.
5363         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
5365         * calendar/calendar.el (calendar-window-list)
5366         (calendar-hide-window): Restore.  (Bug#11140)
5367         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5369         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5371 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5373         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5374         Check if file is a symlink (Bug#10489).
5376         * files.el (copy-directory): Likewise.
5378 2012-03-30  Chong Yidong  <cyd@gnu.org>
5380         * image.el (imagemagick-types-inhibit)
5381         (imagemagick-register-types): Doc fix.
5383 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5385         * textmodes/ispell.el (ispell-get-extended-character-mode):
5386         Disable extended-char-mode for hunspell.  hunspell does not support it
5387         and treats ~word as ordinary words in pipe mode.
5389 2012-03-30  Glenn Morris  <rgm@gnu.org>
5391         * tutorial.el (help-with-tutorial): Ensure local variables don't
5392         happen to make the buffer read-only.  (Bug#11127)
5394 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5396         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5397         (perl-calculate-indent): Return `noindent' in strings.
5399 2012-03-28  Sam Steingold  <sds@gnu.org>
5401         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5402         instead of the broken adhockery which does not prevent calendar
5403         buffers from being displayed at random after exit.
5404         (calendar-window-list, calendar-hide-window): Remove the broken
5405         adhockery.
5407 2012-03-28  Glenn Morris  <rgm@gnu.org>
5409         * replace.el (query-replace-map): Doc fix.
5411 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
5413         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5414         contents.  (Bug#11109)
5416 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5418         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5419         (bug#11077).
5420         (avl-tree--check, avl-tree--check-node): New funs.
5422 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
5424         * window.el (switch-to-visible-buffer): New option.
5425         (switch-to-prev-buffer, switch-to-next-buffer):
5426         Observe switch-to-visible-buffer.  Make sure that checking for a window
5427         showing a buffer already is done on the same frame.
5429 2012-03-27  Glenn Morris  <rgm@gnu.org>
5431         * startup.el (mail-host-address): Doc fix.
5433 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5435         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5436         than 197 variables.
5438 2012-03-26  Ami Fischman  <ami@fischman.org>
5440         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5442 2012-03-26  Glenn Morris  <rgm@gnu.org>
5444         * files.el (save-buffers-kill-emacs): Doc fix.
5446         * startup.el (normal-top-level, command-line, command-line-1):
5447         Give them doc strings.
5449 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
5451         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5452         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5454 2012-03-25  Chong Yidong  <cyd@gnu.org>
5456         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5457         theme if it was previously enabled before (Bug#11031).
5459         * cus-theme.el (custom-theme-write-faces): Retrieve current face
5460         spec with custom-face-get-current-spec if its :shown-value is not
5461         determined yet (Bug#9337).
5462         (customize-create-theme, custom-theme-revert): Doc fixes.
5464         * button.el (button-at): Minor addition to docstring.
5466 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
5468         * vc/vc.el (vc-merge): Fix a prompt.
5470 2012-03-24  Chong Yidong  <cyd@gnu.org>
5472         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5473         point (Bug#9623).
5475         * button.el (button-at): Minor addition to docstring.
5477 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5479         * newcomment.el (comment-choose-indent): No space after BOL.
5481 2012-03-22  Sam Steingold  <sds@gnu.org>
5483         * window.el (switch-to-prev-buffer): Revert last patch because the
5484         bug turned out to be an advertised feature (Elisp manual 28.14).
5486 2012-03-22  Glenn Morris  <rgm@gnu.org>
5488         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
5489         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5491 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5493         * net/network-stream.el (network-stream-open-starttls): Make error
5494         message under Windows be less misleading.
5496 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
5498         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5499         understands (bug#9942).
5501 2012-03-22  Chong Yidong  <cyd@gnu.org>
5503         * simple.el (end-of-visible-line): Handle return value of
5504         next-single-property-change properly (Bug#9371).
5506 2012-03-22  Kenichi Handa  <handa@m17n.org>
5508         * international/quail.el (quail-insert-kbd-layout): Fix previous
5509         change.  To avoid unwanted bidi reordering, use
5510         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5512 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
5514         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5515         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5516         (ruby-beginning-of-indent): Be more careful with the difference
5517         between word-boundary and symbol boundary.
5518         (ruby-mode-syntax-table): Make : a symbol constituent.
5520 2012-03-21  Andreas Politz  <politza@fh-trier.de>
5522         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5524 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5526         * progmodes/etags.el (tags-completion-at-point-function):
5527         Improve last fix.
5529         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5531 2012-03-21  Sam Steingold  <sds@gnu.org>
5533         * progmodes/etags.el (tags-completion-at-point-function):
5534         Avoid the error when point is inside the pattern.
5536 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
5538         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5539         line (Bug#10855).
5541 2012-03-21  Drew Adams  <drew.adams@oracle.com>
5543         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5545 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
5547         * ido.el (ido-set-current-directory, ido-read-internal)
5548         (ido-choose-completion-string, ido-completion-help): Handle nil
5549         value of ido-completion-buffer (Bug#11008).
5551 2012-03-21  Sam Steingold  <sds@gnu.org>
5553         * window.el (switch-to-prev-buffer): Do not switch to a visible
5554         window previous buffer, just like with the frame previous buffers.
5556 2012-03-21  Chong Yidong  <cyd@gnu.org>
5558         * faces.el (make-face, make-empty-face, copy-face):
5559         * face-remap.el (face-remap-add-relative, face-remap-set-base):
5560         Doc fixes.
5562 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5564         * wid-edit.el (widget-complete-field): Remove (bug#11051).
5565         (widget-complete): Remove broken use of it.
5567 2012-03-20  Chong Yidong  <cyd@gnu.org>
5569         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5570         Use string-width and truncate-string-width to handle arbitrary
5571         characters.
5573 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
5575         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5576         to draw rectangles, not squares.  (Regression introduced by revno
5577         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5579 2012-03-18  Chong Yidong  <cyd@gnu.org>
5581         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5582         it is not yet defined (for temacs).
5584 2012-03-18  Leo Liu  <sdl.web@gmail.com>
5586         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5588 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
5590         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5591         (ispell-choices-win-default-height, ispell-silently-savep)
5592         (ispell-dictionary-alist, ispell-encoding8-command)
5593         (ispell-check-version, ispell-aspell-find-dictionary)
5594         (ispell-valid-dictionary-list, ispell-words-keyword)
5595         (ispell-get-word, ispell-internal-change-dictionary)
5596         (ispell-region, ispell-skip-region-list)
5597         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5598         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5599         (ispell-message-text-end, ispell-message)
5600         (ispell-buffer-local-parsing): Doc fix.
5602 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
5604         * htmlfontify.el: Add support for code block fontification for ODT
5605         export (Bug #9914).
5606         (hfy-optimisations): Define new option
5607         `body-text-only'
5608         (hfy-fontify-buffer): Honor above setting.
5609         (hfy-begin-span, hfy-end-span): New routines factored out form
5610         `hfy-fontify-buffer'.
5611         (hfy-begin-span-handler, hfy-end-span-handler): New variables
5612         that permit insertion of custom tags.
5613         (hfy-fontify-buffer): Use above handlers.
5614         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5615         (hfy-face-to-css): Re-defined to be a variable.
5616         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
5617         over multiple runs.  This is made possible by having the caller let
5618         bind a special variable `hfy-user-sheet-assoc'.
5619         (htmlfontify-string): New defun.
5620         (hfy-compile-face-map): Make sure that the last char in the
5621         buffer is correctly fontified.
5622         (hfy-face-resolve-face): Whitespace only change.
5624 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
5626         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5627         message more clear.
5629 2012-03-16  Leo Liu  <sdl.web@gmail.com>
5631         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5633 2012-03-16  Alan Mackenzie  <acm@muc.de>
5635         Further optimise the handling of large macros.
5637         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5638         limit to a call of `c-literal-limits'.
5639         (c-determine-+ve-limit): New function.
5640         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5641         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5642         In CASE 5B, restrict a search limit to 500.
5643         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5645         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5646         Restrict macro bounds to +-500 from after-change's BEG END.
5648 2012-03-16  Leo Liu  <sdl.web@gmail.com>
5650         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5652 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
5654         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5655         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
5657 2012-03-16  Glenn Morris  <rgm@gnu.org>
5659         * view.el (view-buffer, view-buffer-other-window)
5660         (view-buffer-other-frame): Doc fixes re special mode-class.
5662         * subr.el (eval-after-load): If named feature is provided not from
5663         a file, run after-load forms.  (Bug#10946)
5665         * calendar/calendar.el (calendar-insert-at-column):
5666         Handle non-unit-width characters a bit better.  (Bug#10978)
5668 2012-03-15  Chong Yidong  <cyd@gnu.org>
5670         * emacs-lisp/ring.el (ring-extend): New function.
5671         (ring-insert+extend): Extend the ring correctly (Bug#11019).
5673         * comint.el (comint-read-input-ring)
5674         (comint-add-to-input-history): Grow comint-input-ring lazily.
5676 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5678         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5679         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5681         * imenu.el: Fix multiple inheritance breakage (bug#9199).
5682         (imenu-add-to-menubar): Don't add a redundant index.
5683         (imenu-update-menubar): Handle a dynamically composed keymap.
5685 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
5687         * mail/sendmail.el (mail-encode-header):
5688         Bind rfc2047-encode-encoded-words to nil.
5690 2012-03-13  Glenn Morris  <rgm@gnu.org>
5692         * calendar/calendar.el (calendar-string-spread):
5693         Handle non-unit-width characters a bit better.  (Bug#10978)
5695 2012-03-13  Leo Liu  <sdl.web@gmail.com>
5697         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5698         directory and file as argument (Bug#10822).
5700 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
5702         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5703         For dynamically generated code, follow $PC.
5704         (gdb-disassembly-handler-custom): Handle no function name case.
5706 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
5708         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5709         * emulation/ws-mode.el (ws-query-replace):
5710         * sort.el (sort-regexp-fields):
5711         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
5713 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5715         * dabbrev.el: Fix cycle completion order (bug#10963).
5716         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5717         (dabbrev-completion): Don't use an obarray; provide
5718         a cycle-sort-function.
5720 2012-03-12  Leo Liu  <sdl.web@gmail.com>
5722         * simple.el (kill-new): Use equal-including-properties for comparison.
5723         (kill-do-not-save-duplicates): Doc fix.
5725 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5727         * dabbrev.el: Fix cycle completion (bug#10963).
5728         Use lexical binding and wrap to 80 columns.
5729         (dabbrev-completion): Delay computing the list of completions.
5731 2012-03-12  Kenichi Handa  <handa@m17n.org>
5733         * international/quail.el (quail-insert-kbd-layout): Surround each
5734         row by LRO and PDF instead of inserting many LRMs.  Pad the left
5735         and right of each non-spacing marks.  Insert invisible space
5736         between lower and upper characters to prevent composition.
5738 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5740         * minibuffer.el (minibuffer-complete): Don't get confused when the
5741         function is run twice via different commands (bug#10958).
5742         (complete-with-action): Fix docstring.
5744 2012-03-12  Chong Yidong  <cyd@gnu.org>
5746         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5747         (nxml-completion-at-point-function): New function.
5748         (nxml-mode): Use it.
5749         (nxml-bind-meta-tab-to-complete-flag): Default to t.
5751         * emacs-lisp/package.el (package-unpack, package-unpack-single):
5752         Load generated autoloads file before byte compiling (Bug#10970).
5753         (package--make-autoloads-and-compile): New helper fun.
5755 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
5757         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5759 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
5761         * autorevert.el (auto-revert-handler): Ensure, that
5762         file-readable-p is applied only for local files or in
5763         auto-revert-tail-mode.
5765 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
5767         * server.el (server-eval-at): Handle non-tcp connections.
5768         Decode result string.
5770         * server.el (server-msg-size): New constant.
5771         (server-reply-print): New function.
5772         (server-eval-and-print): Use it.
5773         (server-eval-at): Use server-quote-arg and server-unquote-arg.
5774         Handle -print-nonl.
5776 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
5778         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5779         (Bug#10987).
5781 2012-03-11  Chong Yidong  <cyd@gnu.org>
5783         * simple.el (goto-line): Doc fix (Bug#9938).
5785         * subr.el (save-window-excursion): Doc fix (Bug#9979).
5787         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5788         when finished (Bug#10963).
5790 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
5792         * window.el (split-window-below): Fix bug in case where
5793         split-window-keep-point is nil (Bug#10971).
5795 2012-03-11  Juri Linkov  <juri@jurta.org>
5797         * replace.el (replace-highlight): Set isearch-word to nil
5798         unconditionally.  (Bug#10887)
5800 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
5802         * net/mairix.el (mairix-replace-invalid-chars): Rename from
5803         mairix-replace-illegal-chars; all callers changed.  Don't remove
5804         ^, ~, and = characters: they are meaningful in mairix search specs.
5805         (mairix-widget-create-query): Add usage information about mairix
5806         search forms: negating words, searching for substrings, etc.
5808 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
5810         * international/fontset.el (font-encoding-alist): Add an entry for
5811         ksx1001 (Bug#5667).
5813 2012-03-10  Richard Stallman  <rms@gnu.org>
5815         * mail/sendmail.el (mail-encode-header):
5816         Set rfc2047-encode-encoded-words.
5818         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5820         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5821         view buffer means not swapped.
5822         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5823         (rmail-write-region-annotate): Error if real text has disappeared.
5825         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5827 2012-03-10  Chong Yidong  <cyd@gnu.org>
5829         * emulation/cua-rect.el (cua--init-rectangles):
5830         * emulation/cua-base.el (cua--init-keymaps):
5831         Add delete-forward-char to remappings (Bug#9666).
5833 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
5835         * speedbar.el (speedbar-unhighlight-one-tag-line):
5836         Avoid unhighlighting due to frame switching (Bug#10275).
5838 2012-03-10  Chong Yidong  <cyd@gnu.org>
5840         * minibuffer.el (completion-in-region, completion-help-at-point):
5841         Give the completion field overlay a high priority (Bug#6830).
5843         * dired.el (dired-goto-file): Recognize absolute file name
5844         listings (Bug#7126).
5845         (dired-goto-file-1): New helper function.
5846         (dired-toggle-read-only): Inhibit warnings.
5848 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
5850         * net/dbus.el (dbus-property-handler): Return empty array if
5851         there are no properties.
5853 2012-03-09  Leo Liu  <sdl.web@gmail.com>
5855         * savehist.el (savehist-printable): Stricter check for string
5856         value (Bug#10937).
5858 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
5860         * mail/smtpmail.el (smtpmail-send-it):
5861         Bind coding-system-for-write to *-unix, so that FCC files are kept in
5862         valid mbox format.
5864 2012-03-09  Glenn Morris  <rgm@gnu.org>
5866         * files.el (dir-locals-find-file):
5867         Don't check result is regular, readable.
5868         (dir-locals-read-from-file): Demote errors.
5870 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
5872         * international/quail.el (quail-insert-kbd-layout):
5873         Insert invisible LRM characters before each character in a keyboard
5874         layout cell, to prevent their reordering by bidi display engine.
5875         For details, see the discussion in
5876         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5878 2012-03-08  Alan Mackenzie  <acm@muc.de>
5880         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5881         the starting position; make it extend the marked region when
5882         invoked repeatedly - all under appropriate circumstances.
5883         Fixes bugs #5525, #10906.
5885 2012-03-08  Glenn Morris  <rgm@gnu.org>
5887         * files.el (locate-dominating-file, dir-locals-find-file):
5888         Undo 2012-03-06 change.
5890 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
5892         * international/quail.el (quail-help):
5893         Force bidi-paragraph-direction be left-to-right.  See discussion in
5894         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5895         for the reason.
5897 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
5899         Avoid superfluous registering of signals.  (Bug#10807)
5901         * notifications.el (notifications-on-action-object)
5902         (notifications-on-close-object): New defvars.
5903         (notifications-on-action-signal, notifications-on-closed-signal):
5904         Unregister the signal if not needed any longer.
5905         (notifications-notify): Register `notifications-action-signal' or
5906         `notifications-closed-signal', if :on-action or :on-close has been
5907         passed as argument.
5909 2012-03-07  Chong Yidong  <cyd@gnu.org>
5911         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5912         non-X platforms.
5914 2012-03-06  Glenn Morris  <rgm@gnu.org>
5916         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5917         (x-disown-selection-internal, x-get-selection-internal):
5918         Doc fix (add arglist signatures).  (Bug#10783)
5920 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
5922         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5923         Handle breakpoints with no "type".
5925 2012-03-06  Glenn Morris  <rgm@gnu.org>
5927         * files.el (locate-dominating-file): Add optional predicate argument.
5928         (dir-locals-find-file): Make use of above change.
5930 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
5932         * info.el (Info-insert-dir): Also try "dir.gz".
5934 2012-03-06  Glenn Morris  <rgm@gnu.org>
5936         * files.el (dir-locals-find-file):
5937         Ignore non-readable or non-regular files.  (Bug#10928)
5939         * files.el (locate-dominating-file): Doc fix.
5941 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
5943         * calendar/calendar.el (calendar-set-mode-line):
5944         `getenv' returns a string.  (Bug#10951)
5946 2012-03-05  Leo Liu  <sdl.web@gmail.com>
5948         * simple.el (backward-delete-char-untabify): Constrain point to
5949         field (Bug#10939).
5951         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5953 2012-03-05  Chong Yidong  <cyd@gnu.org>
5955         * simple.el (count-words): If called from Lisp, return the word
5956         count, for symmetry with `count-lines'.  Arglist changed.
5957         (count-words--message): Args changed.  Consolidate counting code
5958         from count-words and count-words-region.
5959         (count-words-region): Caller changed.
5960         (count-lines-region): Make it an obsolete alias.
5962 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
5964         * saveplace.el (save-place-to-alist)
5965         (save-place-ignore-files-regexp): Allow value nil to disable this
5966         feature.
5968 2012-03-04  Chong Yidong  <cyd@gnu.org>
5970         * faces.el (face-spec-reset-face): For the default face, reset the
5971         attributes to default values (Bug#10748).
5973 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5975         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5976         previous patch: Check `message-send-mail-function', and not the
5977         default function (bug#10897).
5979 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
5981         * notifications.el (notifications-on-action-signal)
5982         (notifications-on-closed-signal): Check for unique service name of
5983         incoming event.  Fix error in removing entry.
5984         (top): Register for signals with wildcard service name.
5985         (notifications-notify): Use daemon unique service name for map entries.
5987 2012-03-04  Chong Yidong  <cyd@gnu.org>
5989         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5991 2012-03-04  Glenn Morris  <rgm@gnu.org>
5993         * abbrev.el (copy-abbrev-table, abbrev-table-p)
5994         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5995         (expand-abbrev, define-abbrev-table): Doc fixes.
5997 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5999         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6000         `message-default-send-mail-function' and not `send-mail-function'
6001         when doing the prompting for `sendmail-query-once' before sending
6002         in Message buffers (bug#10897).
6004         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6005         This is inconsistent with all the other stream functions, which leave
6006         the setting up to the higher levels (if so wanted) (bug#10931).
6008 2012-03-02  Alan Mackenzie  <acm@muc.de>
6010         Depessimize the handling of very large macros.
6012         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6013         (c-macro-cache-syntactic): New variables to implement a one
6014         element macro cache.
6015         (c-invalidate-macro-cache): New function.
6016         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6017         Adapt to use the new cache.
6018         (c-state-safe-place): Use better the cache of safe positions.
6019         (c-state-semi-nonlit-pos-cache)
6020         (c-state-semi-nonlit-pos-cache-limit):
6021         New variables for...
6022         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
6023         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6024         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6025         Use c-state-semi-safe-place.
6027         * progmodes/cc-langs.el (c-get-state-before-change-functions):
6028         Add c-invalidate-macro-cache to the C, C++, Obj entries.
6030 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
6032         * jka-compr.el (jka-compr-call-process):
6033         Apply `file-accessible-directory-p' only when the default directory is
6034         not remote.
6036 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
6038         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
6039         access of FILE2, if FILE1 does not exist.
6041         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6042         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6044         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6045         Add "PAGER=" to `process-environment'.
6047 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
6049         * progmodes/sql.el: Bug fix
6050         (sql-get-login-ext): Save login values in globals.
6051         (sql-get-login): Use new version of `sql-get-login-ext'.
6052         (sql-interactive-mode): Set global `sql-connection' to nil.
6053         (sql-connect): Set global values for connection.
6054         (sql-product-interactive): Save global values as buffer local.
6056 2012-02-29  Leo Liu  <sdl.web@gmail.com>
6058         * abbrev.el (define-abbrevs): Reset sys to nil.
6060 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6062         * files.el (file-equal-p): Rename from `files-equal-p'.
6063         Return nil when one or both files don't exist.
6064         (file-subdir-of-p): Now only top directory must exists,
6065         return nil if it doesn't.
6066         (copy-directory): No need to test with `file-subdir-of-p' after
6067         creating dir.
6068         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6069         to `file-equal-p'.
6071 2012-02-28  Glenn Morris  <rgm@gnu.org>
6073         * shell.el (shell-mode):
6074         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6075         * play/landmark.el (landmark-font-lock-face-O):
6076         * play/handwrite.el (handwrite):
6077         * play/gomoku.el (gomoku-O):
6078         * net/browse-url.el (browse-url-browser-display):
6079         * international/mule.el (define-charset):
6080         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6081         * filesets.el (filesets-find-file-delay):
6082         * eshell/em-xtra.el (eshell-xtra):
6083         * eshell/em-unix.el (eshell-grep):
6084         * emulation/viper.el (viper-mode):
6085         * emacs-lisp/regexp-opt.el (regexp-opt-group):
6086         * emacs-lisp/easymenu.el (easy-menu-define):
6087         * calendar/timeclock.el (timeclock-use-display-time):
6088         * bs.el (bs-mode):
6089         * bookmark.el (bookmark-save-flag):
6090         Doc fix (standardize possessive apostrophe usage).
6092 2012-02-27  Chong Yidong  <cyd@gnu.org>
6094         * emulation/viper-cmd.el (viper-intercept-ESC-key):
6095         Fix key-binding lookup for ESC key (Bug#9146).
6097         * font-lock.el (font-lock-specified-p): Rename from
6098         font-lock-spec-present.  Callers changed.
6100 2012-02-27  Daniel Hackney  <dan@haxney.org>
6102         * emacs-lisp/package.el (package-compute-transaction):
6103         Handle holding a package version to t in package-load-list.
6105 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
6107         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6108         (tramp-get-inode, tramp-get-device): Use cached values.
6110 2012-02-26  Alan Mackenzie  <acm@muc.de>
6112         Check there is a font-lock specification before doing initial
6113         fontification.
6115         * font-core.el (font-lock-mode): Move the conditional from
6116         :after-hook to font-lock-initial-fontify.
6117         (font-lock-default-function): Move the check for a specification
6118         to font-lock-spec-present.
6120         * font-lock.el (font-lock-initial-fontify): Call ...
6121         (font-lock-spec-present): New function.
6123 2012-02-26  Jim Blandy  <jimb@red-bean.com>
6125         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6126         (gdb-send): Apply it to the operand of the '-interpreter-exec
6127         console' command, so that we can pass arguments with (say) quotes
6128         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
6130 2012-02-26  Chong Yidong  <cyd@gnu.org>
6132         * help-fns.el (describe-function-1): Clarify description of
6133         remapping (Bug#10844).
6135         * files.el (files-equal-p): Doc fix.
6136         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
6137         and quit the loop once a mismatch is found.
6139 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
6141         * bs.el (bs--show-with-configuration): Don't throw an error
6142         if the window cannot be split; otherwise, subsequent calls to
6143         bs-show fail, restoring a stale window config.  (Bug#10882)
6145 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
6147         * term/ns-win.el (global-map): Bind ns-drag-file to
6148         ns-find-file (Bug#5855, Bug#10050).
6150 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
6152         * calendar/parse-time.el (parse-time-string): Allow extractor to
6153         return nil.
6155 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
6157         * net/tramp.el (tramp-file-name-for-operation):
6158         Add `files-equal-p' and `file-subdir-of-p'.
6160         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6161         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6162         Add COPY-CONTENTS argument.
6164 2012-02-25  Chong Yidong  <cyd@gnu.org>
6166         Add custom groups for VC backends, for consistency with vc-bzr.
6168         * vc/vc-arch.el (vc-arch):
6169         * vc/vc-cvs.el (vc-cvs):
6170         * vc/vc-git.el (vc-git):
6171         * vc/vc-hg.el (vc-hg):
6172         * vc/vc-mtn.el (vc-mtn):
6173         * vc/vc-rcs.el (vc-rcs):
6174         * vc/vc-sccs.el (vc-sccs):
6175         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6176         All relevant defcustoms reassigned.
6178 2012-02-25  Chong Yidong  <cyd@gnu.org>
6180         * newcomment.el (comment-styles): Add autoload (Bug#10868).
6182         * term/x-win.el (x-initialize-window-system): Reduce default for
6183         x-selection-timeout to 5 seconds (Bug#8869).
6185 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6187         * files.el (files-equal-p, file-subdir-of-p): New functions.
6188         (copy-directory): Error when trying to copy a directory on itself.
6189         Add missing copy-contents arg to tramp handler.
6190         * dired-aux.el (dired-copy-file-recursive): Same.
6191         (dired-create-files): Modify destination when source is equal to
6192         dest when copying files.
6193         Return also when dest is a subdir of source.  (Bug#10489)
6195 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
6197         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6198         (Bug#10874)
6200 2012-02-23  Alan Mackenzie  <acm@muc.de>
6202         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6203         parameter "after-hook:" to allow the expansion to run code after
6204         the execution of the mode hooks.
6206         * font-lock.el (font-lock-initial-fontify): New function extracted
6207         from font-lock-mode-internal.
6209         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6210         :after-hook.
6212 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6214         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6215         (completion--cache-all-sorted-completions): New function.
6216         (completion-all-sorted-completions): Use it.
6217         (completion--do-completion, minibuffer-force-complete):
6218         Use it to re-instate the flush hook.
6220         * icomplete.el (icomplete-completions): Replace last fix with a better
6221         one (bug#10850).
6223 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
6225         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6226         when it might call us back infinitely (bug#10797).
6228 2012-02-23  Glenn Morris  <rgm@gnu.org>
6230         * minibuffer.el (completion-category-overrides): Doc fix.
6232 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6234         * minibuffer.el (completion-table-with-context): Fix inf-loop.
6235         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6237 2012-02-23  Glenn Morris  <rgm@gnu.org>
6239         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6240         (authors-obsolete-files-regexps, authors-ignored-files)
6241         (authors-ambiguous-files, authors-renamed-files-alist):
6242         Add more entries.
6244 2012-02-23  Juri Linkov  <juri@jurta.org>
6246         * isearch.el (isearch-occur): Sync interactive spec with occur's
6247         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
6249         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6251 2012-02-22  Juri Linkov  <juri@jurta.org>
6253         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6254         (ucs-insert): Doc fix.  Check for hex digits in the string.
6255         Don't display `nil' in the error message.  (Bug#10857)
6257 2012-02-22  Alan Mackenzie  <acm@muc.de>
6259         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6261 2012-02-22  Glenn Morris  <rgm@gnu.org>
6263         * ffap.el (ffap-c-path):
6264         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
6266 2012-02-22  Chong Yidong  <cyd@gnu.org>
6268         * custom.el (load-theme): Doc fix.
6270 2012-02-22  Glenn Morris  <rgm@gnu.org>
6272         * dired-x.el (dired-guess-shell-alist-default):
6273         Remove escape sequences from nroff output.  (Bug#172)
6275 2012-02-21  Glenn Morris  <rgm@gnu.org>
6277         * vc/emerge.el (emerge-defvar-local):
6278         Set `permanent-local' property rather than unused `preserved'.
6280         * textmodes/picture.el (picture-delete-char): New alias.
6281         (picture-mode-map): Use it.  (Bug#10860)
6282         (picture-mode): Doc fix.
6284 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
6286         * newcomment.el (uncomment-region-default): Remove unused binding.
6288 2012-02-21  Glenn Morris  <rgm@gnu.org>
6290         * textmodes/picture.el (picture-motion, picture-motion-reverse)
6291         (picture-self-insert, picture-tab-chars): Doc fix.
6292         (picture-mode-map): Fix C-a, C-e.
6294 2012-02-20  Glenn Morris  <rgm@gnu.org>
6296         * emacs-lisp/authors.el (authors-aliases): Add another entry.
6298 2012-02-20  Leo Liu  <sdl.web@gmail.com>
6300         * icomplete.el (icomplete-completions): Check FROM arg before
6301         passing to substring (Bug#10850).
6303 2012-02-19  Chong Yidong  <cyd@gnu.org>
6305         * comint.el: Require ansi-color.
6306         (comint-output-filter-functions): Add ansi-color-process-output.
6308         * ansi-color.el: Don't set comint-output-filter-functions; it is
6309         now in the initial value defined in comint.el.
6310         (ansi-color-apply-face-function): New variable.
6311         (ansi-color-apply-on-region): Use it.
6312         (ansi-color-apply-overlay-face): New function.
6314         * shell.el (shell): No need to require ansi-color.
6315         (shell-mode): Use ansi-color-apply-face-function to highlight
6316         color escapes using font-lock-face property (Bug#10835).
6318 2012-02-19  Chong Yidong  <cyd@gnu.org>
6320         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6321         mode-line formats (Bug#10839).
6323 2012-02-18  Glenn Morris  <rgm@gnu.org>
6325         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6327         * mail/undigest.el (unforward-rmail-message): Doc fix.
6329         * saveplace.el (save-place-ignore-files-regexp): Add :version.
6331 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
6333         * international/characters.el (script-list): Sync with the latest
6334         Unicode Character Database.
6336 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
6338         * international/titdic-cnv.el: Remove duplicate coding tag.
6339         * language/cham.el: Likewise.
6340         * language/tai-viet.el: Likewise.
6342 2012-02-18  Glenn Morris  <rgm@gnu.org>
6344         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6345         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6346         (calendar-bahai-all-holidays-flag, calendar-other-dates):
6347         * calendar/diary-lib.el (diary-abbreviated-year-flag):
6348         * calendar/holidays.el (holiday-bahai-holidays)
6349         (calendar-holidays, list-holidays):
6350         Use utf-8 Bahá'í in doc-strings, menus, etc.
6352 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
6354         * saveplace.el (save-place-ignore-files-regexp): New variable
6355         allowing for excluding files from saving their location of point.
6356         The default value matches the temporary commit message editing
6357         files from Git, SVN, Bazaar, and Mercurial.
6358         (save-place-to-alist): Use it.
6360 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
6361             Stefan Monnier  <monnier@iro.umontreal.ca>
6363         * newcomment.el (uncomment-region-default): Don't leave extra space
6364         when an arg is provided (bug#8150).
6366 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
6368         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6370 2012-02-17  Glenn Morris  <rgm@gnu.org>
6372         * net/socks.el: Require network-stream.  (Bug#10599)
6374 2012-02-17  Kenichi Handa  <handa@m17n.org>
6376         * international/charprop.el:
6377         * international/uni-name.el:
6378         * international/uni-old-name.el:
6379         * international/uni-comment.el: Regenerate.
6381 2012-02-16  Glenn Morris  <rgm@gnu.org>
6383         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6384         Interactively in calendar buffer, give an error if not on a date.
6386 2012-02-15  Glenn Morris  <rgm@gnu.org>
6388         * shell.el (shell-delimiter-argument-list):
6389         Revert 2011-02-17 change.  (Bug#8027)
6391 2012-02-15  Chong Yidong  <cyd@gnu.org>
6393         * minibuffer.el (completion-at-point-functions): Doc fix.
6395         * custom.el (defcustom): Doc fix; note use of defvar.
6397 2012-02-15  Glenn Morris  <rgm@gnu.org>
6399         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6400         Doc fixes.
6402 2012-02-14  Glenn Morris  <rgm@gnu.org>
6404         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6406 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
6408         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6409         way the ports list is computed.
6410         (smtpmail-query-smtp-server): Prompt the user for a port number if
6411         we can't connect to any of the standard ports (bug#10810).
6413 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
6415         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6417 2012-02-13  Glenn Morris  <rgm@gnu.org>
6419         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
6421 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
6423         * net/gnutls.el (gnutls-trustfiles): New variable.
6424         (gnutls-negotiate): Use it.
6426 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
6428         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6429         does its stuff if Gnus is running.
6431 2012-02-13  Alan Mackenzie  <acm@muc.de>
6433         Fix a loop in c-set-fl-decl-start.
6435         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6436         c-backward-syntactic-ws actually moves backwards.
6438 2012-02-13  Leo Liu  <sdl.web@gmail.com>
6440         * net/rcirc.el (rcirc-markup-attributes): Move point to the
6441         beginning so that all \C-o chars are removed.
6443 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
6445         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6447 2012-02-12  Alan Mackenzie  <acm@muc.de>
6449         Fix infinite loop with long macros.
6450         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6452 2012-02-12  Chong Yidong  <cyd@gnu.org>
6454         * window.el (display-buffer): Doc fix (Bug#10785).
6456 2012-02-12  Glenn Morris  <rgm@gnu.org>
6458         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6459         (x-disown-selection-internal, x-get-selection-internal):
6460         Sync docs with the xselect.c versions.
6462         * allout-widgets.el: Add missing license notice.
6464 2012-02-11  Glenn Morris  <rgm@gnu.org>
6466         * select.el (x-get-selection-internal, x-own-selection-internal)
6467         (x-disown-selection-internal):
6468         * x-dnd.el (x-get-selection-internal): Update declarations.
6470         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6472         * window.el (window-sides-slots):
6473         * tool-bar.el (tool-bar-position):
6474         * term/xterm.el (xterm-extra-capabilities):
6475         * ses.el (ses-self-reference-early-detection):
6476         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6477         (verilog-auto-wire-type)
6478         (verilog-auto-delete-trailing-whitespace)
6479         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6480         (verilog-auto-tieoff-declaration):
6481         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6482         (sql-oracle-statement-starters, sql-oracle-scan-on):
6483         * progmodes/prolog.el (prolog-align-comments-flag)
6484         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6485         (prolog-left-indent-regexp, prolog-paren-indent-p)
6486         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6487         (prolog-types, prolog-mode-specificators)
6488         (prolog-determinism-specificators, prolog-directives)
6489         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6490         (prolog-electric-dot-flag)
6491         (prolog-electric-dot-full-predicate-template)
6492         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6493         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6494         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6495         (prolog-program-switches, prolog-prompt-regexp)
6496         (prolog-debug-on-string, prolog-debug-off-string)
6497         (prolog-trace-on-string, prolog-trace-off-string)
6498         (prolog-zip-on-string, prolog-zip-off-string)
6499         (prolog-use-standard-consult-compile-method-flag)
6500         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6501         (prolog-imenu-max-lines, prolog-info-predicate-index)
6502         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6503         (prolog-char-quote-workaround):
6504         * progmodes/cc-vars.el (c-defun-tactic):
6505         * net/tramp.el (tramp-encoding-command-interactive)
6506         (tramp-local-end-of-line):
6507         * net/soap-client.el (soap-client):
6508         * net/netrc.el (netrc-file):
6509         * net/gnutls.el (gnutls):
6510         * minibuffer.el (completion-category-overrides)
6511         (completion-cycle-threshold)
6512         (completion-pcm-complete-word-inserts-delimiters):
6513         * man.el (Man-name-local-regexp):
6514         * mail/feedmail.el (feedmail-display-full-frame):
6515         * international/characters.el (glyphless-char-display-control):
6516         * eshell/em-ls.el (eshell-ls-date-format):
6517         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6518         (lisp-lambda-list-keyword-parameter-indentation)
6519         (lisp-lambda-list-keyword-parameter-alignment):
6520         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6521         * dired-x.el (dired-omit-verbose):
6522         * cus-theme.el (custom-theme-allow-multiple-selections):
6523         * calc/calc.el (calc-highlight-selections-with-faces)
6524         (calc-lu-field-reference, calc-lu-power-reference)
6525         (calc-note-threshold):
6526         * battery.el (battery-mode-line-limit):
6527         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6528         (archive-7z-update):
6529         * allout.el (allout-prefixed-keybindings)
6530         (allout-unprefixed-keybindings)
6531         (allout-inhibit-auto-fill-on-headline)
6532         (allout-flattened-numbering-abbreviation):
6533         * allout-widgets.el (allout-widgets-auto-activation)
6534         (allout-widgets-icons-dark-subdir)
6535         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6536         (allout-widgets-theme-dark-background)
6537         (allout-widgets-theme-light-background)
6538         (allout-widgets-item-image-properties-emacs)
6539         (allout-widgets-item-image-properties-xemacs)
6540         (allout-widgets-run-unit-tests-on-load)
6541         (allout-widgets-time-decoration-activity)
6542         (allout-widgets-hook-error-post-time)
6543         (allout-widgets-track-decoration):
6544         Add missing :version tags to new defcustoms and defgroups.
6546         * progmodes/sql.el (sql-ansi-statement-starters)
6547         (sql-oracle-statement-starters): Add custom type.
6549         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6550         (prolog-system-version): Give it a type.
6552 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
6554         * term/pc-win.el (x-select-text, x-selection-owner-p)
6555         (x-own-selection-internal, x-disown-selection-internal)
6556         (x-get-selection-internal): Sync doc strings and argument lists
6557         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
6559 2012-02-11  Leo Liu  <sdl.web@gmail.com>
6561         * progmodes/python.el (python-end-of-statement): Fix infinite
6562         loop.  (Bug#10788)
6564 2012-02-10  Glenn Morris  <rgm@gnu.org>
6566         * international/mule-cmds.el (unify-8859-on-encoding-mode)
6567         (unify-8859-on-decoding-mode): Properly mark as obsolete.
6569 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
6571         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6572         about SMTP before checking the From header.
6574         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6575         into own function for reuse by emacsbug.el.
6577 2012-02-10  Leo Liu  <sdl.web@gmail.com>
6579         * subr.el (condition-case-unless-debug): Rename from
6580         condition-case-no-debug.  All callers changed.
6581         (with-demoted-errors): Fix caller.
6583         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6584         * nxml/rng-valid.el (rng-do-some-validation):
6585         * emacs-lisp/package.el (package-refresh-contents)
6586         (package-menu-execute):
6587         * desktop.el (desktop-create-buffer):
6588         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6590 2012-02-10  Glenn Morris  <rgm@gnu.org>
6592         * textmodes/bibtex.el:
6593         Add missing :version tags for new/changed defcustoms.
6595         * files.el (remote-file-name-inhibit-cache): Doc fixes.
6597 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
6599         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6600         (smtpmail-via-smtp): Use it, or fall back on the From address.
6601         (smtpmail-send-it): Ditto.
6603 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6605         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6606         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
6607         (byte-compile-tmp-var): New const.
6608         (byte-compile-defvar): Use it to minimize .elc size.
6609         Just use `defvar' rather than simulate it (bug#10761).
6611 2012-02-09  Glenn Morris  <rgm@gnu.org>
6613         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
6615         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6616         Add :version tags.
6618         * progmodes/compile.el (compilation-error-screen-columns)
6619         (compilation-first-column, compilation-filter-start): Doc fixes.
6621         * vc/log-view.el (log-view-toggle-entry-display):
6622         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6624         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6625         (report-emacs-bug-can-use-xdg-email):
6626         (report-emacs-bug-insert-to-mailer): Doc fixes.
6627         (report-emacs-bug): Message fix.
6629         * net/browse-url.el (browse-url-can-use-xdg-open)
6630         (browse-url-xdg-open): Doc fixes.
6632         * electric.el (electric-indent-mode, electric-pair-mode)
6633         (electric-layout-rules, electric-layout-mode): Doc fixes.
6634         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6636 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
6638         * server.el (server-unselect-display): Don't inadvertently kill
6639         the current buffer.  (Bug#10729)
6641 2012-02-08  Glenn Morris  <rgm@gnu.org>
6643         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6644         (sql-list-table): Doc fixes.
6646         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6647         Comment out (does nothing).
6649         * completion.el (dynamic-completion-mode):
6650         * dirtrack.el (dirtrack-debug-mode):
6651         * electric.el (electric-layout-mode):
6652         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6653         * face-remap.el (text-scale-mode, buffer-face-mode):
6654         * iimage.el (iimage-mode):
6655         * image-mode.el (image-transform-mode):
6656         * minibuffer.el (completion-in-region-mode):
6657         * scroll-lock.el (scroll-lock-mode):
6658         * simple.el (next-error-follow-minor-mode):
6659         * tar-mode.el (tar-subfile-mode):
6660         * tooltip.el (tooltip-mode):
6661         * vcursor.el (vcursor-use-vcursor-map):
6662         * wid-browse.el (widget-minor-mode):
6663         * emulation/tpu-edt.el (tpu-edt-mode):
6664         * emulation/tpu-extras.el (tpu-cursor-free-mode):
6665         * international/iso-ascii.el (iso-ascii-mode):
6666         * language/thai-util.el (thai-word-mode):
6667         * mail/supercite.el (sc-minor-mode):
6668         * net/goto-addr.el (goto-address-mode):
6669         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6670         * progmodes/cwarn.el (cwarn-mode):
6671         * progmodes/flymake.el (flymake-mode):
6672         * progmodes/glasses.el (glasses-mode):
6673         * progmodes/hideshow.el (hs-minor-mode):
6674         * progmodes/pascal.el (pascal-outline-mode):
6675         * textmodes/enriched.el (enriched-mode):
6676         * vc/smerge-mode.el (smerge-mode):
6677         Doc fixes (minor mode argument).
6679 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
6681         * ls-lisp.el (ls-lisp-sanitize): New function.
6682         (ls-lisp-insert-directory): Use it to fix or remove any elements
6683         in file-alist with missing attributes.  (Bug#4673)
6685 2012-02-07  Alan Mackenzie  <acm@muc.de>
6687         Fix spurious recognition of c-in-knr-argdecl.
6689         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6690         putative K&R region.
6692 2012-02-07  Alan Mackenzie  <acm@muc.de>
6694         * progmodes/cc-engine.el (c-forward-objc-directive):
6695         Prevent looping in "#pragma mark @implementation".
6697 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
6699         * notifications.el (notifications-on-closed-signal): Make `reason'
6700         optional.  (Bug#10744)
6702 2012-02-07  Glenn Morris  <rgm@gnu.org>
6704         * emacs-lisp/easy-mmode.el (define-minor-mode):
6705         Doc fixes for the macro and the mode it defines.
6707         * image.el (imagemagick-types-inhibit): Doc fix.
6709         * cus-start.el (imagemagick-render-type): Add it.
6711 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
6713         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6714         Set the default at load time, too, so that `font-lock-fontify-buffer'
6715         can be called without setting up the entire mode first.  This fixes
6716         a bug in `mm-inline-text' with C MIME parts.
6718 2012-02-06  Chong Yidong  <cyd@gnu.org>
6720         * simple.el (list-processes--refresh): Delete exited processes
6721         (Bug#8094).
6723         * comint.el (comint-next-prompt): next-single-char-property-change
6724         and prev-single-char-property-change never return nil (Bug#8657).
6726         * custom.el (defcustom): Doc fix (Bug#9711).
6728 2012-02-05  Chong Yidong  <cyd@gnu.org>
6730         * cus-edit.el (custom-variable-reset-backup): Quote the value
6731         before storing it in the customized-value property (Bug#6712).
6732         (custom-display): Add a customization type tag.
6733         (custom-buffer-create-internal): Improve tooltip message.
6735         * wid-edit.el (widget-field-value-get): New optional arg to
6736         suppress trailing whitespace truncation.
6737         (character): Use it (Bug#2689).
6739 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
6741         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6742         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6744 2012-02-05  Chong Yidong  <cyd@gnu.org>
6746         * cus-edit.el (custom-variable-value-create): For mismatched
6747         types, show the current value (Bug#7600).
6749         * custom.el (defcustom): Doc fix.
6751 2012-02-05  Glenn Morris  <rgm@gnu.org>
6753         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6755 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
6757         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6758         (pp-buffer): Use `ignore-errors', `looking-at-p'.
6759         (pp-last-sexp): Use `looking-at-p'.
6761 2012-02-04  Glenn Morris  <rgm@gnu.org>
6763         * files.el (revert-buffer):
6764         Doc fix (mention revert-buffer-in-progress-p).
6766         * emacs-lisp/ert-x.el (ert-simulate-command):
6767         Check deferred-action-list (which is obsolete) is bound.
6769         * subr.el (with-wrapper-hook): Doc fixes.
6771         * simple.el (filter-buffer-substring-functions)
6772         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6774 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
6776         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6777         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
6779 2012-02-04  Leo Liu  <sdl.web@gmail.com>
6781         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6783 2012-02-04  Glenn Morris  <rgm@gnu.org>
6785         * image.el (image-extension-data): Add obsolete alias.
6787         * isearch.el (isearch-update): Doc fix.
6789         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6791         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6793 2012-02-03  Glenn Morris  <rgm@gnu.org>
6795         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
6796         (image-animate-timeout): Doc fix.
6798         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6800 2012-02-02  Glenn Morris  <rgm@gnu.org>
6802         * server.el (server-auth-dir): Doc fix.
6803         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
6805         * subr.el (run-mode-hooks): Doc fix.
6807 2012-02-02  Juri Linkov  <juri@jurta.org>
6809         * image-mode.el (image-toggle-display-image): Remove tautological
6810         `major-mode' from the `derived-mode-p' test.
6812 2012-02-02  Kenichi Handa  <handa@m17n.org>
6814         * composite.el (compose-region): Cancel previous change.
6816 2012-02-02  Kenichi Handa  <handa@m17n.org>
6818         * composite.el (compose-region, compose-string): Signal error for
6819         a null string component (Bug#6988).
6821 2012-02-01  Chong Yidong  <cyd@gnu.org>
6823         * view.el (view-buffer-other-window, view-buffer-other-frame):
6824         Handle special modes like view-buffer (Bug#10650).
6825         (view-buffer): Simplify.
6827         * frame.el (set-frame-font): Tweak meaning of third argument.
6829         * dynamic-setting.el (font-setting-change-default-font):
6830         Use set-frame-font (Bug#9982).
6832 2012-02-01  Glenn Morris  <rgm@gnu.org>
6834         * progmodes/compile.el (compilation-internal-error-properties):
6835         Respect compilation-first-column in the "*compilation*" buffer.
6837         * emacs-lisp/easy-mmode.el (define-minor-mode):
6838         Relax :variable's test for a named function.
6840 2012-01-31  Alan Mackenzie  <acm@muc.de>
6842         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6843         off by one error.
6845 2012-01-31  Chong Yidong  <cyd@gnu.org>
6847         * frame.el (set-frame-font): New arg ALL-FRAMES.
6849         * menu-bar.el (menu-set-font): Use set-frame-font.
6851         * faces.el (face-spec-reset-face): Don't apply unspecified
6852         attribute values to the default face.
6854 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
6856         * progmodes/cwarn.el (cwarn): Remove dead link.
6857         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6858         Remove * from defcustom docstrings.
6859         (turn-on-cwarn-mode): Make obsolete.
6860         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6861         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6863 2012-01-31  Glenn Morris  <rgm@gnu.org>
6865         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6866         Fix :variable handling of mode a symbol not equal to modefun.
6867         Allow named functions to be used as the cdr of :variable.
6869 2012-01-30  Glenn Morris  <rgm@gnu.org>
6871         * emacs-lisp/authors.el (authors-fixed-entries):
6872         Remove reference to deleted file rnewspost.el.
6874 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
6876         * window.el (window-with-parameter): Remove unused variable `windows'.
6877         (window--side-check): Remove unused variable `code'.
6878         (window--resize-siblings): Remove unused variable `first'.
6879         (adjust-window-trailing-edge): Remove unused variable `failed'.
6880         (window-deletable-p, window--delete): Remove unused variable `buffer'.
6881         Use `let', not `let*'.
6882         (balance-windows-2): Remove unused variable `found'.
6883         (window--state-put-2): Remove unused variable `splits'.
6884         (window-state-put): Remove unused variable `selected'.
6885         (same-window-p): Use `string-match-p'.
6886         (display-buffer-assq-regexp): Remove unused variable `value'.
6887         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6888         Mark argument ALIST as ignored.
6889         (pop-to-buffer): Remove unused variable `old-window'.
6891 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
6893         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6894         and .lzma compressed files.
6896 2012-01-29  Chong Yidong  <cyd@gnu.org>
6898         * frame.el (window-system-default-frame-alist): Doc fix.
6900         * dynamic-setting.el (font-setting-change-default-font): Don't
6901         change the default face if SET-FONT argument is non-nil (Bug#9982).
6903 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
6905         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6907 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
6909         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6910         breakpoints in files outside current directory (Bug#6098).
6912 2012-01-29  Chong Yidong  <cyd@gnu.org>
6914         * progmodes/python.el: Require ansi-color at top-level.
6916         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6917         Define and use in Emacs Lisp mode (Bug#9360).
6918         (lisp-mode-abbrev-table): Add doc.
6919         (lisp-mode-variables): Don't set local-abbrev-table.
6920         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6922 2012-01-28  Roland Winkler  <winkler@gnu.org>
6924         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6926 2012-01-28  Roland Winkler  <winkler@gnu.org>
6928         * textmodes/bibtex.el (bibtex-entry-alist): New function.
6929         (bibtex-set-dialect): Use it.  Either set global values of
6930         dialect-dependent variables or bind these variables buffer-locally
6931         (Bug#10254).
6932         (bibtex-mode): Call bibtex-set-dialect via
6933         hack-local-variables-hook.
6934         (bibtex-dialect): Update docstring.
6935         Add safe-local-variable predicate.
6936         (bibtex-entry-alist, bibtex-field-alist): Initialize via
6937         bibtex-set-dialect.
6938         (bibtex-mode-map): Define menu for each dialect.
6939         (bibtex-entry): Fix docstring.
6941 2012-01-28  Chong Yidong  <cyd@gnu.org>
6943         * eshell/esh-arg.el (eshell-quote-argument): New function.
6945         * eshell/esh-ext.el (eshell-invoke-batch-file):
6946         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6947         first arg to eshell-parse-command (Bug#10523).
6949 2012-01-28  Drew Adams  <drew.adams@oracle.com>
6951         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6952         `default-directory' is non-nil.
6954 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
6956         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6957         line that displays system-configuration-options.  (Bug#9924)
6959 2012-01-28  Drew Adams  <drew.adams@oracle.com>
6961         * descr-text.el (describe-char): Show information about POS, in
6962         addition to information about the character at POS.  Improve and
6963         update the doc string.  Change "code point" to "code point in
6964         charset", to avoid confusion with the character's Unicode code
6965         point shown above that.  (Bug#10129)
6967 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
6969         * descr-text.el (describe-char): Show the raw character, not only
6970         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
6971         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6972         for the reasons.
6974 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
6976         * emacs-lisp/package.el (package-install):
6977         Run package-refresh-contents if there is no archive yet (Bug#9798).
6979 2012-01-28  Chong Yidong  <cyd@gnu.org>
6981         * emacs-lisp/package.el (package-maybe-load-descriptor):
6982         New function, split from package-maybe-load-descriptor.
6983         (package-maybe-load-descriptor): Use it.
6984         (package-download-transaction): Fully load required packages
6985         inside the loop, so that `require' calls work (Bug#10593).
6986         (package-install): No need to call package-initialize now.
6988 2012-01-28  Chong Yidong  <cyd@gnu.org>
6990         * simple.el (deactivate-mark): Doc fix (Bug#8614).
6992         * tooltip.el (tooltip-mode): Doc fix.
6993         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6995         * frame.el (set-cursor-color): Doc fix (Bug#352).
6997         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6998         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7000         * cus-edit.el (custom-buffer-create-internal): Fix search button
7001         action (Bug#10542).
7002         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7004 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
7006         * dired.el (dired-mark-files-regexp):
7007         Include any subdirectory components.  (Bug#10445)
7009 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
7011         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7012         Handle [host]:port syntax.  (Bug#10533)
7014 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
7016         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7018 2012-01-26  Glenn Morris  <rgm@gnu.org>
7020         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7021         * term.el (term-raw-escape-map): Use Control-X-prefix.
7022         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
7024 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
7026         * window.el (window-state-get, window--state-get-1): Don't deal
7027         with fixed-sizeness of windows.  Simplify code.
7029 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
7031         * window.el (window--state-get-1, window--state-put-2):
7032         Don't save and restore the mark.
7034 2012-01-25  Chong Yidong  <cyd@gnu.org>
7036         * custom.el (custom-variable-p): Doc fix.
7038 2012-01-25  Glenn Morris  <rgm@gnu.org>
7040         * dired.el (dired-goto-file): Handle some of the more common
7041         characters that `ls -b' escapes.  (Bug#10596)
7043         * progmodes/compile.el (compilation-next-error-function):
7044         Respect compilation-first-column in the "*compilation*" buffer.
7045         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
7047         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
7049 2012-01-24  Glenn Morris  <rgm@gnu.org>
7051         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
7053 2012-01-24  Julien Danjou  <julien@danjou.info>
7055         * color.el (color-rgb-to-hsl): Fix value computing.
7056         (color-hue-to-rgb): New function.
7057         (color-hsl-to-rgb): New function.
7058         (color-clamp, color-saturate-hsl, color-saturate-name)
7059         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7060         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7062 2012-01-24  Glenn Morris  <rgm@gnu.org>
7064         * vc/vc-rcs.el (vc-rcs-create-tag):
7065         * vc/vc-sccs.el (vc-sccs-create-tag):
7066         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
7068 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
7070         * eshell/esh-util.el (eshell-read-hosts-file):
7071         Skip comment lines.  (Bug#10549)
7073         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
7075 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
7077         * subr.el (display-delayed-warnings): Doc fix.
7078         (collapse-delayed-warnings): New function to collapse identical
7079         adjacent warnings.
7080         (delayed-warnings-hook): Add it.
7082 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
7084         * net/tramp.el (tramp-action-login): Set connection property "login-as".
7086         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7087         (tramp-default-user-alist): Don't add "pscp".
7088         (tramp-do-copy-or-rename-file-out-of-band): Use connection
7089         property "login-as", if set.  (Bug#10530)
7091 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
7093         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7094         "plink1" and "psftp".  (Bug#10530)
7096 2012-01-21  Kenichi Handa  <handa@m17n.org>
7098         * international/mule-cmds.el (prefer-coding-system): Show a
7099         warning message if the default value of file-name-coding-system
7100         was not changed.
7102 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
7104         * windmove.el (windmove-reference-loc):
7105         Fix windmove-reference-loc miscalculation.
7107 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
7109         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7110         default unit.
7112 2012-01-21  Glenn Morris  <rgm@gnu.org>
7114         * international/mule.el (auto-coding-alist): Add .tbz.
7116         * files.el (local-enable-local-variables): Doc fix.
7117         (inhibit-local-variables-regexps): Rename from
7118         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
7119         Doc fix.  Add some extensions from auto-coding-alist.
7120         (inhibit-local-variables-suffixes):
7121         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
7122         (inhibit-local-variables-p):
7123         New function, extracted from set-auto-mode-1.
7124         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
7125         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
7126         (hack-local-variables): Doc fix.  Make the mode-only case
7127         respect enable-local-variables and friends.
7128         Respect inhibit-local-variables-regexps for file-locals, but
7129         not for directory-locals.
7130         (set-visited-file-name):
7131         Take account of inhibit-local-variables-regexps.
7132         Whether it applies may change as the file name is changed.
7133         * jka-cmpr-hook.el (jka-compr-install):
7134         * jka-compr.el (jka-compr-uninstall):
7135         Update for inhibit-first-line-modes-suffixes name change.
7137 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
7139         * help-macro.el (make-help-screen): Temporarily restore original
7140         binding for minor-mode-map-alist (Bug#10454).
7142 2012-01-19  Julien Danjou  <julien@danjou.info>
7144         * color.el (color-name-to-rgb): Use the white color to find the max
7145         color component value and return correctly computed values.
7146         (color-name-to-rgb): Add missing float conversion for max value.
7148 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
7150         * window.el (window--state-get-1, window-state-get): Do not use
7151         special state value for window-persistent-parameters.
7152         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
7153         (window--state-put-2): Reset all window parameters to nil before
7154         assigning values of persistent parameters.
7156 2012-01-18  Alan Mackenzie  <acm@muc.de>
7158         Eliminate sluggishness and hangs in fontification of "semicolon
7159         deserts".
7161         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7162         Change value 10000 -> 3000.
7163         (c-state-safe-place): Reformulate so it doesn't stack up an
7164         infinite number of wrong entries in c-state-nonlit-pos-cache.
7165         (c-determine-limit-get-base, c-determine-limit): New functions to
7166         determine backward search limits disregarding literals.
7167         (c-find-decl-spots): Amend commenting.
7168         (c-cheap-inside-bracelist-p): New function which detects "={".
7170         * progmodes/cc-fonts.el
7171         (c-make-font-lock-BO-decl-search-function): Give a limit to a
7172         backward search.
7173         (c-font-lock-declarations): Fix an occurrence of point being
7174         undefined.  Check additionally for point being in a bracelist or
7175         near a macro invocation without a semicolon so as to avoid a
7176         fruitless time consuming search for a declarator.  Give a more
7177         precise search limit for declarators using the new
7178         c-determine-limit.
7180 2012-01-18  Glenn Morris  <rgm@gnu.org>
7182         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7183         (set-auto-mode): Doc fixes.
7185 2012-01-17  Glenn Morris  <rgm@gnu.org>
7187         * isearch.el (search-nonincremental-instead): Fix doc typo.
7189         * dired.el (dired-insert-directory): Handle newlines in directory name.
7190         (dired-build-subdir-alist): Unescape newlines in directory name.
7192 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
7194         * net/tramp.el (tramp-local-end-of-line): New defcustom.
7195         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7196         (tramp-action-terminal): Use it.  (Bug#10530)
7198 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7200         * minibuffer.el (completion--replace): Strip properties (bug#10062).
7202 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
7204         * window.el (window-state-ignored-parameters): Remove variable.
7205         (window--state-get-1): Rename argument MARKERS to IGNORE.
7206         Handle persistent window parameters.  Make copy of clone-of
7207         parameter only if requested.  (Bug#10348)
7208         (window--state-put-2): Install a window parameter only if it has
7209         a non-nil value or an existing parameter shall be overwritten.
7211 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
7213         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7215 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
7217         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7218         don't pass the (nil) value of `upnode' to string-match.
7220 2012-01-14  Chong Yidong  <cyd@gnu.org>
7222         * startup.el (command-line): Fix X resource class for cursorColor.
7223         Fix values recognized by the cursorBlink resource.
7225 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
7227         * epg.el (epg--make-temp-file): Avoid permission race condition
7228         when running on old Emacs versions (bug#10403).
7230 2012-01-14  Glenn Morris  <rgm@gnu.org>
7232         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7234 2012-01-13  Alan Mackenzie  <acm@muc.de>
7236         Fix filling for when filladapt mode is enabled.
7238         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7239         c-mask-paragraph, pass in `fill-paragraph' rather than
7240         `fill-region-as-paragraph'.  (This is a reversion of a previous
7241         change.)
7242         * progmodes/cc-mode.el (c-basic-common-init):
7243         Make fill-paragraph-handle-comment buffer local and set it to nil.
7245 2012-01-13  Glenn Morris  <rgm@gnu.org>
7247         * dired.el (dired-switches-escape-p): New function.
7248         (dired-insert-directory): Use dired-switches-escape-p.
7249         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
7251         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
7253 2012-01-12  Glenn Morris  <rgm@gnu.org>
7255         * mail/sendmail.el (mail-mode): Update paragraph-separate for
7256         changes in adaptive-fill-regexp.  (Bug#10276)
7258 2012-01-11  Alan Mackenzie  <acm@muc.de>
7260         Fix Emacs bug #10463 - put `widen's around the critical spots.
7262         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7263         widen around each invocation of c-state-pp-to-literal.  Remove an
7264         unused let variable.
7266 2012-01-11  Glenn Morris  <rgm@gnu.org>
7268         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
7269         Doc fix.
7271 2012-01-10  Chong Yidong  <cyd@gnu.org>
7273         * net/network-stream.el (network-stream-open-starttls):
7274         Avoid emitting a confusing error message when the server gives a bad
7275         response to the capability command.
7277 2012-01-10  Glenn Morris  <rgm@gnu.org>
7279         * mail/unrmail.el (unrmail): Tweak previous change.
7281 2012-01-09  Chong Yidong  <cyd@gnu.org>
7283         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7285 2012-01-08  Alan Mackenzie  <acm@muc.de>
7287         Optimise font locking in long enum definitions.
7289         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7290         arm to a cond form to handle enums.
7291         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7292         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7294 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7296         * files.el (move-file-to-trash): Preserve default file modes on error.
7297         (Bug#10401)
7299 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7301         * faces.el (set-face-attribute): Clarify the meaning of the nil
7302         frame (bug#10294).
7304         * subr.el (with-selected-frame): Mention that the selected frame
7305         is restored (bug#9980).
7307         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7308         (bug#9759).
7310         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7311         (password-read): Don't autoload unused function.
7313 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
7315         * progmodes/which-func.el (which-func-mode): Turn into a
7316         non-interactive function and mark as obsolete (bug#10428).
7318 2012-01-06  Chong Yidong  <cyd@gnu.org>
7320         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7321         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7322         functions, along with 1 and -1.
7324 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
7326         * time.el (display-time-load-average)
7327         (display-time-default-load-average): Doc fixes.  See the thread
7328         starting at
7329         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7330         for the details.
7332 2012-01-06  Glenn Morris  <rgm@gnu.org>
7334         * mail/unrmail.el (unrmail): Give an explicit error if the input file
7335         has no messages.  (Bug#10377)
7337         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7338         than Info-edit.  (Bug#10385)
7340         * time.el (display-time-load-average, display-time-next-load-average):
7341         Doc fixes.
7343         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7344         local setting of buffer-read-only to the input buffer.  (Bug#10419)
7346         * calendar/calendar.el (calendar-mode):
7347         Locally set scroll-margin to 0.  (Bug#10379)
7349 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
7351         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
7353 2012-01-05  Glenn Morris  <rgm@gnu.org>
7355         * eshell/em-unix.el (diff-no-select): Autoload it.
7356         (eshell/diff): Use diff-no-select.  (Bug#10420)
7358 2012-01-05  Chong Yidong  <cyd@gnu.org>
7360         * shell.el (shell-dynamic-complete-functions): Revert last change.
7361         (shell-command-completion-function): New function.
7362         (shell-completion-vars): Use it to implement
7363         shell-completion-execonly (Bug#10417).
7365         * custom.el (enable-theme): Don't set custom-safe-themes.
7367         * cus-theme.el (custom-theme-merge-theme):
7368         Ignore custom-enabled-themes and custom-safe-themes.
7370 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
7372         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7373         first prompt in `sql-interacive-mode'.
7374         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7375         keywords.
7376         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7377         (sql-product-interactive): Bug fix: Set `sql-buffer' in
7378         context of original buffer.  Invoke `sql-login-hook'.
7380 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
7382         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7383         letters in cite-prefix.
7385 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7387         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7389 2012-01-03  Chong Yidong  <cyd@gnu.org>
7391         * shell.el (shell-dynamic-complete-functions):
7392         Put pcomplete-completions-at-point, so as to try
7393         comint-filename-completion first (Bug#10417).
7395 2012-01-02  Richard Stallman  <rms@gnu.org>
7397         * battery.el (battery-status-function):
7398         Detect when to use battery-yeeloong-sysfs.
7399         (battery-echo-area-format): Add string for Yeeloong.
7400         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7401         (battery-yeeloong-sysfs): New function.
7403 2012-01-02  Chong Yidong  <cyd@gnu.org>
7405         * dirtrack.el (dirtrack-list): Eliminate unused third element.
7406         (dirtrack): Merge code for handling relative filenames in prompt
7407         from shell-dir-cookie-watcher.
7408         (dirtrack-debug-message): New arg to avoid excess format calls.
7410         * shell.el (shell-dir-cookie-re): Variable deleted.
7411         (shell-dir-cookie-watcher): Function deleted.
7412         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7413         with dirtrack-mode.
7415 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
7417         * term/w32-win.el (dynamic-library-alist) <gnutls>:
7418         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7419         libgnutls-26.dll.
7421 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
7423         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7425 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
7427         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7428         headers of non-MIME messages, when rmail-enable-mime is non-nil.
7430 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
7432         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7433         also for alternative shells.
7434         (tramp-open-connection-setup-interactive-shell): Check, whether
7435         the shell is a busybox.
7436         (tramp-send-command): Don't suppress multiple prompts for
7437         busyboxes, it hurts.
7439 2011-12-28  Chong Yidong  <cyd@gnu.org>
7441         * progmodes/gdb-mi.el (gdb-get-source-file-list)
7442         (gdb-get-source-file): Move mode line update to
7443         gdb-get-source-file (Bug#10087).
7445 2011-12-25  Chong Yidong  <cyd@gnu.org>
7447         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7448         gud-gdb-marker-filter without taking it as an argument.
7449         (gud-gdb-run-command-fetch-lines): Caller changed.
7450         (gud-gdb-completion-function): New variable.
7451         (gud-gdb-completion-at-point): Use it.
7452         (gud-gdb-completions-1): Split from gud-gdb-completions.
7454         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7455         function as separate arguments.
7456         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7457         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7458         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7459         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7460         (gdb-stopped, def-gdb-auto-update-trigger)
7461         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7462         (gdb-get-changed-registers, gdb-get-main-selected-frame):
7463         Callers changed.
7464         (gud-gdbmi-completions): New function.
7465         (gdb): Use it for generating the completion table.
7467 2011-12-24  Alan Mackenzie  <acm@muc.de>
7469         Introduce a mechanism to widen the region used in context font
7470         locking.  Use this to protect declarations from losing their contexts.
7472         * progmodes/cc-langs.el (c-before-font-lock-functions):
7473         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7474         (c-before-context-fontification-functions): New defvar, a list of
7475         functions to be run just before context (etc.) font locking.
7477         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7478         New, functionality extracted from
7479         c-neutralize-syntax-in-and-mark-CPP.
7480         (c-in-after-change-fontification): New variable.
7481         (c-after-change): Set c-in-after-change-fontification.
7482         (c-set-fl-decl-start): Rejig its interface, so it can be called
7483         from both after-change and context fontifying.
7484         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7485         New functions.
7486         (c-standard-font-lock-fontify-region-function): New variable.
7487         (c-font-lock-fontify-region): New function.
7489 2011-12-24  Juri Linkov  <juri@jurta.org>
7491         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7492         (Bug#10348)
7494 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
7496         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7497         existence of source file.  (Bug#10325)
7499 2011-12-23  Alan Mackenzie  <acm@muc.de>
7501         Fix unstable fontification inside templates.
7503         * progmodes/cc-langs.el (c-before-font-lock-functions):
7504         Newly created from the singular version.  The (c c++ objc) entry now
7505         additionally has c-set-fl-decl-start.  The other languages (apart
7506         from AWK) have that as a single entry.
7508         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7509         The functionality for "local" declarations has been extracted to
7510         c-set-fl-decl-start.
7512         * progmodes/cc-mode.el (c-common-init, c-after-change):
7513         Changes due to pluralisation of c-before-font-lock-functions.
7514         (c-set-fl-decl-start): New function, extracted from
7515         c-font-lock-enclosing-decls and enhanced.
7517 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
7519         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7521 2011-12-22  Juri Linkov  <juri@jurta.org>
7523         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
7525 2011-12-22  Chong Yidong  <cyd@gnu.org>
7527         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7529 2011-12-21  Drew Adams  <drew.adams@oracle.com>
7531         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
7533 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
7535         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7537 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
7539         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
7540         highlighting and support.  Fix up comments for capitalization.
7541         (cfengine-mode-debug): New var.
7542         (cfengine3-mode): Change the modeline indicator to "CFE3".
7543         (cfengine3-font-lock-keywords): Improve defun highlighting.
7544         (cfengine2-actions): Rename from `cfengine-actions'.
7545         (cfengine2-font-lock-keywords): Rename from
7546         `cfengine-font-lock-keywords'.
7547         (cfengine2-imenu-expression): Rename from
7548         `cfengine-imenu-expression'.
7549         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7550         (cfengine2-beginning-of-defun): Rename from
7551         `cfengine-beginning-of-defun'.
7552         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7553         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7554         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
7555         modeline indicator to "CFE2".
7556         (cfengine-mode): Defalias to `cfengine-auto-mode'.
7557         (cfengine-mode-abbrevs): Mark obsolete.
7559 2011-12-21  Chong Yidong  <cyd@gnu.org>
7561         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7562         filename argument.
7564 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
7566         * window.el (window-normalize-buffer-to-display): Remove.
7567         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7569 2011-12-19  Chong Yidong  <cyd@gnu.org>
7571         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7572         Don't signal an error in a predicate function; return non-nil.
7573         (vc-dir-mark-file): Move the error here.
7574         (vc-dir-mark-unmark): If acting on the region, keep going if one
7575         of the entries cannot be marked/unmarked.
7576         (vc-dir-mark-all-files): If current entry is a directory, mark
7577         only child files, as documented.
7579 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7581         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7582         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7583         addition.
7585 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
7587         * term/ns-win.el (ns-get-selection-internal)
7588         (ns-store-selection-internal): Declare.
7589         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7590         Declare as obsolete.
7591         (ns-get-pasteboard, ns-paste-secondary):
7592         Use ns-get-selection-internal.
7593         (ns-set-pasteboard,  ns-copy-including-secondary):
7594         Use ns-store-selection-internal.
7596 2011-12-17  Chong Yidong  <cyd@gnu.org>
7598         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7599         (vc-deduce-fileset): Doc fix.
7601 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
7603         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7605 2011-12-13  Sam Steingold  <sds@gnu.org>
7607         * man.el (Man-getpage-in-background): When running under a
7608         window-system, ignore $MANWIDTH and $COLUMNS.
7610 2011-12-15  Kenichi Handa  <handa@m17n.org>
7612         * language/ethio-util.el: Change coding tag to utf-8-emacs.
7613         (setup-ethiopic-environment-internal): Comment out key-binding for
7614         ethio-toggle-punctuation.
7616 2011-12-13  Alan Mackenzie  <acm@muc.de>
7618         Add the switch statement to AWK Mode.
7620         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7621         "default" to the keywords regexp.
7623         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7624         expression as the rest.
7625         (c-nonlabel-token-key): Allow string literals for AWK.
7626         Refactor for the other modes.
7628         Large brace-block initialisation makes CC Mode slow: Fix.
7629         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7630         routines.  Limit backward searching in c-font-lock-enclosing.decl.
7632         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7633         pp-state and literal type in addition to the limits.
7634         (c-state-safe-place): New defun, extracted from c-state-literal-at.
7635         (c-state-literal-at): Use the above new defun.
7636         (c-slow-in-literal, c-fast-in-literal): Remove.
7637         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7639         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7640         being in a literal.  Add a limit for backward searching.
7642         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7643         c-slow-in-literal.
7645 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7647         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7649 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
7651         * window.el (delete-other-windows): Use correct frame in call to
7652         window-with-parameter.
7654 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
7656         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7657         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7658         (makefile-gmake-statements, makefile-makepp-statements):
7659         Use it and add new makepp keywords.
7660         (makefile-makepp-font-lock-keywords): Add new patterns.
7661         (makefile-match-function-end): Match new [...] and [[...]].
7663 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
7665         * ses.el (ses-call-printer-return, ses-cell-property-get)
7666         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7667         (ses-create-cell-variable, ses-reset-header-string)
7668         (ses-cell-set-formula, ses-repair-cell-reference-all)
7669         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7670         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7671         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7672         (ses-aset-with-undo, ses-load, ses-truncate-cell)
7673         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7674         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7675         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7676         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7677         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7678         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7679         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7680         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7682 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7684         * ses.el: The overall change is to add cell renaming, that is
7685         setting fancy names for cell symbols other than name matching
7686         "\\`[A-Z]+[0-9]+\\'" regexp .
7687         (ses-create-cell-variable): New defun.
7688         (ses-relocate-formula): Relocate formulas only for cells the
7689         symbols of which are not renamed, i.e. symbols whose names do not
7690         match regexp "\\`[A-Z]+[0-9]+\\'".
7691         (ses-relocate-all): Relocate values only for cells the symbols of
7692         which are not renamed.
7693         (ses-load): Create cells variables as the (ses-cell ...) are read,
7694         in order to check row col consistency with cell symbol name only
7695         for cells that are not renamed.
7696         (ses-replace-name-in-formula): New defun.
7697         (ses-rename-cell): New defun.
7699 2011-12-11  Chong Yidong  <cyd@gnu.org>
7701         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7702         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7704 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
7706         * window.el (other-window): Fix docstring.
7708 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
7710         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7711         `from' or `to' address before taking its substring.
7712         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7713         encoded name is chopped in the middle of the encoded string, and
7714         thus displayed encoded.
7716 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
7718         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7720 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
7722         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
7723         to use texinfo-update-node and commands that call it if the
7724         Texinfo file uses @node lines without next/prev/up pointers.
7725         Correct outdated description about texinfo-master-menu.
7726         (texinfo-all-menus-update, texinfo-master-menu)
7727         (texinfo-update-node, texinfo-every-node-update)
7728         (texinfo-multiple-files-update): Doc fix.  Warn against updating
7729         all the @node lines.
7730         (texinfo-master-menu): Only call texinfo-update-node if the prefix
7731         argument is numeric.  Explain better in the doc string what the
7732         function really does.
7733         (texinfo-insert-master-menu-list): Improve the error message
7734         displayed if there's no menu in the Top node.
7735         (Bug#2975)  See also this thread:
7736         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7738 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
7740         * speedbar.el (speedbar-supported-extension-expressions):
7741         Add .adb and .ads, commonly used for Ada source code (bug#10256).
7743 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
7745         * printing.el (pr-mode-alist):
7746         * simple.el (filter-buffer-substring-functions)
7747         (completion-list-insert-choice-function):
7748         * window.el (window-with-parameter, window-atom-root)
7749         (window-sides-slots, window-size-fixed, window-min-delta)
7750         (window-max-delta, window--resize-mini-window)
7751         (window--resize-child-windows-normal, window-tree)
7752         (delete-other-windows, quit-window, split-window)
7753         (display-buffer-record-window, special-display-buffer-names)
7754         (special-display-regexps, special-display-popup-frame)
7755         (same-window-p, split-window-sensibly)
7756         (display-buffer-overriding-action, display-buffer-alist)
7757         (display-buffer-base-action, display-buffer, switch-to-buffer)
7758         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7759         (fit-window-to-buffer, recenter-positions)
7760         (mouse-autoselect-window-state, mouse-autoselect-window-select):
7761         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7762         and remove unneeded backslashes in docstrings.
7764 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7766         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7768         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7769         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7770         end in ".mk".
7771         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7772         when reading the makefile (bug#10116).
7774 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7776         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7777         (bug#10116).
7779 2011-12-06  Glenn Morris  <rgm@gnu.org>
7781         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7783 2011-12-06  Chong Yidong  <cyd@gnu.org>
7785         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7787 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
7789         * textmodes/table.el (table-shorten-cell): Fix typo.
7791 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
7793         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7795 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
7797         * descr-text.el (describe-char): Fix display of strong
7798         right-to-left characters and directional embeddings and overrides.
7800         * simple.el (what-cursor-position): Fix display of codepoints of
7801         strong right-to-left characters.
7803 2011-12-05  Chong Yidong  <cyd@gnu.org>
7805         * faces.el (read-color): Doc fix.
7807 2011-12-05  Glenn Morris  <rgm@gnu.org>
7809         * align.el (align--set-marker): Add doc-string.
7810         Don't try to move something that is not a marker.  (Bug#10216)
7812 2011-12-04  Glenn Morris  <rgm@gnu.org>
7814         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7815         overly zealous deletion of trailing whitespace.
7817 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
7819         * server.el (server-delete-client): On Windows, do not try to delete
7820         the only terminal.
7821         (server-process-filter): On Windows, treat requests for a tty frame as
7822         if they were for a GUI frame if the running server is in GUI mode.
7824 2011-12-03  Glenn Morris  <rgm@gnu.org>
7826         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
7828 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7830         * electric.el: Streamline electric-indent's hook.
7831         (electric-indent-chars): Revert to simple list.
7832         (electric-indent-functions): New var.
7833         (electric-indent-post-self-insert-function): Use it.
7835         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7836         there's no inferior buffer (bug#10196).
7837         (prolog-consult-compile): Don't use toggle-read-only.
7839 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
7841         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7842         interrupt.  (Bug#10187)
7844 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7846         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7847         (bug#9160).
7849         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7850         (bug#10191).
7852 2011-12-02  Juri Linkov  <juri@jurta.org>
7854         * info.el (Info-search): Display "end of manual" when Isearch
7855         reaches the end of single-file Info manual.  (Bug#9918)
7857 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
7859         * isearch.el (isearch-message-prefix): Run the input method part
7860         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
7862 2011-12-02  Juri Linkov  <juri@jurta.org>
7864         * isearch.el (isearch-occur): Use `word-search-regexp' for
7865         `isearch-word'.
7866         (isearch-search-and-update): Add condition for `isearch-word' and
7867         call `word-search-regexp'.  (Bug#10145)
7869 2011-12-01  Glenn Morris  <rgm@gnu.org>
7871         * eshell/em-hist.el (eshell-hist-initialize):
7872         Handle eshell-history-size nil and HISTSIZE set or unset.
7873         (eshell-history-file-name, eshell-history-size): Fix custom type.
7875 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7877         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7879 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
7881         * progmodes/verilog-mode.el (verilog-pretty-expr):
7882         Rework verilog-pretty-expr to handle new assignment operators in system
7883         verilog, such as += *= and the like.
7884         (verilog-assignment-operator-re): Regular expression to find the
7885         assigment operator in a verilog assignment.
7886         (verilog-assignment-operation-re): Regular expression to find an
7887         assignment statement for pretty-expr.
7888         (verilog-in-attribute-p): Query returns true if point is in an
7889         attribute context; used to skip these for expression line up from
7890         pretty-expr.
7891         (verilog-in-parameter-p): Query returns true if point is in an
7892         parameter definition context; used to skip these for expression
7893         line up from pretty-expr.
7894         (verilog-in-parenthesis-p): Query returns true if point is in a
7895         parenthetical expression, specifically ( ) but not [ ] or { };
7896         used by pretty-expr.
7897         (verilog-just-one-space): If there is no space, don't add one.
7898         (verilog-get-lineup-indent-2): Specifically skip just attribute
7899         contexts for expression lineup, rather than skipping all
7900         parenthetical expressions.
7901         (verilog-calculate-indent): Fix comment, and fix indent.
7902         (verilog-do-indent): Indent declarations in lists (suggested by
7903         Joachim Lechner).
7904         (verilog-mode-abbrev-table): Populate abbrev mode with the various
7905         skeleton items.
7906         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7907         by Alain Mellan).
7909 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
7911         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7912         parameters with embedded comments.  Reported by Ray Stevens.
7913         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7914         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7915         Reported by Tim Holt.
7916         (verilog-auto): Fix AUTOing a upper module then AUTOing module
7917         instantiated by upper module causing wrong expansion until AUTOed a
7918         second time.  Reported by K C Buckenmaier.
7919         (verilog-diff-auto): Fix showing .* as a difference when
7920         `verilog-auto-star-save' off.  Reported by Dan Dever.
7921         (verilog-auto-reset, verilog-read-always-signals)
7922         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7923         temporary signals in reset list if
7924         verilog-auto-reset-blocking-in-non is nil, and match assignment
7925         style to each signal's assignment type, bug381.
7926         Reported by Thomas Esposito.
7927         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7928         (verilog-uvm-statement-re): Support UVM indentation and
7929         highlighting, with old OVM keywords only.
7930         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7931         Support AUTOTIEOFF creating non-wire data types.
7932         Suggested by Jonathan Greenlaw.
7933         (verilog-auto-insert-lisp, verilog-delete-to-paren)
7934         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7935         (verilog-inject-sense, verilog-read-inst-pins)
7936         (verilog-read-sub-decls, verilog-read-sub-decls-line):
7937         Fix mismatching parenthesis inside commented out code when deleting
7938         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
7939         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7940         non-numeric vector width.  Reported by Alex Reed.
7941         (verilog-auto-ascii-enum): Add "onehot" option to work around not
7942         detecting signals with parameter widths.  Reported by Alex Reed.
7943         (verilog-auto-delete-trailing-whitespace):
7944         With `verilog-auto-delete-trailing-whitespace' remove trailing
7945         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
7946         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7947         Fix verilog-scan-cache corruption when running user AUTO expansion
7948         hooks that call indentation routines.
7949         (verilog-simplify-range-expression): Fix typo ignoring lower case
7950         identifiers.
7951         (verilog-delete-auto): Fix delete-autos to also remove user created
7952         automatics, as long as they start with AUTO.
7953         (verilog-batch-diff-auto, verilog-diff-auto)
7954         (verilog-diff-function): Add `verilog-diff-auto' and bind to
7955         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
7956         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7957         (verilog-in-paren-quick, verilog-re-search-backward-quick)
7958         (verilog-re-search-forward-quick, verilog-syntax-ppss):
7959         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7960         is disabled and its cache will get corrupt, causing AUTOS not to
7961         expand.  Instead use only -quick functions.
7962         (verilog-scan-region): Fix scanning over escaped quotes.
7963         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7964         (verilog-re-search-backward-quick)
7965         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7966         related functions now ignore strings, to fix misparsing of strings
7967         with magic comments embedded in them.
7968         (verilog-read-auto-template):
7969         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7970         Reported by Brad Dobbie.
7971         (verilog-read-auto-template):
7972         Fix 'verilog-auto-inst-template-numbers' with comments.
7973         Reported by Brad Dobbie.
7974         (verilog-auto-inst, verilog-auto-inst-param)
7975         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7976         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
7977         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7978         debugging templates without merge conflicts, bug357.
7979         Reported by Brad Dobbie.
7980         (verilog-read-auto-template):
7981         Fix verilog-auto-inst-template-numbers with multiple templates.
7982         Reported by Brad Dobbie.
7983         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7984         abbrevs so user won't be asked to save.
7985         (verilog-read-auto-lisp-present): Fix to start at beginning of
7986         buffer in case called outside of verilog-auto.
7987         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7988         to "X-2".  Reported by Matthew Myers.
7989         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7990         all inputs from module templates.  Reported by Leith Johnson.
7991         (verilog-module-inside-filename-p): Fix locating programs as with
7992         modules.
7993         (verilog-auto-inst-port): Fix vl-width expressions when using
7994         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
7995         (verilog-decls-get-regs, verilog-decls-get-signals,
7996         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7997         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7998         verilog-read-decls): Combine reg and wire structures into one var
7999         structure to represent SystemVerilog concepts.
8000         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8001         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8002         (verilog-auto-wire-type, verilog-insert-definition):
8003         Add verilog-auto-wire-type and AUTOLOGIC to support using
8004         SystemVerilog "logic" keyword instead of "wire"/"reg".
8005         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8006         to declares outputs that also have assignments (presumably in an
8007         ifdef or generate if so there's not a driver conflict).
8008         Reported by Matthew Myers.
8009         (verilog-auto-declare-nettype, verilog-insert-definition):
8010         Add verilog-auto-declare-nettype to fix declarations using
8011         `default_nettype none.  Reported by Julian Gorfajn.
8012         (verilog-read-always-signals-recurse, verilog-read-decls)
8013         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8014         malformed end statement, bug325.  Reported by Joshua Wise and
8015         Andrew Drake.
8016         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8017         (verilog-inst-comment-re): Fix not deleting Interfaced comment
8018         when expanding .* in interfaces, bug320.
8019         Reported by Pierre-David Pfister.
8020         (verilog-read-module-name): Fix import statements between module
8021         name and open parenthesis, bug317.
8022         Reported by Pierre-David Pfister.
8023         (verilog-simplify-range-expression): Fix simplification of
8024         multiplications inside AUTOWIRE connections, bug303.
8025         (verilog-auto-inst-port): Support parameter expansion in
8026         multidimensional arrays.
8027         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8028         after "assert property".  Reported by Julian Gorfajn.
8029         (verilog-simplify-range-expression): Fix "couldn't merge" errors
8030         with multiplication, bug303.
8031         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8032         Reported by Jan Frode Lonnum.
8034 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
8036         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8037         (hfy-shell-file-name, hfy-shell):
8038         * international/fontset.el (x-decompose-font-name): Fix typos.
8040 2011-11-29  Ken Brown  <kbrown@cornell.edu>
8042         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8043         (gdb-version): Remove defvar.
8044         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8045         (gdb-gud-context-command, gdb-non-stop-handler)
8046         (gdb-current-context-command, gdb-stopped): Use it.
8047         (gdb-init-1): Enable pretty printing here.
8048         (gdb-non-stop-handler): Don't enable pretty-printing here.
8049         Check to see if the target supports non-stop mode; if not, turn off
8050         non-stop mode.  Use the following.
8051         (gdb-check-target-async): New defun.
8052         (gud-watch, gdb-stopped): Fix whitespace.
8053         (gdb-get-source-file): Don't try to display the source file if
8054         `gdb-main-file' is nil.
8056 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8058         * align.el: Try to generate fewer markers (bug#10047).
8059         (align--set-marker): New macro.
8060         (align-region): Use it.
8062 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8064         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8066 2011-11-29  Chong Yidong  <cyd@gnu.org>
8068         * indent.el (indent-for-tab-command, indent-according-to-mode):
8069         Doc fix.
8070         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
8072 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
8074         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8075         aware of remote file names.  (Bug#10124)
8077 2011-11-29  Chong Yidong  <cyd@gnu.org>
8079         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8081 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8083         * files.el (find-file): Don't use force-same-window (bug#10144).
8084         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8085         use pop-to-buffer if the selected window can't be used.
8086         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8088 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
8090         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8091         special-mode-map.
8093 2011-11-28  Chong Yidong  <cyd@gnu.org>
8095         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8097 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
8099         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8100           gdb-get-source-file-list on gdb-create-source-file-list.
8102 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
8104         * whitespace.el (whitespace-newline): Use a different foreground
8105         color for 16-color light-background displays.
8107 2011-11-24  Chong Yidong  <cyd@gnu.org>
8109         * window.el (display-buffer--special-action): Doc fix.
8111 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
8113         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8114         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8115         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8116         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8117         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8118         (avl-tree-stack-first):
8119         * emacs-lisp/cconv.el (cconv--analyse-use):
8120         * net/gnutls.el (gnutls-negotiate): Fix typos.
8122 2011-11-24  Glenn Morris  <rgm@gnu.org>
8124         * lpr.el (lpr-windows-system, lpr-lp-system):
8125         * mail/binhex.el (binhex-begin-line):
8126         * progmodes/grep.el (grep-history, grep-find-history):
8127         * textmodes/flyspell.el:
8128         * vc/pcvs-defs.el (cvs-global-menu):
8129         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8130         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8131         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8133         * net/tls.el: Fix case of "GnuTLS".
8135         * paths.el (rmail-file-name): Format doc-string for make-docfile.
8137         * version.el (emacs-build-system): Give it a doc-string.
8139 2011-11-24  Juri Linkov  <juri@jurta.org>
8141         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8143 2011-11-24  Glenn Morris  <rgm@gnu.org>
8145         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8146         if called on a non-mime message just toggle the headers.  (Bug#8006)
8148 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
8150         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8151         (allout-lead-with-comment-string, allout-structure-deleted-hook)
8152         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8153         (allout-rebullet-heading, allout-open-sibtopic)
8154         (allout-toggle-current-subtree-encryption)
8155         (allout-toggle-subtree-encryption, allout-encrypt-string)
8156         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8157         (allout-distinctive-bullets-string, allout-auto-activation):
8158         * window.el (window-normalize-buffer-to-display):
8159         * progmodes/verilog-mode.el (verilog-batch-indent):
8160         * textmodes/bibtex.el (bibtex-field-braces-opt)
8161         (bibtex-field-strings-opt):
8162         * vc/cvs-status.el (cvs-tree-merge):
8163         Fix typos.
8165 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
8167         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8168         `non-essential' to t, in order to avoid remote connections.
8170 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
8172         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8173         On MS-DOS and MS-Windows, compare with loaddefs.el
8174         case-insensitively.
8176 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8178         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
8180 2011-11-23  Glenn Morris  <rgm@gnu.org>
8182         * paths.el (rmail-file-name): Reformat the doc-string so that it
8183         is picked up.
8185         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8186         (rmail-auto-file): Ignore case in the "special" field names,
8187         as mail-fetch-field does for all others.
8189         * mail/rmail.el (rmail-forward):
8190         * mail/rmailkwd.el (rmail-set-label):
8191         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8192         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
8194         * mail/rmail.el (rmail-current-message): Doc fix.
8196         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
8198 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8200         * server.el (server-eval-and-print): Allow C-g (bug#6585).
8202 2011-11-22  Glenn Morris  <rgm@gnu.org>
8204         * mail/rmailmm.el (test-rmail-mime-handler)
8205         (test-rmail-mime-bulk-handler)
8206         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8208 2011-11-21  Juri Linkov  <juri@jurta.org>
8210         * calc/calc.el (calc-read-key-sequence):
8211         Let-bind `input-method-function' to nil.  (Bug#10018)
8213 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8215         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8216         Tell the caller that the next line needs recomputation, even
8217         though it doesn't start a sexp (bug#10094).
8219 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8221         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8223 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8225         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8226         Use force-same-window.
8228 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
8230         * descr-text.el (describe-char-unicode-data):
8231         * json.el (json-string-escape):
8232         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8233         (Footnote-unicode, Footnote-style-p):
8234         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8236 2011-11-20  Chong Yidong  <cyd@gnu.org>
8238         * window.el (replace-buffer-in-windows): Restore interactive spec.
8240 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8242         * electric.el (electric-indent-mode): Fix last change (too optimistic).
8244         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8245         (byte-compile-global-not-obsolete-vars): New var.
8246         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8247         Use it.
8248         (byte-compile-warn-obsolete): Align text with the one in *Help*.
8250 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
8252         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8253         * progmodes/pascal.el (electric-pascal-equal):
8254         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8255         * xml.el (xml-substitute-special): Fix typos.
8257 2011-11-20  Glenn Morris  <rgm@gnu.org>
8259         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8260         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8261         Doc fixes.
8262         (rmail-decode-mime-charset): Mark as obsolete.
8264         * mail/rmailsum.el (rmail-message-regexp-p-1):
8265         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8266         Before using mime functions, check they are set.  (Bug#10077)
8268 2011-11-19  Juri Linkov  <juri@jurta.org>
8270         * info.el (Info-finder-find-node): Use `package--builtins' instead
8271         of `package-alist'.  Use node names formed by the pattern "Keyword "
8272         and the keyword name.
8274 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
8276         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8278 2011-11-19  Juri Linkov  <juri@jurta.org>
8280         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8281         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
8282         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8283         `old-history', `old-history-forward'.  Add let-binding
8284         `window-selected'.  Remove calls to `kill-buffer',
8285         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
8286         before calling `Info-find-node', so `Info-find-node-2' will reread
8287         the Info file.  Restore window positions only when `window-selected'
8288         is non-nil.
8290 2011-11-19  Juri Linkov  <juri@jurta.org>
8292         * isearch.el (isearch-lazy-highlight-new-loop):
8293         Remove condition `(not isearch-error)'.  (Bug#9918)
8295         * misearch.el (multi-isearch-search-fun): Add condition
8296         `(not bound)' to ignore lazy-highlighting search.
8297         Add the search-failed message "end of multi" when the end of
8298         multi-sequence is reached.  Uncapitalize the search-failed
8299         message "Repeat for next buffer".
8301         * info.el (Info-search): Add the search-failed message
8302         "end of the manual" when the end of the manual is reached
8303         in Isearch mode.
8305 2011-11-19  Juri Linkov  <juri@jurta.org>
8307         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8308         Use non-destructive `remove' instead of `delete' because
8309         `Info-history-list' stored to `Info-isearch-initial-history-list' in
8310         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8312 2011-11-19  Juri Linkov  <juri@jurta.org>
8314         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8315         to nil instead of binding `search-ring' and `regexp-search-ring'.
8316         (Bug#9185)
8318 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
8320         * simple.el (line-move): Force movement by logical lines for any
8321         hscrolled window, not only when auto-hscroll-mode is on.
8322         (line-move-visual): Update doc string to that effect.  (Bug#10076)
8324 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
8326         * language/european.el (macintosh): Define as alias for mac-roman.
8328 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
8330         * mail/rmailmm.el (rmail-mime-display-header)
8331         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8332         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8333         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8334         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8335         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8336         of a raw aref.
8337         (rmail-mime-entity-segment): To get past the tagline, move forward
8338         2 more lines, to account for the 2 empty lines that precede and
8339         follow the line with the buttons.
8340         (rmail-mime-update-tagline): Move one more line, to get past the
8341         empty line that follows the buttons in the tagline.  (Bug#9520)
8343 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
8345         * window.el (window-max-delta-1, window-min-delta-1)
8346         (window-min-size-1, window-state-get-1, window-state-put-1)
8347         (window-state-put-2): Use "window--" prefix.
8349 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8351         * emacs-lisp/smie.el: Improve warnings and conflict detection.
8352         (smie-warning-count): New var.
8353         (smie-set-prec2tab): Use it.
8354         (smie-bnf->prec2): Improve warnings.  Add docstring.
8355         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8356         (smie-bnf--set-class): New function.
8357         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
8358         corner case.
8360         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8361         (compilation-error-properties, compilation-move-to-column):
8362         Handle compilation-first-column while in the target buffer.
8364         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8365         Don't hardcode point-min==1.
8367         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8368         (eshell-rewrite-for-command): Remove workaround.
8369         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8370         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8371         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8373         * files-x.el (modify-file-local-variable): Obey commenting conventions.
8375 2011-11-17  Glenn Morris  <rgm@gnu.org>
8377         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8378         Ignore buffer-local generated-autoload-file if it is the same
8379         as the global value.  (Bug#10049)
8381 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
8383         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8384         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8385         (reftex-toc-previous-heading, reftex-toc-max-level)
8386         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8387         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8388         (reftex-toc-do-promote, reftex-toc-promote-prepare)
8389         (reftex-toc-promote-action, reftex-toc-extract-section-number)
8390         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8391         (reftex-toc-rename-label, reftex-toc-visit-location)
8392         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8393         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8394         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8395         leaving "*toc*" only for references to the buffer.
8397 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
8399         * window.el (window-resize, delete-window, split-window):
8400         Replace window-splits by window-combination-resize.
8401         * cus-start.el (window-splits): Replace by window-combination-resize.
8403 2011-11-17  Glenn Morris  <rgm@gnu.org>
8405         * progmodes/sh-script.el (sh-font-lock-keywords-var):
8406         Make bash entry derive from sh entry, not shell entry.
8408 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
8410         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8411         local file name.
8413 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
8415         * menu-bar.el (menu-bar-file-menu):
8416         * printing.el (pr-ps-utility):
8417         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8418         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8419         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8420         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8421         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8422         (icalendar--convert-cyclic-to-ical)
8423         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8424         (icalendar--convert-ical-to-diary)
8425         (icalendar--convert-recurring-to-diary)
8426         (icalendar--convert-non-recurring-all-day-to-diary)
8427         (icalendar-import-format-sample):
8428         * progmodes/idlw-shell.el (idlwave-shell-mode):
8429         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8430         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8431         (vhdl-ps-print-init): Fix typos.
8433 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
8435         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8436         FSF and collapse date sequence, obscure author/maintainer email address
8437         better, remove extra version line, track relocation of author's webpage.
8439         * progmodes/python.el (python-pdbtrack-input-prompt)
8440         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8441         regular python pdb prompts.  Adjustments shamelessly taken exactly as
8442         suggested in EmacsWiki page (tiny change):
8443         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8445 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
8447         * expand.el (expand-pos, expand-index, expand-point):
8448         Remove redundant info from docstring.
8449         (expand-add-abbrevs): Doc fix.
8450         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8451         (expand-sample-perl-mode-expand-list): Fix typos.
8453         * net/dbus.el (dbus-event-member-name):
8454         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8455         * term/pc-win.el (msdos-create-frame-with-faces):
8456         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8458 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
8460         * window.el (split-window, window-state-get-1)
8461         (window-state-put-1, window-state-put-2): Rename occurrences of
8462         window-nest to window-combination-limit.
8463         * cus-start.el (window-nest): Rename to window-combination-limit.
8465 2011-11-16  Chong Yidong  <cyd@gnu.org>
8467         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8468         regexp (Bug#10033).
8470 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8472         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8473         `completing-read' will remove *Completions* and will preserve
8474         current-buffer for us.
8475         (tmm-add-prompt): Users of *Completions* will always (re)set its
8476         major mode.
8477         (tmm-old-comp-map): Remove.
8479 2011-11-16  Glenn Morris  <rgm@gnu.org>
8481         * mail/rmailedit.el: Require rmailmm when compiling.
8482         (rmail-old-mime-state): New declaration.
8483         (rmail-edit-current-message): If editing a mime message,
8484         edit the "raw" message from the mbox buffer.
8485         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
8487 2011-11-15  Glenn Morris  <rgm@gnu.org>
8489         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8490         which wasn't being used.  Add optional arg to force given state.
8491         (rmail-mime): Add optional arg to force given state.
8493 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
8495         * allout.el (allout-encryption-plaintext-sanitization-regexps):
8496         * frame.el (display-mm-dimensions-alist):
8497         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8498         (outline-move-subtree-down):
8499         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8500         (newsticker--treeview-do-get-node):
8501         * net/quickurl.el (quickurl-list-buffer-name):
8502         * progmodes/dcl-mode.el (dcl-mode):
8503         * progmodes/gdb-mi.el (gdb-mapcar*):
8504         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8506 2011-11-15  Glenn Morris  <rgm@gnu.org>
8508         * mail/rmail.el (rmail-file-coding-system): It's only ever used
8509         in a boolean sense, so just make it a boolean, and fix the doc.
8510         (rmail-show-mime-function, rmail-mime-feature)
8511         (rmail-require-mime-maybe): Doc fixes.
8512         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8514         * mail/rmailmm.el (rmail-show-mime): Doc fix.
8516 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
8518         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8519         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8520         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8521         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8523 2011-11-15  Glenn Morris  <rgm@gnu.org>
8525         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8526         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8527         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8528         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8529         (rmail-mime, rmail-show-mime): Doc fixes.
8531         * term/ns-win.el (mode-line-frame-identification):
8532         Leave it alone.  (Bug#10051)
8534         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
8536         * mail/rmailout.el (rmail-output-to-rmail-buffer):
8537         Handle empty buffers.  (Bug#9978)
8539 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
8541         * international/mule.el (define-charset):
8542         * mail/rmailmm.el (rmail-mime-find-header-encoding):
8543         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8544         * progmodes/verilog-mode.el (verilog-backward-token):
8545         * textmodes/ispell.el (lookup-words):
8546         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8548 2011-11-14  Glenn Morris  <rgm@gnu.org>
8550         * progmodes/executable.el
8551         (executable-make-buffer-file-executable-if-script-p):
8552         Handle file-modes returning nil.
8554         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8555         message - not necessary, and causes problems.  (Bug#9831)
8557         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8559         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8561         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8562         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
8563         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8565 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
8567         * window.el (window-resize, delete-window): Use window-splits
8568         variable instead of function.
8569         (window-state-get-1, window-state-put-2, window-state-put):
8570         Don't deal with windows' splits status.
8572 2011-11-12  Glenn Morris  <rgm@gnu.org>
8574         * apropos.el (apropos-do-all, apropos-library, apropos-value)
8575         (apropos-documentation): Doc fixes.
8577 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
8579         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8580         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8582 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8584         * electric.el (electric-indent-post-self-insert-function): Make it
8585         possible for a char to only indent in some circumstances.
8586         (electric-indent-mode): Simplify.
8588 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
8590         * window.el (windows-with-parameter): Remove unused function.
8591         (windows-at-side): Rename to window-at-side-list.
8592         (window-check, window-atom-check, window-atom-check-1)
8593         (window-side-check, window-size-ignore, window-size-fixed-1)
8594         (window-in-direction-2): Prefix with "window--".
8595         (window-tree-1): Rename to window--subtree, fix doc-string.
8597 2011-11-11  Glenn Morris  <rgm@gnu.org>
8599         * subr.el (eval-after-load): If FILE is already loaded,
8600         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
8602 2011-11-10  Glenn Morris  <rgm@gnu.org>
8604         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8605         Call svn via vc-svn-command rather than vc-do-command.
8606         (vc-svn-command): Add --non-interactive.  (Bug#9993)
8607         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8609         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8610         Add toggle-read-only.  (Bug#7292)
8611         * files.el (toggle-read-only): Mention that it should only
8612         be used interactively.  (Bug#10006)
8614 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8616         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8617         Adjust regexp for OCaml warnings.
8619         * electric.el (electric-pair-post-self-insert-function): Let user
8620         turn it off buffer-locally (bug#9932).
8622         * progmodes/python.el (python-beginning-of-statement):
8623         Rewrite (bug#2703).
8625         * progmodes/compile.el: Better handle TABs (bug#9749).
8626         (compilation-internal-error-properties)
8627         (compilation-next-error-function): Obey the target buffer's
8628         compilation-error-screen-columns.
8630 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
8632         * progmodes/meta-mode.el: Remove obsolete comments.
8633         (meta-right-comment-regexp, meta-ignore-comment-regexp):
8634         Fix typos in docstrings.
8636 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
8638         * window.el (window-size-fixed-p): Rewrite doc-string.
8639         (window-resizable-p): Rename to window--resizable-p.  Update callers.
8640         (window--resizable): New function.  Make all callers of
8641         window-resizable call window--resizable instead.
8642         (window-resizable): Rewrite in terms of window--resizable.
8644 2011-11-08  Glenn Morris  <rgm@gnu.org>
8646         * progmodes/delphi.el (delphi-mode-syntax-table):
8647         Let define-derived-mode define a proper syntax table.  (Bug#9994)
8649 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8651         * window.el: Stay away from defsubst.
8652         (window-list-no-nils): Remove.
8653         (window-state-get-1, window-state-get): Use backquote instead.
8655 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8657         * emacs-lisp/find-func.el (find-function-read):
8658         Fix incorrect use of default argument in `completing-read'.
8660 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
8662         * window.el (display-buffer-function, special-display-function):
8663         Mention display-buffer-record-window but do not mention
8664         help-setup parameter in doc-strings.
8665         (window-min-delta): Fix doc-string typo.
8667 2011-11-08  Chong Yidong  <cyd@gnu.org>
8669         * window.el (window-total-height, window-total-width): Doc fix.
8670         (window-body-size): Move from C.
8671         (window-body-height, window-body-width): Move to C.
8673 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8675         * window.el: Make special-display like display-buffer-alist (bug#9532).
8676         (display-buffer--special-action): New function, morphed
8677         from display-buffer--special.
8678         (display-buffer): Use it to handle special-display-buffers at higher
8679         priority (just after display-buffer-alist).
8680         (display-buffer-fallback-action, display-buffer--other-frame-action)
8681         (pop-to-buffer-same-window): Remove display-buffer--special.
8683 2011-11-07  Glenn Morris  <rgm@gnu.org>
8685         * calendar/cal-menu.el (cal-menu-set-date-title):
8686         Do nothing if not in a calendar.  (Bug#9976)
8688 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8690         * files.el (find-file): Always use selected-window.
8692 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
8694         * window.el (window-combinations): Make WINDOW argument
8695         mandatory.  Rewrite doc-string.
8696         (walk-window-subtree, window-atom-check, window-min-delta)
8697         (window-max-delta, window--resize-this-window)
8698         (window--resize-root-window-vertically, window-tree)
8699         (balance-windows, window-state-put): Rewrite doc-strings as to
8700         not mention the term "subwindow".
8701         (window--resize-subwindows-skip-p): Rename to
8702         window--resize-child-windows-skip-p.
8703         (window--resize-subwindows-normal): Rename to
8704         window--resize-child-windows-normal.
8705         (window--resize-subwindows): Rename to
8706         window--resize-child-windows.
8707         (window-or-subwindow-p): Rename to window--in-subtree-p.
8709 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8711         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8712         Ensure that mbox format messages end in two newlines (Bug#9974).
8714 2011-11-06  Chong Yidong  <cyd@gnu.org>
8716         * window.el (window-combination-p): Function deleted; its
8717         side-effect is not used in any existing code.
8718         (window-combinations, window-combined-p): Call window-*-child
8719         directly.
8721 2011-11-05  Chong Yidong  <cyd@gnu.org>
8723         * window.el (window-valid-p): Rename from window-any-p.
8724         (window-size-ignore, window-state-get): Callers changed.
8725         (window-normalize-window): Rename from window-normalize-any-window.
8726         New arg LIVE-ONLY, replacing window-normalize-live-window.
8727         (window-normalize-live-window): Delete.
8728         (window-combination-p, window-combined-p, window-combinations)
8729         (walk-window-subtree, window-atom-root, window-min-size)
8730         (window-sizable, window-sizable-p, window-size-fixed-p)
8731         (window-min-delta, window-max-delta, window-resizable)
8732         (window-resizable-p, window-full-height-p, window-full-width-p)
8733         (window-current-scroll-bars, window-point-1, set-window-point-1)
8734         (window-at-side-p, window-in-direction, window-resize)
8735         (adjust-window-trailing-edge, maximize-window, minimize-window)
8736         (window-deletable-p, delete-window, delete-other-windows)
8737         (record-window-buffer, unrecord-window-buffer)
8738         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8739         (quit-window, split-window, window-state-put)
8740         (set-window-text-height, fit-window-to-buffer)
8741         (shrink-window-if-larger-than-buffer): Callers changed.
8743 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
8745         * mail/rmail.el (rmail-simplified-subject): Decode subject with
8746         rfc2047-decode-string.
8747         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8748         warnings.
8750         * window.el (window-body-height, window-body-width): Mention in
8751         the doc string that the return values are in frame's canonical
8752         units.  (Bug#9949)
8754 2011-11-03  Alan Mackenzie  <acm@muc.de>
8756         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8757         change in cc-engine.el.
8759 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8761         * window.el (switch-to-buffer): Use `force-same-window' interactively.
8763 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
8765         * window.el (quit-window): Call unrecord-window-buffer after
8766         showing another buffer in the window.  (Bug#9937)
8767         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8769 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
8771         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8772         Accept status with more than 9 shelves.  (Bug#9935)
8773         Reported by Colin D Bennett <colin@gibibit.com>.
8775 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
8777         * help.el (with-help-window): Don't reference
8778         temp-buffer-show-specifiers in doc-string.
8780 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
8782         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8783         menu-item.
8785 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8787         * whitespace.el: New version 13.2.2.
8788         (whitespace-newline-mode): Disable properly.  Reported by Sarah
8789         <EmacsWiki>.
8791 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
8793         * net/newst-treeview.el: Remove "Time-stamp".
8794         (newsticker--group-manage-orphan-feeds): Do not call
8795         newsticker--treeview-tree-update.
8796         (newsticker-treeview-update, newsticker-treeview):
8797         Call newsticker--treeview-tree-update if necessary.
8799 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
8801         * window.el (window-iso-combination-p, window-iso-combined-p)
8802         (window-iso-combinations): Remove "iso-" infix.
8803         Suggested by Chong Yidong.
8804         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8805         (window-max-delta-1, window-resize, window--resize-siblings)
8806         (window--resize-this-window, adjust-window-trailing-edge)
8807         (split-window, balance-windows-1)
8808         (shrink-window-if-larger-than-buffer):
8809         * calendar/calendar.el (calendar-generate-window):
8810         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8812 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8814         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8815         in place (bug#9907).
8816         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8817         (eshell-rewrite-if-command, eshell-rewrite-for-command)
8818         (eshell-structure-basic-command, eshell-rewrite-while-command)
8819         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8820         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8821         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8822         (eshell-do-pipelines-synchronously, eshell-eval-command):
8823         Use backquotes and prefer setq to set.
8824         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8825         (eshell-macrop): Use functionp.
8826         (eshell-do-eval): Handle multiple expressions in `while' body.
8828 2011-10-30  Chong Yidong  <cyd@gnu.org>
8830         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8831         instead of set-mark (Bug#9810).
8833 2011-10-30  Chong Yidong  <cyd@gnu.org>
8835         * window.el (split-window-below, split-window-right): Rename from
8836         split-window-above-each-other and split-window-side-by-side
8837         respectively.  All callers changed.
8838         (split-window-sensibly, split-window-sensibly): Use them.
8839         (split-window-keep-point): Doc fix.
8841         * isearch.el: Add isearch-scroll property to split-window-below
8842         and split-window-right.
8844         * follow.el (follow-mode):
8845         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8846         * progmodes/ada-xref.el (ada-gdb-application):
8847         * emulation/vip.el (vip-buffer-in-two-windows):
8848         * image-dired.el (image-dired-dired-with-window-configuration):
8849         * dired-x.el (dired-do-find-marked-files):
8850         * dired.el (dired-pop-to-buffer):
8851         * bs.el (bs--show-with-configuration):
8852         * vc/emerge.el (emerge-setup-windows):
8853         * textmodes/two-column.el (2C-two-columns):
8854         * textmodes/reftex-toc.el (reftex-toc):
8855         * progmodes/gdb-mi.el (gdb-setup-windows):
8856         * progmodes/fortran.el (fortran-window-create):
8857         * net/newst-treeview.el (newsticker--treeview-window-init):
8858         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8859         * emulation/tpu-edt.el (tpu-gold-map):
8860         * emulation/crisp.el (crisp-mode-map):
8861         * calendar/calendar.el (calendar-basic-setup): Callers changed.
8863 2011-10-29  Chong Yidong  <cyd@gnu.org>
8865         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8867         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8869         * textmodes/flyspell.el (flyspell-word): Fix char offset for
8870         forged Ispell output (Bug#7904).
8872         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8874 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8876         * doc-view.el: Avoid ugly errors about not finding nil.
8877         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8878         (doc-view-dvipdf-program, doc-view-unoconv-program)
8879         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8880         Avoid nil or absolute file name as default value.
8881         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8883 2011-10-28  Alan Mackenzie  <acm@muc.de>
8885         * progmodes/cc-defs.el (c-version): -> 5.32.2.
8887 2011-10-28  Alan Mackenzie  <acm@muc.de>
8889         Amend the handling of c-beginning/end-of-defun in nested declaration
8890         scopes.
8892         * progmodes/cc-vars.el (c-defun-tactic): Move here from
8893         cc-langs.el.  Change it to a defcustom.
8895         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8896         cc-vars.el.
8898         * progmodes/cc-engine.el (c-beginning-of-statement-1):
8899         Prevent "class foo : bar" being spuriously recognized as a label.
8901         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8902         Add parameter `inclusive' (to include enclosing braces in the region).
8903         (c-widen-to-enclosing-decl-scope): New function.
8904         (c-while-widening-to-decl-block): New macro.
8905         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8906         outward for defun boundaries, and correspondingly change symbol
8907         `respect-enclosure' to `go-outward'.
8908         (c-declaration-limits): Change algorithm to report only the "innermost"
8909         defun's boundaries.
8911 2011-10-28  Deniz Dogan  <deniz@dogan.se>
8913         * net/rcirc.el (rcirc-mode): Use hard newlines.
8915 2011-10-28  Alan Mackenzie  <acm@muc.de>
8917         Amend to indent and fontify macros "which include their own semicolon"
8918         correctly, using the "virtual semicolon" mechanism.
8920         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8922         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8923         Recode to scan one line at a time rather than having \n and \r
8924         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8925         (c-forward-label): Amend for virtual semicolons.
8926         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8928         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8929         of the new C macros.
8931         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8932         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8933         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8934         (c-opt-cpp-macro-define): Make into a full language variable.
8935         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8936         AWK Mode (including \n, \r) removed, no longer needed.
8938         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8939         Invoke c-make-macro-with-semi-re.
8941         * progmodes/cc-vars.el (c-macro-with-semi-re):
8942         (c-macro-names-with-semicolon): New variables.
8943         (c-make-macro-with-semi-re): New function.
8945 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8947         * vc/log-edit.el: Fill empty field rather than adding new one.
8948         (log-edit-add-field): New function.
8949         (log-edit-insert-changelog): Use it.
8951 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
8953         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8955 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8957         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8958         (gdb--check-interpreter): New function.
8959         (gdb): Use it.
8961 2011-10-27  Glenn Morris  <rgm@gnu.org>
8963         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8964         (least-positive-float, least-negative-float)
8965         (least-positive-normalized-float, least-negative-normalized-float)
8966         (float-epsilon, float-negative-epsilon):
8967         Remove unnecessary declarations.
8969         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8970         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8971         (least-positive-float, least-negative-float)
8972         (least-positive-normalized-float, least-negative-normalized-float)
8973         (float-epsilon, float-negative-epsilon): Add doc-strings,
8974         based on those in cl.texi.
8976         * files.el (set-visited-file-name): If the major-mode changed,
8977         reload the local variables.  (Bug#9796)
8979 2011-10-27  Chong Yidong  <cyd@gnu.org>
8981         * subr.el (change-major-mode-after-body-hook): New hook.
8982         (run-mode-hooks): Run it.
8984         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8985         Use change-major-mode-before-body-hook.
8987         * simple.el (fundamental-mode):
8988         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8989         change introducing fundamental-mode-hook.
8991 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
8993         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8995 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
8997         * ido.el (ido-file-name-all-completions-1): Do not require
8998         tramp.el explicitly.  (Bug#7583)
9000 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9002         * progmodes/octave-mod.el:
9003         * progmodes/octave-inf.el: Update maintainer.
9005 2011-10-26  Chong Yidong  <cyd@gnu.org>
9007         * subr.el (with-wrapper-hook): Rewrite doc.
9009 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
9011         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9012         filenames "/method:foo:".  (Bug#9793)
9014 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9016         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9017         (bug#9865).
9019 2011-10-24  Glenn Morris  <rgm@gnu.org>
9021         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
9023 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
9025         * notifications.el: Add the requirement of a running D-Bus session
9026         bus to the Commentary.
9028 2011-10-24  Juri Linkov  <juri@jurta.org>
9030         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9031         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9032         (Bug#9364)
9034 2011-10-24  Juri Linkov  <juri@jurta.org>
9036         * info.el (Info-following-node-name-re): Add newline to the list
9037         of allowed characters for leading space.  (Bug#9824)
9039 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9041         * progmodes/octave-inf.el (inferior-octave-mode-map):
9042         Fix C-c C-h binding.
9043         * progmodes/octave-mod.el (octave-help): Remove.
9045 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
9047         Sync with Tramp 2.2.3.
9049         * net/tramp-cache.el (top): Pacify byte-compiler using
9050         `init-file-user' and `site-run-file'.
9052         * net/trampver.el: Update release number.
9054 2011-10-23  Chong Yidong  <cyd@gnu.org>
9056         * files.el (toggle-read-only): Remove obsolete comment about
9057         version control.
9059         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9060         for toggle-read-only.  Note that this hasn't called vc-next-action
9061         since 2008-05-02, though it wasn't documented at the time.
9063         * vc/ediff-init.el (ediff-toggle-read-only-function):
9064         Use toggle-read-only.
9066 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
9068         Fix bug #9560, sporadic wrong indentation; improve instrumentation
9069         of c-parse-state.
9071         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9072         correct faulty logical expression.
9073         (c-parse-state-state, c-record-parse-state-state):
9074         (c-replay-parse-state-state): New defvar/defuns.
9075         (c-debug-parse-state): Use new functions.
9077 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
9079         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9080         last fix.  Use window-in-direction correctly.
9082 2011-10-21  Chong Yidong  <cyd@gnu.org>
9084         * progmodes/idlwave.el (idlwave-mode):
9085         * progmodes/vera-mode.el (vera-mode): No need to set
9086         require-final-newline; that's done in prog-mode.
9087         Suggested by Stefan Monnier.
9089 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
9091         * mouse.el (mouse-drag-window-above)
9092         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9093         (mouse-drag-mode-line-1, mouse-drag-header-line)
9094         (mouse-drag-vertical-line-rightward-window): Remove.
9095         (mouse-drag-line): New function.
9096         (mouse-drag-mode-line, mouse-drag-header-line)
9097         (mouse-drag-vertical-line): Call mouse-drag-line.
9098         * window.el (window-at-side-p, windows-at-side): New functions.
9100 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
9102         * tar-mode.el (tar-grind-file-mode):
9103         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
9105 2011-10-21  Chong Yidong  <cyd@gnu.org>
9107         * progmodes/idlwave.el (idlwave-mode):
9108         * progmodes/vera-mode.el (vera-mode):
9109         Use mode-require-final-newline.
9111 2011-10-20  Glenn Morris  <rgm@gnu.org>
9113         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
9115 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
9117         * emulation/cua-base.el (cua-set-mark): Fix case of string.
9119 2011-10-20  Chong Yidong  <cyd@gnu.org>
9121         * emulation/cua-base.el (cua-mode):
9122         * mail/footnote.el (footnote-mode):
9123         * mail/mailabbrev.el (mail-abbrevs-mode):
9124         * net/xesam.el (xesam-minor-mode):
9125         * progmodes/bug-reference.el (bug-reference-mode):
9126         * progmodes/cap-words.el (capitalized-words-mode):
9127         * progmodes/compile.el (compilation-minor-mode)
9128         (compilation-shell-minor-mode):
9129         * progmodes/gud.el (gud-tooltip-mode):
9130         * progmodes/hideif.el (hide-ifdef-mode):
9131         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9132         * progmodes/subword.el (subword-mode):
9133         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9134         * progmodes/which-func.el (which-function-mode):
9135         * term/tvi970.el (tvi970-set-keypad-mode):
9136         * term/vt100.el (vt100-wide-mode):
9137         * textmodes/flyspell.el (flyspell-mode):
9138         * textmodes/ispell.el (ispell-minor-mode):
9139         * textmodes/nroff-mode.el (nroff-electric-mode):
9140         * textmodes/paragraphs.el (use-hard-newlines):
9141         * textmodes/refill.el (refill-mode):
9142         * textmodes/reftex.el (reftex-mode):
9143         * textmodes/rst.el (rst-minor-mode):
9144         * textmodes/sgml-mode.el (html-autoview-mode)
9145         (sgml-electric-tag-pair-mode):
9146         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9147         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9148         * emulation/crisp.el (crisp-mode):
9149         * emacs-lisp/eldoc.el (eldoc-mode):
9150         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9151         minor mode behavior.
9153 2011-10-19  Juri Linkov  <juri@jurta.org>
9155         * descr-text.el (describe-char): Add #x2010 and #x2011 to
9156         the list of hard-coded chars with escape-glyph face.
9158 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9160         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9162 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
9164         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9165         running process.
9167 2011-10-19  Glenn Morris  <rgm@gnu.org>
9169         * vc/vc-bzr.el (vc-bzr-after-dir-status):
9170         Ignore ignored files.  (Bug#9726)
9172 2011-10-19  Chong Yidong  <cyd@gnu.org>
9174         Doc fix for minor modes, stating that an omitted argument enables
9175         the mode unconditionally when called from Lisp.
9177         * abbrev.el (abbrev-mode):
9178         * allout.el (allout-mode):
9179         * autoinsert.el (auto-insert-mode):
9180         * autoarg.el (autoarg-mode, autoarg-kp-mode):
9181         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9182         (global-auto-revert-mode):
9183         * battery.el (display-battery-mode):
9184         * composite.el (global-auto-composition-mode)
9185         (auto-composition-mode):
9186         * delsel.el (delete-selection-mode):
9187         * desktop.el (desktop-save-mode):
9188         * dired-x.el (dired-omit-mode):
9189         * dirtrack.el (dirtrack-mode):
9190         * doc-view.el (doc-view-minor-mode):
9191         * double.el (double-mode):
9192         * electric.el (electric-indent-mode, electric-pair-mode):
9193         * emacs-lock.el (emacs-lock-mode):
9194         * epa-hook.el (auto-encryption-mode):
9195         * follow.el (follow-mode):
9196         * font-core.el (font-lock-mode):
9197         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9198         * help.el (temp-buffer-resize-mode):
9199         * hilit-chg.el (highlight-changes-mode)
9200         (highlight-changes-visible-mode):
9201         * hi-lock.el (hi-lock-mode):
9202         * hl-line.el (hl-line-mode, global-hl-line-mode):
9203         * icomplete.el (icomplete-mode):
9204         * ido.el (ido-everywhere):
9205         * image-file.el (auto-image-file-mode):
9206         * image-mode.el (image-minor-mode):
9207         * iswitchb.el (iswitchb-mode):
9208         * jka-cmpr-hook.el (auto-compression-mode):
9209         * linum.el (linum-mode):
9210         * longlines.el (longlines-mode):
9211         * master.el (master-mode):
9212         * mb-depth.el (minibuffer-depth-indicate-mode):
9213         * menu-bar.el (menu-bar-mode):
9214         * minibuf-eldef.el (minibuffer-electric-default-mode):
9215         * mouse-sel.el (mouse-sel-mode):
9216         * msb.el (msb-mode):
9217         * mwheel.el (mouse-wheel-mode):
9218         * outline.el (outline-minor-mode):
9219         * paren.el (show-paren-mode):
9220         * recentf.el (recentf-mode):
9221         * reveal.el (reveal-mode, global-reveal-mode):
9222         * rfn-eshadow.el (file-name-shadow-mode):
9223         * ruler-mode.el (ruler-mode):
9224         * savehist.el (savehist-mode):
9225         * scroll-all.el (scroll-all-mode):
9226         * scroll-bar.el (scroll-bar-mode):
9227         * server.el (server-mode):
9228         * shell.el (shell-dirtrack-mode):
9229         * simple.el (auto-fill-mode, transient-mark-mode)
9230         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9231         (line-number-mode, column-number-mode, size-indication-mode)
9232         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9233         * strokes.el (strokes-mode):
9234         * time.el (display-time-mode):
9235         * t-mouse.el (gpm-mouse-mode):
9236         * tool-bar.el (tool-bar-mode):
9237         * tooltip.el (tooltip-mode):
9238         * type-break.el (type-break-mode-line-message-mode)
9239         (type-break-query-mode):
9240         * view.el (view-mode):
9241         * whitespace.el (whitespace-mode, whitespace-newline-mode)
9242         (global-whitespace-mode, global-whitespace-newline-mode):
9243         * xt-mouse.el (xterm-mouse-mode): Doc fix.
9245         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9246         Fix autogenerated docstring.
9248 2011-10-19  Juri Linkov  <juri@jurta.org>
9250         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9251         by checking environment variables "DESKTOP_SESSION" and
9252         "XDG_CURRENT_DESKTOP".  (Bug#9779)
9254 2011-10-19  Juri Linkov  <juri@jurta.org>
9256         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9257         (browse-url-chromium-program, browse-url-chromium-arguments):
9258         New defcustoms.
9259         (browse-url-default-browser): Check for `browse-url-chromium' and
9260         call `browse-url-chromium-program'.
9261         (browse-url-chromium): New command.  (Bug#9779)
9263 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
9265         * facemenu.el (list-colors-duplicates): On Windows, detect more
9266         duplicates by assuming that only colors matching "^System" are
9267         special "system colors".  (Bug#9722)
9269 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9271         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9272         to distinguish the author from the committer.
9274 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
9276         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9278 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
9280         * international/mule.el (sgml-html-meta-auto-coding-function):
9281         Add support for detecting encoding in HTML5 specified only as
9282         <meta charset="UTF-8">.  Implementation just makes http-equiv and
9283         content-type parts from HTML4 encoding string optional.  (Bug#9716)
9285 2011-10-18  Glenn Morris  <rgm@gnu.org>
9287         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
9289 2011-10-18  Chong Yidong  <cyd@gnu.org>
9291         * faces.el (cursor): Doc fix.
9293 2011-10-17  Chong Yidong  <cyd@gnu.org>
9295         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9297 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
9299         * dirtrack.el (dirtrack): Support shell buffers with path
9300         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
9302 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
9304         * json.el: Bump version to 1.3 and note change in History.
9305         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9307 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9309         * comint.el (comint-insert-input, comint-send-input)
9310         (comint-get-old-input-default, comint-backward-matching-input)
9311         (comint-next-prompt): Use nil instead of `input' for field property of
9312         past user input (bug#114).
9314         * minibuffer.el (completion--replace): Inherit surrounding properties
9315         (bug#114).
9316         (minibuffer-complete-and-exit): Use it.
9318         * comint.el (comint--table-subvert): Quote the all-completions output
9319         (bug#9160).
9321 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
9323         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9325         * menu-bar.el (menu-bar-file-menu): Add entry for making new
9326         window on right of selected.  (Bug#9350) Reword other window
9327         entries and separate them from frame entries.
9329 2011-10-15  Glenn Morris  <rgm@gnu.org>
9331         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9332         Doc fixes.
9334 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
9336         * net/network-stream.el (network-stream-open-starttls):
9337         Improve detection of failure due to lack of TLS support.
9339         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9340         putting the input text in front and in bold.
9342 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9344         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9346         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9347         empty buffer.
9349         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9350         unread-command-events rather than pushing yet-another event.
9352 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
9354         * mail/sendmail.el (sendmail-query-once): Improve the wording of
9355         the explanation of the possible choices.  Make the options passed
9356         to completing-read shorter.
9358 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9360         * textmodes/flyspell.el (flyspell-large-region): Make sure
9361         extended character mode is used if defined (Bug#1339).
9363 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
9365         * simple.el (what-cursor-position): Fix the display of the
9366         character info for LRE, LRO, RLE, and RLO characters by appending
9367         an invisible PDF.
9369 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9371         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9372         even in case of error; add debug spec; simplify data flow.
9373         (with-timeout-handler): Remove.
9375 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
9377         Fix Bug#6019, Bug#9315.
9379         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9380         complete `buffer-file-name', the local file name part could look
9381         remotely (for example on VMS).
9383         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9384         `tramp-run-real-handler'.
9385         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9386         already quoted by '"'.
9388         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9389         Let `file-name-handler-alist' be nil, the local file name part
9390         could look remotely (for example on VMS).
9392 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9394         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9395         from here...
9396         (flyspell-post-command-hook): ...to here.
9398 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9400         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9401         if not needed.
9402         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
9403         using completion.  Protect against "slow" callers.
9404         Remove the "message hack".
9406 2011-10-11  Juri Linkov  <juri@jurta.org>
9408         * isearch.el (isearch-lazy-highlight-word): New variable.
9409         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9410         Use it.  (Bug#9727)
9412 2011-10-11  Glenn Morris  <rgm@gnu.org>
9414         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9415         like f90-previous-statement does.
9417 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9419         * eshell/eshell.el (eshell-command): History should be saved
9420         only in interactive use, to avoid error.
9422 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9424         * minibuffer.el (completion-file-name-table): Fix last change,
9425         i.e. ignore normal errors but not the other ones.
9427 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
9429         * window.el (special-display-buffer-names)
9430         (special-display-regexps): Remove some remnants of earlier
9431         changes from doc-strings.
9432         (quit-windows-on): New function.
9434         * vc/vc.el (vc-revert, vc-rollback):
9435         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9436         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
9437         (Bug#6183) (Bug#7074) (Bug#7447)
9439 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
9441         * window.el (frame-auto-hide-function): Add version tag.
9442         (Bug#9699)
9444 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
9446         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9447         condition.
9449 2011-10-09  Leo Liu  <sdl.web@gmail.com>
9451         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9452         (Bug#9701)
9454 2011-10-08  Glenn Morris  <rgm@gnu.org>
9456         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9457         before the first code statement zero indent.  (Bug#9690)
9459 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
9461         * simple.el (count-words-region): Always count in the region.
9462         Report the number of lines and characters too.
9463         (count-words): New command, which counts in the buffer if the
9464         region is inactive, as count-words-region used to.
9465         (count-words--message): New function.  Handle plurals.
9466         (count-lines-region): Make it an alias for count-words-region.
9468         * bindings.el (esc-map): Replace count-lines-region with
9469         count-words-region.
9471 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
9473         * window.el (window--delete): Delete dedicated frame
9474         unconditionally when argument KILL is non-nil.  (Bug#9699)
9475         (switch-to-buffer): Fix doc-string typo.
9477 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9479         * eshell/eshell.el (eshell-command): Avoid using hooks.
9481 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
9483         * bindings.el ([M-left],[M-right]): Bind to left-word and
9484         right-word respectively.
9486 2011-10-07  Glenn Morris  <rgm@gnu.org>
9488         * cus-start.el (debug-on-quit): Fix custom type.
9490 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9492         * subr.el (define-key-after): Clarify that the function is not
9493         useful for non-menu keymaps.
9495         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9497 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9499         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9500         in current minibuffer (Fix bug with recursive minibuffers).
9502 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
9504         * progmodes/gdb-mi.el (gdb): Doc fix.
9506 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
9508         * window.el (frame-auto-hide-function): New option replacing
9509         frame-auto-delete.  Suggested by Stefan Monnier.
9510         (window--delete): Call frame-auto-hide-function instead of
9511         investigating frame-auto-delete.
9512         (window-point-1, set-window-point-1): New functions.
9513         (window-in-direction, record-window-buffer, window-state-get-1)
9514         (display-buffer-record-window): Use window-point-1 instead of
9515         window-point.
9516         (set-window-buffer-start-and-point): Use set-window-point-1.
9518 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9520         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9522 2011-10-05  Glenn Morris  <rgm@gnu.org>
9524         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9525         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
9527 2011-10-05  Leo Liu  <sdl.web@gmail.com>
9529         * subr.el (read-char-choice): Fix argument to buffer-live-p which
9530         works with buffer object.
9532 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9534         * mpc.el (mpc-tool-bar-map): Add labels.
9536 2011-10-04  Glenn Morris  <rgm@gnu.org>
9538         * calendar/holidays.el (calendar-check-holidays): Doc fix.
9540 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
9542         * window.el (window--delete): New function.
9543         (frame-auto-delete): Resuscitate option.
9544         (bury-buffer, replace-buffer-in-windows)
9545         (quit-window): Rewrite using window--delete.
9546         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9547         Pass display-buffer-mark-dedicated to window--display-buffer-2
9548         (Bug#9639).
9550 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9552         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9553         returns a list (bug#9554).  Add remote file name completion.
9554         * comint.el (comint--table-subvert): Curry and get quote&unquote
9555         functions as arguments.
9556         (comint--complete-file-name-data): Adjust call accordingly.
9557         * pcomplete.el (pcomplete--table-subvert): Remove.
9558         (pcomplete-completions-at-point): Use comint--table-subvert instead.
9560         * minibuffer.el (completion-table-case-fold): Use currying.
9561         (completion--styles-type, completion--cycling-threshold-type):
9562         New constants.
9563         (completion-styles, completion-category-overrides)
9564         (completion-cycle-threshold): Use them.
9565         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9566         completion-table-case-fold.
9568 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
9570         * minibuffer.el (completion-category-overrides): Fix type of styles
9571         and add more user friendly tags (bug#9660).
9573 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9575         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9576         (mule-input-method-string): New widget.
9577         (default-input-method, language-info-custom-alist): Use it.
9579 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9581         * pcomplete.el: Require comint.
9582         (pcomplete--common-suffix): Remove.
9583         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9584         (pcomplete--table-subvert): Sync with comint--table-subvert.
9585         (pcomplete--entries): Use comint-completion-file-name-table.
9586         * comint.el (comint-unquote-filename): Simplify.
9587         (comint-completion-file-name-table): New function (bug#9616).
9588         (comint--complete-file-name-data): Use it.
9590         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9591         (pcmpl-gnu-tar-buffer): Remove.
9592         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9593         around.  Make sure pcomplete-suffix-list is only changed temporarily.
9594         Don't look inside the tar's file if it's too large.
9596 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
9598         * cus-edit.el (custom-mode-map):
9599         * epa.el (epa-key-list-mode-map):
9600         * man.el (Man-mode-map):
9601         * startup.el (splash-screen-keymap):
9602         * simple.el (special-mode-map): Use scroll-up-command and
9603         scroll-down-command.
9605         * progmodes/idlw-help.el (idlwave-help-mode-map):
9606         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9607         * net/newst-plainview.el (newsticker-mode-map):
9608         * emulation/ws-mode.el (wordstar-mode-map):
9609         * emulation/vi.el (vi-com-map):
9610         * calc/calc-graph.el (calc-graph-show-dumb):
9611         * term/sun.el (terminal-init-sun):
9612         * term/ns-win.el (global-map):
9613         * progmodes/grep.el (grep-mode-map):
9614         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9615         * mail/rmail.el (rmail-mode-map):
9616         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9618         * custom.el (custom-safe-themes, load-theme): Treat value of t for
9619         custom-safe-themes as special.
9621 2011-10-01  Julien Danjou  <julien@danjou.info>
9623         * notifications.el (notifications-notify): Fix docstring.
9625 2011-10-01  Per Starbäck  <per@starback.se>
9627         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
9629 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
9631         * startup.el (command-line-1): Fix last fix by inserting
9632         initial-scratch-message into *scratch* before displaying it.
9633         (Bug#9605) and (Bug#9636)
9635 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
9637         * simple.el (line-move): If auto-hscroll-mode is disabled and the
9638         window is hscrolled, move by logical lines.  (Bug#9607)
9639         (line-move-visual): Update the doc string to the above effect.
9641 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
9643         * window.el (display-buffer-record-window): When WINDOW is the
9644         selected window use `point' instead of `window-point'.  (Bug#9626)
9646         * startup.el (command-line-1): Use insert-before-markers when
9647         inserting initial-scratch-message.  (Bug#9605)
9649         * help.el (help-window): Remove variable.
9651 2011-09-29  Glenn Morris  <rgm@gnu.org>
9653         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9655 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
9657         * descr-text.el (describe-char-categories): Accept category
9658         descriptions more than one line long.
9660 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9662         * simple.el (delete-trailing-whitespace): Fix last change.
9664         * progmodes/perl-mode.el (perl-syntax-propertize-function):
9665         Don't confuse "y => 3" as the beginning of a `y' operation.
9667         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9668         object has more than 4 slots (bug#9613).
9670 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
9672         * subr.el (with-output-to-temp-buffer):
9673         * net/quickurl.el (quickurl, quickurl-browse-url):
9674         Fix typos in docstrings.
9676 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
9678         * minibuffer.el (completion-styles)
9679         (completion-category-overrides): Cross reference each other in doc
9680         strings.
9682 2011-09-27  Glenn Morris  <rgm@gnu.org>
9684         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9685         to split-string.  (Bug#9606)
9687 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9689         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9690         (bug#9615).
9692 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
9694         * emacs-lisp/package.el (list-packages): Fix echo area message.
9696 2011-09-27  Leo Liu  <sdl.web@gmail.com>
9698         * ido.el (ido-read-internal): Accept cons cell HIST arg.
9700 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
9702         * net/dbus.el (dbus-unregister-object): Don't release services for
9703         registered signals.  (Bug#9581)
9705 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
9707         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9708         function that picks between cfengine 2 and 3 support
9709         automatically.  Update docs accordingly.
9711 2011-09-22  Kenichi Handa  <handa@m17n.org>
9713         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9714         ZERO.
9715         (indian-itrans-v5-table-for-tamil): New variable.
9716         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9718 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
9720         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9721         that's true if the current command involved collapsing of text.
9722         It's reset to false at the beginning of the next command.
9723         (allout-post-command-business): Move the cursor to the beginning
9724         of entry if the cursor is hidden and collapsing activity just
9725         happened.
9727 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
9729         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9730         tracking (Bug#9541).
9732 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
9734         * net/newst-reader.el (newsticker-html-renderer)
9735         (newsticker-show-news): Automatically load html rendering package
9736         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
9737         because w3m-fill-column is let-bound" and the error "Symbol's value
9738         as variable is void: w3m-fill-column".
9740 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
9742         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9743         Release services only if they are defined.  (Bug#9581)
9745 2011-09-23  Richard Stallman  <rms@gnu.org>
9747         * textmodes/paragraphs.el (forward-sentence): For backwards case,
9748         distinguish start of paragraph from start of its text.
9750         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9752         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9753         (rmail-generate-viewer-buffer): Put that hook on view buffer.
9754         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9756 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
9758         * international/mule-diag.el (mule-diag): Insert a newline after
9759         each fontset description.
9761 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9763         * simple.el (delete-trailing-whitespace):
9764         Document last change; simplify.
9766 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
9768         * simple.el (delete-trailing-whitespace): Also delete
9769         extra newlines at the end of the buffer.
9771         * textmodes/picture.el: Make motion commands obey shift-select-mode.
9772         (picture-newline): Use forward-line so as to ignore fields.
9774 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9776         * subr.el (with-wrapper-hook): Fix edebug spec.
9778 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9780         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9781         (bug#4538).
9783 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
9785         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9786         Fix nasty bug using wrong cached values.
9788 2011-09-23  Alan Mackenzie  <acm@muc.de>
9790         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9792 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
9794         * window.el (pop-to-buffer): Ensure right window is selected if we
9795         chose another frame.
9797 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
9799         * simple.el (what-cursor-position): Use get-char-property-change
9800         and next-single-char-property-change, to be able to show display
9801         properties that come from overlays as well as text properties.
9803 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
9805         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9807         * cmuscheme.el (run-scheme, switch-to-scheme):
9808         * cus-edit.el (customize-group, custom-buffer-create)
9809         (customize-browse):
9810         * info.el (info):
9811         * shell.el (shell):
9812         * mail/sendmail.el (mail):
9813         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9815 2011-09-22  Richard Stallman  <rms@gnu.org>
9817         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9818         move back only to line beg, don't move back over blank lines.
9820 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
9822         * files.el (copy-directory): Set directory attributes only in case
9823         they could be retrieved from the source directory.  (Bug#9565)
9825 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
9827         * progmodes/hideshow.el (hs-looking-at-block-start-p)
9828         (hs-find-block-beginning, hs-hide-level-recursive):
9829         Ignore strings as well as comments.  (Bug#9502)
9831 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
9833         * progmodes/sql.el (sql-comint-postgres):
9834         Convert port number to a string.  (Bug#9566)
9836 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
9838         * window.el (quit-window): Undedicate window when switching to
9839         previous buffer.  Reported by Thierry Volpiatto
9840         <thierry.volpiatto@gmail.com>.
9841         (special-display-popup-frame): When popping up a new frame reset
9842         its previous buffers to nil.  Simplify code.
9844 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
9846         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9847         and process filter, as done also in `shell-command'.
9849 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
9851         * window.el (set-window-buffer-start-and-point):
9852         Call set-window-start with NOFORCE argument t.
9853         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9854         (quit-window): Reword doc-string.  Handle new format of
9855         quit-restore parameter.  Don't delete window if it has a
9856         previous buffer we can show instead of the present one.
9857         (display-buffer-record-window): Rewrite using a new format for
9858         the quit-restore window parameter
9859         (special-display-popup-frame, display-buffer-same-window)
9860         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9861         (display-buffer-pop-up-window, display-buffer-use-some-window):
9862         Adapt symbol passed to display-buffer-record-window.
9863         * help.el (help-window-setup): Handle new format of quit-restore
9864         parameter.
9866 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9868         * faces.el (face-list): Fix docstring (bug#9564).
9870         * window.el (display-buffer--action-function-custom-type):
9871         Don't include internal functions in the Custom interface.
9873 2011-09-20  Juri Linkov  <juri@jurta.org>
9875         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9876         (Info-forward-node, Info-backward-node, Info-next-preorder)
9877         (Info-last-preorder): Use it.  (Bug#9528)
9879 2011-09-20  Juri Linkov  <juri@jurta.org>
9881         * info.el (Info-last-preorder): Visit last menu item only when
9882         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9884 2011-09-20  Julien Danjou  <julien@danjou.info>
9886         * password-cache.el (password-cache-remove): Remove entries even if the
9887         value is nil, so that password with a nil value (negative caching) is
9888         possible to invalidate.
9890 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
9892         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9893         all whitespace around breakpoint.  (Bug#9553)
9894         (f90-find-breakpoint): Only break at whitespace inside a comment.
9896 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9898         * minibuffer.el (completion-file-name-table): Keep track of errors.
9899         (completion-table-with-predicate): Handle the case where pred1 is nil.
9900         * pcomplete.el (pcomplete-completions-at-point): Simplify.
9902 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9904         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9905         (debugger-return-value): Signal an error if the debugging context does
9906         not await any return value.
9908         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9909         * image-mode.el (image-toggle-display-text)
9910         (image-toggle-display-image): Stay away from evil `intangible'.
9912 2011-09-19  Leo Liu  <sdl.web@gmail.com>
9914         * replace.el (occur-revert-arguments): Make it permanent-local.
9915         (occur-mode): Don't call font-lock-defontify.
9917 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
9919         * net/ldap.el (ldap-search-internal): Don't push empty search
9920         result (Bug#9508).
9922 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9924         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9926 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
9928         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9929         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9931 2011-09-18  Juri Linkov  <juri@jurta.org>
9933         * buff-menu.el (Buffer-menu-mode-map):
9934         * dired.el (dired-mode-map):
9935         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9936         (lisp-interaction-mode-map):
9937         * emacs-lisp/package.el (package-menu-mode-map):
9938         * epa.el (epa-key-list-mode-map):
9939         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9940         (menu-bar-options-menu):
9941         * outline.el (outline-mode-menu-bar-map):
9942         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9943         * vc/vc-dir.el (vc-dir-menu-map):
9944         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9945         Capitalize non-function content words in menu item strings.
9947         * dired.el (dired-mode-map): Add menu item for
9948         `image-dired-dired-toggle-marked-thumbs'.
9950 2011-09-18  Juri Linkov  <juri@jurta.org>
9952         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9953         to `isearch-case-fold-search' and restore its original value
9954         after the `isearch-mode' call.
9956 2011-09-18  Juri Linkov  <juri@jurta.org>
9958         * progmodes/grep.el (grep-process-setup): Don't check code for 1
9959         because `zgrep' returns 1 for successful matches (bug#9226).
9961 2011-09-18  Juri Linkov  <juri@jurta.org>
9963         * info.el (Info-extract-menu-node-name): Check the second match
9964         for empty string (second test-case of bug#9528).
9965         (Info-last-preorder): Let-bind `Info-history' to nil to not add
9966         intermediate nodes to the history (first test-case of bug#9528).
9968 2011-09-18  Juri Linkov  <juri@jurta.org>
9970         * info.el (Info-mode-syntax-table): New variable.
9971         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9973 2011-09-18  Juri Linkov  <juri@jurta.org>
9975         * info.el (Info-file-supports-index-cookies):
9976         Increment line-beginning-position's arg from 3 to 4 because makeinfo
9977         outputs one more line for long file names (bug#4142).
9979 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
9981         * newcomment.el (comment-normalize-vars): If prompting for
9982         comment-start, set comment-start-skip too (Bug#8424).
9984 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
9986         * icomplete.el: Fix previous fix of Bug#5849.
9987         (icomplete-mode): Don't set completion-show-inline-help.
9988         (icomplete-minibuffer-setup): Set completion-show-inline-help
9989         locally during icompletion.
9991 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
9993         * woman.el (woman2-process-escapes): Don't delete unrecognized
9994         escapes (Bug#7843).
9996         * files.el (inhibit-first-line-modes-regexps): Add image files.
9997         (hack-local-variables-prop-line): Return nil for malformed
9998         prop-lines (Bug#9044).
10000 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
10002         * net/tramp.el (top): Don't require 'shell.
10003         (tramp-methods): Fix docstring.
10004         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10005         Return complete remote file name.  Handle "smb" case.
10006         Use `tramp-tmpdir', if defined for the respective method.
10007         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10009         * net/tramp-compat.el (top): Require 'shell.
10011         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10012         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10013         `tramp-current-host'.
10014         (tramp-get-remote-tmpdir): Remove.
10016         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10017         `tramp-tmpdir' entries.
10018         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10019         (tramp-smb-handle-file-attributes): Ignore errors.
10020         (tramp-smb-wait-for-output): Check also for process end.
10022 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10024         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10025         when sending QUIT (bug#9312).
10027 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
10029         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10030         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10031         occur-mode-display-occurrence.
10032         (occur-edit-mode): Add usage message.
10033         (occur-cease-edit): New command.
10034         (occur-after-change-function): Use text properties to find the
10035         position of the prefix text.
10036         (occur-engine): Set stickiness of prefix text properties.
10038 2011-09-17  Glenn Morris  <rgm@gnu.org>
10040         * progmodes/etags.el (complete-tag):
10041         Fix call to completion-in-region.  (Bug#9526)
10043 2011-09-17  Juri Linkov  <juri@jurta.org>
10045         * textmodes/ispell.el (ispell-word): Add to the error message
10046         the word, ispell program name and current dictionary (bug#9121).
10047         (ispell-tex-arg-end): Capitalize "error" in the error message.
10049 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
10051         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10052         check.  (Bug#4251)
10054 2011-09-17  Juri Linkov  <juri@jurta.org>
10056         * window.el (window-safe-min-height, window-safe-min-width):
10057         Fix typos (followup to bug#9522).
10059 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
10061         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10063 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
10065         * simple.el (line-move): If goal-column is set, move by logical
10066         lines, not by display lines.  (Bug#971)
10067         (next-line, previous-line, goal-column, line-move-visual): Doc fix
10068         to reflect the above change.
10070 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10072         * image.el (imagemagick-register-types): Use regexp-opt.
10074 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
10076         * window.el (display-buffer-base-action): Rename from
10077         display-buffer-default-action.  Make default value empty.
10078         (display-buffer-overriding-action): Convert to defvar.
10079         (display-buffer-fallback-action): New var.
10081 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
10083         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10084         declaration.
10085         (package--add-to-archive-contents): If there is a duplicate entry
10086         with an older version, remove it.
10087         (package-menu-mark-delete, package-menu-mark-install)
10088         (package-menu-mark-unmark): Make unused args optional.
10089         (package-menu-mark-obsolete-for-deletion):
10090         Use package-menu-get-status instead of a regexp search.
10091         (package-menu-get-status): Use tabulated-list-entry.
10092         (package-menu-mark-upgrades): New command.
10093         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
10094         (package-menu-execute): Do installation before deletion.
10095         (package-menu-refresh, package-menu-execute): Use derived-mode-p
10096         instead of checking major-mode.
10097         (package-menu--find-upgrades): New function.
10099 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10101         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10102         passwords in the log buffer.
10103         (smtpmail-process-filter): Update the process marker so that the
10104         "broken by peer" status message is inserted in the right place.
10106 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10108         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10109         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10110         bibtex-completion-at-point-function.
10111         (bibtex-completion-at-point-function): Use them.
10113         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10115         * mpc.el (mpc-constraints-tag-lookup): New function.
10116         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10117         also to browser "album|playlist".
10119 2011-09-14  Juri Linkov  <juri@jurta.org>
10121         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
10122         (isearch-edit-string): Use length of `isearch-string' when
10123         `isearch-fail-pos' returns nil.
10124         (isearch-message): Remove duplicate code and call
10125         `isearch-fail-pos' with arg `t'.
10127 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
10129         * replace.el (occur-mode-goto-occurrence): Don't force using other
10130         window (Bug#9499).
10132         * dired-aux.el (dired-do-chmod): Don't provide initial input.
10134 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
10136         * window.el (display-buffer-window): Remove.
10137         (display-buffer-record-window): Use help-setup window parameter
10138         instead of variable display-buffer-window.
10139         (display-buffer-function, special-display-buffer-names)
10140         (special-display-function): Mention help-setup parameter instead
10141         of display-buffer-window in doc-string.
10142         * help.el (help-window-setup): New argument help-window.
10143         Use help-window-setup parameter instead of display-buffer-window.
10144         Reword some messages.
10145         (with-help-window): Pass window used for displaying the buffer
10146         to help-window-setup.  Don't set display-buffer-window.
10148 2011-09-13  Glenn Morris  <rgm@gnu.org>
10150         * emacs-lisp/debug.el (debugger-make-xrefs):
10151         Preserve point.  (Bug#9462)
10153 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
10155         * window.el (window-deletable-p): Use next-frame.
10157 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
10159         * window.el (window-auto-delete): Remove.
10160         (window-deletable-p): Remove argument FORCE.  Don't deal with
10161         dedication and previous buffers.
10162         (switch-to-prev-buffer): Don't delete window.
10163         (delete-windows-on): Delete a window's frame if and only if the
10164         window is dedicated.
10165         (replace-buffer-in-windows): Delete buffer's window or frame if
10166         and only if window is dedicated.
10167         (quit-window): Handle quit-restore as before last change.
10168         (bury-buffer): Delete window only if window-deletable-p returns t.
10170 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
10172         * window.el (window-deletable-p): Never delete the last frame on a
10173         given terminal.
10175 2011-09-13  Glenn Morris  <rgm@gnu.org>
10177         * help.el (describe-key-briefly): Copy previous standard-output change.
10179 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
10181         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
10183 2011-09-13  Glenn Morris  <rgm@gnu.org>
10185         * emacs-lisp/lisp-mode.el (lisp-indent-function):
10186         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10188 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
10190         * dired-aux.el (dired-mark-read-string): Don't return default
10191         value on empty input (Bug#9361).
10192         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10193         Omit initial minibuffer contents.
10194         (dired-do-chmod): Signal an error on empty input.
10195         (dired-mark-read-string): Don't return default on empty input.
10197         * files.el (file-modes-symbolic-to-number): Doc fix.
10199 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10201         * international/mule-cmds.el (ucs-completions): Remove.
10202         (read-char-by-name): Use complete-with-action instead; add metadata.
10204 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
10206         * window.el (display-buffer--action-function-custom-type)
10207         (display-buffer--action-custom-type): New vars.
10208         (display-buffer-alist, display-buffer-default-action)
10209         (display-buffer-overriding-action): Add defcustom types.
10211         * frame.el (delete-other-frames): Doc fix (Bug#276).
10213 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10215         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10217 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
10219         Change modes that used same-window-* vars to use switch-to-buffer.
10221         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10222         Use switch-to-buffer.
10224         * cus-edit.el (customize-group, custom-buffer-create)
10225         (customize-browse, custom-buffer-create-other-window):
10226         Use switch-to-buffer or switch-to-buffer-other-window.
10228         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10229         (Info-prev, Info-up, Info-speedbar-goto-node)
10230         (info-display-manual): Use switch-to-buffer.
10231         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10233         * mail/sendmail.el (mail): Use switch-to-buffer.
10234         (mail-recover): Use switch-to-buffer-other-window.
10236         * cmuscheme.el (run-scheme, switch-to-scheme):
10237         * ielm.el (ielm):
10238         * shell.el (shell):
10239         * net/rlogin.el (rlogin):
10240         * net/telnet.el (telnet, rsh):
10241         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10243 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
10245         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10247 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10249         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10250         so don't mention it (bug#9301).
10251         (dired-sort-toggle-or-edit): Clarify string further.
10253         * faces.el (face-spec-set-match-display): Make `(type graphic)'
10254         match `x', `w32' and `ns', like the manual says (bug#9029).
10256         * subr.el (eval-after-load): Doc string clarification (bug#9125).
10257         (process-kill-buffer-query-function): Mention the buffer name in
10258         the query.
10260         * image-mode.el (image-next-line): The line parameter is mandatory
10261         (bug#9258).
10263         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10264         which can be useful (bug#9301).
10266         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10268         * subr.el (match-string): Mention that the current buffer should
10269         be the same as the search was done in (bug#9282).
10271         * facemenu.el: Disable the remove-* commands if the mark isn't
10272         active (bug#9162).
10274 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
10276         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10277         of display-buffer.
10278         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10280         * replace.el (occur-mode-goto-occurrence)
10281         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10282         and display-buffer.
10284         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10285         display-buffer.
10287         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10288         special-display and same-window variables.
10289         (mail-other-window): Use switch-to-buffer-other-window.
10290         (mail-other-frame): USe switch-to-buffer-other-frame.
10292         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10293         Use display-buffer-other-frame.
10294         (gdb-display-gdb-buffer): Use pop-to-buffer.
10296         * progmodes/gud.el (gud-goto-info): Use info-other-window.
10298         * progmodes/python.el: Don't set same-window-buffer-names.
10300         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10302         * window.el (display-buffer-alist): Add *Python*.
10304 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
10306         * window.el (display-buffer-alist): Add entry for buffers
10307         previously handled same-window-*.
10308         (display-buffer-alist, display-buffer-default-action)
10309         (display-buffer-overriding-action): Mark as risky.
10310         (display-buffer-alist): Document action function changes.
10311         (display-buffer--same-window-action)
10312         (display-buffer--other-frame-action): New variables.
10313         (switch-to-buffer, display-buffer-other-frame): Use them.
10314         (display-buffer): Rename reuse-frame entry to reusable-frames.
10315         (display-buffer-reuse-selected-window): Function deleted.
10316         (display-buffer-reuse-window): Handle reusable-frames alist entry.
10317         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10318         (display-buffer-special): New function.
10319         (display-buffer--maybe-pop-up-frame-or-window): Rename from
10320         display-buffer-reuse-or-pop-window.  Split off special-display
10321         part into display-buffer-special.
10322         (display-buffer-use-some-window): Don't perform any special
10323         pop-up-frames handling.
10324         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10325         (display-buffer--maybe-same-window): Rename from
10326         display-buffer-maybe-same-window.
10328         * info.el: Don't set same-window-regexps.
10329         (info-setup): New function.
10330         (info-other-window, info): Call it.
10332         * cus-edit.el: Don't set same-window-regexps.
10333         (customize-group): New argument.
10334         (customize-group-other-window): Use it.
10335         (customize-face, customize-face-other-window): Likewise.
10336         (custom-buffer-create-other-window): Use pop-to-buffer directly.
10338         * net/rlogin.el:
10339         * net/telnet.el:
10340         * progmodes/gud.el: Don't set same-window-regexps.
10342         * cmuscheme.el:
10343         * ielm.el:
10344         * shell.el:
10345         * mail/sendmail.el:
10346         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10348 2011-09-10  Juri Linkov  <juri@jurta.org>
10350         * isearch.el (isearch-edit-string): Remove obsolete mention of
10351         `C-w' (`isearch-yank-word-or-char') from docstring.
10352         (isearch-query-replace): Fix typo in docstring (bug#9466).
10354 2011-09-10  Juri Linkov  <juri@jurta.org>
10356         * paren.el (show-paren-function): Don't show escaped parens.
10357         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
10359 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
10361         * mail/sendmail.el (mml-to-mime, mml-attach-file)
10362         (mm-default-file-encoding): Remove autoload forms, they are
10363         replaced with autoload cookies in mml.el and mm-encode.el.
10364         (mail-add-attachment): New command.
10365         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10366         (mail-mode): Mention mail-insert-file and mail-add-attachment in
10367         the doc string.
10368         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10370 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
10372         * simple.el (count-words-region): Use buffer if there's no region
10373         (bug#9429).
10375 2011-09-09  Juri Linkov  <juri@jurta.org>
10377         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10378         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10379         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
10381 2011-09-09  Alan Mackenzie  <acm@muc.de>
10383         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10384         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
10386 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
10388         Fix for Savannah bug#9392.
10389         * simple.el (mail-encode-mml): New defvar.
10391         * mail/rmail.el (mail-encode-mml): Add a defvar.
10392         (rmail-enable-mime-composing): Default to t.
10393         (rmail-forward): Use MIME method of forwarding only if both
10394         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10395         Set mail-encode-mml non-nil if the MIME method was used.
10397         * mail/sendmail.el (mml-to-mime): Add autoload form.
10398         (mail-encode-mml): Add a defvar.
10399         (mail-mode): Make mail-encode-mml buffer-local and initialize it
10400         to nil.
10401         (mail-send): If mail-encode-mml is non-nil, run the outgoing
10402         message through mml-to-mime, and reset mail-encode-mml to nil.
10404 2011-09-09  Glenn Morris  <rgm@gnu.org>
10406         * woman.el (woman-if-body): When processing an .el block,
10407         do not delete the next .el block as well.  (Bug#9447)
10408         (woman-special-characters): Add oq, cq, and hy characters.
10410 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
10412         * window.el (window-deletable-p): Make sure window is live before
10413         invoking window-prev-buffers.
10415 2011-09-08  Leo Liu  <sdl.web@gmail.com>
10417         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
10419 2011-09-08  Juri Linkov  <juri@jurta.org>
10421         * progmodes/compile.el (compilation-environment): Make it
10422         a defcustom (bug#8340).
10424 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
10426         * window.el (frame-auto-delete): Rename to window-auto-delete.
10427         Make it control auto-deletion of windows and/or frames.
10428         (window-deletable-p): New argument FORCE.  Rewrite conditions
10429         for deleting window/frame.  (Bug#9419)
10430         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10431         Rewrite handling of case when window/frame can be deleted.
10432         (delete-windows-on): Call window-deletable-p with new FORCE
10433         argument t.  (Bug#9456)
10435 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
10437         * help-mode.el (help-mode): Restore autoload.
10439 2011-09-07  Juri Linkov  <juri@jurta.org>
10441         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10442         `compilation-environment'.  Set buffer-local
10443         `compilation-environment' to `thisenv' later after (funcall mode).
10444         (Bug#8340)
10446         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
10447         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10448         instead of replacing its value.  (Bug#8340)
10450 2011-09-07  Juri Linkov  <juri@jurta.org>
10452         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10453         based on text properties put by `grep-filter' instead of matching
10454         escape sequences.
10455         (grep-mode): Set buffer-local `compilation-error-screen-columns'
10456         to the value of `grep-error-screen-columns' (bug#9438).
10458 2011-09-07  Juri Linkov  <juri@jurta.org>
10460         * simple.el (next-error-highlight, next-error-highlight-no-select):
10461         Doc fix (bug#9432).
10463 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
10465         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10466         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
10468 2011-09-07  Leo Liu  <sdl.web@gmail.com>
10470         * net/rcirc.el (rcirc-mode): Conditionally initialize
10471         rcirc-input-ring.
10473 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10475         * emacs-lisp/find-func.el (find-function-C-source): Only set
10476         find-function-C-source-directory after checking that we found a source
10477         file there (bug#9440).
10479 2011-09-06  Alan Mackenzie  <acm@muc.de>
10481         * isearch.el (isearch-other-meta-char): Wherever a key list is
10482         unread, "unread" the prefix arg, too.  This fixes bug #8901.
10484 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
10486         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10488 2011-09-05  Juri Linkov  <juri@jurta.org>
10490         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10492 2011-09-05  Juri Linkov  <juri@jurta.org>
10494         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10495         keeping point where processing of grep matches begins, and
10496         continue to delete remaining escape sequences from the same point.
10497         (grep-filter): Make leading zero optional in "0?1;31m" because
10498         git-grep emits "\033[1;31m" escape sequences unlike expected
10499         "\033[01;31m" as GNU Grep does (bug#9408).
10500         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10502 2011-09-05  Juri Linkov  <juri@jurta.org>
10504         * subr.el (y-or-n-p): Capitalize "yes".
10506 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
10508         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
10509         `tramp-cache-unload-hook' where appropriate.
10510         (tramp-methods): Rename `tramp-remote-sh' to
10511         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
10512         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10514         * net/tramp-sh.el (top): Don't require 'shell.
10515         (tramp-methods): Add `tramp-remote-shell' and
10516         `tramp-remote-shell-args' entries.
10517         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10518         (tramp-sh-handle-shell-command): Remove.
10519         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10520         Use `tramp-remote-shell'.
10522 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
10524         * mail/sendmail.el (sendmail-query-once-function): Delete.
10525         (sendmail-query-once): Save directly to send-mail-function.
10526         Update message-send-mail-function too.
10528         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10530 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
10532         * progmodes/python.el (python-mode-map): Use correct function to
10533         start python interpreter from menu-bar (as reported by Geert
10534         Kloosterman).
10535         (inferior-python-mode-map): Fix typo.
10536         (python-shell-map): Remove.
10538 2011-09-03  Deniz Dogan  <deniz@dogan.se>
10540         * net/rcirc.el (rcirc-print): Simplify code for
10541         rcirc-scroll-show-maximum-output.  There is no need to walk
10542         through all windows to find the right one.
10544 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
10546         * help.el (help-return-method): Doc fix.
10548 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
10550         * window.el (window-deletable-p): Don't return a non-nil value
10551         when there's a buffer that was shown in the window before.
10552         (Bug#9419)
10553         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10554         Set window's previous buffers to nil.
10556 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
10558         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10559         newline before and after the tag line, so it doesn't interfere
10560         with determining the paragraph direction of bidirectional text.
10562 2011-09-03  Leo Liu  <sdl.web@gmail.com>
10564         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
10566 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
10568         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10569         (pop-to-buffer): Change interactive spec.  Pass second argument
10570         directly to display-buffer.
10571         (display-buffer): Fix interactive spec.  Use functionp to
10572         distinguish between a function and a list of functions.
10574         * abbrev.el (edit-abbrevs):
10575         * arc-mode.el (archive-extract):
10576         * autoinsert.el (auto-insert):
10577         * bookmark.el (bookmark-bmenu-list):
10578         * files.el (find-file):
10579         * view.el (view-buffer):
10580         * progmodes/compile.el (compilation-goto-locus):
10581         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10583 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
10585         * window.el (display-buffer-alist): Doc fix.
10586         (display-buffer): Add docstring.  Don't treat
10587         display-buffer-default specially.
10588         (display-buffer-reuse-selected-window)
10589         (display-buffer-same-window, display-buffer-maybe-same-window)
10590         (display-buffer-reuse-window, display-buffer-pop-up-frame)
10591         (display-buffer-pop-up-window)
10592         (display-buffer-reuse-or-pop-window)
10593         (display-buffer-use-some-window): New functions.
10594         (display-buffer-default-action): Use them.
10595         (display-buffer-default): Delete.
10596         (pop-to-buffer-1): Fix choice of actions.
10598 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10600         * minibuffer.el (completion--insert-strings): Don't get confused by
10601         completion entries that end with an LF char.
10603 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
10605         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10607 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
10609         * window.el (display-buffer): Restore interactive spec.
10610         (display-buffer-same-window, display-buffer-other-window):
10611         New functions.
10612         (pop-to-buffer-1): New function.  Use the above.
10613         (pop-to-buffer, pop-to-buffer-same-window): Use it.
10614         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10616         * view.el (view-buffer-other-window, view-buffer-other-frame):
10617         Just use pop-to-buffer.
10619 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10621         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
10623 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
10625         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
10627 2011-08-31  Richard Stallman  <rms@gnu.org>
10629         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10630         of the separation of rmail-view-buffer from rmail-buffer.
10631         If you say no to "replace original", the decrypt is in the
10632         view buffer.  If you say yes, the decrypt goes into the
10633         rmail buffer also.
10635 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
10637         * window.el (display-buffer-window): Rewrite doc-string.
10638         (display-buffer-record-window): New function.
10639         (display-buffer-macro-specifiers)
10640         (display-buffer-even-window-sizes, display-buffer-set-height)
10641         (display-buffer-set-width, display-buffer-in-window)
10642         (display-buffer-reuse-window, display-buffer-split-specifiers)
10643         (display-buffer-side-specifiers, display-buffer-split-window-1)
10644         (display-buffer-split-window, display-buffer-split-atom-window)
10645         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10646         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10647         (display-buffer-other-window-means-other-frame)
10648         (display-buffer-normalize-special)
10649         (display-buffer-normalize-default)
10650         (display-buffer-normalize-argument)
10651         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10652         (display-buffer-normalize-specifiers, display-buffer-frame)
10653         (display-buffer-same-window, display-buffer-same-frame)
10654         (display-buffer-other-window)
10655         (display-buffer-same-frame-other-window)
10656         (display-buffer-other-frame, pop-to-buffer-same-window)
10657         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10658         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10659         (switch-to-buffer-same-frame)
10660         (switch-to-buffer-other-window-same-frame)
10661         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10662         (display-buffer-alist-set-1, display-buffer-alist-set-2)
10663         (display-buffer-alist-set): Remove.
10664         (display-buffer-function, special-display-buffer-names)
10665         (special-display-regexps, special-display-function):
10666         In doc-string refer to display-buffer-window and quit-restore
10667         parameter.
10668         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10669         (special-display-frame-alist, special-display-popup-frame)
10670         (same-window-buffer-names, same-window-regexps, same-window-p)
10671         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10672         (split-window-preferred-function, split-height-threshold)
10673         (split-width-threshold, window-splittable-p)
10674         (split-window-sensibly, window--try-to-split-window)
10675         (window--frame-usable-p, even-window-heights)
10676         (window--even-window-heights, window--display-buffer-1)
10677         (window--display-buffer-2, display-buffer-other-frame):
10678         Restore old Emacs 23 code, order and doc-strings where applicable.
10679         (display-buffer-default, display-buffer-assq-regexp): New functions.
10680         (display-buffer-alist): Rewrite doc-string.
10681         (display-buffer-default-action)
10682         (display-buffer-overriding-action): New variables.
10683         (display-buffer, switch-to-buffer): Rewrite.
10684         (pop-to-buffer): Restore Emacs 23 behavior but use
10685         window-normalize-buffer-to-display.
10686         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10687         Restore Emacs 23 behavior but use
10688         window-normalize-buffer-to-switch-to.
10689         (pop-to-buffer-same-window): Rewrite.
10690         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10691         Rewrite using Emacs 23 options.
10693 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
10695         * net/tramp.el (tramp-root-regexp): Remove.
10696         (tramp-completion-file-name-regexp-unified)
10697         (tramp-completion-file-name-regexp-separate)
10698         (tramp-completion-file-name-regexp-url): Don't use leading volume
10699         letter on w32 systems.  (Bug#5303, Bug#9311)
10700         (tramp-drop-volume-letter): Simplify definition.
10701         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10703 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10705         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10706         (bug#9356).
10708 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
10710         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10712 2011-08-29  Juri Linkov  <juri@jurta.org>
10714         * isearch.el (isearch-done): Don't display message "Mark saved"
10715         when arg `edit' is non-nil to prevent its flicker in the echo area.
10717 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
10719         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10720         obsolete packages for deletion.
10722 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
10724         * help-mode.el (help-mode-map): Add special-mode-map to parent.
10725         (help-mode): Derive help-mode from special-mode.  Don't invoke
10726         view-mode from help-mode.
10727         (help-xref-override-view-map): Remove.
10728         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10729         view-mode is not used anymore.
10731 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
10733         * server.el (server-port): Doc fix.
10735         * cus-theme.el (custom-theme-choose-mode): Inherit from
10736         special-mode (Bug#9124).
10737         (custom-theme-choose-mode-map): Add special-mode to parent.
10739 2011-08-28  Alan Mackenzie  <acm@muc.de>
10741         * progmodes/cc-fonts.el
10742         (c-make-font-lock-BO-decl-search-function): New function.
10743         (c-basic-matchers-after - "Fontify the clauses after various
10744         keywords"): Extract the three keyword lists for the 3 erroneous
10745         constructs from the list of four, and use the new function above
10746         in place of an old one.
10748 2011-08-28  Deniz Dogan  <deniz@dogan.se>
10750         * net/rcirc.el (rcirc-insert-prev-input)
10751         (rcirc-insert-next-input): Remove unused argument.
10753 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10755         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10757 2011-08-27  Alan Mackenzie  <acm@muc.de>
10759         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10760         handle function pointer parameters properly.
10762 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
10764         * window.el (display-buffer-reuse-window): Fix case where
10765         selected window was reused with non-nil OTHER-WINDOW argument.
10766         (Bug#9381)
10768 2011-08-27  Deniz Dogan  <deniz@dogan.se>
10770         * net/rcirc.el (rcirc-check-auth-status): Adding support for
10771         oftc's NickServ messages.
10773 2011-08-27  Glenn Morris  <rgm@gnu.org>
10775         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
10777 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
10779         * emacs-lisp/package.el (package-install): Call package-initialize
10780         if called interactively.
10782 2011-08-26  Leo Liu  <sdl.web@gmail.com>
10784         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
10786 2011-08-25  Juri Linkov  <juri@jurta.org>
10788         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10789         `search-whitespace-regexp' (bug#9364).
10791 2011-08-25  Juri Linkov  <juri@jurta.org>
10793         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10794         `regexp-search-ring' to their global values to protect from
10795         updating by `read-from-minibuffer' (bug#9185).
10797 2011-08-25  Juri Linkov  <juri@jurta.org>
10799         * textmodes/ispell.el (ispell-command-loop): Add newline
10800         at the end of the "Use option `i'..." line.
10802 2011-08-25  Juri Linkov  <juri@jurta.org>
10804         * battery.el (display-battery-mode): If `battery-status-function'
10805         or `battery-mode-line-format' is nil, display the message and set
10806         `display-battery-mode' to nil (bug#9363).
10808 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
10810         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10811         bidi-string-mark-left-to-right; they are unnecessary now.
10813 2011-08-25  Deniz Dogan  <deniz@dogan.se>
10815         * net/quickurl.el: Documentation typo fixes.
10817 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
10819         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10821 2011-08-25  Glenn Morris  <rgm@gnu.org>
10823         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10825         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10826         (smtpmail-via-smtp): Handle nil response from smtp.
10828 2011-08-24  Juri Linkov  <juri@jurta.org>
10830         * proced.el (proced-marked): Inherit from `error' instead of
10831         `font-lock-warning-face'.
10833         * ibuffer.el (ibuffer-marked-face): Change default face from
10834         `font-lock-warning-face' to `warning'.
10835         (ibuffer-deletion-face): Change default face from
10836         `font-lock-type-face' to `error'.
10838         * battery.el (battery-update): Use the face `error' instead of
10839         `font-lock-warning-face' (bug#6117).
10841 2011-08-24  Juri Linkov  <juri@jurta.org>
10843         * faces.el (success): Change face color from "Green3" to
10844         "ForestGreen" on light background (bug#9353).
10846 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
10848         * window.el (quit-window): Rename from quit-restore-window.
10849         Use same arglist as old quit-window.
10850         (frame-auto-delete): Doc fix.
10852         * view.el (view-mode-exit): Use quit-window.
10854 2011-08-24  Juri Linkov  <juri@jurta.org>
10856         * isearch.el (isearch-ring-adjust1): Start visiting previous
10857         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10858         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10859         for empty search string (when the last search string is reused
10860         automatically) to adjust the isearch ring to the last element and
10861         prepare the correct index for further M-p commands (bug#9185).
10863 2011-08-24  Kenichi Handa  <handa@m17n.org>
10865         * international/ucs-normalize.el: If decomposition property of
10866         CHAR is the default one (i.e. a list of CHAR itself), treat it as
10867         nil.
10868         (nfd, nfkd): Likewise.
10870 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10872         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10873         from process filters aren't reliably transmitted to the surrounding
10874         accept-process-output.
10875         (mpc-proc-check): New function.
10876         (mpc-proc-sync): Use it (bug#8293)
10878 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10880         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10881         Add compatibility functions (bug#9313).
10883 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
10885         * cus-start.el (all): Add entry for bidi-paragraph-direction.
10887         * international/uni-bidi.el: Regenerate.
10889 2011-08-23  Kenichi Handa  <handa@m17n.org>
10891         * international/charprop.el:
10892         * international/uni-bidi.el:
10893         * international/uni-category.el:
10894         * international/uni-combining.el:
10895         * international/uni-comment.el:
10896         * international/uni-decimal.el:
10897         * international/uni-decomposition.el:
10898         * international/uni-digit.el:
10899         * international/uni-lowercase.el:
10900         * international/uni-mirrored.el:
10901         * international/uni-name.el:
10902         * international/uni-numeric.el:
10903         * international/uni-old-name.el:
10904         * international/uni-titlecase.el:
10905         * international/uni-uppercase.el: Regenerate.
10907 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
10909         * help.el (help-window-setup): Fix message displayed when other
10910         window is reused.  (Bug#9341)
10912 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10914         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10915         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10917         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10918         Mark obsolete.
10919         * shell.el (shell-parse-pcomplete-arguments): New function.
10920         (shell-completion-vars): Use it instead (bug#9160).
10922 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10924         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10925         strings and comments (bug#9333).
10927         * emacs-lisp/debug.el (debug-arglist): New function.
10928         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
10929         (debug-on-entry-1): Handle interpreted closures (bug#9120).
10931 2011-08-22  Juri Linkov  <juri@jurta.org>
10933         * progmodes/compile.el (compilation-mode-font-lock-keywords):
10934         Revert regexp that highlights output switches to its old
10935         pre-2010-10-28 value and remove one `?' from it (bug#9319).
10937         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10938         to check for empty output (bug#9226).
10940 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
10942         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10943         symbol-constituent as the default, as that stops font-lock from
10944         working properly (Bug#8843).
10946 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10948         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10949         `coding-system-for-*' around the process open call to avoid
10950         auth-source side effects.
10951         (smtpmail-try-auth-methods): Expand the secret password.
10952         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10953         probe hangs.
10955 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
10957         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10959         * emacs-lisp/find-func.el (find-function-noselect): New arg
10960         lisp-only.
10962         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10963         signal an error for built-in functions (Bug#6664).
10965 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10967         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10968         (smtpmail-try-auth-methods): Use it.
10970 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
10972         * font-lock.el (font-lock-fontify-region)
10973         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10974         (font-lock-default-unfontify-buffer)
10975         (font-lock-default-fontify-region)
10976         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10978         * progmodes/compile.el (compilation-error-properties):
10979         Fix confusion between file struct and message struct (Bug#9319).
10980         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10981         `ant' regexp.
10983         * net/browse-url.el (browse-url-firefox): Don't call
10984         browse-url-firefox-sentinel unless using -remote (Bug#9328).
10986 2011-08-20  Glenn Morris  <rgm@gnu.org>
10988         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10990         * tutorial.el (tutorial--default-keys): Update some default bindings.
10992         * files.el (hack-local-variables): Fully ignore case for "mode:".
10994 2011-08-20  Alan Mackenzie  <acm@muc.de>
10996         Resolve invalid use of a regexp in regexp-opt.
10998         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10999         detection for a java annotation.
11001         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11002         detection for a java annotation.
11004         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11005         handling for java.
11006         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11008 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
11010         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11011         (Bug#9274).
11013 2011-08-20  Alan Mackenzie  <acm@muc.de>
11015         Fontify CPP expressions correctly when starting in the middle of
11016         such a construct.  Mainly for when jit-lock etc. starts a chunk
11017         here.
11019         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11020         variable.
11021         (c-make-font-lock-search-form): New function, extracted from
11022         c-make-font-lock-search-function.
11023         (c-make-font-lock-search-function): Use the above function.
11024         (c-make-font-lock-context-search-function): New function.
11025         (c-cpp-matchers): Enhance the preprocessor expression case with
11026         the above function
11027         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11028         which takes an expression.
11030         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11032 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
11034         * window.el (display-buffer-reuse-window)
11035         (display-buffer-pop-up-window): Don't reuse or split a side
11036         window.
11038 2011-08-19  Glenn Morris  <rgm@gnu.org>
11040         * files.el (hack-local-variables-prop-line, hack-local-variables):
11041         Downcase "Mode:".  (Bug#9331)
11043 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
11045         * international/characters.el: Add L and R categories.
11047         * subr.el (bidi-string-mark-left-to-right): Rename from
11048         string-mark-left-to-right.  Use category search.
11050         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11052 2011-08-18  Juri Linkov  <juri@jurta.org>
11054         * faces.el (error, warning, success): New faces with definitions
11055         copied from old default values of `font-lock-warning-face',
11056         `compilation-warning', `compilation-info' (bug#6117).
11058         * font-lock.el (font-lock-warning-face): Inherit from `error'.
11060         * progmodes/compile.el (compilation-error): Inherit from `error'.
11061         (compilation-warning): Inherit from `warning'.
11062         (compilation-info): Inherit from `success'.
11064         * dired.el (dired-marked): Inherit from `warning'.
11065         (dired-flagged): Inherit from `error'.
11067 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11069         * mail/smtpmail.el (auth-source): Require to avoid problems with
11070         binding variables (bug#9298).  Also clean up some unused
11071         autoloads.
11073         * net/network-stream.el (network-stream-open-starttls):
11074         Support using starttls.el without using gnutls-cli.
11076 2011-08-17  Juri Linkov  <juri@jurta.org>
11078         * progmodes/grep.el (rgrep): Handle the case when
11079         `grep-find-command' is a cons cell (bug#9278).
11081 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
11083         * window.el (display-buffer-pop-up-frame): Run frame creation
11084         function with BUFFER current (as special-display-popup-frame
11085         does).  Reported by Drew Adams.
11087 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
11089         * epa-mail.el: Simplify GnuPG group expansion using
11090         epg-expand-group.
11091         (epa-mail-group-alist, epa-mail-group-modtime)
11092         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11093         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11094         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11095         Remove.
11097 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
11099         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11101 2011-08-16  Alan Mackenzie  <acm@muc.de>
11103         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11104         Correct, to avoid the inside of macros.
11106 2011-08-16  Richard Stallman  <rms@gnu.org>
11108         * epa-mail.el: Handle GnuPG group definitions.
11109         (epa-mail-group-alist, epa-mail-group-modtime)
11110         (epa-mail-gnupg-conf-file): New variables.
11111         (epa-mail-parse-groups, epa-mail-sync-groups)
11112         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11113         (epa-mail-expand-recipients): New functions.
11114         (epa-mail-encrypt): Call epa-mail-expand-recipients.
11116         * mail/rmail.el (rmail-epa-decrypt): New command.
11118         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11119         Don't bind buffer-read-only, just inhibit-read-only.
11120         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11121         (epa-decrypt-armor-in-region): Make error message clearer.
11123 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11125         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11126         and "a2b" to "ab" for `prefix'.
11128 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
11130         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11131         filter groups.
11132         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
11133         Fourquet (Bug#8804).
11135 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
11137         * startup.el (argi): Declare as global variable (bug#9275).
11139 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
11141         * subr.el (string-mark-left-to-right): Search the entire string
11142         for RTL script, not just the terminating character.  Doc fix.
11144 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11146         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11147         New function.
11148         (js--regexp-literal, js-syntax-propertize-function): Remove.
11149         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11150         (js-mode-map): Don't rebind electric keys.
11151         (js-insert-and-indent): Remove.
11152         (js-mode): Setup electric-layout and electric-indent instead.
11154         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11156 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
11158         * epa.el (epa-progress-callback-function): Fix the logic of
11159         displaying progress.
11160         * epa-file.el (epa-file-insert-file-contents): Make progress
11161         display more user-friendly.
11162         (epa-file-write-region): Ditto.
11164 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
11166         * subr.el (string-mark-left-to-right): New function.
11168         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11169         Use string-mark-left-to-right.
11170         (list-buffers-noselect): Caller changed.
11172         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11173         Use string-mark-left-to-right.
11174         (tabulated-list-print): Recenter after moving point.
11176 2011-08-10  Juri Linkov  <juri@jurta.org>
11178         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11179         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11180         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11182 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
11184         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11185         (Bug#7554).
11187 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11189         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11190         character.  (Bug#6594)
11192 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
11194         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11195         (image-dired--with-db-file): New macro.
11196         (image-dired-write-tags, image-dired-remove-tag)
11197         (image-dired-create-gallery-lists, image-dired-write-comments)
11198         (image-dired-get-comment, image-dired-mark-tagged-files)
11199         (image-dired-list-tags, image-dired-gallery-generate): Use it.
11200         (image-dired-gallery-generate): Use insert-file-contents.
11202         * time.el (display-time-world-list, display-time-world-display):
11203         * time-stamp.el (time-stamp-string):
11204         * vc/add-log.el (add-change-log-entry): Use setenv instead of
11205         set-time-zone-rule (Bug#7337).
11207 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
11209         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11210         (epg-error-to-string, epg-errors-to-string): New function.
11211         (epg-wait-for-completion): Reverse errors list.
11212         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11213         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11214         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11215         (epg-sign-keys, epg-generate-key-from-file)
11216         (epg-generate-key-from-string): Format errors by using
11217         epg-errors-to-string (bug#9255).
11218         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11220 2011-08-07  Juri Linkov  <juri@jurta.org>
11222         * faces.el (list-faces-display): Remove extra angle bracket
11223         from `help-mode-map'.
11225         * info.el (Info-history-toc-nodes): Doc fix.
11227         * longlines.el (longlines-mode): Doc fix.
11229 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11231         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11232         of statements and in a few more cases (bug#9183).
11234         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11235         New functions.
11236         (cl-transform-lambda): Use them (bug#9239).
11238 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
11240         * window.el (display-buffer-same-window)
11241         (display-buffer-same-frame, display-buffer-other-window)
11242         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11243         (pop-to-buffer-other-window)
11244         (pop-to-buffer-same-frame-other-window)
11245         (pop-to-buffer-other-frame): Make them defuns.
11246         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11248 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11250         * subr.el (make-composed-keymap): Move from C.  Change calling
11251         convention, and improve docstring to bring attention to a subtle point.
11252         * minibuffer.el (completing-read-default): Adjust accordingly.
11254 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
11256         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11257         (tramp-open-shell): Use `tramp-shell-quote-argument'.
11259         * net/trampver.el: Update release number.
11261 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11263         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11264         "in" (bug#9190).
11266 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11268         * mail/sendmail.el (sendmail-query-once): Restore the current
11269         buffer after querying (bug#9074).
11271         * dired.el (dired-flagged): Use different faces for marked and
11272         flagged files (bug#6117).
11274         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11275         (bug#4433).
11277         * ido.el (ido-mode): Switch off the message if called
11278         non-interactively.
11280         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11281         before 587, since it appears that that's more likely to work for
11282         more people.
11284         * cus-edit.el (custom-file): When running under emacs -q, always
11285         refuse to save the customizations, even if the .emacs file doesn't
11286         exist.
11288         * info.el: Remove the `Info-beginning-of-buffer' function
11289         (bug#8325).
11291         * net/network-stream.el (network-stream-open-starttls):
11292         Use `starttls-available-p' to see whether starttls.el can be used.
11294 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
11296         * window.el (display-buffer-in-window): Don't set dedicated status
11297         of window here (Bug#9215).
11298         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11299         (display-buffer-pop-up-side-window)
11300         (display-buffer-in-side-window): Set dedicated status of window here.
11302 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11304         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11305         before binding generated-autoload-file.
11307 2011-08-01  Deniz Dogan  <deniz@dogan.se>
11309         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11311 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
11313         Sync with Tramp 2.2.2.
11315         * net/trampver.el: Update release number.
11317 2011-07-30  Juri Linkov  <juri@jurta.org>
11319         * dired-aux.el (dired-touch-initial): Remove function.
11320         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11321         current time, and `default' to the last modification time of the
11322         current marked file (bug#6887).
11324 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
11326         * simple.el (goto-line): Use string-to-number to provide a
11327         numeric argument to read-number (bug#9163).
11329 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
11331         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11332         connection process, it could be nil.
11334 2011-07-27  Leo Liu  <sdl.web@gmail.com>
11336         Simplify url handling in rcirc-mode.
11338         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11339         (rcirc-browse-url-at-mouse): Remove.
11340         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11342 2011-07-26  Alan Mackenzie  <acm@muc.de>
11344         Fontify bitfield declarations properly.
11346         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11347         (c-symbol-chars): Now exported as a lang variable.
11348         (c-not-primitive-type-keywords): New lang variable.
11350         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11351         QT keyword "more" to prevent "more slots: ...." being spuriously
11352         parsed as a bitfield declaration.
11354         * progmodes/cc-engine.el (c-beginning-of-statement-1):
11355         Refactor and enhance to handle bitfield declarations.
11356         (c-punctuation-in): New function.
11357         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11358         declarations properly.
11360 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
11362         * calendar/icalendar.el (icalendar--all-events): Take care of
11363         multiple vcalendars in a single file.
11364         (icalendar--convert-float-to-ical): Checkdoc fixes.
11366 2011-07-25  Deniz Dogan  <deniz@dogan.se>
11368         * image.el (insert-image): Clarifying docstring.
11370 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
11372         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11373         `tramp-send-command-and-check' if there is no error.
11374         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11376 2011-07-22  Alan Mackenzie  <acm@muc.de>
11378         Prevent cc-langs.elc being loaded at run time.
11380         * progmodes/cc-mode.el: Remove two autoload forms which loaded
11381         cc-langs.
11383         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11384         "(require 'cc-langs)".  Quote a form so it will evaluate at
11385         (cc-mode's) compilation time.
11387 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
11389         * net/tramp.el (tramp-file-name-handler): Avoid recursive
11390         loading.  (Bug#9114)
11392 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
11394         * window.el (display-buffer-pop-up-window)
11395         (display-buffer-pop-up-side-window)
11396         (display-buffer-in-side-window): Call display-buffer-set-height
11397         and display-buffer-set-width after setting the new window's
11398         buffer so `fit-window-to-buffer' and friends work on the right buffer.
11400 2011-07-20  Sam Steingold  <sds@gnu.org>
11402         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11403         (etags-tags-included-tables): Call `convert-standard-filename' on
11404         the file names contained in TAGS so that windows Emacs can handle
11405         TAGS files created by cygwin ctags.
11407 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11409         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11410         which apparently didn't work.
11412 2011-07-19  Roland Winkler  <winkler@gnu.org>
11414         * proced.el (proced-send-signal): For *Marked Processes* buffer
11415         put point at beginning of buffer.
11417 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
11419         * proced.el (proced-format): Make header lines align with the text
11420         (bug#1779).
11422 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11424         * view.el (view-buffer): Allow running in `special' modes if we're
11425         visiting a file (bug#8615).
11427 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
11429         * window.el (display-buffer-alist-of-strings-p)
11430         (display-buffer-alist-set-1, display-buffer-alist-set-2):
11431         New functions.
11432         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11433         more accurately.
11435 2011-07-18  Alan Mackenzie  <acm@muc.de>
11437         Fontify declarators properly when, e.g., a jit-lock chunk begins
11438         inside a declaration.
11440         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11442         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11443         New function.
11444         (c-complex-decl-matchers): Insert reference to
11445         c-font-lock-enclosing-decls.
11447         * progmodes/cc-engine.el (c-backward-single-comment):
11448         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11449         to nil around calls to (forward-comment -1).
11451 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11453         * image.el (put-image): Doc typo fix.
11455         * progmodes/etags.el (tags-search): Doc typo fix.
11457         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11458         password if we get errors 550 to 554.
11460 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11462         * net/gnutls.el (gnutls-log-level): Remove.
11464         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11465         indentation character (bug#6380).
11467         * files.el (buffer-offer-save): Made permanently local (bug#6241).
11469         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11470         to clarify what the problem is (bug#4291).
11472         * simple.el (current-kill): Clarify what
11473         `interprogram-paste-function' does (bug#7500).
11474         (auto-fill-mode): Document `auto-fill-function' in relation to
11475         `auto-fill-mode' (bug#2470).
11477 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
11479         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11480         method if slot is read-only (bug#9035).
11482 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
11484         * frame.el (select-frame-set-input-focus): New argument NORECORD.
11485         * window.el (pop-to-buffer): Select window used even if it was
11486         selected before, see discussion of (Bug#8615), (Bug#6954).
11487         Pass argument NORECORD on to select-frame-set-input-focus.
11489 2011-07-15  Glenn Morris  <rgm@gnu.org>
11491         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
11492         Respect help-form.
11494 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
11496         * net/gnutls.el (gnutls-min-prime-bits): New variable.
11497         (gnutls-negotiate): Use it.
11499 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11501         * net/gnutls.el (gnutls-negotiate):
11502         Upcase `gnutls-algorithm-priority'.
11504 2011-07-15  Glenn Morris  <rgm@gnu.org>
11506         * jka-compr.el (jka-compr-verbose): Move from here...
11507         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
11508         Add missing :version tag.
11509         * info.el: No need to require jka-compr when compiling.
11511 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11513         * net/gnutls.el (gnutls-algorithm-priority): New variable.
11514         (gnutls-negotiate): Use it.
11516         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11518         * info.el (Info-beginning-of-buffer): New command.
11519         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11520         announcing `b' as the key (bug#8325).
11521         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11523         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11525         * international/mule-cmds.el
11526         (describe-specified-language-support): Make the error message
11527         clearer (bug#8905).
11529         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11531         * isearch.el (isearch-barrier): Add a doc string, since it's
11532         mentioned in a function doc string (bug#8678).
11534 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
11536         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11537         buffer argument (Bug#9083) and self-identifying label argument.
11539 2011-07-15  Glenn Morris  <rgm@gnu.org>
11541         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
11543 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11545         * man.el (Man-fontify-manpage): Fix message when formatting the
11546         man page (bug#7929).
11548 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
11550         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11551         argument LRM; if non-nil, append an invisible LRM character to the
11552         buffer name.
11553         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11554         last argument non-nil, when formatting buffer names.
11555         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11556         paragraph direction.
11558 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11560         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11561         the man page name (bug#7929).
11563         * image.el (put-image): Mention the `put-image' overlay property
11564         (bug#7834).
11566         * scroll-bar.el (set-scroll-bar-mode): Mention that
11567         `scroll-bar-mode' lists the values (bug#7772).
11569         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11570         command (bug#7729).
11572         * rect.el (apply-on-rectangle): Return the point after the last
11573         operation.
11574         (string-rectangle): Go to the point after the last operation
11575         (bug#7522).
11577         * printing.el (pr-toggle-region): Clarify the documentation
11578         slightly (bug#7493).
11580         * time.el (display-time-update):
11581         Allow `display-time-mail-function' to return nil (bug#7158).
11582         Fix suggested by Detlev Zundel.
11584         * vc/diff.el (diff): Clarify the order the file names are read
11585         (bug#7111).
11587         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11588         the doc string (bug#7015).
11590         * font-lock.el (font-lock-maximum-decoration): Mention what
11591         numeric levels mean (bug#6935).
11593         * startup.el (initial-buffer-choice): Don't mention the `none'
11594         selection, which is against policy.
11596 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
11598         * window.el (display-buffer-normalize-special):
11599         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11601 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
11603         * subr.el (version<, version<=, version=): Mention "-CVS" and
11604         "-12345" alpha version numbers.
11606 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
11608         * bindings.el: Add advertised binding for set-mark-command
11609         (Bug#5772).
11611 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
11613         * bindings.el (mode-line-other-buffer):
11614         * bookmark.el (bookmark-bmenu-2-window):
11615         * bs.el (bs-cycle-next, bs-cycle-previous):
11616         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11617         switch-to-buffer.
11619         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11620         Delete.
11622 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
11624         * follow.el (follow-debug-message, follow-redisplay):
11625         * jka-cmpr-hook.el (with-auto-compression-mode):
11626         Fix typos in docstrings.
11628 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11630         * subr.el (with-silent-modifications): Clarify somewhat what the
11631         macro inhibits (bug#6525).
11633         * simple.el (eval-expression): Note what it does if called
11634         interactively (bug#6495).
11636 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
11638         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11639         Use pop-to-buffer buffer-or-name if it is nil.
11641         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11642         Remove switch-to-buffer.
11644 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11646         * files.el (make-directory): Clarify that an error will be raised
11647         if there's an error (bug#6397).
11649         * startup.el (initial-buffer-choice): Add `none' as a choice
11650         (bug#6234).
11652         * subr.el (add-hook): Clarify section about buffer-local hooks
11653         (bug#6218).
11655         * dired.el (dired-flagged): Clarify doc string (bug#6117).
11657 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
11659         * tabify.el (untabify): Preserve the current column so that point
11660         doesn't move (bug#6032).
11662 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11664         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11665         Rewrite to avoid awkward possessive "s" (bug#5986).
11667 2011-07-13  Glenn Morris  <rgm@gnu.org>
11669         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
11670         (dired-insert-directory): Give a message the first time
11671         if ls is found not to support --dired.
11673 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11675         * simple.el (toggle-truncate-lines): Clarify what is toggled
11676         (bug#5580).  Text by Drew Adams.
11678 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
11680         * simple.el (blink-matching-open): Make the error message from the
11681         last change less verbose.
11683 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
11685         * font-lock.el (font-lock-comment-face): Use the high contrast
11686         "yellow" color for font-lock-comment-face on low color terminals
11687         using a dark background color (bug#4221).
11689 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11691         * dired.el (dired-insert-set-properties): Make the doc string
11692         reflect what it does now (bug#5325).
11694         * simple.el (blink-matching-open): Say that we were unable to find
11695         the match within the limit, if we're limited (bug#5122).
11697         * international/mule-cmds.el (prefer-coding-system): Add an
11698         example (bug#4869).
11700         * progmodes/etags.el (tags-search): Document `file-list-form'
11701         (bug#4731).
11703 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
11705         * net/browse-url.el (browse-url-default-browser)
11706         (browse-url-browser-function): Make the default browser choice a
11707         bit more logical (bug#4300).  Also clean up the doc string.
11709 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
11711         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11712         binary endings (bug#4440).
11714 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11716         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11717         which can be pretty annoying (bug#8971).
11719         * jka-compr.el (jka-compr-verbose): New variable, and use
11720         throughout (bug#8971).
11722         * info.el (Info-find-file): Fall back on the installation
11723         directory if we can't find the info node anywhere else.
11725 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
11727         * vc/vc.el (vc-revert-file):
11728         Don't set file time-stamp in the past.  (Bug#5181)
11730 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11732         * files.el (after-find-file): Give a better error message when
11733         trying to find a symlink that points to a file that doesn't exist
11734         (bug#4398).
11736         * progmodes/cc-vars.el: Remove (probably) misleading comment
11737         (bug#4396).
11739 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
11741         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11743 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
11745         * mouse-sel.el: Hack restoring functionality, while keeping
11746         compatibility with 2010-07-03 changes to mouse selection.
11747         (mouse-sel-primary-overlay): New var.
11748         (mouse-sel-selection-alist): Use it.
11749         (mouse-sel-mode): Doc fix; remove points that are default features
11750         of mouse.el.
11752 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
11754         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11755         Fix previous fix (bug#2490).
11757 2011-07-12  Roland Winkler  <winkler@gnu.org>
11759         * textmodes/bibtex.el (bibtex-initialize):
11760         Use pop-to-buffer-same-window.
11761         (bibtex-search-entries): Fix interactive call.
11763 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11765         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11766         Fontise bytecomp Error lines more correctly (bug#2490).
11767         Fix suggested by Johan Bockgård.
11769         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11771         * dired-x.el (dired-guess-default): Use `delete-dups'.
11773 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
11775         * dired.el (dired-mark-prompt):
11776         * dired-aux.el (dired-read-shell-command): Doc fix.
11778 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11780         * mail/sendmail.el (sendmail-query-once):
11781         Use `customize-save-variable' unconditionally, now that it works under
11782         emacs -Q.
11784         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11786         * cus-edit.el (custom-file): Take an optional no-error variable.
11787         (customize-save-variable): Set the variable, and give a warning if
11788         running under "emacs -q".
11790 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
11792         * loadhist.el (unload-feature-special-hooks):
11793         Add `auto-coding-functions', `fill-nobreak-predicate' and
11794         `find-directory-functions' (bug#5327).
11796 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11798         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11800         * cus-edit.el (custom-guess-name-alist): -alist variables should
11801         use the `alist' type (bug#3120).  Suggested by Drew Adams.
11803         * printing.el: Add documentation to all the `pr-toggle-' commands.
11805 2011-07-11  Leo Liu  <sdl.web@gmail.com>
11807         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11808         backends where it makes sense (bug#2623).
11810 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11812         * dired-x.el (dired-guess-default): Remove duplicate shell command
11813         entries (bug#2028).
11814         (dired-guess-default): Fix grammar in doc string (bug#2028).
11815         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11817         * subr.el (remove-duplicates): New conveniency function.
11819 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11821         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11822         (bug#1526).
11824 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
11826         * window.el (display-buffer-normalize-default): Don't invert
11827         meaning of even-window-heights.  Reported by Eli Zaretskii
11828         <eliz@gnu.org>.
11830 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
11832         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11834 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
11836         * window.el (display-buffer): Fix arguments to
11837         display-buffer-reuse-window in last change.
11839         * faces.el (link): Use a less saturated blue on light backgrounds.
11841         * startup.el (fancy-startup-text, fancy-about-text)
11842         (fancy-startup-tail): Use font-lock faces, for background safety.
11844 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
11846         * emulation/viper-cmd.el (viper-change-state-to-vi):
11847         Limit triggering of abbrev expansion (Bug#9038).
11849 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
11851         * window.el (display-buffer-default-specifiers): Remove.
11852         (display-buffer-macro-specifiers): Remove default specifiers.
11853         (display-buffer-alist): Default to nil.
11854         (display-buffer-reuse-window): New optional argument other-window.
11855         (display-buffer-pop-up-window): Allow splitting internal
11856         windows.  Check whether a live window was created.
11857         (display-buffer-other-window-means-other-frame)
11858         (display-buffer-normalize-arguments): Rename to
11859         display-buffer-normalize-argument and rewrite.  Set the
11860         other-window specifier.
11861         (display-buffer-normalize-special): New function.
11862         (display-buffer-normalize-options): Rename to
11863         display-buffer-normalize-default and rewrite.
11864         (display-buffer-normalize-options-inhibit): Remove.
11865         (display-buffer-normalize-specifiers): Rewrite.
11866         (display-buffer): Process other-window specifier and call
11867         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
11868         more faithfully.
11869         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11870         (display-buffer-alist-set): Don't handle 'unset default values.
11871         (display-buffer-in-window, display-buffer-alist-set):
11872         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
11873         <tassilo@member.fsf.org>.
11875 2011-07-09  Leo Liu  <sdl.web@gmail.com>
11877         * register.el (insert-register): Restore accidental change on
11878         2011-06-26.  (Bug#9028)
11880 2011-07-09  Glenn Morris  <rgm@gnu.org>
11882         * subr.el (remq): Handle the empty list.  (Bug#9024)
11884 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
11886         * mail/sendmail.el (send-mail-function): No longer delay custom
11887         initialization.
11888         * custom.el (custom-initialize-delay): Doc fix.
11890 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11892         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11894 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
11896         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11897         human-friendly prompt.
11899 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11901         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11902         provided by a particular plugin.
11904 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11906         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11907         save customizations (with "emacs -Q"), just set the variable
11908         instead of erroring out.
11910         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11912 2011-07-08  Juri Linkov  <juri@jurta.org>
11914         * arc-mode.el (archive-zip-expunge, archive-zip-update)
11915         (archive-zip-update-case): Use 7z if found by `executable-find'.
11916         The order of searching the available programs is the same as in
11917         `archive-zip-extract' (bug#8968).
11919 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
11921         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11922         (menu-bar-options-menu): Tweak descriptions.
11924 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11926         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11927         menu items into verb phrases (bug#1421).  Also refill to fit under
11928         80 columns.
11930 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
11932         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11933         (Info-read-node-name): Doc fix (Bug#1084).
11935         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11936         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11937         (end-of-sexp, beginning-of-sexp)
11938         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11939         (forward-symbol, forward-same-syntax, word-at-point)
11940         (sentence-at-point): Doc fix (Bug#1144).
11942 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11944         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11945         should cover it (bug#1281).
11947         * cus-edit.el (custom-show): Mark as obsolete.
11949         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11950         negotiation fails, then possibly try again with a non-encrypted
11951         connection (bug#9017).
11953         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11954         be used.
11956 2011-07-07  Richard Stallman  <rms@gnu.org>
11958         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11959         property, and handle its changed format.
11960         Look for the correct line number.
11961         Use file's line contents (but not past first =) to find
11962         correct line in message.
11964 2011-07-07  Kenichi Handa  <handa@m17n.org>
11966         * international/characters.el (build-unicode-category-table):
11967         Delete it.
11968         (unicode-category-table): Set it by unicode-property-table-internal.
11970         * international/mule-cmds.el (char-code-property-alist): Move to
11971         to src/chartab.c.
11972         (get-char-code-property): Call unicode-property-table-internal to
11973         load a file.  Call get-unicode-property-internal where necessary.
11974         (put-char-code-property): Call unicode-property-table-internal to
11975         load a file.  Call put-unicode-property-internal where necessary.
11976         put-unicode-property-internal where necessary.
11977         (char-code-property-description):
11978         Call unicode-property-table-internal to load a file.
11980         * international/charprop.el:
11981         * international/uni-bidi.el:
11982         * international/uni-category.el:
11983         * international/uni-combining.el:
11984         * international/uni-comment.el:
11985         * international/uni-decimal.el:
11986         * international/uni-decomposition.el:
11987         * international/uni-digit.el:
11988         * international/uni-lowercase.el:
11989         * international/uni-mirrored.el:
11990         * international/uni-name.el:
11991         * international/uni-numeric.el:
11992         * international/uni-old-name.el:
11993         * international/uni-titlecase.el:
11994         * international/uni-uppercase.el: Regenerate.
11996         * loadup.el: Load international/charprop.el before
11997         international/characters.
11999 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
12001         * window.el (next-buffer, previous-buffer): Signal an error if
12002         called from a minibuffer window.
12004         * bindings.el: Revert 2011-07-04 change.
12006 2011-07-06  Richard Stallman  <rms@gnu.org>
12008         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12009         (rmail-mime-insert-bulk, rmail-mime-insert-text):
12010         Treat markers like ints.
12011         (rmail-mime-entity): Doc fix.
12013 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12015         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12016         defcustom again for backwards compatibility.
12018         * simple.el (shell-command-on-region): Fill.
12020         * dired-aux.el (dired-kill-line): Add a doc string.
12022         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12023         to "\\sw\\|\\s_" (bug#358).
12025         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12026         (dired-unmark-backward): Ditto.
12027         (dired-flag-backup-files): Ditto.
12029         * dired-x.el (dired-mark-sexp): Ditto.
12031 2011-07-06  Richard Stallman  <rms@gnu.org>
12033         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12034         (rmail-mime-entity): New arg TRUNCATED.
12035         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12036         New functions.
12037         (rmail-mime-save): Warn if entity is truncated.
12038         (rmail-mime-toggle-hidden): Likewise, for showing.
12039         (rmail-mime-process-multipart): Record when an entity is truncated.
12041         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12042         if ENTITY is a string.
12044 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12046         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12047         of faces when `M-C-x'-ing their definitions (bug#8378).
12048         Also clean up the code slightly.
12050         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12051         because that makes the colors go away.
12053         * mail/sendmail.el (send-mail-function): Change the default to
12054         `sendmail-query-once'.
12055         (sendmail-query-once): Add an autoload cookie.
12057         * net/network-stream.el (network-stream-open-starttls): Try using
12058         a plain connection even if the server offered STARTTLS, and we
12059         kinda wanted to use it, if Emacs doesn't have any STARTTLS
12060         capability.  This should make smtpmail.el work in slightly more
12061         configurations.
12063 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
12065         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12066         New defun.
12067         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12069 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
12071         * progmodes/sql.el: Version 3.0
12072         (sql-product-alist): Add product :completion-object,
12073         :completion-column, and :statement attributes.
12074         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12075         (sql-mode-syntax-table): Mark all punctuation.
12076         (sql-font-lock-keywords-builder): Temporarily remove fallback on
12077         ansi keywords.
12078         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12079         (sql-mode-oracle-font-lock-keywords): Improve.
12080         (sql-oracle-show-reserved-words): New function for development.
12081         (sql-product-font-lock): Simplify for source code buffers.
12082         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12083         New functions.
12084         (sql-highlight-product): Set product specific syntax table.
12085         (sql-mode-map): Add statement movement functions.
12086         (sql-ansi-statement-starters, sql-oracle-statement-starters):
12087         New variable.
12088         (sql-statement-regexp, sql-beginning-of-statement)
12089         (sql-end-of-statement, sql-signum): New functions.
12090         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12091         (sql-show-sqli-buffer): Bug fix.
12092         (sql-interactive-mode): Store connection data as buffer local.
12093         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
12094         with sql-interactive-mode.
12095         (sql-save-connection): Save buffer local settings.
12096         (sql-connection-menu-filter): Change menu entry name.
12097         (sql-product-interactive): Bug fix.
12098         (sql-preoutput-hold): New variable.
12099         (sql-interactive-remove-continuation-prompt): Bug fixes.
12100         (sql-debug-redirect): New variable.
12101         (sql-str-literal): New function.
12102         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12103         Redesign.
12104         (sql-oracle-save-settings, sql-oracle-restore-settings)
12105         (sql-oracle-list-all, sql-oracle-list-table): New functions.
12106         (sql-completion-object, sql-completion-column)
12107         (sql-completion-sqlbuf): New variables.
12108         (sql-build-completions-1, sql-build-completions)
12109         (sql-try-completion): New functions.
12110         (sql-read-table-name): Use them.
12111         (sql-contains-names): New buffer local variable.
12112         (sql-list-all, sql-list-table): Use it.
12113         (sql-oracle-completion-types): New variable.
12114         (sql-oracle-completion-object, sql-sqlite-completion-object)
12115         (sql-postgres-completion-object): New functions.
12117 2011-07-06  Glenn Morris  <rgm@gnu.org>
12119         * window.el (pop-to-buffer): Doc fix.
12121 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
12123         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12125 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
12127         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12129         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12131 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
12133         * button.el (button): Inherit from link face.  Suggested by Dan
12134         Nicolaescu.
12136 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12138         * progmodes/gdb-mi.el: Fit in 80 columns.
12139         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12140         switch-to-buffer.
12142         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12143         if imenu is simply not configured (bug#8941).
12145 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
12147         * allout.el (allout-post-undo-hook): New allout outline-change
12148         event hook to signal undo activity.
12149         (allout-post-command-business): Run allout-post-undo-hook if an
12150         undo just occurred.
12151         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12152         * allout-widgets.el (allout-widgets-after-undo-function):
12153         Ensure the integrity of the current item's decoration after it has been
12154         in the vicinity of an undo.
12155         (allout-widgets-mode): Include allout-widgets-after-undo-function
12156         on the new allout-post-undo-hook.
12158 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12160         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12161         Let define-derived-mode define it.
12162         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12163         cycles of abbrev-table inheritance (bug#8998).
12165 2011-07-05  Roland Winkler  <winkler@gnu.org>
12167         * textmodes/bibtex.el: Add support for biblatex.
12168         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12169         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12170         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12171         (bibtex-entry-alist, bibtex-field-alist): New variables.
12172         (bibtex-entry-field-alist): Obsolete alias for
12173         bibtex-BibTeX-entry-alist.
12174         (bibtex-entry-alist, bibtex-field-alist): New widgets.
12175         (bibtex-set-dialect): New command.
12176         (bibtex-entry-type, bibtex-entry-head)
12177         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12178         Bind via bibtex-set-dialect.
12179         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12180         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12181         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12182         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12183         Define via bibtex-set-dialect.
12184         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12185         Obey bibtex-no-opt-remove-re.
12186         (bibtex-vec-push, bibtex-vec-incr): New functions.
12187         (bibtex-format-entry, bibtex-field-list)
12188         (bibtex-print-help-message, bibtex-validate)
12189         (bibtex-search-entries): Use new format of bibtex-entry-alist.
12191 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12193         * progmodes/compile.el (compilation-goto-locus):
12194         * net/tramp-cmds.el (tramp-append-tramp-buffers):
12195         * bs.el (bs-cycle-next, bs-cycle-previous):
12196         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12197         * bindings.el (mode-line-other-buffer):
12198         * autoinsert.el (auto-insert):
12199         * arc-mode.el (archive-extract):
12200         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12202 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12204         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12205         Fix check of `emacs-lock-unlockable-modes'.
12206         Coerce true values of `emacs-lock--try-unlocking' to t.
12208 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12210         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12211         * emacs-lock.el: New file.
12213 2011-07-05  Julien Danjou  <julien@danjou.info>
12215         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12216         than `boundp' to check if face is set.
12218 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
12220         * register.el (registerv-make):
12221         * window.el (window-min-height): Fix typos in docstrings.
12223 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
12225         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12226         Update doc string.
12228 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
12230         * server.el (server-execute): Catch quit and call
12231         `server-return-error' to pass the error back to emacsclient and
12232         close the connection (bug#8942).
12234 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
12236         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12237         insecure exception for current topic.  Also note that auto-saves
12238         are handled differently.
12240         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12241         State variables for tracking auto-save inhibition situation.
12243         (allout-write-contents-hook-handler): Rename from
12244         'allout-write-file-hook-handler', and describe how it depends on
12245         write-contents-functions sensitivity to non-nil value to prevent
12246         file write.
12248         (allout-auto-save-hook-handler): Remove.  auto-save does not check
12249         this in individual buffers, only in the starting buffer, so this
12250         is not the right way for us to inhibit auto-save in a buffer
12251         according to its condition.
12253         (allout-mode): Use new allout-write-contents-hook-handler, and
12254         only with write-contents-functions.  Remove auto-save provisions -
12255         they're implemented elsewhere.
12257         (allout-before-change-handler): If undo is in progress, note that
12258         for attention of allout-post-command-business.
12260         (allout-post-command-business): If the command we're following was
12261         an undo, check for change in the status of encrypted items and
12262         adjust auto-save inhibitions accordingly.
12264         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12265         according to whether there are or aren't any plain-text topics
12266         pending encryption.
12268         (allout-inhibit-auto-save-info-for-decryption):
12269         Adjust buffer-saved-size and some allout state to inhibit auto-saves
12270         if there are plain-text topics pending encryption.
12272         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12273         buffer-saved-size and some allout state to not inhibit auto-saves
12274         if there are no longer any plain-text topics pending encryption.
12276         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12277         No longer provide for exemption of the current topic.
12279 2011-07-04  Juri Linkov  <juri@jurta.org>
12281         Add 7z operations to delete and save changed members (bug#8968).
12282         * arc-mode.el (archive-7z-expunge, archive-7z-update):
12283         New defcustoms.
12284         (archive-7z-write-file-member): New function.
12285         (archive-7z-summarize): Fix the number of dashes in the
12286         listing output.
12288 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12290         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12291         (bug#8958).
12293 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
12295         * bindings.el: Ignore next-buffer and previous-buffer in
12296         minibuffer-local-map.
12298         * font-lock.el (font-lock-builtin-face): Change light background
12299         color to dark slate blue (Bug#6693).
12301 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
12303         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12305 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12307         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12308         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12309         Add switch-to-buffer.
12311 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12313         * isearch.el (isearch-search-fun-function): Clarify further the
12314         meaning of the function returned.
12316 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
12318         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12320         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12321         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12322         Use it.
12323         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
12324         `tramp-default-remote-path' does not exist.
12325         (tramp-send-command-and-read): New optional argument NOERROR.
12326         (tramp-open-connection-setup-interactive-shell)
12327         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12328         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12329         (tramp-process-sentinel): Flush also process' connection property.
12330         (tramp-sh-handle-start-file-process): Do not set process
12331         sentinel.  It is done now ...
12332         (tramp-maybe-open-connection): ... here.  (Bug#8929)
12334 2011-07-04  MON KEY  <monkey@sandpframing.com>
12336         * play/animate.el (animate-string): Doc fixes and allow changing
12337         the buffer name (bug#5417).
12339 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12341         * play/animate.el (animation-buffer-name): Rename from *animate*.
12343 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
12345         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12346         This is simpler and helps future-proof the code.
12347         (timer-until): Use time-subtract and float-time.
12348         (timer--time-less-p): Use time-less-p.
12350 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
12352         * type-break.el (timep): Use the value of `float-time' to avoid a
12353         byte-compiler warning.
12355         * server.el (server-eval-and-print): Return any result, even nil.
12357 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
12359         * type-break.el: Accept time formats that the builtins accept.
12360         (timep, type-break-time-difference): Accept any format that
12361         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12362         This is simpler and helps future-proof the code.
12363         (type-break-time-difference): Round rather than ignoring
12364         subseconds components.
12366 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12368         * info.el (Info-apropos-matches): Make non-interactive, since it
12369         doesn't seem to do anything useful as a command (bug#8829).
12371 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
12373         * frame.el (frame-background-mode, frame-set-background-mode):
12374         Move from faces.el.
12375         (frame-default-terminal-background): New function.
12377         * custom.el (custom-push-theme): Don't record faces in `changed'
12378         theme; this doesn't work correctly for per-frame face settings.
12379         (disable-theme): Use face-set-after-frame-default to reset faces.
12380         (custom--frame-color-default): New function.
12382 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12384         * dired.el (dired-flagging-regexp): Remove unused variable
12385         (bug#8769).
12387 2011-03-29  Kevin Ryde  <user42@zip.com.au>
12389         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12390         `perl-Test2' extend to match possible "fail #N" rep count
12391         (bug#8377).
12393 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12395         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12396         `smtpmail-via-smtp' now returns the error instead of nil.
12398         * isearch.el (isearch-search-fun-function): Clarify the doc string
12399         (bug#8101).
12401 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
12403         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12404         unnecessary spaces (bug#8987).
12406 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12408         * net/network-stream.el (open-network-stream): Use the
12409         :end-of-capability command thoughout.
12411 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
12413         * net/network-stream.el (open-network-stream): Add the
12414         :end-of-capability command parameter, used by pop3.el.
12416 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12418         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12420         * fringe.el (fringe-query-style): Remove redundant text " (type ?
12421         for list)" (bug#6475).
12423         * files.el (file-expand-wildcards): Ignore non-readable
12424         sub-directories while trying to find matches instead of signaling
12425         an error (bug#6297).
12427         * man.el (Man-reference-regexp): Allow matching possible
12428         word-wrapped references (bug#6289).
12430         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12431         for consistency with the other vc buffers (bug#6197).
12432         (vc-checkin): Ditto.
12434         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12436         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12438 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12440         * custom.el (defcustom): Clarify that :set is only used in the
12441         Customize user interface (bug#6089).
12443         * progmodes/flymake.el (flymake-mode): If the buffer isn't
12444         associated with a file, refuse to run instead of erroring out
12445         (bug#6084).
12447         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12448         the doc string, since it appears that using `fill-column' always
12449         controls the width (bug#7845).
12451         * simple.el (shell-command-on-region): Say where the error output
12452         went if `shell-command-default-error-buffer' is set (bug#6857).
12454 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
12456         * allout.el (allout-yank-processing): Adjust cursor position for
12457         backwards-deleted space.
12459         (allout-rebullet-heading): Register changes with
12460         allout-exposure-changed-hook, so the modified topic is properly
12461         decorated.
12463 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12465         * minibuffer.el (completion-in-region): Document PREDICATE
12466         (bug#7136).
12468         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12469         of keyword/argument pairs (bug#6904).
12471         * replace.el (multi-occur):
12472         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12474 2011-07-02  Drew Adams  <drew.adams@oracle.com>
12476         * dired.el (dired-mark-if): Make the message about whether it's
12477         marking or unmarking clearer (bug#8523).
12479 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12481         * disp-table.el (display-table-print-array): New function.
12482         (describe-display-table): Use it to print the vectors more pretty
12483         (Bug#8859).
12485 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
12487         * window.el (window-state-get-1): Don't assign clone numbers.
12488         Add clone-of item to list of window parameters.
12489         (window-state-put-2): Don't process clone numbers.
12490         (display-buffer-alist): Fix doc-string.
12492 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12494         * subr.el (remq): Don't allocate if it's not needed.
12495         (keymap--menu-item-binding, keymap--menu-item-with-binding)
12496         (keymap--merge-bindings): New functions.
12497         (keymap-canonicalize): Use them to refine the canonicalization.
12498         * minibuffer.el (minibuffer-local-completion-map)
12499         (minibuffer-local-must-match-map): Move initialization from C.
12500         (minibuffer-local-filename-completion-map): Move initialization from C;
12501         don't inherit from anything here.
12502         (minibuffer-local-filename-must-match-map): Make obsolete.
12503         (completing-read-default): Use make-composed-keymap to combine
12504         minibuffer-local-filename-completion-map with either
12505         minibuffer-local-must-match-map or
12506         minibuffer-local-filename-completion-map.
12508 2011-07-01  Glenn Morris  <rgm@gnu.org>
12510         * type-break.el (type-break-time-sum): Use dolist.
12512         * textmodes/flyspell.el (flyspell-word-search-backward):
12513         Replace CL function.
12515 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12517         * mouse.el (mouse--strip-first-event): New function.
12518         (function-key-map): Use it to map fringe clicks to normal clicks
12519         by default.
12521         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12522         (vc-bzr-revision-completion-table): Add support for annotate and date.
12524         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12525         inherit from parent.
12527 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12529         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12530         (dired-show-file-type): Doc fixup (bug#8818).
12532         * dired.el (dired-mode): Fix up the doc string as suggested by
12533         Drew Adams (bug#8817).
12535         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12536         cookie, since the manual says that it should be possible to add
12537         this function to `find-file-hook' (bug#8709).
12539 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
12541         * progmodes/cfengine.el: Moved all cfengine3.el functionality
12542         here.  Noted Ted Zlatanov as the maintainer.
12543         (cfengine-common-settings, cfengine-common-syntax): New functions
12544         to set up common things between `cfengine-mode' and
12545         `cfengine3-mode'.
12546         (cfengine3-mode): New mode.
12547         (cfengine3-defuns cfengine3-defuns-regex
12548         (cfengine3-class-selector-regex cfengine3-category-regex)
12549         (cfengine3-vartypes cfengine3-font-lock-keywords)
12550         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12551         (cfengine3-indent-line): Add from cfengine3.el.
12553 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
12555         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12557         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12559 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
12561         * window.el (same-window-buffer-names, same-window-regexps)
12562         (same-window-p, special-display-frame-alist)
12563         (special-display-popup-frame, special-display-function)
12564         (special-display-buffer-names, special-display-regexps)
12565         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12566         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12567         (split-window-preferred-function, split-height-threshold)
12568         (split-width-threshold, even-window-heights)
12569         (display-buffer-mark-dedicated, window-splittable-p)
12570         (split-window-sensibly, window-safely-shrinkable-p):
12571         Un-obsolete.
12572         (display-buffer): Don't spread args with function specifier
12573         because special-display-popup-frame won't like it.
12575 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
12577         Time-stamp simplifications and fixes.
12578         These improve accuracy slightly, and future-proof the code
12579         against some potential changes to current-time format.
12581         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12582         by using time-since and float-time.
12584         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12585         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
12586         + NNN microseconds".
12588         * type-break.el (type-break-time-sum): Rewrite using time-add.
12590         * play/hanoi.el (hanoi-current-time-float): Remove.
12591         All uses replaced by float-time.
12593         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12594         This yields a more-accurate answer.
12595         (rng-time-to-float): Remove; no longer needed.
12597         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12599         * calendar/timeclock.el (timeclock-seconds-to-time):
12600         Defalias to seconds-to-time, since they're the same thing.
12602         * emacs-lisp/elp.el (elp-elapsed-time):
12603         * emacs-lisp/benchmark.el (benchmark-elapse):
12604         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12606 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12608         * window.el (bury-buffer): Don't iconify the only frame.
12609         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12610         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
12612 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
12614         * eshell/em-smart.el (eshell-smart-display-navigate-list):
12615         Add mouse-yank-primary.
12617 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
12619         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12621 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12623         * emacs-lisp/find-func.el (find-library--load-name): New fun.
12624         (find-library-name): Use it to find relative load names when provided
12625         absolute file name (bug#8803).
12627 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12629         * textmodes/flyspell.el (flyspell-word): Consider words that
12630         differ only in case as potential doublons (bug#5687).
12632         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12633         Remove two rather uninteresting debugging-like messages to make
12634         debbugs.el more silent.
12636         * comint.el (comint-password-prompt-regexp): Accept "Response" as
12637         a password-like phrase.
12639 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
12641         * progmodes/cc-guess.el: New file.
12643         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12645         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12646         derived from `c-basic-common-init'.
12648         * progmodes/cc-mode.el (top-level): Require cc-guess.
12649         (c-basic-common-init): Use `cc-choose-style-for-mode'.
12651 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
12653         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12655 2011-06-30  Alan Mackenzie  <acm@muc.de>
12657         * progmodes/cc-engine.el (c-guess-continued-construct):
12658         Correct the handling of template-args-cont, particularly for when font
12659         lock is disabled.  Name this case as "CASE G".
12661 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
12663         * allout.el (allout-yank-processing): Fix injection of extra space
12664         between bullet and non-whitespace character in first topic when
12665         pasting, ensuring that the actual spacing in the pasted topic
12666         following the bullet char is preserved.  This extra space was
12667         causing pasted encrypted topics to get a decrypted status even
12668         when the content was actually still encrypted.  Now the decryption
12669         status from before the paste is preserved.
12671         (allout-flag-region): Set all allout overlays so they evaporate
12672         when reduced to zero length (evanescent), to prevent overlay
12673         leakage.
12675 2011-06-30  Glenn Morris  <rgm@gnu.org>
12677         * w32-fns.el (w32-charset-info-alist): Declare.
12679         * find-dired.el (find-grep-options): Simplify.
12681         * term/ns-win.el (ns-set-resource): Declare.
12683         * ses.el (row, col): Declare dynamic variables honestly.
12685         * textmodes/reftex-parse.el (index-tags): Declare.
12687 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
12689         * cus-edit.el (customize-push-and-save): New function.
12691         * files.el (hack-local-variables-confirm): Use it.
12693         * custom.el (load-theme): New arg NO-CONFIRM.
12694         Use customize-push-and-save (Bug#8720).
12695         (custom-enabled-themes): Doc fix.
12697         * cus-theme.el (customize-create-theme)
12698         (custom-theme-merge-theme): Callers to load-theme changed.
12700 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12702         * thingatpt.el (thing-at-point-short-url-regexp): Require that
12703         short URLs have at least one dot in them (bug #7614).
12705         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12706         nil, because using a pty is apparently too slow (bug #895).
12708 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12710         * mail/sendmail.el (sendmail-query-once): New function.
12711         (sendmail-query-once-function): New variable.
12713 2011-06-29  Glenn Morris  <rgm@gnu.org>
12715         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12717         * ses.el (top-level): Require cl when compiling.
12718         (ses-set-localvars): Fix error statement.
12719         Call it at compile time to silence a storm of warnings.
12721 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
12723         * window.el (normalize-live-buffer): Rename to
12724         window-normalize-buffer.
12725         (normalize-live-frame): Rename to window-normalize-frame.
12726         (normalize-any-window): Rename to window-normalize-any-window.
12727         (normalize-live-window): Rename to window-normalize-live-window.
12728         (make-window-atom): Rename to window-make-atom.
12729         (window-resize-reset): Rename to window--resize-reset.
12730         (window-resize-reset-1): Rename to window--resize-reset-1.
12731         (resize-mini-window): Rename to window--resize-mini-window.
12732         (resize-subwindows-skip-p): Rename to
12733         window--resize-subwindows-skip-p.
12734         (resize-subwindows-normal): Rename to
12735         window--resize-subwindows-normal.
12736         (resize-subwindows): Rename to window--resize-subwindows.
12737         (resize-other-windows): Rename to window--resize-siblings.
12738         (resize-this-window): Rename to window--resize-this-window.
12739         (resize-root-window): Rename to window--resize-root-window.
12740         (resize-root-window-vertically): Rename to
12741         window--resize-root-window-vertically.
12742         (normalize-buffer-to-display): Rename to
12743         window-normalize-buffer-to-display.
12744         (normalize-buffer-to-switch-to): Rename to
12745         window-normalize-buffer-to-switch-to.
12746         Correspondingly update all callers of the functions listed
12747         above.
12748         (display-buffer-alist, display-buffer-normalize-arguments)
12749         (display-buffer-normalize-options, display-buffer)
12750         (display-buffer-alist-set): Use "function" instead of
12751         "fun-with-args".
12753 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
12755         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12756         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
12757         debbugs.gnu.org.  Mention acknowledgment email.
12759 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12761         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12762         buffer multibyteness, since it shouldn't matter.
12764 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
12766         * window.el (display-buffer-in-side-window): Handle dedicated
12767         windows as in display-buffer-reuse-window.
12768         (display-buffer-normalize-alist): Use value of override
12769         specifier.
12770         (display-buffer-normalize-specifiers): Use value of
12771         other-window-means-other-frame specifier.
12772         (display-buffer-alist): Rewrite some texts in widgets.
12773         (display-buffer): Spread arguments when calling function
12774         specified by fun-with-args.
12776 2011-06-28  Deniz Dogan  <deniz@dogan.se>
12778         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12779         Unnest `let'.
12781         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12782         selectors (Bug#5732).
12783         (css-proprietary-nmstart-re): Use `regexp-opt'.
12785 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
12787         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12788         (eshell-ls-date-format): New defcustom.
12789         (eshell-ls-file): Use it.
12791 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12793         * help-fns.el (describe-variable): Fix message for terminal-local vars.
12795 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
12797         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12798         (ange-ftp-make-tmp-name): New arg.
12799         (ange-ftp-file-local-copy): Use it.
12801 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
12803         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12804         no-conversion (Bug#8870).
12806 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
12808         * window.el (window-right, window-left, window-child)
12809         (window-child-count, window-last-child)
12810         (window-iso-combination-p, walk-window-tree-1)
12811         (window-atom-check-1, window-tree-1, delete-window)
12812         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12813         new naming conventions - window-vchild, window-hchild,
12814         window-next and window-prev are now called window-top-child,
12815         window-left-child, window-next-sibling and window-prev-sibling
12816         respectively.
12817         (resize-window-reset): Rename to window-resize-reset.
12818         (resize-window-reset-1): Rename to window-resize-reset-1.
12819         (resize-window): Rename to window-resize.
12820         (window-min-height, window-min-width)
12821         (resize-mini-window, resize-this-window, resize-root-window)
12822         (resize-root-window-vertically, adjust-window-trailing-edge)
12823         (enlarge-window, shrink-window, maximize-window)
12824         (minimize-window, delete-window, quit-restore-window)
12825         (split-window, balance-windows, balance-windows-area-adjust)
12826         (balance-windows-area, window-state-put-2)
12827         (display-buffer-even-window-sizes, display-buffer-set-height)
12828         (display-buffer-set-width, set-window-text-height)
12829         (fit-window-to-buffer): Rename all "resize-window" prefixed
12830         calls to use the "window-resize" prefix convention.
12831         (display-buffer-alist): Fix symbol for label specifier.
12832         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12833         corresponding specifier.
12834         Reported by Juanma Barranquero <lekktu@gmail.com>.
12836 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12838         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12839         convention.
12840         (ses-call-printer): Does not pass an empty string to formatter when the
12841         cell is empty to keep from barking printer Calc math-format-value.
12843 2011-06-27  Richard Stallman  <rms@gnu.org>
12845         * battery.el (battery-mode-line-limit): New variable.
12846         (battery-update): Handle it.
12848         * mail/rmailmm.el (rmail-mime-process-multipart):
12849         Handle truncated messages.
12851 2011-06-27  Glenn Morris  <rgm@gnu.org>
12853         * progmodes/flymake.el (flymake-err-line-patterns):
12854         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
12856 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12858         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12859         (ses--clean-!, ses--clean-_): New functions.
12860         (ses-range): Add configurability of readout order, and conversion
12861         to Calc vector.
12863         * ses.el (ses-repair-cell-reference-all): New function.
12864         (ses-cell-symbol): Set macro as safe, so that it can be used in
12865         formulas.
12867         * ses.el: Update cycle detection algorithm.
12868         (ses-localvars): Add ses--Dijkstra-attempt-nb and
12869         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12870         (ses-set-localvars): New function.
12871         (ses-make-cell): Add property-list as a cell element.
12872         (ses-cell-property-get-fun, ses-cell-property-get)
12873         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12874         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12875         New functions.
12876         (ses-cell-property-set, ses-cell-property-pop)
12877         (ses-cell-property-get-handle): New macro.
12878         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12879         New aliases, used for code readability.
12880         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12881         cycle detection.
12882         (ses-self-reference-early-detection): New defcustom.
12883         (ses-formula-references): Robustify against self-referring cells.
12884         (ses-mode): Use ses-set-localvars.
12885         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12886         before lauching the update processing.
12887         (ses-initialize-Dijkstra-attempt): New function.
12888         (ses-recalculate-cell): Update for cycle detection based on
12889         Dijkstra algorithm.
12891         * ses.el: Fix commenting and indenting convention.
12893 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12895         * bs.el (bs-cycle-next): Complete last change.
12897 2011-06-27  Drew Adams  <drew.adams@oracle.com>
12899         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12901 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12903         * net/network-stream.el (network-stream-open-starttls):
12904         Don't re-get capabilities unless we've reestablished connection.
12905         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12907         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12908         to binary to possibly avoid line encoding issues on Windows (among
12909         other things).
12911 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12913         * net/network-stream.el (open-network-stream): Return an :error
12914         saying what the problem was, if possible.
12916         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12917         server.
12919         * net/network-stream.el (network-stream-open-starttls): If we
12920         wanted to use STARTTLS, and the server offered it, but we weren't
12921         able to because we had no STARTTLS support, then close the connection.
12922         (open-network-stream): Return an :error element, if present.
12924 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
12926         * hl-line.el (hl-line-sticky-flag): Doc fix.
12927         (global-hl-line-sticky-flag): New option (Bug#8323).
12928         (global-hl-line-highlight): Obey it.
12930         * vc/vc.el (vc-revert-show-diff): Default to t.
12932 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
12934         * allout-widgets.el (allout-widgets-post-command-business):
12935         Stop decorating intermediate isearch matches.  They're not being
12936         undecorated when an isearch is continued past, and isearch
12937         automatically collapses them.  This leads to "widget leaks", where
12938         decorated items accumulate in collapsed areas.  Lines with lots of
12939         hidden widgets can slow down cursor travel, substantially.
12940         Too much complicated machinery would be needed to ensure undecoration,
12941         so we're doing without this nicety.
12943         (allout-widgets-tally-string): Don't try to do a hash-table-count
12944         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
12945         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12946         *Messages* when allout-widgets-maintain-tally is t.
12948 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
12950         * window.el (display-buffer-normalize-argument): Rename to
12951         display-buffer-normalize-arguments.  Handle special meaning of
12952         LABEL argument.  Respect special-display-function when popping up
12953         a new frame.  Fix code searching for a window showing the buffer
12954         on another frame.
12955         (display-buffer-normalize-specifiers):
12956         Call display-buffer-normalize-arguments.
12957         (display-buffer-in-window): Don't undedicate the window if its
12958         buffer remains the same.
12959         Reported by Drew Adams <drew.adams@oracle.com>.
12960         (display-buffer-alist): Add choice for same-window macro
12961         specfier.
12962         (display-buffer): Mention special meaning of LABEL argument in
12963         doc-string.  Fix quoting.  Don't pop up a new frame even as
12964         fallback.
12966 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
12968         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12969         avoid deleting the current window in some cases (bug#8911).
12971 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
12973         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12974         (Bug#8934)
12976 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12978         * net/network-stream.el (network-stream-open-starttls):
12979         Use built-in TLS support if `gnutls-available-p' is true.
12980         (network-stream-open-tls): Ditto.
12982 2011-06-26  Leo Liu  <sdl.web@gmail.com>
12984         * register.el (registerv): New struct.
12985         (registerv-make): New function.
12986         (jump-to-register, describe-register-1, insert-register):
12987         Support the jump-func, print-func and insert-func slot of a registerv
12988         struct.  (Bug#8415)
12990 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
12992         * vc/vc.el (vc-revert-show-diff): New defcustom.
12993         (vc-diff-internal): New arg specifying diff buffer.
12994         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
12995         reuse an existing *vc-diff* buffer (Bug#8927).
12997         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12999 2011-06-26  Glenn Morris  <rgm@gnu.org>
13001         * progmodes/f90.el (f90-critical-indent): New option.
13002         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13003         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13004         (f90-mode): Doc fix.
13005         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13006         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13007         (f90-beginning-of-block, f90-next-block, f90-indent-region)
13008         (f90-match-end): Handle block, critical.
13010 2011-06-25  Glenn Morris  <rgm@gnu.org>
13012         * calendar/diary-lib.el (diary-included-files): Doc fix.
13013         (diary-include-files): New function, extracted from
13014         diary-include-other-diary-files and diary-mark-included-diary-files.
13015         (diary-include-other-diary-files, diary-mark-included-diary-files):
13016         Just call diary-include-files.
13017         (diary-mark-entries): Reset diary-included-files on first call.
13019         * calendar/diary-lib.el (diary-mark-entries)
13020         (diary-mark-included-diary-files):
13021         Visit included diary-files in temp buffers.
13023         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13024         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13025         (f90-start-block-re, f90-imenu-generic-expression)
13026         (f90-looking-at-program-block-start, f90-no-block-limit):
13027         Add support for submodules.
13029         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13030         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13032 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
13034         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13035         buffer-file-type before setting its value, to avoid disastrous
13036         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
13038 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
13040         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13042         * ses.el (ses-unload-function):
13043         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13045         * proced.el (proced-unload-function):
13046         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13048 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
13050         * server.el (server-create-window-system-frame): Add parameters arg.
13051         (server-process-filter): Doc fix.  Handle frame-parameters.
13053 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
13055         Fix bug#8730, bug#8781.
13057         * loadhist.el (unload--set-major-mode): New function.
13058         (unload-feature): Use it.
13060         * progmodes/python.el (python-after-info-look): Add autoload cookie.
13061         (python-unload-function): New function.
13063 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13065         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13067 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
13069         * net/browse-url.el (browse-url-firefox-program): Add icecat to
13070         the candidates list.
13072 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
13074         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13076 2011-06-23  Richard Stallman  <rms@gnu.org>
13078         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13079         (rmail-variables): Set next-error-move-function.
13080         (rmail-what-message): Take argument POS.
13081         (rmail-next-error-move): New function.
13083 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13085         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13086         messages for adjacent non-terminals.
13088 2011-06-23  Richard Stallman  <rms@gnu.org>
13090         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13091         (rmail-show-message-1): Preserve buffer modified flag.
13092         (rmail-start-mail): Don't specify use of rmail-mail-return;
13093         that's done by mail-bury now.
13094         (rmail-mail-return): Handle arg NEWBUF.
13096 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
13098         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13099         SIZE is a number.
13101 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
13103         * window.el (get-lru-window, get-mru-window)
13104         (get-largest-window): Never return a minibuffer window.
13105         (display-buffer-pop-up-window): Fix a bug that could lead to
13106         reusing the minibuffer window.
13107         (display-buffer): Pass original specifier argument to
13108         display-buffer-function instead of the normalized one.
13109         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13111 2011-06-22  Leo Liu  <sdl.web@gmail.com>
13113         * minibuffer.el (completing-read-function)
13114         (completing-read-default): Move from minibuf.c
13116 2011-06-22  Richard Stallman  <rms@gnu.org>
13118         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13119         to Rmail even if not started by a special Rmail command.
13121         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13122         Copy the buffer currently showing just one message.
13124 2011-06-22  Roland Winkler  <winkler@gnu.org>
13126         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13127         (bibtex-clean-entry): First delete the old key so that a
13128         customized algorithm for generating the new key does not get
13129         confused by the old key.
13130         (bibtex-url): Obey regexp of first step.
13131         (bibtex-search-entries): Do not use add-to-list with local
13132         list-var.
13134 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13136         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13137         stored a user name, then query for the password first, instead of
13138         waiting for SMTP to give an error message and the trying again.
13140 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
13142         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13143         BUFFER in call-process.
13145 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13147         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13148         QUIT twice.
13149         (smtpmail-try-auth-methods): Require user name and password from
13150         auth-source.
13152 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
13154         * window.el (display-buffer-default-specifiers)
13155         (display-buffer-alist): Remove entries for pop-up-frame-alist.
13156         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13157         (split-window): Normalize SIDE argument (Bug#8916).
13159         * frame.el (pop-up-frame-alist, pop-up-frame-function)
13160         (special-display-frame-alist, special-display-popup-frame):
13161         Remove duplicate declarations.  These are now in window.el.
13163 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13165         * mail/smtpmail.el (smtpmail-via-smtp):
13166         Set :use-starttls-if-possible so that we always use STARTTLS if the
13167         server supports it.  SMTP servers that support STARTTLS commonly
13168         require it.
13170         * net/network-stream.el (network-stream-open-starttls): Support
13171         upgrading to STARTTLS always, even if we don't have built-in support.
13172         (open-network-stream): Add the :always-query-capabilities keyword.
13174         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13175         upgrades with `open-network-stream', and rely solely on
13176         auth-source for all credentials.  Big changes throughout the file,
13177         but in particular:
13178         (smtpmail-auth-credentials): Remove.
13179         (smtpmail-starttls-credentials): Remove.
13180         (smtpmail-via-smtp): Check for servers saying they want AUTH after
13181         MAIL FROM, too.
13183         * net/network-stream.el (network-stream-open-starttls):
13184         Provide support for client certificates both for external and built-in
13185         STARTTLS.
13186         (auth-source): Require.
13187         (open-network-stream): Document the :client-certificate keyword.
13188         (network-stream-certificate): Change cert-cert to cert and
13189         cert-key to key.
13191 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
13193         * net/tramp-cache.el (top): Don't load the persistency file when
13194         "emacs -Q" has been called.
13196 2011-06-21  Tim Harper  <timcharper@gmail.com>
13198         * term/ns-win.el (ns-initialize-window-system):
13199         Set application-specific `ApplePressAndHoldEnabled' system
13200         resource to NO as it is not yet supported by the NS port.
13202 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
13204         * misc.el (list-dynamic-libraries--refresh): Compute header here...
13205         (list-dynamic-libraries): ...not here.
13207 2011-06-21  Leo Liu  <sdl.web@gmail.com>
13209         * subr.el (sha1): Implement sha1 using secure-hash.
13211 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
13213         * window.el (display-buffer-alist): In default value do not
13214         enforce searching a window on any but the selected frame.
13215         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13216         (display-buffer-select-window): Remove function.
13217         (display-buffer-in-window): When a window on another frame gets
13218         reused, do not select it any more but just raise its frame if
13219         necessary (Bug#8851) and (Bug#8856).
13220         (display-buffer-normalize-options): Handle pop-up-frames related
13221         options more faithfully.
13222         (pop-to-buffer): Don't rely on `display-buffer' selecting the
13223         window if it is on another frame.
13224         (display-buffer-alist, display-buffer-default-specifiers):
13225         Don't make new frame unsplittable by default.
13226         (display-buffer-normalize-argument): Fix doc-string typo and use
13227         'same-frame-other-window instead of 'other-window when associating
13228         with display-buffer-macro-specifiers.
13230 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
13232         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13233         New functions.
13234         (5x5-mode-map, 5x5-mode-menu): Bind them.
13235         (5x5-draw-grid): Tweak the solver's rendering.
13237 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13239         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13240         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13242 2011-06-21  Drew Adams  <drew.adams@oracle.com>
13244         * menu-bar.el: Use function variable instead of switch-to-buffer.
13245         (menu-bar-select-buffer-function): New variable.
13246         (menu-bar-update-buffers): Use it (bug#8876).
13248 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13250         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13251         variable's status.
13253 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
13255         * x-dnd.el (x-dnd-version-from-flags)
13256         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13257         and long as number (Bug#8899).
13258         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13260 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13262         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13263         (completion-try-completion, completion-all-completions): Compute the
13264         metadata argument if it's missing; make it optional (bug#8795).
13266         * wid-edit.el: Use lex-bind and move towards completion-at-point.
13267         (widget-complete): Use new :completion-function property.
13268         (widget-completions-at-point): New function.
13269         (default): Use :completion-function instead of :complete.
13270         (widget-default-completions): Rename from widget-default-complete;
13271         Rewrite.
13272         (widget-string-complete, widget-file-complete, widget-color-complete):
13273         Remove functions.
13274         (file, symbol, function, variable, coding-system, color):
13275         * international/mule-cmds.el (default-input-method, charset)
13276         (language-info-custom-alist):
13277         * cus-edit.el (face): Use new property :completions.
13279         * progmodes/pascal.el (pascal-completions-at-point): New function.
13280         (pascal-mode): Use it.
13281         (pascal-mode-map): Use completion-at-point.
13282         (pascal-toggle-completions): Make obsolete.
13283         (pascal-complete-word, pascal-show-completions):
13284         * progmodes/octave-mod.el (octave-complete-symbol):
13285         Redefine as obsolete alias.
13286         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13287         Signal absence of completion info for old Octave,
13288         (inferior-octave-complete): Redefine as obsolete alias.
13289         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13290         (meta-completions-at-point): Rename from meta-complete-symbol and
13291         adapt it for use on completion-at-point-functions.
13292         (meta-common-mode): Use it.
13293         (meta-looking-at-backward, meta-match-buffer): Remove.
13294         (meta-complete-symbol): Redefine as obsolete alias.
13295         (meta-common-mode-map): Use completion-at-point.
13296         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13297         (makefile-mode-map): Use completion-at-point.
13298         (makefile-completions-at-point): Rename from makefile-complete and
13299         adapt it for use on completion-at-point-functions.
13300         (makefile-mode): Use it.
13301         (makefile-complete): Redefine as obsolete alias.
13303 2011-06-20  Deniz Dogan  <deniz@dogan.se>
13305         * net/rcirc.el: Delete trailing whitespaces once and for all.
13307 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
13309         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13311 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
13313         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13315         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13317 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
13319         * window.el (display-buffer-other-window-means-other-frame):
13320         Call display-buffer-normalize-alist.
13321         (display-buffer-normalize-specifiers-1): Rename to
13322         display-buffer-normalize-argument.  New argument other-frame.
13323         Rewrite.
13324         (display-buffer-normalize-specifiers-2): Rename to
13325         display-buffer-normalize-options.
13326         (display-buffer-normalize-alist-1): New function.
13327         (display-buffer-normalize-specifiers-3): Rename to
13328         display-buffer-normalize-alist.
13329         Call display-buffer-normalize-alist-1.
13330         (display-buffer-normalize-options-inhibit): New variable.
13331         (display-buffer-normalize-specifiers): Rewrite calling
13332         display-buffer-normalize-alist,
13333         display-buffer-normalize-argument, and
13334         display-buffer-normalize-options.  Don't call the latter if
13335         display-buffer-normalize-options-inhibit is non-nil.
13336         (frame-auto-delete): New option.
13337         (window-deletable-p): Use frame-auto-delete.
13338         (window-list-no-nils, window-state-ignored-parameters)
13339         (window-state-get-1, window-state-get, window-state-put-list)
13340         (window-state-put-1, window-state-put-2, window-state-put):
13341         New functions.
13342         (display-buffer-normalize-options): Move special-display-p group
13343         after pop-up-frame group (Bug#8851) and (Bug#8856).
13345 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
13347         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13348         groups (Bug#8776).
13349         (rx-submatch-n): New function.
13350         (rx): Document it.
13352         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13353         (Bug#8768).
13355         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13357         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13359         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13360         anytime existing face settings are present (Bug#8889).
13362         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13363         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13364         Remove unused argument.
13366 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
13368         * window.el (display-buffer-default-specifiers):
13369         Remove pop-up-frame.  Add pop-up-window-min-height,
13370         pop-up-window-min-width, and another reuse-window specifier
13371         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
13372         (display-buffer-normalize-specifiers-2):
13373         Handle split-height-threshold and split-width-threshold also when
13374         pop-up-windows is unset.  Add a reuse-window specifier for the
13375         case popping up a new window fails.
13376         (special-display-popup-frame): Remove double quoting.
13377         (display-buffer-normalize-specifiers-1): Fix thinko.
13379 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13381         * shell.el (shell-completion-vars): Set pcomplete-termination-string
13382         according to comint-completion-addsuffix.
13384         * pcomplete.el: Convert to lexical binding and fix bug#8819.
13385         (pcomplete-suffix-list): Mark as obsolete.
13386         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13387         pcomplete-seen in the closure.
13388         (pcomplete-comint-setup): Setup completion-at-point as well.
13389         (pcomplete--entries): New function.
13390         (pcomplete--env-regexp): New var.
13391         (pcomplete-entries): Rewrite to work with partial-completion and
13392         without relying on pcomplete-suffix-list.
13393         (pcomplete-pare-list): Remove, unused.
13395 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
13397         * window.el (display-buffer-alist): Set pop-up-window-min-height
13398         and pop-up-window-min-width in default value.  Reported by
13399         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
13400         other-window-means-other-frame.
13401         (display-buffer-macro-specifiers): Comment out entry for
13402         other-window specifier.
13403         (display-buffer-other-window-means-other-frame): New function.
13404         (display-buffer-normalize-specifiers-1): New arguments
13405         buffer-name and label.  Treat other-window case specially.
13406         (display-buffer-normalize-specifiers-2): Treat other-window case
13407         specially.
13408         (display-buffer-normalize-specifiers-3): New function.
13409         (display-buffer-normalize-specifiers):
13410         Call display-buffer-normalize-specifiers-3.
13412 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
13414         * window.el (same-window-p): Fix two typos introduced when
13415         adding with-no-warnings.
13416         (display-buffer-normalize-specifiers-1): Don't check
13417         pop-up-frames for 'unset initialization.
13418         (display-buffer-normalize-specifiers-2): Major rewrite using
13419         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13420         (pop-up-frames, display-buffer-reuse-frames)
13421         (display-buffer-mark-dedicated): Don't initialize to 'unset.
13422         Suggested by David Engster <deng@randomsample.de>.
13423         (even-window-heights): Initialize to 'unset.
13424         (display-buffer-alist-set): Handle new 'unset initializations.
13425         (display-buffer-macro-specifiers): Don't pop up a new frame in the
13426         other window case.
13428 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
13430         * window.el (display-buffer-normalize-specifiers-1):
13431         Respect current value of pop-up-frames for most reasonable values of
13432         second argument of display-buffer (Bug#8865).
13433         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13434         (switch-to-buffer-other-window-same-frame)
13435         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
13436         Adams (Bug#8875).
13437         (display-buffer): Don't check noninteractive when calling
13438         display-buffer-pop-up-frame.
13439         (display-buffer-pop-up-frame): Never pop up a frame in
13440         noninteractive mode (Bug#8857).
13441         (enlarge-window, shrink-window): Don't report an error when the
13442         window can't be resized as requested (Bug#8862).
13444 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13446         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13448         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13450         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13452 2011-06-15  Alan Mackenzie  <acm@muc.de>
13454         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13455         for declarators, disable knr checking to speed up for normal files.
13456         2: Refactor, replacing a sequence of nested if forms by a cond form.
13458 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13460         * net/network-stream.el (open-network-stream): Add the keyword
13461         :always-query-capabilities for the case where you want to force a
13462         `plain' network connection, but the protocol still requires the
13463         capabilitiy command (i.e., SMTP and EHLO).
13465         * subr.el (process-live-p): Rename from `process-alive-p' for
13466         consistency with other `-live-p' functions.
13468 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13470         * window.el (same-window-buffer-names, same-window-regexps)
13471         (special-display-frame-alist, special-display-popup-frame)
13472         (special-display-function, special-display-buffer-names)
13473         (special-display-regexps, pop-up-frame-alist)
13474         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13475         (pop-up-windows, split-window-preferred-function)
13476         (split-height-threshold, split-width-threshold, even-window-heights)
13477         (display-buffer-mark-dedicated): Don't encourage the use of
13478         display-buffer-alist from Elisp code.
13480 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
13482         * progmodes/python.el (python-mode): Derive from prog-mode.
13483         * progmodes/ps-mode.el (ps-mode):
13484         * progmodes/mixal-mode.el (mixal-mode):
13485         * progmodes/cfengine.el (cfengine-mode):
13486         * progmodes/ld-script.el (ld-script-mode): Likewise.
13488 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
13490         * window.el (display-buffer-alist): Trim default value to avoid
13491         popping up a new frame (Bug#8857) or reusing an arbitrary window
13492         on another frame.
13493         (display-buffer): Do not fall back on popping up a new frame in
13494         batch mode (Bug#8857).
13496 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
13498         * cus-theme.el (describe-theme-1): Use custom-theme-p.
13499         (custom-theme-summary): New function.
13500         (customize-themes): Use it.
13502 2011-06-13  Glenn Morris  <rgm@gnu.org>
13504         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13506 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
13508         * help.el (help-window): Remove variable.
13509         (help-window-point-marker, temp-buffer-max-height)
13510         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13511         (help-print-return-message): Don't set help-window.
13512         (resize-temp-buffer-window): Rewrite cod eand doc-string.
13513         (help-window-setup-finish): Remove.
13514         (help-window-display-message, help-window-setup)
13515         (with-help-window): Major rewrite based on new
13516         display-buffer-window variable.
13518         * help-mode.el (help-mode-finish): Remove help-window related
13519         code.
13521         * view.el (view-exits-all-viewing-windows): Remove reference to
13522         view-return-to-alist in doc-string.
13523         (view-return-to-alist): Make obsolete.
13524         (view-buffer): Call pop-to-buffer-same-window and remove
13525         undo-window code.
13526         (view-buffer-other-window): Call pop-to-buffer-other-window and
13527         simplify code.  Ignore second argument.
13528         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13529         simplify code.  Ignore second argument.
13530         (view-return-to-alist-update): Make obsolete.
13531         (view-mode-enter): Rename second argument to QUIT-RESTORE.
13532         Rewrite using quit-restore window parameters.
13533         (view-mode-exit): Rename second argument to EXIT-ONLY.
13534         Rewrite using quit-restore-window.
13535         (View-exit, View-exit-and-edit, View-leave, View-quit)
13536         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13537         appropriate arguments.
13538         (view-end-message): Use quit-restore window parameter.
13540         * window.el (display-buffer-function): Rewrite doc-string.
13541         (display-buffer-window, display-buffer-alist): New variables.
13542         (display-buffer-split-specifiers)
13543         (display-buffer-side-specifiers)
13544         (display-buffer-macro-specifiers): New constants.
13545         (display-buffer-even-window-sizes, display-buffer-set-height)
13546         (display-buffer-set-width, display-buffer-select-window)
13547         (display-buffer-in-window, display-buffer-reuse-window)
13548         (display-buffer-split-window-1, display-buffer-split-window)
13549         (display-buffer-split-atom-window, display-buffer-pop-up-window)
13550         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13551         (display-buffer-in-side-window, normalize-buffer-to-display)
13552         (display-buffer-normalize-specifiers-1)
13553         (display-buffer-normalize-specifiers-2)
13554         (display-buffer-normalize-specifiers, display-buffer-frame):
13555         New functions.
13556         (display-buffer): Major rewrite.
13557         (display-buffer-other-window, display-buffer-other-frame)
13558         (pop-to-buffer, switch-to-buffer-other-window)
13559         (switch-to-buffer-other-frame): Rewrite.
13560         (display-buffer-same-window, display-buffer-same-frame)
13561         (display-buffer-same-frame-other-window)
13562         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13563         (pop-to-buffer-other-window)
13564         (pop-to-buffer-same-frame-other-window)
13565         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13566         (switch-to-buffer-other-window-same-frame): New functions.
13567         (same-window-p, special-display-p): Rewrite disabling warnings.
13568         Make obsolete.
13569         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13570         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13571         Make obsolete
13572         (same-window-buffer-names, same-window-regexps)
13573         (special-display-frame-alist, special-display-popup-frame)
13574         (special-display-function, special-display-buffer-names)
13575         (special-display-regexps, pop-up-frame-alist)
13576         (pop-up-frame-function, split-window-preferred-function)
13577         (split-height-threshold, split-width-threshold)
13578         (even-window-heights): Make obsolete.
13580 2011-06-12  Glenn Morris  <rgm@gnu.org>
13582         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
13583         Misc simplifications.
13585 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
13587         * window.el (window-safely-shrinkable-p): Restore function which
13588         was inadvertently removed in change from 2011-06-11.  Declare as
13589         obsolete.
13591         * calendar/calendar.el (calendar-generate-window):
13592         Use window-iso-combined-p instead of combination of one-window-p and
13593         window-safely-shrinkable-p.
13595 2011-06-12  Glenn Morris  <rgm@gnu.org>
13597         * progmodes/fortran.el (fortran-mode-syntax-table):
13598         * progmodes/f90.el (f90-mode-syntax-table):
13599         Set % to punctuation.  (Bug#8820)
13600         (f90-find-tag-default): Remove, no longer needed.
13602 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
13604         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13606 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
13608         * image.el (image-animated-p): Return animation delay in seconds.
13609         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13610         (image-animate-timeout): Remove DELAY argument.  Don't assume
13611         every subimage has the same delay; get it from image-animated-p.
13612         (image-animate): Caller changed.
13614 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
13616         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13617         to ignored backtrace functions.
13619 2011-06-11  Glenn Morris  <rgm@gnu.org>
13621         * calendar/appt.el (appt-disp-window-function): Doc fix.
13622         (appt-check): Handle overlapping appointments.  (Bug#8337)
13624 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
13626         * window.el (window-tree-1, window-tree): New functions, moving
13627         the latter to window.el.
13628         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13629         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13630         (bw-refresh-edges): Remove.
13631         (balance-windows-1, balance-windows-2): New functions.
13632         (balance-windows): Rewrite in terms of window tree functions,
13633         balance-windows-1 and balance-windows-2.
13634         (bw-adjust-window): Remove.
13635         (balance-windows-area-adjust): New function with functionality of
13636         bw-adjust-window but using resize-window.
13637         (set-window-text-height): Rewrite doc-string.
13638         Use normalize-live-window and resize-window.
13639         (enlarge-window-horizontally, shrink-window-horizontally):
13640         Rename argument to DELTA.
13641         (window-buffer-height): New function.
13642         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13643         Rewrite using new window resize routines.
13644         (kill-buffer-and-window, mouse-autoselect-window-select):
13645         Use ignore-errors instead of condition-case.
13646         (quit-window): Call delete-frame instead of delete-windows-on
13647         for the only buffer on frame.
13649 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
13651         * loadup.el (top-level): Load window before files for the sake
13652         of replace-buffer-in-windows.
13654         * files.el (read-buffer-to-switch)
13655         (switch-to-buffer-other-window)
13656         (switch-to-buffer-other-frame, display-buffer-other-frame):
13657         Move to window.el.
13659         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13660         (previous-buffer): Move to window.el.
13662         * bindings.el (unbury-buffer): Move to window.el.
13664         * window.el (delete-other-windows-vertically): Move after
13665         definition of delete-other-windows.
13666         (other-window, delete-windows-on, replace-buffer-in-windows):
13667         Move here from window.c.
13668         (record-window-buffer, unrecord-window-buffer)
13669         (set-window-buffer-start-and-point, switch-to-prev-buffer)
13670         (switch-to-next-buffer): New functions.
13671         (get-next-valid-buffer, last-buffer, next-buffer): Move here
13672         from simple.el.  Call switch-to-next-buffer.
13673         (previous-buffer): Move here from simple.el.
13674         Call switch-to-prev-buffer.
13675         (bury-buffer): Move here from buffer.c.  Switch to previous
13676         buffer when window cannot be deleted.
13677         (unbury-buffer): Move here from bindings.el.
13678         (ctl-x-map): Move binding for other-window from window.c to
13679         here.
13680         (read-buffer-to-switch, switch-to-buffer-other-window)
13681         (switch-to-buffer-other-frame): Move here from files.el.
13682         (normalize-buffer-to-switch-to): New functions.
13683         (switch-to-buffer): Move here from buffer.c.
13684         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13686 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
13688         * window.el (window-min-height, window-min-width): Move here
13689         from window.c.  Add defcustoms and rewrite doc-strings.
13690         (resize-mini-window, resize-window): New functions.
13691         (adjust-window-trailing-edge, enlarge-window, shrink-window):
13692         Move here from window.c.
13693         (maximize-window, minimize-window): New functions.
13694         (delete-window, delete-other-windows, split-window): Move here
13695         from window.c.
13696         (window-split-min-size): New function.
13697         (split-window-keep-point): Mention split-window-above-each-other
13698         instead of split-window-vertically.
13699         (split-window-above-each-other, split-window-vertically):
13700         Rename split-window-vertically to split-window-above-each-other
13701         and provide defalias for old definition.
13702         (split-window-side-by-side, split-window-horizontally):
13703         Rename split-window-horizontally to split-window-side-by-side
13704         and provide defalias for the old definition.
13705         (ctl-x-map): Move bindings for delete-window,
13706         delete-other-windows and enlarge-window here from window.c.
13707         Replace bindings for split-window-vertically and
13708         split-window-horizontally by bindings for
13709         split-window-above-each-other and split-window-side-by-side.
13711         * cus-start.el (all): Remove entries for window-min-height and
13712         window-min-width.  Add entries for window-splits and
13713         window-nest.
13715 2011-06-09  Glenn Morris  <rgm@gnu.org>
13717         * calendar/appt.el (appt-mode-line): New function.
13718         (appt-check, appt-disp-window): Use it.
13720         * files.el (hack-one-local-variable-eval-safep):
13721         Allow minor-modes with explicit +/-1 arguments.
13723 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
13725         * term/xterm.el (xterm): Add defgroup.
13726         (xterm-extra-capabilities): Add defcustom to supply known xterm
13727         capabilities, skip querying them, or query them (default).
13728         (terminal-init-xterm): Use it.
13729         (terminal-init-xterm-modify-other-keys): New function to set up
13730         modifyOtherKeys support to simplify `terminal-init-xterm'.
13732 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
13734         * window.el (resize-window-reset, resize-window-reset-1)
13735         (resize-subwindows-skip-p, resize-subwindows-normal)
13736         (resize-subwindows, resize-other-windows, resize-this-window)
13737         (resize-root-window, resize-root-window-vertically)
13738         (window-deletable-p, window-or-subwindow-p)
13739         (frame-root-window-p): New functions.
13741 2011-06-09  Glenn Morris  <rgm@gnu.org>
13743         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13744         (ange-ftp-get-files): Use it.
13746 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
13748         * mail/sendmail.el (mail-recover-1, mail-recover):
13749         * files.el (recover-file, recover-session):
13750         Handle dired-listing-switches not being just a single short option.
13752 2011-06-09  Glenn Morris  <rgm@gnu.org>
13754         * calendar/appt.el (appt-display-message, appt-disp-window):
13755         Handle lists of appointments.
13757 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
13759         * window.el (one-window-p): Move down in code.
13760         Rewrite doc-string.
13761         (window-current-scroll-bars): Rewrite doc-string.
13762         Normalize live window argument.
13763         (walk-windows, get-window-with-predicate, count-windows):
13764         Rewrite doc-string.  Use window-list-1.
13765         (window-in-direction-2, window-in-direction, get-mru-window):
13766         New functions.
13768 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
13770         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13771         Doc fix (Bug#8713).
13773 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
13775         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13777 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
13779         * loadhist.el (unload-feature-special-hooks):
13780         Add `comint-output-filter-functions'.
13782 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
13784         * calendar/appt.el (appt-check): Move some initializations into the let.
13786 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
13788         * window.el (window-height): Defalias to window-total-height.
13789         (window-width): Defalias to window-body-width.
13791 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
13793         * image-mode.el (image-toggle-animation): New command.
13794         (image-mode-map): Bind it to RET.
13795         (image-mode): Update message.
13796         (image-toggle-display-image): Avoid a spurious cache flush.
13797         (image-transform-rotation): Doc fix.
13798         (image-transform-properties): Return quickly in the normal case.
13799         (image-animate-loop): Rename from image-animate-max-time.
13801         * image.el (image-animate-max-time): Move to image-mode.el.
13802         (create-animated-image): Remove unnecessary function.
13803         (image-animate): Rename from image-animate-start.  New arg.
13804         (image-animate-stop): Remove; just use image-animate-timer.
13805         (image-animate-timer): Use car-safe.
13806         (image-animate-timeout): Rename argument.
13808 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
13810         * window.el (get-lru-window, get-largest-window): Move here from
13811         window.c.  Rename first argument to ALL-FRAMES.
13812         Rephrase doc-strings.
13813         (get-buffer-window-list): Rewrite using window-list-1.
13814         Rephrase doc-string.
13815         (window-safe-min-height, window-safe-min-width): New constants.
13816         (window-size-ignore, window-min-size, window-min-size-1)
13817         (window-sizable, window-sizable-p, window-size-fixed-1)
13818         (window-size-fixed-p, window-min-delta-1, window-min-delta)
13819         (window-max-delta-1, window-max-delta, window-resizable)
13820         (window-resizable-p, window-total-height, window-total-width)
13821         (window-body-width): New functions.
13822         (window-full-height-p, window-full-width-p): Rewrite using
13823         window-total-size.
13824         (window-body-height): Rewrite using window-body-size.
13826 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
13828         * window.el (window-right, window-left, window-child)
13829         (window-child-count, window-last-child, window-any-p)
13830         (normalize-live-buffer, normalize-live-frame)
13831         (normalize-any-window, normalize-live-window)
13832         (window-iso-combination-p, window-iso-combined-p)
13833         (window-iso-combinations)
13834         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13835         (windows-with-parameter, window-with-parameter)
13836         (window-atom-root, make-window-atom, window-atom-check-1)
13837         (window-atom-check, window-side-check, window-check):
13838         New functions.
13839         (ignore-window-parameters, window-sides, window-sides-vertical)
13840         (window-sides-slots): New variables.
13841         (window-size-fixed): Move down in code.  Minor doc-string fix.
13843 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
13845         * comint.el (comint-dynamic-complete-as-filename)
13846         (comint-dynamic-complete-filename): Correctly call
13847         completion-in-region.
13849 2011-06-05  Deniz Dogan  <deniz@dogan.se>
13851         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13852         in last change.
13854 2011-06-05  Deniz Dogan  <deniz@dogan.se>
13856         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13857         (rcirc): Use it to prompt for encryption.
13859 2011-06-05  Roland Winkler  <winkler@gnu.org>
13861         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13862         (bibtex-search-entries): New command bound to C-c C-a.
13863         (bibtex-display-entries): New function.
13865 2011-06-05  Roland Winkler  <winkler@gnu.org>
13867         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13868         (bibtex-insert-kill): After yanking insert newline if necessary.
13869         (bibtex-initialize): Call bibtex-string-files-init only once.
13870         (bibtex-mode): Do not call easy-menu-add.
13871         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13872         (bibtex-yank): Set arg properly if nil.
13874 2011-06-05  Roland Winkler  <winkler@gnu.org>
13876         * textmodes/bibtex.el (bibtex-search-entry-globally):
13877         New variable.
13878         (bibtex-search-entry): Use it.
13880 2011-06-05  Roland Winkler  <winkler@gnu.org>
13882         * textmodes/bibtex.el (bibtex-entry-format): New option
13883         sort-fields.
13884         (bibtex-format-entry, bibtex-reformat): Honor this option.
13885         (bibtex-parse-entry): Return fields in proper order.
13887 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
13889         * doc-view.el (doc-view-remove-if): Move computation of result out
13890         of `dolist' to silence misleading lexical-binding warning.
13892 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
13894         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13895         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13897 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
13899         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13900         "SunOS 5.10".
13902 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
13904         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13905         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13906         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13907         (tramp-parse-putty):
13908         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13909         (tramp-completion-function-alist-ssh)
13910         (tramp-completion-function-alist-telnet)
13911         (tramp-completion-function-alist-su)
13912         (tramp-completion-function-alist-putty): Set `tramp-autoload'
13913         cookie.
13915         * net/tramp-ftp.el:
13916         * net/tramp-sh.el:
13917         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13918         load "tramp.el" `tramp-set-completion-function'.
13920 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13922         * shell.el: Require and use pcomplete.
13923         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13924         (shell-completion-vars): Set pcomplete-default-completion-function.
13926 2011-06-04  Deniz Dogan  <deniz@dogan.se>
13928         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13929         `memq' (Bug#8799).
13931 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13933         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13935 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
13937         * bs.el (bs--mark-unmark, bs--nth-wrapper):
13938         * mpc.el (mpc-select-extend, mpc-songpointer-context):
13939         * vc/log-view.el (log-view-beginning-of-defun):
13940         * vc/smerge-mode.el (smerge-apply-resolution-patch)
13941         (smerge-refine-forward, smerge-refine-chopup-region):
13942         Silence warning for unused `dotimes' counter variables.
13944 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13946         * net/tramp.el (tramp-with-progress-reporter): Rename from
13947         with-progress-reporter.  Use `declare'.
13948         * net/tramp-smb.el:
13949         * net/tramp-sh.el:
13950         * net/tramp-gvfs.el: Update all uses.
13952 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
13954         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13955         buffer isn't killed before making it current.
13957 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13959         Silence various byte-compiler warnings.
13960         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13961         `access-type' and new obsolescence format.
13962         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13963         new format.
13964         (byte-compile-check-variable): New `access-type' argument.
13965         Only warn if the access-type is obsolete.
13966         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13967         (byte-compile-variable-set): Adjust callers.
13968         * help-fns.el (describe-variable): Adjust to new obsolescence format.
13969         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13970         setting it as obsolete.
13971         * simple.el (minibuffer-completing-symbol):
13972         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13973         access as obsolete.
13974         * minibuffer.el (minibuffer-completing-file-name): Don't make it
13975         obsolete yet.
13976         * international/quail.el (quail-mouse-choose-completion): Remove unused
13977         code referring to obsolete var.
13978         (quail-choose-completion-string): Remove.
13979         * server.el (server-clients-with, server-kill-buffer-query-function)
13980         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13981         * proced.el (proced-send-signal):
13982         * emacs-lisp/lisp.el (lisp-complete-symbol):
13983         Replace completion-annotate-function with completion-extra-properties.
13985 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13987         * simple.el (goto-line): Use read-number.
13988         (overriding-map-is-bound): Remove.
13989         (saved-overriding-map): Change default.
13990         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13991         Take the map as argument.
13992         (universal-argument, negative-argument, digit-argument): Use it.
13993         (restore-overriding-map): Adjust.
13994         (do-auto-fill): Use fill-forward-paragraph.
13995         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13997         * minibuffer.el (minibuffer-inactive-mode-map): New var.
13998         (minibuffer-inactive-mode): New major mode.
13999         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14000         the *Messages* buffer" hack.
14001         (mouse-popup-menubar): Don't burp if the event is a normal key.
14003         Miscellaneous tweaks.
14004         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14005         lexical scoping as in subr.el's dolist and dotimes.
14006         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14007         Silence compiler warning.
14008         * thingatpt.el (forward-whitespace): Trivial coding style fix.
14009         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14010         * international/ccl.el (ccl-compile): Trivial simplification.
14011         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14012         * emacs-lisp/testcover.el (testcover-end): Remove spurious
14013         `printflag' argument.
14014         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14015         Purecopy the whole obsolescence data.
14017 2011-06-01  Leo Liu  <sdl.web@gmail.com>
14019         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14020         improve doc-string as suggested by Marco Pessotto
14021         <melmothx@gmail.com>.
14022         (rcirc-print): Fix last change.
14024 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14026         * minibuffer.el (complete-with-action): Return nil for the metadata and
14027         boundaries of non-functional tables.
14028         (completion-table-dynamic): Return nil for the metadata.
14029         (completion-table-with-terminator): Add default case, using
14030         complete-with-action.
14031         (completion--metadata): New function.
14032         (completion-all-sorted-completions, minibuffer-completion-help): Use it
14033         to try and avoid pathological performance problems.
14034         (completion--embedded-envvar-table): Return `category' metadata.
14036 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14038         * subr.el (process-alive-p): New tiny convenience function.
14040 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14042         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14043         content but also its previous major mode.
14045 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
14047         * emacs-lisp/debug.el (debug): Restore the previous content of the
14048         *Backtrace* buffer when we exit with C-M-c.
14050 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14052         * minibuffer.el: Add metadata method to completion tables.
14053         (completion-category-overrides): New defcustom.
14054         (completion-metadata, completion--field-metadata)
14055         (completion-metadata-get, completion--styles)
14056         (completion--cycle-threshold): New functions.
14057         (completion-try-completion, completion-all-completions):
14058         Add `metadata' argument to choose completion-styles.
14059         (completion--do-completion): Use metadata to choose cycling.
14060         (completion-all-sorted-completions): Use metadata for sorting.
14061         Remove :completion-cycle-penalty which is not needed any more.
14062         (completion--try-word-completion): Add `metadata' argument.
14063         (minibuffer-completion-help): Check metadata for annotation function
14064         and sorting.
14065         (completion-file-name-table): Return `category' metadata.
14066         (minibuffer-completing-file-name): Make obsolete.
14067         * simple.el (minibuffer-completing-symbol): Make obsolete.
14068         * icomplete.el (icomplete-completions): Pass new `metadata' param to
14069         completion-try-completion.
14071 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14073         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14075 2011-05-30  Leo Liu  <sdl.web@gmail.com>
14077         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14078         (rcirc-print): Decode all incoming messages (bug#8744).
14079         (rcirc-decode-coding-system): Allow value nil for automatic coding
14080         system detection.
14082 2011-06-01  Glenn Morris  <rgm@gnu.org>
14084         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14086 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14088         * image.el (image-animate-max-time): Allow nil and t values.
14089         Default to nil.
14090         (create-animated-image): Doc fix.
14091         (image-animate-start): Remove second arg; just use
14092         image-animate-max-time.
14093         (image-animate-timeout): Doc fix.  Args changed.
14095         * image-mode.el (image-toggle-display-image): Ensure that the
14096         image spec passed to the animate timer is the same object as in
14097         the buffer's display property (Bug#6981).
14098         (image-transform-properties): Doc fix.
14100         * image.el (image-animate-max-time): Default to nil.
14102 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
14104         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14105         entire buffer list (Bug#8184).
14107 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14109         * image.el (imagemagick-types-inhibit)
14110         (imagemagick-register-types): Doc fix.
14112 2011-05-29  Deniz Dogan  <deniz@dogan.se>
14114         * net/rcirc.el (rcirc): Use the user's stored encryption method by
14115         default.
14117 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
14119         * select.el: Don't perform clipboard-manager saving in hooks;
14120         leave the hooks empty.
14122 2011-05-28  Leo Liu  <sdl.web@gmail.com>
14124         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14125         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
14126         (occur-edit-mode): New major mode (Bug#8463).
14127         (occur-after-change-function): New function.
14128         (occur-engine): Give Occur tags a read-only property.
14130 2011-05-28  Kevin Ryde  <user42@zip.com.au>
14132         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14134 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14136         * bindings.el (help-echo): Make the initial non-indicator dash
14137         empty on graphical terminals (Bug#7295).
14139         * files.el (auto-mode-alist): Move config rule after the
14140         in-stripping one (Bug#8547).
14142         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14144         * startup.el (normal-splash-screen): Remove gratuitous mode-line
14145         setting (Bug#8740).
14147 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
14149         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14150         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14151         (Bug#8539).
14153 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14155         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14157 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
14159         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14160         (hs-hide-block-at-point, hs-find-block-beginning)
14161         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14162         (Bug#8279).
14164 2011-05-28  Glenn Morris  <rgm@gnu.org>
14166         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
14168 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
14170         * help-fns.el (describe-function-1): If the function is a derived
14171         major mode, print the parent mode.
14173         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14174         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14176 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14178         * minibuffer.el (completion--capf-wrapper): Check applicability before
14179         returning non-nil for non-exclusive completion data.
14180         * progmodes/etags.el (tags-completion-at-point-function):
14181         * info-look.el (info-lookup-completions-at-point): Mark as
14182         non-exclusive.
14183         (info-complete): Adjust accordingly.
14185         * info-look.el: Convert to lexical-binding and completion-at-point.
14186         (info-lookup-completions-at-point): New function.
14187         (info-complete): Use it and completion-in-region.
14189 2011-05-28  Drew Adams  <drew.adams@oracle.com>
14191         * isearch.el: Let M-e start with point at the first mismatched char.
14192         (isearch-fail-pos): New function.
14193         (isearch-edit-string): Use it.
14195 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
14197         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14199 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
14201         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
14202         traversal functions for avl-trees.
14203         (avl-tree--stack): New struct.
14204         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14205         (avl-tree-enter): Add optional `updatefun' arg.
14206         (avl-tree--do-enter): Add optional `updatefun' arg.
14207         Change return value.
14208         (avl-tree-delete): Add optional `test' and `nilflag' args.
14209         (avl-tree--do-delete): Add `test' and `nilflag' args.
14210         Change return value.
14211         (avl-tree-member): Add optional `nilflag'
14212         (avl-tree-member-p): New function.
14213         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14214         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14215         (avl-tree-stack-empty-p): New functions.
14217         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14218         avl-tree--del-balance1 and make it work both ways.
14219         (avl-tree--del-balance2): Remove.
14220         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14221         make it work both ways.
14222         (avl-tree--enter-balance2): Remove.
14223         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14224         New macros.
14225         (avl-tree--mapc, avl-tree-map): Add direction argument.
14227 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
14229         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14231 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
14233         * select.el: Support clipboard managers with built-in function
14234         x-clipboard-manager-save, via delete-frame-functions and
14235         kill-emacs-hook.
14236         (xselect-convert-to-targets): Add MULTIPLE target to list.
14237         (xselect-convert-to-save-targets): New function.
14239 2011-05-27  Kenichi Handa  <handa@m17n.org>
14241         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14242         let-binding rfc2047-encode-encoded-words to nil.
14244 2011-05-27  Glenn Morris  <rgm@gnu.org>
14246         * mail/emacsbug.el: Don't require url-util.
14248         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
14250         * files.el (set-auto-mode):
14251         Also respect mode: entries at the end of the file.  (Bug#8586)
14253 2011-05-26  Glenn Morris  <rgm@gnu.org>
14255         * files.el (hack-local-variables-prop-line, hack-local-variables):
14256         Downcase mode names, as seems to be traditional.
14257         (hack-local-variables, hack-local-variables-apply): Doc fixes.
14259         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14260         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
14262 2011-05-25  Julien Danjou  <julien@danjou.info>
14264         * textmodes/rst.el (rst-define-level-faces): Do not define face
14265         symbol if it is already defined.
14267 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14269         * play/5x5.el (5x5-new-game, 5x5-randomize):
14270         Reset 5x5-solver-output to nil when a new grid is cast.
14271         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14272         these debugging traces, as defmacro breaks the compiled code.
14274 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
14276         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14278 2011-05-24  Leo Liu  <sdl.web@gmail.com>
14280         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14281         (vc-bzr-sha1): Adapt.
14283         * sha1.el: Remove.  Function `sha1' is now builtin.
14285         * bindings.el: Provide sha1 feature.
14287 2011-05-24  Kenichi Handa  <handa@m17n.org>
14289         * mail/sendmail.el: Require `rfc2047'.
14290         (mail-insert-from-field): Do not perform RFC2047 encoding.
14291         (mail-encode-header): New function.
14292         (sendmail-send-it): Set buffer-file-coding-system of the work
14293         buffer to the return value of select-message-coding-system.
14294         Call mail-encode-header.
14296         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14298 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
14300         * mail/supercite.el (sc-default-cite-frame):
14301         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14303 2011-05-24  Glenn Morris  <rgm@gnu.org>
14305         * progmodes/python.el (brm-menu): Declare.
14307         * emulation/viper.el (viper-set-hooks): Declare.
14309         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14310         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14311         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14312         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14313         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14314         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14316 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14318         Add an :exit-function for completion-at-point.
14320         * minibuffer.el (completion--done): New fun.
14321         (completion--do-completion): Use it.  New arg `expect-exact'.
14322         (minibuffer-complete, minibuffer-complete-word): Don't output message,
14323         since completion--do-completion does it for us now.
14324         (minibuffer-force-complete): Use completion--done and
14325         completion--replace.  Handle sole-completion case with more care.
14326         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14327         (completion-extra-properties): New var.
14328         (completion-annotate-function): Make obsolete.
14329         (minibuffer-completion-help): Adjust accordingly.
14330         Use completion-list-insert-choice-function.
14331         (completion-at-point, completion-help-at-point):
14332         Bind completion-extra-properties.
14333         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14334         * simple.el (completion-list-insert-choice-function): New var.
14335         (completion-setup-function): Preserve it.
14336         (choose-completion): Pay attention to it, shuffle the code a bit.
14337         (choose-completion-string): New arg `insert-function'.
14339         * textmodes/bibtex.el: Convert to lexical binding.
14340         (bibtex-mode-map): Use completion-at-point.
14341         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14342         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14343         (bibtex-complete): Define as obsolete alias.
14344         (bibtex-complete-internal): Remove.
14345         (bibtex-format-entry): Remove unused sub-group in regexp.
14346         * shell.el (shell--command-completion-data)
14347         (shell-environment-variable-completion):
14348         * pcomplete.el (pcomplete-completions-at-point):
14349         * comint.el (comint--complete-file-name-data): Use :exit-function
14350         instead of completion-table-with-terminator so it also works for
14351         choose-completion.
14353 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14355         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14357         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14358         (bug#8710).
14360         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14362 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
14364         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14365         customization variable and implement: If non-nil, auto-fill will
14366         be inhibited while on topic's header line.
14368 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14370         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14371         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
14372         always have a solution in grid size = 5 cases.
14373         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14374         (5x5-solver-output, 5x5-log-buffer): New vars.
14375         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14376         Make these variables buffer local to achieve 5x5 multi-session-ness.
14377         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14378         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14379         (5x5-solve-suggest): New funs.
14380         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14381         randomize a grid so that we ensure that there is always a solution.
14382         (5x5-make-random-grid): Allow other movement than flipping.
14384 2011-05-23  Kevin Ryde  <user42@zip.com.au>
14386         * emacs-lisp/advice.el (ad-read-advised-function):
14387         Use `function-called-at-point' as the default, if it has
14388         advice and passes PREDICATE.
14390 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14392         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14393         byte-compile-lambda if it's actually a lambda.
14395         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14396         Fix function quoting.  Use backquote better.
14398 2011-05-22  Yuanle Song  <sylecn@gmail.com>
14400         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14401         matching (Bug#8516).
14403 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
14405         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14406         different face (Bug#8178).
14408 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
14410         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14411         defface (Bug#8144).
14413 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14415         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14416         funcall as well (bug#8712).  Warn when performing those conversions.
14417         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14419         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14421 2011-05-22  Glenn Morris  <rgm@gnu.org>
14423         * files.el (hack-local-variables-prop-line): Small simplifications.
14424         (hack-local-variables, hack-local-variables-prop-line):
14425         If MODE-ONLY, return the mode, rather than just `t'.
14427 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14429         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14431 2011-05-21  Glenn Morris  <rgm@gnu.org>
14433         * files.el (hack-local-variables-prop-line, hack-local-variables):
14434         If only interested in the mode, don't bother doing the other stuff.
14436         * image-mode.el (image-after-revert-hook):
14437         Redraw all frames on which the image is visible.  (Bug#8567)
14439         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
14441         * wid-edit.el (widget-checklist-match-inline):
14442         Fix 2011-04-19 change.  (Bug#8649)
14444 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14446         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14447         Also allow singlespace after single-letter capitals followed by a dot.
14449         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14450         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14452 2011-05-20  Nix  <nix@esperi.org.uk>
14454         * files.el (basic-save-buffer-2):
14455         Fix handling of break-hardlink-on-save with non-existent files.
14457 2011-05-19  Deniz Dogan  <deniz@dogan.se>
14459         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14460         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14462 2011-05-19  Glenn Morris  <rgm@gnu.org>
14464         * progmodes/f90.el (f90-type-def-re):
14465         Handle "type, bind(c)".  (Bug#8691)
14467         * emacs-lisp/autoload.el (batch-update-autoloads):
14468         Set autoload-excludes by parsing loadup.el rather than Makefiles.
14470 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
14472         * net/tramp.el (tramp-process-actions): Set "first-password-request"
14473         property for the correct connection in case of multihops.
14475 2011-05-18  Glenn Morris  <rgm@gnu.org>
14477         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14478         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14480         Rationalize calendar handling of day and month abbrev-arrays.
14481         * calendar/calendar.el (calendar-customized-p): New function.
14482         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14483         (calendar-day-name-array, calendar-month-name-array): Doc fix.
14484         Add :set function.
14485         (calendar-abbrev-length, calendar-day-abbrev-array)
14486         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14487         (calendar-day-abbrev-array, calendar-month-abbrev-array):
14488         Elements may no longer be nil.
14489         (calendar-day-name, calendar-month-name):
14490         Update for changed nature of abbrev arrays.
14491         * calendar/diary-lib.el (diary-name-pattern):
14492         Update for changed nature of abbrev arrays.
14493         (diary-mark-entries-1): Update calendar-make-alist calls.
14494         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14495         * calendar/cal-html.el (cal-html-day-abbrev-array):
14496         Simply inherit from calendar-day-abbrev-array.
14498 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14500         * progmodes/grep.el (grep-mode): Disable default
14501         compilation-directory-matcher setting (bug#8684).
14503 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
14505         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14506         instead of "head" and "tail".  There were problems with SunOS 5.9,
14507         and it performs better.
14509 2011-05-17  Glenn Morris  <rgm@gnu.org>
14511         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14513         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14514         Replace obsolete function.
14516         * shell.el (pcomplete-parse-arguments-function): Declare.
14518         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14519         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14520         (appt-check): Doc fixes.
14521         (appt-disp-window-function, appt-delete-window-function):
14522         Remove needless special case in custom :type.
14523         (appt-display-count): Default to 0, not nil.
14524         (appt-check): Reset appt-display-count to 0, not nil.
14526 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
14528         * progmodes/python.el (python-font-lock-keywords):
14529         Add the Python 3.X keyword "nonlocal" (bug#8639).
14531 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14533         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14535 2011-05-16  Kevin Ryde  <user42@zip.com.au>
14537         * info-look.el (makefile-automake-mode): New setups, looking in
14538         automake manual, then makefile-mode.
14539         (makefile-mode): Remove automake manual, have it just in
14540         makefile-automake-mode since there's various things different or
14541         not relevant to plain make.
14542         (makefile-mode): Remove "other-modes" non-existent automake-mode,
14543         believe a hypothetical automake-mode would go to makefile-mode,
14544         not the other way around.
14546 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
14548         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14549         hunk-end tags (Bug#8672).
14551         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14552         vc-annotate-show-diff-revision-at-line (Bug#8671).
14554 2011-05-14  Glenn Morris  <rgm@gnu.org>
14556         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14557         in the middle of an existing one with multiple authors.  (Bug#8645)
14558         (change-log-font-lock-keywords): Also handle multiple author lines
14559         with leading tabs.  (Bug#8644)
14561         * calendar/appt.el (appt-check): Rename some local variables.
14562         Some simplification/reordering.
14564         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14565         (feedmail-sendmail-f-doesnt-sell-me-out)
14566         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14567         (feedmail-debug-sit-for, feedmail-queue-express-hook)
14568         (feedmail-queue-runner-message-sender): Set :version.
14569         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14570         (bbdb-dwim-net-address, vm-mail): Declare.
14571         (feedmail-binmail-gnulinuxish-template):
14572         Rename from feedmail-binmail-linuxish-template.
14573         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14574         Use insert-buffer-substring.
14576 2011-05-14  Bill Carpenter  <bill@carpenter.org>
14578         * mail/feedmail.el (feedmail-patch-level): Increase.
14579         (feedmail-debug): New custom group.
14580         (feedmail-confirm-outgoing-timeout)
14581         (feedmail-sendmail-f-doesnt-sell-me-out)
14582         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14583         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14584         (feedmail-sender-line, feedmail-from-line)
14585         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14586         (feedmail-spray-this-address)
14587         (feedmail-spray-address-fiddle-plex-list)
14588         (feedmail-queue-use-send-time-for-date)
14589         (feedmail-queue-use-send-time-for-message-id)
14590         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14591         (feedmail-buffer-eating-function):
14592         Doc fixes.
14593         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14594         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14595         (feedmail-message-action-scroll-down): New functions.
14596         (feedmail-queue-directory, feedmail-queue-draft-directory):
14597         Use expand-file-name.
14598         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14599         Remove C-v help entry.
14600         (feedmail-queue-buffer-file-name): New variable.
14601         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14602         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14603         (feedmail-message-action-send-strong, feedmail-message-action-edit)
14604         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14605         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14606         (feedmail-message-action-toggle-spray)
14607         (feedmail-run-the-queue-no-prompts)
14608         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14609         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14610         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14611         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14612         (feedmail-envelope-deducer, feedmail-fiddle-from)
14613         (feedmail-fiddle-sender, feedmail-default-date-generator)
14614         (feedmail-fiddle-date, feedmail-fiddle-message-id)
14615         (feedmail-fiddle-spray-address)
14616         (feedmail-fiddle-list-of-spray-fiddle-plexes)
14617         (feedmail-fiddle-list-of-fiddle-plexes)
14618         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14619         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14620         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14621         Change default.  Doc fix.
14622         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14623         (feedmail-binmail-linuxish-template): New constant.
14624         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
14625         Respect feedmail-sendmail-f-doesnt-sell-me-out.
14626         (feedmail-send-it): Add debug call.
14627         Use feedmail-queue-buffer-file-name, and
14628         feedmail-send-it-immediately-wrapper.
14629         (feedmail-message-action-send): Add debug call.
14630         Use feedmail-send-it-immediately-wrapper.
14631         (feedmail-queue-express-to-queue): Add debug call.
14632         Run feedmail-queue-express-hook.
14633         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
14634         (feedmail-message-action-help-blat):
14635         Rename from feedmail-queue-send-edit-prompt-help-first.
14636         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
14637         Check line-endings.  Handle errors better.
14638         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14639         Doc fix.  Add debug call.
14640         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
14641         Use feedmail-queue-send-edit-prompt-inner.
14642         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14643         (feedmail-queue-send-edit-prompt-inner): New function, extracted
14644         from feedmail-queue-send-edit-prompt.
14645         (feedmail-queue-send-edit-prompt-help)
14646         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14647         (feedmail-tidy-up-slug): Add debug call.
14648         Respect feedmail-queue-slug-suspect-regexp.
14649         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14650         (feedmail-dump-message-to-queue): Add debug call.
14651         Expand queue-directory.
14652         (feedmail-dump-message-to-queue): Change message slightly.
14653         Use feedmail-say-chatter.
14654         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
14655         (feedmail-send-it-immediately-wrapper): New function.
14656         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
14657         Insert empty string rather than newline.  Handle full-frame case.
14658         Use catch/throw.  Use feedmail-say-chatter.
14659         (feedmail-fiddle-from): Try mail-host-address.
14660         (feedmail-default-message-id-generator): Doc fix.
14661         Bind system-time-locale.  Handle missing end.
14662         (feedmail-fiddle-x-mailer): Add debug call.
14663         Handle feedmail-x-mailer-line being nil.
14664         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14665         Add debug call.  Use buffer-substring-no-properties.
14666         (feedmail-say-debug, feedmail-say-chatter): New functions.
14667         (feedmail-find-eoh): Give an explicit error.
14669 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
14671         * net/newst-treeview.el (newsticker-treeview-face): Change default
14672         family from helvetica to sans.
14673         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14674         etc/images/newsticker.
14676         * net/newst-reader.el (newsticker-feed-face): Change default
14677         family from helvetica to sans.
14679         * net/newst-plainview.el (newsticker-new-item-face)
14680         (newsticker-old-item-face, newsticker-immortal-item-face)
14681         (newsticker-obsolete-item-face, newsticker-date-face)
14682         (newsticker-statistics-face): Change default family from
14683         helvetica to sans.
14684         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14685         etc/images/newsticker.
14687         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14688         (newsticker--process-auto-mark-filter-match): Tell user about
14689         auto-marking.
14691 2011-05-13  Didier Verna  <didier@xemacs.org>
14693         Common Lisp indentation improvements on defmethod and lambda-lists.
14694         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14695         TODO entries.
14696         (lisp-lambda-list-keyword-parameter-indentation)
14697         (lisp-lambda-list-keyword-parameter-alignment)
14698         (lisp-lambda-list-keyword-alignment): New customizable user options.
14699         (lisp-indent-defun-method): Improve docstring.
14700         (extended-loop-p): Fix comment.
14701         (lisp-indent-lambda-list-keywords-regexp): New variable.
14702         (lisp-indent-lambda-list): New function.
14703         (lisp-indent-259): Use it.
14704         (lisp-indent-defmethod): Support for more than one
14705         method qualifier and properly indent methods lambda-lists.
14706         (defgeneric): Provide a missing common-lisp-indent-function property.
14708 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14710         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14711         bounds for the empty string (bug#8667).
14713 2011-05-13  Glenn Morris  <rgm@gnu.org>
14715         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14717         * mail/sendmail.el (sendmail-program): Try executable-find first.
14718         (sendmail-send-it): `sendmail-program' cannot be unbound.
14720         * calendar/appt.el (appt-make-list): Simplify.
14721         (appt-time-msg-list): Doc fix.
14722         (appt-check): Change mode-line message at the time of the appointment.
14724 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14726         * progmodes/ld-script.el (ld-script-keywords)
14727         (ld-script-builtins): Update keywords list.
14729 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14731         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14733         * shell.el (shell-completion-vars): New function.
14734         (shell-mode):
14735         * simple.el (read-shell-command): Use it.
14736         (blink-matching-open): No need for " [...]" in minibuffer-message.
14738 2011-05-12  Glenn Morris  <rgm@gnu.org>
14740         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14741         (appt-check): Simplify.
14743 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
14745         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14746         literal "/dev/null".
14748 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14750         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14751         Fix typo.
14753 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
14755         * progmodes/which-func.el (which-function):
14756         Use add-log-current-defun instead of add-log-current-defun-function,
14757         which might not be defined (Bug#8260).
14759 2011-05-12  Glenn Morris  <rgm@gnu.org>
14761         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14762         Let byte-compile-initial-macro-environment always take precedence.
14764 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14766         * net/rcirc.el: Add support for SSL/TLS connections.
14767         (rcirc-server-alist): New field `encryption'.
14768         (rcirc): Check `encryption' settings.
14769         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
14770         Merge make-local-variable into `set'.
14771         (rcirc--connection-open-p): New function.
14772         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14773         the process is not a network process (e.g. running gnutls-cli).
14774         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14775         Make rcirc-(en|de)code-coding-system local here.
14776         (rcirc-mode): Merge make-local-variable into `set'.
14777         (rcirc-parent-buffer): Make permanent buffer-local.
14778         (rcirc-multiline-minor-mode): Don't do it here.
14779         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14780         there's no server buffer.
14782 2011-05-11  Glenn Morris  <rgm@gnu.org>
14784         * newcomment.el (comment-kill): Prefix "unused" local.
14786         * term/w32console.el (get-screen-color): Declare.
14788         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14789         Handle symbol elements of byte-compile-initial-macro-environment.
14791 2011-05-10  Leo Liu  <sdl.web@gmail.com>
14793         * bookmark.el (bookmark-bmenu-mode-map):
14794         Bind bookmark-bmenu-search to `/'.
14796         * mail/footnote.el: Convert to utf-8 encoding.
14797         (footnote-unicode-string, footnote-unicode-regexp): New variable.
14798         (Footnote-unicode): New function.
14799         (footnote-style-alist): Add unicode style to the list.
14800         (footnote-style): Doc fix.
14802 2011-05-10  Jim Meyering  <meyering@redhat.com>
14804         Fix doubled-word typos.
14805         * international/quail.el (quail-insert-kbd-layout): and and -> and
14806         * kermit.el: and and -> and
14807         * net/ldap.el (ldap-search-internal): to to -> to
14808         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14809         * progmodes/js.el (js-mode): and and -> and
14810         * textmodes/artist.el (artist-move-to-xy): at at -> at
14811         (artist-draw-region-trim-line-endings): if if -> if
14812         And Safetyc -> Safety.
14813         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14815 2011-05-10  Glenn Morris  <rgm@gnu.org>
14816             Stefan Monnier  <monnier@iro.umontreal.ca>
14818         * files.el (hack-one-local-variable-eval-safep):
14819         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
14821 2011-05-10  Glenn Morris  <rgm@gnu.org>
14823         * calendar/diary-lib.el (diary-list-entries-hook)
14824         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14825         (diary-nongregorian-marking-hook, diary-list-entries)
14826         (diary-include-other-diary-files, diary-mark-entries)
14827         (diary-mark-included-diary-files): Doc fixes.
14829 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
14831         * misc.el: Require tabulated-list.el during compilation.
14833 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
14835         * progmodes/compile.el (compilation-start):
14836         Run compilation-filter-hook for the async case too.
14837         (compilation-filter-hook): Doc fix.
14839 2011-05-09  Deniz Dogan  <deniz@dogan.se>
14841         * wdired.el: Remove outdated installation comment.  Fix usage
14842         comment.
14844 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
14846         * misc.el: Implement new command `list-dynamic-libraries'.
14847         (list-dynamic-libraries--loaded-only-p): New variable.
14848         (list-dynamic-libraries--refresh): New function.
14849         (list-dynamic-libraries): New command.
14851 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
14853         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14854         Fix the ant regexp to handle end-line and end-column info from jikes.
14855         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
14856         higher priority to avoid clobbering by gnu.
14858 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
14860         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14861         if the face has existing theme settings (Bug#8454).
14863 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
14865         * progmodes/perl-mode.el (perl-imenu-generic-expression):
14866         Only match variables declared via `my' or `our' (Bug#8261).
14868         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14869         special file names `.' and `..' (Bug#8259).
14871 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
14873         * progmodes/grep.el (grep-mode-font-lock-keywords):
14874         Remove buffer-changing entries.
14875         (grep-filter): New function.
14876         (grep-mode): Add it to compilation-filter-hook.
14878         * progmodes/compile.el (compilation-filter-hook)
14879         (compilation-filter-start): New defvars.
14880         (compilation-filter): Call compilation-filter-hook prior to
14881         updating the process mark.
14883 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14885         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14887 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
14889         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14890         mailclient-send-it even if window-system is nil.  (Bug#8595)
14892         * term/w32console.el (terminal-init-w32console):
14893         Call get-screen-color and use its output to set the frame
14894         background-mode.  (Bug#8597)
14896 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14898         Make bytecomp.el understand that defmethod defines funs (bug#8631).
14899         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14900         New functions.
14901         (defgeneric, eieio--defmethod): Use them.
14902         (eieio-defgeneric): Remove.
14903         (defmethod): Call defgeneric in a way visible to the byte-compiler.
14905 2011-05-07  Glenn Morris  <rgm@gnu.org>
14907         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14908         Use let rather than let*.
14909         (timeclock-find-discrep): Remove unused local.
14911         * calendar/diary-lib.el (diary-comment-start): Doc fix.
14913         * calendar/appt.el (appt-time-msg-list): Doc fix.
14915 2011-05-06  Noah Friedman  <friedman@splode.com>
14917         * apropos.el (apropos-print-doc): Only use
14918         emacs-lisp-docstring-fill-column when it is bound to an integer,
14919         per that variable's documentation.
14921 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14923         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14924         and warnings are not silently discarded (e.g. use -d instead of -P).
14926 2011-05-06  Glenn Morris  <rgm@gnu.org>
14928         * calendar/appt.el (appt-message-warning-time): Doc fix.
14929         (appt-warning-time-regexp): New option.
14930         (appt-make-list): Respect appt-message-warning-time.
14932         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14933         New options.
14934         (diary-add-to-list): Strip comments from the displayed string.
14935         (diary-mode): Set comment-start and comment-end.
14937         * vc/diff-mode.el (smerge-refine-subst): Declare.
14938         (diff-refine-hunk): Don't require smerge-mode when compiling.
14940 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
14942         * simple.el (list-processes): Return nil as the docstring says.
14944 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
14946         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14947         to "".
14948         (ange-ftp-write-region, ange-ftp-insert-file-contents)
14949         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14950         determining of binary transfer.  (Bug#7383)
14952 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
14954         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14955         Fix port computation bug.  (Bug#8618)
14957 2011-05-05  Glenn Morris  <rgm@gnu.org>
14959         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14961         * simple.el (shell-dynamic-complete-functions)
14962         (comint-dynamic-complete-functions): Declare.
14964         * net/network-stream.el (gnutls-negotiate):
14965         * simple.el (tabulated-list-print): Fix declarations.
14967         * progmodes/gud.el (syntax-symbol, syntax-point):
14968         Remove unnecessary and incorrect declarations.
14970         * emacs-lisp/check-declare.el (check-declare-scan):
14971         Handle byte-compile-initial-macro-environment in bytecomp.el
14973 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14975         Fix earlier half-done eieio-defmethod change (bug#8338).
14976         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14977         Streamline and change calling convention.
14978         (defmethod): Adjust accordingly and simplify.
14979         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14980         new eieio--defmethod.
14981         (slot-boundp): Minor CSE simplification.
14983 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
14985         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14986         (glasses-make-readable): Use glasses-separate-capital-groups.
14988 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
14990         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14991         (warning-series): Doc fix.
14992         (display-warning): Don't try to create the buffer if we just found it.
14994 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
14996         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14997         (autoload-find-generated-file): New function.
14998         (generate-file-autoloads): Bind generated-autoload-file to
14999         buffer-file-name.
15000         (update-file-autoloads, update-directory-autoloads):
15001         Use autoload-find-generated-file.  If called interactively, prompt for
15002         output file (Bug#7989).
15003         (batch-update-autoloads): Doc fix.
15005 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
15007         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15009 2011-05-04  Glenn Morris  <rgm@gnu.org>
15011         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15012         function, so it follows changes in calendar-date-style.
15013         (diary-fancy-date-matcher): New function.
15014         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15015         (diary-fancy-font-lock-fontify-region-function):
15016         Use diary-fancy-date-pattern as a function.
15018         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15019         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
15021 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
15023         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15024         instead of positional arguments.  Allow :keylist and :crlfiles
15025         arguments.
15026         (open-gnutls-stream): Call it.
15028         * net/network-stream.el (network-stream-open-starttls): Adjust to
15029         call `gnutls-negotiate' with :process and :hostname arguments.
15031 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15033         * minibuffer.el (completion--message): New function.
15034         (completion--do-completion, minibuffer-complete)
15035         (minibuffer-force-complete, minibuffer-complete-word): Use it.
15036         (completion--do-completion): Don't ignore completion-auto-help when in
15037         icomplete-mode.
15039         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15040         internal encoding (e.g. tibetan zero is not whitespace).
15041         (global-whitespace-mode): Prefer save-current-buffer.
15042         (whitespace-trailing-regexp): Remove useless save-match-data.
15043         (whitespace-empty-at-bob-regexp): Minor simplification.
15045 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
15047         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15049 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15051         * textmodes/ispell.el (ispell-add-per-file-word-list):
15052         Use `concat' to create string for insertion.
15054 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15056         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15057         Avoid open-line which runs post-self-insert-hook.
15058         (bibtex-fill-entry): Remove unused `end' var.
15060 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
15062         * textmodes/ispell.el (ispell-add-per-file-word-list):
15063         Protect against `nil' value of `comment-start' (Bug#8579).
15065 2011-05-03  Leo Liu  <sdl.web@gmail.com>
15067         * isearch.el (isearch-yank-pop): New command.
15068         (isearch-mode-map): Bind it to `M-y'.
15069         (isearch-forward): Mention it.
15071 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15073         * simple.el (minibuffer-complete-shell-command): Remove.
15074         (minibuffer-local-shell-command-map): Use completion-at-point.
15075         (read-shell-command): Setup completion vars here instead.
15076         (read-expression-map): Bind TAB to symbol completion.
15078         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15079         error directly rather via storing it into `results'.
15081 2011-05-02  Leo Liu  <sdl.web@gmail.com>
15083         * vc/diff.el: Fix description.
15085 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15087         * server.el (server-eval-at): New function.
15089 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15091         * net/network-stream.el (open-network-stream): Take a :nowait
15092         parameter and pass it on to `make-network-process'.
15093         (network-stream-open-plain): Ditto.
15095 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15097         * faces.el (face-spec-set-match-display): Don't match toolkit
15098         options on terminal frames.
15100 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15102         * progmodes/pascal.el: Use lexical binding.
15103         (pascal-mode-map): Remove author preferences.
15105         * pcomplete.el (pcomplete-std-complete): Don't abuse
15106         completion-at-point.
15108 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
15110         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15111         removing code that has been dead since 1991 or so.
15113         * startup.el (command-line): When warning about "_emacs", use a
15114         delayed warning to allow the user to filter it out.
15116 2011-04-28  Deniz Dogan  <deniz@dogan.se>
15118         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15119         user has not joined.
15121 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15123         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15124         aren't any completions at point.
15126 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
15128         * subr.el (display-delayed-warnings): New function.
15129         (delayed-warnings-hook): New variable.
15131 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15133         * minibuffer.el (completion-at-point, completion-help-at-point):
15134         Don't presume that a given completion-at-point-function will always
15135         use the same calling convention.
15137         * pcomplete.el (pcomplete-completions-at-point):
15138         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
15139         pcomplete-seen is non-nil.
15140         (pcomplete-comint-setup): Also recognize the new comint/shell
15141         completion functions.
15142         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15143         pcomplete-seen is non-nil.
15145 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
15147         * calendar/icalendar.el (diary-lib): Add require statement.
15148         (icalendar--create-uid): Read out a uid from a text-property on
15149         the first character in the entry.  This allows for code to add its
15150         own uid to the entry.
15151         (icalendar--convert-float-to-ical): Add export of
15152         `diary-float'-entries save for those with the optional DAY
15153         argument.
15155 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
15157         * subr.el (shell-quote-argument): Use alternate escaping strategy
15158         when we spot a variable reference in a string.
15160 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
15162         * cus-start.el (all): Define customization for debug-on-event.
15164 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
15166         * subr.el (shell-quote-argument): Escape correctly under Windows.
15168 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15170         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15172 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
15174         * net/tramp.el (tramp-process-actions): Add POS argument.
15175         Delete region between POS and (pos).
15177         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15178         Use `nil' position in `tramp-process-actions' call.
15179         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15181         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15182         position in `tramp-process-actions' call.
15184         * net/trampver.el: Update release number.
15186 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15188         * custom.el (defcustom): Obey lexical-binding.
15190         Fix octave-inf completion problems reported by Alexander Klimov.
15191         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15192         Inherit from octave-mode-syntax-table.
15193         (inferior-octave-mode): Set info-lookup-mode.
15194         (inferior-octave-completion-at-point): New function.
15195         (inferior-octave-complete): Use it and completion-in-region.
15196         (inferior-octave-dynamic-complete-functions): Use it as well, and use
15197         comint-filename-completion.
15198         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15199         symbol elements which shouldn't be word elements.
15200         (octave-font-lock-keywords, octave-beginning-of-defun)
15201         (octave-function-header-regexp): Adjust regexps accordingly.
15202         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15204 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
15206         * net/gnutls.el (gnutls-errorp): Declare before first use.
15208 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
15210         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15211         verify-error, and verify-hostname-error parameters.  Check whether
15212         default trustfile exists before going to use it.  Add missing
15213         argument to gnutls-message-maybe call.  Return value.
15214         Reported by Claudio Bley <claudio.bley@gmail.com>.
15215         (open-gnutls-stream): Add usage example.
15217         * net/network-stream.el (network-stream-open-starttls): Give host
15218         parameter to `gnutls-negotiate'.
15219         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15220         * subr.el (shell-quote-argument): Escape correctly under Windows.
15222 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
15224         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15225         Use correct match group (bug#8438).
15227 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
15229         * emacs-lisp/package.el (package-built-in-p): Fix typo.
15230         (package-menu--generate): New arg specifying packages to show.
15231         (package-menu-refresh, package-menu-execute, list-packages):
15232         Callers changed.
15233         (package-show-package-list): New function, replacing deleted
15234         package--list-packages (renamed because it is non-internal).
15236         * finder.el (finder-list-matches): Use package-show-package-list
15237         instead of deleted package--list-packages.
15239         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15240         Based on a previous implementation by Juanma Barranquero (Bug#8366).
15241         (vc-annotate-mode-map): Bind it to RET.
15243 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
15245         * progmodes/etags.el (next-file): Don't use set-buffer to change
15246         buffers (Bug#8478).
15248 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
15250         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15252         * apropos.el (apropos-label-face): Avoid variable-pitch face.
15253         (apropos-accumulator): Doc fix.
15254         (apropos-function, apropos-macro, apropos-command)
15255         (apropos-variable, apropos-face, apropos-group, apropos-widget)
15256         (apropos-plist): Add face property.
15257         (apropos-symbols-internal): Fix indentation.
15258         (apropos-print): Simplify help, and recognize apropos-multi-type.
15259         (apropos-print-doc): Use button-type-get to extract the button's
15260         face property.  Fill docstring (Bug#8352).
15262 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
15264         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15266         * play/mpuz.el (mpuz-silent): Doc fix.
15267         (mpuz-mode-map): Use mapc.
15268         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15269         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15270         Fix typos in docstrings.
15272         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15273         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15275         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15277 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
15279         * minibuffer.el (completion--do-completion): Avoid the "Next char
15280         not unique" prompt if icomplete-mode is enabled (Bug#5849).
15282         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15283         mouse-2 into unread-command-events, it is interpreted correctly.
15285         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15286         (image-toggle-display): Doc fix.
15288 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
15290         * textmodes/page.el (what-page): Use line-number-at-pos to
15291         calculate line number (Bug#6825).
15293 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
15295         * eshell/esh-mode.el (find-tag-interactive): Declare function.
15296         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15297         Pass argument NO-DEFAULT to `find-tag-interactive'.
15299 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
15301         Lexical-binding cleanup.
15303         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15304         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15305         * progmodes/ada-prj.el (ada-prj-initialize-values)
15306         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15307         (ada-prj-show-value):
15308         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15309         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15310         (antlr-invalidate-context-cache, antlr-options-menu-filter)
15311         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15312         * progmodes/bug-reference.el (bug-reference-push-button):
15313         * progmodes/fortran.el (fortran-line-length):
15314         * progmodes/glasses.el (glasses-change):
15315         * progmodes/octave-mod.el (octave-fill-paragraph):
15316         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15317         (python-pdbtrack-grub-for-buffer, python-sentinel):
15318         * progmodes/sql.el (sql-save-connection):
15319         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15320         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15321         Mark unused parameters.
15323         * progmodes/compile.el (compilation--flush-directory-cache)
15324         (compilation--flush-parse, compile-internal): Mark unused parameters.
15325         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15326         (compilation-next-error-function): Remove unused variable `timestamp'.
15328         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15329         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15331         * progmodes/dcl-mode.el (dcl-end-of-command):
15332         Remove unused variable `start'.
15333         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15334         (dcl-option-value-basic, dcl-option-value-offset)
15335         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15336         Mark unused parameters.
15337         (dcl-save-local-variable): Remove unused variable `val'.
15338         (mode): Declare.
15340         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15341         Mark unused parameters.
15342         (delphi-ignore-changes): Move before first use.
15343         (delphi-charset-token-at): Remove unused variable `start'.
15344         (delphi-else-start): Remove unused variable `if-count'.
15345         (delphi-comment-block-start, delphi-comment-block-end):
15346         Remove unused variable `kind'.
15347         (delphi-indent-line): Remove unused variable `new-point'.
15349         * progmodes/ebrowse.el (ebrowse-files-list)
15350         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15351         Mark unused parameters.  Don't quote `lambda'.
15352         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15353         Don't quote `lambda'.
15354         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15355         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15356         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15357         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15358         Use `ignore-errors'.
15359         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15360         (ebrowse-view/find-file-and-search-pattern)
15361         (ebrowse-view/find-member-declaration/definition):
15362         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15363         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15364         Rename parameter PREFIX-ARG to PREFIX.
15365         (ebrowse-tags-read-name): Remove unused variables `start' and
15366         `member-info'.
15367         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15368         to `tags-file'.
15370         * progmodes/etags.el (local-find-tag-hook): Declare.
15371         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15372         Mark unused parameters.
15374         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15375         (executable-interpret): Mark unused parameter.
15377         * progmodes/flymake.el (flymake-process-sentinel)
15378         (flymake-after-change-function)
15379         (flymake-create-temp-with-folder-structure)
15380         (flymake-get-include-dirs-dot): Mark unused parameters.
15381         (flymake-safe-delete-directory): Remove unused variable `err'.
15383         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15384         (speedbar-timer-fn, speedbar-line-text)
15385         (speedbar-change-expand-button-char, speedbar-delete-subblock)
15386         (speedbar-center-buffer-smartly): Declare functions.
15387         (gdb-find-watch-expression): Remove unused variable `array'.
15388         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15389         (gdb-starting): Mark unused parameters.
15390         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15391         (gdb-table-string): Remove unused variable `res'.
15392         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15393         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15394         (gdb-display-buffer): Remove unused variable `cur-size'.
15396         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15397         allow lexical-binding compilation.
15398         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15399         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15400         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15401         Mark unused parameters.
15402         (gud-gdb-marker-filter): Remove unused variable `match'.
15403         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15404         lambda expressions and funcall them, instead of using `fset'.
15406         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15407         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15409         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15410         variable `header-beg'; use `let'.
15412         * progmodes/icon.el (indent-icon-exp): Remove unused variables
15413         `restart', `last-sexp' and `at-do'.
15415         * progmodes/js.el (js--debug): Mark unused parameter.
15416         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15417         (js--splice-into-items): Remove unused variable `item'.
15418         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15420         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15421         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15422         (makefile-complete): Remove unused variable `try'.
15423         (makefile-fill-paragraph, makefile-match-function-end):
15424         Mark unused parameters.
15426         * progmodes/octave-inf.el (inferior-octave-complete):
15427         Remove unused variable `proc'.
15428         (inferior-octave-output-digest): Mark unused parameter.
15430         * progmodes/perl-mode.el (perl-calculate-indent):
15431         Remove unused variable `err'.
15433         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15434         (prolog-indent-line): Mark unused parameters.
15435         (prolog-indent-line): Remove unused variable `beg'.
15437         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15438         (reporter-dont-compact-list): Declare.
15440         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15441         Remove unused variable `char'.
15442         (sh-debug): Mark unused parameter.
15443         (sh-get-indent-info): Remove unused variable `start'.
15444         (sh-calculate-indent): Remove unused variable `var'.
15446         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15447         (simula-electric-keyword): Remove unused variable `null'.
15448         (simula-search-backward, simula-search-forward): Remove unused
15449         variables `begin' and `end'.
15451         * progmodes/vera-mode.el (vera-guess-basic-syntax):
15452         Remove unused variable `pos'.
15453         (vera-electric-tab, vera-comment-uncomment-region):
15454         Mark unused parameters.
15455         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15457 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
15459         * emacs-lisp/package.el (package--builtins, package-alist)
15460         (package-load-descriptor, package-built-in-p, package-activate)
15461         (define-package, package-installed-p)
15462         (package-compute-transaction, package-buffer-info)
15463         (package--push): Doc fix.  Distinguish more clearly between
15464         version strings and version lists.
15466 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
15468         Lexical-binding cleanup.
15470         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15471         (5x5-make-mutate-best):
15472         * play/fortune.el (fortune-in-buffer):
15473         * play/gomoku.el (gomoku-init-display):
15474         * play/solitaire.el (solitaire, solitaire-do-check):
15475         * play/tetris.el (tetris-default-update-speed-function):
15476         Mark unused parameters.
15478         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15479         (bubbles--shift): Remove unused variable `char-org'.
15480         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
15481         (bubbles--show-images): Remove unused variable `char'.
15483         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15484         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15485         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15486         (decipher-analyze-buffer): Use ?\s.
15487         (decipher-make-checkpoint): Remove unused variable `mapping'.
15489         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15491         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15492         Remove unused variable `result'; use `let'.
15494         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15495         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15496         (gametree-children-shown-p, gametree-compute-reduced-score):
15497         Use `ignore-errors'.
15499         * play/handwrite.el (ps-lpr-switches): Declare.
15500         (handwrite): Remove unused variables `pmin' and `lastp'.
15502         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15504         * play/landmark.el (landmark-init-display)
15505         (landmark-update-naught-weights): Mark unused parameters.
15506         (landmark-y): Remove unused variable `noise'.  Simplify.
15507         (landmark-human-plays): Remove unused variable `score'.
15509         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15510         (mpuz-try-proposal): Remove unused variable `game'.
15512         * play/zone.el (life-patterns): Declare.
15514 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
15516         * vc/vc.el (ediff-vc-internal): Declare function.
15518 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15520         * shell.el: Use lexical-binding and std completion UI.
15521         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15522         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15523         comint-preoutput-filter-functions rather than on
15524         comint-output-filter-functions.
15525         (shell-command-completion, shell--command-completion-data)
15526         (shell-filename-completion, shell-environment-variable-completion)
15527         (shell-c-a-p-replace-by-expanded-directory): New functions.
15528         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15529         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15530         (shell-dynamic-complete-environment-variable): Use them.
15531         (shell-dynamic-complete-as-environment-variable)
15532         (shell-dynamic-complete-as-command): Remove.
15533         (shell-match-partial-variable): Match past point.
15534         * comint.el: Clean up use of completion-at-point-functions.
15535         (comint-completion-at-point): New function.
15536         (comint-mode): Use it completion-at-point-functions.
15537         (comint-dynamic-complete): Make it obsolete.
15538         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15539         (comint-c-a-p-replace-by-expanded-history): New function.
15540         (comint-dynamic-complete-functions)
15541         (comint-replace-by-expanded-history): Use it.
15542         * minibuffer.el (completion-table-with-terminator): Allow dynamic
15543         termination strings.  Try harder to avoid second try-completion.
15544         (completion-in-region-mode-map): Disable bindings that don't work yet.
15546         * comint.el: Use lexical-binding.  Require CL.
15547         (comint-dynamic-complete-functions): Use comint-filename-completion.
15548         (comint-completion-addsuffix): Tweak custom type.
15549         (comint-filename-completion, comint--common-suffix)
15550         (comint--common-quoted-suffix, comint--table-subvert)
15551         (comint--complete-file-name-data): New functions.
15552         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15553         (comint-dynamic-list-filename-completions): Use them.
15554         (comint-dynamic-simple-complete): Make obsolete.
15556         * minibuffer.el (completion-in-region-mode):
15557         Keep completion-in-region-mode--predicate global.
15558         (completion-in-region--postch):
15559         Assume completion-in-region-mode--predicate is not null.
15561         * progmodes/flymake.el (flymake-start-syntax-check-process):
15562         Obey `dir'.  Simplify.
15564         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15565         we're in VC after all.
15567 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
15569         * vc/vc.el (vc-diff-build-argument-list-internal)
15570         (vc-version-ediff, vc-ediff): New commands.
15571         (vc-version-diff): Use vc-diff-build-argument-list-internal.
15573 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15575         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15576         add sanity check.
15578         * obsolete/erc-hecomplete.el: Make obsolete.
15579         * obsolete/: Standardize obsolescence info in the header.
15581 2011-04-20  Glenn Morris  <rgm@gnu.org>
15583         * calendar/solar.el (solar-horizontal-coordinates):
15584         Use the longitude argument rather than `calendar-longitude'.
15585         (solar-date-next-longitude): Remove unused locals.
15587 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15589         * whitespace.el: New version 13.2.1.
15591 2011-04-20  felix  <EmacsWiki>  (tiny change)
15593         * whitespace.el (global-whitespace-mode): Keep highlight when
15594         switching between major modes on a file.
15596 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15598         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15599         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15600         multi-line comments as well.
15602 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
15604         Lexical-binding cleanup.
15606         * arc-mode.el (archive-mode-revert):
15607         * cmuscheme.el (scheme-interactively-start-process):
15608         * custom.el (custom-initialize-delay):
15609         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15610         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15611         * emacs-lock.el (emacs-lock-clear-sentinel):
15612         * ezimage.el (defezimage):
15613         * follow.el (follow-avoid-tail-recenter):
15614         * fringe.el (set-fringe-mode-1):
15615         * generic-x.el (bat-generic-mode-compile):
15616         * help-mode.el (help-info-variable, help-do-xref)
15617         (help-mode-revert-buffer):
15618         * help.el (view-emacs-todo):
15619         * iswitchb.el (iswitchb-completion-help):
15620         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15621         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15622         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15623         * locate.el (locate-update):
15624         * longlines.el (longlines-encode-region)
15625         (longlines-after-change-function):
15626         * outline.el (outline-isearch-open-invisible):
15627         * ps-def.el (declare-function, charset-dimension, char-width)
15628         (encode-char):
15629         * ps-mule.el (ps-mule-plot-string):
15630         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15631         (recentf-edit-list-select, recentf-edit-list-validate)
15632         (recentf-open-files-action):
15633         * rect.el (delete-whitespace-rectangle-line)
15634         (rectangle-number-line-callback):
15635         * register.el (window-configuration-to-register)
15636         (frame-configuration-to-register):
15637         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15638         * select.el (xselect-convert-to-string, xselect-convert-to-length)
15639         (xselect-convert-to-targets, xselect-convert-to-delete)
15640         (xselect-convert-to-filename, xselect-convert-to-charpos)
15641         (xselect-convert-to-lineno, xselect-convert-to-colno)
15642         (xselect-convert-to-os, xselect-convert-to-host)
15643         (xselect-convert-to-user, xselect-convert-to-class)
15644         (xselect-convert-to-name, xselect-convert-to-integer)
15645         (xselect-convert-to-atom, xselect-convert-to-identity):
15646         * subr.el (declare, ignore, process-kill-without-query)
15647         (text-clone-maintain):
15648         * terminal.el (te-get-char, te-tic-sentinel):
15649         * tool-bar.el (tool-bar-make-keymap):
15650         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15651         * type-break.el (type-break-mode, type-break-noninteractive-query):
15652         * view.el (View-back-to-mark):
15653         * wid-browse.el (widget-browse-action, widget-browse-widget)
15654         (widget-browse-widgets, widget-browse-sexp):
15655         * widget.el (define-widget-keywords):
15656         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15657         Mark unused parameters.
15659         * align.el (align-adjust-col-for-rule): Mark unused parameter.
15660         (align-areas): Remove unused variable `look'.
15661         (align-region): Remove unused variables `real-end' and `pos-list'.
15663         * apropos.el (apropos-score-doc): Remove unused variable `i'.
15665         * bindings.el (mode-line-modified, mode-line-remote):
15666         Mark unused parameters.
15667         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15669         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15670         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15672         * comint.el (comint-history-isearch-pop-state)
15673         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15674         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15675         (comint-substitute-in-file-name): Doc fix.
15677         * completion.el (cmpl-statistics-block): Mark unused parameter.
15678         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15679         (save-completions-to-file, load-completions-from-file):
15680         Remove unused local variable `e'.
15682         * composite.el (compose-chars): Remove unused variable `len'.
15683         (lgstring-insert-glyph): Remove unused variable `g'.
15684         (compose-glyph-string): Remove unused variables `ascent',
15685         `descent', `lbearing' and `rbearing'.
15686         (compose-glyph-string-relative): Remove unused variables
15687         `lbearing', `rbearing' and `wadjust'.
15688         (compose-gstring-for-graphic): Remove unused variables `header',
15689         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
15690         (compose-gstring-for-terminal): Remove unused variables `header'
15691         and `nchars'.  Use `let', not `let*'.
15693         * cus-edit.el (Custom-set, Custom-save, custom-reset)
15694         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15695         (Custom-buffer-done, custom-buffer-create-internal)
15696         (custom-browse-visibility-action, custom-browse-group-tag-action)
15697         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15698         (widget-magic-mouse-down-action, custom-toggle-parent)
15699         (custom-add-parent-links, custom-toggle-hide-variable)
15700         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15701         (custom-toggle-hide-face, face, hook, custom-group-link-action)
15702         (custom-face-menu-create, custom-variable-menu-create, get)
15703         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15704         (custom-reset-standard-save-and-update): Remove unused variable `value'.
15705         (customize-apropos): Remove unused variable `tests'.
15706         (custom-group-value-create): Remove unused variable `hidden-p'.
15707         (sort-fold-case): Declare.
15709         * cus-theme.el (custom-reset-standard-faces-list)
15710         (custom-reset-standard-variables-list): Declare.
15711         (customize-create-theme, custom-theme-revert, custom-theme-write)
15712         (custom-theme-choose-mode, customize-themes, custom-theme-save):
15713         Mark unused parameters.
15715         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15717         * delim-col.el (delimit-columns-max): Move defvar before first use.
15719         * descr-text.el (describe-char-categories): Don't quote `lambda'.
15720         (describe-char): Don't quote `lambda'.  Mark unused parameter.
15722         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15723         (auto-insert): Declare.
15724         (desktop-restore-file-buffer): Rename desktop-* parameters;
15725         mark unused ones.
15726         (desktop-create-buffer): Rename desktop-* parameters and bind them.
15727         (desktop-buffer): Rename desktop-* parameters.
15729         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15730         (dframe-reposition-frame-xemacs, dframe-help-echo)
15731         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15732         Mark unused parameters.
15734         * dired-aux.el (backup-extract-version-start, overwrite-query)
15735         (overwrite-backup-query, rename-regexp-query)
15736         (rename-non-directory-query): Declare.
15737         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15738         (dired-add-entry): Remove unused variable `orig-file-name'.
15739         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15740         Use parameter PRESERVE-TIME instead of accessing dynamic variable
15741         `dired-copy-preserve-time' directly.
15742         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15743         (dired-insert-subdir-newpos): Rename unused variable `pos'.
15745         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15746         (dired-virtual-revert, dired-make-relative-symlink):
15747         Mark unused parameters.
15748         (manual-program): Declare.
15749         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15750         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15751         wrapped in `with-no-warnings' to avoid replacing one warning by another.
15753         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15755         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15757         * echistory.el (electric-history-in-progress, Helper-return-blurb):
15758         Declare.
15760         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15762         * electric.el (Electric-command-loop): Rename parameter
15763         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15765         * expand.el (expand-in-literal): Remove unused variable `here'.
15767         * facemenu.el (facemenu-add-new-color):
15768         Remove unused variable `docstring'.
15770         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15771         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15772         (face-attr-construct): Mark unused parameter.  Doc fix.
15773         (read-color): Remove unused variable `hex-string'.
15775         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15776         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15777         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15778         (display-buffer-other-frame): Remove unused variable `old-window'.
15779         (kill-buffer-hook): Declare.
15780         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15781         Mark unused parameters.
15782         (after-find-file): Pass 1 to `auto-save-mode', not t.
15784         * files-x.el (auto-insert): Declare.
15785         (modify-file-local-variable-prop-line): Remove unused variable `val'.
15787         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15788         variable `buf'.  Mark unused parameter.
15789         (find-lisp-insert-directory): Mark unused parameter.
15791         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15792         (format-encode-region): Remove unused variables `cur-buf' and `result'.
15793         (format-common-tail): Remove, unused.
15794         (format-deannotate-region): Remove unused variable `loc'.
15795         (format-annotate-region): Remove unused variable `p'.
15796         (format-annotate-single-property-change): Remove unused variables
15797         `default' and `tail'.
15799         * forms.el (read-file-filter): Declare.
15800         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15802         * frame.el (frame-creation-function-alist): Mark unused parameter.
15803         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15805         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15806         Remove unused parameters.
15807         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15808         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15810         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15811         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15812         (hfy-prepare-tag-map): Mark unused parameters.
15813         (htmlfontify-buffer): Use `called-interactively-p'.
15815         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15816         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15817         (ibuffer-do-occur): Mark unused parameters.
15818         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15819         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15821         * ibuffer.el: Don't quote `lambda'.
15822         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15823         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15824         Mark unused parameters.
15826         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15827         (ido-completing-read): Mark unused parameters.
15828         (ido-copy-current-word): Mark unused parameters;
15829         remove unused variable `name'.
15830         (ido-sort-merged-list): Remove unused parameter `dirs'.
15832         * ielm.el (ielm-input-sender): Mark unused parameter.
15833         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15834         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15835         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15836         `ielm-string' as a dynamic variable accessible from the IELM prompt.
15837         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
15839         * image-dired.el (image-dired-display-thumbs): Remove unused
15840         variables `curr-file' and `count'.
15841         (image-dired-remove-tag): Remove unused variable `start'.
15842         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15843         variable `curr-file'
15844         (image-dired-rotate-original): Remove unused variable `temp-file'.
15845         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15846         Remove unused variable `file'.
15847         (image-dired-gallery-generate): Remove unused variable `curr'.
15848         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15850         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15852         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15854         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15856         * isearch.el (minibuffer-history-symbol): Declare.
15857         (isearch-edit-string): Remove unused variable `err'.
15858         (isearch-message-prefix, isearch-message-suffix):
15859         Mark unused parameters.
15861         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15863         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15865         * makesum.el (double-column): Remove unused variable `cnt'.
15867         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15868         (ido-ignore-item-temp-list): Declare.
15870         * mouse-drag.el (mouse-drag-throw): Remove unused variables
15871         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15872         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15873         (mouse-drag-drag): Remove unused variables `mouse-delta' and
15874         `mouse-col-delta'.
15876         * mouse-sel.el (mouse-extend-internal):
15877         Remove unused variable `orig-window-frame'.
15879         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15880         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15881         Move declarations before first use.
15882         (pcomplete-opt): Mark unused parameters; doc fix.
15884         * proced.el (proced-revert): Mark unused parameter.
15885         (proced-send-signal): Remove unused variable `err'.
15887         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15888         Rename parameter PREFIX-ARG to ARG.
15889         (ps-basic-plot-string, ps-basic-plot-whitespace):
15890         Mark unused parameters.
15892         * replace.el (replace-count): Define.
15893         (occur-revert-function): Mark unused parameters.
15894         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15895         (isearch-case-fold-search, isearch-string): Declare.
15896         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15897         bind `case-fold-search'.  Remove unused variables `beg' and `end',
15898         and simplify.
15899         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15900         COUNT and bind `replace-count'.
15901         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15902         to COUNT.
15904         * savehist.el (print-readably, print-string-length): Declare.
15906         * shadowfile.el (shadow-expand-cluster-in-file-name):
15907         Remove unused variable `cluster'.
15908         (shadow-copy-file): Remove unused variable `i'.
15909         (shadow-noquery, shadow-clusters, shadow-site-cluster)
15910         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15911         (shadow-define-literal-group, shadow-define-regexp-group)
15912         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15914         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15915         (shell): Use `called-interactively-p'.
15916         (shell-directory-tracker): Remove unused variable `chdir-failure'.
15918         * simple.el (compilation-context-lines, comint-file-name-quote-list)
15919         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15920         (delete-backward-char): Remove unused variable `ocol'.
15921         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15922         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15923         (event-apply-hyper-modifier, event-apply-shift-modifier)
15924         (event-apply-control-modifier, event-apply-meta-modifier):
15925         Mark unused parameters.
15926         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15927         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15929         * speedbar.el (speedbar-ignored-directory-expressions)
15930         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15931         (speedbar-find-file, speedbar-dir-follow)
15932         (speedbar-directory-buttons-follow, speedbar-tag-find)
15933         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15934         (speedbar-buffers-line-directory, speedbar-buffer-click):
15935         Mark unused parameters.
15936         (speedbar-tag-file): Remove unused variable `mode'.
15937         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15939         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15941         * talk.el (talk): Remove unused variable `display'.
15943         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15944         (tar-write-region-annotate): Mark unused parameter.
15946         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15947         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15948         Declare them, wrapped in `with-no-warnings' to avoid replacing one
15949         warning by another.
15951         * time-stamp.el (time-stamp-string-preprocess):
15952         Remove unused variable `require-padding'.
15954         * tree-widget.el (widget-glyph-enable): Declare.
15955         (tree-widget-action): Mark unused parameter.
15957         * w32-fns.el (x-get-selection): Mark unused parameter.
15958         (autoload-make-program, generated-autoload-file): Declare.
15960         * wdired.el (wdired-revert): Mark unused parameters.
15961         (wdired-xcase-word): Remove unused variable `err'.
15963         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15964         (whitespace-help-scroll): Remove unused variable `data-help'.
15966         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15967         (widget-image-insert, widget-after-change, default)
15968         (widget-default-format-handler, widget-default-notify)
15969         (widget-default-prompt-value, widget-info-link-action)
15970         (widget-url-link-action, widget-function-link-action)
15971         (widget-variable-link-action, widget-file-link-action)
15972         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15973         (widget-field-prompt-internal, widget-field-action, widget-field-match)
15974         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15975         (widget-insert-button-action, widget-delete-button-action, visibility)
15976         (widget-documentation-link-action, widget-documentation-string-action)
15977         (widget-const-prompt-value, widget-regexp-match, symbol)
15978         (widget-coding-system-prompt-value)
15979         (widget-key-sequence-value-to-external, sexp)
15980         (widget-sexp-value-to-internal, character, vector, cons)
15981         (widget-choice-prompt-value, widget-boolean-prompt-value)
15982         (widget-color--choose-action): Mark unused parameters.
15983         (widget-item-match-inline, widget-choice-match-inline)
15984         (widget-checklist-match, widget-checklist-match-inline)
15985         (widget-group-match): Rename parameter VALUES to VALS.
15986         (widget-field-value-set): Remove unused variable `size'.
15987         (widget-color-action): Remove unused variables `value' and `start'.
15989         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15990         variable `dir'.  Doc fix.
15991         (windmove-find-other-window): Don't pass it.
15993         * window.el (count-windows): Mark unused parameter.
15994         (bw-adjust-window): Remove unused variable `err'.
15996         * woman.el (woman-file-name): Remove unused variable `default'.
15997         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15998         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15999         (global-font-lock-mode): Declare.
16000         (woman-decode-region): Mark unused parameter.
16001         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16003         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16004         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16005         (x-dnd-handle-moz-url): Remove unused variable `title'.
16006         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16008         * xml.el (xml-parse-tag, xml-parse-attlist):
16009         Remove unused variable `pos'.
16011 2011-04-19  Glenn Morris  <rgm@gnu.org>
16013         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16014         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16015         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16016         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16017         * calendar/cal-html.el (cal-html-insert-minical):
16018         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16019         (calendar-mark-date-pattern):
16020         Prefix "unused" locals.
16022         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16023         optional argument `style'.
16025         * calendar/appt.el (appt-make-list):
16026         * calendar/cal-china.el (calendar-chinese-date-string):
16027         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16028         (diary-hebrew-yahrzeit):
16029         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16030         * calendar/calendar.el (calendar-generate-window):
16031         * calendar/time-date.el (time-to-days):
16032         Remove unused local variables.
16034 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
16036         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16037         glyphless-char-display table.
16038         (tabulated-list-glyphless-char-display): New var.
16040 2011-04-18  Sam Steingold  <sds@gnu.org>
16042         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16043         to acknowledgments.
16045 2011-04-17  Glenn Morris  <rgm@gnu.org>
16047         * calendar/diary-lib.el (diary-sexp-entry):
16048         * calendar/holidays.el (holiday-sexp):
16049         Set debug-on-error rather than the removed stack-trace-on-error.
16051 2011-04-16  Glenn Morris  <rgm@gnu.org>
16053         * progmodes/f90.el: Use lexical-binding.
16054         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16056 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16058         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16059         (mail-mode): Setup mailalias completion here instead.
16060         * mail/mailalias.el: Use lexical-binding.
16061         (pattern, mailalias-done): Declare dynamic.
16062         (mail-completion-at-point-function): New function, from mail-complete.
16063         (mail-complete): Use it.
16064         (mail-completion-expand): New function.
16065         (mail-get-names): Use it.
16066         (mail-directory, mail-directory-process, mail-directory-stream):
16067         Don't use `pattern' for lexically bound arg.
16069         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16071         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16072         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16073         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16075         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16076         (byte-save-window-excursion, byte-temp-output-buffer-setup)
16077         (byte-interactive-p): Define them again, for use when inlining
16078         old code.
16080 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
16082         * loadup.el: Use `string-to-number', not `string-to-int'.
16084 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16086         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16087         gud-gdb-complete-command.
16088         (gud-gdb-completions): New function, from gud-gdb-complete-command.
16089         (gud-gdb-completion-at-point): New function.
16090         (gud-gdb-completions): Remove.
16092 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
16094         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16095         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
16096         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16097         whether `executable-find' is bound.
16099         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16101 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16103         * minibuffer.el (completion-in-region-mode-predicate)
16104         (completion-in-region-mode--predicate): New vars.
16105         (completion-in-region, completion-in-region--postch)
16106         (completion-in-region-mode): Use them.
16107         (completion--capf-wrapper): Also return the hook function.
16108         (completion-at-point, completion-help-at-point):
16109         Adjust and provide a predicate.
16111         Preserve arg names for advice of subr and lexical functions (bug#8457).
16112         * help-fns.el (help-function-arglist): Consolidate the subr and
16113         new-byte-code cases.  Add argument `preserve-names' to extract names
16114         from the docstring when needed.
16115         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16116         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16117         (ad-arglist): Use help-function-arglist's new arg.
16118         (ad-definition-type): Use cond.
16120 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
16122         * autorevert.el (auto-revert-handler):
16123         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16124         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16125         Don't quote lambda.
16127         * image-mode.el (image-transform-set-scale):
16128         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16130 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16132         * net/network-stream.el (network-stream-open-starttls): Only do
16133         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16134         Upgrades via gnutls-cli are too slow to be done opportunistically.
16136 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
16138         * dframe.el (dframe-current-frame): Remove spurious quote.
16140 2011-04-12  Glenn Morris  <rgm@gnu.org>
16142         * calendar/cal-tex.el (cal-tex-end-document):
16143         Try to automatically use latin1 input if needed.
16145         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16146         Don't try to cons a mark onto an empty element.
16148 2011-04-11  Leo Liu  <sdl.web@gmail.com>
16150         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16151         buffers.
16152         (ido-kill-buffer-at-head): Support killing virtual buffers.
16154 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
16156         * minibuffer.el (completion-show-inline-help): New var.
16157         (completion--do-completion, minibuffer-complete)
16158         (minibuffer-force-complete, minibuffer-complete-word):
16159         Inhibit minibuffer messages if completion-show-inline-help is nil.
16161         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16162         to avoid interference from inline help (Bug#5849).
16164 2011-04-10  Leo Liu  <sdl.web@gmail.com>
16166         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16167         Fix typo.
16169 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
16171         * image-mode.el (image-toggle-display-image): Signal an error if
16172         not in Image mode.
16173         (image-transform-mode, image-transform-resize)
16174         (image-transform-set-rotation): Doc fix.
16175         (image-transform-set-resize): Delete.
16176         (image-transform-set-scale, image-transform-fit-to-height)
16177         (image-transform-fit-to-width): Handle image-toggle-display-image
16178         and image-transform-resize directly.
16180 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
16182         * doc-view.el (doc-view-fit-width-to-window)
16183         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16184         New functions for fitting the shown image to the Emacs window size.
16185         (doc-view-mode-map): Add bindings for the new functions.
16187 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
16189         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16190         Fix typo in docstring.
16192 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
16194         * files.el (file-size-human-readable): Produce one digit after
16195         decimal, like "ls -lh" does.
16197         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16198         the file size representation.
16200         * simple.el (list-processes): If async subprocesses are not
16201         available, error out with a clear error message.
16203 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
16205         * help.el (help-form-show): New function, to be called from C.
16206         Put help-form output in a buffer named differently than *Help*.
16208 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
16210         * files.el (file-size-human-readable): New function.
16212         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16213         computing the representation inline.  Don't require `cl'.
16215 2011-04-08  Glenn Morris  <rgm@gnu.org>
16217         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16219         * net/browse-url.el (browse-url-firefox):
16220         Test system-type, not system-configuration.
16222         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16223         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16224         Use log-edit-empty-buffer-p.  (Bug#7598)
16226         * net/rlogin.el (rlogin-process-connection-type): Simplify.
16227         (rlogin-mode-map): Initialize in the defvar.
16228         (rlogin): Use ignore-errors.
16230         * replace.el (occur-mode-map): Some fixes for menu items.
16232 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16234         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
16236 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
16238         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16239         issuing unused warnings.
16241         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16242         macro directly.
16244         * simple.el: Lisp reimplement of list-processes.  Based on an
16245         earlier reimplementation by Leo Liu, but using tabulated-list.el.
16246         (process-menu-mode): New major mode.
16247         (list-processes--refresh, list-processes):
16248         (process-menu-visit-buffer): New functions.
16250         * files.el (save-buffers-kill-emacs): Don't assume any return
16251         value of list-processes, which is undocumented anyway.
16253 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
16255         * emacs-lisp/tabulated-list.el: New file.
16257         * emacs-lisp/package.el: Use Tabulated List mode.
16258         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16259         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
16260         table format using Tabulated List mode variables.
16261         (package--push): New macro, replacing package-list-maybe-add.
16262         (package-menu--generate): Use package--push.  Renamed from
16263         package--generate-package-list.
16264         (package-menu-refresh, list-packages): Use it.
16265         (package-menu--print-info): Rename from package-print-package.
16266         Return insertion data instead of inserting it directly.
16267         (package-menu-describe-package, package-menu-execute):
16268         Use tabulated-list-get-id.
16269         (package-menu-mark-delete, package-menu-mark-install)
16270         (package-menu-mark-unmark, package-menu-backup-unmark)
16271         (package-menu-mark-obsolete-for-deletion):
16272         Use tabulated-list-put-tag.
16273         (package--list-packages, package-menu-revert)
16274         (package-menu-get-package, package-menu-get-version)
16275         (package-menu-sort-by-column): Functions deleted.
16276         (package-menu-package-list, package-menu-sort-key): Vars deleted.
16277         (package-menu--status-predicate, package-menu--version-predicate)
16278         (package-menu--name-predicate)
16279         (package-menu--description-predicate): Handle arguments in the
16280         Tabulated List format.
16281         (package-list-packages-no-fetch): Call list-packages.
16283 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
16285         * files.el (after-find-file-from-revert-buffer): Remove variable.
16286         (after-find-file): Don't bind it.
16287         (revert-buffer-in-progress-p): New variable.
16288         (revert-buffer): Bind it.
16289         Pass nil for `after-find-file-from-revert-buffer'.
16291         * saveplace.el (save-place-find-file-hook): Use new variable
16292         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16294 2011-04-06  Glenn Morris  <rgm@gnu.org>
16296         * Makefile.in (AUTOGEN_VCS): New variable.
16297         (autoloads): Use $AUTOGEN_VCS.
16299         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16300         * calendar/calendar.el (calendar-mode-map):
16301         Check for toolkit scroll bars.  (Bug#8305)
16303 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
16305         * minibuffer.el (completion-in-region--postch)
16306         (completion-in-region-mode): Remove unnecessary messages.
16308 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
16310         * font-lock.el (font-lock-refresh-defaults):
16311         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16312         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16314         * info.el (Info-directory-list, Info-read-node-name-2)
16315         (Info-split-parameter-string): Doc fixes.
16316         (Info-virtual-nodes): Reflow docstring.
16317         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16318         (Info-apropos-toc-nodes, info-finder, Info-get-token)
16319         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16320         Fix typos in docstrings.
16321         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16322         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16323         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16324         (Info-restore-desktop-buffer): Mark unused parameters.
16325         (Info-directory-find-file, Info-directory-find-node)
16326         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16327         (Info-virtual-index-find-node, Info-apropos-find-file)
16328         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16329         Mark unused parameters; fix typos in docstrings.
16330         (Info-virtual-index): Remove unused local variable `nodename'.
16332 2011-04-05  Deniz Dogan  <deniz@dogan.se>
16334         * net/rcirc.el: Update my e-mail address.
16335         (rcirc-mode-map): Remove M-o binding.
16337 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
16339         * startup.el (command-line): Save the cursor's theme-face
16340         directly, instead of using face-override-spec.
16342         * custom.el (load-theme): Minor optimization in assigning faces.
16344 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
16346         * help-fns.el (describe-variable): Complete all variables having
16347         documentation, including keywords.
16348         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16350 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
16352         Convert to lexical-binding.
16354         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16355         (bs--get-marked-string, bs--get-modified-string)
16356         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16357         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16358         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16360         * ehelp.el (electric-help-execute-extended)
16361         (electric-help-ctrl-x-prefix):
16362         * hexl.el (hexl-revert-buffer-function):
16363         * linum.el (linum-after-change, linum-after-scroll):
16364         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16366         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16368 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
16370         * epa-dired.el:
16371         * epa-mail.el:
16372         * epa-hook.el:
16373         * epa-file.el:
16374         * epa.el:
16375         * epg.el: Use lexical binding.
16377 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
16379         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16381         * textmodes/flyspell.el (flyspell-word): Recognize default
16382         dictionary case for flyspell-mark-duplications-exceptions.
16383         Use regexp matching for languages.
16384         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16385         default dictionary (Bug#7926).
16387 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
16389         * emacs-lisp/package.el (package--with-work-buffer):
16390         Recognize https URLs.
16392         * net/network-stream.el: Move from gnus/proto-stream.el.
16393         Change prefix to network-stream throughout.
16394         (open-protocol-stream): Merge into open-network-stream, leaving
16395         open-protocol-stream as an alias.  Handle nil BUFFER args.
16397         * subr.el (open-network-stream): Move to net/network-stream.el.
16399 2011-04-02  Glenn Morris  <rgm@gnu.org>
16401         * find-dired.el (find-exec-terminator): New option.
16402         (find-ls-option): Test for -ls support.
16403         (find-ls-subdir-switches): Test for -b in find-ls-option.
16404         (find-dired, find-grep-dired): Doc fixes.
16405         (find-dired): Use find-exec-terminator.
16407         * find-dired.el (find-ls-option, find-ls-subdir-switches)
16408         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16409         (find-name-arg): Remove purecopy.
16411         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16412         (grep-compute-defaults): Check for `-exec COMMAND +' support.
16413         Set grep-find-use-xargs, grep-find-command, and grep-find-template
16414         accordingly.  Don't add the null-device if not needed.
16416         * files.el (save-some-buffers): Doc fix.
16418 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
16420         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16422 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
16424         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16425         Use `dolist' rather than `mapcar'.
16427 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16429         Add lexical binding.
16431         * subr.el (apply-partially): Use new closures rather than CL.
16432         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16433         (dolist, dotimes): Use slightly different expansion for lexical code.
16434         (functionp): Move to C.
16435         (letrec): New macro.
16436         (with-wrapper-hook): Use it and apply-partially instead of CL.
16437         (eval-after-load): Preserve lexical-binding.
16438         (save-window-excursion, with-output-to-temp-buffer): Turn them
16439         into macros.
16441         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16443         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16444         than the arglist.
16445         (help-add-fundoc-usage): Don't add `Not documented'.
16446         (help-function-arglist): Handle closures, subroutines, and new
16447         byte-code-functions.
16448         (help-make-usage): Remove leading underscores.
16449         (describe-function-1): Handle closures.
16450         (describe-variable): Use special-variable-p for completion.
16452         * files.el (lexical-binding): Declare safe.
16454         * emacs-lisp/pcase.el: Don't use destructuring-bind.
16455         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
16456         (pcase): Add `let' pattern.
16457         Change memoization so it actually works.
16458         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16459         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16460         <let>: New case.
16462         * emacs-lisp/macroexp.el: Use lexical binding.
16463         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
16464         Don't convert ' to #' without checking that it's indeed quoting
16465         a lambda.
16467         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16468         Use eval-sexp-add-defvars.
16469         (eval-sexp-add-defvars): New fun.
16471         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16473         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16474         Don't autoload.
16475         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16476         than the internal `byte-compile-lambda'.
16477         (defmethod): Don't hide code under quotes.
16478         (eieio-defmethod): New `code' argument.
16480         * emacs-lisp/eieio-comp.el: Remove.
16482         * emacs-lisp/edebug.el (edebug-eval-defun)
16483         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16484         (edebug-toggle): Avoid `eval'.
16486         * emacs-lisp/disass.el (disassemble-internal): Handle new
16487         `closure' objects.
16488         (disassemble-1): Handle new byte codes.
16490         * emacs-lisp/cl.el (pushnew): Silence warning.
16492         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16493         (cl-byte-compile-throw): Remove.
16494         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16496         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16497         closures.
16499         * emacs-lisp/cconv.el: New file.
16501         * emacs-lisp/bytecomp.el: Use lexical binding instead of
16502         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
16503         (byte-compile-initial-macro-environment):
16504         Handle declare-function here.
16505         (byte-compile--lexical-environment): New var.
16506         (byte-stack-ref, byte-stack-set, byte-discardN)
16507         (byte-discardN-preserve-tos): New lap codes.
16508         (byte-interactive-p): Don't use any more.
16509         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16510         New macros.
16511         (byte-compile-lapcode): Use them and handle new lap codes.
16512         (byte-compile-obsolete): Remove.
16513         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16514         (byte-compile-arglist-warn): Check late def of inlinable funs.
16515         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16516         since they should have been expanded by now.
16517         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16518         (byte-compile-from-buffer): Remove unused second arg.
16519         (byte-compile-preprocess): New function.
16520         (byte-compile-toplevel-file-form): New function to distinguish
16521         file-form calls from outside from file-form calls from hunk-handlers.
16522         (byte-compile-file-form): Simplify.
16523         (byte-compile-file-form-defsubst): Remove.
16524         (byte-compile-file-form-defmumble): Simplify now that
16525         byte-compile-lambda always returns a byte-code-function.
16526         (byte-compile): Preprocess.
16527         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16528         Remove, not used any more.
16529         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16530         (byte-compile-make-args-desc): New funs.
16531         (byte-compile-lambda): Handle lexical functions.  Always return
16532         a byte-code-function.
16533         (byte-compile-reserved-constants): New var, to make up room for
16534         closed-over variables.
16535         (byte-compile-constants-vector): Obey it.
16536         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16537         (byte-compile-macroexpand-declare-function): New function.
16538         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16539         byte-code-functions.
16540         (byte-compile-form): Check obsolescence here.
16541         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16542         (byte-compile-variable-ref): Remove.
16543         (byte-compile-dynamic-variable-op): New fun.
16544         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16545         (byte-compile-variable-set): New funs.
16546         (byte-compile-discard): Add 2 args.
16547         (byte-compile-stack-ref, byte-compile-stack-set)
16548         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16549         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16550         macroexpand-all instead.
16551         (byte-compile-quote-form): Remove.
16552         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16553         (byte-compile-bind, byte-compile-unbind): New funs.
16554         (byte-compile-let): Handle let* and lexical binding.
16555         (byte-compile-let*): Remove.
16556         (byte-compile-catch, byte-compile-unwind-protect)
16557         (byte-compile-track-mouse, byte-compile-condition-case):
16558         Handle a new :fun-body form, used for lexical scoping.
16559         (byte-compile-save-window-excursion)
16560         (byte-compile-with-output-to-temp-buffer): Remove.
16561         (byte-compile-defun): Simplify.
16562         (byte-compile-stack-adjustment): New fun.
16563         (byte-compile-out): Use it.
16564         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16566         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16567         handler any more.
16569         * emacs-lisp/byte-opt.el: Use lexical binding.
16570         (byte-inline-lapcode): Remove (to bytecomp).
16571         (byte-compile-inline-expand): Pay attention to inlining to/from
16572         lexically bound code.
16573         (byte-compile-unfold-lambda): Don't handle byte-code-functions
16574         any more.
16575         (byte-optimize-form-code-walker): Don't handle save-window-excursion
16576         any more and don't call compiler-macros.
16577         (byte-compile-splice-in-already-compiled-code): Remove.
16578         (byte-code): Don't inline any more.
16579         (disassemble-offset): Receive `bytes' as argument rather than via
16580         dynamic scoping.
16581         (byte-compile-tag-number): Declare before first use.
16582         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16583         `return' even if make-spliceable.
16584         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16585         obsolete interactive-p.
16586         (byte-optimize-lapcode): Optimize new lap-codes.
16587         Don't trip up on new form of `byte-constant' lap code.
16589         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16591         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16593         * custom.el (custom-initialize-default, custom-declare-variable):
16594         Use `defvar'.
16596         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16597         New variables.
16598         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16599         (COMPILE_FIRST): Add macroexp and cconv.
16600         * makefile.w32-in: Mirror changes in Makefile.in.
16602         * vc/cvs-status.el:
16603         * vc/diff-mode.el:
16604         * vc/log-edit.el:
16605         * vc/log-view.el:
16606         * vc/smerge-mode.el:
16607         * textmodes/bibtex-style.el:
16608         * textmodes/css-mode.el:
16609         * startup.el:
16610         * uniquify.el:
16611         * minibuffer.el:
16612         * newcomment.el:
16613         * reveal.el:
16614         * server.el:
16615         * mpc.el:
16616         * emacs-lisp/smie.el:
16617         * doc-view.el:
16618         * dired.el:
16619         * abbrev.el: Use lexical binding.
16621 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
16623         * info.el (info-display-manual): New function.
16625 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16627         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16629 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
16631         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16632         an entry for that server in rcirc-authinfo.  (Bug#8385)
16634 2011-03-31  Glenn Morris  <rgm@gnu.org>
16636         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16638         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16640 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
16642         * progmodes/python.el (python-default-interpreter)
16643         (python-python-command-args, python-jython-command-args)
16644         (python-which-shell, python-which-args, python-which-bufname)
16645         (python-file-queue, python-comint-output-filter-function)
16646         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16647         variables and functions.
16649 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16651         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16652         (completion-in-region-mode): New minor mode.
16653         (completion-in-region): Use it.
16654         (completion-in-region--data, completion-in-region-mode-map): New vars.
16655         (completion-in-region--postch): New function.
16656         (completion--capf-misbehave-funs, completion--capf-safe-funs):
16657         New vars.
16658         (completion--capf-wrapper): New function.
16659         (completion-at-point): Use it to track well-behavedness of
16660         hook functions.
16661         (completion-help-at-point): New command.
16663 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
16665         * vc/add-log.el (add-change-log-entry): Don't use whitespace
16666         syntax class to search for whitespace on a single line
16667         (Message-ID: <4D938140.4030905@redhat.com>).
16669 2011-03-30  Leo Liu  <sdl.web@gmail.com>
16671         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16672         New commands.
16673         (edit-abbrevs-map): Bind them here.
16674         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
16676 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
16678         * allout.el (allout-hide-by-annotation, allout-flag-region):
16679         Reduce possibility of overlay leakage by making them volatile.
16681         * allout-widgets.el (allout-widgets-tally): Define as nil so the
16682         hash is not shared between buffers.  Mode initialization is
16683         responsible for giving it a useful starting value.
16684         (allout-item-span): Reduce possibility of overlay leakage by
16685         making them volatile.
16686         (allout-widgets-count-buttons-in-region): Add diagnostic function
16687         for tracking down button overlay leaks.
16689 2011-03-29  Leo Liu  <sdl.web@gmail.com>
16691         * ido.el (ido-read-internal): Use the default history var
16692         minibuffer-history if no HISTORY is specified.
16694 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
16696         * net/imap.el (imap-shell-open, imap-process-connection-type):
16697         Use imap-process-connection-type for 'shell' streams as well as
16698         Kerberos, SSL, other subprocesses.
16700 2011-03-28  Leo Liu  <sdl.web@gmail.com>
16702         * abbrev.el (abbrev-table-empty-p): New function.
16703         (prepare-abbrev-list-buffer): Place empty abbrev tables after
16704         nonempty ones.  (Bug#5937)
16706 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
16708         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16710 2011-03-27  Leo Liu  <sdl.web@gmail.com>
16712         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16713         for foreground and background colors.
16714         (ansi-color-make-color-map): Adapt.
16716 2011-03-25  Leo Liu  <sdl.web@gmail.com>
16718         * midnight.el (midnight-time-float): Remove.  Note it calculates
16719         the microsecond component incorrectly and seconds-to-time does the
16720         same job.
16721         Remove redundant (require 'timer).
16723         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16724         (ido-completions): Remove unused arguments.  (Bug#8329)
16726 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16728         * minibuffer.el (completion--flush-all-sorted-completions):
16729         Remove itself from hook.
16730         (completion-at-point): Let the functions perform the completion
16731         immediately and return nil or t.
16732         * comint.el (comint-dynamic-complete-functions): Now identical to
16733         completion-at-point-functions.
16734         (comint-dynamic-list-input-ring): Remove unused var `index'.
16735         (comint--match-partial-filename, comint--unquote&expand-filename):
16736         New funs, split from comint-match-partial-filename.
16737         (comint-dynamic-complete): Use completion-at-point.
16738         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16740 2011-03-24  Drew Adams  <drew.adams@oracle.com>
16742         * thingatpt.el: Support `defun'.
16744 2011-03-23  Leo Liu  <sdl.web@gmail.com>
16746         * abbrevlist.el: Move to obsolete/abbrevlist.el.
16748         * help-mode.el (help-mode-finish): Tweak regexp.
16750 2011-03-23  Glenn Morris  <rgm@gnu.org>
16752         * eshell/esh-opt.el (eshell-eval-using-options):
16753         Do not bind unused local variable `eshell-option-stub'.
16755         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16757 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
16759         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16760         keymap variable in `with-no-warnings' to avoid a warning when the
16761         keymap has been already `defconst'ed.
16763 2011-03-22  Leo Liu  <sdl.web@gmail.com>
16765         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16766         encode all chars in abbrevs; otherwise use emacs-mule or
16767         utf-8-emacs.  (Bug#8308)
16769 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
16771         * simple.el (backward-delete-char-untabify):
16772         Avoid warning about using `delete-backward-char'.
16774         * image.el (image-type-file-name-regexps): Make it variable.
16775         `imagemagick-register-types' modifies it, and the user may want
16776         to add new extensions for known image types.
16777         (imagemagick-register-types): Throw error if not using ImageMagick.
16779 2011-03-22  Leo Liu  <sdl.web@gmail.com>
16781         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16782         located before rcirc-prompt-end-marker.
16783         (rcirc-complete): Error if point is not after rcirc prompt.
16784         Handle the case when table is nil.
16785         (rcirc-user-authenticated): Define to fix compiler warning.
16787 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
16789         * custom.el (custom--inhibit-theme-enable): Make it affect only
16790         custom-theme-set-variables and custom-theme-set-faces.
16791         (provide-theme): Ignore custom--inhibit-theme-enable.
16792         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16793         (custom-enabling-themes): Delete variable.
16794         (enable-theme): Accept only loaded themes as arguments.
16795         Ignore the special custom-enabled-themes variable.
16796         (custom-enabled-themes): Forbid themes from setting this.
16797         Eliminate use of custom-enabling-themes.
16798         (custom-push-theme): Quote "changed" custom var entry.
16800 2011-03-21  Leo Liu  <sdl.web@gmail.com>
16802         * ido.el (ido-read-internal): Add ido-selected to history instead
16803         of user input.
16805 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16807         * subr.el (deferred-action-list, deferred-action-function):
16808         Mark obsolete.
16810 2011-03-21  Leo Liu  <sdl.web@gmail.com>
16812         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16813         change on 2011-02-13 (bug#8309).
16815         * minibuffer.el (read-file-name-function): Change default value.
16816         (read-file-name--defaults): Rename from read-file-name-defaults.
16817         (read-file-name-default): Rename from read-file-name.
16818         (read-file-name): Call read-file-name-function.
16820 2011-03-21  Glenn Morris  <rgm@gnu.org>
16822         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16823         Doc fixes.
16825 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
16827         * cus-theme.el: Add missing provide statement.
16828         (customize-create-theme): Extract theme value correctly.
16829         (custom-theme-visit-theme): Autoload.
16830         (customize-create-theme): Prompt before inserting default faces.
16832 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
16834         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16835         units and musical notes.
16837 2011-03-20  Leo Liu  <sdl.web@gmail.com>
16839         * ido.el (ido-read-internal): Use completing-read-default.
16840         (ido-completing-read): Fix compatibility with completing-read.
16842 2011-03-20  Christian Ohler  <ohler@gnu.org>
16844         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16845         (ert-delete-all-tests): Use `called-interactively-p' rather than
16846         `interactive-p'.
16847         (ert--make-xrefs-region): Respect END.
16849 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
16851         * dired-aux.el (dired-create-directory): Signal an error if the
16852         directory already exists (Bug#8246).
16854         * facemenu.el (list-colors-display): Call list-faces-display
16855         inside with-help-window.
16856         (list-colors-print): Use display property to align the final
16857         column, instead of checking window-width.
16859 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
16861         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16862         windows-nt systems.
16863         (emerge-protect-metachars): Quote correctly for ms-dos and
16864         windows-nt systems.
16866 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
16868         * info.el (info-initialize): Replace all uses of `:' with
16869         path-separator for compatibility with non-Unix systems.
16870         Cache quoting of path-separator.  (Bug#8258)
16872 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
16874         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16875         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16876         (mouse-avoidance-mode): Fix typos in docstrings.
16878 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
16880         * startup.el (package-subdirectory-regexp): Move from package.el.
16881         Omit \\` and \\', and let callers add them.
16883         * emacs-lisp/package.el (package-strip-version)
16884         (package-load-all-descriptors): Add \\` and \\' to
16885         package-subdirectory-regexp before using it.
16886         (package-untar-buffer): New arg DIR; ensure that file untars only
16887         into this expected directory.  Remove superfluous delete-region.
16888         (package-unpack): Caller changed.
16889         (package-tar-file-info): Use package-subdirectory-regexp.
16891 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16893         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16894         diff-mode-shared-map (bug#8284).
16895         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16897 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16899         * calendar/time-date.el (format-seconds): Use assoc instead of
16900         assoc-string, since assoc-string doesn't exist in XEmacs.
16902 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
16904         * custom.el (custom-known-themes): Reflow docstring.
16905         (custom-theme-load-path): Fix typo in docstring.
16906         (load-theme): Fix typo in error message.
16907         (custom-available-themes, custom-variable-theme-value):
16908         Use `let', not `let*'.
16910 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
16912         * calc/README: Mention inclusion of musical notes.
16914         * calc/calc-units.el (calc-lu-quant): Rename from
16915         `calc-logunits-quantity'.
16916         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16917         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16918         (calc-db): Rename from `calc-dblevel'.
16919         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16920         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16921         (calc-np): Rename from `calc-nplevel'.
16922         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16923         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16924         (calc-lu-plus): Rename from `calc-logunits-add'.
16925         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16926         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16927         (calc-lu-minus): Rename from `calc-logunits-sub'.
16928         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16929         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16930         (calc-lu-times): Rename from `calc-logunits-mul'.
16931         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16932         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16933         (calc-lu-divide): Rename from `calc-logunits-div'.
16934         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16935         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16937         * calc/calc-ext.el (calc-init-extensions): Update the names of the
16938         functions being autoloaded.
16940         * calc/calc.el (calc-lu-power-reference): Rename from
16941         `calc-logunits-power-reference'.
16942         (calc-lu-field-reference): Rename from
16943         `calc-logunits-field-reference'.
16945         * calc/calc-help.el (calc-l-prefix-help):
16946         Mention musical note functions.
16948 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16950         * minibuffer.el (completion-all-sorted-completions):
16951         Use :completion-cycle-penalty text property if present.
16953 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
16955         * allout.el (allout-yank-processing): Adjust for new rebulleting
16956         regime so bullet being yanked is used without prompting the user
16957         for a choice.
16959 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
16961         * startup.el (command-line): Warn the user that _emacs is deprecated.
16963 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
16965         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16966         (delphi-verbose, delphi-comment-face, delphi-string-face)
16967         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16968         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16969         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16970         (delphi-new-comment-line, delphi-font-lock-defaults)
16971         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16972         Fix typos in docstrings.
16974 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
16976         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16977         Invert the roles of character and string values for INSTEAD, so a
16978         string is used for the more common case of a defaulting prompt.
16980 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16982         * progmodes/ruby-mode.el (ruby-backward-sexp):
16983         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16984         * play/gamegrid.el (gamegrid-make-face):
16985         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16986         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16987         * notifications.el (notifications-notify):
16988         * net/xesam.el (xesam-search-engines):
16989         * net/quickurl.el (quickurl-list-insert):
16990         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16992 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
16994         * startup.el (command-line): Update package subdirectory regexp.
16996 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16998         * allout.el (allout-abbreviate-flattened-numbering)
16999         (allout-mode-deactivate-hook): Fix up obsolescence "date".
17001         * subr.el (read-char-choice): Only show the cursor after the prompt,
17002         not after the answer.
17004 2011-03-15  Kevin Ryde  <user42@zip.com.au>
17006         * help-fns.el (variable-at-point): Skip leading quotes, if any
17007         (bug#8253).
17009 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17011         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17012         warning message.
17014 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
17016         * shell.el (shell): When called interactively, offer to change the
17017         shell file name on remote hosts.
17019 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
17021         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17022         integration for LDAP parameters.  The host, base, user or binddn,
17023         and secret tokens can be specified in a netrc file, for instance.
17024         This is optional because an `auth-source' parameter must be
17025         specified in the search attributes.
17027 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
17029         * help.el (describe-mode): Link to the mode's definition (bug#8185).
17031 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17033         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17034         into declaration.  Remove redundant and harmful binding.
17036 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
17038         * files.el (file-ownership-preserved-p): Pass `integer' as an
17039         explicit 2nd argument to `file-attributes'.  If the file's owner
17040         is the Administrators group on Windows, and the current user is
17041         Administrator, consider that a match.
17043         * server.el (server-ensure-safe-dir): Consider server directory
17044         safe on MS-Windows if its owner is the Administrators group while
17045         the current Emacs user is Administrator.  Use `=' to compare
17046         numerical UIDs, since they could be integers or floats.
17048 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
17050         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17052 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
17054         Sync with Tramp 2.2.1.
17056         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17058         * net/trampver.el: Update release number.
17060 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17062         * progmodes/compile.el (compilation--previous-directory): Fix up
17063         various nil/dead-marker mismatches (bug#8014).
17064         (compilation-directory-properties, compilation-error-properties):
17065         Don't call it at a position past the one we're about to change.
17067         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17068         Disable obsolescence warnings in the file that declares it.
17070 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
17072         * allout-widgets.el (allout-widgets-tally):
17073         Initialize allout-widgets-tally as a hash table rather than nil to
17074         prevent mode-line redisplay warnings.  Also, clarify the module
17075         description and fix a comment typo.
17077 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
17079         * help-fns.el (describe-variable): Don't complete keywords.
17080         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17082 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
17084         * emacs-lisp/package.el (package-version-join): Impose a standard
17085         string representation for pre/alpha/beta version lists.
17086         (package-unpack-single): Standardize the directory name by passing
17087         it through package-version-join.
17088         (package-strip-rcs-id): Accept any version string that does not
17089         signal an error in version-to-list.
17091 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
17093         * simple.el (delete-trailing-whitespace): Return nil for the
17094         benefit of `write-file-functions'.
17096 2011-03-10  Glenn Morris  <rgm@gnu.org>
17098         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17100         * vc/vc-git.el (vc-git-program): New option.
17101         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17102         (vc-git--call): Use it.
17104         * eshell/esh-util.el (eshell-condition-case): Doc fix.
17106         * cus-edit.el (Custom-newline): If no button at point, look
17107         for a subgroup button at start-of-line.  (Bug#2298)
17109         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17111 2011-03-10  Julien Danjou  <julien@danjou.info>
17113         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17114         `cursor-type' is nil.
17116 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
17118         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17120 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
17122         * allout.el: Change so yank of distinctive-bullet items
17123         preserves the existing header prefix, rebulleting it if necessary,
17124         rather than replacing it.  This is necessary for proper operation
17125         of cooperative addons like allout-widgets.
17126         (allout-make-topic-prefix, allout-rebullet-heading):
17127         Change SOLICIT arg to INSTEAD, and interpret additionally a string
17128         value as alternate bullet to be used, instead of prompting the user
17129         for a bullet character.
17131 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
17133         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17134         Do not use `tramp-file-name-port', because this returns also
17135         `tramp-default-port'.
17137 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
17139         * net/rcirc.el (rcirc-handler-001): Remove useless
17140         with-rcirc-process-buffer.
17141         (rcirc-check-auth-status): Swap arguments to string-match.
17143 2011-03-09  Glenn Morris  <rgm@gnu.org>
17145         * shell.el (shell-mode):
17146         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
17148         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17149         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
17151 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
17153         * emacs-lisp/package.el (package-refresh-contents)
17154         (package-menu-execute): Use condition-case-no-debug.
17156 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
17158         * simple.el (shell-command-to-string): Use `process-file'.
17160         * emacs-lisp/package.el (package-tar-file-info): Handle also
17161         remote files.
17163         * emacs-lisp/package-x.el (package-upload-buffer-internal):
17164         Use `equal' for upload base check.
17166 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
17168         * textmodes/texinfo.el (texinfo-environments):
17169         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
17171 2011-03-08  Glenn Morris  <rgm@gnu.org>
17173         * cus-start.el (cursor-in-non-selected-windows):
17174         Fix :set quoting oddness.  (Bug#8192)
17176         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17177         in some setf expressions.  (Bug#2159)
17179 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
17181         * custom.el (custom-available-themes): Return themes in
17182         alphabetical order.
17184 See ChangeLog.15 for earlier changes.
17186 ;; Local Variables:
17187 ;; coding: utf-8
17188 ;; End:
17190   Copyright (C) 2011-2012  Free Software Foundation, Inc.
17192   This file is part of GNU Emacs.
17194   GNU Emacs is free software: you can redistribute it and/or modify
17195   it under the terms of the GNU General Public License as published by
17196   the Free Software Foundation, either version 3 of the License, or
17197   (at your option) any later version.
17199   GNU Emacs is distributed in the hope that it will be useful,
17200   but WITHOUT ANY WARRANTY; without even the implied warranty of
17201   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17202   GNU General Public License for more details.
17204   You should have received a copy of the GNU General Public License
17205   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.