Commit graph

52635 commits

Author SHA1 Message Date
Andreas Schwab
d93c111eaa * international/mule-util.el (with-coding-priority): Doc fix. 2011-02-04 11:45:46 +01:00
Lars Ingebrigtsen
2b7feab009 message.el (message-setup-1): Don't bind the constant -forbidden-properties.
(message-setup-1): Revert previous change, since it needs to bind the props to insert them.
 (message-resend): Allow removing the read-only separator line.
2011-02-04 09:51:56 +00:00
Eli Zaretskii
6f52d86e95 Fix bug #7977 with special-mode-map in arc-mode.el.
arc-mode.el (archive-mode-map): Fix a typo in last change.
2011-02-04 11:12:32 +02:00
Glenn Morris
e3a70a8a45 * lisp/obsolete/spell.el: Undo previous comment change. 2011-02-03 19:27:18 -08:00
Gnus developers
0d1c2cc8c8 Merge changes made in Gnus trunk.
gnus-util.el: change default value of gnus-user-date-format-alist.
gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
gnus-art.el: remove old FIXME.
gnus.el (gnus-summary-line-format): Add missing semi-colon for user-date in docstring.
message.el (message-setup-1): Always generate References first.
 (message-mail): Return the return value of message-setup, not always t.
gnus-start.el (gnus-read-active-for-groups): This function is never called with a nil `infos', so clean that up.
 (gnus-get-unread-articles): Request active files from primary/secondary methods that have no groups (yet).
 (message-setup-1): Insert mail-header-separator with read-only and intangible properties set.
gnus-draft.el: Remove progn around gnus-draft-setup.
gnus-start.el (gnus-get-unread-articles): Fix the call to methods that have no groups.
nnimap.el (nnimap-request-accept-article): Give an error message if the APPEND wasn't successful.
2011-02-03 23:43:22 +00:00
Sam Steingold
c1b4afacf5 * lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
Do not error out when `func' is nil.
2011-02-03 14:59:17 -05:00
Michael Albinus
a857d3c7c0 * net/tramp-sh.el (tramp-remote-path): Add default settings for
`tramp-default-remote-path' to the docstring.
(tramp-get-remote-path): Suppress error message when `getconf
PATH' fails.

* net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2011-02-03 12:28:16 +01:00
Glenn Morris
219ea611fd * lisp/vc/vc-hg.el (vc-hg-command): Doc fix. 2011-02-02 23:33:16 -08:00
Glenn Morris
8d7b5b5ba9 * lisp/term/w32-win.el (libpng-version): Declare for compiler. 2011-02-02 23:31:42 -08:00
Glenn Morris
c03eac3473 * lisp/msb.el: No need to load dired while compiling. 2011-02-02 23:29:38 -08:00
Glenn Morris
7f07c1fe57 elint.el trivia.
* lisp/emacs-lisp/elint.el (elint-standard-variables):
Remove a couple of built-ins that now have doc-strings.
2011-02-02 23:27:59 -08:00
Glenn Morris
5a6a61f77f Silence some compiler warnings.
* lisp/gnus/nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.

