Commit graph

55156 commits

Author SHA1 Message Date
Chong Yidong
fce3fdeb94 Fix menu-set-font interaction with Custom themes.
In particular, prevent it from setting non-font-related attributes
like the foreground and background color.  This requires a bugfix to
face-spec-reset-face to make "resetting" the default face work.

* lisp/faces.el (face-spec-reset-face): Don't apply unspecified
attribute values to the default face.

* lisp/frame.el (set-frame-font): New arg ALL-FRAMES.

* lisp/menu-bar.el (menu-set-font): Use set-frame-font.
2012-01-31 16:38:58 +08:00
Glenn Morris
60dc267191 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. 2012-01-30 20:52:29 -08:00
Glenn Morris
6c9b47ae84 Small define-minor-mode fix for variable: keyword.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
Allow named functions to be used as the cdr of variable:.
2012-01-30 20:35:57 -08:00
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
Gnus developers
ba775afe0d Merge changes made in Gnus trunk
gnus.texi (Agent Basics): Fix outdated description of `gnus-agent-auto-agentize-methods'.
rfc2047.el (rfc2047-encode-region): Allow not folding the encoded words.
 (rfc2047-encode-string): Ditto.
 (rfc2047-encode-parameter): Don't fold parameters.  Some MUAs do not understand folded filename="..." parameters, for instance.
gnus-agent.el (gnus-agent-auto-agentize-methods): Point to the Agent section in the manual.
2012-01-30 23:30:22 +00:00
Lars Ingebrigtsen
d2859a4a2e nnimap.el (nnimap-wait-for-response): Include the imap server name in the message for greater debuggability. 2012-01-30 22:03:11 +00: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
d7fac6deb0 Bump version to 24.0.93.
Regenerate AUTHORS and ldefs-boot.el.
2012-01-29 23:46:05 +08: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
David Engster
c6ddbd6890 Fix require error when using srecode-insert.
* lisp/cedet/srecode/insert.el: Require srecode/filters.
* lisp/cedet/srecode/filters.el: Drop two requires.

Fixes: debbugs:9967
2012-01-29 12:21:29 +08:00
Lars Ingebrigtsen
576950c66c mm-view.el (mm-display-inline-fontify): Bind `font-lock-support-mode' instead of setting it locally, since the latter doesn't seem to have any effect (most of the time). 2012-01-29 00:28:05 +00: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
9962192ea1 * doc/lispref/modes.texi (Example Major Modes): Update Lisp example code
to current sources.  Delete the old non-derived-major-mode
example, which has diverged badly from current sources.

* lisp/text-mode.el (text-mode): Minor tweak to make the mirrored
manual node nicer.
2012-01-28 11:49:22 +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
Lars Ingebrigtsen
d30dd208c0 Paperwork has arrived for Dave Abrahams, so remove "(tiny change)". 2012-01-28 02:28:36 +00:00
Gnus developers
39ddff397c Merge changes made in Gnus trunk
shr.el (shr-browse-url): Fix the name of the `browse-url-mail' function call.
gnus-demon.el (gnus-demon-run-callback, gnus-demon-init): Convert to seconds, and make the repeat clause with HH:MM specs work as documented.
2012-01-28 02:25:57 +00:00
Chong Yidong
0f2bad2708 * mail/rmail.el (rmail-mail-return): Only switch to live buffers. 2012-01-28 10:01:05 +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
Lars Ingebrigtsen
964646c45a Merge changes made in Gnus trunk
gnus-start.el (gnus-get-unread-articles): Clear out "early" methods so that previous errors don't prohibit getting new news.
nnimap.el (nnimap-retrieve-group-data-early): Ditto.
nntp.el (nntp-retrieve-group-data-early): Ditto.
2012-01-27 14:32:25 +00:00
Alex Harsanyi
a268160b06 * xml.el (xml-parse-tag): Fix parsing of comments.
Fixes: debbugs:10405
2012-01-27 16:46:10 +08:00
Katsumi Yamaoka
97c0d1accb gnus-sum.el (gnus-summary-mode): Fix last change. 2012-01-27 03:36:45 +00:00
Katsumi Yamaoka
367a344fcd gnus-sum.el (gnus-summary-mode): Comment fix. 2012-01-26 23:24:06 +00:00
Gnus developers
f4887f8b1e Merge changes made in Gnus trunk.
gnus-sum.el (gnus-summary-mode): Don't make bidi-paragraph-direction bound in old Emacsen and XEmacsen.
gnus.el (gnus-group-find-parameter): Check for liveness of the buffer, not of the string which is its name.
gnus-sum.el (gnus-summary-move-article): Don't propagate marks to non-server-marks groups.
 (gnus-group-make-articles-read): Ditto.
gnus-srvr.el (gnus-server-prepare): Use it to avoid showing ephemeral methods (bug#9676).
gnus.el (gnus-method-ephemeral-p): New function.
2012-01-26 23:03:28 +00:00
Glenn Morris
8681f11d3b Auto-commit of loaddefs files. 2012-01-26 06:18:28 -05:00
Lars Ingebrigtsen
18cd34c10e Merge changes made in Gnus trunk
nnimap.el (nnir-search-thread): Autoload to avoid a compilation warning.
gnus-sum.el (gnus-summary-line-format-alist): Don't try to macroexpand the nnir things, since they haven't been defined yet, and nnir requires gnus-sum.
2012-01-26 10:43:01 +00:00
Katsumi Yamaoka
d1caca805e gnus-sum.el (gnus-summary-mode): Force paragraph direction to be left-to-right. 2012-01-26 10:38:22 +00:00
Glenn Morris
48da739227 Doc fix for lexical-binding being in line one.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html

* doc/lispref/variables.texi (Using Lexical Binding):
Mention that lexical-binding should be set in the first line.

* src/lread.c (syms_of_lread): Doc fix.

* lisp/emacs-lisp/tabulated-list.el, lisp/progmodes/f90.el:
Move lexical-binding file-local to line one.

* etc/NEWS: lexical-binding should be ine the first line.
2012-01-25 22:30:49 -08:00