bpt/emacs.git
13 years ago* processes.texi (Synchronous Processes): Minor clarification (Bug#8149).
Chong Yidong [Sat, 5 Mar 2011 20:45:09 +0000 (15:45 -0500)]
* processes.texi (Synchronous Processes): Minor clarification (Bug#8149).

13 years agoAdd ChangeLog bug ref.
Glenn Morris [Sat, 5 Mar 2011 20:43:35 +0000 (12:43 -0800)]
Add ChangeLog bug ref.

13 years agoHandle git-style backup names in file-name-version-regexp (Bug#8159).
Reuben Thomas [Sat, 5 Mar 2011 20:35:08 +0000 (15:35 -0500)]
Handle git-style backup names in file-name-version-regexp (Bug#8159).

* files.el (file-name-version-regexp): Handle backup files of the
form `foo.js.~HEAD~1~' (Bug#8159).

13 years agoChangeLog fix.
Glenn Morris [Sat, 5 Mar 2011 20:09:37 +0000 (12:09 -0800)]
ChangeLog fix.

13 years agoMove eshell's self-tests to the test/ directory.
Glenn Morris [Sat, 5 Mar 2011 20:07:27 +0000 (12:07 -0800)]
Move eshell's self-tests to the test/ directory.

* lisp/eshell/esh-var.el: Don't require esh-test when compiling.
* lisp/eshell/em-banner.el, lisp/eshell/esh-cmd.el, lisp/eshell/esh-mode.el:
* lisp/eshell/esh-var.el, lisp/eshell/eshell.el: Move tests to esh-test.
* lisp/eshell/esh-test.el: Move to ../../test/eshell.el

* test/eshell.el: Move here from lisp/eshell/esh-test.el.

13 years agoMake save-some-buffers message more informative (Bug#8134).
David Engster [Sat, 5 Mar 2011 19:37:46 +0000 (14:37 -0500)]
Make save-some-buffers message more informative (Bug#8134).

* files.el (save-some-buffers): Report the names of buffers saved
automatically due to buffer-save-without-query.

13 years ago* lisp/eshell/esh-proc.el (eshell-kill-process-function): Fix typo in previous.
Glenn Morris [Sat, 5 Mar 2011 19:36:33 +0000 (11:36 -0800)]
* lisp/eshell/esh-proc.el (eshell-kill-process-function): Fix typo in previous.

13 years ago* lisp/net/rcirc.el: Add QuakeNet authentication support.
Deniz Dogan [Sat, 5 Mar 2011 15:40:50 +0000 (16:40 +0100)]
* lisp/net/rcirc.el: Add QuakeNet authentication support.
(rcirc-authinfo, rcirc-check-auth-status)
(rcirc-authenticate): Support QuakeNet.

13 years ago* lisp/net/rcirc.el: Add functionality to authenticate before autojoining channels.
Deniz Dogan [Sat, 5 Mar 2011 13:34:55 +0000 (14:34 +0100)]
* lisp/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.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 5 Mar 2011 13:01:56 +0000 (13:01 +0000)]
Merge changes made in Gnus trunk.

gnus-sum.el (gnus-update-read-articles): Fix typo.
gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that really have server-side marks.
gnus-sum.el (gnus-propagate-marks): Change default back to nil again, since most backends do not usefully have server-side marks.
 (gnus-update-read-articles): Propagate marks to all backends that really have server-side marks.
message.el (message-cite-reply-position, message-cite-style): New variables.
 (message-yank-original): Use the new citation styles.

13 years agoAdd package name. Fix author email address.
Michael Albinus [Sat, 5 Mar 2011 10:32:10 +0000 (11:32 +0100)]
Add package name. Fix author email address.

* 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)

13 years agoFix bug #8177 with re-visiting image files.
Eli Zaretskii [Sat, 5 Mar 2011 08:48:52 +0000 (10:48 +0200)]
Fix bug #8177 with re-visiting image files.

 files.el (find-file-noselect): Don't ask about re-visiting
 non-literally if the file is already visited in image-mode.

13 years agoesh-util.el comment fix.
Glenn Morris [Sat, 5 Mar 2011 04:24:44 +0000 (20:24 -0800)]
esh-util.el comment fix.

13 years agoDefault all eshell hooks to nil (bug#5375)
Glenn Morris [Sat, 5 Mar 2011 04:11:05 +0000 (20:11 -0800)]
Default all eshell hooks to nil (bug#5375)

* 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)

13 years agoesh-module doc fixes.
Glenn Morris [Sat, 5 Mar 2011 03:59:53 +0000 (19:59 -0800)]
esh-module doc fixes.

* lisp/eshell/esh-module.el (eshell-module-unload-hook)
(eshell-modules-list): Remove leading * from defcustom docs.

13 years agomessage.el (message-options): Don't mark it buffer-local when running under XEmacs.
Daiki Ueno [Sat, 5 Mar 2011 03:56:02 +0000 (03:56 +0000)]
message.el (message-options): Don't mark it buffer-local when running under XEmacs.

13 years agoMake eshell-for obsolete (replaced by dolist)
Glenn Morris [Sat, 5 Mar 2011 03:53:41 +0000 (19:53 -0800)]
Make eshell-for obsolete (replaced by dolist)

* 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-hist-parse-modifier):
* eshell/em-ls.el (eshell-ls-dir, eshell-ls-files, eshell-ls-entries):
* eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
* eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval, eshell/which):
* 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-variables-list):
* eshell/eshell.el (eshell-unload-all-modules):
Replace eshell-for with dolist.

13 years ago* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
Glenn Morris [Fri, 4 Mar 2011 17:24:02 +0000 (09:24 -0800)]
* lisp/vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0.  (Bug#8170)

13 years ago* progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
Tom Tromey [Fri, 4 Mar 2011 16:19:56 +0000 (09:19 -0700)]
* progmodes/gud.el (gdb-script-mode): Derive from prog-mode.

13 years agomessage.el (message-options): Revert the change that's a workaround for XEmacs buffer...
Daiki Ueno [Fri, 4 Mar 2011 13:59:21 +0000 (13:59 +0000)]
message.el (message-options): Revert the change that's a workaround for XEmacs buffer-local issue.

13 years agooutline.el fix for bug#7619.
Glenn Morris [Fri, 4 Mar 2011 08:40:00 +0000 (00:40 -0800)]
outline.el fix for bug#7619.

It turns out the use of nil in the :type of outline regexp was for
very hysterical raisons.  Prior to 2001-09-12T20:42:08Z!rms@gnu.org, the
default value was nil, then it was initialized afterwards.
Everywhere in the code assumes it cannot be nil, so no need to allow
that any more.

* lisp/outline.el (outline-regexp): No longer allow nil.
(outline-heading-end-regexp): Add safety predicate.

13 years agobrowse-url fix for bug#6077.
Glenn Morris [Fri, 4 Mar 2011 08:21:56 +0000 (00:21 -0800)]
browse-url fix for bug#6077.

* lisp/net/browse-url.el (browse-url): Handle deleted default-directory.

13 years agorecentf.el fix for bug#5843.
Glenn Morris [Fri, 4 Mar 2011 08:14:57 +0000 (00:14 -0800)]
recentf.el fix for bug#5843.

* lisp/recentf.el (recentf-include-p): In case of a buggy predicate,
err on the side of including, not excluding.

13 years ago* lisp/vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
Leo Liu [Fri, 4 Mar 2011 08:01:24 +0000 (00:01 -0800)]
* lisp/vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)

13 years ago* calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
Jay Belanger [Fri, 4 Mar 2011 06:35:49 +0000 (00:35 -0600)]
* calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
  variables as units.

13 years agoMinor ewoc fix for bug#3261.
Bob Rogers [Fri, 4 Mar 2011 05:16:56 +0000 (21:16 -0800)]
Minor ewoc fix for bug#3261.

* lisp/emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
if there is no node.

13 years ago* lisp/erc/erc-track.el (erc-track-visibility): Fix :type. (Bug#6369)
Julien Danjou [Fri, 4 Mar 2011 05:04:51 +0000 (21:04 -0800)]
* lisp/erc/erc-track.el (erc-track-visibility): Fix :type.  (Bug#6369)

13 years ago* lisp/time.el (display-time-world-list): Fix typo.
Leo Liu [Fri, 4 Mar 2011 05:00:40 +0000 (21:00 -0800)]
* lisp/time.el (display-time-world-list): Fix typo.

Fixes: debbugs:7571

13 years agoChangeLog fixes.
Glenn Morris [Fri, 4 Mar 2011 04:51:14 +0000 (20:51 -0800)]
ChangeLog fixes.

13 years agolisp/cus-edit.el (custom-buffer-create-internal): Fix bug#8136.
Zachary Kanfer [Fri, 4 Mar 2011 02:24:47 +0000 (03:24 +0100)]
lisp/cus-edit.el (custom-buffer-create-internal): Fix bug#8136.
Split search string before passing it to `customize-apropos'.

13 years agolisp/image-dired.el (image-dired-cmd-read-exif-data-options): Fix typo.
Drew Adams [Fri, 4 Mar 2011 01:36:40 +0000 (02:36 +0100)]
lisp/image-dired.el (image-dired-cmd-read-exif-data-options): Fix typo.

Fixes: debbugs:8156

13 years agoFixing old typo.
Deniz Dogan [Thu, 3 Mar 2011 16:02:52 +0000 (17:02 +0100)]
Fixing old typo.

13 years ago* lisp/net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
Deniz Dogan [Thu, 3 Mar 2011 15:56:38 +0000 (16:56 +0100)]
* lisp/net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 3 Mar 2011 13:21:50 +0000 (13:21 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with numbers too big to be `read'.
password-cache.el (password-in-cache-p): Add autoload.
message.el (message-options): Make buffer-local two ways to attempt to fix a XEmacs bug.

13 years agoMerged an ERT fix and a speedup.
Christian Ohler [Thu, 3 Mar 2011 09:10:19 +0000 (02:10 -0700)]
Merged an ERT fix and a speedup.

13 years agoAdded fast path to ERT explanation of `equal'.
Christian Ohler [Thu, 3 Mar 2011 09:01:51 +0000 (02:01 -0700)]
Added fast path to ERT explanation of `equal'.
* emacs-lisp/ert.el (ert--explain-equal): New function.
(ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
All callers changed.
(ert--explain-equal-including-properties): Renamed from
`ert--explain-not-equal-including-properties'.  All callers
changed.
* automated/ert-tests.el (ert-test-explain-not-equal-keymaps):
New test.

13 years agoediff-init.el fix for bug#1821. (tiny change)
David Abrahams [Thu, 3 Mar 2011 08:19:34 +0000 (00:19 -0800)]
ediff-init.el fix for bug#1821. (tiny change)

Tiny change; note that author said he placed it in the public domain.
(If this wasn't a tiny change, we would still need paperwork.)

* lisp/vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
Move ediff-defvar-local calls after defcustoms.

13 years agoFix ERT bug related to quit handling.
Christian Ohler [Thu, 3 Mar 2011 08:16:58 +0000 (01:16 -0700)]
Fix ERT bug related to quit handling.
* 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'.

13 years agoMerge fix.
Glenn Morris [Thu, 3 Mar 2011 08:13:09 +0000 (00:13 -0800)]
Merge fix.

13 years agofile-truename doc fix for bug#2341.
Glenn Morris [Thu, 3 Mar 2011 08:10:52 +0000 (00:10 -0800)]
file-truename doc fix for bug#2341.

* lisp/files.el (file-truename): Doc fix.

* doc/lispref/files.texi (Truenames): Minor clarification.

13 years agoReduce some of the many, many variant spellings of NeXTstep.
Glenn Morris [Thu, 3 Mar 2011 08:03:01 +0000 (00:03 -0800)]
Reduce some of the many, many variant spellings of NeXTstep.

http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00986.html

13 years agoInfo-gnustep.plist trivia.
Glenn Morris [Thu, 3 Mar 2011 07:57:49 +0000 (23:57 -0800)]
Info-gnustep.plist trivia.

* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Refer to etc/NEXTSTEP rather than emacs-app.sf.net.

13 years ago* lisp/vc/vc-rcs.el: Remove some ancient comments.
Glenn Morris [Thu, 3 Mar 2011 07:52:10 +0000 (23:52 -0800)]
* lisp/vc/vc-rcs.el: Remove some ancient comments.

Anyone using rcs < 5.6.2 in 2011 probably has a functioning time
machine, so does not need hand-holding.

13 years agovc-dir fix for bug#7349.
Bob Rogers [Thu, 3 Mar 2011 07:33:35 +0000 (23:33 -0800)]
vc-dir fix for bug#7349.

* lisp/vc/vc-dir.el (vc-dir-mode-map):
Bind vc-dir-find-file to e, like in dired.

13 years agovc-svn fix for bug#7663 on MS Windows. (tiny change)
Vagn Johansen [Thu, 3 Mar 2011 07:27:52 +0000 (23:27 -0800)]
vc-svn fix for bug#7663 on MS Windows.  (tiny change)

* lisp/vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
programs output backslashes.

13 years ago* url.texi (Configuration): Update url-configuration-directory description.
Glenn Morris [Thu, 3 Mar 2011 07:19:54 +0000 (23:19 -0800)]
* url.texi (Configuration): Update url-configuration-directory description.

13 years agourl.texi doc fix for bug#6038.
Glenn Morris [Thu, 3 Mar 2011 07:14:16 +0000 (23:14 -0800)]
url.texi doc fix for bug#6038.

* doc/misc/url.texi (Dealing with HTTP documents): Remove reference to
function url-decode-text-part; never seems to have existed in any version.

13 years agosendmail.el fix for bug#1776.
Glenn Morris [Thu, 3 Mar 2011 07:08:22 +0000 (23:08 -0800)]
sendmail.el fix for bug#1776.

* lisp/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.

13 years agoFix typo in previous NEWS change.
Glenn Morris [Thu, 3 Mar 2011 07:03:36 +0000 (23:03 -0800)]
Fix typo in previous NEWS change.

13 years ago* etc/NEWS: Mention emacsclient -q.
Glenn Morris [Thu, 3 Mar 2011 07:01:32 +0000 (23:01 -0800)]
* etc/NEWS: Mention emacsclient -q.

13 years agoAdd --quiet option for emacsclient (bug#663) (tiny change)
Drake Wilson [Thu, 3 Mar 2011 07:00:23 +0000 (23:00 -0800)]
Add --quiet option for emacsclient (bug#663)  (tiny change)

* lib-src/emacsclient.c (longopts): Add quiet.
(decode_options): Handle q/quiet.
(print_help_and_exit): Add q/quiet.
(main): Suppress some messages if quiet option is used.

* doc/emacs/misc.texi (emacsclient Options): Add q/quiet.

13 years agogrep.el fix for bug#8084.
Glenn Morris [Thu, 3 Mar 2011 06:39:11 +0000 (22:39 -0800)]
grep.el fix for bug#8084.

* lisp/progmodes/grep.el (grep-highlight-matches): Doc fix.
(grep-process-setup): No highlighting without font-lock.

13 years agovc-bzr fix for bug#8025.
Glenn Morris [Thu, 3 Mar 2011 06:25:21 +0000 (22:25 -0800)]
vc-bzr fix for bug#8025.

* lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
Handle dirstate entries with no parents.

13 years ago* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.
Ken Brown [Wed, 2 Mar 2011 21:30:51 +0000 (16:30 -0500)]
* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.

13 years agoComment fix.
Glenn Morris [Wed, 2 Mar 2011 17:19:01 +0000 (09:19 -0800)]
Comment fix.

13 years agoFix previous dired-x.el change.
Glenn Morris [Wed, 2 Mar 2011 17:12:43 +0000 (09:12 -0800)]
Fix previous dired-x.el change.

13 years agognus-art.el (gnus-with-article-buffer): Fix buffer live check.
Julien Danjou [Wed, 2 Mar 2011 12:34:12 +0000 (12:34 +0000)]
gnus-art.el (gnus-with-article-buffer): Fix buffer live check.

13 years agoUpdate autoloads
Andreas Schwab [Wed, 2 Mar 2011 10:42:47 +0000 (11:42 +0100)]
Update autoloads

13 years agoDoc fix for bug#8148.
Glenn Morris [Wed, 2 Mar 2011 08:53:23 +0000 (00:53 -0800)]
Doc fix for bug#8148.

* doc/emacs/mule.texi (Communication Coding) <x-select-request-type>:
Remove duplicate (essentially) paragraph.

13 years agoAdd some dired-x support for local filenames with Red Hat's man.
Glenn Morris [Wed, 2 Mar 2011 08:31:47 +0000 (00:31 -0800)]
Add some dired-x support for local filenames with Red Hat's man.

* lisp/man.el (Man-support-local-filenames): Also handle Red Hat's man.

* lisp/dired-x.el (Man-support-local-filenames): Autoload it.
(dired-guess-shell-alist-default): Also handle Red Hat's man.

13 years agoMake dired-default-directory obsolete.
Glenn Morris [Wed, 2 Mar 2011 07:59:02 +0000 (23:59 -0800)]
Make dired-default-directory obsolete.

As far as I can tell, it was never used outside of dired-smart-shell-command.
It doesn't seem worth keeping around as a separate function.

* lisp/dired-x.el (dired-default-directory-alist, dired-default-directory):
Mark as obsolete.
(dired-smart-shell-command): Just call dired-current-directory.

* doc/misc/dired-x.texi (Multiple Dired Directories): Remove mentions
of dired-default-directory-alist and dired-default-directory.
Move dired-smart-shell-command here...
(Miscellaneous Commands): ... from here.

13 years agodired-x trivia.
Glenn Morris [Wed, 2 Mar 2011 07:44:33 +0000 (23:44 -0800)]
dired-x trivia.

* lisp/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.

13 years ago* texinfo.tex: Update to version 2011-02-24.09.
Paul Eggert [Wed, 2 Mar 2011 06:07:30 +0000 (22:07 -0800)]
* texinfo.tex: Update to version 2011-02-24.09.

13 years agoMerge: Work around some portability problems with symlinks.
Paul Eggert [Wed, 2 Mar 2011 05:25:09 +0000 (21:25 -0800)]
Merge: Work around some portability problems with symlinks.

13 years agoMerge from mainline.
Paul Eggert [Wed, 2 Mar 2011 04:40:07 +0000 (20:40 -0800)]
Merge from mainline.

13 years agoMake dired-omit-here-always obsolete, in favor of standard function.
Glenn Morris [Wed, 2 Mar 2011 04:13:57 +0000 (20:13 -0800)]
Make dired-omit-here-always obsolete, in favor of standard function.

* lisp/dired-x.el (dired-omit-here-always): Make it obsolete.

* doc/misc/dired-x.texi (Omitting Variables): Refer to add-dir-local-variable
instead of the obsoleted dired-omit-here-always.

13 years agoAdd a menu-bar entry for Artist mode.
Chong Yidong [Wed, 2 Mar 2011 03:48:01 +0000 (22:48 -0500)]
Add a menu-bar entry for Artist mode.

* lisp/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.

13 years ago* calc/calc-math.el (calcFunc-log10): Check for symbolic mode
Jay Belanger [Wed, 2 Mar 2011 03:07:34 +0000 (21:07 -0600)]
* 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
  functions.
  (math-logunits-level): Extract units from ratio.

13 years agoMerge from mainline.
Paul Eggert [Wed, 2 Mar 2011 01:52:03 +0000 (17:52 -0800)]
Merge from mainline.

13 years agoRemove superfluous Tramp entries.
Michael Albinus [Tue, 1 Mar 2011 15:18:53 +0000 (16:18 +0100)]
Remove superfluous Tramp entries.

13 years agognus-art.el (list-identifier): Add list-identifier as a parameter group.
Julien Danjou [Tue, 1 Mar 2011 14:32:24 +0000 (14:32 +0000)]
gnus-art.el (list-identifier): Add list-identifier as a parameter group.
 (article-hide-list-identifiers): Use list-identifier group parameter.

13 years agoMerge changes made in Gnus trunk.
Julien Danjou [Tue, 1 Mar 2011 12:20:17 +0000 (12:20 +0000)]
Merge changes made in Gnus trunk.

sieve.el (sieve-buffer-script-name): New local variable to store sieve script name.
 (sieve-edit-script): Store sieve script name.
 (sieve-upload): Use sieve script name when uploading.
 (sieve-upload): Use substitute-command-keys.
 (sieve-edit-script): Use substitute-command-keys.
 (sieve-refresh-scriptlist): Use substitute-command-keys.
 (sieve-manage-mode-map): Define keymap properly.
 (sieve-manage-mode): Do not set mode name manually, change mode-name to
 (sieve-refresh-scriptlist): Use substitute-command-keys."Sieve-manage".  Remove commented code about cvs.
 (sieve-manage-quit): New function.
 (sieve-manage-mode-map): Bind 'q' to sieve-manage-quit.
gnus-gravatar.el: Use gnus-with-article-buffer.
gnus-art.el (gnus-with-article-buffer): Check that the gnus-article-buffer is alive.

13 years ago* lisp/files: Fix comment typo.
Glenn Morris [Tue, 1 Mar 2011 04:26:38 +0000 (20:26 -0800)]
* lisp/files: Fix comment typo.

13 years agoRemove some duplicated tramp ChangeLog entries.
Glenn Morris [Tue, 1 Mar 2011 04:20:37 +0000 (20:20 -0800)]
Remove some duplicated tramp ChangeLog entries.
I guess the same changes were applied to emacs-23 and trunk separately.
More duplicates remain.

13 years ago* maintaining.texi (Format of ChangeLog): Add reference to add-log-full-name.
Christoph Scholtes [Tue, 1 Mar 2011 04:14:00 +0000 (21:14 -0700)]
* maintaining.texi (Format of ChangeLog): Add reference to add-log-full-name.
(Change Log Commands): Add documentation for combining multiple symbols in one change.

13 years agolisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
Juanma Barranquero [Tue, 1 Mar 2011 03:59:31 +0000 (04:59 +0100)]
lisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.

13 years ago* lisp/calendar/cal-hebrew.el (diary-ordinal-suffix): Declare.
Glenn Morris [Tue, 1 Mar 2011 03:53:18 +0000 (19:53 -0800)]
* lisp/calendar/cal-hebrew.el (diary-ordinal-suffix): Declare.

13 years ago* lisp/files.el: Comment.
Glenn Morris [Tue, 1 Mar 2011 03:43:14 +0000 (19:43 -0800)]
* lisp/files.el: Comment.

13 years ago* admin/notes/bzr: Tiny addition.
Glenn Morris [Tue, 1 Mar 2011 03:41:05 +0000 (19:41 -0800)]
* admin/notes/bzr: Tiny addition.

13 years agoRework previous cal-hebrew change.
Glenn Morris [Tue, 1 Mar 2011 03:38:41 +0000 (19:38 -0800)]
Rework previous cal-hebrew change.

* lisp/calendar/cal-hebrew.el (calendar-hebrew-birthday, diary-hebrew-date):
Rename and rework functions added in previous change.

* etc/NEWS: Mention diary-hebrew-birthday.

13 years agoAdd some new cal-hebrew functions.
Ed Reingold [Tue, 1 Mar 2011 03:32:05 +0000 (19:32 -0800)]
Add some new cal-hebrew functions.

* lisp/calendar/cal-hebrew.el (hebrew-calendar-birthday, diary-hebrew-birthday):
New functions.

13 years agoGive dired-actual-switches a safe-local-variable property. (Bug#3230)
Glenn Morris [Tue, 1 Mar 2011 03:25:24 +0000 (19:25 -0800)]
Give dired-actual-switches a safe-local-variable property.  (Bug#3230)

* lisp/dired.el (dired-safe-switches-p): Beef it up.
(dired-actual-switches): Use it for the safe-local-variable property.

13 years ago* lisp/dired.el (dired-safe-switches-p): New function. (Bug#3230)
Stefan Monnier [Tue, 1 Mar 2011 03:10:11 +0000 (19:10 -0800)]
* lisp/dired.el (dired-safe-switches-p): New function.  (Bug#3230)

13 years agoAdd the ability to exclude dir-locals from subdirs. (Bug#8100)
Glenn Morris [Tue, 1 Mar 2011 03:05:28 +0000 (19:05 -0800)]
Add the ability to exclude dir-locals from subdirs.  (Bug#8100)

* lisp/files.el (dir-locals-collect-variables):
Add the ability to exclude subdirectories.

* doc/emacs/custom.texi (Directory Variables):
Give an example of excluding subdirectories.

* doc/lispref/variables.texi (Directory Local Variables):
Mention `(subdirs . nil)' alist element.

* etc/NEWS: Mention this addition.

* lisp/dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.

13 years ago* ido.el (ido-everywhere): Doc fix.
Christoph Scholtes [Mon, 28 Feb 2011 20:25:50 +0000 (13:25 -0700)]
* ido.el (ido-everywhere): Doc fix.
(ido-mode): Doc fix.

13 years ago* lisp/dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
Glenn Morris [Mon, 28 Feb 2011 17:42:03 +0000 (09:42 -0800)]
* lisp/dired-x.el (dired-guess-shell-alist-default): Use \\', not $.

13 years ago* tramp.texi (Frequently Asked Questions): Add Emacs 24 to
Michael Albinus [Mon, 28 Feb 2011 11:10:06 +0000 (12:10 +0100)]
* tramp.texi (Frequently Asked Questions): Add Emacs 24 to
supported systems.

13 years ago* net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path shadows.
Michael Albinus [Mon, 28 Feb 2011 10:58:59 +0000 (11:58 +0100)]
* net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path shadows.

13 years ago* lisp/dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
Antoine Levitt [Mon, 28 Feb 2011 07:24:39 +0000 (23:24 -0800)]
* lisp/dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.

13 years agolisp/emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1): Fix typos in docstrings.
Juanma Barranquero [Mon, 28 Feb 2011 04:24:40 +0000 (05:24 +0100)]
lisp/emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1): Fix typos in docstrings.

13 years agoAdd ChangeLog bug ref.
Glenn Morris [Mon, 28 Feb 2011 01:35:59 +0000 (17:35 -0800)]
Add ChangeLog bug ref.

13 years agodired-aux fix for bug#8131.
Stephen Berman [Mon, 28 Feb 2011 01:31:20 +0000 (17:31 -0800)]
dired-aux fix for bug#8131.

* lisp/dired-aux.el (dired-update-file-line): Fix 2010-11-09 change.

13 years agoMark tiny change.
Glenn Morris [Mon, 28 Feb 2011 01:10:58 +0000 (17:10 -0800)]
Mark tiny change.

13 years agoMerge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org.
Glenn Morris [Mon, 28 Feb 2011 01:07:29 +0000 (17:07 -0800)]
Merge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org.

13 years ago* lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
Chong Yidong [Sun, 27 Feb 2011 23:53:41 +0000 (18:53 -0500)]
* lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048).

13 years agoAvoid recording dead buffers in buffer-list frame param (Bug#7898).
Chong Yidong [Sun, 27 Feb 2011 22:57:22 +0000 (17:57 -0500)]
Avoid recording dead buffers in buffer-list frame param (Bug#7898).

* src/frame.c (store_frame_param): Don't store value directly in
buffer_list and buried_buffer_list; copy the list and remove dead
buffers.

13 years ago* minibuf.texi: Clarify history list discussion (Bug#8085).
Chong Yidong [Sun, 27 Feb 2011 22:10:48 +0000 (17:10 -0500)]
* minibuf.texi: Clarify history list discussion (Bug#8085).

13 years ago* term/screen.el: New file (Bug#2650).
Prestoo Ten [Sun, 27 Feb 2011 21:26:22 +0000 (16:26 -0500)]
* term/screen.el: New file (Bug#2650).

13 years ago* INSTALL.BZR: Tweak previous change.
Glenn Morris [Sun, 27 Feb 2011 19:55:44 +0000 (11:55 -0800)]
* INSTALL.BZR: Tweak previous change.

13 years agoImplement stub emulation of `readlink' for MS-DOS.
Eli Zaretskii [Sun, 27 Feb 2011 19:51:35 +0000 (21:51 +0200)]
Implement stub emulation of `readlink' for MS-DOS.

 src/msdos.c (readlink) [DJGPP < 2.04]: New stub function.
 src/msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype.