1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-18 04:42:04 -07:00
Commit graph

19639 commits

Author SHA1 Message Date
Bob Rogers
c7a748017a 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.
2011-03-02 23:33:35 -08:00
Vagn Johansen
614b85f89e 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.
2011-03-02 23:27:52 -08:00
Glenn Morris
fb532fe811 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.
2011-03-02 23:08:22 -08:00
Glenn Morris
a915d7a1e5 grep.el fix for bug#8084.
* lisp/progmodes/grep.el (grep-highlight-matches): Doc fix.
(grep-process-setup): No highlighting without font-lock.
2011-03-02 22:39:11 -08:00
Glenn Morris
f96dc50fc0 vc-bzr fix for bug#8025.
* lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
Handle dirstate entries with no parents.
2011-03-02 22:25:21 -08:00
Glenn Morris
3ab7ebb9c5 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.
2011-03-02 00:31:47 -08:00
Glenn Morris
2777ccbfde 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.
2011-03-01 23:59:02 -08:00
Glenn Morris
5dedeef28d 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.
2011-03-01 23:44:33 -08:00
Glenn Morris
8889f4e2c3 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.
2011-03-01 20:13:57 -08:00
Chong Yidong
d77aaf6f83 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.
2011-03-01 22:48:01 -05:00
Jay Belanger
771fc75ee9 * 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.
2011-03-01 21:07:34 -06:00
Michael Albinus
0dc3e4109e Remove superfluous Tramp entries. 2011-03-01 16:18:53 +01:00
Glenn Morris
9a6f056969 Remove some duplicated tramp ChangeLog entries.
I guess the same changes were applied to emacs-23 and trunk separately.
More duplicates remain.
2011-02-28 20:20:37 -08:00
Juanma Barranquero
f6132e5a3c lisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring. 2011-03-01 04:59:31 +01:00
Glenn Morris
7454f2002d 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.
2011-02-28 19:38:41 -08:00
Ed Reingold
cdcbd5a795 Add some new cal-hebrew functions.
* lisp/calendar/cal-hebrew.el (hebrew-calendar-birthday, diary-hebrew-birthday):
New functions.
2011-02-28 19:32:05 -08:00
Glenn Morris
9903d828df 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.
2011-02-28 19:25:24 -08:00
Stefan Monnier
75da6eb972 * lisp/dired.el (dired-safe-switches-p): New function. (Bug#3230) 2011-02-28 19:10:11 -08:00
Glenn Morris
6640b281f3 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.
2011-02-28 19:05:28 -08:00
Christoph Scholtes
cead857b3a * ido.el (ido-everywhere): Doc fix.
(ido-mode): Doc fix.
2011-02-28 13:25:50 -07:00
Glenn Morris
0a906ec344 * lisp/dired-x.el (dired-guess-shell-alist-default): Use \\', not $. 2011-02-28 09:42:03 -08:00
Michael Albinus
22b300dea0 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path shadows. 2011-02-28 11:58:59 +01:00
Antoine Levitt
584a277399 * lisp/dired-x.el (dired-guess-shell-alist-default): Add rar and 7z. 2011-02-27 23:24:39 -08:00
Juanma Barranquero
ca3afb79d0 lisp/emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1): Fix typos in docstrings. 2011-02-28 05:24:40 +01:00
Glenn Morris
2cf429d01c Add ChangeLog bug ref. 2011-02-27 17:35:59 -08:00
Stephen Berman
edb574802f dired-aux fix for bug#8131.
* lisp/dired-aux.el (dired-update-file-line): Fix 2010-11-09 change.
2011-02-27 17:31:20 -08:00
Glenn Morris
3e478a7cef Mark tiny change. 2011-02-27 17:10:58 -08:00
Glenn Morris
2b0c733045 Merge from emacs-23; up to 2010-06-03T05:41:49Z!rgm@gnu.org. 2011-02-27 17:07:29 -08:00
Chong Yidong
df7f0d0b10 * lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048). 2011-02-27 18:53:41 -05:00
Prestoo Ten
6c89f663ba * term/screen.el: New file (Bug#2650). 2011-02-27 16:26:22 -05:00
Stefan Monnier
1f0816b69d * 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.
2011-02-26 21:50:38 -05:00
Jay Belanger
b49df7426b * 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): Don't do anything if the first
argument is a variable.
2011-02-26 19:33:37 -06:00
Eli Zaretskii
d1f61aaf6f Fix bug #8122 with decoding keyboard input.
lisp/international/mule-cmds.el (set-default-coding-systems): Use
 the -unix variant of encoding in default-keyboard-coding-system.
