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.
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.
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.
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.
* maintaining.texi (Format of ChangeLog): Add reference to add-log-full-name.
(Change Log Commands): Add documentation for combining multiple symbols in one change.
Stefan Monnier [Sun, 27 Feb 2011 02:50:38 +0000 (21:50 -0500)]
* lisp/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.
Paul Eggert [Sat, 26 Feb 2011 22:54:33 +0000 (14:54 -0800)]
* dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes.
(copy_glyph_row_contents): Remove; not used.
(frame_row_to_window, check_current_matrix_flags):
(window_change_signal): Now static, since they're not used elsewhere.
(check_current_matrix_flags): Surround with "#if 0", since its
only use is in a comment. Maybe both the comment and the "#if 0"
stuff should be removed?
Eli Zaretskii [Sat, 26 Feb 2011 09:27:05 +0000 (11:27 +0200)]
Fix the MS-DOS configury due to new gnulib modules.
config.bat: Rename stdint.in.h and sys_stat.in.h. Call
depfiles.bat even if lib/deps already exist.
msdos/depfiles.bat: Create a dummy .Po file only if a file by the same
name does not already exist in the deps/ subdirectory.
Paul Eggert [Fri, 25 Feb 2011 23:55:06 +0000 (15:55 -0800)]
* emacsclient.c (xstrdup): Remove; no longer needed.
(get_current_dir_name, w32_getenv, get_server_config, find_tty):
(set_local_socket, main):
Use const char *, not char *, for pointers that are not assigned
through.
Teodor Zlatanov [Fri, 25 Feb 2011 23:52:19 +0000 (23:52 +0000)]
Merge changes made in Gnus trunk.
auth-source.el (auth-source-search): Cache empty result sets.
password-cache.el (password-in-cache-p): Convenience function to check if a key is in the cache, even if the value is nil.
Jambunathan K [Fri, 25 Feb 2011 18:30:00 +0000 (13:30 -0500)]
Fix package uploading for newly made or local archives.
* 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.
Gnus developers [Fri, 25 Feb 2011 12:53:00 +0000 (12:53 +0000)]
Merge changes made in Gnus trunk.
auth-source.el (auth-source-save-behavior): New variable to replace `auth-source-never-create'.
(auth-source-netrc-create): Use it.
(auth-source-never-save): Remove.
nnimap.el (nnimap-stream): Doc fix.
(nnimap-open-connection-1): Reverse the order of the ports to that the prompted-for port is first.
gnus-start.el (gnus-get-unread-articles): Don't clobber the async retrieval by the no-group selection.
gnus-demon.el (gnus-demon-init): run-with-timer should be called with numerical parameters.
auth-source.el (auth-source-creation-prompts): New variable to manage creation-time prompts.
(auth-source-search): Document it.
(auth-source-format-prompt): Add utility function.
(auth-source-netrc-create): Don't default the user name to user-login-name. Use `auth-source-creation-prompts' and some default prompts for user, host, port, and password (the default generic prompt remains ugly).
(auth-source-never-save): Add customizable option to never save info.
(auth-source-netrc-create): Use it and improve save prompts. Fix help mode excursion.
Glenn Morris [Thu, 24 Feb 2011 08:26:25 +0000 (00:26 -0800)]
Fix for another bit of bug#8095, re dir-locals.
* lisp/help-fns.el (describe-variable): Return consistent results when a
dir-local from a file came from the cache or did not.
If a dir-local has no associated file, say it came from a "directory".