1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-11 01:11:31 -07:00
Commit graph

21297 commits

Author SHA1 Message Date
Roland Winkler
e70ee68111 lisp/textmodes/bibtex.el: minor doc fix 2012-01-28 12:25:03 -06:00
Roland Winkler
ace88aa20f lisp/textmodes/bibtex.el: allow bibtex-dialect as file-local variable (Bug#10254) 2012-01-28 12:06:10 -06:00
Chong Yidong
6e9bad1452 * lisp/simple.el (deactivate-mark): Doc fix (Bug#8614). 2012-01-28 22:29:29 +08:00
Chong Yidong
93376c5baf Quote file name commands in eshell.
* lisp/eshell/esh-arg.el (eshell-quote-argument): New function.

* lisp/eshell/esh-ext.el (eshell-invoke-batch-file):
* lisp/eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
first arg to eshell-parse-command.

Fixes: debbugs:10523
2012-01-28 21:58:46 +08:00
Drew Adams
4372494f8f * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
`default-directory' is non-nil.
2012-01-28 12:26:29 +01:00
Eli Zaretskii
4d4ec1f815 Fix bug #9924 with long display of system-configuration-options in emacsbug.el.
lisp/mail/emacsbug.el (report-emacs-bug): Fill the potentially long
 line that displays system-configuration-options.
2012-01-28 12:49:17 +02:00
Drew Adams
7c188927ac Fix bug #10129: add positional information to "C-u C-x =".
lisp/descr-text.el (describe-char): Show information about POS, in
 addition to information about the character at POS.  Improve and
 update the doc string.  Change "code point" to "code point in
 charset", to avoid confusion with the character's Unicode code
 point shown above that.
2012-01-28 12:27:28 +02:00
Eli Zaretskii
e0da685ab9 Fix character display by "C-u C-x =" in presence of display properties.
lisp/descr-text.el (describe-char): Show the raw character, not only
 its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
 for the reasons.
2012-01-28 11:52:24 +02:00
Chong Yidong
80ed530414 Fix last commit. 2012-01-28 17:50:52 +08:00
Phil Hagelberg
70550acf88 Fix M-x package-install failure if no archive has been fetched yet.
* emacs-lisp/package.el (package-install): Run
package-refresh-contents if there is no archive yet.

Fixes: debbugs:97978
2012-01-28 17:49:29 +08:00
Chong Yidong
0ce8e868b9 Fix package.el dependency handling so that `require' calls work.
* lisp/emacs-lisp/package.el (package-maybe-load-descriptor): New
function, split from package-maybe-load-descriptor.
(package-maybe-load-descriptor): Use it.
(package-download-transaction): Fully load required packages
inside the loop, so that `require' calls work.
(package-install): No need to call package-initialize now.

Fixes: debbugs:10593
2012-01-28 16:14:24 +08:00
Chong Yidong
f823b8caac Mark tooltip-use-echo-area as obsolete.
* lisp/tooltip.el (tooltip-mode): Doc fix.
(tooltip-use-echo-area): Mark as obsolete.

Fixes: debbugs:6595
2012-01-28 13:02:02 +08:00
Chong Yidong
2680c30938 * lisp/frame.el (set-cursor-color): Doc fix.
* doc/emacs/display.texi (Faces): Add xref to Colors node.

Fixes: debbugs:352
2012-01-28 11:21:04 +08:00
Chong Yidong
2ae018000a * lisp/cus-edit.el (customize-unsaved, customize-saved): Doc fix.
Fixes: debbugs:10541
2012-01-28 10:56:35 +08:00
Chong Yidong
d7a9e63bd6 * lisp/mail/rmail.el (rmail-start-mail): Add send-action again.
(rmail-mail-return): Switch to NEWBUF only if it is non-nil.

Fixes: debbugs:10625
2012-01-28 09:58:27 +08:00
Chong Yidong
2e7f3bea5f * cus-edit.el (custom-buffer-create-internal): Fix search button action.
Fixes: debbugs:10542
2012-01-28 09:17:42 +08:00
Eduard Wiebe
fc4f7a233e * dired.el (dired-mark-files-regexp): Include any subdirectory components.
Fixes: debbugs:10445
2012-01-27 13:40:44 -08:00
Mike Lamb
7dd37071d0 pcmpl-ssh-known-hosts tiny change
* lisp/pcmpl-unix.el (pcmpl-ssh-known-hosts): Handle [host]:port syntax.

Fixes: debbugs:10533
2012-01-27 13:14:16 -08:00
Alex Harsanyi
a268160b06 * xml.el (xml-parse-tag): Fix parsing of comments.
Fixes: debbugs:10405
2012-01-27 16:46:10 +08:00
Glenn Morris
e43273eff0 Use ctl-x-map in place of C-x (bug#10566)
For an example of the problems NOT doing this might cause, see eg
http://lists.gnu.org/archive/html/bug-gnu-emacs/2006-07/msg00000.html
Eg after:
  (global-set-key (kbd "C-u") ctl-x-map)
  (global-set-key (kbd "C-x") 'universal-argument)
just loading dired-x.el or term.el would give an error.

* lisp/dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
* lisp/term.el (term-raw-escape-map): Use Control-X-prefix.
* lisp/vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.
2012-01-25 21:32:56 -05:00
Martin Rudalics
1edf595d75 Ignore fixed-sizeness when getting a window's state.
* window.el (window-state-get, window--state-get-1): Don't deal
with fixed-sizeness of windows.  Simplify code.
2012-01-25 15:52:10 +01:00
Jérémy Compostella
fa8eafefbe In window states don't deal with the mark.
* window.el (window--state-get-1, window--state-put-2): Don't
save and restore the mark.
2012-01-25 15:28:01 +01:00
Glenn Morris
40047858c6 dired-goto-file fix for some `ls -b' escapes.
* lisp/dired.el (dired-goto-file):
Handle some of the more common characters that `ls -b' escapes.

Fixes: debbugs:10596
2012-01-25 00:20:24 -08:00
Chong Yidong
0b21c100be Tweak custom-variable-p and user-variable-p docs.
* lisp/custom.el (custom-variable-p): Doc fix.

* src/eval.c (Fuser_variable_p): Doc fix; mention custom-variable-p.
2012-01-25 13:48:11 +08:00
Glenn Morris
5ddce96c61 compile/grep fix for bug#10594
* lisp/progmodes/compile.el (compilation-next-error-function):
Respect compilation-first-column in the "*compilation*" buffer.
* lisp/progmodes/grep.el (grep-first-column): New variable.
2012-01-24 21:01:22 -05:00
Glenn Morris
5ae1a6c8a2 * lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513) 2012-01-24 19:07:04 -05:00
Glenn Morris
b559f1a908 * lisp/pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457) 2012-01-24 13:10:39 -05:00
Julien Danjou
6725d21a1b color.el: Add saturate, lighten functions. 2012-01-24 12:06:51 +00:00
Glenn Morris
70df4bbe29 Fix rcs and sccs create-tag commands.
* lisp/vc/vc-rcs.el (vc-rcs-create-tag):
* lisp/vc/vc-sccs.el (vc-sccs-create-tag):
Fix argument spec to be what vc-create-tag expects.

Fixes: debbugs:10515
2012-01-24 00:22:50 -08:00
Mike Lamb
d7128bb164 * lisp/eshell/esh-util.el (pcomplete/ssh): Remove alias. (tiny change)
There is a better pcomplete/ssh defined in pcmpl-unix.el.

Fixes: debbugs:10548
2012-01-23 00:18:22 -08:00
Mike Lamb
802a2ae21f Handle comments in eshell-read-hosts-file (tiny change)
* lisp/eshell/esh-util.el (eshell-read-hosts-file): Skip comment lines.

Fixes: debbugs:10549
2012-01-23 00:12:10 -08:00
Juanma Barranquero
2724d9c71e lisp/subr.el: Rework previous change.
* lisp/subr.el (display-delayed-warnings): Doc fix.
  (collapse-delayed-warnings): New function to collapse identical
  adjacent warnings.
  (delayed-warnings-hook): Add it.
2012-01-23 03:10:36 +01:00
Juanma Barranquero
d1a5c3b450 lisp/subr.el (display-delayed-warnings): Collapse identical adjacent messages. 2012-01-23 02:10:50 +01:00
Michael Albinus
a5509865d7 * net/tramp.el (tramp-action-login): Set connection property "login-as".
* net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
properties, when "login-as" is set.

* net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
(tramp-default-user-alist): Don't add "pscp".
(tramp-do-copy-or-rename-file-out-of-band): Use connection
property "login-as", if set.  (Bug#10530)
2012-01-22 13:55:36 +01:00
Michael Albinus
cc6d5805ba * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
"plink1" and "psftp".  (Bug#10530)
2012-01-21 17:02:53 +01:00
Kenichi Handa
678fb70666 merge trunk 2012-01-21 20:36:42 +09:00
Jérémy Compostella
f096042862 Fix windmove-reference-loc miscalculation. 2012-01-21 11:02:34 +01:00
Jay Belanger
dd6f2a637d calc/calc-units.el (math-put-default-units): Don't use "1" as a
default unit.
2012-01-20 18:46:09 -06:00
Glenn Morris
117a9ea130 * lisp/international/mule.el (auto-coding-alist): Add .tbz. 2012-01-20 16:42:09 -08:00
Glenn Morris
7b447e9bda File-local variable fixes.
* lisp/files.el (local-enable-local-variables): Doc fix.
(inhibit-local-variables-regexps): Rename from inhibit-first-line-modes-regexps.
Keep old name as obsolete alias.  Doc fix.
Add some extensions from auto-coding-alist.
(inhibit-local-variables-suffixes):
Rename from inhibit-first-line-modes-suffixes.  Doc fix.
(inhibit-local-variables-p): New function, extracted from set-auto-mode-1.
(set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
(set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
(hack-local-variables): Doc fix.
Make the mode-only case respect enable-local-variables and friends.
Respect inhibit-local-variables-regexps for file-locals,
but not for directory-locals.
(set-visited-file-name): Take account of inhibit-local-variables-regexps.
Whether it applies may change as the file name is changed.
* lisp/jka-cmpr-hook.el (jka-compr-install):
* lisp/jka-compr.el (jka-compr-uninstall):
Update for inhibit-first-line-modes-suffixes name change.

* etc/NEWS: Mention this change.

Fixes: debbugs:10506
2012-01-20 16:41:05 -08:00
Martin Rudalics
dd6e3cdd5a In make-help-screen make original minor-mode-map-alist temporarily visible.
* help-macro.el (make-help-screen): Temporarily restore original binding
for minor-mode-map-alist (Bug#10454).
2012-01-20 09:12:35 +01:00
Julien Danjou
0d0deb382b color.el (color-name-to-rgb): Use the white color to find the max color component value and return correctly computed values.
(color-name-to-rgb): Add missing float conversion for max value.
2012-01-19 23:06:49 +00:00
Martin Rudalics
34a02f46dc Fix handling of persistent window parameters.
* window.c (save_window_save, Fcurrent_window_configuration)
(Vwindow_persistent_parameters): Do not use Qstate.  Rewrite
doc-strings.
* window.el (window--state-get-1, window-state-get): Do not use
special state value for window-persistent-parameters.  Rename
argument IGNORE to WRITABLE.  Rewrite doc-string.
(window--state-put-2): Reset all window parameters to nil before
assigning values of persistent parameters.
* windows.texi (Window Configurations): Rewrite references to
persistent window parameters.
(Window Parameters): Fix description of persistent window
parameters.
2012-01-19 11:38:31 +01:00
Alan Mackenzie
606c44c4cf Update ChangeLog. 2012-01-18 13:39:32 +00:00
Glenn Morris
f3860cea15 files.el doc fixes.
* lisp/files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
(set-auto-mode): Doc fixes.
2012-01-17 20:33:19 -05:00
Kenichi Handa
71784361eb international/mule-cmds.el (prefer-coding-system): Show a warning message if the default value of file-name-coding-system was not changed. 2012-01-18 10:11:15 +09:00
Glenn Morris
0e6038be96 * lisp/isearch.el (search-nonincremental-instead): Fix doc typo. 2012-01-17 17:33:05 -05:00
Glenn Morris
1db03b1618 Dired fixes for newlines in directory names.
* lisp/dired.el (dired-insert-directory): Handle newlines in directory name.
(dired-build-subdir-alist): Unescape newlines in directory name.
2012-01-17 17:27:46 -05:00
Alan Mackenzie
8c82b1b4dc Update the ChangeLog. 2012-01-17 18:46:02 +00:00
Michael Albinus
4cb0aa7579 * net/tramp.el (tramp-local-end-of-line): New defcustom.
(tramp-action-login, tramp-action-yesno, tramp-action-yn)
(tramp-action-terminal): Use it.  (Bug#10530)
2012-01-17 11:29:52 +01:00