2011-02-26 23:30:16 +02:00
Stefan Monnier
e573299d40 * lisp/emacs-lisp/assoc.el: Remove misleading `sort'.
(aput, adelete, amake): Replace `eval' -> `symbol-value'.
Suggested by Michael Heerdegen <michael_heerdegen@web.de>.

Fixes: debbugs:8126
2011-02-26 16:09:03 -05:00
Juanma Barranquero
413e646877 lisp/ChangeLog: Fix typos. 2011-02-26 01:18:16 +01:00
Teodor Zlatanov
61e9662ef5 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.
2011-02-25 23:52:19 +00:00
Jambunathan K
7fe42546dd 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.
2011-02-25 13:30:00 -05:00
Glenn Morris
6a88f031c8 Yet more directory-local variables fixes.
* lisp/files-x.el (modify-dir-local-variable): Handle dir-locals from
the cache, and from non-file sources.
2011-02-24 00:45:25 -08:00
Glenn Morris
303f9ae014 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".
2011-02-24 00:26:25 -08:00
Glenn Morris
07915ed93c More dir-locals fixes for files.el.
* lisp/files.el (hack-local-variables-confirm, hack-local-variables-filter):
Doc fix (say _which_ directory `dir-name' is).
(hack-dir-local-variables): Fix setting of `dir-name'.
Previous value seems clearly wrong.  Eg put a risky variable in a
dir-locals file, visit a file in a subdirectory, see which directory
it says the risky variables come from.  It should be the one with the
associated directory variables, not the one containing the visited file.
2011-02-24 00:02:45 -08:00
Glenn Morris
ebe401f697 Partial fix for bug#8095.
* lisp/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.

Still to do: some places that use dir-locals-find-file assume the
result is always a file, which is not true. (The function name is
misleading.)
2011-02-23 23:47:06 -08:00
Glenn Morris
b36f2f1cb8 Dired-X fix for bug#5216.
* lisp/dired-x.el (dired-hack-local-variables):
Handle interrupts during hacking local variables.
2011-02-23 19:59:04 -08:00
Glenn Morris
2d8a57efcb Avoid some possible prompts from autoloads.el.
* lisp/emacs-lisp/autoload.el (autoload-save-buffers)
(autoload-find-destination, update-directory-autoloads):
Avoid prompts when updating autoloads.
2011-02-23 19:53:27 -08:00
Stefan Monnier
53cfe624fc * lisp/emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete. 2011-02-23 10:22:28 -05:00
Glenn Morris
cce7d53002 Merge from emacs-23; up to 2010-06-02T00:10:42Z!yamaoka@jpl.org. 2011-02-22 20:19:28 -08:00
Glenn Morris
817b48a7bc Obsolete dired-x's directory local variables in favor of standard ones.
* lisp/dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.

* lisp/dired-x.el (dired-omit-mode): Safe if boolean.
(dired-enable-local-variables): Fix doc and custom type.  Mark risky.
(dired-enable-local-variables, dired-local-variables-file)
(dired-hack-local-variables): Make obsolete.
(dired-omit-here-always): Use dir-locals.el instead.

* doc/misc/dired-x.texi (Features): Don't advertise obsolete local variables.
Simplify layout.
(Omitting Variables): Update local variables example.
(Local Variables): Say this is obsolete.  Fix description of
dired-enable-local-variables possible values.

* etc/NEWS: Relocate the existing entry about directory local
variables in file-les buffers, and make it clearer.
Mention above dired changes.
2011-02-22 19:44:13 -08:00
Glenn Morris
5582c6706a * lisp/files.el (safe-local-eval-forms): Add the write-file-hooks version.
This obsolete form is still supported, and present in some of the
files synced from gnulib, for example.
2011-02-22 19:24:23 -08:00
Kenichi Handa
c1449bffe2 mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an error when a multipart boundary in the nested multipart is found. 2011-02-23 11:32:35 +09:00
Stefan Monnier
5f9d345ca9 * lisp/help-fns.el (describe-function-1): Don't signal an error just because
the DOC file disappeared.
2011-02-22 13:22:04 -05:00
Michael Albinus
ca41d1175f * eshell/esh-ext.el (eshell-external-command): Do not restrict
remote check to "ftp".  (Bug#8089)
2011-02-22 06:50:25 +01:00