From: Chong Yidong Date: Sat, 21 Jul 2012 06:13:23 +0000 (+0800) Subject: Merge from emacs-24 branch; up to 2012-05-01T10:20:43Z!rgm@gnu.org X-Git-Tag: emacs-24.2.90~1116 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/257210319f10abebbfd7c12784cf3a8e112c3562 Merge from emacs-24 branch; up to 2012-05-01T10:20:43Z!rgm@gnu.org --- 257210319f10abebbfd7c12784cf3a8e112c3562 diff --cc doc/emacs/ChangeLog index 6783e84311,5430883abd..7a9a6bc818 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@@ -1,27 -1,7 +1,31 @@@ + 2012-07-19 Chong Yidong + + * emacs.texi: Update ISBN. + +2012-07-17 Chong Yidong + + * basic.texi (Inserting Text): Replace ucs-insert with + insert-char. Provide more details of input. + + * mule.texi (International Chars, Input Methods): Likewise. + +2012-07-13 Chong Yidong + + * custom.texi (Examining): Update C-h v message. + + * buffers.texi (Misc Buffer): Document view-read-only. + +2012-07-07 Chong Yidong + + * custom.texi (Init File): Index site-lisp (Bug#11435). + +2012-07-06 Chong Yidong + + * emacs.texi: Re-order top-level menu to correspond to logical + order, to avoid makeinfo warnings. + + * ack.texi (Acknowledgments): Note new python.el. + 2012-06-29 Chong Yidong * maintaining.texi (Basic VC Editing, VC Pull, Merging): diff --cc lisp/ChangeLog index f5f0de2d4c,9cda817fab..6435eeeb78 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,4731 -1,430 +1,4752 @@@ + 2012-07-21 Leo Liu + + * progmodes/cc-cmds.el (c-defun-name): Use + match-string-no-properties instead for consistency. + + 2012-07-20 Leo Liu + + * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly. + (Bug#7879) + + * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986). + ++2012-07-20 Stefan Monnier ++ ++ * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package. ++ * progmodes/bug-reference.el, misearch.el: Provide themselves ++ (bug#11915). ++ ++ * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end ++ of narrowed buffer (bug#11966). ++ +2012-07-20 Vincent Belaïche + + * ses.el (ses-rename-cell): Set new name also in reference list of + cells of which the renamed cell depends. + +2012-07-20 Masatake YAMATO + + * term/x-win.el (x-menu-bar-open): Use `frame-parameter' + to check whether menu-bar is shown or not. If not shown, + show the menu-bar as a popup menu instead of using tmm. + * mouse.el (popup-menu): Accept `point' as `position' argument. + +2012-07-20 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-parse-partial): No error when end + up inside string symbol literal (bug#11923). + +2012-07-20 Eli Zaretskii + + * startup.el (fancy-startup-text): Read the whole tutorial, not + just its first 256 bytes. Prevents gibberish in display of the + tutorial title. + +2012-07-20 Dmitry Antipov + + Drop idle buffer compaction due to an absence of the + proved efficiency. + * compact.el: Remove. + +2012-07-19 Sam Steingold + + * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on + vc-bzr-pull & vc-bzr-merge-branch. + * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it. + (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist + for consistency with compilation-error-regexp-alist. + * vc/vc-git.el (vc-git-error-regexp-alist): Add. + (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode. + * vc/vc-hg.el (vc-hg-error-regexp-alist): Add. + (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode. + +2012-07-19 Stefan Monnier + + * emacs-lisp/chart.el: Use lexical-binding. + (chart-emacs-storage): Don't hardcode the list of entries. + +2012-07-19 Dmitry Antipov + + Next round of tweaks caused by Fgarbage_collect changes. + * emacs-lisp/chart.el (chart-emacs-storage): Adjust again. + +2012-07-19 Dmitry Antipov + + Compact buffers when idle. + * compact.el: New file. + +2012-07-19 Stefan Monnier + + * subr.el (eventp): Presume that if it looks vaguely like an event, + it's an event (bug#10190). + +2012-07-19 Fabián Ezequiel Gallina + + Enhancements to ppss related code (thanks Stefan). + * progmodes/python.el (python-indent-context) + (python-indent-calculate-indentation, python-indent-dedent-line) + (python-indent-electric-colon, python-nav-forward-block) + (python-mode-abbrev-table) + (python-info-assignment-continuation-line-p): Simplify checks + for ppss context. + (python-info-continuation-line-p): Cleanup. + (python-info-ppss-context): Do not catch 'quote. + (python-info-ppss-context-type) + (python-info-ppss-comment-or-string-p): Simplify. + +2012-07-18 Fabián Ezequiel Gallina + + * progmodes/python.el: Enhancements to eldoc support. + (python-info-current-symbol): New function. + (python-eldoc-at-point): Use python-info-current-symbol. + (python-info-current-defun): Fix cornercase on first defun scan. + (python-eldoc--get-doc-at-point): Use python-info-current-symbol + and signal error when no inferior python process is available. + +2012-07-18 Dmitry Gutov + + * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered', + assume it's always t. + (vc-git-registered): Remove caching, the function is only called + once. + (vc-git-branches): Use `vc-git--call' instead of `call-process'. + +2012-07-18 Chong Yidong + + * subr.el (last-input-char, last-command-char): Remove (Bug#9195). + + * simple.el (count-words): Report on narrowing (Bug#9959). + + * bindings.el: Bind M-= to count-words. + + * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238). + +2012-07-18 Masatake YAMATO + + * progmodes/sh-script.el (sh-imenu-generic-expression): + Capture a function with `function' keyword and without parentheses + like "function FOO" (bug#11856). + +2012-07-18 Tassilo Horn + + * window.el (split-window-sensibly): Make WINDOW argument + optional. + +2012-07-18 Chong Yidong + + * subr.el (keyboard-translate): Doc fix (Bug#7261). + + * isearch.el (isearch-mode-map): Handle C-x 8 key translations, + and make C-x 8 RET exit isearch (Bug#11439). + + * international/iso-transl.el: Move isearch-mode-map key + definitions to isearch.el. + 2012-07-18 Stefan Monnier - * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package. - * progmodes/bug-reference.el, misearch.el: Provide themselves - (bug#11915). + * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970). + (eieio-defclass): Use gv-define-setter when possible. + +2012-07-18 Dmitry Antipov + + Reflect recent changes in Fgarbage_collect. + * emacs-lisp/chart.el (chart-emacs-storage): Change to + reflect new format of data returned by Fgarbage_collect. + +2012-07-17 Fabián Ezequiel Gallina + + New utility functions + python-info-ppss-context fix (Bug#11910). + * progmodes/python.el (python-info-beginning-of-block-statement-p) + (python-info-ppss-comment-or-string-p): New functions. + (python-info-ppss-context): Small fix for string check. + +2012-07-17 Juri Linkov + + * dired-aux.el (dired-do-async-shell-command): Doc fix. + (dired-do-async-shell-command): Don't add `*' at the end of the + command (Bug#11815). + (dired-do-shell-command): Doc fix. + (dired-shell-stuff-it): Strip the trailing "&" and ";" if any. + Join the individual commands using either "&" or ";" as the + separator depending on the values of these trailing characters. + At the end re-add the trailing "&". (Bug#10598) + + * simple.el (async-shell-command): Sync the interactive spec with + `shell-command'. Doc fix. + (shell-command): Doc fix. + +2012-07-17 Juri Linkov + + * descr-text.el (describe-char): Fix format args. (Bug#10129) + +2012-07-17 Fabián Ezequiel Gallina + + Final renames and doc fixes for movement commands (bug#11899). + * progmodes/python.el (python-nav-beginning-of-statement): + Rename from python-nav-statement-start. + (python-nav-end-of-statement): Rename from + python-nav-statement-end. + (python-nav-beginning-of-block): Rename from + python-nav-block-start. + (python-nav-end-of-block): Rename from python-nav-block-end. + +2012-07-17 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-send-string-no-output): + Allow accept-process-output to quit, keeping shell process ready for + future interactions (Bug#11868). + +2012-07-17 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name. + + * emacs-lisp/elint.el (elint-find-args-in-code): + Use help-function-arglist, so as to handle lexical byte-code. + + * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last + change (bug#11826). + +2012-07-17 Stefan Monnier + + * progmodes/cc-engine.el (c-forward-sws, c-backward-sws): + Avoid spuriously marking the buffer as modified because of c-is-sws. + + * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR" + as not-a-comment (bug#11946). + + * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names + for uninterned vars. + + * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read): + Use read-event since we don't really want to read chars but bytes. + + * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only + $$..$$ but also $..$ using regexps (bug#11953). + Use tex-verbatim for \url and \path. + (tex-font-lock-keywords): Define as defconst like the others. + (tex-common-initialization): Don't use font-lock-syntax-table any more. + +2012-07-16 René Kyllingstad (tiny change) + + * international/mule-cmds.el (ucs-insert): Make it an obsolete + alias for insert-char. + +2012-07-16 Fabián Ezequiel Gallina + + * progmodes/python.el: Simplified imenu implementation. + (python-nav-jump-to-defun): Remove command. + (python-mode-map): Use `imenu' instead. + (python-nav-list-defun-positions-cache) + (python-imenu-include-defun-type, python-imenu-make-tree) + (python-imenu-subtree-root-label, python-imenu-index-alist): + Remove vars. + (python-nav-list-defun-positions, python-nav-read-defun) + (python-imenu-tree-assoc, python-imenu-make-element-tree) + (python-imenu-make-tree, python-imenu-create-index): + Remove functions. + (python-mode): Update to interact with imenu by setting + `imenu-extract-index-name-function' only. + +2012-07-16 Fabián Ezequiel Gallina + + * progmodes/python.el: Enhancements to navigation commands. + (python-nav-backward-sentence) + (python-nav-forward-sentence): Remove. + (python-nav-backward-statement, python-nav-forward-statement) + (python-nav-statement-start, python-nav-statement-end) + (python-nav-backward-block, python-nav-forward-block) + (python-nav-block-start, python-nav-block-end) + (python-nav-forward-sexp-function) + (python-info-current-line-comment-p) + (python-info-current-line-empty-p): New functions. + (python-indent-context): Use `python-nav-statement-start'. + +2012-07-16 Michael Albinus + + * eshell/em-ls.el (eshell/ls): Use `apply'. + + * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc + multi-hops, instead of Tramp internals. + + * vc/ediff.el (ediff-directories): Add trailing space to prompts. + + * vc/ediff-diff.el (ediff-same-file-contents): Handle the case, + when F1 and F2 are located on different hosts. + +2012-07-14 Chong Yidong + + * xt-mouse.el: Implement extended mouse coordinates (Bug#10642). + (xterm-mouse-translate): Move code into xterm-mouse-translate-1. + (xterm-mouse-translate-extended, xterm-mouse-translate-1) + (xterm-mouse--read-event-sequence-1000) + (xterm-mouse--read-event-sequence-1006): New functions. For old + mouse protocol, handle M-mouse-X events correctly. + (xterm-mouse-event): New arg specifying mouse protocol. + (turn-on-xterm-mouse-tracking-on-terminal) + (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006 + sequence to toggle extended coordinates on newer XTerms. + This appears to be harmless on terminals which do not support this. + +2012-07-14 Leo Liu + + Add fringe bitmap indicators for flymake. (Bug#11253) + * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps. + (flymake-make-overlay): New arg BITMAP. + (flymake-error-bitmap, flymake-warning-bitmap) + (flymake-fringe-indicator-position): New user variables. + + * fringe.el: New bitmap exclamation-mark. + +2012-07-14 Jan Djärv + + * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods + also (Bug#7879). + +2012-07-14 Chong Yidong + + * electric.el (electric-pair-post-self-insert-function): Fix pair + insertion in empty-region case (Bug#11520). + +2012-07-14 Chong Yidong + + * bindings.el: Consolidate ctl-x-r-map bindings. + Bind copy-rectangle-as-kill to C-x r w. + + * rect.el, register.el: Move bindings to bindings.el. + +2012-07-14 Reuben Thomas + + * rect.el (copy-rectangle-as-kill): New command (Bug#739). + +2012-07-13 Andreas Schwab + + * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938) + +2012-07-13 Juanma Barranquero + + * bindings.el (top): Use `mapc' instead of `mapcar'. + + * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca). + +2012-07-13 Michael Albinus + + * progmodes/sql.el (sql-comint): Suppress the check for program on + remote hosts. Reported by Francis Devereux . + (Bug#11908) + +2012-07-13 Chong Yidong + + * bindings.el: Assign a non-nil permanent-local property to + per-buffer variables which lack a default value (Bug#11930). + + * help-fns.el (describe-variable): In the "automatically becomes + local" notice, take note of permanent-local variables. + +2012-07-13 Chong Yidong + + * files.el (toggle-read-only): Doc fix and code cleanup. New arg + to allow printing the message when called from Lisp. + + * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): + Remove toggle-read-only. + + * bs.el (bs-toggle-readonly): + * buff-menu.el (Buffer-menu-toggle-read-only): + Remove with-no-warnings around toggle-read-only. + + * ffap.el (ffap--toggle-read-only): Accept a list of buffers. + Remove with-no-warnings around toggle-read-only. + (ffap-read-only, ffap-read-only-other-window) + (ffap-read-only-other-frame): Callers changed. + + * help-mode.el: Don't require view package. + (help-mode-finish): Set buffer-read-only instead of calling + toggle-read-only. + + * bindings.el (mode-line-toggle-read-only): + * dired.el (dired-toggle-read-only): + * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only + with non-nil second arg. + + * emacs-lisp/eieio-custom.el (eieio-customize-object): + * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only + directly. + +2012-07-12 Eli Zaretskii + + * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf, + not incf. + +2012-07-11 Stefan Monnier + + More CL cleanups and reduction of use of cl.el. + * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el: + * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el: + * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el: + * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el: + * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el: + * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el: + * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el: + * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el: + * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el: + * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el: + * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el: + * eshell/em-cmpl.el, eshell/em-banner.el: + * calendar/parse-time.el: Use cl-lib. + * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el: + * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el: + * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el: + * term/ns-win.el, term.el, shell.el, ps-samp.el: + * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el: + * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el: + * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el: + * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el: + * net/ldap.el, net/eudc.el, net/browse-url.el, man.el: + * mail/mailheader.el, mail/feedmail.el: Don't use CL. + * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time. + * eshell/esh-opt.el (eshell-eval-using-options): Quote code with + `lambda' rather than with `quote'. + (eshell-do-opt): Adjust accordingly. + (eshell-process-option): Simplify. + * eshell/esh-var.el: + * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options. + * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*) + (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern + to `pcase--dontcare'. + * emacs-lisp/cl.el (labels): Mark obsolete. + (cl--letf, letf): Move to cl-lib. + (cl--letf*, letf*): Remove. + * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias. + * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule. + (cl-progv): Rewrite. + (cl--letf, cl-letf): Move from cl.el. + (cl-letf*): New macro. + * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove. + +2012-07-11 Michael Albinus + + * net/ange-ftp.el (ange-ftp-cf1): Update the files cache. + +2012-07-11 Chong Yidong + + * vc/log-edit.el (log-edit-vc-backend): New variable. + (log-edit): Doc fix. + + * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS + argument of log-edit to set up all local variables. + (vc-start-logentry): New optional arg specifying VC backend. + + * vc/vc.el (vc-checkin): Use it. + (vc-deduce-fileset): Handle Log Edit buffers. + (vc-diff): Make first argument optional too. + + * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix. + +2012-07-10 Michael Albinus + + * eshell/esh-ext.el (eshell-remote-command): Remove remote part of + command, just in case. The function is not needed anymore. + (eshell-external-command): Do not call `eshell-remote-command'. + +2012-07-10 Stefan Monnier + + Reduce use of (require 'cl). + * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el: + * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el: + * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el: + * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el: + * international/quail.el, info-xref.el, imenu.el, image-mode.el: + * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el: + * battery.el, avoid.el, abbrev.el: Use cl-lib. + * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el: + * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el: + * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el: + * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el: + * calculator.el, autorevert.el, apropos.el: Don't require CL. + * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree) + (byte-compile-unfold-bcf, byte-compile-check-variable): + * emacs-lisp/byte-opt.el (byte-compile-trueconstp) + (byte-compile-nilconstp): + * emacs-lisp/autoload.el (make-autoload): Use pcase. + * face-remap.el (text-scale-adjust): Simplify pcase patterns. + + * emacs-lisp/gv.el (cond): Make it a valid place. + (if): Simplify slightly. + + * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns". + (pcase--self-quoting-p): New function. + (pcase--u1): Use it. + +2012-07-10 Glenn Morris + + * emacs-lisp/authors.el (authors-fixed-entries): + (authors-renamed-files-alist): Update for configure.in -> configure.ac. + +2012-07-09 Paul Eggert + + Rename configure.in to configure.ac (Bug#11603). + * emacs-lisp/authors.el (authors-canonical-file-name): + * progmodes/autoconf.el (autoconf-mode): + Prefer configure.ac to configure.in. + +2012-07-08 Chong Yidong + + * mouse.el (mouse-drag-line): Rewrite the track-mouse loop. + Implement the mouse-1-click-follows-link handling properly. + + * info.el (Info-link-keymap): Use follow-link mechanism for + header-line links (Bug#374). + + * simple.el (deactivate-mark): Do not set the primary selection + if another program has acquired it (Bug#11772). + +2012-07-07 Kevin Ryde + + * woman.el (woman-strings): Fix double-quote handling (Bug#1151). + (woman-decode-region): Replace escaped-escapes without destroying + bold or underline (Bug#11552). + (woman2-process-escapes): Handle nofill regions (Bug#11591). + +2012-07-07 Chong Yidong + + * simple.el (yank-pop-change-selection): Doc fix (Bug#11361). + (interprogram-cut-function, interprogram-paste-function): + Mention that we typically mean the clipboard. + +2012-07-06 Glenn Morris + + * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817) + + * files.el (toggle-read-only): Restrict message to interactive use. + +2012-07-06 Michael Albinus + + * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom. + + * net/tramp-sh.el (tramp-maybe-open-connection): Handle it. + +2012-07-06 Glenn Morris + + * Makefile.in (compile-one-process): Rename from "recompile". + + * Makefile.in (bzr-update): "compile" is the same as "recompile + autoloads", but parallelizable, so use that instead. + +2012-07-06 Dmitry Gutov + + * window.el (quit-window): Always restore window height when + it's saved in quit-restore parameter. + +2012-07-06 Glenn Morris + + * simple.el (kill-whole-line): Doc tweak. + +2012-07-06 Eli Zaretskii + + * files.el (file-relative-name): Compare file names + case-insensitively if on MS-Windows or MS-DOS, or if + read-file-name-completion-ignore-case is non-nil. Don't use + case-fold-search for this purpose. (Bug#11827) + +2012-07-17 Andreas Schwab + + * calendar/cal-dst.el (calendar-current-time-zone): + Return calendar-current-time-zone-cache if non-nil. + +2012-07-17 Masatake YAMATO +2012-07-06 Andreas Schwab + + * calendar/cal-dst.el (calendar-current-time-zone): + Return calendar-current-time-zone-cache if non-nil. + +2012-07-06 Glenn Morris + + * Makefile.in (cvs-update): Remove old alias. + +2012-07-05 Michael Albinus + + Sync with Tramp 2.2.6-pre. + + * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs + compatible declaration. + + * net/tramp-cmds.el (tramp-append-tramp-buffers): + Protect `list-load-path-shadows' call. + + * net/tramp-compat.el (top): Require packages, which aren't + autoloaded anymore for XEmacs. Protect call of + `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the + compiler. Do not require tramp-util.el and tramp-vc.el anymore, + it hurts at least for SXEmacs. + (tramp-compat-temporary-file-directory): In XEmacs, there is no + standard-value for `temporary-file-directory'. + + * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat): + Redirect stderr to /dev/null. + (tramp-sh-handle-write-region): uid and gid can be floats. + Reported by Russell Sim . + (tramp-sh-handle-vc-registered): Hide errors. + (tramp-vc-file-name-handler): Use dummy results for `process-file' + and `start-file-process'. + (tramp-maybe-open-connection): Check also whether `non-essential' + is bound. + +2012-07-04 Chong Yidong + + * xml.el (xml--parse-buffer): Use xml-syntax-table. + (xml-parse-tag): Likewise, and avoid changing entity tables. + (xml-syntax-table): Define from scratch, making sure not to give + x2000 and other Unicode spaces whitespace syntax, since those are + not spaces in XML. + (xml-parse-fragment): Delete unused function. + (xml-name-start-char-re, xml-name-char-re, xml-name-re) + (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re) + (xml-entity-ref, xml-pe-reference-re) + (xml-reference-re,xml-att-value-re, xml-tokenized-type-re) + (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re) + (xml-att-type-re, xml-default-decl-re, xml-att-def-re) + (xml-entity-value-re): Use syntax references in regexps where + possible; no need to define inside a let-binding. + (xml-parse-dtd): Use xml-pe-reference-re. + (xml-entity-or-char-ref-re): New defconst. + (xml-parse-string, xml-substitute-special): Use it. + +2012-07-04 Stefan Monnier + + * files.el (locate-dominating-file): Allow `name' to be a predicate. + (find-file--read-only): New function. + (find-file-read-only, find-file-read-only-other-window) + (find-file-read-only-other-frame): Use it. + (insert-file-contents-literally): Don't `fset'. + (get-free-disk-space): Use locate-dominating-file. + + * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the + function is already compiled. + + * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re. + +2012-07-03 Michael Albinus + + * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote + files on the same host. + +2012-07-03 Andreas Schwab + + * help-fns.el (describe-function-1): Only call + help-fns--autoloaded-p when we have a file name. (Bug#11848) + +2012-07-03 Chong Yidong + + * xml.el: Protect parser against XML bombs. + (xml-entity-expansion-limit): New variable. + (xml-parse-string, xml-substitute-special): Use it. + (xml-parse-dtd): Avoid infloop if the DTD is not terminated. + +2012-07-03 Glenn Morris + + * progmodes/bug-reference.el (bug-reference-bug-regexp): + Allow linking to specific messages in debbugs reports (eg 123#5). + +2012-07-02 Chong Yidong + + * xml.el: Fix entity and character reference expansion, allowing + them to expand into markup as per XML spec. + (xml-default-ns): New variable. + (xml-entity-alist): Use XML spec definitions for lt and amp. + (xml-parse-region): Make first two arguments optional. + Discard text properties. + (xml-parse-tag-1): New function, spun off from xml-parse-tag. + All callers changed. + (xml-parse-tag): Call xml-parse-tag-1. For backward + compatibility, this function should not modify buffer contents. + (xml-parse-tag-1): Fix opening-tag regexp. + (xml-parse-string): Rewrite, handling entity and character + references properly. + (xml--entity-replacement-text): Signal an error if a parameter + entity is undefined. + +2012-07-02 Stefan Monnier + + * comint.el (comint-output-filter): Filter out repeated prompts. + + * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name + and file-name-absolute-p. + (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for + internal calls. + +2012-07-02 Paul Eggert + + Spelling fixes. + * emacs-lisp/bytecomp.el (byte-compile--reify-function): + Rename from byte-compile--refiy-function. All uses changed. + +2012-07-01 Chong Yidong + + * xml.el (xml--parse-buffer): New function. Move most of + xml-parse-region here. + (xml-parse-region): Copy region into a temporary buffer, since + parameter entity substitution requires changing buffer contents. + Use xml--parse-buffer. + (xml-parse-file): Use xml--parse-buffer. + (xml-parse-dtd): Make parameter entity substitution work right. + Use proper regexps for ELEMENT declarations (Bug#7172). + +2012-06-30 Glenn Morris + + * comint.el (follow-comint-scroll-to-bottom): Fix declaration. + + * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el: + Remove outdated and unnecessary dbus declarations. + +2012-06-30 Eli Zaretskii + + * emacs-lisp/timer.el (timer-until): Subtract results of + float-time, instead of taking float-time of the result of + time-subtract, since float-time signals an error for negative time + arguments. + +2012-06-30 Chong Yidong + + * xml.el (xml-*-re): Convert defvars into defconsts, and + eval-and-compile them so eval-and-compile works on derivatives. + (xml--entity-replacement-text): Use eval-and-comple. + +2012-06-30 Michael Albinus + + * vc/vc-git.el (vc-git-registered): Use cache property + `git-registered'. + (vc-git-mode-line-string): Call `vc-working-revision' instead of + `vc-git-working-revision' in order to benefit from the cache. + (vc-git-root): Use cache property `git-root'. (Bug#11757) + +2012-06-30 Dmitry Gutov + + * vc/vc-hooks.el (vc-before-save): Clear cache if file has been + removed (likely outside Emacs). (Bug#11757) + +2012-06-30 Stefan Monnier + + * emacs-lisp/cl-lib.el: Require macroexp. + +2012-06-30 Chong Yidong + + * xml.el: Implement XML parameter entities. + (xml-parameter-entity-alist): New variable. + (xml-parse-region, xml-parse-fragment): Preserve previous values + of xml-entity-alist and xml-parameter-entity-alist, so that + repeated calls on different documents do not change them. + (xml-parse-tag): Fix doctype regexp. + (xml--entity-replacement-text): New function. + (xml-parse-dtd): Use it. Don't handle system entities; doing that + properly requires url retrieval which is unimplemented. + (xml-escape-string): Doc fix. + +2012-06-30 Stefan Monnier + + * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2. + +2012-06-29 Dmitry Antipov + + * fringe.el (fringe-mode): Doc fix. + +2012-06-29 Michael Albinus + + * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential' + is non-nil. + (ange-ftp-ignore-errors-if-non-essential): New defmacro. + (ange-ftp-file-name-all-completions): Use it. (Bug#11808) + +2012-06-29 Andreas Schwab + + * calendar/cal-dst.el (calendar-current-time-zone): + Return calendar-current-time-zone-cache if non-nil. + +2012-06-29 Masatake YAMATO + + * progmodes/which-func.el (which-func-format): + Add mouse-face. (Bug#11698) + +2012-06-29 Leo Liu + + * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528). + +2012-06-29 Stefan Monnier + + * minibuffer.el (minibuffer-confirm-exit-commands): + Add completion-at-point (bug#11725). + +2012-06-29 Glenn Morris + + * progmodes/f90.el (f90-font-lock-keywords-2): + Add some preprocessor elements. (Bug#10499) + +2012-06-29 Stefan Monnier + + * progmodes/cperl-mode.el (cperl-update-syntaxification): + Use syntax-propertize (bug#11739). + +2012-06-28 Juanma Barranquero + + * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811). + +2012-06-28 Julien Danjou + + * term.el (term-handle-colors-array): Use a set of new faces to + color the terminal. Also uses :inverse-video property. + (term-default-fg-color): Set to nil by default, deprecate in favor + of `term-face'. + (term-default-bg-color): Set to nil by default, deprecate in favor + of `term-face'. + (term-current-face): Use `term-face' by default. + (term-bold-attribute): Variable deleted. + +2012-06-28 Glenn Morris + + * simple.el (completion-list-mode-finish): + Don't use toggle-read-only. (Since completion-list-mode has + a special mode-class, it wasn't doing anything extra anyway.) + +2012-06-28 Stefan Monnier + + Make inlining of other-mode interpreted functions work (bug#11799). + * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun. + (byte-compile): Use it to fix compilation of lexical-binding closures. + * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the + function, if needed. + +2012-06-27 Stefan Monnier + + * help-mode.el (help-make-xrefs): Don't just withstand + cyclic-variable-indirection but any error in documentation-property. + + * loadup.el (purify-flag): Pre-grow the hash-table to reduce the + memory use. + * bindings.el (bindings--define-key): New function. + * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el: + * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el: + * bindings.el: Use it to purecopy define-key bindings. + + * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list. + + * emacs-lisp/cl.el (flet): Mark obsolete. + * emacs-lisp/cl-macs.el (cl-flet*): New macro. + * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse): + * progmodes/js.el (js-c-fill-paragraph): + * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class) + (ebrowse-switch-member-buffer-to-derived-class): + * play/5x5.el (5x5-solver): Use cl-flet. + + * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780). + (cl--symbol-function): New macro. + (cl--letf, cl--letf*): Use it. + + * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): + Strip "toggle-" if any. + +2012-06-27 Glenn Morris + + * info.el (Info-default-directory-list): Move here from paths.el. + * paths.el: Remove file, which is now empty. + * loadup.el: No longer load "paths". + + * custom.el (custom-initialize-delay): Doc fix. + + * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el: + * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el: + * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el: + * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el: + * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el: + * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup". + * eshell/eshell.el (eshell-defgroup): Remove alias. + +2012-06-27 Chong Yidong + + * help.el (help-enable-auto-load): New variable. + + * help-fns.el (help-fns--autoloaded-p): New function. + (describe-function-1): Refer to a function as "autoloaded" if it + was autoloaded at any time in the past. Perform autoloading if + help-enable-auto-load is non-nil. + +2012-06-26 Eli Zaretskii + + * makefile.w32-in (compile, compile-always): Depend on + update-subdirs, not on subdirs.el. Otherwise, several different + sub-targets of 'bootstrap' running in parallel could + simultaneously write to subdirs.el, producing a garbled file. + +2012-06-26 Sam Steingold + + * files.el (file-name-base): New convenience function. + * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el: + * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el: + * progmodes/cc-defs.el, progmodes/cperl-mode.el: + * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el: + * textmodes/ispell.el, textmodes/reftex-ref.el: + * textmodes/tex-mode.el: Use it. + Did not touch cedet and org because they are maintained elsewhere. + +2012-06-26 Martin Rudalics + + * calendar/calendar.el (calendar-exit): Don't try to delete or + iconify last frame. See: + http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html + +2012-06-25 Jim Diamond (tiny change) + + * server.el (server-process-filter): Remember dir in the + process's `server-client-directory' properties. + +2012-06-24 Chong Yidong + + * xml.el (xml-parse-tag): Correctly handle comment embedded in + non-tag text. + +2012-06-23 Juanma Barranquero + + * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca. + +2012-06-23 Stefan Monnier + + * help-fns.el (describe-variable): Don't croak when doc is not found. + * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only. + * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more. + * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place. + * emacs-lisp/smie.el (smie-next-sexp): CSE. + * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid + ((lambda ..) ..). + * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf. + +2012-06-23 Chong Yidong + + * info.el (Info-mouse-follow-link): Accept symbol values of + link-args. Select window; suggested by Gerhard Kahl (Bug#11672). + (Info-fontify-node): Use Info-link-keymap for all navigation + buttons, with link-args property to perform the desired action. + (Info-link-keymap): Doc fix. + (Info-next-link-keymap, Info-prev-link-keymap) + (Info-up-link-keymap): Delete now-unused keymaps. + +2012-06-23 Chong Yidong + + * mouse.el (mouse-drag-track): Deactivate the mark before popping. + + * progmodes/python.el (python-skeleton-define): Mark abbrevs as + system abbrevs. + + * ansi-color.el (ansi-color-apply-on-region): Doc fix. + +2012-06-23 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists + (bug#11719). + + * minibuffer.el (completion--twq-try): Try to fail more gracefully when + the requote function doesn't work properly (bug#11714). + +2012-06-23 Glenn Morris + + * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages. + +2012-06-22 Stefan Monnier + + Further GV/CL cleanups. + * emacs-lisp/gv.el (gv-get): Autoload functions to find their + gv-expander. + (gv--defun-declaration): New function. + (defun-declarations-alist): Use it. + (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove. + (gv-place): Autoload. + * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's + original definition of dotimes and dolist. + * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused. + (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'. + * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here. + (cl-fifth, cl-sixth, cl-seventh, cl-eighth) + (cl-ninth, cl-tenth): Move gv handler to the function's definition. + * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler + to the function's definition. + * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%. + * window.el: + * files.el: + * faces.el: + * env.el: Don't use CL. + +2012-06-22 Paul Eggert + + Support higher-resolution time stamps (Bug#9000). + + * calendar/time-date.el (with-decoded-time-value): New arg + PICO-SYMBOL in VARLIST. It's optional, for backward compatibility. + (encode-time-value): New optional arg PICO. New type 3. + (time-to-seconds) [!float-time]: Support the new picoseconds + component if it's used. + (seconds-to-time, time-subtract, time-add): + Support ps-resolution time stamps as well. + + * emacs-lisp/timer.el (timer): New component psecs. All uses changed. + (timerp): Timer vectors now have length 9, not 8. + (timer--time): Support new-style (4-part) time stamps. + (timer-next-integral-multiple-of-time): Time stamps now have + picosecond resolution, so take a bit more care about rounding. + (timer-relative-time, timer-inc-time): New optional arg psecs. + (timer-set-time-with-usecs): Set psecs to 0. + (timer--activate): Check psecs component, too. + + * proced.el (proced-time-lessp): Support ps-resolution stamps. + +2012-06-22 Stefan Monnier + + * icomplete.el (icomplete-minibuffer-setup, icomplete-completions): + Move the non-essential binding to the post/pre-command-hook where it is + more obviously correct. + + * subr.el (read-passwd): Don't use a history at all. + * savehist.el (savehist-save): Remove password saved accidentally + because of the above bug. + +2012-06-22 Bastien Guerry + + * files.el (toggle-read-only): Display a message telling whether + the buffer is read-only or not (bug#11726). + +2012-06-22 Stefan Monnier + + * emacs-lisp/gv.el: New file. + * subr.el (push, pop): Extend to generalized variables. + * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657). + * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove. + * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter, + gv-define-simple-setter, and gv-define-expander. + Remove setf-methods defined in gv. Rename cl-setf -> setf. + (cl-setf, cl-do-pop, cl-get-setf-method): Remove. + (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf) + (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el. + (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with + gv-letplace. + (cl-defstruct): Don't define setf-method any more. + * emacs-lisp/cl.el (flet): Don't autoload. + (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt) + (define-setf-expander, defsetf, define-modify-macro) + (cl-struct-setf-expander): Move from cl-lib.el. + * emacs-lisp/syntax.el: + * emacs-lisp/ewoc.el: + * emacs-lisp/smie.el: + * emacs-lisp/cconv.el: + * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push. + (timer--time): Use gv-define-simple-setter. + * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let² + to avoid coding-system problems in subr.el. Adjust all users. + (macroexp--maxsize, macroexp-small-p): New functions. + * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf. + * scroll-bar.el (scroll-bar-mode): + * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode) + (normal-erase-is-backspace-mode): Don't use the `eq' place. + * winner.el (winner-configuration, winner-make-point-alist) + (winner-set-conf, winner-get-point, winner-set): Don't abuse letf. + * files.el (locate-file-completion-table): Avoid list*. + +2012-06-22 Chong Yidong + + * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327). + (dired-create-files): Doc fix (Bug#11329). + (dired-do-copy): Doc fix (Bug#11334). + (dired-mark-read-string): Doc fix (Bug#11553). + + * dired.el (dired-recursive-copies, dired-recursive-deletes): + Doc fix (Bug#11326). + (dired-make-relative): Doc fix (Bug#11332). Remove unused arg. + (dired-dwim-target): Doc fix. + + * wdired.el (wdired-mode): Doc fix. + +2012-06-22 Glenn Morris + + * pcmpl-rpm.el (pcmpl-rpm-cache): New option. + (pcmpl-rpm-cache-stamp-file): New constant. + (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables. + (pcmpl-rpm-packages): Optionally cache list of packages. + + * pcmpl-rpm.el (pcmpl-rpm): New group. + (pcmpl-rpm-query-options): New option. + (pcmpl-rpm-packages): No need to inline it. + Use pcmpl-rpm-query-options. + + * calendar/calendar.el (calendar-in-read-only-buffer): + Avoid some needless mode changes. + +2012-06-21 Chong Yidong + + * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674). + (desktop-path): Remove . from the default value (Bug#10977). + (desktop-read): Use user-emacs-directory if desktop-path is nil. + +2012-06-20 Chong Yidong + + * term.el (term-send-raw-meta): Make C-M- keys work (Bug#8172). + +2012-06-20 David Röthlisberger (tiny change) + + * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j + (bug#11201). + +2012-06-20 Chong Yidong + + * term.el (term-window-width): Handle the case of a missing right + fringe (Bug#8837). + (term-check-size): Use window-text-height (Bug#5445). + (term-mode): Use define-derived-mode. Minor cleanups. + Set font-lock-defaults (Bug#7692). + (term-move-columns, term-insert-char, term-emulate-terminal) + (term-erase-in-line, term-insert-spaces): Use font-lock-face. + +2012-06-20 Michael Albinus + + * net/ange-ftp.el (ange-ftp-get-passwd): + Bind `enable-recursive-minibuffers'. + (ange-ftp-get-process): Throw if `non-essential' is non-nil. + +2012-06-19 David Röthlisberger (tiny change) + + * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244). + +2012-06-19 Glenn Morris + + * progmodes/python.el (python-mode): Derive from prog-mode. + +2012-06-19 Kevin Gallagher + + * emulation/edt.el (edt-default-menu-bar-update-buffers) + (edt-user-menu-bar-update-buffers): New functions. + (edt-default-emulation-setup, edt-user-emulation-setup): Use them. + +2012-06-19 Chong Yidong + + * subr.el (with-selected-window): Preserve the selected window's + terminal's top-frame (Bug#4702). + + * window.el (save-selected-window): Likewise. + +2012-06-18 Stefan Monnier + + * progmodes/python.el (python-rx-constituents): Move backquote. + (python-skeleton-define, python-define-auxiliary-skeleton): + Use `declare'. + +2012-06-18 Michael Albinus + + * minibuffer.el (read-file-name-default): Revert the patch from + 2012-06-17. + +2012-06-18 Stefan Monnier + + * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern. + (pcase--u1, pcase--q1): Don't use apply-partially. + +2012-06-18 Glenn Morris + + * progmodes/python.el (python-proc, python-buffer) + (python-send-receive, python-send-string): Fix obsolete versions. + +2012-06-18 Martin Rudalics + + * window.el (special-display-p): Completely remove stringp + check. Suggested by Andreas Schwab . + +2012-06-17 Michael Albinus + + * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'. + + * net/tramp.el (tramp-file-name-handler): Catch 'non-essential. + + * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process): + * net/tramp-sh.el (tramp-maybe-open-connection): + Throw if `non-essential' is non-nil. + +2012-06-17 Martin Rudalics + + * window.el (special-display-p): Signal an error if BUFFER-NAME + is not a string (Bug#11713). + +2012-06-17 Paul Eggert + + * progmodes/python.el (python-info-beginning-of-backslash): + Rename from python-info-beginning-of-backlash, as a spelling fix. + +2012-06-17 Chong Yidong + + * term.el (term-emulate-terminal): If term-check-size is called, + move point to the process mark without resetting point (Bug#4635). + +2012-06-17 Glenn Morris + + * international/mule-cmds.el (mule-menu-keymap) + (set-language-environment, set-locale-environment): Doc tweaks. + +2012-06-16 Aurelien Aptel + + * cus-face.el (custom-face-attributes): Add wave-style underline + attribute. + * faces.el (set-face-attribute): Update docstring to describe + wave-style underline attribute. + +2012-06-16 Chong Yidong + + * term/xterm.el (terminal-init-xterm): Discard input before + querying background mode (Bug#10959). + +2012-06-16 Stefan Merten + + * textmodes/rst.el: Added and corrected some comments. + (rst-re-alist-def): Improve symbol syntax. + (rst-mode-syntax-table): Correct syntax entries. + (rst-cvs-header, rst-svn-rev, rst-svn-timestamp) + (rst-official-version, rst-official-cvs-rev): Update version + information. + +2012-06-15 Juanma Barranquero + + * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes + in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca. + +2012-06-15 Fabián Ezequiel Gallina + + * progmodes/python.el: New python.el merge. + (python-guess-indent): Obsolete var. + (python-indent-guess-indent-offset): New defcustom. + (python-indent): Obsolete var. + (python-indent-offset): New defcustom. + (python-python-command, python-jython-command): Delete var. + (python-shell-interpreter): New defcustom. + (python-pdbtrack-do-tracking-p): Delete var. + (python-pdbtrack-activate): New defcustom. + (python-use-skeletons): Obsolete var. + (python-skeleton-autoinsert): New defcustom. + (inferior-python-filter-regexp, python-continuation-offset) + (python-honour-comment-indentation, python-indent-string-contents) + (python-jython-packages, python-mode-hook) + (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path) + (python-shell-prompt-alist) + (python-source-modes): Delete defcustoms. + (python-check-buffer-name, python-eldoc-setup-code) + (python-eldoc-string-code, python-ffap-setup-code) + (python-ffap-string-code, python-fill-comment-function) + (python-fill-decorator-function, python-fill-paren-function) + (python-fill-string-function, python-imenu-include-defun-type) + (python-imenu-make-tree, python-imenu-subtree-root-label) + (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name) + (python-shell-compilation-regexp-alist) + (python-shell-completion-module-string-code) + (python-shell-completion-pdb-string-code) + (python-shell-completion-setup-code) + (python-shell-completion-string-code) + (python-shell-enable-font-lock, python-shell-exec-path) + (python-shell-extra-pythonpaths) + (python-shell-internal-buffer-name, python-shell-interpreter-args) + (python-shell-process-environment) + (python-shell-prompt-block-regexp) + (python-shell-prompt-output-regexp) + (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp) + (python-shell-send-setup-max-wait, python-shell-setup-codes) + (python-shell-virtualenv-path): New defcustoms. + (brm-menu, eldoc-documentation-function, inferior-python-mode-map) + (inferior-python-mode-syntax-table, python--prompt-regexp) + (python-buffer, python-command python-python-command) + (python-default-template, python-imports, python-indent-index) + (python-indent-list, python-indent-list-length) + (python-mode-running, python-pdbtrack-is-tracking-p) + (python-preoutput-continuation, python-preoutput-leftover) + (python-preoutput-result, python-preoutput-skip-next-prompt) + (python-prev-dir/file, python-recursing) + (python-saved-check-command, python-version-checked) + (python-which-func-length-limit) + (view-return-to-alist): Delete vars. + (python-check-custom-command, python-dotty-syntax-table) + (python-imenu-index-alist, python-indent-current-level) + (python-indent-dedenters, python-indent-levels) + (python-nav-beginning-of-defun-regexp) + (python-nav-list-defun-positions-cache) + (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer) + (python-shell-internal-buffer) + (python-skeleton-available): New vars. + (def-python-skeleton): Delete macro. + (python-skeleton-define): New macro. + (python-define-auxiliary-skeleton, python-rx): New macros. + (python-insert-class): Delete command. + (python-skeleton-class): New command. + (python-insert-def): Delete command. + (python-skeleton-def): New command. + (python-insert-for): Delete command. + (python-skeleton-for): New command. + (python-insert-if): Delete command. + (python-skeleton-if): New command. + (python-insert-try/except, python-insert-try/finally): Delete commands. + (python-skeleton-try): New command. + (python-insert-while): Delete command. + (python-skeleton-while): New command. + (python-backspace): Delete command. + (python-indent-dedent-line-backspace): New command. + (python-electric-colon): Delete command. + (python-indent-electric-colon): New command. + (python-guess-indent): Delete command. + (python-indent-guess-indent-offset): New command. + (python-shift-left): Delete command. + (python-indent-shift-left): New command. + (python-shift-right): Delete command. + (python-indent-shift-right): New command. + (python-find-function): Delete command. + (python-nav-jump-to-defun): New command. + (python-next-statement): Delete command. + (python-nav-forward-sentence): New command. + (python-previous-statement): Delete command. + (python-nav-backward-sentence): New command. + (python-fill-paragraph): Delete command. + (python-fill-paragraph-function): New command. + (python-send-buffer): Delete command. + (python-shell-send-buffer): New command. + (python-send-defun): Delete command. + (python-shell-send-defun): New command. + (python-send-region, python-send-region-and-go): Delete commands. + (python-shell-send-region) + (python-shell-switch-to-shell): New commands. + (python-send-string): Delete command. + (python-shell-send-string): New command. + (python-switch-to-python): Delete command. + (python-shell-switch-to-shell): New command. + (python-describe-symbol): Delete command. + (python-eldoc-at-point): New command. + (python--set-prompt-regexp, python-args-to-list) + (python-after-info-look, python-check-version) + (python-check-comint-prompt, python-find-imports) + (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack) + (python-unload-function, python-expand-template) + (python-maybe-jython, python-preoutput-filter) + (python-pdbtrack-get-source-buffer) + (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow) + (python-pdbtrack-toggle-stack-tracking) + (python-pdbtrack-track-stack-file, python-initial-text) + (python-first-word, python-comment-line-p, python-send-command) + (python-setup-brm, python-sentinel, python-set-proc) + (python-skip-out, python-input-filter, python-outdent-p) + (python-outline-level, python-backslash-continuation-line-p) + (python-end-of-block, python-end-of-statement, python-mark-block) + (python-beginning-of-block, python-beginning-of-statement) + (python-blank-line-p, python-beginning-of-string) + (python-open-block-statement-p): Delete functions. + (python-indent-line, python-indent-line-1): Delete functions. + (python-indent-line): New function. + (python-indentation-levels): Delete function. + (python-indent-calculate-levels): New function. + (python-proc): Delete function. + (python-shell-get-process): New function. + (python-send-receive): Delete function. + (python-shell-send-string-no-output): New function. + (python-module-path): Delete function. + (python-ffap-module-path): New function. + (python-completion-at-point) + (python-symbol-completions): Delete functions. + (python-completion-complete-at-point): New function. + (python-load-file): Delete function. + (python-shell-send-file): New function. + (python-calculate-indentation): Delete function. + (python-indent-calculate-indentation): New function. + (python-skip-comments/blanks): Delete function. + (python-util-forward-comment): New function. + (python-continuation-line-p): Delete function. + (python-info-continuation-line-p): New function. + (python-which-func, python-current-defun): Delete function. + (python-info-current-defun): New function. + (python-beginning-of-defun): Delete function. + (python-nav-beginning-of-defun): New function. + (python-close-block-statement-p) + (python-block-end-p): Delete function. + (python-info-closing-block): New function. + (python-comint-output-filter-function) + (python-eldoc--get-doc-at-point, python-end-of-defun-function) + (python-fill-comment, python-fill-decorator, python-fill-paren) + (python-fill-string, python-imenu-make-element-tree) + (python-imenu-make-tree, python-imenu-tree-assoc) + (python-indent-context, python-indent-dedent-line) + (python-indent-line-function) + (python-indent-post-self-insert-function) + (python-indent-toggle-levels) + (python-info-assignment-continuation-line-p) + (python-info-beginning-of-backlash) + (python-info-block-continuation-line-p) + (python-info-closing-block-message) + (python-info-line-ends-backslash-p) + (python-info-looking-at-beginning-of-defun) + (python-info-ppss-context, python-info-ppss-context-type) + (python-nav-list-defun-positions, python-nav-read-defun) + (python-nav-sentence-end, python-nav-sentence-start) + (python-pdbtrack-comint-output-filter-function) + (python-pdbtrack-set-tracked-buffer) + (python-shell-calculate-exec-path) + (python-shell-calculate-process-environment) + (python-shell-completion--do-completion-at-point) + (python-shell-completion--get-completions) + (python-shell-completion-complete-at-point) + (python-shell-completion-complete-or-indent) + (python-shell-get-or-create-process) + (python-shell-get-process-name) + (python-shell-internal-get-or-create-process) + (python-shell-internal-get-process-name) + (python-shell-internal-send-string, python-shell-make-comint) + (python-shell-parse-command, python-shell-send-setup-code) + (python-skeleton-add-menu-items) + (python-util-clone-local-variables, python-util-position) + (run-python-internal, python-indentation-levels) + (python-nav-beginning-of-defun) + (python-completion-complete-at-point): New functions. + (run-python): Change arguments. New API requirements. + +2012-06-15 Stefan Monnier + + * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner + (bug#11649). + + * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function. + (macroexp--expand-all): Use it. + + * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove. + (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro): + Use `cl-function' instead. + +2012-06-14 Juanma Barranquero + + * makefile.w32-in (COMPILE_FIRST): Remove subr.el. + Suggested by Stefan Monnier while discussing bug#11657. + +2012-06-14 Sam Steingold + + * files.el (abort-if-file-too-large): Use `file-size-human-readable'. + +2012-06-14 Andreas Schwab + + * play/doctor.el (doctor-doc): Remove parameter and use + doctor-sent instead of sent. + (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708) + +2012-06-13 Stefan Monnier + + * files.el: Require cl-lib. + (file-name-non-special): Replace case -> cl-case. + + * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func. + + * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect + mapping from #' to function*. + +2012-06-13 Chong Yidong + + * mouse.el (mouse-drag-track): Do not set the mark if the user + releases the mouse without selecting anything (Bug#11588). + +2012-06-13 Stefan Monnier + + * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB + as well (bug#11646). + + * loadup.el: Count byte-code functions as well. + + * emacs-lisp/byte-opt.el (featurep): Move compiler-macro... + * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692). + + * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt + (bug#11649). Add cl-defun and cl-defmacro. + +2012-06-13 Drew Adams + + * help-mode.el (help-bookmark-make-record, help-bookmark-jump): + Fix last change. + +2012-06-13 Michael Albinus + + * net/dbus.el (dbus-call-method): Use timeout for `read-event'. + Otherwise, it blocks in batch mode. + +2012-06-13 Juanma Barranquero + + * help-mode.el (bookmark-make-record-default): Declare. + +2012-06-13 Chong Yidong + + * emacs-lisp/package.el (list-packages): Compute a list of + packages that are newly-available since the last list-packages + invocation. + (package-menu--new-package-list): New var. + (package-menu--generate, package-menu--print-info) + (package-menu--status-predicate, package-menu-mark-install): + Handle new status label "new". + +2012-06-12 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent + conversion to backquotes. + +2012-06-12 Chong Yidong + + * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings): + Rename from gud-inhibit-global-bindings. + + * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix. + + * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal + hook from nxml-glyph-set-hook. + + * progmodes/cwarn.el (cwarn-mode): Remove redundant variable + declaration. + + * progmodes/pascal.el (pascal-toggle-completions): Doc fix. + + * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path): + Convert to defcustom. + +2012-06-12 Drew Adams + + * help-mode.el (help-bookmark-make-record, help-bookmark-jump): + New functions. + (help-mode): Use them. + +2012-06-11 Glenn Morris + + * progmodes/fortran.el (fortran-font-lock-keywords-3): + Use preprocessor face for directives. + (fortran-directive-re): Doc fix. + +2012-06-11 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent + conversion to backquotes (bug#11652). + + Fix compiler-expansion of CL's cXXr functions (bug#11673). + * emacs-lisp/cl-lib.el (cl--defalias): New function. + (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first) + (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it. + (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth) + (cl-ninth, cl-tenth): Mark them as inlinable. + (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr) + (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr) + (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr) + (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr): + Add a compiler-macro declaration to use cl--compiler-macro-cXXr. + (cl-list*, cl-adjoin): Don't put an autoload manually. + * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin) + (cl--compiler-macro-list*): Add autoload cookie. + (cl--compiler-macro-cXXr): New function. + + * help-fns.el (help-fns--compiler-macro): New function extracted from + describe-function-1; follow aliases and use `compiler-macro' property. + (describe-function-1): Use it. + +2012-06-11 Chong Yidong + + * startup.el (fancy-splash-head): Use splash.svg even if librsvg + is uninstalled, if imagemagick is installed. + +2012-06-11 Stefan Monnier + + * emacs-lisp/cl-lib.el: Use lexical-binding. + (cl-map-extents, cl-maclisp-member): Remove. + (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring) + (cl--set-substring, cl--block-wrapper, cl--block-throw) + (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix. + * emacs-lisp/cl-extra.el: Use lexical-binding. + (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals) + (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save) + (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf) + (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix. + * emacs-lisp/cl-seq.el: Use lexical-binding. + (cl--parsing-keywords, cl--check-key, cl--check-test-nokey) + (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes. + (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec): + * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix. + * edmacro.el (edmacro-mismatch): Simplify to remove dependence on + CL's internals. + +2012-06-11 Michael Albinus + + Sync with Tramp 2.2.6-pre. + + * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind + `print-length' and `print-level' to nil, in order to avoid + truncation. Reported by Christopher Schmidt + . + + * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process. + + * net/tramp-compat.el (tramp-compat-condition-case-unless-debug): + New defmacro. + (tramp-compat-copy-directory): Add optional argument + COPY-CONTENTS. It is not handled yet. + + * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring. + (tramp-ftp-file-name-p): Simplify. + + * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): + * net/tramp-gw.el (tramp-gw-open-connection): Add hop to + connection vector. + + * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring. + (tramp-methods): Do not use `tramp-password-end-of-line'. + (tramp-completion-function-alist-putty): Handle UNIX case. + (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin". + (tramp-do-file-attributes-with-stat) + (tramp-do-directory-files-and-attributes-with-stat) Return uid and + gid as real numbers. They could run out of integer range on cygwin. + (tramp-do-copy-or-rename-file-out-of-band): Better trace format. + (tramp-sh-handle-expand-file-name): Handle hops. + (tramp-open-connection-setup-interactive-shell): + Use `tramp-cleanup'. Move check for busyboxes ... + (tramp-find-shell): ... here. Simplify implementation. + Set "remote-shell" property also for alternative shells. + (tramp-remote-coding-commands): Check "test -c /dev/stdout". + If failing, a regular file would be written otherwise. + Reported by Dmitry Kurochkin . + (tramp-find-inline-encoding): Cache the coding commands in the + process cache. Apply test command on the remote side, if defined. + (tramp-find-inline-compress): Cache the compress commands in the + process cache. + (tramp-compute-multi-hops): Save `tramp-default-proxies-alist' + when requested. Handle hops. + (tramp-current-connection): New defvar. + (tramp-maybe-open-connection): Use `tramp-cleanup'. + Throw `suppress', if there was a failed connection shortly before. + Handle user interrupt. (Bug#10187) + (tramp-get-inline-compress, tramp-get-inline-coding): + Read connection properties from the process cache. + + * net/tramp-smb.el (tramp-smb-server-version) + (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): + New defconsts. + (tramp-smb-prompt): Extend for powershell prompt. + (tramp-smb-file-name-handler-alist): Add handlers for + `process-file', `shell-command' and `start-file-process'. + (tramp-smb-winexe-program, tramp-smb-winexe-shell-command) + (tramp-smb-winexe-shell-command-switch): New defcustoms. + (tramp-smb-file-name-p): Simplify. + (tramp-smb-action-with-tar, tramp-smb-handle-process-file) + (tramp-smb-kill-winexe-function, tramp-smb-call-winexe) + (tramp-smb-shell-quote-argument): New defuns. + (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument. + Implement using "tar". By this, time-stamps are preserved. + (tramp-smb-handle-copy-file): Handle also the case of directories. + (tramp-smb-do-file-attributes-with-stat) + (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): + Use `tramp-get-connection-buffer'). + (tramp-smb-handle-rename-file): Use "rename", when source and + target are on the same share. + (tramp-smb-maybe-open-connection): Handle wrong passwords. + Use `tramp-smb-server-version'. + (tramp-smb-wait-for-output): Remove prompt. + + * net/tramp.el (top): Require 'cl. + (tramp-methods, tramp-rsh-end-of-line): + Remove `tramp-password-end-of-line' from docstring. + (tramp-save-ad-hoc-proxies): New defcustom. + (tramp-completion-function-alist): Adapt docstring. + (tramp-default-password-end-of-line): Remove defcustom. + (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065) + (tramp-user-regexp, tramp-file-name-regexp-unified) + (tramp-file-name-regexp-url): Extend regexp by hop separator. + (tramp-postfix-hop-format, tramp-postfix-hop-regexp) + (tramp-remote-file-name-spec-regexp): New defconst. + (tramp-file-name-structure): Extend structure for hops. + (tramp-get-method-parameter): Move up. + (tramp-file-name-p, tramp-dissect-file-name) + (with-parsed-tramp-file-name): Handle hops. + (tramp-file-name-hop): New defun. + (tramp-make-tramp-file-name): New optional arg HOP. + (tramp-message-show-progress-reporter-message): New defvar. + (tramp-with-progress-reporter): Use it. We cannot use + `tramp-message-show-message' here, because this suppresses also + error buffers. + (tramp-error-with-buffer): Suppress buffer view, if + `tramp-message-show-message' is nil. + Use `tramp-get-connection-buffer'. + (tramp-cleanup): New defun. + (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'. + (tramp-file-name-handler): If `debug-on-error' is set, propagate + an error unchanged. + (tramp-completion-handle-file-name-all-completions): Handle hops. + Fix an error when called from ido. + (tramp-completion-dissect-file-name): Use better local variable + name. Add hop to the vector. + (tramp-handle-insert-file-contents): Use progress-reporter for the + whole scenario. + (tramp-action-password): Let-bind `enable-recursive-minibuffers' + to `t'. + (tramp-check-for-regexp): Simplify search. + (tramp-enter-password): Remove it. Move implementation ... + (tramp-action-password): ... here. + (tramp-mode-string-to-int, tramp-local-host-p) + (tramp-make-tramp-temp-file, tramp-read-passwd) + (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): + Set tramp-autoload cookie. + + * net/trampver.el: Update release number. + +2012-06-11 Thierry Volpiatto + Michael Albinus + + * net/tramp.el (tramp-set-completion-function): Fix docstring. + (tramp-parse-group, tramp-parse-file) + (tramp-parse-shostkeys-sknownhosts): New defuns. + (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts) + (tramp-parse-shosts-group, tramp-parse-sconfig) + (tramp-parse-sconfig-group, tramp-parse-shostkeys) + (tramp-parse-sknownhosts, tramp-parse-hosts) + (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc): + Use them. + (tramp-parse-passwd-group, tramp-parse-netrc-group) + (tramp-parse-putty-group): Don't narrow. + (tramp-parse-putty): Make a loop. + (tramp-file-name-handler): Catch the `suppress' signal. + +2012-06-11 Chong Yidong + + * image.el (imagemagick-register-types): Put the ImageMagick entry + at the end of image-type-file-name-regexps. + +2012-06-11 Johan Bockgård + + * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs. + (pcase, pcase-let*, pcase-dolist): Use them. + +2012-06-11 Stefan Monnier + + * emacs-lisp/pcase.el (pcase--let*): New function. + (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions. + (pcase--expand): Use macroexp-let². + +2012-06-10 Stefan Monnier + + * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el: + * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el: + * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib. + * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el: + * emacs-lisp/derived.el: Use pcase instead of `cl'. + * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load. + +2012-06-10 Glenn Morris + + * mail/rmail.el (rmail-yank-current-message): Leave point at + correct position. (Bug#11660) + +2012-06-10 Chong Yidong + + * allout-widgets.el: Fix code header. + +2012-06-10 Chong Yidong + + * cus-edit.el (customize-changed-options-previous-release): + Bump to 24.1. + +2012-06-09 Andreas Schwab + + * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200. + +2012-06-09 Chong Yidong + + * ebuff-menu.el (electric-buffer-list): Preserve header line. + +2012-06-09 Martin Rudalics + + * window.el (special-display-popup-frame): Don't use + window--display-buffer (Bug#11651). + +2012-06-09 Eli Zaretskii + + Fix parallel builds: make sure loaddefs.el is not being written + while Lisp files are compiled. + (compile): Don't depend on 'mh-autoloads'. + (compile-CMD, compile-SH): Depend on 'autoloads'. + (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'. + + * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649) + +2012-06-09 Chong Yidong + + * face-remap.el (face-remap-add-relative, face-remap-set-base) + (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke): + Doc fixes (Bug#11225). + +2012-06-09 Stefan Monnier + + * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload + a function if there's a clear indication that it has a compiler-macro. + * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun) + (macro-declarations-alist): Add arglist to declaration functions. + (defun-declarations-alist): Add `obsolete' and `compiler-macro'. + * emacs-lisp/cl-seq.el (cl-member, cl-assoc): + * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin): + * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement. + Also add autoload to find the compiler macro. + * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove. + (cl--compiler-macro-member, cl--compiler-macro-assoc) + (cl--compiler-macro-adjoin, cl--compiler-macro-list*) + (cl--compiler-macro-get): New functions, replacing calls to + cl-define-compiler-macro. + (cl-typep) [compiler-macro]: Use macroexp-let². + +2012-06-08 Nick Dokos (tiny change) + + * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID + string properly, fixes Bug#11473. + +2012-06-08 Chong Yidong + + * faces.el (set-face-attribute): Doc fix. + (modify-face): Don't use :bold and :italic. + (error, warning, success): Tweak definitions. + + * cus-edit.el (custom-modified, custom-invalid, custom-rogue) + (custom-modified, custom-set, custom-changed, custom-themed) + (custom-saved, custom-button, custom-button-mouse) + (custom-button-pressed, custom-state, custom-comment-tag) + (custom-variable-tag, custom-group-tag-1, custom-group-tag) + (custom-group-subtitle): Use new-style face specs. + (custom-invalid-face, custom-rogue-face, custom-modified-face) + (custom-set-face, custom-changed-face, custom-saved-face) + (custom-button-face, custom-button-pressed-face) + (custom-documentation-face, custom-state-face) + (custom-comment-face, custom-comment-tag-face) + (custom-variable-tag-face, custom-variable-button-face) + (custom-face-tag-face, custom-group-tag-face-1) + (custom-group-tag-face): Remove obsolete face alias. + + * epa.el (epa-validity-high, epa-validity-medium) + (epa-validity-low, epa-mark, epa-field-name, epa-string) + (epa-field-name, epa-field-body): + * font-lock.el (font-lock-comment-face, font-lock-string-face) + (font-lock-keyword-face, font-lock-builtin-face) + (font-lock-function-name-face, font-lock-variable-name-face) + (font-lock-type-face, font-lock-constant-face): + * ido.el (ido-first-match, ido-only-match, ido-subdir) + (ido-virtual, ido-indicator, ido-incomplete-regexp): + * speedbar.el (speedbar-button-face, speedbar-file-face) + (speedbar-directory-face, speedbar-tag-face) + (speedbar-selected-face, speedbar-highlight-face) + (speedbar-separator-face): + * whitespace.el (whitespace-newline, whitespace-space) + (whitespace-hspace, whitespace-tab, whitespace-trailing) + (whitespace-line, whitespace-space-before-tab) + (whitespace-space-after-tab, whitespace-indentation) + (whitespace-empty): + * emulation/cua-base.el (cua-global-mark): + * eshell/em-prompt.el (eshell-prompt): + * net/newst-plainview.el (newsticker-new-item-face) + (newsticker-old-item-face, newsticker-immortal-item-face) + (newsticker-obsolete-item-face, newsticker-date-face) + (newsticker-statistics-face, newsticker-default-face): + * net/newst-reader.el (newsticker-feed-face) + (newsticker-extra-face, newsticker-enclosure-face): + * net/newst-treeview.el (newsticker-treeview-face) + (newsticker-treeview-new-face, newsticker-treeview-old-face) + (newsticker-treeview-immortal-face) + (newsticker-treeview-obsolete-face) + (newsticker-treeview-selection-face): + * net/rcirc.el (rcirc-my-nick, rcirc-other-nick) + (rcirc-bright-nick, rcirc-server, rcirc-timestamp) + (rcirc-nick-in-message, rcirc-nick-in-message-full-line) + (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword): + * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator) + (nxml-outline-active-indicator, nxml-outline-ellipsis): + * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial) + (mpuz-text): + * progmodes/vera-mode.el (vera-font-lock-number) + (vera-font-lock-function, vera-font-lock-interface): + * textmodes/table.el (table-cell): Use new-style face specs, and + don't use the old :bold and :italic attributes. + + * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class) + (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name) + (ebrowse-member-class, ebrowse-progress): Likewise. + (ebrowse-tree-mark-face, ebrowse-root-class-face) + (ebrowse-file-name-face, ebrowse-default-face) + (ebrowse-member-attribute-face, ebrowse-member-class-face) + (ebrowse-progress-face): Remove obsolete faces. + + * progmodes/flymake.el (flymake-errline, flymake-warnline): + Inherit from error and warning faces respectively. + + * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate): + Likewise. + (flyspell-incorrect-face, flyspell-duplicate-face): + Remove obsolete aliases. + +2012-06-08 Michael Albinus + + * net/tramp-compat.el (tramp-compat-temporary-file-directory): + Avoid infloop. + +2012-06-08 Stefan Monnier + + * startup.el (argv, argi): Make lexically scoped. + * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special. + * emacs-lisp/cl-macs.el: Use lexical-binding. + Rename cl-bind-* to cl--bind-*. + * files.el: Don't require `cl' since it doesn't use it. + * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie. + +2012-06-08 Juanma Barranquero + + * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu). + (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms, + instead of calling external sort utility. + (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions. + +2012-06-08 Eli Zaretskii + + * descr-text.el (describe-char): Mention how to insert the + character, if the current input method doesn't support it. + See the discussion in this thread for the details: + http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html. + +2012-06-08 Sam Steingold + + * bindings.el (global-map): Bind XF86Forward to next-buffer and + XF86Back to previous-buffer. + (minibuffer-local-map): Bind them to next-history-element and + previous-history-element respectively. + * help-mode.el (help-mode-map): Bind them to help-go-forward and + help-go-back respectively. + * info.el (Info-mode-map): Bind them to Info-history-forward and + Info-history-back respectively. + These are the keys next to Up on the ThinkPad keyboard. + +2012-06-08 Stefan Monnier + + Get rid of cl-lexical-let, keeping only lexical-let for compatibility. + * emacs-lisp/cl-macs.el: Provide itself. + (cl--labels-convert-cache): New var. + (cl--labels-convert): New function. + (cl-flet, cl-labels): New implementation with new semantics, relying on + lexical-binding. + * emacs-lisp/cl.el: Mark compatibility aliases as obsolete. + (cl-closure-vars, cl--function-convert-cache) + (cl--function-convert): Move from cl-macs.el. + (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and + rename by removing the "cl-" prefix. + * emacs-lisp/macroexp.el (macroexp-unprogn): New function. + +2012-06-07 Stefan Monnier + + * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment) + (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash) + (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash) + (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash) + (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p) + (cl-hash-table-count): Add old compatibility aliases. + + * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var. + Use macroexpand-all-environment instead. + (cl--old-macroexpand): New var. + (cl--sm-macroexpand): New function. + (cl-symbol-macrolet): Use it during macro expansion. + (cl--function-convert-cache): New var. + (cl--function-convert): New function, extracted from + cl-macroexpand-all. + (cl-lexical-let): Use it. + + * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl. + (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand. + (cl-member): Remove old alias. + + * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree) + (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash) + (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash) + (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table) + (cl-hash-table-p, cl-hash-table-count): Move to cl.el. + (cl-macroexpand-cmacs): Remove var. + (cl-macroexpand-all, cl-macroexpand-body): Remove funs. + Use macroexpand-all instead. + +2012-06-07 Stefan Monnier + + * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if) + (macroexp-let², macroexp--const-symbol-p, macroexp-const-p) + (macroexp-copyable-p): New functions and macros. + * emacs-lisp/edebug.el (edebug-unwrap): + * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn. + * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ... + (pcase--let*): Remove. + * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p) + (byte-compile-constp): Remove. Use macroexp--const-symbol-p and + macroexp-const-p instead. + * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn. + + * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--" + instead of "cl-" for internal definitions. Use macroexp-const-p. + (cl-old-bc-file-form): Remove var. + (cl-const-exprs-p): Remove fun. + (cl-labels, cl-macrolet): Use backquote. + (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander. + (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun. + (cl-define-setf-expander): Rename from cl-define-setf-method. + * emacs-lisp/cl.el: Adjust alias for define-setf-method. + + * international/mule-cmds.el: Don't require CL. + (view-hello-file): Don't use `letf'. + +2012-06-07 Stefan Monnier + + * tmm.el (tmm-prompt): Use string-prefix-p. + (tmm-completion-delete-prompt): Don't affect current-buffer outside. + (tmm-add-prompt): Use minibuffer-completion-help. + (tmm-delete-map): Remove. + + * subr.el (kbd): Make it its own function. + +2012-06-07 Stefan Merten + + * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'. + Silence compiler warnings. Fix versions. + (rst-position-if, rst-position, rst-some, rst-signum): New functions. + (rst-shift-region, rst-adornment-level, rst-compute-tabs) + (rst-indent-line, rst-shift-region, rst-forward-line): Use them. + (rst-package-emacs-version-alist): Correct Emacs version to + represent major merge with upstream. + (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions. + +2012-06-06 Glenn Morris + + * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars. + Only print environment variables if set. + +2012-06-06 Stefan Monnier + + * emacs-lisp/macroexp.el: Don't require CL since we don't use it. + (macroexp--cons): Rename from maybe-cons. + (macroexp--accumulate): Rename from macroexp-accumulate. + (macroexp--all-forms): Rename from macroexpand-all-forms. + (macroexp--all-clauses): Rename from macroexpand-all-clauses. + (macroexp--expand-all): Rename from macroexpand-all-1. + +2012-06-06 Sam Steingold + + * calendar/calendar.el (calendar-in-read-only-buffer): + Call `special-mode' to enable the standard read-only keybindings. + +2012-06-06 Stefan Monnier + + * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output + with "loading" messages (bug#11635). + +2012-06-06 Michael Albinus + + * files.el (enable-remote-dir-locals): New option. + (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731) + + * net/tramp-compat.el (tramp-compat-temporary-file-directory): + Ensure, that the temp directory is local. + + * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind + `temporary-file-directory'. + + * progmodes/python.el (python-send-region): Ensure, that the + temporary file is created also in the remote case. + +2012-06-06 Glenn Morris + + * vc/vc-rcs.el (vc-rcs-rcs2log-program): New. + (vc-rcs-update-changelog): Use it. + + * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff. + + * vc/vc-sccs.el (vc-sccs-write-revision): New function. + (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision. + (vc-sccs-diff): Replace use of the external vcdiff script. + +2012-06-05 Glenn Morris + + * ledit.el: Move to obsolete/. + +2012-06-05 Sam Steingold + + * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28 + patch (Bug#11140). + +2012-06-05 Stefan Monnier + + * emacs-lisp/cust-print.el: Move to obsolete. + + * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during + compiler-macro expansion. + + Add native compiler-macro support. + * emacs-lisp/macroexp.el (macroexpand-all-1): + Support compiler-macros directly. Properly follow aliases and apply + the compiler macros more thoroughly. + * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since + macroexpand now properly follows aliases. + * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro) + (cl-compiler-macroexpand): Use new prop. + * emacs-lisp/byte-opt.el (featurep): Optimize earlier. + + * emacs-lisp/cl-lib.el (custom-print-functions): Add alias. + +2012-06-05 Martin Rudalics + + * window.el (get-lru-window, get-mru-window, get-largest-window): + New argument NOT-SELECTED to avoid picking the selected window. + (window--display-buffer-1, window--display-buffer-2): Replace by + new function window--display-buffer + (display-buffer-same-window, display-buffer-reuse-window) + (display-buffer-pop-up-frame, display-buffer-pop-up-window): + Use window--display-buffer. + (display-buffer-use-some-window): Remove temporary dedication + hack by calling get-lru-window and get-largest-window with + NOT-SELECTED argument non-nil. Call window--display-buffer. + +2012-06-05 Glenn Morris + + * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p): + Replace external vcdiff script. + +2012-06-04 Stefan Monnier + + * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change. + +2012-06-04 Chong Yidong + + * image.el (imagemagick-types-inhibit): Revert last change. + Add INFO and M. + (imagemagick-enabled-types): Remove CIN and EPS*. + +2012-06-04 Stefan Monnier + + * emacs-lisp/cl-lib.el: Rename from cl.el. + * emacs-lisp/cl.el: New compatibility file. + * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el: + * emacs-lisp/cl-extra.el: Rename all top-level functions and variables + to obey the "cl-" prefix. + * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name. + +2012-06-03 Glenn Morris + + * emacs-lisp/authors.el (authors-aliases): Addition. + + * cus-start.el (tool-bar-style, tool-bar-max-label-size): + Fix :version. + +2012-06-03 Stefan Merten + + * textmodes/rst.el: Add comments. + (rst-transition, rst-adornment): New faces. + (rst-adornment-faces-alist): Make default safe to reevaluate. + Fixes + http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414. + Improve customization tags. + (rst-define-level-faces): Clarify meaning. + +2012-06-03 Chong Yidong + + * progmodes/compile.el (compilation-mode-line-fail) + (compilation-mode-line-run, compilation-mode-line-exit): + New faces. + (compilation-start, compilation-handle-exit): Use them (Bug#11032). + +2012-06-03 Jack Duthen (tiny change) + + * progmodes/which-func.el (which-func-update-ediff-windows): + New function. Use it in ediff-select-hook (Bug#11478). + +2012-06-03 Chong Yidong + + * bindings.el: Remove explicit help text from format-mode-line. + It is now supplied by mode-line-default-help-echo. + (mode-line-front-space, mode-line-end-spaces) + (mode-line-misc-info): New variables. + (mode-line-modes, mode-line-position): Move the default value to + the variable definition. + (mode-line-default-help-echo): New defcustom. + (mode-line-mule-info-help-echo, mode-line-read-only-help-echo) + (mode-line-modified-help-echo): New functions. + (mode-line-mule-info, mode-line-modified): Use them. + (mode-line-eol-desc, propertized-buffer-identification): + Consistency fixes for help text. + (mode-line-coding-system-map): Allow using mouse-3 to invoke + set-buffer-file-coding-system (Bug#289). + (mode-line-mule-info-help-echo): Update help text. + +2012-06-02 Stefan Monnier + + * simple.el (execute-extended-command): Set real-this-command + (bug#11506). + +2012-06-02 Chong Yidong + + Remove incorrect uses of "modeline" in comments, docstrings, and + function/variable names (Bug#10329). + + * cus-edit.el (mode-line): + * dframe.el (dframe-mouse-hscroll): + * emacs-lisp/re-builder.el: + * emacs-lisp/easy-mmode.el (define-minor-mode): + * frame.el (set-frame-name): + * help.el (lookup-minor-mode-from-indicator): + * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name): + * progmodes/cc-cmds.el (c-toggle-auto-newline) + (c-toggle-hungry-state): + * progmodes/antlr-mode.el (antlr-language-alist): + * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face): + * progmodes/vhdl-mode.el (vhdl-mode): + * progmodes/which-func.el (which-func, which-func-cleanup-function): + * term/ns-win.el (ns-face-at-pos): + * term/sup-mouse.el (sup-mouse-report): + * textmodes/flyspell.el (flyspell-mode-line-string): + * textmodes/ispell.el (ispell-highlight-face): + * textmodes/reftex-global.el: + * vc/vc-arch.el (vc-arch-mode-line-string): + * vc/vc-cvs.el (vc-cvs-mode-line-string): + * vc/vc-git.el (vc-git-mode-line-string): + * vc/vc-hooks.el (vc-display-status) + (vc-default-mode-line-string): + * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes. + + * ansi-color.el (ansi-color-faces-vector): Change default faces. + + * dired.el (dired-sort-set-mode-line): Rename from + dired-sort-set-modeline. All callers changed. + + * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from + eshell-status-in-modeline. + + * foldout.el (foldout-mode-line-string): Rename from + foldout-modeline-string. All callers changed. + (foldout-update-mode-line): Rename from foldout-update-modeline. + + * subr.el (redraw-modeline): Make into obsolete alias. + + * calendar/timeclock.el (timeclock-mode-line-display): Rename from + timeclock-modeline-display. Make old name an alias. + (timeclock-update-mode-line): Likewise. All callers changed. + (timeclock-mode-line-display): No need to check before using + add-hook. + (timeclock-relative, timeclock-day-over-hook) + (timeclock-use-elapsed, timeclock-mode-string) + (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line". + + * emulation/crisp.el (crisp-mode-mode-line-string): Rename from + crisp-mode-modeline-string. + + * play/solitaire.el (solitaire-build-mode-line): Rename from + solitaire-build-modeline. All callers changed. + + * play/zone.el (zone-hiding-mode-line): Rename from + zone-hiding-modeline. All callers changed. + (zone): Remove unusued `modeline-hidden-level' property. + + * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from + xscheme-modeline-initialize. All callers changed. + + * strokes.el (strokes-lighter): Rename from + strokes-modeline-string. + + * textmodes/sgml-mode.el (html-face-tag-alist) + (html-tag-face-alist): Use mode-line face instead of obsolete + alias modeline. + +2012-06-02 Stefan Merten + + * textmodes/rst.el: Always require `cl'. + (rst-mode-map): Fix meaning of C-M-a / C-M-e. + +2012-06-02 Chong Yidong + + * image.el (imagemagick-enabled-types): Rename from + imagemagick-types-enable. Add many more types. + (imagemagick-types-inhibit): Change default to nil. + (imagemagick-filter-types): Caller changed. + +2012-06-01 Stefan Monnier + + * emacs-lisp/cl-macs.el: Use backquotes. + (cl-transform-function-property): Use eval-and-compile rather than + abusing `require'. + (defstruct): Use declare-function instead of with-no-warnings. + + * emacs-lisp/bytecomp.el: Fix last change (bug#11594). + (byte-compile-output-docform): Re-add the print-circle bindings. + (byte-compile-fix-header): Use #$ just because it's shorter. + (byte-compile-output-file-form): Remove defun/defmacro. + +2012-06-01 Martin Rudalics + + * simple.el (choose-completion): Remove now obsolete binding for + owindow. + +2012-06-01 Michael Albinus + + * net/tramp.el (tramp-check-for-regexp): Search from buffer end, + in order to avoid "Stack overflow in regexp matcher". + +2012-05-31 Glenn Morris + + * image.el: For clarity, call imagemagick-register-types at + top-level, rather than relying on a custom :initialize. + (imagemagick-types-enable): New option. (Bug#11557) + (imagemagick-filter-types): New function. (Bug#7406) + (imagemagick-register-types): Use imagemagick-filter-types. + If disabling support, remove elements altogether rather + than using an impossible regexp. + (imagemagick-types-inhibit): Give it the default init function. + +2012-05-31 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-fix-header): + Handle arbitrary file name lengths (Bug#11585). + +2012-05-31 Martin Rudalics + + * desktop.el (desktop-read): Clear previous and next buffers for + all windows and bury *Messages* buffer (bug#11556). + +2012-05-31 Stefan Monnier + + Add `declare' for `defun'. Align `defmacro's with it. + * emacs-lisp/easy-mmode.el (define-minor-mode) + (define-globalized-minor-mode): Don't autoload the var definitions. + * emacs-lisp/byte-run.el: Use lexical-binding. + (defun-declarations-alist, macro-declarations-alist): New vars. + (defmacro, defun): Use them. + (make-obsolete, define-obsolete-function-alias) + (make-obsolete-variable, define-obsolete-variable-alias): + Use `declare'. + (macro-declaration-function): Mark obsolete. + * emacs-lisp/autoload.el: Use lexical-binding. + (make-autoload): Add `expansion' arg. Rely more on macro expansion. + +2012-05-30 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-with-no-warnings): + Define as a macro. + (ispell-kill-ispell, ispell-change-dictionary): + Use `called-interactively-p' for Emacs instead of obsolete + `interactive-p'. + +2012-05-30 Stefan Monnier + + * emacs-lisp/byte-run.el (defmacro, defun): Move from C. + (macro-declaration-function): Move var from C code. + (macro-declaration-function): Define function with defalias. + * emacs-lisp/macroexp.el (macroexpand-all-1): + * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle + defun/defmacro any more. + * emacs-lisp/bytecomp.el (byte-compile-arglist-signature): + Provide fallback for unknown arglist. + (byte-compile-arglist-warn): Change calling convention. + (byte-compile-output-file-form): Move print-vars binding. + (byte-compile-output-docform): Simplify accordingly. + (byte-compile-file-form-defun, byte-compile-file-form-defmacro) + (byte-compile-defmacro-declaration): Remove. + (byte-compile-file-form-defmumble): Generalize to defalias. + (byte-compile-output-as-comment): Return byte-positions. + Simplify callers accordingly. + (byte-compile-lambda): Use `assert'. + (byte-compile-defun, byte-compile-defmacro): Remove. + (byte-compile-file-form-defalias): + Use byte-compile-file-form-defmumble. + (byte-compile-defalias-warn): Remove. + +2012-05-29 Stefan Merten + + * textmodes/rst.el: Silence `checkdoc-ispell' errors where + possible. Fix authors. Improve comments. Improve loading of `cl'. + + (rst-mode-abbrev-table): Merge definition. + (rst-mode): Make sure `font-lock-defaults' is buffer local. + (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor. + +2012-05-29 Ulf Jasper + + * calendar/icalendar.el + (icalendar-export-region): Export UID properly. + +2012-05-29 Leo Liu + * calendar/icalendar.el (icalendar-import-format): + Add `icalendar-import-format-uid' (Bug#11525). + (icalendar-import-format-uid): New. + (icalendar--parse-summary-and-rest, icalendar--format-ical-event): + Export UID. + +2012-05-29 Stefan Monnier + + * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in + different alternative patterns. + (pcase-codegen): Be more careful to preserve identity. + (pcase--u1): Don't forget to mark vars as used. + + * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant. + (byte-compile-close-variables): Bind byte-compile--outbuffer here... + (byte-compile-from-buffer): ...rather than here. + + * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess + functions from byte-compile-function-environment. + +2012-05-29 Troels Nielsen + + * window.el (window-deletable-p): Avoid deleting the root window + of a frame with an active minibuffer. + +2012-05-29 Martin Rudalics + + * simple.el (choose-completion): Use quit-window (Bug#11567). + +2012-05-29 Chong Yidong + + * whitespace.el (whitespace-cleanup): Fix usage of + whitespace-empty-at-bob-regexp (Bug#11492). + +2012-05-29 Aaron S. Hawley + + * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on + revert (Bug#11488). + +2012-05-29 Juri Linkov + + * isearch.el (isearch-mode-map): Bind `M-s _' to + `isearch-toggle-symbol'. Bind `M-s c' to + `isearch-toggle-case-fold'. + (search-map): Bind `M-s _' to `isearch-forward-symbol'. + (isearch-forward): Add `M-s _' to the docstring. + (isearch-forward-symbol, isearch-toggle-case-fold) + (isearch-symbol-regexp): New functions. (Bug#11381) + +2012-05-29 Juri Linkov + + * isearch.el (isearch-word): Add docstring. (Bug#11381) + (isearch-occur, isearch-search-and-update): If `isearch-word' is + a function, call it to get the regexp. + (isearch-message-prefix): If `isearch-word' holds a symbol, use its + property `isearch-message-prefix' instead of the string "word ". + (isearch-search-fun-default): For the case of `isearch-word', + return a lambda that calls re-search-forward/re-search-backward + with a regexp returned by `word-search-regexp' or by the function + in `isearch-word'. + +2012-05-29 Juri Linkov + + * isearch.el (isearch-search-fun-default): New function. + (isearch-search-fun): Move default part to the new function + `isearch-search-fun-default'. + (isearch-search-fun-function): Set the default value to + `isearch-search-fun-default'. (Bug#11381) + + * comint.el (comint-history-isearch-end): + Use `isearch-search-fun-default'. + (comint-history-isearch-search): Use `isearch-search-fun-default' + and remove spacial case for `isearch-word'. + (comint-history-isearch-wrap): Remove spacial case for + `isearch-word'. + + * hexl.el (hexl-isearch-search-function): + Use `isearch-search-fun-default'. + + * info.el (Info-isearch-search): Use `isearch-search-fun-default'. + Use `word-search-regexp' for `isearch-word'. + + * misearch.el (multi-isearch-search-fun): + Use `isearch-search-fun-default'. + + * simple.el (minibuffer-history-isearch-search): + Use `isearch-search-fun-default' and remove spacial case for + `isearch-word'. + (minibuffer-history-isearch-wrap): Remove spacial case for + `isearch-word'. + + * textmodes/reftex-global.el (reftex-isearch-wrap-function): + Remove spacial case for `isearch-word'. + (reftex-isearch-isearch-search): Use `isearch-search-fun-default'. + +2012-05-28 Agustín Martín Domingo + + Decrease XEmacs incompatibilities. + * textmodes/flyspell.el (flyspell-check-pre-word-p): + Use `string-match'. + (flyspell-delete-region-overlays): Use alternative definition for + XEmacs. + (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'. + (flyspell-word): Use `process-kill-without-query' if XEmacs. + (flyspell-mode-on): Use `interactive-p' if XEmacs. + (flyspell-incorrect-face, flyspell-duplicate-face): Do not use + `define-obsolete-face-alias' under XEmacs, but old method. + + * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative + `with-no-warnings' definition or Emacs alias. + (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'. + (ispell-word): Do not use `region-p' if XEmacs. + +2012-05-28 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-find-aspell-dictionaries): + Check for `ispell-dictionary-base-alist' instead of full + `ispell-dictionary-alist'. + (ispell-init-process): Show spellchecker when starting new Ispell + process. + +2012-05-28 Stefan Monnier + + * progmodes/vhdl-mode.el: Sync with upstream 3.33.28. + http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33 + +2012-05-27 Juanma Barranquero + + * version.el (motif-version-string, gtk-version-string) + (ns-version-string): Declare. + +2012-05-27 Juri Linkov + + * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars' + after the `eval-defun-1' specialcaseing + like in `edebug-eval-defun' (bug#10181). + + * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation' + like in `eval-defun-1'. + +2012-05-27 Eli Zaretskii + + * mail/sendmail.el (mail-yank-region): + Recognize rmail-yank-current-message in addition to insert-buffer. + Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in + a *mail* buffer created through rmail-start-mail with sendmail as + mail-user-agent. + +2012-05-27 Chong Yidong + + * net/gnutls.el (gnutls-min-prime-bits): Improve docstring. + Default to 256 (Bug#11267). + + * help.el (describe-mode): Doc fix. + +2012-05-26 Glenn Morris + + * w32-fns.el (w32-init-info): Remove. + * paths.el (Info-default-directory-list): Add w32-init-info equivalent. + + * info.el (info-initialize): For self-contained NS builds, put the + included info/ directory at the front. (Bug#2791) + + * paths.el (Info-default-directory-list): Make it a defcustom, + mainly so that we can use custom-initialize-delay. + +2012-05-26 Stefan Monnier + + * subr.el (buffer-has-markers-at): Mark obsolete. + + * subr.el (lambda): Use declare. + + * emacs-lisp/lisp-mode.el (lambda): + * emacs-lisp/edebug.el (lambda): Move properties to its definition. + +2012-05-26 Aaron S. Hawley + + * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560) + +2012-05-26 Glenn Morris + + * progmodes/cc-mode.el (auto-mode-alist): Fix typo. + +2012-05-25 Glenn Morris + + * paths.el: Remove no-byte-compile. + * loadup.el: No need to load paths.el uncompiled. + + * image.el (imagemagick-types-inhibit): Doc fix. + + * version.el: Remove no-byte-compile and associated formatting. + * loadup.el: No need to load version.el uncompiled. AFAICS, this + is ancient code from when there was an "inc-vers.el". + +2012-05-25 Stefan Monnier + + * progmodes/gdb-mi.el: Minor style changes. + (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows): + Turn into minor modes. + (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic. + (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly. + (gdb-shell): Remove unneeded let-binding. + (gdb-get-many-fields): Eliminate O(n²) behavior. + +2012-05-25 Eli Zaretskii + + * cus-start.el : Avoid warning on + platforms that don't link in fontset.c. + +2012-05-25 Juri Linkov + + Use the same diff color scheme as in modern VCSes (bug#10181). + + * vc/diff-mode.el (diff-header, diff-file-header): Remove "green" + to avoid confusion with `diff-added' that now uses green colors. + (diff-removed): Use shades of red. + (diff-added): Use shades of green. + (diff-changed): Leave just the yellow color. + (diff-use-changed-face): New variable. + (diff-font-lock-keywords): Use `diff-use-changed-face' to decide + how to highlight context diff changes. + (diff-refine-change): Use shades of yellow. + (diff-refine-removed): New face that uses shades of red. + (diff-refine-added): New face that uses shades of green. + (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added', + `diff-refine-removed' in the call to `smerge-refine-subst' + depending on the value of `diff-use-changed-face'. + + * vc/smerge-mode.el (smerge-mine): Use shades of red. + (smerge-other): Use shades of green. + (smerge-base): Use shades of yellow. + (smerge-refined-change): Empty face. + (smerge-refined-removed): New face that uses shades of red. + (smerge-refined-added): New face that uses shades of green. + (smerge-refine-subst): Rename arg `props' to `props-c'. Add new + args `props-r' and `props-a', and use them. Doc fix. + (smerge-refine): Evaluate `smerge-use-changed-face' and depending + on its value use different faces `smerge-refined-change', + `smerge-refined-removed', `smerge-refined-added' in the call to + `smerge-refine-subst'. + + * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A): + Add face condition `min-colors 88' with shades of red. + (ediff-current-diff-B, ediff-fine-diff-B): Add face condition + `min-colors 88' with shades of green. + (ediff-current-diff-C, ediff-fine-diff-C): Add face condition + `min-colors 88' with shades of yellow. + +2012-05-24 Glenn Morris + + * paths.el (prune-directory-list, remote-shell-program): Move to... + * files.el (prune-directory-list, remote-shell-program): ...here. + For the latter, delay initialization, prefer ssh, just search PATH. + + * paths.el (term-file-prefix): Move to faces.el (the only user). + * faces.el (term-file-prefix): Move here, make it a defcustom. + + * paths.el (news-directory, news-path, news-inews-program): + Move to gnus/nnspool.el. + + * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it). + + * paths.el (rmail-file-name, rmail-spool-directory): Move from here... + * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here. + Make the latter a defcustom, with a delayed initialization. + + * paths.el (gnus-nntp-service, gnus-local-organization): Remove. + These were deleted from Gnus itself late 2010. + +2012-05-22 Juanma Barranquero + + * progmodes/which-func.el (which-func-ff-hook): + Check against user-error, not error. + + * emacs-lisp/edebug.el (top): Do not load or set up loading of + cl-specs.el, which no longer exists. + +2012-05-22 Glenn Morris + + * info.el (info-emacs-bug): New command. + * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help. + * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug. + +2012-05-21 Glenn Morris + + * makefile.w32-in (update-subdirs-SH): + * Makefile.in (update-subdirs): Update for moved update-subdirs. + +2012-05-21 Stefan Monnier + + * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition. + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Simplify Maven regexp, and make sure the file can't start with a space + (bug#11517). + +2012-05-21 Glenn Morris + + * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): + Scrap superfluous subshells. + +2012-05-19 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var. + (byte-compile-warning-prefix, batch-byte-compile-file): Use it. + +2012-05-19 Jay Belanger + + * calc/calc.el (calc-ensure-consistent-units): New variable. + + * calc/calc-units.el (math-consistent-units-p) + (math-check-unit-consistency): New functions. + (calc-quick-units, calc-convert-units): + Use `math-check-unit-consistency' when `calc-ensure-consistent-units' + is non-nil. + (calc-extract-units): Fix typo. + +2012-05-18 Stefan Monnier + + * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1. + + * textmodes/flyspell.el: Commenting style, plus code simplifications. + (flyspell-default-deplacement-commands): Don't spell check after + repeated window/frame switches (e.g. triggered by mouse-movement). + (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc. + (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols. + (flyspell-casechars-cache, flyspell-ispell-casechars-cache) + (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache): + Remove unused vars. + (flyspell-get-casechars, flyspell-get-not-casechars): + Simplify; Don't bother removing a ] just to add it back. + * textmodes/ispell.el (ispell-program-name): Use executable-find. + +2012-05-18 Rüdiger Sonderfeld + + * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma): + New functions. + (math-function-table): Add support for more C functions. + +2012-05-18 Agustín Martín Domingo + + * textmodes/flyspell.el (flyspell-check-pre-word-p) + (flyspell-check-word-p, flyspell-debug-signal-word-checked): + Protect delay handling for otherchars against empty otherchars. + +2012-05-18 Stefan Monnier + + * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to + their respective macro declarations. + * skeleton.el (define-skeleton): + * progmodes/compile.el (define-compilation-mode): + * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op) + (define-ibuffer-filter): + * emacs-lisp/generic.el (define-generic-mode): + * emacs-lisp/easy-mmode.el (define-minor-mode) + (define-globalized-minor-mode): + * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype): + * emacs-lisp/byte-run.el (defsubst): + * custom.el (deftheme): Add doc-string metadata. + +2012-05-17 Stefan Monnier + + * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info. + +2012-05-17 Stefan Monnier + + * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...). + + * emacs-lisp/cl.el: Add edebug specs from cl-specs.el. + * emacs-lisp/cl-macs.el: Idem. + * emacs-lisp/cl-specs.el: Remove. + +2012-05-17 Stefan Monnier + + Minor renaming of internal CL functions and variables. + * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin. + (cl--position): Rename from cl-position. + (cl--delete-duplicates): Rename from cl-delete-duplicates. + * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*. + (cl--random-state): Rename from *random-state*. + +2012-05-17 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious + parens around the arg list (bug#11499). + +2012-05-17 Juri Linkov + + * isearch.el (word-search-regexp, word-search-backward) + (word-search-forward, word-search-backward-lax) + (word-search-forward-lax): Move functions from search.c + (bug#10145, bug#11381). + +2012-05-16 Agustín Martín Domingo + + * textmodes/flyspell.el (flyspell-check-pre-word-p) + (flyspell-check-word-p, flyspell-debug-signal-word-checked): + Delay for otherchars as for normal word components. + +2012-05-16 Stefan Monnier + + * minibuffer.el (completion--sifn-requote): Fix last change. + (minibuffer-local-must-match-filename-map): + Move define-obsolete-variable-alias before its var. + +2012-05-15 Stefan Monnier + + * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec. + + * minibuffer.el (completion--sifn-requote): Handle sifn's truncation + behavior. + (completion--string-equal-p): New function. + (completion--twq-all): Use it to get better assertion failure data. + + Only handle ".." and '..' quoting in shell-mode (bug#11466). + * shell.el (shell--unquote&requote-argument, shell--unquote-argument) + (shell--requote-argument): New functions. + (shell-completion-vars): Use them. + (shell--parse-pcomplete-arguments): Rename from + shell-parse-pcomplete-arguments. + * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify. + (comint--unquote&requote-argument): Don't handle ".." and '..' quoting. + Obey comint-file-name-quote-list. + + * emacs-lisp/smie.el (smie-indent--bolp-1): New function. + (smie-indent-keyword): Use it. + +2012-05-14 Stefan Merten + + * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462). + +2012-05-14 Stefan Monnier + + * net/rlogin.el (rlogin-mode-map): Fix last change. + +2012-05-14 Jason L. Wright (tiny change) + + * mail/smtpmail.el (smtpmail-send-command): Send the command and + the following \r\n using a single `process-send-string', since the + Lotus SMTP server refuses to accept any commands if they are sent + with two `process-send-string's (Bug#11444). + +2012-05-14 Stefan Monnier + + * shell.el (shell-parse-pcomplete-arguments): + Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348). + +2012-05-14 Wolfgang Jenkner + + * image-mode.el: Fit to width/height for rotated images (Bug#11431). + (image-transform-scale, image-transform-right-angle-fudge): New vars. + (image-transform-width, image-transform-fit-width): New functions. + (image-transform-properties): Use them. + (image-transform-check-size): New function. + (image-toggle-display-image): Use it (for testing). + (image-transform-set-rotation): Reduce angle mod 360. + Delete obsolete comment. + +2012-05-14 Wolfgang Jenkner + + * image-mode.el: Fix scaling (bug#11399). + (image-transform-resize): Doc fix. + (image-transform-properties): Default scale is 1 and height should + be an integer. + +2012-05-13 Johan Bockgård + + * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather + than hard-coding `car', to fix misbehavior when moving forward. + +2012-05-13 Chong Yidong + + * emacs-lisp/tabulated-list.el (tabulated-list-format) + (tabulated-list-entries, tabulated-list-padding) + (tabulated-list-sort-key): Make permanent-local. + + * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455). + (electric-buffer-list): Put electric buffer menu + command descriptions in this docstring, instead of the docstring + of electric-buffer-menu-mode. Code cleanups. + (electric-buffer-menu-mode): Use define-derived-mode. Rename from + Electric-buffer-menu-mode. + (electric-buffer-update-highlight): Minor code cleanup. + +2012-05-13 Michael Albinus + + * net/dbus.el (dbus-call-method): Restore events not from D-Bus. + (Bug#11447) + +2012-05-13 Stefan Monnier + + Move define-obsolete-variable-alias before the var's definition. + * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index): + * tooltip.el (tooltip-hook): + * textmodes/reftex-toc.el (reftex-toc-map): + * textmodes/reftex-sel.el (reftex-select-label-map) + (reftex-select-bib-map): + * textmodes/reftex-index.el (reftex-index-map) + (reftex-index-phrases-map): + * speedbar.el (speedbar-syntax-table, speedbar-key-map): + * progmodes/meta-mode.el (meta-mode-map): + * novice.el (disabled-command-hook): + * loadhist.el (unload-hook-features-list): + * frame.el (blink-cursor): + * files.el (find-file-not-found-hooks, write-file-hooks) + (write-contents-hooks): + * emulation/tpu-edt.el (GOLD-map): + * emacs-lock.el (emacs-lock-from-exiting): + * emacs-lisp/generic.el (generic-font-lock-defaults): + * emacs-lisp/chart.el (chart-map): + * dos-fns.el (register-name-alist): + * dired-x.el (dired-omit-files-p): + * desktop.el (desktop-enable): + * cus-edit.el (custom-mode-hook): + * buff-menu.el (buffer-menu-mode-hook): + * bookmark.el (bookmark-read-annotation-text-func) + (bookmark-exit-hooks): + * allout.el (allout-mode-deactivate-hook) + (allout-exposure-change-hook, allout-structure-added-hook) + (allout-structure-deleted-hook, allout-structure-shifted-hook): + * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle) + (dirtrack-debug): Move call to define-obsolete-variable-alias so it + comes before the corresponding variable's definition. + +2012-05-12 Chong Yidong + + * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454). + (Buffer-menu-mouse-select): Restore function (Bug#11459). + (Buffer-menu-mode-map): Bind it. + (Buffer-menu--pretty-name): Add a mouse-face property. + +2012-05-11 Stefan Monnier + + * progmodes/prolog.el: Use SMIE. Cleanup regexp setup. + (prolog-upper-case-string, prolog-lower-case-string) + (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst. + (prolog-use-smie, prolog-smie-grammar): New vars. + (prolog-smie-forward-token, prolog-smie-backward-token) + (prolog-smie-rules): New funs. + (prolog-comment-indent): Remove. + (prolog-mode-variables): Use default comment indentation instead. + Setup SMIE. + (prolog-build-case-strings, prolog-set-atom-regexps): Remove. + (prolog-mode): Don't call them any more. + (prolog-electric-colon, prolog-electric-dash) + (prolog-edit-menu-insert-move): Use indent-according-to-mode. + + * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error. + + * minibuffer.el (completion--twq-all): Again, allow case differences. + + * term.el: Move keymap initialization code to be more idiomatic. + (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map) + (term-terminal-menu): Move initialization into declaration. + (term-escape-char): Let the user set it in her .emacs. + + * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode. + Provide SMIE-based indentation (not enabled by default yet). + (sh-mode-map): Don't bind electric keys. + Use electric-pair-mode instead of skeleton-pair. + (sh-assignment-regexp): Fit within 80 columns. + (sh-indent-supported): Specify actual shell name instead of boolean. + (sh--maybe-here-document): New fun, from sh-maybe-here-document. + (sh-maybe-here-document): Use it. Make obsolete. + (sh-electric-here-document-mode) New minor mode. + (sh-mode): Use it. Don't set sh-indent-supported-here here. + (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re) + (sh-smie--sh-operators-back-re, sh-indent-after-continuation) + (sh-smie-rc-grammar, sh-use-smie): New vars. + (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p) + (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p) + (sh-smie-sh-backward-token, sh-smie--continuation-start-indent) + (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p) + (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token) + (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions. + (sh-set-shell): Use smie-setup if requested. + + * term.el (term-set-escape-char): Properly set term-escape-char. + See http://stackoverflow.com/questions/10524656. + +2012-05-10 Chong Yidong + + * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131). + Use url-generic-parse-url, and handle host names and Windows + filenames properly. + (ffap-url-unwrap-remote): Use url-generic-parse-url. + (ffap-url-unwrap-remote): Accept list values, specifying a list of + URL schemes to work on. + (ffap--toggle-read-only): New function. + (ffap-read-only, ffap-read-only-other-window) + (ffap-read-only-other-frame): Use it. + (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not + necessary for ffap-url-unwrap-remote. + +2012-05-10 Dave Abrahams + + * cus-start.el (create-lockfiles): Add it. + +2012-05-09 Chong Yidong + + * net/browse-url.el (browse-url-url-encode-chars): Use upper-case. + (browse-url-encode-url): Encode spaces and quotes (Bug#6300). + +2012-05-09 Stefan Monnier + + * shell.el (shell-completion-vars): Fix last change (bug#11348). + +2012-05-09 Chong Yidong + + * ansi-color.el (ansi-color-process-output): Check for validity of + comint-last-output-start before using it. This avoids a bad + interaction with gdb-mi's input/output buffer. + +2012-05-09 Glenn Morris + + * files.el (dir-locals-read-from-file): + Mention dir-locals in any error message. + +2012-05-09 Chong Yidong + + * emacs-lisp/package.el (package-built-in-p): Handle the `emacs' + package (Bug#11410). + + * emacs-lisp/package.el (package-buffer-info): Avoid putting local + variables into description. + +2012-05-09 Stefan Monnier + + * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like + shell-delimiter-argument-list (bug#11348). + (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list. + +2012-05-09 Juanma Barranquero + + * textmodes/rst.el: Silence byte-compiler warnings. + (rst-re-alist, rst-reset-section-caches): Move around. + (rst-re): Use `characterp', not `char-valid-p'. + (font-lock-beg, font-lock-end): Declare. + + * progmodes/idlw-shell.el (specs): Remove reference to deleted + variable `idlwave-shell-activate-alt-keybindings' and simplify. + + * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change. + +2012-05-08 Glenn Morris + + * files.el (auto-mode-alist): Treat ".make" like ".mk". + +2012-05-08 Stefan Monnier + + * vc/log-edit.el: Add GNU coding standards highlighting. + (log-edit-font-lock-gnu-style) + (log-edit-font-lock-gnu-keywords): New vars. + (log-edit-font-lock-keywords): New fun. + (log-edit-mode): Don't fold case in font-lock. + (log-edit-font-lock-keywords): Do not assume case-folding. + + * imenu.el: Misc cleanup. Make docstrings out of comments. + Use lexical-binding. + (imenu--index-alist, imenu--last-menubar-index-alist) + (imenu-menubar-modified-tick): Use defvar-local. + (imenu--split-menu): Remove unused var. + (imenu--cleanup-seen): Declare as global. + (imenu--cleanup): Use dolist. + + * subr.el (defvar-local): Add debug spec and doc-string position. + +2012-05-08 Glenn Morris + + * language/burmese.el, language/cham.el, language/czech.el: + * language/english.el, language/georgian.el, language/greek.el: + * language/japanese.el, language/khmer.el, language/korean.el: + * language/lao.el, language/misc-lang.el, language/romanian.el: + * language/sinhala.el, language/slovak.el, language/tai-viet.el: + * language/thai.el, language/utf-8-lang.el: + Remove no-byte-compile setting. + + * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388) + +2012-05-08 Aaron S. Hawley + + * progmodes/make-mode.el (makefile-browse): + Remove unnecessary interactive. (Bug#11324) + +2012-05-07 Glenn Morris + + * forms-d2.el, forms-pass.el: Move to ../etc/forms directory. + + * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete. + +2012-05-07 Stefan Monnier + + * loadup.el: Preload newcomment.el. + * newcomment.el: Move autoload-only code to toplevel. + + * buff-menu.el (list-buffers--refresh): Mark `size' as right-align. + * emacs-lisp/tabulated-list.el (tabulated-list-init-header): + Handle new :right-align column property. + (tabulated-list-print-col): Idem, plus use `display' text-property to + try and preserve alignment for variable pitch fonts. + +2012-05-07 Chong Yidong + + * emacs-lisp/tabulated-list.el: Add no-header-line alternative. + (tabulated-list-use-header-line): New var. + (tabulated-list-init-header): Use it. + (tabulated-list-print-fake-header): New function. + (tabulated-list-print): Use it. + (tabulated-list-sort-button-map): Add non-header-line commands. + (tabulated-list-init-header): Add column name property to basic + labels as well. + (tabulated-list-col-sort): Handle non-header-line button case. + (tabulated-list--sort-by-column-name): Fix a corner case. + + * buff-menu.el (list-buffers--refresh): + Handle Buffer-menu-use-header-line. + +2012-05-06 Chong Yidong + + * buff-menu.el: Convert to Tabulated List mode. + (Buffer-menu-buffer+size-width): Make obsolete. + (Buffer-menu-name-width, Buffer-menu-size-width): New variables. + (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map. + (Buffer-menu-mode): Derive from tabulated-list-mode. Move command + documentation into docstring of buffer-menu. + (Buffer-menu-toggle-files-only): Add an informative message. + (Buffer-menu-sort): Convert to alias for tabulated-list-sort. + (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark) + (Buffer-menu-unmark, Buffer-menu-backup-unmark) + (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified) + (Buffer-menu-execute, Buffer-menu-select) + (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only) + (Buffer-menu-bury): Use Tabulated List machinery. + (Buffer-menu-mouse-select, Buffer-menu-sort-by-column) + (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button): + Delete. + (list-buffers--refresh): New function. + (list-buffers-noselect): Use it. + (tabulated-list-entry-size->, Buffer-menu--pretty-name) + (Buffer-menu--pretty-file-name): New helper functions. + + * loadup.el: Preload tabulated-list. + + * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from + tabulated-list-sort-column. + (tabulated-list-init-header): Add the initial aligning space even + if tabulated-list-padding is zero. + +2012-05-06 Christopher Schmidt + + * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells + whose cdr is not a cons cell correctly (bug#11038). + +2012-05-06 Chong Yidong + + * emacs-lisp/tabulated-list.el (tabulated-list-format): + Accept additional plist in column descriptors. + (tabulated-list-init-header): Obey it. + (tabulated-list-get-entry): New function. + (tabulated-list-put-tag): Use it. Use string-width instead of + length. + (tabulated-list--column-number): New function. + (tabulated-list-print): Use it. + (tabulated-list-print-col): New function. + Set `tabulated-list-column-name' property on each column's text. + (tabulated-list-print-entry): Use it. + (tabulated-list-delete-entry, tabulated-list-set-col): + New functions. + (tabulated-list-sort-column): New command (Bug#11337). + + * buff-menu.el (list-buffers): Move C-x C-b binding from + buff-menu.el to bindings.el. + + * ebuff-menu.el (Electric-buffer-menu-undefined): Use the + :advertised-binding feature. + +2012-05-06 Troels Nielsen (tiny change) + + * progmodes/compile.el (compilation-internal-error-properties): + Calculate start position correctly when end-col is set but + end-line is not (Bug#11382). + +2012-05-06 Wolfgang Jenkner + + * man.el (Man-unindent): Use text-property-default-nonsticky to + prevent untabify from inheriting face properties (Bug#11408). + +2012-05-05 Stefan Merten + + * textmodes/rst.el: Major merge with upstream development up to + Docutils SVN r7399 / rst.el V1.2.1. + + Clarify maintainership and authors. + + (rst-extract-version, rst-cvs-header, rst-cvs-rev) + (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp) + (rst-official-version, rst-official-cvs-rev, rst-version) + (rst-package-emacs-version-alist): New functions and variables + for version information. + + (rst-bullets, rst-uri-schemes, rst-adornment-chars) + (rst-max-inline-length, rst-re-alist-def, rst-re-alist) + (rst-mode-syntax-table, rst-mode): New and corrected functions + and variables representing reStructuredText features. + + (rst-re): New function for reStructuredText regexes. Use in + many places. + + (rst-deprecated-keys, rst-call-deprecated, rst-define-key) + (rst-mode-map): Rebind keys. + + (rst-mode-lazy, rst-font-lock-keywords) + (rst-font-lock-extend-region) + (rst-font-lock-extend-region-internal) + (rst-font-lock-extend-region-extend) + (rst-font-lock-find-unindented-line-limit) + (rst-font-lock-find-unindented-line-match) + (rst-adornment-level, rst-font-lock-adornment-level) + (rst-font-lock-adornment-match) + (rst-font-lock-handle-adornment-pre-match-form) + (rst-font-lock-handle-adornment-matcher): Major revision of + font-locking. Integrate with other code. Use `jit-lock-mode'. + + (rst-preferred-adornments, rst-adjust-hook) + (rst-new-adornment-down, rst-preferred-bullets) + (rst-preferred-bullets, rst-indent, rst-indent-width) + (rst-indent-field, rst-indent-literal-normal) + (rst-indent-literal-minimized, rst-indent-comment): Change, + extend and improve customization. + + (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p) + (rst-normalize-cursor-position, rst-get-decoration) + (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items) + (rst-rstrip, rst-toc-insert-find-delete-contents) + (rst-shift-fill-region, rst-compute-bullet-tabs) + (rst-debug-print-tabs, rst-debug-mark-found) + (rst-shift-region-guts, rst-shift-region-right) + (rst-shift-region-left, rst-use-char-classes) + (rst-font-lock-keywords-function) + (rst-font-lock-indentation-point) + (rst-font-lock-find-unindented-line-begin) + (rst-font-lock-find-unindented-line-end) + (rst-font-lock-find-unindented-line) + (rst-font-lock-adornment-point, rst-font-lock-level) + (rst-adornment-level-alist): Remove functions and variables. + + (rst-compare-adornments, rst-get-adornment-match) + (rst-suggest-new-adornment, rst-get-adornments-around) + (rst-adornment-complete-p, rst-get-next-adornment) + (rst-adjust-adornment, rst-display-adornments-hierarchy) + (rst-straighten-adornments): Standardize function names to + use "adornment" instead of "decoration". Correct callers. + Similar standardizing in many places. + + (rst-update-section, rst-adjust, rst-promote-region) + (rst-enumerate-region, rst-bullet-list-region) + (rst-repeat-last-character): Correct use of `interactive'. + + (rst-classify-adornment, rst-find-all-adornments) + (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update) + (rst-find-leftmost-column, rst-repeat-last-character): + Refactor functions. + + (rst-find-title-line, rst-reset-section-caches) + (rst-get-adornments-around, rst-adjust-adornment-work) + (rst-arabic-to-roman, rst-roman-to-arabic) + (rst-insert-list-pos, rst-insert-list-new-item) + (rst-insert-list-continue, rst-insert-list, rst-forward-line): + New functions. + + (rst-all-sections, rst-section-hierarchy) + (rst-arabic-to-roman, rst-initial-enums, rst-initial-items): + New variables. + + (rst-toc-return-wincfg, rst-toc-quit-window): Use window + configuration instead of only buffer. Change where necessary. + + (rst-line-tabs, rst-compute-tabs, rst-indent-line) + (rst-shift-region, rst-adaptive-fill): New functions for + indentation and filling. + + (rst-comment-line-break, rst-comment-indent) + (rst-comment-insert-comment, rst-comment-region) + (rst-uncomment-region): New functions for handling comments. + + (rst-compile): Quote shell arguments. + + (rst-compile-pdf-preview, rst-compile-slides-preview): + Delete temporary files after use. + +2012-05-05 Glenn Morris + + * calendar/cal-html.el: Optionally include holidays in the output. + Suggested by Ed Reingold . + (cal-html-holidays): New option. + (cal-html-css-default): Add holiday entry. + (holiday-in-range): Autoload it. + (cal-html-htmlify-entry): Add optional class argument. + (cal-html-htmlify-list): Add optional holidays argument. + (cal-html-insert-agenda-days): Include holidays in the output. + (cal-html-one-month): Maybe include holidays. + + * calendar/holidays.el (holiday-in-range): + Move here from cal-tex-list-holidays. + * calendar/cal-tex.el (cal-tex-list-holidays): + Make it an obsolete alias for holiday-in-range. Update all callers. + +2012-05-05 Chong Yidong + + * select.el (xselect--encode-string): Always use utf-8 for TEXT on + Nextstep. + +2012-05-05 Ransom Williams (tiny change) + + * files.el (file-auto-mode-skip): New var. + (set-auto-mode-1): Use it. + +2012-05-05 Stefan Monnier + + * repeat.el: Use lexical-binding. + (repeat-last-self-insert, repeat-num-input-keys-at-self-insert) + (repeat-undo-count): Remove. + (repeat): + * progmodes/octave-mod.el (octave-abbrev-start): + * progmodes/f90.el (f90-abbrev-start): + * face-remap.el (text-scale-adjust): + * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map. + + * emacs-lisp/pcase.el (pcase--let*): New function. + (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting + a bit more. + (pcase--split-pred): Be more clever about ruling out overlap between + a predicate and some constant pattern. + (pcase--q1): Use `null' instead of (eq foo nil). + + * subr.el (setq-local, defvar-local): New macros. + (kbd): Redefine as an alias. + (with-selected-window): Leave unrelated frames alone. + (set-temporary-overlay-map): New function. + +2012-05-04 Stefan Monnier + + * subr.el (user-error): New function. + * window.el (switch-to-buffer): + * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve) + (smerge-match-conflict): + * simple.el (previous-matching-history-element) + (next-matching-history-element, goto-history-element, undo-more) + (undo-start): + * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag) + (find-tag-noselect, find-tag-in-order, etags-goto-tag-location) + (next-file, tags-loop-scan, list-tags, complete-tag): + * progmodes/compile.el (compilation-loop): + * mouse.el (mouse-minibuffer-check): + * man.el (Man-bgproc-sentinel, Man-goto-page): + * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back) + (Info-history-forward, Info-follow-reference, Info-menu) + (Info-extract-menu-item, Info-extract-menu-counting) + (Info-forward-node, Info-backward-node, Info-next-menu-item) + (Info-last-menu-item, Info-next-preorder, Info-last-preorder) + (Info-next-reference, Info-prev-reference, Info-index) + (Info-index-next, Info-follow-nearest-node) + (Info-copy-current-node-name): + * imenu.el (imenu--make-index-alist) + (imenu-default-create-index-function, imenu-add-to-menubar): + * files.el (basic-save-buffer, recover-file): + * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): + * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments) + (checkdoc-message-text, checkdoc-defun): + * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point): + * cus-edit.el (customize-changed-options, customize-rogue) + (customize-saved, custom-variable-set, custom-variable-mark-to-save) + (custom-variable-mark-to-reset-standard) + (custom-variable-reset-backup, custom-face-mark-to-reset-standard) + (custom-file): + * completion.el (check-completion-length): + * comint.el (comint-search-arg) + (comint-previous-matching-input-string-position) + (comint-previous-matching-input) + (comint-replace-by-expanded-history-before-point, comint-send-input) + (comint-copy-old-input, comint-backward-matching-input) + (comint-goto-process-mark, comint-set-process-mark): + * calendar/calendar.el (calendar-cursor-to-date): Use it. + * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'. + +2012-05-04 Stefan Monnier + + * dabbrev.el (dabbrev--ignore-case-p): New function. + (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion): + Use it. + + * files.el (automount-dir-prefix): Mark as obsolete. + +2012-05-04 Glenn Morris + + * patcomp.el, play/bruce.el: Move to obsolete/. + +2012-05-04 Paul Eggert + + Fix minor Y10k bugs. + * arc-mode.el (archive-unixdate): + * autoinsert.el (auto-insert-alist): + * calc/calc-forms.el (math-this-year): + * emacs-lisp/copyright.el (copyright-current-year) + (copyright-update-year, copyright): + * tar-mode.el (tar-clip-time-string): + * time.el (display-time-update): + Don't assume years have 4 digits. + +2012-05-04 Chong Yidong + + * dos-w32.el (file-name-buffer-file-type-alist) + (direct-print-region-use-command-dot-com): + * ffap.el (ffap-menu-regexp): + * find-file.el (ff-special-constructs): + * follow.el (follow-debug): + * forms.el (forms--debug): + * iswitchb.el (iswitchb-all-frames): + * ido.el (ido-all-frames): + * emacs-lisp/timer.el (timer-max-repeats): + * mail/feedmail.el (feedmail-mail-send-hook) + (feedmail-mail-send-hook-queued): + * mail/footnote.el (footnote-signature-separator): + * mail/mailabbrev.el (mail-alias-separator-string) + (mail-abbrev-mode-regexp): + * mail/rmail.el (rmail-speedbar-match-folder-regexp): + * progmodes/idlwave.el (idlwave-libinfo-file) + (idlwave-default-completion-case-is-down) + (idlwave-library-routines): Convert defvars to defcustoms. + + * mail/rmail.el (rmail-decode-mime-charset): + * progmodes/idlw-shell.el (idlwave-shell-print-expression-function) + (idlwave-shell-fix-inserted-breaks) + (idlwave-shell-activate-alt-keybindings) + (idlwave-shell-use-breakpoint-glyph): + * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars. + +2012-05-03 Stefan Monnier + + * minibuffer.el (completion--twq-all): Beware completion-ignore-case. + +2012-05-03 Wilson Snyder + + * progmodes/verilog-mode.el (font-lock-keywords): + Fix mis-highligting auto. Reported by Craig Barner. + (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove + defines from global name space. Reported by Dan Dever. + (verilog-auto-reset, verilog-auto-reset-widths) + (verilog-auto-tieoff): Support using unbased numbers for + AUTORESET and AUTOTIEOFF. + (verilog-submit-bug-report): Update variable list. + (verilog-read-auto-params): Fix AUTOINPUT regexps containing + parenthesis from not matching. Reported by Michael Rytting. + (verilog-auto-template-lint): Fix hash error when linting modules + with no used templates. + (verilog-warn, verilog-warn-error) + (verilog-warn-fatal): When non-interactive report multiple + warnings before exiting. Suggested by Brad Dobbie. + (verilog-auto-template-lint, verilog-auto-template-warn-unused) + (verilog-read-auto-template): Add `verilog-auto-template-warn-unused' + to report unused template errors. Reported by Brad Dobbie. + (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type + nets, bug438. Reported by Vns Blore. + (verilog-auto-inout-module, verilog-auto-reg) + (verilog-read-decls, verilog-read-sub-decls-sig) + (verilog-signals-edit-wire-reg, verilog-signals-with): + Fix passing of Verilog data types in ANSI input/output ports + such as "output logic" into the AUTOs. Special case "wire" and + "reg" for backwards compatibility presuming Verilog 2001. + (verilog-auto-ascii-enum): Add "auto enum" as alias. + (verilog-preprocess): Fix replication of preprocess output. + Reported by Brad Dobbie. + (verilog-auto-inst-interfaced-ports): + Create verilog-auto-inst-interfaced-ports, bug429. + Reported by Julian Gorfajn. + (verilog-after-save-font-hook) + (verilog-before-save-font-hook): New variable. + (verilog-modi-cache-results, verilog-save-font-mod-hooked) + (verilog-save-font-mods): Wrap disabling fontification, reported + by David Rogoff. + (verilog-do-indent, verilog-pretty-declarations-auto) + (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305. + Reported by Pierre-David Pfister. + (verilog-set-auto-endcomments): Fix endtask auto comments outside + of class declarations, bug292. Reported by Kevin Heilman. + (verilog-read-decls): Fix 'parameter type' not appearing in + AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw. + (verilog-auto-logic): Fix when AUTOLOGIC present to properly do + AUTOINPUTs, bug411. Reported by Jonathan Greenlaw. + (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP. + Reported by David Kravitz. + +2012-05-03 Michael McNamara + + * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up + assignment with tests in ifs and for loops. + (verilog-extended-complete-re, verilog-complete-reg): Change so + that DPI inport functions don't look like fuction declarations. + (verilog-pretty-expr): Don't line up assignment + operations to the test and increment in if and for loops + (verilog-extended-complete-re, verilog-complete-reg): Change so + that DPI inport functions don't look like fuction declarations. + +2012-05-03 Kenichi Handa + + * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text + decoding, and show a warning message without signaling an error + (Bug#11282). + +2012-05-03 Stefan Monnier + + * emacs-lisp/bytecomp.el + (byte-compile-file-form-custom-declare-variable): Compile all elements, + since cconv.el might have introduced :fun-body, internal-make-closure, + and friends for bytecomp to handle (bug#11391). + * custom.el (defcustom): Avoid ((λ ..) ..). + +2012-05-02 Stefan Monnier + + * subr.el (read-passwd): Better clean after ourselves (bug#11392). + +2012-05-02 Juanma Barranquero + + * notifications.el (dbus-debug): + * term/linux.el (gpm-mouse-enable): + * term/screen.el (xterm-register-default-colors): Declare. + +2012-05-02 Chong Yidong + + * cus-start.el (gc-cons-percentage, exec-suffixes) + (dos-display-scancodes, dos-hyper-key, dos-super-key) + (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp) + (make-cursor-line-fully-visible, void-text-area-pointer) + (font-list-limit): Add customization data. + + * allout.el (allout-exposure-change-functions) + (allout-structure-added-functions) + (allout-structure-deleted-functions) + (allout-structure-shifted-functions): Rename abnormal hooks from + *-hook, and convert to defcustoms. + (allout-after-copy-or-kill-hook, allout-post-undo-hook): + Convert to defcustoms. + (allout-mode-hook, allout-mode-deactivate-hook): Doc fix. + + * allout-widgets.el: Hook callers changed. + +2012-05-02 Eli Zaretskii + + * mail/rmail.el (rmail-yank-current-message): Use the encoding of + the yanked message in preference to the default value of + buffer-file-coding-system. + +2012-05-02 Martin Rudalics + + * window.el (display-buffer--action-function-custom-type): + Fix entry. + +2012-05-02 Alan Mackenzie + + * progmodes/cc-defs.el (c-version): Update to 5.32.3. + +2012-05-01 Glenn Morris + + * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp. + + * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set. + + * cus-edit.el (custom-variable-documentation): Simplify with format. + +2012-05-01 Aaron S. Hawley + Stefan Monnier + + * simple.el (suggest-key-bindings, execute-extended-command): + Move from keyboard.c. + +2012-05-01 Chong Yidong + + * follow.el: Eliminate advice. + (set-process-filter, process-filter, sit-for): Advice deleted. + (follow-mode-off-hook): Obsolete hook removed. + (follow-avoid-tail-recenter-p, follow-process-filter-alist): + Vars deleted. + (follow-auto): Use a :set function. + (follow-mode): Rewritten. Don't advise process filters. + (follow-switch-to-current-buffer-all, follow-scroll-up) + (follow-scroll-down): Assume follow-mode is bound. + (follow-comint-scroll-to-bottom) + (follow-align-compilation-windows): New functions. + (follow--window-sorter): New function. + (follow-all-followers): Use it to explicitly sort windows by their + positions; don't make assumptions about next-window order. + (follow-windows-start-end, follow-delete-other-windows-and-split) + (follow-calc-win-start): Doc fix. + (follow-windows-aligned-p, follow-select-if-visible): Don't call + vertical-motion unnecessarily. + (follow-adjust-window): New function. + (follow-post-command-hook): Use it. + (follow-call-set-process-filter, follow-call-process-filter) + (follow-intercept-process-output, follow-tidy-process-filter-alist) + (follow-stop-intercept-process-output, follow-generic-filter): + Functions deleted. + (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag) + (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down): + New functions, replacing advice on scroll-bar-* commands. + (follow-mwheel-scroll): New function (Bug#4112). + + * comint.el (comint-adjust-point): New function. + (comint-postoutput-scroll-to-bottom): Use it. + Call follow-comint-scroll-to-bottom for Follow mode buffers. + +2012-05-01 Glenn Morris + + * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el: + * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el: + * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el: + * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el: + * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el: + Remove no-byte-compile setting. + +2012-05-01 Stefan Monnier + + * minibuffer.el (completion-table-with-quoting): Fix compatibility + all-completions code to not return a number in the last cdr. + +2012-04-30 Leo Liu + + * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer + read-only error. + +2012-04-29 Chong Yidong + + * follow.el (follow-calc-win-end): Rewrite to handle partial + screen lines correctly (Bug#8390). + (follow-avoid-tail-recenter): Minor cleanup. + +2012-04-28 Stefan Monnier + + Avoid the obsolete `assoc' package. + * speedbar.el (speedbar-refresh): Avoid adelete. + (speedbar-file-lists): Simplify and avoid aput. + * man.el (Man--sections, Man--refpages): New vars, replacing + Man-sections-alist and Man-refpages-alist. + (Man-build-section-alist, Man-build-references-alist): + Use them; avoid aput. + (Man--last-section, Man--last-refpage): New vars. + (Man-follow-manual-reference): Use them. + Use the `default' arg of completing-read. + (Man-goto-section): Idem. Move prompt to the `interactive' spec. + +2012-04-27 Chong Yidong + + * vc/diff.el (diff-sentinel): Go to bob (Bug#10259). + + * startup.el (x-apply-session-resources): New function. + + * term/ns-win.el (ns-initialize-window-system): + * term/w32-win.el (w32-initialize-window-system): + * term/x-win.el (x-initialize-window-system): Use it to properly + set menu-bar-mode and other vars from X resources, even if the + initial frame is not a window-system frame (Bug#2299). + + * subr.el (read-key): Avoid running filter function when setting + up temporary tool bar entries (Bug#9922). + +2012-04-27 Andreas Schwab + + * vc/vc-git.el (vc-git-state): Fix regexp matching diff output. + (Bug#11344) + +2012-04-27 Chong Yidong + + * select.el (xselect--encode-string): New function, split from + xselect-convert-to-string. + (xselect-convert-to-string): Use it. + (xselect-convert-to-filename, xselect-convert-to-os) + (xselect-convert-to-host, xselect-convert-to-user): Ensure that + returned strings are properly encoded (Bug#11315). + +2012-04-27 Chong Yidong + + * simple.el (delete-active-region): Move to killing custom group. + +2012-04-27 Andreas Schwab + + * progmodes/which-func.el (which-func-current): Quote % + characters for mode-line processing. + +2012-04-27 Chong Yidong + + * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to + reaching eob (Bug#11286). + +2012-04-27 Eli Zaretskii + + * progmodes/gdb-mi.el (gdb-control-level): New variable. + (gdb): Make it buffer-local and init to zero. + (gdb-control-commands-regexp): New variable. + (gdb-send): Don't wrap in "-interpreter-exec console" if + gdb-control-level is positive. Increment gdb-control-level + whenever the command matches gdb-control-commands-regexp, and + decrement it each time the command is "end". (Bug#11279) + +2012-04-27 Martin Rudalics + + * window.el (adjust-window-trailing-edge, enlarge-window) + (shrink-window, window-resize): + * mouse.el (mouse-drag-line): Fix resizing of minibuffer + windows (Bug#11276). + +2012-04-27 Chong Yidong + + * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to + fix "missing prefix" warning. All callers changed. + +2012-04-27 Stefan Monnier + + * emacs-lisp/assoc.el: Move to obsolete/. + +2012-04-26 Stefan Monnier + + * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352). + + * term/ns-win.el (ns-define-service): + * progmodes/pascal.el (pascal-goto-defun): + * progmodes/js.el (js--read-tab): + * progmodes/etags.el (tags-lazy-completion-table): + * emacs-lisp/syntax.el (syntax-propertize-via-font-lock): + * emacs-lisp/ewoc.el (ewoc--wrap): + * emacs-lisp/assoc.el (aput, adelete, amake): + * doc-view.el (doc-view-convert-current-doc): + * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding. + +2012-04-26 Chong Yidong + + * image.el (image-type-from-buffer): Only return supported image + type (Bug#9045). + + * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful + value, for symmetry with diff-end-of-hunk. + (diff-split-hunk, diff-find-source-location) + (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it. + (diff-bounds-of-hunk, diff-bounds-of-file): New functions. + (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to + compute the relevant hunk or file properly (Bug#6005). + (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041). + +2012-04-26 Stefan Monnier + + * vc/vc-mtn.el: + * vc/vc-hg.el: + * vc/vc-git.el: + * vc/vc-dir.el: + * vc/vc-cvs.el: + * vc/vc-bzr.el: + * vc/vc-arch.el: + * vc/vc.el: Replace lexical-let by lexical-binding. + * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...). + * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding. + * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...). + +2012-04-26 Chong Yidong + + * vc/diff-mode.el (diff-undo): New command (Bug#5302). + (diff-mode-shared-map): Bind it to / and [remap undo]. + + * vc/ediff-wind.el (ediff-setup-windows-default): New function. + (ediff-window-setup-function): Use it as the default, to set up + windows based on whether the current frame is graphical (Bug#2138). + (ediff-choose-window-setup-function-automatically): Make obsolete. + + * vc/ediff-init.el: Always define ediff-pixel-width/height. + +2012-04-25 Stefan Monnier + + * ffap.el: Remove old code for obsolete package. + (ffap-complete-as-file-p): Remove. + + Use completion-table-with-quoting for comint and pcomplete. + * comint.el (comint--unquote&requote-argument) + (comint--unquote-argument, comint--requote-argument): New functions. + (comint--unquote&expand-filename, comint-unquote-filename): Obsolete. + (comint-quote-filename): Use regexp-opt-charset. + (comint--common-suffix, comint--common-quoted-suffix) + (comint--table-subvert): Remove. + (comint-unquote-function, comint-requote-function): New vars. + (comint--complete-file-name-data): Use them with + completion-table-with-quoting. + * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert. + * pcomplete.el (pcomplete-arg-quote-list) + (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete. + (pcomplete-unquote-argument-function): Default to non-nil. + (pcomplete-unquote-argument): Simplify. + (pcomplete--common-quoted-suffix): Remove. + (pcomplete-requote-argument-function): New var. + (pcomplete--common-suffix): New function. + (pcomplete-completions-at-point): Use completion-table-with-quoting + and completion-table-subvert. + + * minibuffer.el: Use completion-table-with-quoting for read-file-name. + (minibuffer--double-dollars): Preserve properties. + (completion--sifn-requote): New function. + (completion--file-name-table): Rewrite using it and c-t-with-quoting. + + * minibuffer.el: Add support for completion of quoted/escaped data. + (completion-table-with-quoting, completion-table-subvert): New funs. + (completion--twq-try, completion--twq-all): New functions. + (completion--nth-completion): New function. + (completion-try-completion, completion-all-completions): Use it. + +2012-04-25 Leo Liu + + * progmodes/python.el (python-pdbtrack-get-source-buffer): + Use compilation-message if available to find real filename. + +2012-04-25 Chong Yidong + + * vc/diff-mode.el (diff-setup-whitespace): New function. + (diff-mode): Use it. + + * vc/diff.el (diff-sentinel): + * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign + Whitespace mode variables based on diff style (Bug#8612). + +2012-04-25 Leo Liu + + * progmodes/python.el (python-send-region): Add suffix .py to the + temp file. + + * files.el (auto-mode-alist): Use javascript-mode instead. + +2012-04-25 Alex Harsanyi + + Sync with soap-client repository. Support SOAP simpleType (Bug#10331). + + * net/soap-client.el (soap-resolve-references-for-sequence-type) + (soap-resolve-references-for-array-type): Hack to prevent self + references, see Bug#9. + (soap-parse-envelope): Report the contents of the 'detail' node + when receiving a fault reply. + (soap-parse-envelope): Report the contents of the entire 'detail' node. + + * net/soap-inspect.el (soap-sample-value-for-simple-type) + (soap-inspect-simple-type): New function. + + * net/soap-client.el (soap-simple-type): New struct. + (soap-default-xsd-types, soap-default-soapenc-types) + (soap-decode-basic-type, soap-encode-basic-type): + support unsignedInt and double basic types. + (soap-resolve-references-for-simple-type) + (soap-parse-simple-type, soap-encode-simple-type): New function. + (soap-parse-schema): Parse xsd:simpleType declarations. + + * net/soap-client.el (soap-default-xsd-types) + (soap-default-soapenc-types): Add integer, byte and anyURI types. + (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find + the local name of "soapenc:Array". + (soap-decode-basic-type, soap-encode-basic-type): Support encoding + decoding integer, byte and anyURI xsd types. + +2012-04-25 Chong Yidong + + * cus-edit.el (custom-buffer-create-internal): Update header text. + +2012-04-25 Eli Zaretskii + + * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific + settings on 'system-type', not on 'window-system'. On MS-Windows, + set interactive-mode on in GDB. + +2012-04-24 Stefan Monnier + + * progmodes/ruby-mode.el: Simplify last change, and cleanup code. + (ruby-syntax-propertize-regexp): Remove. + (ruby-syntax-propertize-function): Split regexp into chunks. + Match following code directly. + +2012-04-24 Dmitry Gutov + + * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286). + (ruby-syntax-propertize-regexp): New function. + (ruby-syntax-propertize-function): Use it to handle regexp not preceded + by a special keyword. + + * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286). + (ruby-syntax-general-delimiters-goto-beg) + (ruby-syntax-propertize-general-delimiters): New functions. + (ruby-syntax-propertize-function): Use them to handle GDL. + (ruby-font-lock-keywords): Move old handling of GDL... + (ruby-font-lock-syntactic-keywords): .. to here. + (ruby-calculate-indent): Adjust indentation for GDL. + +2012-04-24 Michael Albinus + + * notifications.el (top): Remove unneeded declarations. + (notifications-specification-version): Change to "1.2". + (notifications-interface, notifications-notify-method) + (notifications-close-notification-method): Fix docstring. + (notifications-get-capabilities-method): New defconst. + (notifications-notify): Add :action-items, :resident and + :transient hints. Change "image_data" to "image-data" and + "image_path" to "image-path". + (notifications-get-capabilities): New defun. + +2012-04-24 Leo Liu + + * progmodes/python.el: Move hideshow setup to the end. + +2012-04-24 Martin Rudalics + + * window.el (handle-select-window): Clear echo area since this is + no more done by read_char (Bug#11304). + +2012-04-24 Stefan Monnier + + * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode + and `/ M' to filter-derived-mode. + * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list. + (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode) + (ibuffer-mark-by-mode): Use default rather than initial-input. + (ibuffer-filter-by-derived-mode): Autoload and require-match. + +2012-04-24 Ivan Andrus (tiny change) + + * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg. + (ibuffer-filter-by-derived-mode): New filter. + * ibuffer.el (ibuffer-mode-map): Bind to `/ w'. + +2012-04-23 Andreas Politz + + * subr.el (accept-change-group): Fix arg usage (Bug#6095). + +2012-04-23 Chong Yidong + + * cus-edit.el (customize-apropos, customize-apropos-options): + Disable matching of non-option variables (Bug#11176). + (customize-option, customize-option-other-window) + (customize-changed-options): Doc fix. + (customize-apropos-options, customize-apropos-faces) + (customize-apropos-groups): Use apropos-read-pattern (Bug#11124). + + * apropos.el (apropos-read-pattern): Make prompt less cryptic. + Fix word list splitting (Bug#11132). + (apropos-symbol, apropos-keybinding, apropos-label) + (apropos-property, apropos-function-button) + (apropos-variable-button, apropos-misc-button): New faces. + (apropos-symbol-face, apropos-keybinding-face) + (apropos-label-face, apropos-property-face, apropos-match-face): + Variables removed (Bug#8396). + (apropos-library-button, apropos-format-plist, apropos-print) + (apropos-print-doc, apropos-describe-plist): Callers changed. + +2012-04-23 Michael Albinus + + * net/xesam.el (xesam-mode-map): Use let-bound map in + initialization. (Bug#11292) + +2012-04-23 Agustín Martín Domingo + + Preserve ispell session localwords when switching back to + original buffer. + + * textmodes/ispell.el (ispell-buffer-session-localwords): + New buffer-local variable to hold buffer session localwords. + (ispell-kill-ispell): Add option 'clear to delete session + localwords. + (ispell-command-loop, ispell-change-dictionary) + (ispell-buffer-local-words): Preserve session localwords when + needed. + + * textmodes/flyspell.el (flyspell-process-localwords) + (flyspell-do-correct): Preserve session localwords when needed. + +2012-04-23 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-insert-word) Remove unneeded function + using obsolete `translation-table-for-input'. + (ispell-word, ispell-process-line, ispell-complete-word): + Use plain `insert' instead of removed `ispell-insert-word'. + +2012-04-22 Chong Yidong + + * cus-edit.el (custom-variable-menu) + (custom-variable-reset-saved, custom-face-menu) + (custom-face-reset-saved): If there is no saved value, make the + "reset-saved" operation bring back the default (Bug#9509). + (custom-face-state): Properly detect themed faces. + + * faces.el (face-spec-set): Stop supporting deprecated form of + third arg. + +2012-04-22 Michael Albinus + + Move functions from C to Lisp. Make non-blocking method calls + the default. Implement further D-Bus standard interfaces. + + * net/dbus.el (dbus-message-internal): Declare function. + Remove unneeded function declarations. + (defvar dbus-message-type-invalid, dbus-message-type-method-call) + (dbus-message-type-method-return, dbus-message-type-error) + (dbus-message-type-signal): Declare variables. Remove local + definitions. + (dbus-interface-dbus, dbus-interface-peer) + (dbus-interface-introspectable, dbus-interface-properties) + (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table): + Adapt docstring. + (dbus-interface-objectmanager): New defconst. + (dbus-call-method, dbus-call-method-asynchronously) + (dbus-send-signal, dbus-method-return-internal) + (dbus-method-error-internal, dbus-register-service) + (dbus-register-signal, dbus-register-method): New defuns, moved + from dbusbind.c + (dbus-call-method-handler, dbus-setenv) + (dbus-get-all-managed-objects, dbus-managed-objects-handler): + New defuns. + (dbus-call-method-non-blocking): Make it an obsolete function. + (dbus-unregister-object, dbus-unregister-service) + (dbus-handle-event, dbus-register-property) + (dbus-property-handler): Obey the new structure of + `bus-registered-objects'. + (dbus-introspect): Use `dbus-call-method'. Use a timeout. + (dbus-get-property, dbus-set-property, dbus-get-all-properties): + Use `dbus-call-method'. + +2012-04-22 Chong Yidong + + * cus-edit.el (custom-commands, custom-reset-menu) + (Custom-reset-standard): Tweak labels. + (custom-reset-button-menu): Change default to t. + (custom-buffer-create-internal): For the custom-reset-button-menu + case, put the revert button first. + (custom-group-subtitle): New face. + (custom-group-value-create): Align docstring to a specific column. + + * wid-edit.el (widget-documentation-link-add): Don't handle + indentation in this function. + (widget-documentation-string-indent-to): New function. + (widget-documentation-string-value-create): Use it. + + * autorevert.el (auto-revert): + * epg-config.el (epg): + * ibuffer.el (ibuffer): + * mpc.el (mpc): + * ses.el (ses): + * eshell/eshell.el (eshell): + * net/ange-ftp.el (ange-ftp): + * progmodes/ebnf2ps.el (postscript): + * progmodes/flymake.el (flymake): + * progmodes/prolog.el (prolog): + * progmodes/verilog-mode.el (verilog-mode): + * progmodes/which-func.el (which-func): + * term/xterm.el (xterm): + * textmodes/picture.el (picture): + * textmodes/tildify.el (tildify): + * vc/ediff.el (ediff): Tweak defgroups to improve presentation in + customization buffers. + +2012-04-22 Alan Mackenzie + + * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache): + Adding a ) can hide the resulting (..) from searches. Fix it. + Bound the backward search to the position of the existing (. + +2012-04-21 Juanma Barranquero + + * progmodes/verilog-mode.el (verilog-mode): Check whether + which-func-modes is t before adding verilog-mode. + Reported by Andy Moreton . + +2012-04-21 Leo Liu + + * net/rcirc.el (rcirc): Avoid error when process-contact returns t. + +2012-04-21 Michael Vehrs + + * woman.el: Add support for "T{ T}" tbl syntax, and fix the + filling of the last column of a table (Bug#5635). + (woman-find-next-control-line): New arg, specifying an additional + regexp component for the control line. + (woman2-roff-buffer): Use it. + (woman-break-table): New function. + (woman2-TS): Use it. + +2012-04-21 Chong Yidong + + * woman.el (woman-set-buffer-display-table, woman-decode-region) + (woman-horizontal-escapes, woman-negative-vertical-space) + (woman-tab-to-tab-stop, woman2-fc, woman2-TS) + (WoMan-warn-ignored): Use ?\s instead of ?\ . + +2012-04-20 Stefan Monnier + + * minibuffer.el (completion-file-name-table): Complete user names. + +2012-04-20 Leo Liu + + * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let + and pcase-let*. + +2012-04-20 Chong Yidong + + * server.el (server-execute): Respect initial-buffer-choice if it + is a string and there are no files to open (Bug#2825). + (server-create-window-system-frame, server-create-tty-frame): + Don't switch buffers here. + (server-process-filter): Only try to open a window system frame if + compiled with graphical support (Bug#8314). + +2012-04-20 Dan Nicolaescu + + * battery.el (battery-echo-area-format): Display remaining time + for sysfs backend too (Bug#11269). + (battery-linux-sysfs): Fix conditional for the charge. + +2012-04-20 Chong Yidong + + * progmodes/gdb-mi.el (gdb): Revert previous change. + (gdb-inferior-io--init-proc): New function. + (gdb-init-1): Use it. + (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty, + responsible for allocating a new pty and hooking it to gdb when + the old pty gets an EIO due to process exit. + (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers. + (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area. + (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset. + +2012-04-20 Eli Zaretskii + + * window.el (window-min-size, window-sizable, window-min-delta) + (window-max-delta, window--resizable, window-resizable) + (window-total-size, window-full-height-p, window-full-width-p) + (window-in-direction, window--resize-mini-window, window-resize) + (window--resize-child-windows-normal) + (window--resize-child-windows, window--resize-siblings) + (window--resize-this-window, adjust-window-trailing-edge) + (enlarge-window, shrink-window): Doc fixes. + +2012-04-20 Chong Yidong + + * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): + New function to call delete-process on the gdb-inferior buffer's pty. + (gdb-reset): Use it, instead of relying on kill-buffer to kill the + pty process (Bug#11273). + (gdb-update): New arg to suppress talking to the gdb process. + (gdb-done-or-error): Use it. + (gdb-stopped-functions): Rename from gdb-stopped-hooks. + (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for + sentinel not being called. + + * comint.el (make-comint-in-buffer, comint-exec): Doc fix. + + * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268). + +2012-04-20 Glenn Morris + + * net/network-stream.el (open-network-stream): Doc fix. + +2012-04-20 Chong Yidong + + * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos. + +2012-04-20 Alan Mackenzie + + Ensure searching for keywords is case sensitive. + + * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt) + (c-electric-paren, c-beginning-of-defun, c-end-of-defun) + (c-defun-name, c-mark-function, c-cpp-define-name) + (c-comment-indent, c-scan-conditionals, c-indent-defun) + (c-context-line-break): Bind case-fold-search to nil. + + * progmodes/cc-mode.el (c-font-lock-fontify-region): + Bind case-fold-search to nil. + +2012-04-20 Chong Yidong + + * mail/sendmail.el (mail-bury): Call return action with the right + Rmail buffer (Bug#11242). + + * server.el (server-process-filter): Handle corner case where both + tty and nowait options are present (Bug#11102). + +2012-04-20 Eli Zaretskii + + * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes. + (top level): Put into the executable the ident-style '$Id:' tag on + windows-nt as well. + +2012-04-19 Stefan Monnier + + * electric.el (electric-indent-post-self-insert-function): Check that + electric-indent-mode is enabled in current buffer. + +2012-04-19 Juanma Barranquero + + * imenu.el (imenu-progress-message): Restore; it is "used" in + erc/erc-imenu.el and net/snmp-mode.el. + +2012-04-19 Juanma Barranquero + + * avoid.el (mouse-avoidance-mode): Mark unused arg. + (mouse-avoidance-nudge-mouse): Remove unused binding. + + * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively. + + * descr-text.el (describe-char): + * progmodes/python.el (python-describe-symbol): + Don't call `toggle-read-only', set `buffer-read-only'. + + * imenu.el (imenu-default-goto-function): Mark unused args. + (imenu-progress-message): Remove obsolete macro; all callers changed. + + * subr.el (keymap-canonicalize): Remove unused binding. + (read-passwd): Mark unused arg. + + * tutorial.el (tutorial--display-changes): Remove unused binding. + (tutorial--save-tutorial-to): Remove unused variable. + + * emacs-lisp/package.el (define-package, package-menu-mark-delete) + (package-menu-mark-install, package-menu-mark-unmark): Mark unused args. + (package-generate-autoloads, package-menu--generate) + (package-menu--find-upgrades): Remove unused bindings. + + * emulation/cua-rect.el (cua-restrict-regexp-rectangle) + (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings. + (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle) + (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle) + (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle) + (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as) + (cua--rectangle-aux-replace, cua--left-fill-rectangle) + (cua-scroll-rectangle-up, cua-scroll-rectangle-down) + (cua-delete-char-rectangle): Mark unused args. + (cua-align-rectangle): Remove unused binding. + + * mail/rmail.el (compilation--message->loc) + (epa--find-coding-system-for-mime-charset): Declare. + + * net/dbus.el (dbus-register-service): Declare. + (dbus-name-owner-changed-handler): Remove unused binding. + + * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p) + (nxml-compute-indent-from-matching-start-tag): Remove unused variables. + (nxml-scan-backward-within): Mark unused arg. + (nxml-dynamic-markup-word): Remove unused binding. + + * mouse.el (mouse-menu-major-mode-map): + * emacs-lisp/authors.el (authors-scan-change-log) + (authors-add-to-author-list): + * emacs-lisp/avl-tree.el (avl-tree--enter-balance): + * emacs-lisp/smie.el (smie-auto-fill): + * mail/sendmail.el (mail-bury): + * mail/unrmail.el (unrmail): + * net/tls.el (open-tls-stream): + * textmodes/picture.el (picture-mouse-set-point): + Remove unused bindings. + +2012-04-19 Michael Albinus + + * net/tramp.el (tramp-action-password): Let-bind + `enable-recursive-minibuffers' to t. + +2012-04-18 Sam Steingold + + * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence + instead of 'string to accommodate values like [f11]. + Always use `vconcat' instead of `concat' on it, like in `gud-def'. + * progmodes/gdb-mi.el: Likewise. + +2012-04-18 Leo Liu + + * abbrev.el (edit-abbrevs): Move point to the abbrev table of + current buffer. + (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if + LOCAL is nil. + +2012-04-18 Chong Yidong + + * simple.el (line-move): Use forward-line if in batch mode + (Bug#11053). + +2012-04-18 Christopher Schmidt + + * files.el (after-find-file): Do not try to add a final newline if + the buffer is read-only (Bug#11156). + +2012-04-17 Richard Stallman + + * mail/rmail.el (rmail-start-mail): + Pass (rmail-mail-return...) for the return-action. + Pass (rmail-yank-current-message...) for the yank-action. + (rmail-yank-current-message): New function. + (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer. + (rmail-reply): Likewise. + (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer. + + * mail/sendmail.el (mail-bury): Choose the first rmail-mode + buffer, not the last. Reject temp buffers. Use the rmail-mode + buffer, not newbuf. + +2012-04-17 Juanma Barranquero + + * server.el (server-ensure-safe-dir): Simplify. + +2012-04-17 Stefan Monnier + + * emacs-lisp/smie.el: Provide smarter auto-filling. + (smie-auto-fill): New function. + (smie-setup): Use it. + + * newcomment.el (comment-choose-indent): Obey comment-inline-offset. + +2012-04-17 Philipp Haselwarter (tiny change) + + * newcomment.el (comment-inline-offset): New custom var (bug#11090). + (comment-indent): Use it. + +2012-04-17 Vincent Belaïche + + * ses.el: The overall change is to add cell renaming, that is + setting fancy names for cell symbols other than name matching + "\\`[A-Z]+[0-9]+\\'" regexp . + (ses-localvars): Add ses--renamed-cell-symb-list. + (ses-create-cell-variable): New defun. + (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols. + (ses-relocate-formula): Relocate formulas only for cells the + symbols of which are not renamed, i.e. symbols whose names do not + match regexp "\\`[A-Z]+[0-9]+\\'". + (ses-relocate-all): Relocate values only for cells the symbols of + which are not renamed. + (ses-load): Create cells variables as the (ses-cell ...) are read, + in order to check row col consistency with cell symbol name only + for cells that are not renamed. + (ses-replace-name-in-formula): New defun. + (ses-rename-cell): New defun. + +2012-04-17 Peter Oliver (tiny change) + + * progmodes/perl-mode.el (perl-indent-parens-as-block): + New option (bug#11118). + (perl-calculate-indent): Respect it. + +2012-04-17 Glenn Morris + + * dired-aux.el (dired-mark-read-string): Doc fix. + +2012-04-17 Dmitry Antipov + + * dired-aux.el (dired-mark-read-string): Offer optional completion. + (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900) + +2012-04-17 Glenn Morris + + * mouse.el (mouse-drag-track): + * speedbar.el (speedbar-frame-mode): + Use auto-hscroll-mode rather than the alias automatic-hscrolling. + +2012-04-16 Leo Liu + + * progmodes/python.el: Trivial cleanup. + +2012-04-16 Glenn Morris - * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end - of narrowed buffer (bug#11966). + * vc/vc.el (vc-string-prefix-p): + * vc/pcvs-util.el (cvs-string-prefix-p): + * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p): + * mpc.el (mpc-string-prefix-p): + Make all of these into obsolete aliases for string-prefix-p. + Update callers. + * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers. -2012-07-14 Jan Djärv + * textmodes/two-column.el: Move custom options to the start. + (frame-width): Remove compat definition. + (2C-associate-buffer, 2C-dissociate): + Use with-current-buffer rather than save-excursion. + (2C-dissociate): Force a mode-line update. + (2C-autoscroll): Use ignore-errors. - * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods - also (Bug#7879). + * emacs-lisp/eieio-opt.el (describe-class, describe-generic): + Autoload trivia. -2012-07-09 Stefan Monnier + * emacs-lisp/cl-extra.el (*random-state*): + Remove unnecessary declaration. - * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last - change (bug#11826). + * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification. -2012-07-02 Glenn Morris + * play/cookie1.el (cookie-snarf): + Give an explicit error if input file cannot be read. - * simple.el (kill-whole-line): Doc tweak. + * play/yow.el (yow-file): Use expand-file-name rather than concat. -2012-07-01 Eli Zaretskii + * progmodes/perl-mode.el (c-macro-expand): + Remove unnecessary autoload (it is in loaddefs.el). - * files.el (file-relative-name): Compare file names - case-insensitively if on MS-Windows or MS-DOS, or if - read-file-name-completion-ignore-case is non-nil. Don't use - case-fold-search for this purpose. (Bug#11827) + * textmodes/picture.el (picture-desired-column) + (picture-update-desired-column): Convert comments to doc-strings. + (picture-substitute): Remove function. + (picture-mode-map): Initialize in the defvar. -2012-06-28 Andreas Schwab + * woman.el: Remove eval-after-load for tar-mode. + * tar-mode.el (tar-mode-map): Add woman binding and menu entry. + (woman-tar-extract-file): Autoload it. - * calendar/cal-dst.el (calendar-current-time-zone): - Return calendar-current-time-zone-cache if non-nil. + * frame.el (automatic-hscrolling): Make this alias obsolete. -2012-06-25 Masatake YAMATO +2012-04-12 Agustín Martín Domingo - * progmodes/which-func.el (which-func-format): - Add mouse-face. (Bug#11698) + * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process + `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible. + (ispell-dictionary-base-alist): Revert to original XEmacs + friendly version for default. [:alpha:] will be added in + `ispell-set-spellchecker-params' if needed. -2012-06-24 Leo Liu +2012-04-16 Chong Yidong - * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer - read-only error. + * image.el (imagemagick--file-regexp): New variable. + (imagemagick-register-types): Use it. + (imagemagick-types-inhibit): Add :set function. Allow new value + of t to inhibit all types. - * net/rcirc.el (rcirc): Avoid error when process-contact returns t. + * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros, + so we can preload it. - * vc/diff-mode.el (diff-file-prev/next): Fix typo. + * loadup.el (fboundp): Preload regexp-opt, needed by + imagemagick-register-types. -2012-06-23 Leo Liu +2012-04-15 Chong Yidong - * textmodes/enriched.el (enriched-next-annotation): - Use eq (Bug#11528). + * frame.el (scrolling): Remove nearly unused customization group. -2012-06-23 Stefan Monnier + * scroll-all.el (scroll-all-mode): Move to windows group. - * minibuffer.el (minibuffer-confirm-exit-commands): - Add completion-at-point (bug#11725). +2012-04-15 Chong Yidong -2012-06-21 Glenn Morris + * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240). - * progmodes/f90.el (f90-font-lock-keywords-2): - Add some preprocessor elements. (Bug#10499) +2012-04-15 Stefan Monnier -2012-06-21 Stefan Monnier + Avoid the use of ((lambda ...) ...) in lexical-binding code. + * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241). - * progmodes/cperl-mode.el (cperl-update-syntaxification): - Use syntax-propertize (bug#11739). +2012-04-15 Glenn Morris -2012-06-13 Glenn Morris + * simple.el (process-file-side-effects): Doc fix. - * international/mule-cmds.el (mule-menu-keymap) - (set-language-environment, set-locale-environment): Doc tweaks. +2012-04-15 Glenn Morris -2012-06-01 Chong Yidong + * international/mule-cmds.el (set-language-environment): Doc fix. - * Version 24.1 released. +2012-04-14 Juanma Barranquero -2012-06-01 Glenn Morris + * server.el (server-auth-key, server-generate-key): Doc fixes. + (server-get-auth-key): Doc fix. Use `string-match-p'. + (server-start): Reflow docstring. - * mail/rmail.el (rmail-yank-current-message): - Leave point at correct position. (Bug#11660) +2012-04-14 Lars Ingebrigtsen -2012-06-01 Chong Yidong + * server.el (server-generate-key): `called-interactively-p' + requires a parameter. - * allout-widgets.el: Fix code header +2012-04-14 Michal Nazarewicz -2012-06-01 Chong Yidong + * server.el (server-auth-key): New variable. + (server-generate-key, server-get-auth-key): New function. + (server-start): Use the new variable and functions to allow + setting a permanent server key (bug#9423). - * cus-edit.el (customize-changed-options-previous-release): - Bump to 23.4. +2012-04-14 Leo Liu -2012-05-31 Stefan Monnier + * vc/diff-mode.el (diff-file-prev/next): Fix typo. - * emacs-lisp/bytecomp.el (byte-compile-fix-header): - Handle arbitrary file name lengths (Bug#11585). +2012-04-14 Paul Eggert -2012-05-28 Martin Rudalics + Spelling fixes. + * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since + Emacs uses American spelling. - * desktop.el (desktop-read): Clear previous and next buffers for - all windows and bury *Messages* buffer (bug#11556). +2012-04-14 Juanma Barranquero -2012-05-18 Eli Zaretskii + * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook. + (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix. + (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions) + (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017) - * mail/sendmail.el (mail-yank-region): - Recognize rmail-yank-current-message in addition to insert-buffer. - Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in - a *mail* buffer created through rmail-start-mail with sendmail as - mail-user-agent. +2012-04-14 Stefan Monnier -2012-05-17 Stefan Monnier + * progmodes/which-func.el (which-func-modes): Change default. - * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious - parens around the arg list (bug#11499). Silly backport. +2012-04-14 Kim F. Storm -2012-05-16 Chong Yidong + * emulation/cua-base.el (cua-exchange-point-and-mark): Just call + exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191). - * net/gnutls.el (gnutls-min-prime-bits): Improve docstring. +2012-04-14 Chong Yidong -2012-05-15 Chong Yidong + * custom.el (custom-theme-set-variables): Doc fix. - * help.el (describe-mode): Doc fix. +2012-04-14 Glenn Morris - * net/gnutls.el (gnutls-min-prime-bits): Default to 256 (Bug#11267). + * international/mule.el (set-auto-coding-for-load): Doc fix. -2012-05-06 Troels Nielsen (tiny change) +2012-04-14 Alan Mackenzie - * progmodes/compile.el (compilation-internal-error-properties): - Calculate start position correctly when end-col is set but - end-line is not (Bug#11382). + * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make + imenu work again for Objective C Mode. Correct the *-index values, + these having been disturbed by a previous change in 2011-08. -2012-05-11 Stefan Monnier + * progmodes/cc-engine.el (c-before-change-check-<>-operators): + Correct two search limits. - * net/rlogin.el (rlogin-mode-map): Fix last change. +2012-04-14 Stefan Monnier -2012-05-09 Jason L. Wright (tiny change) + * startup.el (command-line-1): Inhibit splash from daemon (bug#10996). - * mail/smtpmail.el (smtpmail-send-command): Send the command and - the following \r\n using a single `process-send-string', since the - Lotus SMTP server refuses to accept any commands if they are sent - with two `process-send-string's (bug#11444). +2012-04-14 Andreas Schwab -2012-05-09 Stefan Monnier + * international/characters.el: Fix sorting. - * shell.el (shell-parse-pcomplete-arguments): Obey - pcomplete-arg-quote-list inside double-quoted args as well (bug#11348). +2012-04-14 Eli Zaretskii -2012-05-08 Stefan Monnier + * international/characters.el: Add more missing Latin case pairs. - * shell.el (shell-completion-vars): Fix last change (bug#11348). +2012-04-14 Glenn Morris -2012-05-07 Chong Yidong + * files.el (dir-locals-set-class-variables): Doc fix. - * ansi-color.el (ansi-color-process-output): Check for validity of - comint-last-output-start before using it. This avoids a bad - interaction with gdb-mi's input/output buffer. +2012-04-14 Eli Zaretskii -2012-05-06 Glenn Morris + * international/characters.el: Add set-case-syntax-pair call for + LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case + counterpart. (Bug#11209) - * files.el (dir-locals-read-from-file): - Mention dir-locals in any error message. + * simple.el (shell-command-on-region): Doc fix. (Bug#11208) -2012-05-06 Chong Yidong +2012-04-14 Glenn Morris - * emacs-lisp/package.el (package-built-in-p): Handle the `emacs' - package (Bug#11410). + * calendar/holidays.el (calendar-check-holidays): Doc fix. -2012-05-05 Chong Yidong +2012-04-14 Eli Zaretskii - * emacs-lisp/package.el (package-buffer-info): Avoid putting local - variables into description. + * textmodes/ispell.el (ispell-dictionary-base-alist): + Add data for Hebrew. -2012-05-05 Stefan Monnier +2012-04-14 Chong Yidong - * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like - shell-delimiter-argument-list (bug#11348). - (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list. + * net/rcirc.el (rcirc-cmd-quit): + Revert 2012-03-18 change (Bug#11192). -2012-05-04 Chong Yidong +2012-04-14 Glenn Morris - * select.el (xselect--encode-string): Always use utf-8 for TEXT on - Nextstep. + * pcmpl-rpm.el (pcomplete/rpm): Handle -qf. -2012-05-03 Kenichi Handa +2012-04-14 Eli Zaretskii - * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text - decoding, and show a warning message without signalling an error - (Bug#11282). + * minibuffer.el (completion-in-region-mode-map): + Bind completion-help-at-point to M-? rather than ?. (Bug#11182) -2012-04-30 Eli Zaretskii +2012-04-13 Vivek Dasmohapatra - * mail/rmail.el (rmail-yank-current-message): Use the encoding of - the yanked message in preference to the default value of - buffer-file-coding-system. + * hexl.el (hexl-insert-char): Make display sizes other than 16 work. -2012-04-30 Martin Rudalics +2012-04-13 Masatake YAMATO - * window.el (display-buffer--action-function-custom-type): - Fix entry. + * minibuffer.el (minibuffer-local-filename-syntax): New variable + to allow `C-M-f' and `C-M-b' to move to the nearest path + separator (bug#9511). -2012-04-27 Alan Mackenzie +2012-04-13 Lars Ingebrigtsen - * progmodes/cc-defs.el (c-version): Update to 5.32.3. + * avoid.el: Require cl when compiling. And also move the + `provide' to the end. -2012-04-27 Chong Yidong +2012-04-13 Thierry Volpiatto - * subr.el (read-key): Avoid running filter function when setting - up temporary tool bar entries (Bug#9922). + * avoid.el (mouse-avoidance-banish-position): New variable. + (mouse-avoidance-banish-destination): Use it (bug#10165). -2012-04-26 Andreas Schwab +2012-04-13 Leo Liu - * vc/vc-git.el (vc-git-state): Fix regexp matching diff output. - (Bug#11344) + * progmodes/which-func.el (which-func-modes): Add objc-mode. -2012-04-24 Chong Yidong +2012-04-13 Ken Brown - * select.el (xselect--encode-string): New function, split from - xselect-convert-to-string. - (xselect-convert-to-string): Use it. - (xselect-convert-to-filename, xselect-convert-to-os) - (xselect-convert-to-host, xselect-convert-to-user): Ensure that - returned strings are properly encoded (Bug#11315). + * net/browse-url.el (browse-url-file-url): Remove Cygwin hack; + this is no longer needed now that cygstart understands file:// URLs. + (browse-url-filename-alist): For the same reason, don't modify + file:// URLs on Cygwin. -2012-04-22 Chong Yidong +2012-04-13 Stefan Monnier - * simple.el (delete-active-region): Move to killing custom group. + * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate + the region on shift if the binding is already shifted (bug#11221). -2012-04-21 Andreas Schwab +2012-04-12 Glenn Morris - * progmodes/which-func.el (which-func-current): Quote % - characters for mode-line processing. + * mail/mailpost.el: Move to obsolete/. -2012-04-21 Chong Yidong +2012-04-12 Drew Adams - * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to - reaching eob (Bug#11286). + * imenu.el (imenu--generic-function): Ignore invisible definitions + (bug#10123). -2012-04-20 Richard Stallman +2012-04-12 Vivek Dasmohapatra - Fix logic for returning to and yanking from Rmail buffer. + * hexl.el (hexl-bits): New variable. + (hexl-options): Mention the variable in the doc string. + (hexl-rulerise, hexl-line-displen): New functions. + (hexl-mode): Mention the new variable. + (hexl-mode, hexl-current-address, hexl-current-address): + Use the displen. + (hexl-ascii-start-column): New function. + (hexl-address-to-marker, hexl-beginning-of-line, hexl-options) + (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941). - * mail/rmail.el (rmail-start-mail): - Pass (rmail-mail-return...) for the return-action. - Pass (rmail-yank-current-message...) for the yank-action. - (rmail-yank-current-message): New function. - (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer. - (rmail-reply): Likewise. - (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer. +2012-04-12 Agustín Martín Domingo - * mail/sendmail.el (mail-bury): Choose the first rmail-mode - buffer, not the last. Reject temp buffers. Use the rmail-mode - buffer, not newbuf. + * textmodes/flyspell.el (flyspell-large-region): For hunspell, use + '("-i" ENCODING), in 2 separate command-line arguments, to specify + the encoding, as expected by hunspell. -2012-04-20 Eli Zaretskii +2012-04-12 Stefan Monnier - * progmodes/gdb-mi.el (gdb-control-level): New variable. - (gdb): Make it buffer-local and init to zero. - (gdb-control-commands-regexp): New variable. - (gdb-send): Don't wrap in "-interpreter-exec console" if - gdb-control-level is positive. Increment gdb-control-level - whenever the command matches gdb-control-commands-regexp, and - decrement it each time the command is "end". (Bug#11279) + * battery.el (battery--linux-sysfs-regexp): New const. + (battery-status-function): Use it. Remove yeeloong special case. + (battery-yeeloong-sysfs): Remove. + (battery-echo-area-format): Remove yeeloong special case. -2012-04-20 Martin Rudalics +2012-04-11 Stefan Monnier - * window.el (adjust-window-trailing-edge, enlarge-window) - (shrink-window, window-resize): - * mouse.el (mouse-drag-line): Fix resizing of minibuffer - windows (Bug#11276). + * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil. + Reported by Noah Friedman. -2012-04-20 Dan Nicolaescu + * subr.el (read-passwd): Use read-string. - * battery.el (battery-echo-area-format): Display remaining time - for sysfs backend too (Bug#11269). - (battery-linux-sysfs): Fix conditional for the charge. +2012-04-11 Lars Magne Ingebrigtsen -2012-04-20 Chong Yidong + * vcursor.el (vcursor-move): Increase the priority of the overlay + (bug#9663). - * progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change. - (gdb-inferior-io--init-proc): New function. - (gdb-init-1): Use it. - (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty, - responsible for allocating a new pty and hooking it to gdb when - the old pty gets an EIO due to process exit. - (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers. - (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area. - (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset. +2012-04-11 Deniz Dogan -2012-04-20 Eli Zaretskii + * net/rcirc.el (rcirc-kill-channel-buffers): New variable. + (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128). - * window.el (window-min-size, window-sizable, window-min-delta) - (window-max-delta, window--resizable, window-resizable) - (window-total-size, window-full-height-p, window-full-width-p) - (window-in-direction, window--resize-mini-window, window-resize) - (window--resize-child-windows-normal) - (window--resize-child-windows, window--resize-siblings) - (window--resize-this-window, adjust-window-trailing-edge) - (enlarge-window, shrink-window): Doc fixes. +2012-04-11 William Stevenson -2012-04-19 Chong Yidong + * textmodes/artist.el (artist-mode): Convert artist-mode to use + define-minor-mode (bug#10760). - * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty): - New function to call delete-process on the gdb-inferior buffer's pty. - (gdb-reset): Use it, instead of relying on kill-buffer to kill the - pty process (Bug#11273). - (gdb-update): New arg to suppress talking to the gdb process. - (gdb-done-or-error): Use it. - (gdb-stopped-functions): Rename from gdb-stopped-hooks. - (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for - sentinel not being called. +2012-04-11 Wolfgang Jenkner (tiny change) - * comint.el (make-comint-in-buffer, comint-exec): Doc fix. + * progmodes/grep.el (rgrep): Tweak the find command line so + that directories matching `grep-find-ignored-files' won't be + pruned (bug#10351). -2012-04-18 Chong Yidong +2012-04-11 Chong Yidong - * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268). + * startup.el (command-line): Remove support for long-obsolete + variable font-lock-face-attributes. -2012-04-18 Glenn Morris +2012-04-11 Glenn Morris - * net/network-stream.el (open-network-stream): Doc fix. + * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug. -2012-04-17 Chong Yidong +2012-04-11 Stefan Monnier - * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos. + * window.el (window--state-get-1): Obey window-point-insertion-type. -2012-04-16 Alan Mackenzie +2012-04-11 Lennart Borgman - Ensure searching for keywords is case sensitive. + * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes + to previous function when point is on the first character of a + function. Take care of that in `narrow-to-defun' (bug#6157). - * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt) - (c-electric-paren, c-beginning-of-defun, c-end-of-defun) - (c-defun-name, c-mark-function, c-cpp-define-name) - (c-comment-indent, c-scan-conditionals, c-indent-defun) - (c-context-line-break): bind case-fold-search to nil. +2012-04-11 Glenn Morris - * progmodes/cc-mode.el (c-font-lock-fontify-region): - bind case-fold-search to nil. + * vc/vc-bzr.el (vc-bzr-status): Handle all errors, + not just file-errors. -2012-04-16 Chong Yidong + * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove. + (vc-bzr-sha1): Use internal sha1. - * mail/sendmail.el (mail-bury): Call return action with the right - Rmail buffer (Bug#11242). +2012-04-11 Stefan Monnier -2012-04-15 Chong Yidong + * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954). - * server.el (server-process-filter): Handle corner case where both - tty and nowait options are present (Bug#11102). +2012-04-10 Sébastien Gross (tiny change) -2012-04-15 Glenn Morris + * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments + that start in the middle of the line (bug#10496). - * simple.el (process-file-side-effects): Doc fix. +2012-04-10 Dan Nicolaescu -2012-04-14 Glenn Morris + * battery.el (battery-linux-proc-acpi): Only one battery is + discharged at a time, but that seems to confuse battery.el when + computing `rate-type' for the battery not being discharged + (bug#10332). - * international/mule-cmds.el (set-language-environment): Doc fix. +2012-04-10 Stefan Monnier -2012-04-14 Stefan Monnier + * emacs-lisp/autoload.el (autoload-make-program): Remove, unused. - Avoid the use of ((lambda ...) ...) in lexical-binding code. - * emacs-lisp/easy-mmode.el (define-minor-mode):Use funcall (bug#11241). + * international/quail.el: Use dolist and simplify. + (quail-define-package, quail-update-keyboard-layout) + (quail-define-rules): Use dolist. + (quail-insert-kbd-layout, quail-get-translation): CSE. -2012-04-13 Kim F. Storm + * tmm.el: Use dolist, remove left over hook. + (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind): + Use dolist. + (calendar-load-hook): Don't mess with it. - * emulation/cua-base.el (cua-exchange-point-and-mark): Just call - exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191). + * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal): + Use derived-mode-p. Run the diff asynchronously. -2012-04-12 Chong Yidong +2012-04-10 Lars Magne Ingebrigtsen - * custom.el (custom-theme-set-variables): Doc fix. + * obsolete/mouse-sel.el: Add an Obsolete-since header. -2012-04-12 Glenn Morris +2012-04-10 Juanma Barranquero - * international/mule.el (set-auto-coding-for-load): Doc fix. + * misc.el: Display absolute path of loaded DLLs (bug#10424). + (list-dynamic-libraries--loaded): New function. + (list-dynamic-libraries--refresh): Use it. -2012-04-11 Stefan Monnier +2012-04-10 Nathan Weizenbaum - * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil. - Reported by Noah Friedman. Backport from trunk. + * progmodes/python.el (python-fill-paragraph): + Make python-fill-region in a multiline string work when font-lock is + disabled (bug#7018). -2012-04-11 Alan Mackenzie +2012-04-10 Laimonas Vėbra (tiny change) - * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): - Make imenu work again for Objective C Mode. Correct the *-index - values, these having been disturbed by a previous change in 2011-08. + * language/european.el (cp775): Add oem/legacy (en)coding on + DOS/MS Windows for the Baltic languages. There are still plenty + of texts written in this encoding/codepage (bug#6519). - * progmodes/cc-engine.el (c-before-change-check-<>-operators): - Correct two search limits. +2012-04-10 Glenn Morris -2012-04-10 Stefan Monnier + * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac): + Add :standard values, reducing "rogue" customs in emacs -Q a bit more. - * startup.el (command-line-1): Inhibit splash from daemon (bug#10996). +2012-04-10 Florian Adamsky (tiny change) -2012-04-10 Andreas Schwab + * recentf.el (recentf-dialog-mode-map): Add two keybindings for + next-line "n" and previous-line "p" in order to make recentf more + consistent with ibuffer, dired or org-mode (bug#9387). - * international/characters.el: Fix sorting. +2012-04-10 Lars Magne Ingebrigtsen -2012-04-10 Eli Zaretskii + * image.el (put-image): Return the overlay created instead of the + optional input string (bug#7834). Note that this may break code + that is (for some reason or other) depending on `put-image' + returning the string. - * international/characters.el: Add more missing Latin case pairs. + * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174). -2012-04-10 Andreas Schwab + * simple.el (zap-to-char): Allow zapping using input methods + (bug#1580). - * international/characters.el: Recover lost case pairs. + * textmodes/fill.el (fill-region): Leave point and mark where they + were before filling (bug#5399). -2012-04-10 Glenn Morris +2012-04-09 Glenn Morris - * files.el (dir-locals-set-class-variables): Doc fix. + * version.el (emacs-bzr-get-version): + Handle lightweight checkouts of local branches. -2012-04-09 Eli Zaretskii +2012-04-09 Andreas Schwab - * international/characters.el: Add set-case-syntax-pair call for - LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case - counterpart. (Bug#11209) + * international/characters.el: Recover lost case pairs. (Bug#11209) - * simple.el (shell-command-on-region): Doc fix. (Bug#11208) +2012-04-09 Chong Yidong + + * custom.el (custom-variable-p): Return nil for non-symbol + arguments instead of signaling an error. + (user-variable-p): Obsolete alias for custom-variable-p. + + * apropos.el (apropos-variable): + * files-x.el (read-file-local-variable): + * simple.el (set-variable): + * woman.el (woman-mini-help): + * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed. 2012-04-09 Glenn Morris