Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22821 lines (16779 sloc) 849 KB
2011-03-07 Chong Yidong <>
* Version 23.3 released.
2011-03-07 Chong Yidong <>
* progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
application of patch from Alan Mackenzie (Bug#7595).
2011-03-07 Deniz Dogan <>
* net/rcirc.el (rcirc-connect): Fix PASS bug.
2011-03-07 Glenn Morris <>
* vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
Give an explicit error if failed to make writable. (Bug#6146)
2011-03-07 Ed Reingold <>
* calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
Add optional `after-sunset' argument. (Bug#8190)
2011-03-07 Aaron S. Hawley <>
* play/morse.el (nato-alphabet, nato-region, denato-region):
New variable and functions. (Bug#2288)
(morse-region, unmorse-region): Barf if read-only.
2011-03-06 Stefan Monnier <>
* progmodes/gud.el (gdb-script-syntax-propertize-function):
Don't change the syntax of a \n that closes a comment (bug#8169).
2011-03-06 Chong Yidong <>
* emacs-lisp/package-x.el (package-archive-upload-base): Make it a
(package--update-file): Doc fix. Accept relative file names.
(package--archive-contents-from-file): Remove the argument, since
it's necessarily always "archive-contents".
(package-maint-add-news-item): Pass relative file name args to
(package-upload-buffer-internal): Prompt for a destination if
package-archive-upload-base is invalid. Create the directory if
it does not exist.
(package-upload-buffer, package-upload-file): Doc fix.
2011-03-06 Chong Yidong <>
* isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
and move isearch-yank-line to M-s C-e (Bug#8183).
2011-03-06 Alan Mackenzie <>
* progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
(c-guess-basic-syntax): Move CASE 19 to a different place,
correctly to process template-args-cont lines.
2011-03-06 Jay Belanger <>
* calc/calc-ext.el (calc-init-extensions):
Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
and calc-nplevel, respectively. Add keybindings for calc-spn,
calc-midi and calc-freq. Add autoloads for calcFunc-spn,
calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
* calc/calc-units.el (calc-dblevel): Rename from
(calc-nplevel): Rename from calc-logunits-nplevel.
(math-midi-round, math-freqp, math-midip, math-spnp)
(math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
(math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
(calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
(math-notes): New variable.
* calc/calc.el (calc-note-threshold): New variable.
2011-03-06 Chong Yidong <>
* emacs-lisp/package.el (package-archives): Accept either ordinary
directory names, in addition to HTTP URLs.
(package--with-work-buffer): New macro. Handle normal directories.
(package-handle-response): Don't display the failing buffer.
(package-download-single, package-download-tar)
(package--download-one-archive): Use package--with-work-buffer.
(package-archive-base): Rename from package-archive-url.
2011-03-06 Glenn Morris <>
* generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
(xmodmap-generic-mode): Respect generic-extras-enable-list.
2011-03-06 Daniel Clemente <> (tiny change)
* generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
2011-03-06 Juanma Barranquero <>
* allout.el (allout-init, allout-prefixed-keybindings)
* progmodes/prolog.el (prolog-find-term):
Fix typos in docstrings.
2011-03-06 Nikolaj Schumacher <> (tiny change)
* emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
2011-03-06 Kevin Ryde <>
* textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
2011-03-06 Michael Shields <> (tiny change)
* window.el (one-window-p, walk-windows, display-buffer):
Doc fixes. (Bug#5567)
2011-03-06 Jay Belanger <>
* cus-edit.el (custom-prompt-variable): Use the `custom-get' property
of the variable if it exists.
2011-03-06 Juanma Barranquero <>
* bookmark.el:
* desktop.el:
* emacs-lock.el:
* ps-print.el:
* saveplace.el:
* net/tramp-cache.el:
* obsolete/fast-lock.el:
* textmodes/reftex.el:
Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
2011-03-05 Antoine Levitt <>
* files.el (delete-directory, copy-directory, list-directory):
Use read-directory-name.
* find-file.el (ff-find-the-other-file):
* net/ange-ftp.el (ange-ftp-make-directory):
* printing.el (pr-interactive-dir):
* progmodes/ada-prj.el (ada-prj-load-directory):
* progmodes/ebnf2ps.el (ebnf-print-directory)
(ebnf-spool-directory, ebnf-eps-directory)
* shell.el (shell):
* speedbar.el (speedbar-create-directory):
* vc/emerge.el (emerge-merge-directories):
* vc/vc-dir.el (vc-dir):
* vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
2011-03-05 Chong Yidong <>
* help-mode.el (help-buffer): If we are to return the current
buffer, signal an error if it's not in Help mode (Bug#8147).
2011-03-05 Reuben Thomas <>
* files.el (file-name-version-regexp): Handle backup files of the
form `foo.js.~HEAD~1~' (Bug#8159).
2011-03-05 Glenn Morris <>
* eshell/esh-var.el: Don't require esh-test when compiling.
* eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
* eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
* eshell/esh-test.el: Move to ../../test/eshell.el.
2011-03-05 David Engster <>
* files.el (save-some-buffers): Report the names of buffers saved
automatically due to buffer-save-without-query (Bug#8134).
2011-03-05 Deniz Dogan <>
* net/rcirc.el: Add QuakeNet authentication support.
(rcirc-authinfo, rcirc-check-auth-status)
(rcirc-authenticate): Support QuakeNet.
2011-03-05 Deniz Dogan <>
* net/rcirc.el: Add functionality to authenticate before
autojoining channels.
(rcirc-authenticate-before-join): New option.
(rcirc-authenticated-hook): New variable.
(rcirc-connect): Make local variable rcirc-user-authenticated.
(rcirc-handler-001): Respect rcirc-authenticate-before-join.
(rcirc-check-auth-status, rcirc-join-channels-post-auth):
New functions.
(rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
Call rcirc-check-auth-status.
2011-03-05 Alex Harsanyi <>
* net/soap-client.el (soap-namespace-put-link): Check if the target
name is fully qualified -- use only the name part.
(soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
types, treated the same as xsd:sequence. (Bug#8166)
2011-03-05 Eli Zaretskii <>
* files.el (find-file-noselect): Don't ask about re-visiting
non-literally if the file is already visited in image-mode.
2011-03-05 Glenn Morris <>
* eshell/esh-mode.el (eshell-kill-buffer-function): New function.
(eshell-mode): Use eshell-kill-buffer-function.
Run the -initialize functions independently of the -load-hooks.
* eshell/esh-proc.el (eshell-kill-process-function): New function.
(eshell-gather-process-output, eshell-sentinel)
(eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
Use eshell-kill-process-function.
* eshell/em-alias.el (eshell-alias-load-hook):
* eshell/em-banner.el (eshell-banner-load-hook):
* eshell/em-cmpl.el (eshell-cmpl-load-hook):
* eshell/em-dirs.el (eshell-dirs-load-hook):
* eshell/em-glob.el (eshell-glob-load-hook):
* eshell/em-hist.el (eshell-hist-load-hook):
* eshell/em-pred.el (eshell-pred-load-hook):
* eshell/em-prompt.el (eshell-prompt-load-hook):
* eshell/em-rebind.el (eshell-rebind-load-hook):
* eshell/em-script.el (eshell-script-load-hook):
* eshell/em-smart.el (eshell-smart-load-hook):
* eshell/em-term.el (eshell-term-load-hook):
* eshell/em-unix.el (eshell-unix-load-hook):
* eshell/esh-arg.el (eshell-arg-load-hook):
* eshell/esh-cmd.el (eshell-cmd-load-hook):
* eshell/esh-ext.el (eshell-ext-load-hook):
* eshell/esh-io.el (eshell-io-load-hook):
* eshell/esh-mode.el (eshell-exit-hook):
* eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
* eshell/esh-var.el (eshell-var-load-hook):
Set default hook values to nil. (Bug#5375)
* eshell/esh-module.el (eshell-module-unload-hook)
(eshell-modules-list): Remove leading * from defcustom docs.
* eshell/esh-util.el (eshell-for): Make it obsolete.
* eshell/em-alias.el (eshell/alias, eshell-alias-completions):
* eshell/em-dirs.el (eshell-save-some-last-dir):
* eshell/em-hist.el (eshell-save-some-history)
* eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
* eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
* eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
* eshell/esh-ext.el (eshell-find-interpreter):
* eshell/esh-mode.el (eshell-mode):
* eshell/esh-module.el (eshell-unload-extension-modules):
* eshell/esh-proc.el (eshell-process-interact):
* eshell/esh-test.el (eshell-test):
* eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
* eshell/esh-var.el (eshell/env, eshell-environment-variables)
* eshell/eshell.el (eshell-unload-all-modules):
Replace eshell-for with dolist.
2011-03-04 Glenn Morris <>
* vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
2011-03-04 Tom Tromey <>
* progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
2011-03-04 Glenn Morris <>
* outline.el (outline-regexp): No longer allow nil.
(outline-heading-end-regexp): Add safety predicate. (Bug#7619)
* net/browse-url.el (browse-url):
Handle deleted default-directory. (Bug#6077)
* recentf.el (recentf-include-p): In case of a buggy predicate,
err on the side of including, not excluding. (Bug#5843)
2011-03-04 Jay Belanger <>
* calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
variables as units.
2011-03-04 Bob Rogers <>
* emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
if there is no node. (Bug#3261)
2011-03-04 Leo Liu <>
* vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
* time.el (display-time-world-list): Fix typo. (Bug#7571)
2011-03-04 Zachary Kanfer <> (tiny change)
* cus-edit.el (custom-buffer-create-internal):
Split search string before passing it to `customize-apropos' (bug#8136).
2011-03-04 Drew Adams <>
* image-dired.el (image-dired-cmd-read-exif-data-options):
Fix typo in docstring (bug#8156).
2011-03-03 Deniz Dogan <>
* net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
2011-03-03 Christian Ohler <>
* emacs-lisp/ert.el (ert--explain-equal): New function.
(ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
All callers changed.
(ert--explain-equal-including-properties): Rename from
`ert--explain-not-equal-including-properties'. All callers
2011-03-03 Christian Ohler <>
* emacs-lisp/ert.el (ert--stats-set-test-and-result)
(ert-char-for-test-result, ert-string-for-test-result)
(ert-run-tests-batch, ert--print-test-for-ewoc):
Handle `ert-test-quit'.
2011-03-03 David Abrahams <>
* vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
Move ediff-defvar-local calls after defcustoms. (Bug#1821)
2011-03-03 Glenn Morris <>
* files.el (file-truename): Doc fix. (Bug#2341)
2011-03-03 Bob Rogers <>
* vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
2011-03-03 Vagn Johansen <> (tiny change)
* vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
programs output backslashes. (Bug#7663)
2011-03-03 Glenn Morris <>
* mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
(mail-mode): Remove mail-sent-via from the doc.
(mail-sent-via): Make it obsolete. (Bug#1776)
* progmodes/grep.el (grep-highlight-matches): Doc fix.
(grep-process-setup): No highlighting without font-lock. (Bug#8084)
* vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
with no parents. (Bug#8025)
2011-03-02 Teodor Zlatanov <>
* password-cache.el (password-in-cache-p): Add autoload.
2011-03-02 Glenn Morris <>
* man.el (Man-support-local-filenames): Also handle Red Hat's man.
* dired-x.el (Man-support-local-filenames): Autoload it.
(dired-guess-shell-alist-default): Also handle Red Hat's man.
* dired-x.el (dired-default-directory-alist, dired-default-directory):
Mark as obsolete.
(dired-smart-shell-command): Just call dired-current-directory.
* dired-x.el (dired-jump-other-window): Add autoload.
(dired-default-directory-alist, dired-default-directory): Doc fixes.
(dired-default-directory-alist): Mark as risky.
* dired-x.el (dired-omit-here-always): Make it obsolete.
2011-03-02 Chong Yidong <>
* textmodes/artist.el (artist-curr-go): Default to pen-line.
(artist-select-op-pen-line): New function.
(artist-menu-map): New variable.
(artist-mode-map): Add a menu to the menu-bar.
2011-03-02 Jay Belanger <>
* calc/calc-math.el (calcFunc-log10): Check for symbolic mode
when evaluating.
* calc/calc-units.el (math-conditional-apply, math-conditional-pow):
New function.
(math-logunits-add, math-logunits-mul, math-logunits-divide):
(math-logunits-quant, math-logunits-level):
Use `math-conditional-apply' and `math-conditional-pow' to evaluate
(math-logunits-level): Extract units from ratio.
2011-03-01 Juanma Barranquero <>
* emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
2011-03-01 Glenn Morris <>
* calendar/cal-hebrew.el (calendar-hebrew-birthday)
(diary-hebrew-birthday): Rename and rework functions added
in previous change.
2011-03-01 Ed Reingold <>
* calendar/cal-hebrew.el (hebrew-calendar-birthday)
(diary-hebrew-birthday): New functions.
2011-03-01 Glenn Morris <>
* dired.el (dired-safe-switches-p): Beef it up.
(dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
2011-03-01 Stefan Monnier <>
* dired.el (dired-safe-switches-p): New function.
2011-03-01 Glenn Morris <>
* files.el (dir-locals-collect-variables):
Add the ability to exclude subdirectories. (Bug#8100)
* dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
2011-02-28 Christoph Scholtes <>
* ido.el (ido-everywhere): Doc fix.
(ido-mode): Doc fix.
2011-02-28 Glenn Morris <>
* dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
2011-02-28 Michael Albinus <>
* net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
2011-02-28 Antoine Levitt <>
* dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
2011-02-28 Juanma Barranquero <>
* emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
Fix typos in docstrings.
2011-02-28 Stephen Berman <>
* dired-aux.el (dired-update-file-line):
Fix 2010-11-09 change. (Bug#8131)
2011-02-28 Eli Zaretskii <>
* international/mule-cmds.el (set-default-coding-systems): Use the
-unix variant of encoding in default-keyboard-coding-system.
2011-02-27 Chong Yidong <>
* facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
2011-02-27 Prestoo Ten <> (tiny change)
* term/screen.el: New file (Bug#2650).
2011-02-27 Stefan Monnier <>
* emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
(pcase-mutually-exclusive-predicates): New var.
(pcase--split-consp, pcase--split-pred): Use it.
(pcase--split-equal, pcase--split-member): When splitting against
a pure predicate, run it to know the outcome.
(pcase--u1): Mark vars that are actually used.
(pcase--q1): Avoid introducing unused vars.
2011-02-27 Jay Belanger <>
* calc/calc-ext.el (calc-init-extensions):
Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
* calc/calc-math.el (calcFunc-log10): Don't signal an error in
symbolic mode.
* calc/calc-vec.el (calcFunc-subscr): Return nil if the first
argument is a variable.
2011-02-26 Stefan Monnier <>
* emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
(aput, adelete, amake): Replace `eval' -> `symbol-value'.
Suggested by Michael Heerdegen <>.
2011-02-25 Teodor Zlatanov <>
* password-cache.el (password-in-cache-p): Convenience function to
check if a key is in the cache, even if the value is nil.
2011-02-25 Jambunathan K <>
* emacs-lisp/package-x.el (package--archive-contents-from-url)
(package--archive-contents-from-file): New functions.
(package-update-news-on-upload): New var.
(package-upload-buffer-internal): Extract archive-contents from
package-archive-upload-base if it is not found at archive-url.
Obey package-update-news-on-upload.
(package-upload-buffer, package-upload-file): Doc fix.
2011-02-24 Glenn Morris <>
* files-x.el (modify-dir-local-variable): Handle dir-locals from
the cache, and from non-file sources.
* help-fns.el (describe-variable): Return consistent results when a
dir-local from a file came from the cache or did not. (Bug#8095)
If a dir-local has no associated file, say it came from a "directory".
* files.el (hack-dir-local-variables): Fix setting of `dir-name'.
(hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
* files.el (dir-locals-find-file): Doc fix.
Fix the check for cache elements that have no associated file,
and the mtime check for those that do. (Bug#8095)
* dired-x.el (dired-hack-local-variables):
Handle interrupts during hacking local variables. (Bug#5216)
* emacs-lisp/autoload.el (autoload-save-buffers)
(autoload-find-destination, update-directory-autoloads):
Avoid prompts when updating autoloads.
2011-02-23 Stefan Monnier <>
* emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
2011-02-23 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
error when a multipart boundary in the nested multipart is found.
* mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
header components.
2011-02-23 Glenn Morris <>
* dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
* dired-x.el (dired-omit-mode): Safe if boolean.
(dired-enable-local-variables): Fix doc and custom type.
(dired-enable-local-variables, dired-local-variables-file)
(dired-hack-local-variables): Make obsolete.
(dired-omit-here-always): Use dir-locals.el instead.
* files.el (safe-local-eval-forms): Add the write-file-hooks version.
2011-02-22 Stefan Monnier <>
* help-fns.el (describe-function-1): Don't signal an error just because
the DOC file disappeared.
2011-02-22 Seppo Sade <> (tiny change)
* eshell/esh-ext.el (eshell-external-command): Do not restrict
remote check to "ftp". (Bug#8089)
2011-02-21 Alan Mackenzie <>
Fix bug #7930.
* progmodes/cc-engine.el (c-state-literal-at): Prevent positions
in macros finding their way into c-state-nonlit-pos-cache.
Strengthen the comments.
(c-state-dump): New commented out diagnostic routine.
2011-02-21 Michael Albinus <>
* net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
`field' property of `rfn-eshadow-overlay'.
2011-02-21 Paul Eggert <>
* emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c.
2011-02-21 Lars Ingebrigtsen <>
* net/netrc.el (netrc-parse): Comment fix.
2011-02-21 Chong Yidong <>
* color.el (color-name-to-rgb): Rename from color-rgb->normalize.
Autoload. Add optional arg FRAME, and pass it to color-values.
(color-complement): Caller changed. Doc fix.
(color-gradient): Rewrite for better clarity and efficiency.
* faces.el (color-values): Use cond for clarity. Doc fix.
* facemenu.el (color-rgb-to-hsv): Delete; use the version in
color.el instead.
(list-colors-sort-key, list-colors-print):
Use color-normalized-values.
2011-02-20 Drew Adams <>
* color.el: First part of merge from hexrgb.el.
(color-rgb-to-hex): Rename from color-rgb->hex.
(color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
saturation to zero if the value is too small.
(color-rgb-to-hsl): Rename from color-rgb->hsl.
(color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
(color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
(color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
(color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
(color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
(color-cie-de2000): Doc fix.
2011-02-20 Alan Mackenzie <>
* progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
locating the beginning of a macro. (Bug#7595)
2011-02-20 Glenn Morris <>
* edmacro.el (edmacro-eight-bits): Make it a defcustom.
Don't autoload it.
* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-ignore-buffer): Remove leading "*" from docs.
2011-02-19 Dmitry Bolshakov <>
Dima Kogan <> (tiny change)
* progmodes/hideshow.el (hs-find-block-beginning)
(hs-hide-level-recursive): Ignore comments when parsing braces
2011-02-19 Chong Yidong <>
* vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
(vc-bzr-pull): Use it.
2011-02-19 Chong Yidong <>
* vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
(vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
but returning an alist. Ignore comments in bzr conffile.
(vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
(vc-bzr-error-regex-alist): New var.
(vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
* vc/vc-dispatcher.el (vc-do-async-command):
Bind inhibit-read-only to t.
* progmodes/compile.el (compilation--flush-directory-cache):
Handle the case where cdr of compilation--flush-directory-cache
points to no buffer, which can occur if we previously switched to
compilation-mode in a pregenerated buffer.
2011-02-19 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
get the header copy into the temporary buffer.
(rmail-mime-insert-decoded-text): Ignore us-ascii.
(rmail-show-mime): When rmail-mime-coding-system is nil, set
buffer-file-coding-system to undecided.
2011-02-19 Eli Zaretskii <>
* international/mule-cmds.el (read-char-by-name, ucs-insert):
Document completion with asterisk and a substring.
2011-02-19 Glenn Morris <>
* files.el (find-file-literally): Doc fix.
* simple.el (rfc822-goto-eoh): Give it a doc-string.
* log-edit.el (log-edit-insert-changelog):
Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
2011-02-19 Glenn Morris <>
* dired-x.el: Don't require dired-aux.
(dired-do-create-files, dired-mark-read-regexp)
(dired-do-create-files-regexp): Autoload from dired-aux.
* dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
* dired.el (dired-find-buffer-nocreate): Merge dired-x version.
* dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
* dired-aux.el (dired-read-shell-command): Merge dired-x's version.
* dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
* dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
(dired-clean-up-buffers-too): Declare.
* dired-x.el (dired-initial-position): Merge into dired.el's version.
* dired.el (dired-initial-position): Merge dired-x's version here.
(dired-find-subdir): Declare.
* dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
* dired-aux.el (dired-add-entry): Give it a doc-string.
Merge dired-x's dired-omit handling here.
(dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
* international/mule-diag.el (list-input-methods-1):
Indent all lines of multi-line doc-strings. (Bug#8066)
2011-02-18 Chong Yidong <>
Fix 2011-02-02 changes.
* apropos.el (apropos-print): Call apropos-mode before setting up
buffer variables. Use inhibit-read-only.
* emacs-lisp/package.el (package--list-packages):
Call package-menu-mode before setting up buffer variables.
* play/solitaire.el (solitaire): Call solitaire-mode before
setting up buffer variables. Use inhibit-read-only.
2011-02-18 Lawrence Mitchell <>
* progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
Bind case-fold-search to nil when looking for end of here-doc.
2011-02-18 Eli Zaretskii <>
* image-mode.el (image-toggle-display-image):
Set find-file-literally non-nil in buffers visiting binary image
files. (Bug#8047)
2011-02-18 Stefan Monnier <>
* files.el (cd): Make completion obey cd-path (bug#7924).
2011-02-18 Glenn Morris <>
* progmodes/prolog.el: Don't require compile when compiling.
(compilation-shell-minor-mode, compilation-error-regexp-alist)
(compilation-forget-errors, compilation-fake-loc)
(compilation-parse-errors-function, compilation-error-list): Declare.
(prolog-inferior-mode): Require 'compile.
* emulation/cua-base.el (pc-selection-mode): Declare.
* emacs-lisp/eieio-custom.el: Set generated-autoload-file.
(customize-object): Add autoload cookie.
* emacs-lisp/eieio-opt.el: Set generated-autoload-file.
(eieio-browse, describe-class, eieio-describe-class)
(eieio-describe-constructor, describe-generic, eieio-describe-generic)
(eieio-help-mode-augmentation-maybee): Add autoload cookies.
* emacs-lisp/eieio.el: Regenerate with automatic autoloads.
* (autoloads): Make eieio.el writable.
* dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
(dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
(dired-hack-local-variables): Use inhibit-read-only.
(dired-guess-default): Simplify.
(dired-make-relative-symlink): Use dotimes.
(dired-simultaneous-find-file): Use dolist.
(dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
(dired-x-hands-off-my-keys): Doc fix.
(dired-x-bind-find-file): Doc fix. Use remapping.
(after-init-hook): No need to add dired-x-bind-find-file.
(dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
No need to call expand-file-name.
(dired-filename-at-point): Remove unused locals `end', `filename'.
2011-02-18 Stefan Monnier <>
* emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
2011-02-18 Christian Ohler <>
* emacs-lisp/ert.el (ert--setup-results-buffer)
(ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z! that
were incorrect and unnecessary. This should make `make check'
pass again.
2011-02-17 Ken Manheimer <>
* allout-widgets.el (allout-widgets-icons-light-subdir)
(allout-widgets-icons-dark-subdir): Track relocations of icons.
* allout.el: Remove commentary about remove encryption
passphrase mnemonic support and verification.
(allout-encrypt-string): Recognize epg failure to decrypt gpg2
armored text using gpg1, and indicate that the gpg version *might*
be the problem in the error message.
2011-02-17 Deniz Dogan <>
* net/rcirc.el (rcirc-float-time): New function.
(rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
(rcirc-ctcp-sender-PING): Use it.
2011-02-17 Glenn Morris <>
* speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
(speedbar-update-flag, speedbar-fetch-etags-command)
* term.el (term-buffer-maximum-size, term-input-chunk-size)
(term-completion-autolist, term-completion-addsuffix)
(term-completion-recexact, term-completion-fignore):
* term/sup-mouse.el (sup-mouse-fast-select-window):
* term/x-win.el (x-select-request-type):
Convert some defvars with "*" to defcustoms.
* shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
* vc/vc.el (vc-default-previous-version):
Remove alias that points nowhere. (Bug#4496)
* dired-x.el (dired-clean-up-after-deletion):
kill-buffer does not need save-excursion.
(dired-do-run-mail): Doc fix.
(dired-filename-at-point): Doc fix.
Use looking-at, and skip-chars rather than re search.
* dired-x.el (dired-filename-at-point): Fix 8-year old typo.
2011-02-16 Ken Manheimer <>
* allout-widgets.el: New allout extension that shows allout
outline structure with graphical widgets. 'allout-widgets'
customize group is an 'allout' subgroup, for easy discovery.
* allout.el: Include PGP and GnuPG in Keywords, and other
commentary refinements.
(allout-abbreviate-flattened-numbering): Rename to
allout-flattened-numbering-abbreviation, and
define-obsolete-variable-alias the old name.
(allout-flattened-numbering-abbreviation): Rename from
(allout-mode-p): Include among autoloads, for use by other modes
with impunity.
Use allout-flattened-numbering-abbreviation.
(allout-encrypt-string): Use set-buffer-multibyte directly.
(allout-set-buffer-multibyte): Remove.
2011-02-16 Deniz Dogan <>
* simple.el (just-one-space): Remove useless `or' call.
2011-02-16 Alex Harsanyi <>
* net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
(soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
(soap-decoded-multi-refs, soap-current-wsdl)
(soap-encoded-namespaces): Rename CL-style *...* variables.
2011-02-16 Michael Albinus <>
* net/soap-client.el: Add "comm" and "hypermedia" to the
keywords. Reflow too long lines.
* net/soap-inspect.el: Ditto. Require 'cl.
2011-02-16 Bastien Guerry <>
* play/doctor.el (doctor-mode): Bugfix: escape the "," character
in a `doctor-type' argument.
2011-02-16 Alex Harsanyi <>
* net/soap-client.el:
* net/soap-inspect.el: New files.
2011-02-16 Leo Liu <>
* dired-x.el (dired-mode-map, dired-extra-startup):
Remove dired-copy-filename-as-kill since it's already in dired.el.
2011-02-16 Glenn Morris <>
* dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
Doc fixes. Add :set property, replacing top-level calls.
(dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
(dired-guess-shell-gnutar): Test tar version rather than system-type.
(dired-extra-startup, dired-man, dired-info): Doc fixes.
(dired-clean-up-after-deletion): Use when and dolist.
(dired-jump): Use unless and when.
(dired-virtual): Use line-end-position.
(dired-default-directory-alist): Rename from default-directory-alist.
(dired-default-directory): Update for above name change.
(dired-vm): Drop VM < 5 and simplify.
(dired-buffer-more-recently-used-p): Rewrite.
(dired-filename-at-point): Use when and or.
(dired-x-read-filename-at-point): Rename from read-filename-at-point.
Update callers.
2011-02-15 Glenn Morris <>
* dired-x.el: Use easymenu for menu items. Fix item capitalization.
2011-02-14 Chong Yidong <>
* vc/vc-git.el (vc-git-root-log-format): New option for
customizing log format.
(vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
(vc-git-log-view-mode): Use it.
(vc-git-expanded-log-entry): New function.
(vc-git-log-view-mode): Use it. Truncate lines in root log.
* vc/vc-hg.el (vc-hg-root-log-template): New option for
customizing log format.
(vc-hg-print-log): Use it.
(vc-hg-expanded-log-entry): New function.
(vc-hg-log-view-mode): Use vc-hg-root-log-template and
vc-hg-expanded-log-entry. Truncate lines in root log.
* vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
* vc/log-view.el (log-view-mode-menu):
Add log-view-toggle-entry-display.
2011-02-14 Glenn Morris <>
* dired-x.el: Don't require man when compiling.
(dired-omit-extensions, dired-local-variables-file)
(dired-x-hands-off-my-keys): Make them defcustoms.
(Man-support-local-filenames, Man-getpage-in-background): Declare.
(vm-visit-folder): Declare rather than defining.
(dired-x-help-address, dired-x-variable-list): Remove.
(dired-x-submit-report): Make it an obsolete alias.
2011-02-14 Juanma Barranquero <>
* makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
2011-02-13 Teodor Zlatanov <>
* net/imap.el: Bring it back.
2011-02-13 Alan Mackenzie <>
* progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
narrow-to-region call that cuts context off the end (Bug#7722).
* progmodes/cc-engine.el (c-forward-<>-arglist-recur):
Refactor nested if-forms with a simple cond.
(c-forward-<>-arglist): Revert 2011-01-31 change.
2011-02-13 Chong Yidong <>
* vc/log-view.el: New command log-view-toggle-entry-display for
toggling log entries between concise and detailed forms.
(log-view-toggle-entry-display): New command.
(log-view-mode-map): Bind RET to it.
(log-view-expanded-log-entry-function): New variable.
(log-view-current-entry, log-view-inside-comment-p)
(log-view-current-tag): New functions.
(log-view-toggle-mark-entry): Use log-view-current-entry and
log-view-end-of-defun instead of searching directly with
(log-view-end-of-defun): Likewise. Add optional ARG for
compatibility with end-of-defun.
(log-view-end-of-defun): Ignore comments and VC buttons.
* vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
(vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
2011-02-13 Teodor Zlatanov <>
* net/imap.el: Remove file. All the functionality is in nnimap.el.
* net/imap-hash.el: Remove file.
2011-02-13 Michael Albinus <>
* (TRAMP_SRC): Remove tramp-imap.el.
* net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
* net/tramp-imap.el: Remove file.
2011-02-13 Chong Yidong <>
* vc/vc.el (vc-print-log-setup-buttons): Instead of using the
widget library for buttons, just use button.el.
* vc/log-view.el (log-view-mode-map): Don't inherit from
2011-02-12 Glenn Morris <>
* emacs-lisp/cl-seq.el (union, nunion, intersection)
(nintersection, set-difference, nset-difference)
(set-exclusive-or, nset-exclusive-or): Doc fix.
* ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
* faces.el (face-attr-match-p): Handle the obsolete :bold and
:italic props, so that frame-set-background-mode works. (Bug#7966)
* simple.el (next-error): Doc fix.
2011-02-12 Thierry Volpiatto <>
* dired-aux.el (dired-create-files): Adapt destination name to
match the new behavior of copy-directory.
2011-02-12 Chong Yidong <>
* mail/mail-utils.el (mail-dont-reply-to-names): New variable,
from rmail-dont-reply-to-names. Callers changed.
(mail-dont-reply-to): Rename from mail-dont-reply-to.
(rmail-dont-reply-to): Make it an obsolete alias.
* mail/rmail.el (rmail-default-dont-reply-to-names): Default to
nil, and make obsolete (Bug#7888).
(rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
* mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
* mail/rmailsort.el (rmail-sort-by-correspondent)
(rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
* mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
2011-02-12 Thierry Volpiatto <>
* files.el (copy-directory): New argument COPY-CONTENTS for
copying directory contents into another existing directory.
2011-02-12 Tassilo Horn <>
* minibuffer.el (completion-table-case-fold): New function for
creating a case-insensitive completion table.
2011-02-12 Teodor Zlatanov <>
* net/tramp.el (tramp-default-method): Also check if
`auth-source-search' is bound.
(tramp-read-passwd): Use `auth-source-search' instead of
* net/tramp-imap.el: Autoload `auto-source-search' instead of
(tramp-imap-passphrase-callback-function): Use it.
* net/imap-hash.el: Autoload `auto-source-search' instead of
(imap-hash-open-connection): Use it.
* mail/smtpmail.el: Autoload `auto-source-search' instead of
(smtpmail-try-auth-methods): Use it.
2011-02-12 Phil Hagelberg <>
* emacs-lisp/package.el: Allow packages to be reinstalled.
(package--write-file-no-coding): Remove EXCL arg.
(package-unpack-single): Don't use it.
2011-02-12 Karl Pflästerer <> (tiny change)
* vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
in each sub directory.
(vc-svn-registered): Use vc-svn-root.
(vc-svn-root): New function. Make vc-svn-responsible-p an alias.
(vc-svn-repository-hostname): Use "svn info".
2011-02-11 Deniz Dogan <>
* simple.el (delete-trailing-whitespace): New optional buffer
bound parameters.
2011-02-11 Bastien Guerry <>
* files.el (basic-save-buffer): save unmodified buffers when
the file pointed by buffer-file-name doesn't exist.
2011-02-11 Deniz Dogan <>
* net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
2011-02-11 Glenn Morris <>
* emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
2011-02-11 Juanma Barranquero <>
* net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
2011-02-10 Stefan Monnier <>
* server.el (server-process-filter): Use pcase.
* emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
conflicting ways.
(smie-indent--parent): Extend to "parent of arg".
(smie-indent-inside-string): New function.
(smie-indent-functions): Use it.
* vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
bzr locking race condition.
* emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
still valid before using it.
* progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
`message' -> `compilation-message' rename (bug#8004).
Move keymap initialization into declaration.
* textmodes/enriched.el (enriched-mode-map):
* textmodes/bib-mode.el (bib-mode-map):
* term/lk201.el (lk201-function-map):
* tar-mode.el (tar-mode-map):
* replace.el (occur-mode-map):
* progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
* progmodes/idlw-help.el (idlwave-help-mode-map):
* progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
* play/solitaire.el (solitaire-mode-map):
* play/snake.el (snake-mode-map, snake-null-map):
* play/pong.el (pong-mode-map):
* play/handwrite.el (menu-bar-handwrite-map):
* play/gametree.el (gametree-mode-map):
* net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
(rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
* net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
* net/net-utils.el (nslookup-mode-map, ftp-mode-map):
* menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
(menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
(menu-bar-edit-menu, menu-bar-custom-menu)
(menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
(menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
(menu-bar-line-wrapping-menu, menu-bar-options-menu)
(menu-bar-games-menu, menu-bar-encryption-decryption-menu)
(menu-bar-tools-menu, menu-bar-describe-menu)
(menu-bar-search-documentation-menu, menu-bar-manuals-menu)
* mail/rmailsum.el (rmail-summary-mode-map):
* kmacro.el (kmacro-step-edit-map):
* ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
* hi-lock.el (hi-lock-menu, hi-lock-map):
* emulation/vip.el (vip-mode-map):
* emacs-lisp/re-builder.el (reb-lisp-mode-map):
* bookmark.el (bookmark-bmenu-mode-map):
* help-mode.el (help-mode-map): Move initialization into declaration.
2011-02-10 Deniz Dogan <>
* net/rcirc.el: Add PRIVMSG and CTCP functions.
(rcirc-send-privmsg, rcirc-send-ctcp): New functions.
(rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
(rcirc-cmd-me, rcirc-authenticate): Use them.
2011-02-10 Ken Manheimer <>
* allout.el: Synopsis: Change allout user configuration so
auto-activation is controlled solely by customization
(allout-auto-activation-helper, allout-setup): New autoloads
implement new custom set procedure for allout-auto-activation.
Also, explicitly invoke (allout-setup) after allout-auto-activation
is custom-defined, to affect the settings in emacs sessions besides
the few where allout-auto-activation customization is done.
(allout-auto-activation): Use allout-auto-activation-helper to
:set. Revise the docstring.
(allout-init): Reduce functionality to just customizing
allout-auto-activation, and mark obsolete.
(allout-mode): Respect string values for allout-auto-activation.
Run allout-after-copy-or-kill-hook without any args.
(allout-mode, allout-layout, allout-default-layout)
(outlineify-sticky): Adjust docstring for new scheme.
(allout-after-copy-or-kill-hook): No arguments - hook implementers
should concentrate on the kill ring.
2011-02-09 Teodor Zlatanov <>
* password-cache.el (password-cache-remove): Accept secrets that are
not strings.
2011-02-09 Stefan Monnier <>
* progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
of here-doc that immediately follows a comment.
2011-02-09 Deniz Dogan <>
* net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
* net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
(rcirc-ctcp-sender-PING): New function.
2011-02-08 Stefan Monnier <>
* obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
Remove the mark/nomark handling, and activate shift-select-mode instead.
* obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2011-02-07 Jay Belanger <>
* calc/calc-units.el (math-logunits-quant): Add support for
non-logarithmic units.
2011-02-07 Ken Manheimer <>
* allout.el (allout-after-copy-or-kill-hook): New hook for
extension-specific processing of killed text.
(allout-mode): Include new allout-after-copy-or-kill-hook among
mentioned hooks.
(allout-kill-line, allout-kill-topic): Ensure that processing
after kill happens even if barf-if-buffer-read-only is raised.
Include new allout-after-copy-or-kill-hook among that subsequent
(allout-deannotate-hidden): Actually remove the annotation text
* allout.el (allout-listify-exposed): Copy text sans text properties.
2011-02-07 Michael Albinus <>
* net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2011-02-07 Deniz Dogan <>
* net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2011-02-06 Jay Belanger <>
* calc/calc.el (calc-logunits-field-reference): Rename from
(calc-logunits-power-reference): Rename from
* calc/calc-units.el (math-logunits-quant): Rename from
(math-logunits-plus): Rename from math-logcombine.
(calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
(calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
(calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
New functions.
(calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
(calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
(calc-logunits-quantity): Rename from `calc-level'.
(calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
(calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
(math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
(calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
(calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
New functions.
* calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
(calc-ul-prefix-help): Remove.
(calc-l-prefix-help): New function.
(calc-full-help): Add reference to `calc-l-prefix-help'.
* calc/calc-ext.el (calc-init-extensions): Update autoloads.
* calc/README: Mention logarithmic units.
2011-02-06 Chong Yidong <>
* mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
non-ASCII characters (Bug#7925).
2011-02-05 Glenn Morris <>
* emacs-lisp/cl-macs.el (return-from): Fix doc typo.
* calendar/diary-lib.el (diary-font-lock-keywords):
Tweak diary-time-regexp match. (Bug#7891)
* progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
(f90-mode): Use it for mode's `find-tag-default-function' property.
* ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
* faces.el (set-face-attribute): Doc fix. (Bug#2659)
2011-02-05 Deniz Dogan <>
* net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2011-02-05 Stefan Monnier <>
* progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
font-lock-syntax-table remappings.
(sh-here-doc-markers, sh-here-doc-re): Remove.
(sh-font-lock-close-heredoc): Remove.
(sh-syntax-propertize-here-doc): New function.
(sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
instead of the sh-here-doc-re.
(sh-font-lock-paren): Don't do anything in comments or strings.
Handle line continuations. Accept a few more chars.
Don't rely on the font-lock-syntax-table remappings.
`esac' is not a valid pattern.
(sh-syntax-propertize-function): Handle here-docs differently, so we
don't bother syntax-propertizing the insides.
* progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
Handle new bashisms ";&" and ";;&" (bug#7947).
2011-02-05 Michael Albinus <>
* net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2011-02-05 Era Eriksson <> (tiny change)
* net/tramp.el (tramp-postfix-method-format)
(tramp-postfix-method-regexp, tramp-prefix-domain-format)
(tramp-prefix-domain-regexp, tramp-postfix-user-format)
(tramp-postfix-user-regexp, tramp-prefix-port-format)
(tramp-prefix-port-regexp, tramp-postfix-host-format)
(tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
Doc fix.
2011-02-04 Sam Steingold <>
* mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2011-02-04 Andreas Schwab <>
* international/mule-util.el (with-coding-priority): Doc fix.
2011-02-04 Eli Zaretskii <>
* arc-mode.el (archive-mode-map): Fix a typo in last change.
2011-02-03 Sam Steingold <>
* progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
Do not error out when `func' is nil.
2011-02-03 Michael Albinus <>
* net/tramp-sh.el (tramp-remote-path): Add default settings for
`tramp-default-remote-path' to the docstring.
(tramp-get-remote-path): Suppress error message when `getconf
PATH' fails.
* net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2011-02-03 Glenn Morris <>
* vc/vc-hg.el (vc-hg-command): Doc fix.
* term/w32-win.el (libpng-version): Declare for compiler.
* msb.el: No need to load dired while compiling.
* emacs-lisp/elint.el (elint-standard-variables):
Remove a couple of built-ins that now have doc-strings.
* hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
`require' is automatically `eval-and-compile'd.
* net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
(rcirc-log-directory, rcirc-log-flag): Move definitions before use.
* strokes.el (strokes-fill-current-buffer-with-whitespace):
Move definition before use.
(strokes-report-bug): Make it obsolete.
2011-02-02 Sam Steingold <>
* apropos.el (apropos-print): Now that `apropos-mode' inherits
from `special-mode', entering it makes the buffer read-only, so
call it only when everything has been already inserted.
* emacs-lisp/ert.el (ert--setup-results-buffer)
(ert-results-pop-to-timings): Ditto.
* emacs-lisp/package.el (package--list-packages): Ditto.
* play/solitaire.el (solitaire): Ditto.
2011-02-02 Chong Yidong <>
* progmodes/compile.el: Make all faces inherit.
(compilation-warning): Inherit from font-lock-variable-name-face.
(compilation-info): Inherit from font-lock-type-face.
(compilation-line-number): Reassign to font-lock-keyword-face.
(compilation-column-number): Reassign to font-lock-doc-face.
(compilation-leave-directory-face): Reassign to
2011-02-02 Eli Zaretskii <>
* dired.el (dired-insert-directory): Don't invoke `ls' when
ls-lisp.el is used to emulate it.
2011-02-01 Julien Danjou <>
* color.el (color-gradient): Add a color-gradient function.
2011-02-01 Sam Steingold <>
* simple.el (special-mode-map): Bind "h" to `describe-mode';
bind "z" to `kill-this-buffer'.
(completion-list-mode-map): Bind "z" to `kill-this-buffer'.
* apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
(apropos-mode): Inherit from `special-mode'.
* arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
* bookmark.el (bookmark-bmenu-mode): Define using
`define-derived-mode' inheriting from `special-mode'.
* dired.el (dired-mode-map): Inherit from `special-mode-map'.
* image-mode.el (image-mode-map): Ditto.
* replace.el (occur-mode): Define using
`define-derived-mode' inheriting from `special-mode'.
* tar-mode.el (tar-mode): Inherit from `special-mode'.
* calendar/diary-lib.el (diary-fancy-display-mode):
Inherit from `special-mode-map'.
* emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
Inherit from `special-mode'.
* emacs-lisp/package.el (package-menu-mode-map): Copy from
(package-menu-mode): Define using `define-derived-mode'
inheriting from `special-mode'.
* net/xesam.el (xesam-mode): Inherit from `special-mode'.
(xesam-mode-map): Define separately.
* play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
* progmodes/compile.el (compilation-minor-mode-map)
(compilation-mode-map): Inherit from `special-mode-map'.
* vc/diff-mode.el (diff-mode-shared-map):
Inherit from `special-mode-map'.
* vc/log-view.el (log-view-mode-map): Add a comment.
2011-02-01 Chong Yidong <>
* custom.el (load-theme): Define return value. Drop use of
unsafep; call custom-theme-load-confirm for non-known-safe themes.
(custom-theme-load-confirm): Scroll in the correct window.
(custom-enabled-themes): Add custom-safe-themes to :set-after.
* cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
checkbox if load-theme fails.
2011-02-01 Stefan Monnier <>
* progmodes/compile.el (compilation-next-error): Check there's
a message before using it (bug#7941).
2011-02-01 Jay Belanger <>
* calc/calc-mtx.el (math-lud-pivot-check): New function.
(math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
of potential pivots.
2011-01-31 Alan Mackenzie <>
* progmodes/cc-cmds.el (c-forward-over-illiterals):
Continue parsing if we encounter a naked # (Bug#7595).
(c-beginning-of-statement): Avoid loop in locating the beginning
of a macro. (Not actually committed until 2011-02-20, see above).
2011-01-31 Chong Yidong <>
* files.el (copy-directory): Fix arguments to recursive call.
2011-01-31 Chong Yidong <>
* files.el (copy-directory): If destination is an existing
directory, copy into a subdirectory there.
2011-01-31 Andreas Schwab <>
* emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2011-01-31 Chong Yidong <>
* image-dired.el (image-dired-mouse-display-image): No-op if no
file is found (Bug#7817).
* mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2011-01-31 Kenichi Handa <>
* international/quail.el (quail-keyboard-layout-alist):
Remove superfluous SPC for "pc105-uk" (bug#7927).
2011-01-31 Glenn Morris <>
* msb.el (msb-menu-bar-update-buffers): Update for changed
argument handling of menu-bar-select-frame. (Bug#7902)
2011-01-31 Chong Yidong <>
* progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
to the recursion depth (Bug#7722).
2011-01-31 Roy Liu <> (tiny change)
* term/ns-win.el (ns-find-file): Expand ns-input-file with
command-line-default-directory (Bug#7872).
2011-01-31 Stefan Monnier <>
* progmodes/compile.el (compilation--flush-directory-cache):
New function, extracted from compilation--remove-properties.
(compilation--remove-properties, compilation--parse-region): Use it.
(compilation--previous-directory): Handle one more case.
(compilation-enable-debug-messages): Remove.
(compilation-parse-errors, compilation--flush-parse): Just remove the
left over debug messages.
2011-01-31 Sam Steingold <>
* progmodes/compile.el (compilation-enable-debug-messages):
Add a variable to make the parsing messages introduced in
2011-01-28T22:12:05Z! optional.
(compilation-parse-errors, compilation--flush-parse): Use it.
2011-01-31 Deniz Dogan <>
* net/rcirc.el: New customizable nick completion format. (Bug#6314)
(rcirc-nick-completion-format): New defcustom.
(rcirc-complete): Use it.
2011-01-31 Deniz Dogan <>
* net/rcirc.el: Clean log filenames (Bug#7933).
(rcirc-log-write): Use convert-standard-filename.
(rcirc-log-filename-function): Documentation updates.
2011-01-30 Jan Djärv <>
* mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
Check report-emacs-bug-can-use-osx-open and use that if t.
(report-emacs-bug-can-use-osx-open): New function.
(report-emacs-bug): Rename can-xdg-email to can-insert-mail.
Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2011-01-29 Chong Yidong <>
* vc/vc-dispatcher.el (vc-set-async-update): New function for
updating Dired or VC-dir buffers after async command completes.
* vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
(vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
* vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
completions if it exists. Use vc-set-async-update.
(vc-git-pull): Use vc-set-async-update.
* vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
read-shell-command. Use vc-set-async-update.
(vc-hg-merge-branch): Use vc-set-async-update.
2011-01-29 Daiki Ueno <>
* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2011-01-29 Stefan Monnier <>
* progmodes/compile.el: Avoid an N² behavior in grep.
(compilation--previous-directory): New fun.
(compilation--previous-directory-cache): New var.
(compilation--remove-properties): Flush it.
(compilation-directory-properties, compilation-error-properties):
Use the new fun to speed up looking for the current directory.
2011-01-29 Chong Yidong <>
* vc/vc-hg.el (vc-hg-history): New var.
(vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
(vc-hg-merge-branch): New function.
* vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
the other way around.
* vc/vc-git.el (vc-git-branches, vc-git-pull)
(vc-git-merge-branch): New functions.
(vc-git-history): New var.
2011-01-28 Chong Yidong <>
* vc/vc-dispatcher.el (vc-do-async-command): New function.
* vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
* vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
Callers changed.
2011-01-28 Leo Liu <>
* emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
highlighting to the "this function is advised" message.
* help-mode.el (help-mode-finish): Apply highlighting here, to
avoid clobbering by substitute-command-keys (Bug#6304).
2011-01-28 Chong Yidong <>
* woman.el (woman0-roff-buffer): Process roff escape sequences
occurring prior to the first request (Bug#7843).
2011-01-28 Stefan Monnier <>
* progmodes/compile.el: Don't use font-lock any more.
(compilation-error-regexp-alist-alist): Change handling of makepp
so it preserves the warning/error distinction on subsequent files.
Simplify various rules.
(compilation-directory-properties): Use font-lock-face.
Add a compilation-message property.
(compilation-internal-error-properties): Use font-lock-face.
Don't set the compilation-debug property here.
(compilation--put-prop, compilation--remove-properties)
(compilation--parse-region, compilation--ensure-parse)
(compilation--ensure-parse): New functions.
(compilation-parse-errors): New function, largely inspired of
compilation-mode-font-lock-keywords. Set compilation-debug here.
(compilation--parsed): New var.
(compilation--flush-parse): Use compilation--ensure-parse.
(compilation-start): Don't call font-lock.
(compilation-turn-on-font-lock): Remove.
(compilation-setup): Don't set font-lock-extra-managed-props not change
other font-lock settings, other than keywords.
Don't activate font-lock-mode.
Set change-major-mode-hook and before-change-functions.
(compilation--unsetup): Remove properties and hooks.
(compilation-next-single-property-change): New function.
(compilation-next-error): Use it to parse when needed.
(compile-goto-error): Parse buffer as needed.
(compilation--compat-error-properties): Don't need a dummy `face'
property any more.
2011-01-28 Stefan Monnier <>
* progmodes/compile.el: Use accessors for clarity and fix omake hack.
(compilation-process-setup-function): Fix docstring's false promises.
(compilation-error-regexp-alist-alist): Catch omake's continuous
recompilation message and avoid reuse of old markers.
(compilation-parse-errors-function): Declare obsolete.
(compilation-buffer-modtime): Remove.
(compilation--make-cdrloc, compilation--loc->col)
(compilation--loc->line, compilation--loc->file-struct)
(compilation--loc->marker, compilation--loc->visited)
(compilation--make-file-struct, compilation--file-struct->file-spec)
(compilation--file-struct->loc-tree): New macros. Use them.
(compilation--message): New defstruct. Use them.
(compilation-next-error-function): Don't mess with timestamps to try
and guess when to reparse.
2011-01-28 Stefan Monnier <>
* textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
(tex-old-error-file-name): New function,
extracted from tex-compilation-parse-errors.
(tex-compilation-parse-errors): Remove.
(tex-error-regexp-alist): New var.
(tex-shell): Use it to avoid compilation-parse-errors-function.
* progmodes/grep.el (grep-regexp-alist): Tighten regexp.
(grep-mode-font-lock-keywords): Remove regexp that seems like
a left-over from before we used compile.el.
(grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
modifying the buffer within with-silent-modifications.
* progmodes/compile.el: Cleanup text-properties namespace by using
`compilation-message' instead of `message', `compilation-directory'
instead of `directory', and `compilation-debug' instead of `debug'.
(compilation-last-buffer, compilation-parsing-end)
(compilation-error-list, compilation-old-error-list): Move to the
compatibility part of the code.
(compilation-error-properties): If `file' is a function, let it return
a file name.
(compilation-mode-font-lock-keywords): Be more conservative with the
omake "^ *" pattern prefix, to try and minimize the risk of
pathologically slow regexp matching.
(compilation-start): Use inhibit-read-only.
(compilation--unsetup): New function.
(compilation-shell-minor-mode, compilation-minor-mode): Use it.
(compilation-filter): Minor tweaks.
(compilation-next-error-function): Try and avoid abusing variables.
(compilation--flush-file-structure): New fun.
(compilation-fake-loc): Use it to improve behavior when file is reused.
(debug-ignored-errors): Add "Moved past last ...".
(compilation--compat-parse-errors): Rename by doubling the "-".
Port features from the previous prolog.el to the new one.
* progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
(prolog-program-name, prolog-program-switches, prolog-consult-string)
(prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
variable and use a function to compute the value dynamically.
(prolog-prompt-regexp): Add regexp for GNU Prolog.
(prolog-continued-prompt-regexp): Remove, unused.
(prolog-find-value-by-system): Try and use the value of prolog-system
in the *prolog* buffer if it helps.
(prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
(prolog-zip-on): ..and check prolog-system and version here instead.
(prolog-inferior-self-insert-command): New command.
(prolog-inferior-mode-map): Use it.
(prolog-inferior-error-regexp-alist): New var.
(prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
(prolog-input-filter): Use derived-mode-p.
(prolog-inferior-guess-flavor): New function.
(prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
make-comint to avoid running comint-mode twice.
(prolog-inferior-buffer): New fun.
(prolog-old-process-region, prolog-old-process-file):
Don't call prolog-bsts here...
(prolog-build-prolog-command): it here instead.
(prolog-old-process-region, prolog-old-process-file):
Use compilation-fake-loc and compilation-forget-errors.
(prolog-consult-compile-region): Use bolp.
2011-01-28 Chong Yidong <>
* image-mode.el (image-display-size): Doc fix (Bug#7820).
2011-01-27 Sam Steingold <>
* midnight.el (clean-buffer-list-kill-never-buffer-names):
Remove "*server*" which is never created by emacs server.
2011-01-27 Deniz Dogan <>
* vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
there are some diff switches.
2011-01-27 Stefan Monnier <>
* progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Copy change made to ruby-font-lock-syntactic-keywords.
* htmlfontify.el: Make it obey the font-lock-face text property.
Miscellaneous cleanup such as:
- Don't hide expressions after a closing paren.
- Move initial setq into let.
- Hoist common parts out of ifs.
(hfy-p-to-face, hfy-p-to-face-lennart): Remove.
(hfy-face-at): Use get-text-property instead.
(hfy-prop-invisible-p): Use invisible-p if available.
(htmlfontify-manual): Use \\[...].
(hfy-html-quote-regex): Use [...].
(hfy-combined-face-spec): Simplify.
(hfy-compile-face-map): Don't presume point-min==1.
(hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
match end of string.
(hfy-text-p): η-reduce.
(hfy-tags-for-file): Receive cache-hash directly.
(hfy-mark-tag-names): Adjust call.
2011-01-27 Glenn Morris <>
* msb.el (msb-after-load-hooks): Make it an obsolete alias.
(msb-after-load-hook): Remove eval-after-load wackiness.
2011-01-25 Sam Steingold <>
* vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
literal "diff" (important for windows-nt).
2011-01-25 Glenn Morris <>
* emacs-lisp/copyright.el (copyright-at-end-flag)
(copyright-names-regexp): Add safety properties.
(copyright-year-ranges): New option.
(copyright-find-end): New function, split from copyright-update-year.
(copyright-update-year): Use copyright-find-end.
(copyright-fix-years): Optionally, convert years to ranges.
Handle years continued over comment lines.
Do not mess with the fill-prefix.
Do not call copyright-update.
(copyright-update-directory): Optionally, fix years rather than update.
Skip directories. Find files with only safe local vars.
2011-01-25 Stefan Monnier <>
* files.el (file-name-non-special): Only change buffer-file-name after
insert-file-contents if it's `visit'ing the file (bug#7854).
2011-01-25 Chong Yidong <>
* dired.el (dired-revert): Doc fix (Bug#7758).
* simple.el (line-move-visual): Doc fix (Bug#7594).
2011-01-25 Nobuyoshi Nakada <>
* progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
here-doc which ends with an underscore.
(ruby-mode-set-encoding): Skip shebang line always.
(ruby-mode-map): Bind C-c C-c to comment-region.
(ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
(ruby-forward-sexp): Stop after literal hash key labels.
(ruby-font-lock-syntactic-keywords): Highlight regexp after open
2011-01-25 Keitaro Miyazaki <> (tiny change)
* emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
the correct buffer (Bug#7650).
2011-01-25 Glenn Morris <>
* comint.el (comint-mode): Doc fix. (Bug#7897)
* simple.el (do-auto-fill): Give it a doc string.
* button.el (make-text-button): Doc fix. (See bug#7881)
2011-01-24 Stefan Monnier <>
* progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
Don't move backward, so as not to fall in an inf-loop (bug#7736).
* progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
Handle ?" and friends differently (e.g. don't use backrefs).
2011-01-24 Jay Belanger <>
* calc/calc.el (calc-default-power-reference-level)
(calc-default-field-reference-level): New variables.
* calc/calc-units.el (math-standard-units): Add dB and Np.
(math-logunits): New variable.
(math-extract-logunits, math-logcombine, calcFunc-luplus)
(calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
(calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
New functions.
(math-find-base-units-rec): Add entry for ln(10).
* calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
(calc-ul-prefix-help): New function.
* calc/calc-ext.el (calc-init-extensions): Autoload new units
functions. Add keybindings for new units functions.
2011-01-22 Giorgos Keramidas <> (tiny change)
* net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
rcirc buffers. (Bug#4940)
2011-01-22 Glenn Morris <>
* emacs-lisp/copyright.el (copyright-find-copyright): New function,
split out from copyright-update-year.
(copyright-update): Don't mess with the GPL version if we don't own the
copyright. Update license regexp, and remove no longer needed
Esperanto stuff.
(copyright-fix-years): Use copyright-find-copyright.
2011-01-22 Chong Yidong <>
* vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2011-01-22 Jari Aalto <>
* play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
(lm): Rename to landmark.
(lm-test-run): Rename to landmark-test-run.
2011-01-22 Chong Yidong <>
* emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
"Case sensitive" menu item.
2011-01-22 Roland McGrath <>
* comint.el (comint-replace-by-expanded-history-before-point): Fix
expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2011-01-22 Stefan Monnier <>
* progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2011-01-22 Jari Aalto <>
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Assume foo(bar) is a manpage reference rather than some unquoted
symbol (bug#7705).
2011-01-22 Stefan Monnier <>
* subr.el (shell-quote-argument): Properly quote \n (bug#7687).
Suggested by Flo <>.
2011-01-22 Glenn Morris <>
* progmodes/compile.el (compilation-error-regexp-alist):
Fix custom type. (Bug#7812)
2011-01-22 Ken Manheimer <>
* allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
allout-number-siblings, in keeping with what obtained due to
(now-defunct) allout-keybindings-list. Ditch repeat binding to
(prefixed) ?i.
(allout-before-change-handler): Better expose spots affected by
2011-01-22 Chong Yidong <>
* man.el (Man-highlight-references0): Use make-button (Bug#7881).
2011-01-22 Phil Hagelberg <>
* pcmpl-unix.el (pcmpl-ssh-config-file): New option.
(pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
(pcmpl-ssh-config-hosts): New function.
(pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2011-01-21 Jay Belanger <>
* calc/calc-undo.el (calc-undo): Autoload it.
* calc/calc-ext.el (calc-init-extensions): Remove keybindings
and autoload for `calc-undo'.
* calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
* calc/calc-prog.el:
* calc/calc-graph.el:
* calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2011-01-21 Štěpán Němec <> (tiny change)
* calc/calc-ext.el (calc-init-extensions): Map all `undo'
keybindings to `calc-undo'.
2011-01-20 Stefan Monnier <>
Don't mess with *temp*.
* obsolete/spell.el: Move from textmodes/spell.el.
* term.el (term-read-input-ring):
* startup.el (display-startup-echo-area-message):
* progmodes/antlr-mode.el (antlr-directory-dependencies):
* comint.el (comint-read-input-ring): Use with-temp-buffer.
* international/mule.el (ctext-pre-write-conversion): Don't hardcode
2011-01-20 Ken Manheimer <>
* allout.el (allout-institute-keymap): Use fset instead of
reapplying defalias.
(allout-hotspot-key-handler): Check for non-control-modified
bindings for hotspot characters if there are no control-modified
* allout.el: Summary - migrate to defining allout mode using
define-minor-mode instead of defun. Significantly clean-up
internal keymap provisions, refactoring and, in the process,
removing a lot of accumulated cruft.
allout-mode-map is now a keymap by virtue of being a defalias to
allout-mode-map-value, which contains the actual keymap structure.
(allout-mode): Use define-minor-mode rather than defun.
Remove now-unnecessary minor-mode setup activities from the body.
Specify :keymap as allout-mode-map so the minor-mode-map-alist
entry will be '(allout-mode . allout-mode-map) - see
allout-mode-map-value, below. Adjust docstring to track changes.
(allout-minor-mode): Remove this defalias, now that we're using
(allout-mode-map): Set value to be 'allout-mode-map. The actual
keymap is allout-mode-map-value, via defalias.
(allout-mode-map-value): The variable holding the actual mode
keymap structure, by virtue of defalias from allout-mode-map.
(allout-compose-and-institute-keymap): Rename from
allout-bind-keys, and including the binding-composition
functionality of the former produce-allout-mode-map and
(allout-institute-keymap): Take over the "setup" part of the former
allout-setup-mode-map. Reassign allout-mode-map-value value and
update the defalias.
(allout-command-prefix, allout-prefixed-keybindings)
Use allout-compose-and-institute-keymap to process the bindings.
(allout-unprefixed-keybindings): Remove extraneous '?' question marks.
(allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
user can customize if they want to use that binding.
Bind allout-copy-topic-as-kill to (prefixed) \M-k.
Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
elided that, previously, instead of the one for \C-h.)
(allout-hotspot-key-handler): Remove attempt to resolve the key
through the literal key-string lookup on allout-keybindings-list.
That probably hasn't worked for a Long Time, and removal of
allout-keybindings-list further simplifies the keybindings situation.
(allout-pre-command-business): Use allout-mode-map-value instead
of allout-mode-map.
(allout-preempt-trailing-ctrl-h): Remove. The user can customize
the bindings if they want to use a keybinding having a trailing
\C-h. No deprecation needed since this feature was never in a release.
(allout-keybindings-list): Remove. It's not been useful for a
while. (See allout-hotspot-key-handler changes, above.)
(produce-allout-mode-map): Remove. Consolidate into
(allout-mode-map-adjustments): Remove. No longer necessary with
removal of allout-preempt-trailing-ctrl-h.
(allout-setup-mode-map): Remove. Consolidate into
allout-compose-and-institute-keymap and allout-institute-keymap.
2011-01-20 Glenn Morris <>
* vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
* simple.el (read-expression-history): Remove, it's in minibuf.c.
2011-01-20 Chong Yidong <>
* subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
* files.el (find-alternate-file, basic-save-buffer)
(basic-save-buffer-2, revert-buffer, recover-file)
(kill-buffer-ask, abort-if-file-too-large)
(set-visited-file-name, write-file, backup-buffer)
(basic-save-buffer, save-some-buffers):
* dired-aux.el (dired-compress-file): Callers changed.
2011-01-19 Glenn Morris <>
* vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
Also check the property status. (Bug#7861)
2011-01-18 Michael Albinus <>
* net/tramp.el (tramp-debug-message): Extend function exclude
list. Use `regexp-opt'.
2011-01-18 Stefan Monnier <>
* textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
highlighting doesn't spill over subsequent lines.
* emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
keymap expression. Improve docstring.
* electric.el (electric-indent-post-self-insert-function):
Don't auto-indent for indent-to-left-margin, it's too often
2011-01-17 Paul Eggert <>
* dired.el: Regenerate.
2011-01-16 Tassilo Horn <>
* strokes.el (strokes-read-stroke): Re-fill strokes buffer with
spaces if the frame was resized, so that the full visible buffer
serves as canvas for strokes.
2011-01-16 Glenn Morris <>
* info-xref.el (info-xref-docstrings): Replace cl function.
Also skip directories.
2011-01-16 Kevin Ryde <>
* info-xref.el: Version 3.
(info-xref-check, info-xref-check-all): Move commentary details
into docstrings for better visibility.
Use compilation-mode for the results buffer.
(info-xref-output, info-xref-output-error, info-xref-with-output)
(info-xref-filename, info-xref-in-progress):
New internals for this.
(info-xref-check-list, info-xref-check-buffer)
(info-xref-check-all-custom): Use those.
(info-xref-output-buffer): Rename from info-xref-results-buffer.
(info-xref-output-heading): Rename from info-xref-filename-heading.
(info-xref-good, info-xref-bad, info-xref-xfile-alist)
(info-xref-filename-heading): Move to output managing section.
(info-xref-docstrings): New command checking "Info node `(foo)Bar'"
(info-xref-lock-file-p, info-xref-with-file): New helpers for it.
(info-xref-subfile-p): Move to generic section with those two.
(info-xref-check-node): New function split from
info-xref-check-buffer, shared by info-xref-docstrings.
(info-xref-goto-node-p): Move to a checking section with that func.
(info-xref-unavail): New counter.
(info-xref-check-node): Use it.
(info-xref-with-output): Show count of unavailables at end of output.
(info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
symlinks. Exclude .texi files. Exclude Emacs backup files.
(info-xref-check-all-custom): Fix quietening viper-mode and
gnus-registry-install -- use setq not let so as not to unbind
after load.
2011-01-16 Juri Linkov <>
* isearch.el (isearch-abort): Don't quit if search has
an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2011-01-15 Mark Diekhans <>
* files.el (backup-buffer): Make last-resort backup file in
.emacs.d (Bug#6953).
* subr.el (locate-user-emacs-file): If .emacs.d does not exist,
make it with permission 700.
2011-01-15 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-insert-header):
Set rmail-mime-coding-system to a cons whose car is the last coding
system used to decode the header.
(rmail-mime-find-header-encoding): New function.
Override rmail-mime-coding-system if it is a cons.
(rmail-show-mime): If only a header part was decoded, find the
coding system while ignoring mm-charset-override-alist.
2011-01-15 Chong Yidong <>
* subr.el (event-start, event-end): Doc fix (Bug#7826).
2011-01-15 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-next-item)
(rmail-mime-previous-item): Delete them.
(rmail-mime-shown-mode): Recursively call for children.
(rmail-mime-hidden-mode): Delete the 2nd arg TOP.
Callers changed.
(rmail-mime-raw-mode): Recursively call for children.
(rmail-mode-map): Change mapping of tab and backtab to
forward-button and backward-button respectively.
(rmail-mime-insert-tagline): Always insert "Hide" or "Show"
(rmail-mime-update-tagline): New function.
(rmail-mime-insert-text): Call rmail-mime-update-tagline if the
body display is changed.
(rmail-mime-toggle-button): Rename from rmail-mime-image.
(rmail-mime-image): Delete this button type.
(rmail-mime-toggle): New button type.
(rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
body display is changed. Change the save button label to "Save".
Don't process show/hide button here.
(rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
the body display is changed. Unconditionally call
rmail-mime-insert for children.
(rmail-mime-handle): Update `display' vector of the just inserted
(rmail-mime-process): If mail-header-parse-content-type returns
nil, use "text/plain" as the fallback type.
(rmail-mime-insert): For raw-mode, recursively call
rmail-mim-insert for children.
(rmail-mime): Handle the case that the current buffer is not rmail
buffer (e.g. in summary buffer).
2011-01-15 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-next-item)
(rmail-mime-previous-item): Skip the body of a non-multipart
entity if a tagline is shown.
2011-01-15 Stefan Monnier <>
* tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
(tmm-prompt): Simplify.
(tmm-add-prompt): Remove unused var `win'.
* whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
to minor mode which used nil accidentally to mean "turn off".
2011-01-15 Michael Albinus <>
* net/tramp-sh.el (tramp-find-inline-compress)
(tramp-get-inline-coding): Quote command after pipe symbol for
local calls under W32. (Bug#6784)
2011-01-15 Michael Albinus <>
* net/tramp.el (tramp-default-method): Initialize with pscp/plink
only when running under W32.
2011-01-15 Eli Zaretskii <>
* progmodes/grep.el (grep-compute-defaults): Quote the program
file name after the pipe symbol in Grep templates. (Bug#6784)
* jka-compr.el (jka-compr-partial-uncompress): Likewise.
2011-01-15 Lennart Borgman <>
* buff-menu.el (Buffer-menu-buffer-list): New var.
(Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
restricted buffer list is not lost on revert (Bug#7749).
2011-01-15 Eric Hanchrow <>
* net/ldap.el (ldap-search-internal): Discard stderr output.
2011-01-15 Eli Zaretskii <>
* files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2011-01-15 Stefan Monnier <>
* vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2011-01-15 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
part as a plain text.
(rmail-mime-process-multipart): Set the default content-type to
nil for unknown multipart subtypes (bug#7651).
2011-01-14 Stefan Monnier <>
* hexl.el (hexl-mode-old-*): Remove.
(hexl-mode--old-var-vals): New var to replace them.
(hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
(hexl-mode, hexl-follow-line, hexl-activate-ruler):
Use them to set local vars (bug#7846).
(hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
(hexl-backward-short, hexl-backward-word, hexl-scroll-down)
(hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
* vc/smerge-mode.el: Resolve comment conflicts more aggressively.
(smerge-resolve--normalize-re): New var.
(smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
(smerge-resolve): Use them.
* newcomment.el (comment-only-p): New function.
(comment-or-uncomment-region): Use it.
2011-01-14 Brent Goodrick <> (tiny change)
* abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
table, get the value before switching to the output buffer. (Bug#7733)
2011-01-14 Stefan Monnier <>
* progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2011-01-14 Kim F. Storm <>
* emulation/cua-base.el (cua--init-keymaps):
Remap exchange-point-and-mark in cua-global-keymap.
2011-01-14 Tassilo Horn <>
* progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
loop keyword.
2011-01-14 Stefan Monnier <>
* emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
Require CL.
(easy-menu-create-menu, easy-menu-convert-item-1):
Use :label rather than nil for labels. Use `case'.
Add :enable as alias for :active.
(easy-menu-binding): Obey :label.
2011-01-13 Stefan Monnier <>
Use run-mode-hooks for major mode hooks (bug#513).
* textmodes/reftex-toc.el (reftex-toc-mode-map):
Rename from reftex-toc-map.
(reftex-toc-mode): Use define-derived-mode.
* textmodes/reftex-sel.el (reftex-select-shared-map): New map.
(reftex-select-label-mode-map, reftex-select-bib-mode-map):
Rename from reftex-select-(label|bib)-map. Move init into declaration.
(reftex-select-label-mode, reftex-select-bib-mode):
Use define-derived-mode.
* textmodes/reftex-index.el (reftex-index-phrases-mode-map)
(reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
Move init into declaration.
(reftex-index-mode, reftex-index-phrases-mode):
Use define-derived-mode.
* speedbar.el (speedbar-mode-syntax-table): Renaqme from
speedbar-syntax-table. Move init into declaration.
(speedbar-mode-map): Rename from speedbar-key-map.
Move init into declaration.
(speedbar-file-key-map): Move init into declaration.
(speedbar-mode): Use define-derived-mode.
* recentf.el (recentf-mode): Don't run hook (or message) redundantly.
* net/rcirc.el (rcirc-mode): Use run-mode-hooks.
* emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
(chart-face-list): Move initialization into declaration.
(chart-mode): Use define-derived-mode.
* calculator.el (calculator-mode-map): Move init into declaration.
(calculator-mode): Use define-derived-mode.
* mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
work for nested comments.
* progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
(prolog-use-prolog-tokenizer-flag): Change default when
syntax-propertize can be used.
(prolog-syntax-propertize-function): New var.
(prolog-mode-variables): Move make-local-variable into `set'.
Don't make comment-column local since we don't set it.
Set comment-add (as it was in previous prolog.el). Use dolist.
Set syntax-propertize-function.
(prolog-mode, prolog-inferior-mode):
Call prolog(-inferior)-menu directly, not through the mode-hook.
(prolog-buffer-module, prolog-indent-level)
(prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
(prolog-comment-limits, prolog-goto-comment-column):
Use line-(end|beginning)-position.
(prolog-build-prolog-command): Tighten up regexp.
(prolog-consult-compile): Move make-local-variable into `set'.
(prolog-consult-compile-filter, prolog-goto-next-paren)
(prolog-help-on-predicate, prolog-clause-info)
(prolog-mark-predicate): Don't let+setq.
(prolog-indent-line): Use indent-line-to.
Only call prolog-goto-comment-column if necessary.
(prolog-indent-level): Use bobp.
(prolog-first-pos-on-line): Remove, not used any more.
(prolog-in-string-or-comment): Use syntax-ppss if available.
(prolog-help-on-predicate): Use read-string.
(prolog-goto-predicate-info): Simplify.
(prolog-read-predicate): Use `default' rather than `initial'.
(prolog-temporary-file): Use make-temp-file to close a security hole.
(prolog-toggle-sicstus-sd): New command.
(prolog-electric-underscore, prolog-variables-to-anonymous):
Use dynamic-scoping as it was meant.
(prolog-menu): Move menu definitions to top-level.
Use a toggle-button for Sicstus's source debugger.
Change "Code" to the more usual "Prolog", and hence change "Prolog"
to "System".
(prolog-inferior-menu): Reuse prolog-menu's help menu.
Move other menu definition to top-level.
2011-01-13 Tassilo Horn <>
* doc-view.el (doc-view-open-text): Use meaningful text buffer
name. Keep original document's directory as default-directory
(doc-view-initiate-display): Fall back to normal mode when
doc-view-mode cannot be enabled, also when extracting the document
text into a separate buffer (bug#6446).
* simple.el (shell-command): Don't error out if shell command
buffer contains text with non-nil read-only property when erasing
the buffer.
2011-01-13 Kim F. Storm <>
* ido.el (ido-may-cache-directory): Move "too-big" check later.
(ido-next-match, ido-prev-match): Fix stray reordering of matching
items when cycling through the matches.
2011-01-13 Tassilo Horn <>
* dired-x.el (dired-omit-verbose): New defcustom that allows
disabling the omit messages.
(dired-omit-expunge): Use it.
2011-01-13 Christian Ohler <>
* emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2011-01-13 Chong Yidong <>
* font-lock.el (font-lock-verbose): Default to nil.
2011-01-13 Chong Yidong <>
* simple.el (sendmail-user-agent-compose): Move to sendmail.el.
(compose-mail): New arg RETURN-ACTION.
(compose-mail-other-window, compose-mail-other-frame): Likewise.
* mail/sendmail.el (mail-return-action): New var.
(mail-mode): Make it buffer-local.
(mail-bury): Obey it. Move special Rmail window handling to
(mail, mail-setup): New arg RETURN-ACTION.
(sendmail-user-agent-compose): Move from simple.el.
* mail/rmail.el (rmail-mail-return): New function.
(rmail-start-mail): Pass it to compose-mail.
2011-01-12 Chong Yidong <>
* menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
menus. Add menu item for customize-themes.
* cus-theme.el (customize-themes):
* emacs-lisp/package.el (package--list-packages):
Use switch-to-buffer.
2011-01-11 Johan Bockgård <>
* emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2011-01-11 Stefan Monnier <>
* progmodes/prolog.el: Fix up coding convention and such.
(prolog-indent-width): Use the same default as in
previous prolog.el rather than tab-width which depends on which buffer
is current when the file is loaded.
(prolog-electric-newline-flag): Only enable if electric-indent-mode
is not available.
(prolog-emacs): Remove. Use (featurep 'xemacs) instead.
(prolog-known-systems): Remove.
(prolog-mode-syntax-table, prolog-inferior-mode-map):
Move initialization into declaration.
(prolog-mode-map): Move initialization into declaration.
Remove system-specific mode-map vars, since they referred to the same
keymap anyway.
(prolog-mode-variables): Obey the user's preference w.r.t
adaptive-fill-mode. Prefer symbol-value to `eval'.
(prolog-mode-keybindings-edit): Add compatibility bindings.
(prolog-mode): Use define-derived-mode. Don't handle mercury here.
(mercury-mode-map): New var.
(mercury-mode, prolog-inferior-mode): Use define-derived-mode.
(prolog-ensure-process, prolog-process-insert-string)
(prolog-consult-compile): Use with-current-buffer.
(prolog-guess-fill-prefix): Simplify data flow.
(prolog-replace-in-string): New function to use instead of
(prolog-enable-sicstus-sd): Don't abuse `eval'.
(prolog-uncomment-region): Use `uncomment-region' when available.
(prolog-electric-colon, prolog-electric-dash): Use `eolp'.
(prolog-int-to-char, prolog-char-to-int): New functions to use instead
of int-to-char and char-to-int.
(prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2011-01-11 Stefan Bruda <>
* progmodes/prolog.el: Replace by a whole new file.
2011-01-11 Stefan Monnier <>
* subr.el (eval-after-load): Fix timing for features (bug#7769).
(declare-function, undefined, insert-for-yank)
(replace-regexp-in-string): Follow checkdoc's recommendations.
2011-01-10 Stefan Monnier <>
* calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
refreshing the diary buffer.
2011-01-10 Ken Manheimer <>
* allout.el: Add 2011 to the file copyright.
(allout-encrypt-string): Prevent encryption from adding an extra
newline at the end of the topic body.
(allout-version): Increment to 2.3.
2011-01-10 Michael Albinus <>
* net/dbus.el (dbus-unregister-service): Complete doc.
Fix call of dbus-error signal.
(dbus-register-property): Use `dont-register' keyword.
2011-01-10 Jan Moringen <>
* net/dbus.el (dbus-unregister-service): Translate returned
integer into a symbol.
(dbus-register-property): Use `dbus-register-service' to do the
name registration.
2011-01-09 Chong Yidong <>
* progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
Suggested by Joakim Verona.
* comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
* wid-edit.el (visibility): Replace :on-image and :off-image
widget properties with :on-glyph and :off-glyph, for consistency
with the `visibility' widget.
(widget-toggle-value-create, widget-visibility-value-create):
Merge into a single function `widget-toggle-value-create'.
* cus-edit.el (custom-variable-value-create, custom-visibility)
(custom-face-edit-value-create, custom-face-value-create):
Replace :on-image and :off-image widget properties with :on-glyph and
:off-glyph, for consistency with the `visibility' widget.
2011-01-09 Andreas Schwab <>
* net/ldap.el (ldap-search-internal): Don't use eval.
2011-01-09 Chong Yidong <>
* subr.el (read-char-choice): Use read-key.
* custom.el (custom-safe-themes): Rename from
custom-safe-theme-files. Add :risky tag.
(load-theme, custom-theme-load-confirm): Save sha1 hashes to
custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2011-01-09 Chong Yidong <>
* tool-bar.el (tool-bar-setup): Remove Help button. Remove label
from Search and add a label to Undo.
* vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
inappropriate buttons and adding :vert-only tags.
* progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
removal of Help tool-bar button. Remove Undo button for space.
* info.el (info-tool-bar-map): Add :vert-only tags.
2011-01-08 Tassilo Horn <>
* doc-view.el (doc-view-mode-p): Check for png or imagemagick
image backend support. Either of them is fine.
2011-01-08 Chong Yidong <>
* subr.el (y-or-n-p): Doc fix.
* custom.el (custom-safe-theme-files): New defcustom.
(custom-theme-load-confirm): New function.
(load-theme): Load theme using `load', confirming with
custom-theme-load-confirm if necessary.
* subr.el (read-char-choice): New function, factored out from
dired-query and hack-local-variables-confirm.
* dired-aux.el (dired-query):
* files.el (hack-local-variables-confirm): Use it.
* dired-aux.el (dired-compress-file):
* files.el (abort-if-file-too-large, find-alternate-file)
(set-visited-file-name, write-file, backup-buffer)
(basic-save-buffer, basic-save-buffer-2, save-some-buffers)
(delete-directory, revert-buffer, recover-file, kill-buffer-ask):
Use new format string args for y-or-n-p and yes-or-no-p.
2011-01-08 Andreas Schwab <>
* progmodes/compile.el (compilation-error-regexp-alist-alist)
[gcc-include]: Tighten file name match, add match for column
number. (Bug#7806)
[gnu]: Remove unused group.
2011-01-08 Glenn Morris <>
* makefile.w32-in (EMACSOPT): Add --no-site-lisp.
* makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2011-01-07 Sam Steingold <>
* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
the `explicit-shell-file-name' because that is the
non-interactive shell.
2011-01-07 Chong Yidong <>
* subr.el (y-or-n-p): Accept format string args.
2011-01-07 Glenn Morris <>
* (EMACSOPT): Add --no-site-lisp.
2011-01-06 Ken Manheimer <>
* allout.el (allout-back-to-current-heading): Ensure return to
the visible containing topic, rather than a collapsed one.
(allout-view-change-hook): Remove hook that was deprecated long ago.
(allout-exposure-change-hook): Remove documentation remarks
concerning removed allout-view-change-hook.
(allout-flag-region): Remove invocation of and documentation
remarks concerning allout-view-change-hook.
2011-01-06 Glenn Morris <>
* vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
Handle authors with embedded spaces. (Bug#7792)
2011-01-05 Tassilo Horn <>
* doc-view.el (doc-view-image-width): New variable.
(doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
backend for PNG images, and do dynamic rescaling instead of
reconverting the whole doc.
2011-01-05 Glenn Morris <>
* emacs-lisp/rx.el (rx-repeat): Replace CL function.
2011-01-04 Ken Manheimer <>
* allout.el: Reconcile with changes in line movement behavior for
long text lines that cross more than a single physical window
line, ie when truncate-lines is nil.
(allout-next-visible-heading): Provide for change in line-move
behavior on long lines when truncate-lines is nil. In that case,
line-move can wind up on the same textual line when it moves to
the next window line, and moving to the bullet position after the
move yields zero advancement. Add logic to detect and compensate
for the lack of progress.
(allout-current-topic-collapsed-p): move-end-of-line respect for
field boundaries is different when operating with body lines
shorter than window width versus ones greater than window width,
which can yield false negatives in this function. Avoid
difference by applying move-end-of-line while field-text-motion is
2011-01-04 Glenn Morris <>
* textmodes/rst.el (rst-compile-toolsets):
Add pdf and s5 to option alist.
2011-01-04 Jan Moringen <>
* net/dbus.el (dbus-register-property): Add optional parameter
dont-register-service. Updated docstring accordingly.
2011-01-04 Andreas Schwab <>
* textmodes/rst.el (rst-compile-pdf-preview)
(rst-compile-slides-preview): Remove extra line.
2011-01-04 Glenn Morris <>
* textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
Add `pdf' and `s5' entries. Use `' if found, otherwise
default to `prog' without a .py extension.
(rst-compile-pdf-preview, rst-compile-slides-preview):
Use program names from rst-compile-toolsets, rather than hard-coding.
(rst-portable-mark-active-p): Fix presumed typo.
2011-01-02 Eli Zaretskii <>
* term/w32-win.el (dynamic-library-alist): Set up correctly for
libpng versions both before and after 1.4.0. (Bug#7716)
2011-01-02 Eli Zaretskii <>
* time.el (display-time-mode): Mention display-time-interval in
the doc string. (Bug#7713)
2011-01-02 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-parse): Perform parsing in
condition-case and return an error message string if something
goes wrong.
(rmail-show-mime): Adjust for the above change. Insert the
header by rmail-mime-insert-header.
2011-01-02 Kenichi Handa <>
* mail/rmailmm.el: New key bindings for rmail-mime-next-item,
rmail-mime-previous-item, and rmail-mime-toggle-hidden.
(rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
(rmail-mime-entity): Argument changed. All codes handling an
entity object are changed.
(rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
the above change.
(rmail-mime-entity-children, rmail-mime-entity-handler)
(rmail-mime-entity-tagline): New functions.
(rmail-mime-message-p): New function.
(rmail-mime-save): Bind rmail-mime-mbox-buffer.
(rmail-mime-entity-segment, rmail-mime-next-item)
(rmail-mime-previous-item, rmail-mime-shown-mode)
(rmail-mime-hidden-mode, rmail-mime-raw-mode)
(rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
(rmail-mime-insert-tagline, rmail-mime-insert-header):
New functions.
(rmail-mime-text-handler): Call rmail-mime-insert-text.
(rmail-mime-insert-decoded-text): New function.
(rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
(rmail-mime-insert-image): Argument changed. Caller changed.
(rmail-mime-image): Call rmail-mime-toggle-hidden.
(rmail-mime-set-bulk-data): New function.
(rmail-mime-insert-bulk): Argument changed.
(rmail-mime-multipart-handler): Return t.
(rmail-mime-process-multipart): Argument changed.
Handle "multipart/alternative" here.
(rmail-mime-process): Argument changed.
(rmail-mime-parse): Bind rmail-mime-mbox-buffer.
(rmail-mime-insert): Argument changed. Handle raw display mode.
(rmail-mime): Argument changed. Handle toggling of raw display
(rmail-show-mime): Bind rmail-mime-mbox-buffer and
(rmail-insert-mime-forwarded-message): Likewise.
(rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
* mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
non-nil, handle the header in rmail-show-mime-function.
2011-01-02 Leo Liu <>
* help-fns.el (describe-variable): Fix previous change.
2011-01-02 Juri Linkov <>
* isearch.el (isearch-lazy-highlight-error): New variable.
(isearch-lazy-highlight-new-loop): Compare `isearch-error' and
`isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
to the current value of `isearch-error' (Bug#7468).
2011-01-02 Chong Yidong <>
* help-fns.el (describe-variable): Don't emit trailing whitespace
2011-01-02 Chong Yidong <>
* textmodes/rst.el (rst-compile-pdf-preview)
(rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2011-01-02 Kevin Gallagher <>
* emulation/edt-mapper.el: Override mapping of function keys so
that the later call to read-key-sequence works.
2011-01-02 Eli Zaretskii <>
* mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
Unix EOLs. (Bug#7589)
2011-01-02 Leo Liu <>
* eshell/em-hist.el (eshell-previous-matching-input): Signal error
if point is not behind eshell-last-output-end (Bug#7585).
2011-01-02 Stefan Monnier <>
* files.el (file-local-variables-alist):
Make permanent-local (bug#7767).
2011-01-02 Glenn Morris <>
* version.el (emacs-copyright): Set short copyright year to 2011.
2011-01-02 Mark Lillibridge <> (tiny change)
* mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
an existing temp buffer. (Bug#7746)
2011-01-02 Glenn Morris <>
* mail/mail-utils.el (mail-mbox-from): Handle From: headers with
multiple addresses. (Bug#7760)
2011-01-01 Ken Manheimer <>
* allout.el (allout-auto-fill): Do not infinitely recurse - use
do-auto-fill if everything points back to allout-auto-fill.
(allout-mode-deactivate-hook): Declare obsolete, in favor of
standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2010-12-31 Michael Albinus <>
* net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
and "scpx".
2010-12-30 Tassilo Horn <>
* doc-view.el (doc-view-set-doc-type): New function refactored
from doc-view-mode.
(doc-view-fallback-mode): New function.
(doc-view-mode): Use it.
(doc-view-mode-maybe): New function that checks if doc-view-mode
can be used and falls back to the next best mode otherwise.
* files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
DVI, OpenDocument, and MS Office files.
2010-12-30 Andreas Schwab <>
* emacs-lisp/rx.el (rx-syntax): Fix typo.
2010-12-30 Tassilo Horn <>
* doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
on a copy of auto-mode-alist, because that deletes with side
2010-12-30 Tassilo Horn <>
* doc-view.el (doc-view-mode, doc-view-toggle-display):
Use normal-mode without doc-view-mode bindings in auto-mode-alist as
fallback instead of hard coding fundamental mode.
2010-12-30 Tassilo Horn <>
* doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
Office) files also for searching.
2010-12-30 Tassilo Horn <>
* doc-view.el: Implement viewing of OpenDocument (and Microsoft
Office) files. Not yet enabled via auto-mode-list.
(doc-view-unoconv-program): New custom variable.
(doc-view-mode-p): Handle new odf document type.
(doc-view-odf->pdf): New conversion function.
(doc-view-convert-current-doc): Call it for odf files.
(doc-view-mode): Recognize newly supported file extensions.
2010-12-30 Michael Albinus <>
* net/tramp.el (tramp-default-method-alist)
(tramp-local-host-regexp, tramp-prefix-domain-format)
(tramp-prefix-domain-regexp): Set tramp-autoload cookie.
* net/tramp-ftp.el:
* net/tramp-gvfs.el:
* net/tramp-gw.el:
* net/tramp-imap.el:
* net/tramp-sh.el:
* net/tramp-smb.el: Add tramp-autoload cookie for initialization
code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2010-12-29 Karl Fogel <>
* saveplace.el (save-place-alist-to-file): Save list sorted and
pretty-printed, so that it is mergable by line-based text merging,
as suggested by Iain Dalton <iain.dalton {_AT_}>.
2010-12-28 Ken Manheimer <>
* allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
(allout-mode): Argument "toggle" => "force".
Refine the docstring.
Remove special provisions for reactivation, besides the 'force'
Consolidate layout provisions coce directly into the activation
condition branch, now that we've removed those provisions.
(allout-unload-function): Explicitly activate the mode before
deactivating, if it's initially inactive.
(allout-set-buffer-multibyte): Properly prevent byte-compiler
warnings for version of function used only where
set-buffer-multibyte is unavailable.
2010-12-28 Chong Yidong <>
* tool-bar.el (tool-bar-setup): Remove :enable conditions, which
are handled by the menu-bar entries. As before, don't use
:visible to avoid changing the tool-bar.
2010-12-27 Michael Albinus <>
* net/secrets.el (secrets-delete-alias): New defun.
2010-12-27 Michael Albinus <>
* net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
methods, otherwise ~/.ssh/config would be ignored.
2010-12-26 Stefan Monnier <>
* emacs-lisp/rx.el: Make it a superset of sregex.
(rx-constituents): Add `any => "."', mark `repeat' as taking any number
of args, add `regex' alias.
(rx-info): Add arg to distinguish head and standalone forms.
(rx-check, rx-form): Pass the corresponding arg.
(rx-**): Simplify.
(rx-repeat): Make it work for any number of args.
(rx-syntax): Make it accept syntax chars as is.
* obsolete/sregex.el: Move from emacs-lisp/.
* emacs-lisp/re-builder.el: Remove sregex support.
* emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2010-12-25 Eli Zaretskii <>
* mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
PRIMARY first, then the clipboard. (Bug#7699)
2010-12-22 Stefan Monnier <>
* emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2010-12-21 Chong Yidong <>
* help-fns.el (find-lisp-object-file-name): Locate .emacs from
.emacs.elc (Bug#7530).
* wid-edit.el (widget-image-find): Remove bogus :ascent spec from
image spec (Bug#7480).
2010-12-21 Daiki Ueno <>
* obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
* obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
Move from lisp/.
2010-12-20 Leo Liu <>
* dnd.el (dnd-get-local-file-name): Unhex of file name shall
always be performed (Bug#7680).
2010-12-20 Chong Yidong <>
* menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
(menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
* color.el: Move from gnus/.
* vc/diff.el (diff-better-file-name): Function deleted.
abbreviating file names causes problems with shell-quote-argument.
(diff-no-select): Just use expand-file-name.
* tool-bar.el (tool-bar--image-expression): New function.
(tool-bar-local-item, tool-bar--image-exp): Use it.
(tool-bar-setup): Initialize tool-bar-separator-image-expression.
Use :enable instead of :visible to avoid changing the tool-bar
configuration unnecessarily.
* info.el (info-tool-bar-map): Add separators.
2010-12-17 Ken Brown <>
* loadup.el: Use version numbers in Cygwin build.
2010-12-17 Ryan Twitchell <> (tiny change)
* ido.el (ido-file-internal): Ask for confirmation before
overwriting an existing file (Bug#1238).
2010-12-16 Chong Yidong <>
* tool-bar.el (tool-bar-setup): Add separators.
* menu-bar.el (featurep): Use menu-bar-separator.
2010-12-16 Ken Manheimer <>
Migrate allout encryption provisions from pgg to epg.
* allout.el (allout-toggle-current-subtree-encryption)
(allout-toggle-subtree-encryption): Adjust docstrings to reflect
defaulting policy and other changes. Change fetch-pass to keymode-cue,
for simpler universal argument interpretation.
(allout-toggle-subtree-encryption): Adjust docstring to describe
changed encryption provisions. Change fetch-pass to keymode-cue, for
simpler universal argument interpretation. Remove provisions for
handling key type and identity - they'll all be within
allout-encrypt-string or epg/epg or even contained all the way in gpg.
(allout-encrypt-string): Include keymode-cue, for optionally prompting
for keypair recipients (universal argument > 1) and, in addition,
associating the specified recipients with the outline (universal
argument > 4) using a file local variable setting for
Require epa, for recipients handling.
Change how regexp filtering elements are named.
Describe the problem with caching of incorrect symmetric-decryption
Use the epa-passphrase-callback-function, in case the user is using
GnuPG v1.
Support saving of the selected keypair recipients when invoked with a
keymode-cue > 4.
Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
Require 'epa.
Establish epg-context with armoring and default epg-protocol.
Remove all passphrase cache, verification, and hinting code.
(allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
No longer used, delete.
(allout-mode): Adjust docstring to describe changed encryption
provisions. Describe the problem with caching of incorrect
symmetric-decryption keys.
(allout-obtain-passphrase, allout-epg-passphrase-callback-function)
(allout-make-passphrase-state, allout-passphrase-state-passphrase)
(allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
(allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
Obsolete, remove.
2010-12-16 Daiki Ueno <>
* epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
key selection prompt; make 'silent as default (Bug#7487).
2010-12-16 Leo Liu <>
* eshell/eshell.el (eshell-directory-name):
Use locate-user-emacs-file (Bug#7578).
2010-12-15 Glenn Morris <>
* loadup.el (symbol-file-load-history-loaded): Remove; unused.
2010-12-15 Jari Aalto <>
Scott Evans <>
* rect.el (rectange--default-line-number-format)
(rectangle-number-line-callback): New functions.
(rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2010-12-15 Chong Yidong <>
* rect.el (operate-on-rectangle-lines, string-rectangle-string):
Delete unused variables.
(move-to-column-force): Remove function obsolete since 21.2.
2010-12-14 Michael Albinus <>
* net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
(tramp-handle-insert-file-contents): Do not set permanent-local
* net/tramp-cache.el (tramp-persistency-file-name):
Use `locate-user-emacs-file' if fboundp.
* net/tramp-sh.el (tramp-methods): Add "ksu".
(tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
method list.
2010-12-14 Glenn Morris <>
* progmodes/js.el: Doc't require font-lock, etags, or easymenu.
(find-tag-marker-ring): Declare.
(js-find-symbol): Require etags.
* mail/sendmail.el: Don't require rmail or mailalias when compiling.
Require mail-utils.
(mail-alias-file): Don't autoload. Doc fix.
(mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
(mail-mailer-swallows-blank-line): Default to nil. Doc fix.
Mark as obsolete, and risky.
(mail-setup): Simplify.
* mail/mailalias.el (build-mail-aliases): Make it interactive.
* mail/sendmail.el (build-mail-aliases): Update autoload.
* dired.el (dired-trivial-filenames, dired-chown-program)
(dired-auto-revert-buffer): Remove autoload cookies.
* mail/sendmail.el (mail-recover-1): Require 'dired.
* dired.el (dired-subdir-switches, dired-chown-program)
(dired-use-ls-dired, dired-chmod-program, dired-touch-program):
Make into defcustoms.
(dired-chown-program): Simplify initialization.
* mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2010-12-13 Romain Francoise <>
* net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2010-12-13 Lars Magne Ingebrigtsen <>
* net/netrc.el (netrc-point-at-eol): Remove the unused
netrc-point-at-old and netrc-bound-and-true-p bindings.
(netrc-parse): Cache the netrc contents.
2010-12-13 Eli Zaretskii <>
* subr.el (posn-col-row): Evaluate header-line-format in the
context of the POSITION window's buffer.
2010-12-13 Glenn Morris <>
* subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
(with-silent-modifications): Doc fixes.
2010-12-13 Michael Albinus <>
* net/tramp.el (tramp-action-password, tramp-process-actions):
Revert previous from. Use `save-restriction'.
2010-12-13 Stephen Berman <>
* calendar/diary-lib.el (diary-list-sexp-entries):
Handle case of no newline at end of file. (Bug#7536)
2010-12-13 Glenn Morris <>
* mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2010-12-13 Michael Albinus <>
* net/tramp.el (tramp-action-password): Delete region, do not narrow.
(tramp-process-actions): Do not widen.
* net/tramp-sh.el (tramp-sh-handle-start-file-process):
Protect buffer-modified value. (Bug#7557)
2010-12-13 Jan Moringen <>
* log-edit.el (log-edit-changelog-entries):
Regexp quote filename. (Bug#7505)
2010-12-13 Tom Breton <>
* cus-edit.el (custom-save-all):
Bind print-length and print-level to nil. (Bug#7581)
2010-12-13 Glenn Morris <>
* mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
Run hooks to update menu contents. (Bug#7586)
* mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
file names, for the sake of MS Windows. (Bug#7588)
2010-12-13 Stefan Monnier <>
* diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
empty lines without a leading space.
2010-12-13 Leo Liu <>
* dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
while mapping over marks (Bug#6810).
2010-12-13 Chong Yidong <>
* image-dired.el (image-dired-db-file)
(image-dired-temp-image-file, image-dired-gallery-dir)
(image-dired-temp-rotate-image-file): Set default values relative
to image-dired-dir (Bug#7518).
2010-12-13 Lawrence Mitchell <>
* format.el (format-decode-run-method): Pass args FROM and TO, not
point-min and point-max, to shell-command-on-region (Bug#7488).
2010-12-13 Jan Djärv <>
* frame.el (blink-cursor-mode): Make default t for ns.
2010-12-13 Bob Rogers <>
* vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2010-12-13 Chong Yidong <>
* comint.el (comint-dynamic-list-input-ring)
(comint-dynamic-list-completions): Doc fix (Bug#7499).
* subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
Doc fix (Bug#7471).
2010-12-13 Martin Rudalics <>
* dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2010-12-13 W. Martin Borgert <> (tiny change)
* files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2010-12-13 Eli Zaretskii <>
* files.el (file-relative-name): Handle UNC file names on
DOS/Windows. (Bug#4674)
2010-12-13 Daiki Ueno <>
* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
"RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
(epg-context-set-passphrase-callback): Mention that the callback
is not called when used with GnuPG 2.x.
2010-12-13 Glenn Morris <>
* ps-print.el (ps-line-lengths-internal, ps-nb-pages):
Ensure ps-footer-font-size-internal is initialized.
Call ps-get-page-dimensions before trying to use ps-font-for-text.
2010-12-13 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
within condition-case.
(rmail-show-mime): Don't use condition-case.
(rmail-search-mime-message): New function.
(rmail-search-mime-message-function): Set to
2010-12-13 Leo Liu <>
* ido.el (ido-common-initialization): New function. (bug#3274)
(ido-mode): Use it.
(ido-completing-read): Call it.
2010-12-12 Karl Fogel <>
* bookmark.el (bookmark-name-from-full-record): Rename back to
this original name from `bookmark-name-from-record' reverting part
of 2010-12-08T08:09:27Z! /
As Drew Adams pointed out, there was no reason to cause churn for
third-party callers. (Bug#7609)
2010-12-12 Alan Mackenzie <>
* progmodes/cc-engine.el (c-forward-type): Before scanning a
template arglist, check that the current language supports this.
2010-12-11 Glenn Morris <>
* vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
state of the file matches. (Bug#7544)
(vc-bzr-register, vc-bzr-checkin)
(vc-bzr-annotate-extract-revision-at-line): Doc fixes.
(vc-directory-exclusion-list): Remove unnecessary eval-after-load.
* textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2010-12-11 Karel Klíč <>
* files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2010-12-10 Stefan Monnier <>
Derive from prog-mode, use derived-mode-p, and fix up various
minor style issues in lisp/progmodes.
* progmodes/vhdl-mode.el (vhdl-mode):
* progmodes/verilog-mode.el (verilog-mode):
* progmodes/vera-mode.el (vera-mode):
* progmodes/sql.el (sql-mode):
* progmodes/scheme.el (scheme-mode):
* progmodes/perl-mode.el (perl-mode):
* progmodes/octave-inf.el (inferior-octave-mode):
* progmodes/autoconf.el (autoconf-mode):
* progmodes/m4-mode.el (m4-mode):
* progmodes/inf-lisp.el (inferior-lisp-mode):
* progmodes/idlwave.el (idlwave-mode):
* progmodes/icon.el (icon-mode):
* progmodes/idlw-help.el (idlwave-help-mode):
* progmodes/dcl-mode.el (dcl-mode):
* progmodes/idlw-shell.el (idlwave-shell-mode):
* progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
(ebrowse-member-mode, ebrowse-electric-position-mode):
Use define-derived-mode.
* progmodes/xscheme.el (exit-scheme-interaction-mode)
(xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
(xscheme-debugger-mode-p, xscheme-send-string-1):
* progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
(tcl-load-file, tcl-restart-with-file):
* progmodes/ps-mode.el (ps-run-running):
* progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
* progmodes/js.el (js--get-all-known-symbols):
* progmodes/inf-lisp.el (inferior-lisp-proc):
* progmodes/idlwave.el (idlwave-beginning-of-statement)
(idlwave-template, idlwave-update-buffer-routine-info)
(idlwave-get-routine-info-from-buffers, idlwave-choose)
(idlwave-scan-class-info, idlwave-fix-keywords)
* progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
* progmodes/idlw-shell.el (idlwave-shell-save-and-action)
(idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
* progmodes/idlw-complete-structtag.el
* progmodes/gud.el (gud-set-buffer):
* progmodes/f90.el (f90-backslash-not-special):
* progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
* progmodes/xscheme.el (xscheme-start)
(local-set-scheme-interaction-buffer, scheme-interaction-mode):
* progmodes/which-func.el (which-function):
* progmodes/vhdl-mode.el (vhdl-set-style):
* progmodes/verilog-mode.el (verilog-set-compile-command)
(verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
(verilog-set-define, verilog-auto-reeval-locals):
* progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
* progmodes/simula.el (simula-mode):
* progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
* progmodes/python.el (python-check, python-mode):
* progmodes/prolog.el (prolog-mode-variables):
* progmodes/gud.el (gud-tooltip-activate-mouse-motions):
* progmodes/ebrowse.el (ebrowse-view-file-other-frame):
* progmodes/delphi.el (delphi-mode):
* progmodes/cc-styles.el (c-setup-paragraph-variables):
* progmodes/cc-mode.el (c-basic-common-init, c-common-init)
(c-font-lock-init): Move make-local-variable to their setq.
* progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
(vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
* progmodes/sh-script.el (sh-require-final-newline): Remove.
(sh-set-shell): Don't set require-final-newline since it's already done
by prog-mode.
* progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
since we never set it.
* progmodes/ebrowse.el (ebrowse-set-tree-indentation):
Use read-string and standard prompt.
* progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
* progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
(meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
(meta-common-mode-map): Rename from meta-mode-map.
Remove C-m binding, which is a user preference, not mode specific.
(meta-common-mode): New major mode; replace meta-common-initialization.
* progmodes/js.el (js-mode): Call syntax-propertize rather than messing
around with font-lock.
* progmodes/etags.el (select-tags-table-mode):
Derive from special-mode.
* progmodes/octave-mod.el (octave-mode):
* progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
(gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
(gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
Let define-derived-mode do its job.
* progmodes/cpp.el (cpp-edit-mode-map):
Move initialization into declaration.
(cpp-edit-mode): Use define-derived-mode.
(cpp-edit-load): Use derived-mode-p.
* progmodes/mixal-mode.el (mixal-mode):
* progmodes/f90.el (f90-mode):
* progmodes/cfengine.el (cfengine-mode): Don't bother setting
require-final-newline since prog-mode does it already.
* progmodes/cc-cmds.el (c-update-modeline): Use match-string.
* progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
* progmodes/antlr-mode.el: Require cc-mode upfront.
(antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
the declaration.
(antlr-directory-dependencies, antlr-show-makefile-rules):
Use derived-mode-p.
(antlr-language-option): Don't assume point-min==1.
(antlr-mode): Use define-derived-mode.
* progmodes/ada-mode.el: Use derived-mode-p.
(ada-mode): Use define-derived-mode.
Use hack-local-variables-hook.
2010-12-10 Stefan Monnier <>
* textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
(texinfo-mode): Don't disable adaptive-fill-mode.
(texinfo-insert-block): Adjust cursor placement for blocks with arg.
(texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
(texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
(texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
(texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
(texinfo-insert-@quotation, texinfo-insert-@samp)
(texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
(texinfo-insert-@uref): Use define-skeleton.
(texinfo-insert-@-with-arg): Delete.
2010-12-10 Eli Zaretskii <>
* arc-mode.el (archive-zip-extract): If w32-quote-process-args is
nil, do quote archive member names. (Bug#6144)
2010-12-10 Glenn Morris <>
* files.el (diff-no-select): Declare.
* mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
(report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
* comint.el (comint-input-ring-file-name): Doc fix.
2010-12-09 Eli Zaretskii <>
* menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
New functions.
(menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
Use them instead of `nil' and `>', respectively.
(menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
instead of `nil'.
(toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
and menu-bar-positive-p instead of `nil' and `>', respectively.
2010-12-09 Vinicius Jose Latorre <>
* whitespace.el (whitespace-newline-mode): Code fix.
2010-12-09 Glenn Morris <>
* play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
Rename functions without commas, update callers.
2010-12-08 Jeff Dairiki <> (tiny change)
* whitespace.el (whitespace-cleanup-region):
Clean up spaces before tabs. (Bug#7582)
2010-12-08 Karl Fogel <>
* bookmark.el: Adjust parameter names and doc strings to resolve
confusion over whether "bookmark" meant a bookmark name or a
bookmark record. Along the way, shorten one function's name for
similar reasons. (Issue #7548)
(bookmark-name-from-record): New name for
`bookmark-name-from-full-record'. All callers changed.
(bookmark-get-bookmark, bookmark-get-bookmark-record)
(bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
(bookmark-get-annotation, bookmark-set-annotation)
(bookmark-get-filename, bookmark-set-filename)
(bookmark-get-position, bookmark-set-position)
(bookmark-get-front-context-string, bookmark-set-front-context-string)
(bookmark-get-rear-context-string, bookmark-set-rear-context-string)
(bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
(bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
Rename `bookmark' parameter to `bookmark-name-or-record', to
clearly show its role, and shorten or adjust doc strings accordingly.
(bookmark-set-name): Same, and pass the parameter directly to
`bookmark-get-bookmark' instead of redundantly doing the callee's work.
(bookmark-default-annotation-text, bookmark-send-edited-annotation)
(bookmark-relocate, bookmark-insert-location, bookmark-insert)
(bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
and in some cases shorten doc string accordingly.
(bookmark-rename): Change `old' and `new' parameters to `old-name'
and `new-name', and adjust an internal variable to avoid confusion.
(bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
parameter in doc string.
2010-12-08 Glenn Morris <>
* progmodes/gdb-mi.el (gdb): Try to initialize comint input history
from gdb's history file. (Bug#7575)
* mail/emacsbug.el (report-emacs-bug):
Try to handle some other mail clients.
2010-12-08 Stefan Monnier <>
* files.el (dir-locals-collect-variables): Don't let errors stop us.
Use string-prefix-p.
(file-name-version-regexp): New var.
* jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
(jka-compr-get-compression-info): Use dolist.
(jka-compr-compression-info-list): Don't bother specifying
version/backup regexps.
2010-12-07 Tassilo Horn <>
* simple.el (just-one-space): Make argument n default to 1 if
2010-12-07 Stefan Monnier <>
* electric.el (electric-indent-post-self-insert-function):
Delete trailing newlines even if we don't reindent.
2010-12-06 Stefan Monnier <>
* minibuffer.el (completion-at-point): Remove the `arg'.
* bindings.el (complete-symbol): Move back from minibuffer.el.
2010-12-06 Deniz Dogan <>
* simple.el (just-one-space): Delete newlines for negative arg.
2010-12-06 Stefan Monnier <>
* ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
(ansi-color-filter-apply): Simplify.
(ansi-color-apply): Use `font-lock-face' rather than `face'.
2010-12-05 Bob Rogers <>
* vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2010-12-04 Chong Yidong <>
* dired.el (dired-use-ls-dired): Set default to a special
"unspecified" value.
(dired-insert-directory): When called the first time, check
whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2010-12-04 Tak Ota <>
* replace.el: Add "collect" feature to occur.
(occur-collect-regexp-history): New var.
(occur-read-primary-args): Return a replace string for nlines,
if needed.
(occur): Extend the meaning of nlines.
2010-12-04 Stefan Monnier <>
* progmodes/which-func.el (which-func-ff-hook): Log the error message.
(which-func-update-1): Distinguish symbols from strings.
(which-function): Stay within 80 columns.
2010-12-03 Stefan Monnier <>
* subr.el (with-demoted-errors): Distinguish symbols from strings.
* newcomment.el (comment-styles): Add docs to each style (bug#7509).
Improve docstring.
(comment-style): Use comment-styles's docs to describe values.
2010-12-03 Jan Djärv <>
* term/common-win.el (x-setup-function-keys): Restore ns-new-frame
and ns-show-prefs (Bug#7535).
* term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
bindings (Bug#7535).
2010-12-03 Glenn Morris <>
* nxml/nxml-mode.el: Require rng-nxml.
(rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
Remove declarations.
* nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
* nxml/rng-nxml.el, nxml/rng-valid.el:
Remove leading `*' from defcustom docs.
* startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
(normal-top-level-add-to-load-path, tty-handle-args):
Convert comments to basic doc-strings.
* net/browse-url.el (browse-url-url-at-point)
(browse-url-default-browser): Remove autoload cookies.
* mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Remove more undefined cl functions.
* vc/diff.el (diff-sentinel): Make new arguments optional.
* ibuf-ext.el (diff-sentinel): Update declaration.
2010-12-03 Daiki Ueno <>
* epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
"RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
(epg-context-set-passphrase-callback): Mention that the callback
is not called when used with GnuPG 2.x.
2010-12-02 Michael Albinus <>
* net/tramp.el (tramp-local-host-regexp): Add "localhost6".
(tramp-file-name-port): Check also for `tramp-default-port'.
(tramp-get-connection-name): New defun.
(tramp-get-connection-process): Use it.
(tramp-debug-message): Extend function exclude list.
(tramp-drop-volume-letter): Fix doc string.
* net/tramp-cmds.el: Remove solved todo item.
* net/tramp-ftp.el:
* net/tramp-gvfs.el:
* net/tramp-gw.el:
* net/tramp-imap.el:
* net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
and `tramp-default-user-alist', respectively.
* net/tramp-gw.el (tramp-gw-open-connection):
Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
* net/tramp-imap.el (tramp-imap-make-iht): Use just
* net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
and "psftp". Exchange "%k" marker with options.
(tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
Compute size of link target.
(tramp-do-copy-or-rename-file-out-of-band): Move setting of
`tramp-current-*' up due to gateway methods. Optimize computing of
copy arguments. Use `tramp-get-connection-name' and
`tramp-get-connection-buffer'. Improve debug messages.
(tramp-compute-multi-hops): Remove port determination.
(tramp-maybe-open-connection): Use `tramp-get-connection-name'.
* net/trampver.el: Update release number.
2010-12-02 Glenn Morris <>
* emacs-lisp/cl-macs.el (cl-parse-loop-clause):
Avoid infinite loop over windows. (Bug#7492)
* progmodes/flymake.el (flymake-check-file-limit):
Allow nil to mean "no limit".
(flymake-check-patch-master-file-buffer): Update for above change.
Allow a .tex file-name extension to be optional.
(flymake-master-tex-init): Also match \include statements.
2010-11-30 Sam Steingold <>
* nxml/nxml-mode.el (nxml-parent-document): Add a variable.
(nxml-parent-document-set): A function to set `nxml-parent-document'.
(nxml-mode): Define using `define-derived-mode' instead of `defun'.
(nxml-mode-hook): Remove `defcustom' (auto-defined by
* nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
users who want to call `nxml-parent-document-set'.
2010-11-27 Chong Yidong <>
* log-edit.el (log-edit-font-lock-keywords): Don't try matching
stand-alone lines, since that is handled by log-edit-match-to-eoh
2010-11-27 Eduard Wiebe <>
* dired.el (dired-get-filename): Replace backslashes with slashes
in file names on MS-Windows, needed by `locate'. (Bug#7308)
* locate.el (locate-default-make-command-line): Don't consider
drive letter and root directory part of
`directory-listing-before-filename-regexp'. (Bug#7308)
(locate-post-command-hook, locate-mode-hook): New defcustoms.
2010-11-27 Stefan Monnier <>
* emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
of :smie-open/close-alist.
(smie-next-sexp): Make it accept a "start token" as argument.
(smie-indent-keyword): Be careful not to misidentify tokens that span
more than one line, as empty lines. Add argument `token'.
2010-11-27 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
multipart subtypes, insert all as usual.
* mail/rmail.el: Require rfc2047.
2010-11-27 Kenichi Handa <>
* mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
(rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
(rmail-mime-entity-body, rmail-mime-entity-children): New functions.
(rmail-mime-save): Handle the case that the button's `data' is a
MIME entity.
(rmail-mime-insert-text): New function.
(rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
(rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
(rmail-mime-insert-bulk): New function mostly copied from the old
(rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
(rmail-mime-process-multipart): New function mostly copied from
the old rmail-mime-multipart-handler.
(rmail-mime-show): Just call rmail-mime-process.
(rmail-mime-process): New function mostly copied from the old
(rmail-mime-insert-multipart, rmail-mime-parse)
(rmail-mime-insert, rmail-show-mime)
(rmail-insert-mime-resent-message): New functions.
(rmail-insert-mime-forwarded-message-function): Set to
(rmail-insert-mime-resent-message-function): Set to
* mail/rmailsum.el: Require rfc2047.
(rmail-header-summary): Handle multiline Subject: field.
(rmail-summary-line-decoder): Change the default to
* mail/rmail.el (rmail-enable-mime): Change the default to t.
(rmail-mime-feature): Change the default to `rmailmm'.
(rmail-quit): Delete the specifal code for rmail-enable-mime.
(rmail-display-labels): Likewise.
(rmail-show-message-1): Check rmail-enable-mime, and use
rmail-show-mime-function for a MIME message. Decode the headers
according to RFC2047.
2010-11-27 Stefan Monnier <>
* progmodes/which-func.el (which-func-imenu-joiner-function):
Return a string, as expected.
(which-function-mode): Make sure we stop any previous timer before
starting a new one.
2010-11-27 Michael Albinus <>
* net/tramp.el (tramp-default-method-alist)
(tramp-default-user-alist, tramp-default-proxies-alist):
Adapt custom options type. (Bug#7445)
2010-11-27 Chong Yidong <>
* progmodes/python.el: Add Ipython support (Bug#5390).
(python-shell-continuation-prompt-alist): New options.
(python--set-prompt-regexp): New function.
(inferior-python-mode, run-python, python-shell):
Require ansi-color. Use python--set-prompt-regexp to set the comint
prompt based on the Python interpreter.
(python--prompt-regexp): New var.
(python-comint-output-filter-function): Use it.
(run-python): Use a pipe (Bug#5694).
2010-11-27 Chong Yidong <>
* progmodes/python.el (run-python): Doc fix.
(python-keep-current-directory-in-path): New var (Bug#7454).
2010-11-27 Chong Yidong <>
* lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
Prompt user before actually printing.
2010-11-27 Glenn Morris <>
* startup.el (package-enable-at-startup, package-initialize):
Remove unnecessary declarations.
2010-11-27 Eli Zaretskii <>
* international/characters.el (glyphless-char-display-control):
Exclude newline and TAB from the c0-control group.
2010-11-27 Glenn Morris <>
* mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
(expand-mail-aliases): Remove unnecessary autoload.
* allout.el (allout-command-prefix, allout-mode-map): Declare.
* shell.el (shell-dir-cookie-re): Move definition before use.
* mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Replace undefined CL functions.
2010-11-26 Eli Zaretskii <>
* simple.el (prog-mode): Set bidi-paragraph-direction to
* term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2010-11-26 Glenn Morris <>
* calendar/diary-lib.el (diary-outlook-format-1): New function, so that
diary-outlook-formats can be sensitive to calendar-date-style.
(diary-outlook-formats): Simplify the default setting.
(diary-from-outlook-internal): Pass subject and body as arguments.
Use dolist rather than dotimes. Don't save the diary buffer.
(diary-from-outlook-gnus, diary-from-outlook-rmail):
Pass subject and body as explicit arguments to the -internal function.
2010-11-26 Lars Magne Ingebrigtsen <>
* mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
parsing them. This makes mailto:...?subject=foo\nbar work.
2010-11-25 Stefan Monnier <>
* vc/diff.el (diff): Fix last change.
2010-11-24 Stefan Monnier <>
* emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
(pcase--dontcare-upats): New var.
(pcase-let, pcase-let*): Generate better code.
Accept the same bodies as `let'.
(pcase-dolist): New macro.
(pcase--trivial-upat-p): New helper function.
(pcase--expand): Strip leading "(let nil" if any.
2010-11-24 Lars Magne Ingebrigtsen <>
* mail/mailclient.el (browse-url): Require.
(mailclient-send-it): Bind `browse-url-mailto-function' to nil to
use the external browser function to send the mail (bug#7469).
* net/browse-url.el (browse-url-browser-function): Revert the
default back to the previous value, since the new value broke
(browse-url-mailto-function): New variable for mailto: URLs.
(browse-url): Use the new variable for mailto: URLs.
2010-11-23 Stefan Monnier <>
* eshell/esh-cmd.el (eshell-parse-command):
* eshell/esh-arg.el (eshell-parse-arguments):
* eshell/em-script.el (eshell-source-file):
Use with-silent-modifications.
2010-11-23 Chong Yidong <>
* vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
for a merge location.
* vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
(vc-bzr-merge-branch): Always prompt.
(vc-bzr-async-command): Use the full branch filename.
2010-11-23 Stefan Monnier <>
* shell.el (shell): Use current-buffer by default if it's already
a shell mode buffer and its process is dead.
Suggested by Jose E. Marchesi <>.
2010-11-23 Tassilo Horn <>
* mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
Mention that the keywords should be comma separated.
2010-11-23 Chong Yidong <>
* vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
Accept optional prefix arg meaning to prompt for a command.
(vc-update): Use vc-BACKEND-pull if available. Accept optional
prefix arg meaning to prompt for a command.
(vc-pull): Alias for vc-update.
* vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
(vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
(vc-bzr-merge-branch): New functions, implementing merge-branch
and pull operations.
2010-11-22 Stefan Monnier <>
* Fix up last merge.
* vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
(diff-sentinel): Get them as arguments instead.
(diff-old-file, diff-new-file, diff-extra-args): Remove.
(diff-file-local-copy, diff-better-file-name): New funs.
(diff-no-select): Rename from diff-into-buffer.
Support buffers additionally to files. Move `buf' arg. Don't display buf.
Prefer closures to buffer-local variables.
(diff): Adjust accordingly.
(diff-buffer-with-file): Move from files.el.
* files.el (diff-buffer-with-file): Move to vc/diff.el.
(diff-buffer-internal): Remove.
(diff-buffer-buffer): Remove.
(save-some-buffers-action-alist): Use diff-no-select so as not to guess
the buffer name used, and so as not to mess up windows and frames.
2010-11-22 Bob Rogers <>
* files.el: Make revert work with diff-buffer-with-file (bug#7277).
(diff-buffer-internal): New function extracted from diff-buffer-with-file
(diff-buffer-with-file): Use it.
* vc/diff.el (diff-into-buffer): New fun, extracted from diff.
(diff): Use it.
2010-11-22 Tassilo Horn <>
* textmodes/reftex-ref.el (reftex-goto-label): Use the current
\ref's or \pageref's value as default instead of initial input.
2010-11-21 Michael Albinus <>
* files.el (backup-by-copying-when-mismatch): The default value is
now t.
* startup.el (normal-top-level):
* net/tramp.el (tramp-handle-insert-file-contents): Do not set
2010-11-21 Jan Djärv <>
* tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2010-11-21 Deniz Dogan <>
* progmodes/python.el (python-font-lock-keywords):
Highlight top-level augmented assignments (Bug#6445).
2010-11-21 Jan Djärv <>
* term/ns-win.el (ns-right-control-modifier)
(ns-right-command-modifier): Defvar them.
* cus-start.el (all): Add ns-right-control-modifier and
ns-right-command-modifier (Bug#7458).
2010-11-20 Glenn Morris <>
* emacs-lisp/authors.el (authors-ignored-files)
(authors-valid-file-names, authors-renamed-files-alist): Add entries.
2010-11-20 Tassilo Horn <>
* mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
(report-emacs-bug-create-existing-bugs-buffer): Pass through
keywords used for querying the bug database to show them in the
existing bugs buffer.
2010-11-20 Jan Djärv <>
* tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
* info.el (info-tool-bar-map): Add some :vert-only keywords.
2010-11-20 Eli Zaretskii <>
* international/characters.el (glyphless-char-display-control):
Make it a defcustom, with update-glyphless-char-display as its
:set attribute.
(top level): Don't call update-glyphless-char-display.
2010-11-20 Michael Albinus <>
Sync with Tramp 2.2.0.
* net/tramp.el (tramp-handle-insert-file-contents): Don't use
`file-remote-p' (due to compatibility).
* net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
* net/trampver.el: Update release number.
2010-11-20 Eli Zaretskii <>
* faces.el (glyphless-char): Define value for `pc'.
2010-11-20 Tassilo Horn <>
Implemented a bug querying mechanism.
* mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
(report-emacs-bug-query-existing-bugs): New functions.
2010-11-19 Tassilo Horn <>
* textmodes/reftex-ref.el (reftex-goto-label): If point is inside
a \ref{} or \pageref{} macro, then use its value as initial input.
2010-11-19 Jay Belanger <>
* calc/calc-units.el (math-build-units-table-buffer):
calc/README: Mention that the TeX specific units won't use the
`tex' prefix in TeX mode.
calc/calc-lang.el (math-variable-table): Don't use the `tex'
prefix for units in TeX mode.
2010-11-18 Stefan Monnier <>
* simple.el (kill-new, kill-append, kill-region):
* comint.el (comint-kill-region): Make the yank-handler argument
2010-11-18 Stefan Monnier <>
* emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
that are both openers (resp. closers) and something else.
(smie-grammar): Loosen definition of valid values.
(smie-next-sexp, smie-down-list, smie-blink-matching-open)
(smie-indent--parent, smie-rule-parent, smie-indent-keyword)
(smie-indent-after-keyword): Adjust users.
(smie-indent-keyword): Don't indent empty lines.
* vc-hg.el (vc-hg-program): New var.
Suggested by Norman Gray <>.
(vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2010-11-18 Glenn Morris <>
* emacs-lisp/autoload.el (autoload-find-destination): The function
coding-system-eol-type may return non-numeric values. (Bug#7414)
2010-11-18 Ulrich Mueller <>
* server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2010-11-18 Eli Zaretskii <>
* subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2010-11-18 Chong Yidong <>
* textmodes/picture.el (picture-mouse-set-point): Don't use
posn-col-row; explicitly compute the motion based on the posn at
the window-start (Bug#7390).
2010-11-18 Glenn Morris <>
* novice.el (disabled-command-function):
Fix 2009-11-15 change. (Bug#7384)
2010-11-18 Glenn Morris <>
* calendar/calendar.el (diary-iso-date-forms): Make elements
mutually exclusive. (Bug#7377)
2010-11-18 Stefan Monnier <>
* emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
when filling the remaining "unconstrained" values.
2010-11-18 Stefan Monnier <>
* emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
safety predicate.
* files.el (safe-local-variable-p): Gracefully handle errors.
* emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
Use smie-indent-virtual when indenting relative to an opener.
(smie-rule-separator): Use smie-rule-parent.
(smie-indent-keyword): Consult rules, even for openers at bol.
(smie-indent-comment-close): Try to align closer's content.
2010-11-18 Glenn Morris <>
* ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2010-11-18 Glenn Morris <>
* printing.el (pr-menu-bind): Doc fix.
* speedbar.el (speedbar-toggle-images): Doc fix.
* progmodes/python.el (python-shell): Doc fix.
* wid-edit.el (widget-field-use-before-change)
(widget-use-overlay-change): Doc fixes.
2010-11-18 Stefan Monnier <>
Minor cleanup to improve style.
* textmodes/rst.el (rst-update-section): Use point-marker.
(rst-get-decoration): Eliminate unneeded assignment.
(rst-promote-region, rst-straighten-decorations)
(rst-section-tree, rst-adjust): Use point-marker.
(rst-toc-mode-mouse-goto): Avoid setq.
(rst-shift-region-guts, rst-shift-region-left)
(rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
(rst-convert-bullets-to-enumeration): Use copy-marker.
* minibuffer.el (completion-fail-discreetly): New var.
(completion--do-completion): Use it.
* electric.el (electric-pair-pairs): New var.
(electric-pair-post-self-insert-function): Use it.
(electric-layout-post-self-insert-function): Don't insert a before
newline unless it's actually needed.
2010-11-17 Stefan Monnier <>
* progmodes/python.el (run-python): Explain why we remove the current
directory from sys.path. Suggested by Eric Hanchrow <>.
* progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2010-11-16 Stefan Monnier <>
* progmodes/octave-mod.el: Rely on elecric-*-modes.
(octave-mode-map): Don't bind ;, SPC, and LF.
(octave-auto-indent, octave-auto-newline): Remove.
(electric-layout-rules): Declare.
(octave-mode): Set electric-layout-rules.
(octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
(octave-reindent-then-newline-and-indent, octave-electric-semi)
(octave-electric-space): Remove.
* electric.el (electric-layout-mode): New minor mode.
(electric--after-char-pos): New function.
(electric-indent-post-self-insert-function): Use it.
(electric-layout-rules): New var.
(electric-layout-post-self-insert-function): New function.
(electric-indent-mode): Make them interact better.
2010-11-15 Stefan Monnier <>
* emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
(checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
(checkdoc-proper-noun-region-engine): Use with-syntax-table.
2010-11-15 Agustín Martín <>
* textmodes/flyspell.el (flyspell-generic-progmode-verify):
Make sure to check inside the word (Bug#6761).
2010-11-14 Chong Yidong <>
* startup.el (command-line): If the cursorColor resource is set,
change the cursor face-spec (Bug#7392).
2010-11-13 Ken Manheimer <>
The main features of the following allout.el changes are:
- implement user customization for the allout key bindings
- add a customization control by which the user can inhibit use of
a trailing Ctrl-H, so by default it's reserved for use with
- adapt to new version of called-interactively-p, while
maintaining backwards compatibility with old version
- fix hotspot navigation so i works properly with meta-modified keys.
* allout.el (allout-keybindings, allout-bind-keys)
(allout-keybindings-binding, allout-prefixed-keybindings)
(allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
(allout-keybindings-list, allout-mode-map-adjustments)
(allout-setup-mode-map): Establish allout-mode keymaps as user
customizable settings, and also establish a customizable setting which
regulates whether or not a trailing control-h is reserved for use with
describe-prefix-bindings - and inhibit it by default, so that control-h
*is* reserved for describe-prefix-bindings unless the user changes it.
* allout.el (allout-hotspot-key-handler): Distinguish more explicitly
and accurately between modified and unmodified events, and handle
modified events more comprehensively.
* allout.el (allout-substring-no-properties):
Alias to use or provide version of `substring-no-properties'.
(allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
* allout.el (allout-next-single-char-property-change):
Alias to use or provide version of `next-single-char-property-change'.
(allout-annotate-hidden, allout-hide-by-annotation):
Use `allout-next-single-char-property-change'.
* allout.el (allout-select-safe-coding-system):
Alias to use or provide version of `select-safe-coding-system'.
Use `allout-select-safe-coding-system'.
* allout.el (allout-set-buffer-multibyte):
Alias to use or provide version of `set-buffer-multibyte'.
(allout-encrypt-string): Use `allout-set-buffer-multibyte'.
* allout.el (allout-called-interactively-p): Macro for using the
different versions of called-interactively-p identically, depending on
the subroutine's argument signature.
(allout-back-to-current-heading, allout-beginning-of-current-entry):
Use `(interactive "p")' instead of `(called-interactively-p)'.
* allout.el (allout-init, allout-ascend, allout-end-of-level)
(allout-previous-visible-heading, allout-forward-current-level)
(allout-backward-current-level, allout-show-children):
Use `allout-called-interactively-p' instead of `called-interactively-p'.
* allout.el (allout-before-change-handler):
Exempt edits to the (overlaid) character after the allout outline
bullet from edit confirmation prompt.
* allout.el (allout-add-resumptions):
Ensure that it respects correct buffer for keybindings.
* allout.el (allout-beginning-of-line):
Use `allout-previous-single-char-property-change' alias for the sake of
diverse compatibility.
* allout.el (allout-end-of-line):
Use `allout-mark-active-p' to encapsulate respect for mark activity.
2010-11-13 Chong Yidong <>
* frame.el (frame-notice-user-settings): Don't clobber other
user-set parameters when calling face-set-after-frame-default in
response to background-color parameter (Bug#7373).
2010-11-13 Eli Zaretskii <>
* international/characters.el (glyphless-char-display-control):
Rename from glyphless-char-control; all users changed. Doc fix.
Signal an error if display method is not one of the recognized
2010-11-13 Michael Albinus <>
* net/tramp-compat.el (tramp-compat-line-beginning-position)
(tramp-compat-line-end-position): Remove them.
* net/tramp.el (tramp-parse-rhosts-group)
(tramp-parse-shosts-group, tramp-parse-sconfig-group)
(tramp-parse-hosts-group, tramp-parse-passwd-group)
(tramp-parse-netrc-group, tramp-parse-putty-group)
* net/tramp-cmds.el (tramp-append-tramp-buffers)
* net/tramp-sh.el (tramp-do-file-attributes-with-ls)
(tramp-sh-handle-expand-file-name, tramp-find-executable)
(tramp-wait-for-output, tramp-send-command-and-read)
* net/tramp-smb.el (tramp-smb-read-file-entry)
(tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
* net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
(tramp-remote-coding-commands): Add an alternative using "base64
-d -i". This is needed for older base64 versions from GNU
coreutils. Reported by Klaus Reichl
2010-11-13 Hrvoje Niksic <>
* simple.el (count-words-region): New function.
2010-11-12 Stefan Monnier <>
* shell.el (shell-dir-cookie-re): New custom variable.
(shell-dir-cookie-watcher): New function.
* vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
and compilation-mode (bug#7350).
* vc/smerge-mode.el (smerge-refine): Choose better default part to
highlight when one of them is empty.
* skeleton.el (skeleton-read): Don't use `newline' since it may strip
trailing space.
(skeleton-newline): New function.
(skeleton-internal-1): Use it.
* simple.el (open-line): `newline' may strip trailing space.
2010-11-12 Kevin Ryde <>
* international/mule-cmds.el (princ-list): Use mapc.
2010-11-12 Glenn Morris <>
* emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
Use it to replace all instances of "*Compile-Log*".
2010-11-12 Stefan Monnier <>
* emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
indentation specs.
2010-11-11 Stefan Monnier <>
* progmodes/modula2.el: Use SMIE and skeleton.
(m2-mode-syntax-table): (*..*) can be nested.
Add //...\n. Fix paren syntax.
(m2-mode-map): Remove LF and TAB bindings.
(m2-indent): Add safety property.
(m2-smie-grammar): New var.
(m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
(m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
(m2-mode): Use define-derived-mode.
(m2-newline, m2-tab): Remove.
(m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
(m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
(m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
(m2-import): Use define-skeleton.
2010-11-11 Glenn Morris <>
* obsolete/lucid.el: Don't warn about any CL functions in this file.
* ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
(ls-lisp-verbosity): Add custom :set-after property.
(ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
(ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
(ls-lisp-insert-directory): Update caller.
(ls-lisp-set-options): New function.
(ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
Doc fix.
* play/landmark.el (lm-prompt-for-move):
* play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
* progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
* progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
(idlwave-study-twins): Prefix dynamic local variable `name'.
(idlwave-routine-twin-compare): Update for above change.
* progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
Prefix dynamic local variables `name', `kwd', and `link'.
* progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
* progmodes/idlw-complete-structtag.el
* progmodes/idlwave.el (idlwave-complete-sysvar-help)
Update for above name changes.
2010-11-10 Lars Magne Ingebrigtsen <>
* net/browse-url.el (browse-url-browser-function): Change the
default to use `browse-url-mail' on mailto: URLs.
2010-11-10 Chong Yidong <>
* emacs-lisp/package.el (package-read-all-archive-contents):
Reset package-archive-contents to nil before re-reading.
2010-11-10 Brandon Craig Rhodes <> (tiny change)
* textmodes/flyspell.el (flyspell-word): Do not re-check words
already found as misspellings by (flyspell-large-region), just
do highlighting (bug#7322).
2010-11-10 Glenn Morris <>
* progmodes/octave-mod.el (octave-mark-block): Update for smie change.
* emulation/edt.el (edt-with-position): New macro.
(edt-find-forward, edt-find-backward, edt-find-next-forward)
(edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
(edt-paragraph-forward, edt-paragraph-backward): Use it.
* emulation/tpu-extras.el (tpu-with-position): New macro.
(tpu-paragraph, tpu-page, tpu-search-internal): Use it.
* textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
* textmodes/texnfo-upd.el (texinfo-all-menus-update)
(texinfo-menu-copy-old-description, texinfo-start-menu-description)
(texinfo-master-menu, texinfo-insert-node-lines)
* textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
Use line-beginning-position.
* progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
No recent Emacs supports system-type `emx'.
* progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
(ada-command-separator, ada-default-prj-properties)
(ada-find-any-references): Update for above name change.
* dirtrack.el (dirtrack-directory-function)
* filecache.el (file-cache-completion-ignore-case)
(file-cache-case-fold-search, file-cache-ignore-case):
* term.el (serial-port-is-file-p): Cosmetic change.
* emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
Remove non-existent `windows-95' system-type.
* dired.el (dired-chown-program): Remove non-existent `linux'
* net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
(ping-program-options): Remove non-existent `linux' system-type.
* startup.el (package-initialize): Update declaration.
* ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
(ls-lisp-handle-switches): Use time-less-p.
(ls-lisp-format-time): Use float-time.
* textmodes/remember.el (remember-time-to-seconds): Remove.
(remember-store-in-mailbox): Use float-time.
* calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
* calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
never a real function.
(with-no-warnings): Remove compat stub, now unused.
(time-less-p): Doc fix.
(time-to-number-of-days): Simplify.
* eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
(eshell-read-passwd, eshell-read-hosts): Use time-less-p.
* eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
* eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
* eshell/em-pred.el (eshell-pred-file-time): Use float-time.
* eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
* eshell/em-unix.el (eshell-remove-entries, eshell/rm)
(eshell-shuffle-files, eshell-shorthand-tar-command)
(eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
* eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
Prefix dynamic local variable `matches'.
* skeleton.el (skeleton-internal-list, skeleton-internal-1):
Prefix dynamic local variable `skeleton'.
2010-11-10 Katsumi Yamaoka <>
* net/browse-url.el (browse-url-mail): Insert body part of mailto url
in mail buffer; make yank-action always a command that yanks original
2010-11-09 Glenn Morris <>
* progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2010-11-09 Stefan Monnier <>
* minibuffer.el (minibuffer-completion-help): Specify the end of the
completion field (bug#7211).
* progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
Fix handling of backslash escapes.
(python-quote-syntax): Adjust accordingly.
2010-11-09 Richard Levitte <> (tiny change)
* vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
(vc-mtn-workfile-branch): Adjust to new output format.
2010-11-09 Stefan Monnier <>
* international/mule-cmds.el (princ-list): Mark as obsolete.
2010-11-09 Stefan Monnier <>
* emacs-lisp/smie.el: New package.
2010-11-09 Michael Albinus <>
* files.el (backup-by-copying-when-mismatch):
Set `permanent-local' property.
* net/tramp.el (tramp-handle-insert-file-contents): Do not set
`permanent-local' property for `backup-by-copying-when-mismatch'.
2010-11-09 Eli Zaretskii <>
* ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2010-11-09 Wilson Snyder <>
* progmodes/verilog-mode.el (verilog-insert-one-definition)
(verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
AUTOINOUT for SV style multidimensional arrays, bug294.
Reported by Eric Mastromarchi.
(verilog-preprocess): Use with-current-buffer and
font-lock-fontify-buffer to cleanup style issues.
2010-11-09 Glenn Morris <>
* locate.el (locate, locate-mode): Doc fixes.
2010-11-09 Chong Yidong <>
* server.el (server-start): New arg INHIBIT-PROMPT prevents asking
user for confirmation.
(server-force-stop): Use it.
(server-start): Use server-force-stop for kill-emacs-hook, to
avoid user interaction while killing Emacs.
2010-11-09 Glenn Morris <>
* progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
(meta-indent-line): Simplify.
* vc/emerge.el (emerge-line-number-in-buf):
* textmodes/ispell.el (ispell-region):
* textmodes/fill.el (current-fill-column):
* progmodes/xscheme.el (xscheme-send-current-line):
* progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
* progmodes/tcl.el (tcl-hairy-scan-for-comment):
* progmodes/sh-script.el (sh-handle-prev-do):
* progmodes/meta-mode.el (meta-indent-line):
* progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
* progmodes/idlw-shell.el (idlwave-shell-current-frame)
(idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
* progmodes/fortran.el (fortran-looking-at-if-then):
* progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
* progmodes/cperl-mode.el (cperl-sniff-for-indent)
* progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
* net/quickurl.el (quickurl-list-insert):
* net/ldap.el (ldap-search-internal):
* net/eudc.el (eudc-expand-inline):
* mail/sendmail.el (sendmail-send-it):
* mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
* emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
* calc/calc-yank.el (calc-do-grab-region):
* calc/calc-keypd.el (calc-keypad-press):
* term.el (term-move-columns, term-insert-spaces):
* speedbar.el (speedbar-highlight-one-tag-line):
* simple.el (current-word):
* mouse-drag.el (mouse-drag-should-do-col-scrolling):
* info.el (Info-find-node-in-buffer-1, Info-follow-reference)
* hippie-exp.el (he-line-beg):
* epa.el (epa--marked-keys):
* dired-aux.el (dired-kill-line, dired-do-kill-lines)
(dired-update-file-line, dired-add-entry, dired-remove-entry)
* buff-menu.el (Buffer-menu-buffer):
* array.el (current-line):
* allout.el (allout-resolve-xref)
Replace yet more uses of end-of-line etc with line-end-position, etc.
2010-11-08 Stefan Monnier <>
* emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
(checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
(checkdoc-syntax-table): Initialize in the declaration.
(emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
the mode on unconditionally.
* emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
(extent-end-position, extent-start-position): Remove setf method for
non-existing functions (bug#7319).
2010-11-07 Stefan Monnier <>
* emacs-lisp/smie.el: Simplify the smie-rules-function return values.
(smie-precs->prec2): Rename from smie-precs-precedence-table.
(smie-bnf->prec2): Rename from smie-bnf-precedence-table.
(smie-prec2->grammar): Rename from smie-prec2-levels.
(smie-grammar): Rename from smie-op-levels.
(smie-indent--hanging-p): Rename from smie-hanging-p.
(smie-rule-hanging-p): New alias.
(smie-indent--bolp): Rename from smie-bolp.
(smie-indent--hanging-p): New alias.
(smie--token): New dynamically bound variable.
(smie-indent--parent): New function.
(smie-rule-parent-p): Use it; rename from smie-parent-p.
(smie-rule-next-p): Rename from smie-next-p.
(smie-rule-prev-p): Rename from smie-prev-p.
(smie-rule-sibling-p, smie-rule-parent)
(smie-indent--separator-outdent, smie-rule-separator): New functions.
(smie-rule-separator-outdent): New var.
(smie-indent--rule): Merge with smie-indent--column.
(smie-indent-forward-token, smie-indent-backward-token):
Also recognize close parens.
(smie-indent-keyword): Don't use smie-indent--column any more.
(smie-indent-after-keyword): Ignore closers by default.
(smie-indent-line): Use with-demoted-errors.
* progmodes/octave-mod.el (octave-smie-grammar):
Rename from octave-smie-op-levels.
(octave-smie-rules): Adjust to new behavior.
* progmodes/prolog.el (prolog-smie-grammar):
Rename from prolog-smie-op-levels.
2010-11-07 Glenn Morris <>
* eshell/esh-util.el (subst-char-in-string)
(directory-files-and-attributes): These compatibility definitions are
not needed on any version of Emacs since at least 21.4.
* progmodes/verilog-mode.el (verilog-get-beg-of-line)
(verilog-get-end-of-line): Remove.
(verilog-within-string, verilog-re-search-forward-substr)
(verilog-re-search-backward-substr, verilog-set-auto-endcomments)
(verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
Use point-at-bol, point-at-eol.
* progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
(pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
(electric-pascal-terminate-line, pascal-set-auto-comments)
(pascal-indent-paramlist, pascal-indent-declaration)
(pascal-get-lineup-indent, pascal-func-completion)
(pascal-get-completion-decl, pascal-var-completion, pascal-completion):
Use point-at-bol, point-at-eol.
* progmodes/flymake.el (flymake-line-beginning-position)
(flymake-line-end-position): Remove.
(flymake-highlight-line): Use point-at-bol, point-at-eol.
* eshell/esh-util.el (line-end-position, line-beginning-position):
Remove compat definitions.
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Use end-of-line N.
(checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
Use line-end-position.
* emacs-lisp/chart.el (chart-zap-chars):
* play/decipher.el (decipher-set-map):
* progmodes/ada-mode.el (ada-get-current-indent)
(ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
* progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
* progmodes/ada-xref.el (ada-initialize-runtime-library)
* progmodes/cperl-mode.el (cperl-electric-paren)
(cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
(cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
(cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
* progmodes/idlw-shell.el (idlwave-shell-move-or-history)
(idlwave-shell-filename-string, idlwave-shell-batch-command)
* progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
(idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
* progmodes/js.el (js--re-search-forward-inner)
* progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
(vhdl-fix-clause, vhdl-compose-configuration-architecture):
* progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
* textmodes/flyspell.el (flyspell-process-localwords):