* etc/NEWS: In terminal-oriented subshells, the EMACS environment
[bpt/emacs.git] / lisp / ChangeLog
index d8ec23f..7014933 100644 (file)
@@ -1,3 +1,461 @@
+2006-09-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * comint.el (comint-exec-1): Set EMACS to the full name of Emacs,
+       not to "t".
+       * progmodes/compile.el (compilation-start): Likewise.
+       * progmodes/idlwave.el (idlwave-rescan-asynchronously):
+       Don't use expand-file-name on invocation-directory, since this
+       might mishandle special characters in invocation-directory.
+
+2006-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * pcvs-defs.el: Remove * in defcustom's docstrings.
+
+2006-09-12  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/compile.el (compilation-directory-properties):
+       Doc fix for help-echo.
+
+2006-09-12 Lars Hansen <larsh@soem.dk>
+       * desktop.el (desktop-read): Add comment.
+
+2006-09-12  Kim F. Storm  <storm@cua.dk>
+
+       * simple.el (next-error-highlight, next-error-highlight-no-select):
+       Fix spelling error.
+
+       * subr.el (sit-for): Rework to use input-pending-p and cond.
+       Return nil input is pending on entry also for SECONDS <= 0.
+       (while-no-input): Use input-pending-p instead of sit-for.
+
+2006-09-11  Richard Stallman  <rms@gnu.org>
+
+       * simple.el (next-error-highlight, next-error-highlight-no-select):
+       Fix custom type and doc strings.
+
+2006-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * diff-mode.el (diff-apply-hunk-to-backup-file): New var.
+       (diff-apply-hunk): Use it to ask for confirmation.
+
+2006-09-11  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * emacs-lisp/cl.el (pushnew): Add missing `,'.
+
+2006-09-11  David Kastrup  <dak@gnu.org>
+
+       * help.el (string-key-binding, describe-key-briefly)
+       (describe-key): Remove `string-key-binding' and its callers since
+       `key-binding' already caters for the proper lookup now.
+
+2006-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/cfengine.el (cfengine-font-lock-syntactic-keywords): Newvar.
+       (cfengine-mode): Use it.  Fix \ syntax to be like /.
+
+       * bindings.el (mode-line-buffer-identification-keymap):
+       Move initialization into declaration.
+
+2006-09-10  Kim F. Storm  <storm@cua.dk>
+
+       * ido.el (ido-edit-input, ido-complete, ido-take-first-match)
+       (ido-push-dir-first, ido-kill-buffer-at-head, ido-exhibit)
+       (ido-delete-file-at-head): Pass head of ido-matches through ido-name
+       in case of merged directories.  Reported by Micha\e,Ak\e(Bl Cadilhac.
+
+2006-09-10  Richard Stallman  <rms@gnu.org>
+
+       * dired-aux.el: Handle errors in recursive copy usefully.
+       (dired-create-files-failures): New variable.
+       (dired-copy-file): Remove condition-case.
+       (dired-copy-file-recursive): Check for errors on all file
+       operations, and add them to dired-create-files-failures.
+       Check file file-date-erorr here too.
+       (dired-create-files): Check dired-create-files-failures
+       and report those errors too.
+
+       * emacs-lisp/cl.el (pushnew): Use add-to-list when convenient.
+
+       * subr.el (add-to-list): New argument COMPARE-FN.
+
+2006-09-10  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * filecache.el (file-cache-add-directory)
+       (file-cache-add-directory-list, file-cache-add-file)
+       (file-cache-add-directory-using-find)
+       (file-cache-add-directory-using-locate)
+       (file-cache-add-directory-recursively): Add autoloads.
+
+2006-09-09  Richard Stallman  <rms@gnu.org>
+
+       * textmodes/conf-mode.el (conf-space-mode):
+       Use hack-local-variables-hook instead of calling hack-local-variables.
+       (conf-space-keywords-override): New variable.
+       (conf-space-mode-internal): New subroutine.  Reinit Font Lock mode.
+       (conf-space-mode): Always make conf-space-keywords and
+       conf-space-keywords-override local.
+       Call conf-space-mode-internal directly as well as via hook.
+
+2006-09-09  Slawomir Nowaczyk  <slawomir.nowaczyk.847@student.lu.se>  (tiny change)
+
+       * progmodes/python.el (python-font-lock-keywords): Add `self' and other
+       quasi-keywords.
+
+2006-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/python.el: Quieten the compiler about hippie-expand vars.
+       (python-send-string): Be slightly more careful about adding \n.
+
+       * startup.el (normal-splash-screen): Don't display the buffer if we'll
+       kill it right away anyway.
+
+2006-09-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * international/codepage.el (cp850-decode-table): Fix a few codes.
+       (cp858-decode-table): New variable.
+
+2006-09-09  Toby Allsopp  <Toby.Allsopp@navman.com>  (tiny change)
+
+       * net/ldap.el (ldap-search-internal): Doc fix.
+
+2006-09-09  Micha\e,Ak\e(Bl Cadilhac  <michael.cadilhac@lrde.org>
+
+       * play/life.el (life-display-generation): Test for input manually if
+       `sleeptime' is negative or null.
+
+       * lpr.el (lpr-page-header-switches): Page title switch is one of them.
+       (print-region-1): Substitute `%s' with the page title.
+
+2006-09-09  Matt Hodges  <MPHodges@member.fsf.org>
+
+       * locate.el (locate-current-search): New variable.
+       (locate): Set buffer local value.  Use current buffer if it is
+       in Locate mode.
+       (locate-mode): Disable undo here.
+       (locate-do-setup): Use locate-current-filter from buffer to be killed.
+       (locate-update): Use locate-current-search and locate-current-filter.
+
+2006-09-08  David Kastrup  <dak@gnu.org>
+
+       * desktop.el (desktop-read): When loading a desktop, disable
+       saving it while the load progresses, and switch off a pending lazy
+       load by calling `desktop-lazy-abort'.
+
+2006-08-27  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (mouse-autoselect-window-timer)
+       (mouse-autoselect-window-position)
+       (mouse-autoselect-window-window)
+       (mouse-autoselect-window-now): New vars.
+       (mouse-autoselect-window-cancel)
+       (mouse-autoselect-window-select)
+       (mouse-autoselect-window-start): New functions.
+       (handle-select-window): Call `mouse-autoselect-window-start' when
+       delayed window autoselection is enabled.
+
+       * cus-start.el (mouse-autoselect-window): Handle delayed window
+       autoselection.
+
+       * emacs-lisp/eldoc.el: Add `handle-select-window' to the set of
+       commands after which it is allowed to print in the echo area.
+
+2006-09-08  Richard Stallman  <rms@gnu.org>
+
+       * textmodes/fill.el (adaptive-fill-regexp): Don't match `(1)' or `1.'
+
+       * mail/rmail.el (rmail-get-new-mail): Say whether all msgs are spam.
+       (rmail-convert-to-babyl-format): Don't record undo, leave list empty.
+
+       * emacs-lisp/timer.el (timer-create, timer-activate): Doc fixes.
+       (cancel-timer-internal): Add doc string.
+       (cancel-function-timers): Doc fix.
+       (with-timeout-handler, timer-event-last*): Add doc strings.
+
+       * emacs-lisp/bindat.el (bindat-unpack): Doc fix.
+
+       * files.el (risky-local-variable-p): Match ...-bindat-spec.
+
+       * dired.el (dired-log-summary): Add doc string.
+
+       * cus-edit.el (custom-menu-create): Bind deactivate-mark here
+       (custom-group-menu-create): Not here.
+
+2006-09-08  Carsten Dominik  <dominik@science.uva.nl>
+
+       * textmodes/org.el (org-dblock-write:clocktable): Avoid infinite loop.
+
+2006-09-08  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * term/mac-win.el: (show-hide-font-panel): New HI command ID symbol.
+       (mac-apple-event-map): Define its handler.
+
+2006-09-07  Toby Allsopp  <Toby.Allsopp@navman.com>  (tiny change)
+
+       * net/ldap.el (ldap-search-internal): Handle `auth' key.
+
+2006-09-07  Magnus Henoch <mange@freemail.hu>
+
+       * net/rcirc.el (rcirc-activity-string): Don't quote value in case
+       clause.
+
+2006-09-07  Micha\e,Ak\e(Bl Cadilhac  <michael.cadilhac@lrde.org>
+
+       * info.el (Info-index): Bind completion-ignore-case.
+
+2006-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/prolog.el (inferior-prolog-flavor): New var left out of
+       previous commit.
+       (inferior-prolog-guess-flavor): New fun left out of previous commit.
+       (prolog-consult-region-and-go): Don't hard code "*prolog*" and don't
+       burp in dedicated windows.
+       (inferior-prolog-self-insert-command): New command.
+       (inferior-prolog-mode-map): Use it.
+
+2006-09-07  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * international/latexenc.el (latex-inputenc-coding-alist): Add cp858.
+
+       * international/code-pages.el: Add cp858.
+
+2006-09-07  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * dnd.el: Fix bootstrapping.
+
+2006-09-07  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * dnd.el (dnd-protocol-alist): Add what url-handler-mode can handle.
+       (dnd-open-remote-url): New function.
+       (dnd-open-remote-file-function): Set to dnd-open-remote-url if
+       not windows-nt.
+
+2006-09-07  Jason Rumney  <jasonr@gnu.org>
+
+       * dnd.el (dnd-open-remote-file-function): New variable.
+       (dnd-open-unc-file): New function.
+       (dnd-open-file): Call dnd-open-remote-file-function if set.
+
+2006-09-06  Daiki Ueno  <ueno@unixuser.org>
+
+       * pgg-gpg.el (pgg-gpg-process-region): Encode passphrase with
+       pgg-passphrase-coding-system rather than locale-coding-system.
+       * pgg-def.el (pgg-passphrase-coding-system): New user option.
+
+2006-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/prolog.el: Remove * in docstrings.
+       (prolog-program-name): Add SWI prolog.
+       (prolog-mode-menu): New menu.
+       (prolog-mode): Set comment-add.
+       (prolog-indent-line): Simplify.  Use indent-line-to.
+       (inferior-prolog-buffer): New var.
+       (inferior-prolog-run, inferior-prolog-process): New funs.
+       (run-prolog, switch-to-prolog): Rewrite, using them.
+       (prolog-consult-region): Use inferior-prolog-buffer.
+       (inferior-prolog-load-file): New function.
+       (prolog-mode-map): Add bindings for load-file and switch-to-prolog.
+
+       * textmodes/fill.el (fill-single-word-nobreak-p): Allow breaking before
+       last word, if it's not the end of the paragraph.
+
+       * files.el (abbreviate-file-name): Don't mistakenly match newlines in
+       file name.
+
+2006-09-06  Ralf Angeli  <angeli@caeruleus.net>
+
+       * frame.el (display-mm-dimensions-alist): New defcustom.
+       (display-mm-height, display-mm-width): Use it.
+
+2006-09-06  Simon Josefsson  <jas@extundo.com>
+
+       * mail/smtpmail.el (smtpmail-starttls-credentials): Doc fix.
+
+2006-09-06  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gdb-var-list-children-regexp)
+       (gdb-var-list-children-regexp-1): Tweak regexps to catch full
+       string values.
+
+2006-09-06  Kim F. Storm  <storm@cua.dk>
+
+       * simple.el (line-move-partial): New function to do vscrolling for
+       partially visible images / tall lines.  Rewrite based on code
+       previously in line-move.  Simplify backwards vscrolling.
+       (line-move): Use it.  Simplify.
+
+2006-09-05  Kim F. Storm  <storm@cua.dk>
+
+       * emulation/cua-base.el (cua--pre-command-handler-1): Rewrite.
+
+2006-09-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * progmodes/compile.el (compilation-error-regexp-alist-alist):
+       Process the `gcc-include' after the `gnu' rule.
+
+2006-09-05  Kim F. Storm  <storm@cua.dk>
+
+       * ido.el (ido-visit-buffer): Use buffer name if buffer arg is a buffer.
+
+2006-09-05  Daiki Ueno  <ueno@unixuser.org>
+
+       * pgg.el (pgg-clear-string): Alias to clear-string for backward
+       compatibility.
+
+       * pgg-gpg.el (pgg-gpg-process-region): Avoid display blinking with
+       inhibit-redisplay; encode passphrase with locale-coding-system.
+
+2006-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * term/xterm.el (terminal-init-xterm): Add more C-M- bindings.
+
+2006-09-05  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gdb-ui.el (gdb-var-list-children-regexp)
+       (gdb-var-list-children-regexp): Make type field optional.
+
+       * progmodes/gud.el (gud-speedbar-buttons): Allow for no type
+       e.g public, protected in C++.
+
+2006-09-04  John Paul Wallington  <jpw@pobox.com>
+
+       * simple.el (completion-show-help): New defcustom.
+       (completion-setup-function): Heed it.
+
+2006-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * term/xterm.el (terminal-init-xterm): Add C-M- bindings.
+
+2006-09-04  Richard Stallman  <rms@gnu.org>
+
+       * mail/rmail-spam-filter.el (rsf-scanning-messages-now): Doc fix.
+       (rsf-min-region-to-spam-list): Doc fix.
+       (rsf-add-content-type-field): Doc fix.
+
+       * simple.el (kill-region): Explicitly test there is a region.
+
+2006-09-04  Chong Yidong  <cyd@stupidchicken.com>
+
+       * mail/feedmail.el (feedmail-buffer-to-sendmail): Look for
+       sendmail in several common directories.
+
+       * mail/sendmail.el (sendmail-program): Moved here from paths.el.
+
+       * paths.el (sendmail-program): Removed.
+
+2006-09-04  Daiki Ueno  <ueno@unixuser.org>
+
+       * pgg-gpg.el (pgg-gpg-process-region): Revert two patches from Satyaki
+       Das.  http://article.gmane.org/gmane.emacs.gnus.general/49947
+       http://article.gmane.org/gmane.emacs.gnus.general/50457
+
+2006-09-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * cus-edit.el (custom-group-menu-create): Avoid deactivating the
+       mark after running the menu filter.
+
+2006-09-03  Juri Linkov  <juri@jurta.org>
+
+       * international/quail.el (quail-defrule-internal): Add a check
+       if a key is a vector.
+
+2006-09-02  Juri Linkov  <juri@jurta.org>
+
+       * man.el (Man-topic-history): New variable.
+       (man): Use it.
+
+       * woman.el (woman-topic-history): Change defvar to defvaralias
+       for symbol `Man-topic-history'.
+
+       * shell.el (shell-filter-ctrl-a-ctrl-b): Check if
+       `comint-last-output-start' is a marker by using `markerp' and
+       check if it has a position by using `marker-position', and use
+       this position for `goto-char'.
+
+       * international/quail.el (quail-defrule-internal): Add missing
+       `error' call for null key.
+
+2006-09-02  Ryan Yeske  <rcyeske@gmail.com>
+
+       * rcirc.el (rcirc-keywords): New variable.
+       (rcirc-bright-nicks, rcirc-dim-nicks): New variables.
+       (rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Remove
+       variables.
+       (rcirc-responses-no-activity): New function.
+       (rcirc-handler-generic): Check for responses in above.
+       (rcirc-process-command): Add ?: character to arguments of raw
+       server commands.
+       (rcirc-format-response-string): Use `rcirc-bright-nicks' and
+       `rcirc-dim-nicks'.
+       (rcirc-gray-toggle): Remove unused variable.
+       (rcirc-print): Remove some tracking logic, which is moved into
+       markup functions.
+       (rcirc-activity-types): Was `rcirc-activity-type', now a list of
+       types.
+       (rcirc-activity-string): Look for 'keyword in activity-types.
+       (rcirc-window-configuration-change): Don't erase overlay-arrow
+       unnecessarily.
+       (rcirc-add-or-remove): New function.
+       (rcirc-cmd-ignore): Use it.
+       (rcirc-message-leader): Remove unused function.
+       (rcicr-cmd-bright, rcirc-cmd-dim, rcirc-cmd-keyword): New commands.
+       (rcirc-add-face): New function.
+       (rcirc-facify): Use rcirc-add-face.
+       (rcirc-url-regexp): Add parens.
+       (rcirc-map-regexp): Remove function.
+       (rcirc-mangle-regexp): Remove function.
+       (rcirc-markup-text-functions): New variable.
+       (rcirc-markup-text): New function (replaces `rcirc-mangle-text').
+       (rcirc-markup-body-text, rcirc-markup-attributes)
+       (rcirc-markup-my-nick, rcirc-markup-urls, rcirc-markup-keywords)
+       (rcirc-markup-bright-nicks): New markup handler functions.
+       (rcirc-nick-in-message-full-line): New face.
+       (rcirc-track-nick): Rename from `rcirc-mode-line-nick'.
+       (rcirc-track-keyword, rcirc-url, rcirc-keyword): New faces.
+
+2006-09-02  Martin Rudalics  <rudalics@gmx.at>
+
+       * cus-start.el (hscroll-margin, hscroll-step)
+       (mode-line-in-non-selected-windows, mouse-autoselect-window)
+       (x-use-underline-position-properties): Change version to "22.1"
+       since they will appear there for the first time.
+
+2006-09-01  Chong Yidong  <cyd@stupidchicken.com>
+
+       * imenu.el (imenu-update-menubar): Use buffer-chars-modified-tick.
+
+2006-08-31  Richard Stallman  <rms@gnu.org>
+
+       * cus-edit.el (custom-save-variables): Slight cleanup.
+       (Custom-no-edit): Renamed from custom-no-edit.
+       (Custom-newline): Renamed from custom-newline.
+       (custom-mode-map): Use new names.
+
+       * emacs-lisp/easy-mmode.el (define-minor-mode): Reference manual
+       about customization, rather than M-x customize, in the doc string
+       made for the defcustom.
+
+       * emacs-lisp/trace.el (trace-function-background): Doc fix.
+
+2006-08-31  Romain Francoise  <romain@orebokech.com>
+
+       * dired-x.el (dired-guess-shell-alist-default): Update.
+
+2006-08-31  Michael Mauger  <mmaug@yahoo.com>
+
+       * custom.el (custom-theme-set-variables): Autoload packages before
+       sorting the variables.
+
+2006-08-30  Michael Kifer  <kifer@cs.stonybrook.edu>
+
+       * viper-cmd.el (viper-special-read-and-insert-char): Convert events to
+       chars if XEmacs.
+       (viper-after-change-undo-hook): Check if undo-in-progress is bound.
+
+2006-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/python.el (python-eldoc-function): Re-enable quit while
+       waiting for process.
+
 2006-08-30  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * term/mac-win.el (mac-string-to-utxt): If adjustment for MacJapanese
@@ -5,8 +463,8 @@
 
 2006-08-29  Romain Francoise  <romain@orebokech.com>
 
-       * startup.el (normal-splash-screen, fancy-splash-screens): Make
-       buffer read-only and arrange to enter view mode if necessary.
+       * startup.el (normal-splash-screen, fancy-splash-screens):
+       Make buffer read-only and arrange to enter view mode if necessary.
 
 2006-08-29  Chong Yidong  <cyd@stupidchicken.com>
 
        * progmodes/grep.el (grep-find-use-xargs): Use explicit value `exec'
        to mean "use find -exec"; nil now unambiguously means auto-detect.
        (grep-compute-defaults): Set grep-find-use-xargs to `exec' if not `gnu'.
-       Use shell-quote-argument to build grep-find-command and grep-find-template.
+       Use shell-quote-argument to build grep-find-command and
+       grep-find-template.
        (rgrep): Use shell-quote-argument to properly quote arguments to find.
        Reported by Tom Seddon.
 
        repertoire of unit tests.  Called just before the provide iff user
        has customized `allout-run-unit-tests-on-load' non-nil.
 
-2006-07-14  K\e,Aa\e(Broly L\e,Bu\e(Brentey  <lorentey@elte.hu>
+2006-07-14  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * emacs-lisp/authors.el (authors-aliases): Update.
 
        Sync with Tramp 2.0.53.
 
        * net/tramp.el (tramp-completion-mode): ?\t has event-modifier
-       'control.  Reported by Matthias F\e,bv\e(Brste <slashdevslashnull@gmx.net>.
+       'control.  Reported by Matthias F\e,Av\e(Brste <slashdevslashnull@gmx.net>.
        (tramp-completion-file-name-handler): Add autoload cookie for
        adding to `file-name-handler-alist'.
 
        Let term-handle-ansi-terminal-messages override what Bash says about
        its current directory.
 
-2005-12-16  L\e$,1 q\e(Brentey K\e,Aa\e(Broly  <lorentey@elte.hu>
+2005-12-16  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * bindings.el (last-buffer): Move to simple.el.
        * simple.el (last-buffer): Move here.
        prompts work for AUTH PLAIN.  Also reported by Steve Allan
        <seallan@verizon.net>.
 
-2005-12-06  L\e$,1 q\e(Brentey K\e,Aa\e(Broly  <lorentey@elte.hu>
+2005-12-06  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * frame.el (set-frame-parameter): Add doc string.
 
        (flyspell-post-command-hook): Check input-pending-p while processing
        the potentially long list of buffer changes.
 
-2005-11-28  L\e$,1 q\e(Brentey K\e,Aa\e(Broly  <lorentey@elte.hu>
+2005-11-28  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
 
        * buff-menu.el (list-buffers-noselect): Display the selected
        frame's buffer list, not the global one.
        Move to beginning of file.
        (scheme-interaction-mode-commands-alist)
        (scheme-interaction-mode-map, scheme-debugger-mode-map):
-       Declare them before use.  Note: the initialization code for the variables
-       has not been moved because it uses functions that reference the variables.
+       Declare them before use.  Note: the initialization code for the
+       variables has not been moved because it uses functions that reference
+       the variables.
        (xscheme-control-g-message-string, xscheme-process-filter-alist)
        (xscheme-prompt-for-expression-map): Declare them before use.
        (scheme-debugger-mode-commands): "?\ " -> "?\s".