* lisp/gnus/nnimap.el (gnus-fetch-headers): Declare.
2011-02-02 23:25:14 -08:00
Glenn Morris
befe199d3a require' is automatically eval-and-compile'd.
* hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
`require' is automatically `eval-and-compile'd.
2011-02-02 23:21:56 -08:00
Glenn Morris
8a0709ff5d * lisp/obsolete/spell.el: Fix header comment. 2011-02-02 23:15:31 -08:00
Glenn Morris
2d7d6439d2 rcirc.el trivia.
* lisp/net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
(rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2011-02-02 23:14:02 -08:00
Glenn Morris
8aa8876085 strokes.el trivia.
* lisp/strokes.el (strokes-fill-current-buffer-with-whitespace):
Move definition before use.
(strokes-report-bug): Make it obsolete.
2011-02-02 23:11:31 -08:00
Lars Ingebrigtsen
fd7ec1ba35 Fix the ChangeLog message to be more legible. 2011-02-02 22:23:35 -08:00
Lars Ingebrigtsen
b301d17489 (url-http-wait-for-headers-change-function): Don't move if the callback function has moved point. 2011-02-02 22:22:07 -08:00
Lars Ingebrigtsen
011f86c70f message.el (message-forward-make-body-digest-plain)
(message-followup, message-reply): Clean up things noted by Stefan.
2011-02-03 05:26:36 +00:00
Lars Ingebrigtsen
c61a8b4404 gnus-art.el (gnus-article-date-headers): Rip out the old -treat-date-* stuff, since it didn't really work with defcustom.
(article-update-date-lapsed): Make sure the window start doesn't move,	      either.
2011-02-03 05:21:20 +00:00
Lars Ingebrigtsen
7f13c2e2d9 gnus-art.el (gnus-article-setup-buffer): Stop the date timer if gnus-article-update-date-headers is nil.
gnus.texi (Article Date): Remove mention of gnus-stop-date-timer, since it's run automatically.
2011-02-03 05:01:44 +00:00
Sam Steingold
e90f854587 * lisp/apropos.el (apropos-print): Now that `apropos-mode' inherits
from `special-mode', entering it makes the buffer read-only, so
call it only when everything has been already inserted.
* lisp/emacs-lisp/ert.el (ert--setup-results-buffer)
(ert-results-pop-to-backtrace-for-test-at-point)
(ert-results-pop-to-messages-for-test-at-point)
(ert-results-pop-to-timings): Ditto.
* lisp/emacs-lisp/package.el (package--list-packages): Ditto.
* lisp/play/solitaire.el (solitaire): Ditto.
2011-02-02 12:59:44 -05:00
Chong Yidong
90db975fc5 * progmodes/compile.el: Make all faces inherit from font-lock faces.
(compilation-warning): Inherit from font-lock-variable-name-face.
(compilation-info): Inherit from font-lock-type-face.
(compilation-line-number): Reassign to font-lock-keyword-face.
(compilation-column-number): Reassign to font-lock-doc-face.
(compilation-leave-directory-face): Reassign to font-lock-builtin-face.
2011-02-02 12:14:49 -05:00
Eli Zaretskii
bc35ff325b Fix Dired on DOS/Windows.
dired.el (dired-insert-directory): Don't invoke `ls' when
 ls-lisp.el is used to emulate it.
2011-02-02 18:21:52 +02:00
Julien Danjou
39cde66c5e mm-uu.el (mm-uu-type-alist): Add support for git format-patch diff format.
mm-decode.el (mm-inline-media-tests): Do not check for diff-mode it's standard in Emacs nowadays.
color.el (color-gradient): Add a color-gradient function.
2011-02-01 23:46:27 +00:00
Sam Steingold
e8e4d5c88e undo 2011-02-01T18:15:18Z!sds@gnu.org (purecopy-cons, purecopy-car) at Stefan Monnier's request 2011-02-01 16:37:12 -05:00
Sam Steingold
abef340a0c * lisp/simple.el (special-mode-map): Bind "h" to `describe-mode';
bind "z" to `kill-this-buffer'.
(completion-list-mode-map): Bind "z" to `kill-this-buffer'.
* lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
(apropos-mode): Inherit from `special-mode'.
* lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
* lisp/bookmark.el (bookmark-bmenu-mode): Define using
`define-derived-mode' inheriting from `special-mode'.
* lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
* lisp/image-mode.el (image-mode-map): Ditto.
* lisp/replace.el (occur-mode): Define using
`define-derived-mode' inheriting from `special-mode'.
* lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
* lisp/calendar/diary-lib.el (diary-fancy-display-mode):
Inherit from `special-mode-map'.
* lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
Inherit from `special-mode'.
* lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
`special-mode-map'.
(package-menu-mode): Define using `define-derived-mode'
inheriting from `special-mode'.
* erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
* lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
(xesam-mode-map): Define separately.
* lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
* lisp/progmodes/compile.el (compilation-minor-mode-map)
(compilation-mode-map): Inherit from `special-mode-map'.
* lisp/vc/diff-mode.el (diff-mode-shared-map):
Inherit from `special-mode-map'.
* lisp/vc/log-view.el (log-view-mode-map): Add a comment.
2011-02-01 16:22:21 -05:00
Sam Steingold
26d504d7f3 fix docstrings of purecopy-cons' & purecopy-car' per Chong Yidong's request 2011-02-01 14:17:10 -05:00
Sam Steingold
0b75349e7e * lisp/subr.el (purecopy-cons, purecopy-car): Add shortcuts.
* lisp/faces.el (face-x-resources): Use `purecopy-cons'.
* lisp/files.el (auto-mode-alist, interpreter-mode-alist): Use
`purecopy-car'.
* lisp/international/fontset.el (font-encoding-alist): Ditto.
* lisp/international/mule-conf.el (file-coding-system-alist): Ditto.
* lisp/international/mule.el (auto-coding-alist)
(auto-coding-regexp-alist): Ditto.
* lisp/mouse.el (mouse-buffer-menu-mode-groups): Use `purecopy-cons'.
* lisp/term/x-win.el (x-gtk-stock-map): Ditto.
2011-02-01 13:15:18 -05:00
Chong Yidong
928f4e732d Drop use of unsafep for checking Custom themes; bugfixes.
* lisp/custom.el (load-theme): Define return value.  Drop use of
unsafep; call custom-theme-load-confirm for non-known-safe themes.
(custom-theme-load-confirm): Scroll in the correct window.
(custom-enabled-themes): Add custom-safe-themes to :set-after.

* lisp/cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
checkbox if load-theme fails.
2011-02-01 12:34:07 -05:00
Stefan Monnier
7d11664781 * lisp/progmodes/compile.el (compilation-next-error): Check there's
a message before using it.

Fixes: debbugs:7941
2011-02-01 11:33:17 -05:00
Stefan Monnier
99c2a4e37a * lisp/gnus/message.el (message-expand-name): Don't trust the return value of
bbdb-complete-name.
(message-check-news-header-syntax): Remove unused var `start'.
(message-idna-to-ascii-rhs-1): Remove unused vars `rhs' and `address'.
(message-inhibit-body-encoding): Move to before first use.
(mail-abbrev-mode-regexp, Expires, User-Agent, Lines, Distribution)
(To, References, In-Reply-To, Newsgroups, Subject, Path, From)
(Organization, Message-ID, Date, mh-previous-window-config):
Defvar the vars using dynamic scoping.
2011-02-01 09:09:20 -05:00
Deniz Dogan
cd03cda8f0 Adding missing bug reference to ChangeLog. 2011-02-01 11:12:25 +01:00
Lars Ingebrigtsen
abb97fbbed shr.el (shr-render-td): Only do colours at the final rendering. Should be slightly faster.
(shr-insert-table): Fix up TD background colours when doing the vertical padding.
gnus-art.el (article-update-date-lapsed): Don't use current-column to find the horizontal position.  It's fragile in the presence of \003 characters.
2011-02-01 03:54:46 +00:00
Lars Ingebrigtsen
8c9da040de gnus-art.el (article-date-ut): Protect against articles with no Date header. 2011-02-01 02:23:24 +00:00
Lars Ingebrigtsen
c1d5851dc0 gnus-start.el (gnus-read-active-file-1): Remove dead parameter infos. 2011-02-01 02:19:04 +00:00
Jay Belanger
4fdfcddf73 * calc/calc-mtx.el (math-lud-pivot-check): New function.
(math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
of potential pivots.
2011-01-31 20:15:52 -06:00
Chong Yidong
14beddf471 Merge changes from emacs-23 branch 2011-01-31 18:54:50 -05:00
Deniz Dogan
113ef437f2 Backport Bug#7933 fix from trunk.
* lisp/net/rcirc.el: Clean log filenames (Bug#7933).
(rcirc-log-write): Use convert-standard-filename.
(rcirc-log-filename-function): Documentation updates.
2011-01-31 18:11:29 -05:00
Alan Mackenzie
3b95603fb5 Fix an infloop in CC-mode (Bug#7595).
* progmodes/cc-cmds.el (c-forward-over-illiterals): Continue
parsing if we encounter a naked # (Bug#7595).
(c-beginning-of-statement): Avoid loop in locating the beginning
of a macro.
2011-01-31 18:07:43 -05:00
Deniz Dogan
2a4466ca20 * lisp/net/rcirc.el: New customizable nick completion format.
(rcirc-nick-completion-format): New defcustom.
(rcirc-complete): Use it.
2011-01-31 21:44:45 +01:00
Antoine Levitt
3e46acf717 Fix erasure of modeline by erc-track.
http://lists.gnu.org/archive/html/emacs-devel/2010-08/msg00562.html

* erc-track.el (track): Don't reset erc-modified-channels-object
each time erc-track-mode is activated.
2011-01-31 14:16:19 -05:00
Stefan Monnier
1dc4075fa8 Fix last-minute typo in last change. 2011-01-31 12:11:11 -05:00
Stefan Monnier
9e11271c55 * lisp/progmodes/compile.el (compilation--flush-directory-cache):
New function, extracted from compilation--remove-properties.
(compilation--remove-properties, compilation--parse-region): Use it.
(compilation--previous-directory): Handle one more case.
(compilation-enable-debug-messages): Remove.
(compilation-parse-errors, compilation--flush-parse): Just remove the
left over debug messages.
2011-01-31 12:09:42 -05:00
Chong Yidong
6fa1f65165 * lisp/files.el (copy-directory): Fix arguments to the recursive call. 2011-01-31 12:03:37 -05:00
Sam Steingold
038714abef * lisp/progmodes/compile.el (compilation-enable-debug-messages):
Add a variable to make the parsing messages introduced in
2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
(compilation-parse-errors, compilation--flush-parse): Use it.
2011-01-31 11:49:44 -05:00
Deniz Dogan
186ecaf1a6 * lisp/net/rcirc.el: Clean log filenames (Bug#7933).
(rcirc-log-write): Use convert-standard-filename.
(rcirc-log-filename-function): Documentation updates.
2011-01-31 16:19:57 +01:00
Lars Ingebrigtsen
0c74b83871 gnus-art.el (article-date-ut): Replace infinitely many Date headers with a single one when called interactively. 2011-01-31 12:29:31 +00:00
Lars Ingebrigtsen
5b9b62f152 gnus-art.el (article-transform-date): Fix infinite recursion. 2011-01-31 10:49:39 +00:00
Lars Ingebrigtsen
32a400d4e1 gnus-art.el (article-transform-date): Rewrite to still work when there are several rfc2822 parts. 2011-01-31 07:27:07 +00:00