Juanma Barranquero
4789358111
lisp/progmodes/cwarn.el: Small fixes.
...
(cwarn): Remove dead link.
(cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
Remove * from defcustom docstrings.
(turn-on-cwarn-mode): Make obsolete.
(c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
(turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2012-01-31 03:57:00 +01:00
Glenn Morris
e58e988add
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case.
2012-01-30 17:53:20 -08:00
Glenn Morris
7a3f511d4b
authors.el trivia
...
* lisp/emacs-lisp/authors.el (authors-fixed-entries):
Remove reference to deleted file rnewspost.el.
2012-01-30 00:24:14 -08:00
Juanma Barranquero
cb882333c2
lisp/window.el: Remove unused variables.
...
(window-with-parameter): Remove unused variable `windows'.
(window--side-check): Remove unused variable `code'.
(window--resize-siblings): Remove unused variable `first'.
(adjust-window-trailing-edge): Remove unused variable `failed'.
(window-deletable-p, window--delete): Remove unused variable `buffer'.
Use `let', not `let*'.
(balance-windows-2): Remove unused variable `found'.
(window--state-put-2): Remove unused variable `splits'.
(window-state-put): Remove unused variable `selected'.
(same-window-p): Use `string-match-p'.
(display-buffer-assq-regexp): Remove unused variable `value'.
(display-buffer-pop-up-frame, display-buffer-pop-up-window):
Mark argument ALIST as ignored.
(pop-to-buffer): Remove unused variable `old-window'.
2012-01-29 22:52:14 +01:00
Eli Zaretskii
907201af57
Support Lzip and LZMA compressed files.
...
lisp/jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
and .lzma compressed files.
2012-01-29 19:41:43 +02:00
Chong Yidong
5b95ee8a96
* lisp/frame.el (window-system-default-frame-alist): Doc fix.
2012-01-29 22:22:51 +08:00
Chong Yidong
ea1626708e
Fix an instance of dynamic-setting.el clobbering the default face.
...
* lisp/dynamic-setting.el (font-setting-change-default-font): Don't
change the default face if SET-FONT argument is non-nil.
Fixes: debbugs:9982
2012-01-29 21:55:09 +08:00
Samuel Bronson
d6e6f4b1e9
* lisp/custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2012-01-29 18:01:20 +08:00
Chong Yidong
0f29fa41ac
Fix wholenump/natnump description in Lisp manual.
...
* doc/lispref/numbers.texi (Predicates on Numbers): Fix
wholenump/natnump description.
Fixes: debbugs:10189
2012-01-29 15:25:22 +08:00
Syver Enstad
6b25e4e27d
Fix pdb path handling.
...
* progmodes/gud.el (pdb): Give pdb full paths, to allow setting
breakpoints in files outside current directory.
* lisp/progmodes/python.el: Require ansi-color at top-level.
Fixes: debbugs:6098
2012-01-29 15:06:54 +08:00
Chong Yidong
db17443466
Make Emacs Lisp mode use emacs-lisp-mode-abbrev-table.
...
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table): Define
and use in Emacs Lisp mode.
(lisp-mode-abbrev-table): Add doc.
(lisp-mode-variables): Don't set local-abbrev-table.
(lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
Fixes: debbugs:9360
2012-01-29 12:45:51 +08:00
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