bpt/emacs.git
13 years agognus.el (gnus-mode-non-string-length): Change default to 30; gnus-sum.el (gnus-auto...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 03:35:06 +0000 (03:35 +0000)]
gnus.el (gnus-mode-non-string-length): Change default to 30; gnus-sum.el (gnus-auto-select-subject): Change default to `unseen-or-unread'; gnus.el (gnus-refer-article-method): Change default to 'current.

13 years agomessage.el (message-generate-new-buffers): Change default to `unsent'; gnus-sum.el...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 03:27:17 +0000 (03:27 +0000)]
message.el (message-generate-new-buffers): Change default to `unsent'; gnus-sum.el (gnus-summary-goto-unread, gnus-single-article-buffer): Change default to nil.

13 years agomerge changes in emacs-23 branch
Kenichi Handa [Thu, 2 Sep 2010 02:00:18 +0000 (11:00 +0900)]
merge changes in emacs-23 branch

13 years agognus-html.el (gnus-html-rescale-image): Yet another try at getting the image sizing...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 01:46:34 +0000 (01:46 +0000)]
gnus-html.el (gnus-html-rescale-image): Yet another try at getting the image sizing right.

13 years agoDelete all trailing white space.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 01:42:32 +0000 (01:42 +0000)]
Delete all trailing white space.

13 years agognus-html.el (gnus-html-wash-tags): Remove all <pre_int> place holders.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 01:33:31 +0000 (01:33 +0000)]
gnus-html.el (gnus-html-wash-tags): Remove all <pre_int> place holders.

13 years agognus-html.el (gnus-html-wash-tags): Don't show images that are really small. They...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 01:29:42 +0000 (01:29 +0000)]
gnus-html.el (gnus-html-wash-tags): Don't show images that are really small.  They're probably tracking images; nntp.el (nntp-request-set-mark): Refuse to do marks if nntp-marks-file-name is nil.

13 years agognus-html.el (gnus-html-rescale-image): The rescaling logic scaled down too much...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 01:24:21 +0000 (01:24 +0000)]
gnus-html.el (gnus-html-rescale-image): The rescaling logic scaled down too much; nndoc.el (nndoc-type-alist): Added a new type for Google digests.

13 years agognus-html.el: prefix log messages with function name
Teodor Zlatanov [Thu, 2 Sep 2010 01:18:45 +0000 (01:18 +0000)]
gnus-html.el: prefix log messages with function name

13 years agognus-html.el (gnus-html-wash-tags): Check the value ofgnus-blocked-images in the...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 01:14:38 +0000 (01:14 +0000)]
gnus-html.el (gnus-html-wash-tags): Check the value ofgnus-blocked-images in the summary buffer.

13 years agognus-html.el: Doc fix for gnus-html-image-url-blocked-p.
Teodor Zlatanov [Thu, 2 Sep 2010 01:10:25 +0000 (01:10 +0000)]
gnus-html.el: Doc fix for gnus-html-image-url-blocked-p.

13 years agomerge trunk
Kenichi Handa [Thu, 2 Sep 2010 01:09:22 +0000 (10:09 +0900)]
merge trunk

13 years agognus-html.el (gnus-html-image-url-blocked-p): Say in the message what the regexp...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 01:06:36 +0000 (01:06 +0000)]
gnus-html.el (gnus-html-image-url-blocked-p): Say in the message what the regexp really is.

13 years agognus-html.el (gnus-html-wash-tags): "A" is also used for links, just like "a", it...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 01:02:03 +0000 (01:02 +0000)]
gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just like "a", it seems like; (gnus-html-image-url-blocked-p): Take a parameter for blocked-images since it needs to be picked from the correct buffer.

13 years agomerge trunk
Kenichi Handa [Thu, 2 Sep 2010 00:58:05 +0000 (09:58 +0900)]
merge trunk

13 years agoRemove arch-tags from all files, since these are no longer needed.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 00:55:51 +0000 (00:55 +0000)]
Remove arch-tags from all files, since these are no longer needed.

13 years agoRemove nnlistserv, nnwfm and related code.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 00:39:34 +0000 (00:39 +0000)]
Remove nnlistserv, nnwfm and related code.

13 years agoRemove nndb, nnkiboze and related code.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 00:28:01 +0000 (00:28 +0000)]
Remove nndb, nnkiboze and related code.

13 years agognus-html.el: add and use gnus-html-image-url-blocked-p
Teodor Zlatanov [Thu, 2 Sep 2010 00:17:40 +0000 (00:17 +0000)]
gnus-html.el: add and use gnus-html-image-url-blocked-p

13 years agognus-html.el: We can't rescale if we don't have the article buffer in a window.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 00:13:51 +0000 (00:13 +0000)]
gnus-html.el: We can't rescale if we don't have the article buffer in a window.

13 years agognus-html.el: Try to get the rescaling logic right for images that are just wide...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 00:08:22 +0000 (00:08 +0000)]
gnus-html.el: Try to get the rescaling logic right for images that are just wide and not tall.

13 years agognus.el, gnus-html.el: Use the deleted text as the image alt text.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 00:03:57 +0000 (00:03 +0000)]
gnus.el, gnus-html.el: Use the deleted text as the image alt text.

13 years agognus.texi (HTML): Document gnus-max-image-proportion.
Lars Magne Ingebrigtsen [Wed, 1 Sep 2010 23:57:53 +0000 (23:57 +0000)]
gnus.texi (HTML): Document gnus-max-image-proportion.

13 years agognus-html.el: Rescale images in article buffers for Emacs versions that support this...
Lars Magne Ingebrigtsen [Wed, 1 Sep 2010 23:53:57 +0000 (23:53 +0000)]
gnus-html.el: Rescale images in article buffers for Emacs versions that support this.   This is currently only Emacs 24 compiled with imagemagick support.

13 years agognus-html.el: Add extra logging.
Teodor Zlatanov [Wed, 1 Sep 2010 23:46:59 +0000 (23:46 +0000)]
gnus-html.el: Add extra logging.

13 years agognus-html.el: Delete the IMG_ALT region.
Lars Magne Ingebrigtsen [Wed, 1 Sep 2010 23:40:39 +0000 (23:40 +0000)]
gnus-html.el: Delete the IMG_ALT region.

13 years agoFix up some byte-compiler warnings.
Stefan Monnier [Wed, 1 Sep 2010 15:42:37 +0000 (17:42 +0200)]
Fix up some byte-compiler warnings.
* lisp/gnus/gnus.el (gnus-group-find-parameter, gnus-kill-save-kill-buffer):
* lisp/gnus/gnus-cite.el (gnus-article-highlight-citation, gnus-dissect-cited-text)
(gnus-article-fill-cited-article, gnus-article-hide-citation)
(gnus-article-hide-citation-in-followups, gnus-cite-toggle):
* lisp/gnus/gnus-group.el (gnus-group-set-mode-line, gnus-group-quit)
(gnus-group-set-info, gnus-add-mark): Use with-current-buffer.
(gnus-group-update-group): Use save-excursion and with-current-buffer.

13 years ago* lisp/simple.el (blink-paren-function): Move from C to here.
Stefan Monnier [Wed, 1 Sep 2010 14:41:17 +0000 (16:41 +0200)]
* lisp/simple.el (blink-paren-function): Move from C to here.
(blink-paren-post-self-insert-function): New function.
(post-self-insert-hook): Use it.
* src/cmds.c (Vblink_paren_function): Remove.
(internal_self_insert): Make it insert N chars at a time.
Don't call blink-paren-function.
(Fself_insert_command): Adjust accordingly.
(syms_of_cmds): Don't declare blink-paren-function.

13 years ago* lisp/emacs-lisp/pcase.el (pcase-split-memq): Overenthusiastic optimisation.
Stefan Monnier [Wed, 1 Sep 2010 10:03:08 +0000 (12:03 +0200)]
* lisp/emacs-lisp/pcase.el (pcase-split-memq): Overenthusiastic optimisation.
(pcase-u1): Handle the case of a lambda pred.

13 years agomerge changes in emacs-23 branch
Kenichi Handa [Wed, 1 Sep 2010 07:13:21 +0000 (16:13 +0900)]
merge changes in emacs-23 branch

13 years agognus-article-html: Decode contents by charset.
Katsumi Yamaoka [Wed, 1 Sep 2010 06:04:49 +0000 (06:04 +0000)]
gnus-article-html: Decode contents by charset.

13 years agognus-process-put: Fix previous commit.
Katsumi Yamaoka [Wed, 1 Sep 2010 04:48:51 +0000 (04:48 +0000)]
gnus-process-put: Fix previous commit.

13 years agognus-html.el, message.el: Add custom version to new variables; gnus-sum.el: Bump...
Katsumi Yamaoka [Wed, 1 Sep 2010 04:44:25 +0000 (04:44 +0000)]
gnus-html.el, message.el: Add custom version to new variables; gnus-sum.el: Bump custom version of gnus-auto-expirable-marks.

13 years agognus-html-curl-sentinel: Replace process-get with gnus-process-get.
Katsumi Yamaoka [Wed, 1 Sep 2010 04:28:56 +0000 (04:28 +0000)]
gnus-html-curl-sentinel: Replace process-get with gnus-process-get.

13 years agoAdd compatibility functions gnus-process-get and gnus-process-put for Emacs 21 and...
Katsumi Yamaoka [Wed, 1 Sep 2010 04:22:17 +0000 (04:22 +0000)]
Add compatibility functions gnus-process-get and gnus-process-put for Emacs 21 and XEmacs.

13 years agoFix previous merge from Gnus trunk.
Katsumi Yamaoka [Wed, 1 Sep 2010 00:18:24 +0000 (00:18 +0000)]
Fix previous merge from Gnus trunk.

13 years agoRemove nnwarchive.el.
Katsumi Yamaoka [Wed, 1 Sep 2010 00:10:19 +0000 (00:10 +0000)]
Remove nnwarchive.el.

13 years agoUse nnimap-request-list-method instead of lsub directly; by Julien Danjou <julien...
Katsumi Yamaoka [Wed, 1 Sep 2010 00:06:27 +0000 (00:06 +0000)]
Use nnimap-request-list-method instead of lsub directly; by Julien Danjou <julien@danjou.info>.

Not using this variable here has no sence, because using LSUB method
is useless if you never subscribed anything on the IMAP side.

13 years agoRemove nnwarchive by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Wed, 1 Sep 2010 00:02:13 +0000 (00:02 +0000)]
Remove nnwarchive by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoRemove nnultimate.el and related code; Remove nnsoup.el, gnus-soup.el and related...
Katsumi Yamaoka [Tue, 31 Aug 2010 23:55:50 +0000 (23:55 +0000)]
Remove nnultimate.el and related code; Remove nnsoup.el, gnus-soup.el and related code; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agognus-html.el: Introduce a new variable, gnus-blocked-images, and use that instead...
Katsumi Yamaoka [Tue, 31 Aug 2010 23:38:57 +0000 (23:38 +0000)]
gnus-html.el: Introduce a new variable, gnus-blocked-images, and use that instead of the w3m variable; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agomessage.texi: Fix some syntax errors in the last check-in; by Lars Magne Ingebrigtsen...
Katsumi Yamaoka [Tue, 31 Aug 2010 23:30:11 +0000 (23:30 +0000)]
message.texi: Fix some syntax errors in the last check-in; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agognus-ems.el: Provide compatibility functions for gnus-set-process-plist by Katsumi...
Katsumi Yamaoka [Tue, 31 Aug 2010 23:26:23 +0000 (23:26 +0000)]
gnus-ems.el: Provide compatibility functions for gnus-set-process-plist by Katsumi Yamaoka <yamaoka@jpl.org>; gnus-html.el: Use gnus-process-plist and friends for compatibility; gnus-cite.el: New function to guess whether a long line is natural text or not; message.el: Implement message-prune-recipient-rules; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years ago* lisp/gnus/gnus-html.el: Require pkgs that define macros used in this file.
Stefan Monnier [Tue, 31 Aug 2010 19:47:35 +0000 (21:47 +0200)]
* lisp/gnus/gnus-html.el: Require pkgs that define macros used in this file.
(gnus-article-mouse-face): Declare to silence byte-compiler.
(gnus-html-curl-sentinel): Use with-current-buffer, inhibit-read-only, and
process-get.
(gnus-html-put-image): Use plist-get to avoid getf.
(gnus-html-prefetch-images): Use with-current-buffer.

13 years ago* src/keyboard.c (Fwindow_system): Fix compilation for USE_LISP_UNION_TYPE.
Stefan Monnier [Tue, 31 Aug 2010 19:42:39 +0000 (21:42 +0200)]
* src/keyboard.c (Fwindow_system): Fix compilation for USE_LISP_UNION_TYPE.

13 years ago* textmodes/nroff-mode.el (nroff-view): New command.
Chong Yidong [Tue, 31 Aug 2010 18:04:26 +0000 (14:04 -0400)]
* textmodes/nroff-mode.el (nroff-view): New command.
(nroff-mode-map): Bind it to C-c C-c.

13 years ago* src/keyboard.c (command_loop_1): Don't call x-set-selection on tty.
Chong Yidong [Tue, 31 Aug 2010 15:39:31 +0000 (11:39 -0400)]
* src/keyboard.c (command_loop_1): Don't call x-set-selection on tty.

13 years agoClarify the code a bit by renaming the variable with the url to `url'; Support cid...
Katsumi Yamaoka [Tue, 31 Aug 2010 13:28:02 +0000 (13:28 +0000)]
Clarify the code a bit by renaming the variable with the url to `url'; Support cid: URLs/images; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years ago* lisp/emacs-lisp/smie.el (smie-down-list): New command.
Stefan Monnier [Tue, 31 Aug 2010 12:22:40 +0000 (14:22 +0200)]
* lisp/emacs-lisp/smie.el (smie-down-list): New command.

13 years agoRemove old indentation and navigation code on octave-mode.
Stefan Monnier [Tue, 31 Aug 2010 12:13:51 +0000 (14:13 +0200)]
Remove old indentation and navigation code on octave-mode.
* lisp/progmodes/octave-mod.el (octave-mode-map): Remap down-list to
smie-down-list rather than add a binding for octave-down-block.
(octave-mark-block, octave-blink-matching-block-open):
Rely on forward-sexp-function.
(octave-fill-paragraph): Don't narrow, so you can use
indent-according-to-mode.
(octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
(octave-in-block-p, octave-re-search-forward-kw)
(octave-re-search-backward-kw, octave-indent-calculate)
(octave-end-as-array-index-p, octave-block-end-offset)
(octave-scan-blocks, octave-forward-block, octave-backward-block)
(octave-down-block, octave-backward-up-block, octave-up-block)
(octave-before-magic-comment-p, octave-indent-line): Remove.

13 years agoFix handling of 8-bit characters in a display table.
Kenichi Handa [Tue, 31 Aug 2010 07:49:21 +0000 (16:49 +0900)]
Fix handling of 8-bit characters in a display table.

13 years agoBump custom version of some user options of which the default values changed.
Katsumi Yamaoka [Tue, 31 Aug 2010 04:21:18 +0000 (04:21 +0000)]
Bump custom version of some user options of which the default values changed.

13 years agoFix several Package Menu and Finder bugs.
Chong Yidong [Tue, 31 Aug 2010 01:53:46 +0000 (21:53 -0400)]
Fix several Package Menu and Finder bugs.

* finder.el: Load finder-inf using `require'.
(finder-list-matches): Sorting by status is now the default.
(finder-compile-keywords): Simpify printing.

* emacs-lisp/package.el (package--read-archive-file): Just use
`read', to avoid copying an additional string.
(package-menu-mode): Set header-line-format here.
(package-menu-refresh, package-menu-revert): Signal an error if
not in the Package Menu.
(package-menu-package-list): New var.
(package--generate-package-list): Operate on the current buffer;
don't assume that it is *Packages*, since the user may rename it.
Allow persistent package listings and sort keys using
package-menu-package-list and package-menu-package-sort-key.
(package-menu--version-predicate): Fix version calculation.
(package-menu-sort-by-column): Don't select the window.
(package--list-packages): Create the *Packages* buffer.  Set
package-menu-package-list-key.
(list-packages): Sorting by status is now the default.
(package-buffer-info): Use match-string-no-properties.
(define-package): Add a &rest argument for future proofing, but
don't use it yet.
(package-install-from-buffer, package-install-buffer-internal):
Merged into a single function, package-install-from-buffer.
(package-install-file): Caller changed.

Also, fix headers for hfy-cmap.el and ps-print.el.

13 years agognus-html.el: require mm-url; by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Tue, 31 Aug 2010 01:15:32 +0000 (01:15 +0000)]
gnus-html.el: require mm-url; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoFix previous merge from Gnus trunk.
Katsumi Yamaoka [Tue, 31 Aug 2010 00:51:08 +0000 (00:51 +0000)]
Fix previous merge from Gnus trunk.

13 years agoRemove the `w' and `i' summary keybindings, since they aren't useful; by Lars Magne...
Katsumi Yamaoka [Tue, 31 Aug 2010 00:42:27 +0000 (00:42 +0000)]
Remove the `w' and `i' summary keybindings, since they aren't useful; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoRemoved gnus-move.el and pointers to it, since it doesn't really work; by Lars Magne...
Katsumi Yamaoka [Tue, 31 Aug 2010 00:38:32 +0000 (00:38 +0000)]
Removed gnus-move.el and pointers to it, since it doesn't really work; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agognus.texi (Changing Servers): Remove documentation on gnus-change-server and friends...
Katsumi Yamaoka [Tue, 31 Aug 2010 00:34:43 +0000 (00:34 +0000)]
gnus.texi (Changing Servers): Remove documentation on gnus-change-server and friends, since it's been removed; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agognus.texi (Summary Mail Commands): Note that only the addresses from the first messag...
Katsumi Yamaoka [Tue, 31 Aug 2010 00:28:54 +0000 (00:28 +0000)]
gnus.texi (Summary Mail Commands): Note that only the addresses from the first message are used for wide replies; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoTell w3m that the input is UTF-8; This seems to fix problems with some German web...
Katsumi Yamaoka [Tue, 31 Aug 2010 00:23:25 +0000 (00:23 +0000)]
Tell w3m that the input is UTF-8; This seems to fix problems with some German web feeds; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoPut the xpm version of the logo at the top so that the proper colours are applied...
Katsumi Yamaoka [Tue, 31 Aug 2010 00:19:31 +0000 (00:19 +0000)]
Put the xpm version of the logo at the top so that the proper colours are applied; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agognus-article-view-part: Doc fix by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Tue, 31 Aug 2010 00:15:33 +0000 (00:15 +0000)]
gnus-article-view-part: Doc fix by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoAlways insert Content-Type headers, to make broken recipients happier; by Lars Magne...
Katsumi Yamaoka [Tue, 31 Aug 2010 00:11:37 +0000 (00:11 +0000)]
Always insert Content-Type headers, to make broken recipients happier; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoUse gnus-create-image to be XEmacs-compatible; Don't do images on non-graphic display...
Katsumi Yamaoka [Tue, 31 Aug 2010 00:07:40 +0000 (00:07 +0000)]
Use gnus-create-image to be XEmacs-compatible; Don't do images on non-graphic displays; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoRemove the unused nnslashdot backend by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Mon, 30 Aug 2010 23:53:47 +0000 (23:53 +0000)]
Remove the unused nnslashdot backend by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoLimit the undo actions to 100 actions by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Mon, 30 Aug 2010 23:47:12 +0000 (23:47 +0000)]
Limit the undo actions to 100 actions by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoProtect against not having completion-styles bound by Lars Magne Ingebrigtsen <larsi...
Katsumi Yamaoka [Mon, 30 Aug 2010 23:40:10 +0000 (23:40 +0000)]
Protect against not having completion-styles bound by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoUse insert-image instead of put-image when putting images into a buffer; This makes...
Katsumi Yamaoka [Mon, 30 Aug 2010 23:35:19 +0000 (23:35 +0000)]
Use insert-image instead of put-image when putting images into a buffer; This makes all the Gnus image-inserting functions work, I think; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoMake html image insertion probably work for XEmacs, too by Lars Magne Ingebrigtsen...
Katsumi Yamaoka [Mon, 30 Aug 2010 23:29:56 +0000 (23:29 +0000)]
Make html image insertion probably work for XEmacs, too by Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agognus-group-completing-read: Add 'substring to completion-styles for group selection...
Katsumi Yamaoka [Mon, 30 Aug 2010 23:24:56 +0000 (23:24 +0000)]
gnus-group-completing-read: Add 'substring to completion-styles for group selection; imap.el, mailcap.el, message.el, mm-util.el, nnheader.el, nnmail.el, pop3.el: Remove references to outdated systems; References to win32 w32 mswindows ms-windows emx were probably cargo-culted, and are removed for clarity; By Lars Magne Ingebrigtsen <larsi@gnus.org>.

13 years agoUse SMIE for octave-mode.
Stefan Monnier [Mon, 30 Aug 2010 20:34:52 +0000 (22:34 +0200)]
Use SMIE for octave-mode.
* test/indent/octave.m: New file.
* lisp/progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
(octave-mode-map): Remove special bindings for forward/backward-block
and octave-backward-up-block.  Use smie-close-block.
(octave-continuation-marker-regexp): New var.
(octave-continuation-regexp): Use it.
(octave-operator-table, octave-smie-op-levels)
(octave-operator-regexp, octave-smie-indent-rules): New vars.
(octave-smie-backward-token, octave-smie-forward-token): New funs.
(octave-mode): Use SMIE.
(octave-close-block): Delete.

13 years agoFix bug #6944.
Eli Zaretskii [Mon, 30 Aug 2010 18:11:34 +0000 (21:11 +0300)]
Fix bug #6944.

 menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
 CLIPBOARD, not in PRIMARY.

13 years ago* lisp/emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
Stefan Monnier [Mon, 30 Aug 2010 15:21:14 +0000 (17:21 +0200)]
* lisp/emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
a list of parents.
(smie-indent-column): Allow indirection through variables.

13 years agoUse with-silent-modifications.
Stefan Monnier [Mon, 30 Aug 2010 13:57:42 +0000 (15:57 +0200)]
Use with-silent-modifications.
* lisp/composite.el (save-buffer-state): Delete, unused.
* lisp/font-lock.el (save-buffer-state): Use with-silent-modifications.
(font-lock-default-fontify-region): Use with-syntax-table.
* lisp/jit-lock.el (with-buffer-unmodified): Remove.
(with-buffer-prepared-for-jit-lock): Use with-silent-modifications.

13 years agoUse `declare' in defmacros.
Stefan Monnier [Mon, 30 Aug 2010 13:03:05 +0000 (15:03 +0200)]
Use `declare' in defmacros.
* lisp/window.el (save-selected-window):
* lisp/subr.el (with-temp-file, with-temp-message, with-syntax-table):
* lisp/progmodes/python.el (def-python-skeleton):
* lisp/net/dbus.el (dbus-ignore-errors):
* lisp/jka-cmpr-hook.el (with-auto-compression-mode):
* lisp/international/mule.el (with-category-table):
* lisp/emacs-lisp/timer.el (with-timeout):
* lisp/emacs-lisp/lisp-mnt.el (lm-with-file):
* lisp/emacs-lisp/eieio.el (with-slots):
* lisp/emacs-lisp/easymenu.el (easy-menu-define):
* lisp/emacs-lisp/debug.el (debugger-env-macro):
* lisp/emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
(Multiple-value-call, Multiple-value-prog1):
* lisp/emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
(cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
edebug rule to definition.
* lisp/emacs-lisp/lisp-mode.el (save-selected-window)
(with-current-buffer, combine-after-change-calls)
(with-output-to-string, with-temp-file, with-temp-buffer)
(with-temp-message, with-syntax-table, read-if, eval-after-load)
(dolist, dotimes, when, unless):
* lisp/emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.

13 years ago* src/marker.c (Fcopy_marker): Make the first arg optional.
Stefan Monnier [Mon, 30 Aug 2010 12:47:49 +0000 (14:47 +0200)]
* src/marker.c (Fcopy_marker): Make the first arg optional.

13 years agognus.texi (Drafts): Mention B DEL by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Mon, 30 Aug 2010 06:44:58 +0000 (06:44 +0000)]
gnus.texi (Drafts): Mention B DEL by Lars Magne Ingebrigtsen <larsi@gnus.org>.

2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus.texi (Drafts): Mention B DEL.

13 years agognus.texi (Delayed Articles): Mention that the Date header is the original one, even...
Katsumi Yamaoka [Mon, 30 Aug 2010 06:40:00 +0000 (06:40 +0000)]
gnus.texi (Delayed Articles): Mention that the Date header is the original one, even if you delay by Tim Landscheidt <tim@tim-landscheidt.de>.

2010-08-29  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
 * gnus.texi (Delayed Articles): Mention that the Date header is the
 original one, even if you delay.

13 years agognus.texi (Asynchronous Fetching): Document gnus-async-post-fetch-function; gnus...
Katsumi Yamaoka [Mon, 30 Aug 2010 06:36:12 +0000 (06:36 +0000)]
gnus.texi (Asynchronous Fetching): Document gnus-async-post-fetch-function; gnus.texi (HTML): Made into its own section by Lars Magne Ingebrigtsen <larsi@gnus.org>.

2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus.texi (Asynchronous Fetching): Document
 gnus-async-post-fetch-function.
 (HTML): Made into its own section.

13 years agognus-score-string: Fix regex for matching extra headers and regexp-quote the match...
Katsumi Yamaoka [Mon, 30 Aug 2010 06:32:33 +0000 (06:32 +0000)]
gnus-score-string: Fix regex for matching extra headers and regexp-quote the match if necessary by Andreas Schwab <schwab@suse.de>.

2009-02-04  Andreas Schwab  <schwab@suse.de>
 * gnus-score.el (gnus-score-string): Fix regex for matching extra
 headers and regexp-quote the match if necessary.

13 years agosmiley-regexp-alist: Don't delete the semicolon before the blinking smiley by Miles...
Katsumi Yamaoka [Mon, 30 Aug 2010 06:28:53 +0000 (06:28 +0000)]
smiley-regexp-alist: Don't delete the semicolon before the blinking smiley by Miles Bader <miles@gnu.org>; Disallow ;;) from being treated as a blink smiley by Simon Josefsson <simon@josefsson.org>.

2009-03-24  Miles Bader  <miles@gnu.org>
 * smiley.el (smiley-regexp-alist): Don't delete the semicolon before
 the blinking smiley.
2009-03-24  Simon Josefsson  <simon@josefsson.org>
 * smiley.el (smiley-regexp-alist): Disallow ;;) from being treated as a
 blink smiley.

13 years agoMisc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Mon, 30 Aug 2010 06:25:05 +0000 (06:25 +0000)]
Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.

2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus-start.el (gnus-dribble-read-file): Ensure that the directory
 where the dribbel file lives exists.

 * message.el (message-send-mail-partially-limit): Change the default to
 nil, since most people don't want this.

 * mm-url.el (mm-url-decode-entities): Also decode entities like
 &#x3212.

13 years agognus-summary-idna-message, nnrss-normalize-date, nnrss-discover-feed: Hyperlink urls...
Katsumi Yamaoka [Mon, 30 Aug 2010 06:21:33 +0000 (06:21 +0000)]
gnus-summary-idna-message, nnrss-normalize-date, nnrss-discover-feed: Hyperlink urls in docstrings with URL `...' by Kevin Ryde <user42@zip.com.au>.

2009-07-16  Kevin Ryde  <user42@zip.com.au>  (tiny change)
 * gnus-sum.el (gnus-summary-idna-message):
 * nnrss.el (nnrss-normalize-date, nnrss-discover-feed):
 Hyperlink urls in docstrings with URL `...'.

13 years agoMisc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Mon, 30 Aug 2010 06:17:45 +0000 (06:17 +0000)]
Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.

2010-08-29  Adam Sjøgren  <asjo@koldfront.dk>
 * gnus-html.el (gnus-html-put-image): Use XEmacs-compatible image
 functions.

2010-08-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus-art.el (gnus-article-add-button): Take an optional parameter to
 say what the mouseover text should be.

 * gnus-html.el (gnus-html-prefetch-images): Use the summary-local
 version of the mm-w3m-safe-url-regexp variable to only download images
 in the groups where we want that to happen.

 * gnus-sum.el (gnus-summary-stop-at-end-of-message): New variable.

 * gnus-art.el (gnus-article-beginning-of-window): Make into defun for
 easier debugging.
 (gnus-article-beginning-of-window): Add kludge to allow spacing past
 big pictures in the article buffer.

 * mm-decode.el (mm-text-html-renderer): Default the html renderer to
 gnus-article-html.
 (mm-text-html-renderer): gnus-article-html needs curl in addition to
 w3m.

13 years agoAdd a new super-simple HTML renderer based on w3m -halfdump by Lars Magne Ingebrigtse...
Katsumi Yamaoka [Mon, 30 Aug 2010 06:13:50 +0000 (06:13 +0000)]
Add a new super-simple HTML renderer based on w3m -halfdump by Lars Magne Ingebrigtsen <larsi@gnus.org>.

 * gnus-html.el: Start a new super-simple HTML renderer based on w3m.

13 years agoMisc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
Katsumi Yamaoka [Mon, 30 Aug 2010 06:10:18 +0000 (06:10 +0000)]
Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.

2010-08-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
 which doesn't exist.

 * message.el (message-inhibit-ecomplete): New variable to allow some
 function to inhibit ecomplete address storage.
 (message-resend): Disable ecomplete message storage when resending
 messages.

 * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.

13 years agocomposite.c (composition_update_it): Fix previous change
Kenichi Handa [Mon, 30 Aug 2010 01:58:52 +0000 (10:58 +0900)]
composite.c (composition_update_it): Fix previous change

13 years agocomposite.c (composition_update_it): Fix computing of cmp_it->width.
Kenichi Handa [Mon, 30 Aug 2010 00:32:29 +0000 (09:32 +0900)]
composite.c (composition_update_it): Fix computing of cmp_it->width.

13 years agoMerge Finder and package-menu functionality.
Chong Yidong [Sun, 29 Aug 2010 22:15:09 +0000 (18:15 -0400)]
Merge Finder and package-menu functionality.

* lisp/finder.el: Require `package'.
(finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
(finder-package-info): Var deleted.
(finder-keywords-hash, finder--builtins-alist): New vars.
(finder-compile-keywords): Compute package--builtins and
finder-keywords-hash instead of finder-keywords-hash, respecting
the "Package" header.
(finder-unknown-keywords, finder-list-matches): Use
finder-keywords-hash and package--list-packages.
(finder-mode): Don't set font-lock-defaults.
(finder-exit): We don't use "*Finder-package*" and "*Finder
Category*" buffers anymore.

* lisp/info.el (Info-finder-find-node): Search package-alist instead of
finder-package-info.

* lisp/emacs-lisp/package.el (package--builtins-base): Var deleted.
(package--builtins): Set default value to nil.
(package-initialize): Load precomputed value of package--builtins
from finder-inf.el.
(package-alist, package-compute-transaction)
(package-download-transaction): Improve docstring.
(package-read-all-archive-contents): Do not change
package--builtins here.
(list-packages): Make package-list-packages an alias for this.
Sort by status by default.
(package--list-packages): Add optional PACKAGES arg.
(describe-package-1): Use font-lock-face property.  For built-in
packages, insert file commentary.
(package--generate-package-list): Rename from
package-list-packages-internal; all callers changed.  Add optional
PACKAGES arg.  Add alphabetical sort fallbacks.
(package-menu--version-predicate, package-menu--status-predicate)
(package-menu--description-predicate)
(package-menu--name-predicate): New functions.

13 years agoAdd "Version:" and "Package:" Lisp file headers.
Chong Yidong [Sun, 29 Aug 2010 20:10:43 +0000 (16:10 -0400)]
Add "Version:" and "Package:" Lisp file headers.

13 years agoAdd "Package:" file headers to denote built-in packages.
Chong Yidong [Sun, 29 Aug 2010 16:17:13 +0000 (12:17 -0400)]
Add "Package:" file headers to denote built-in packages.

13 years ago* nsterm.m (ns_draw_window_cursor): Draw BAR_CURSOR correct for R2L.
Jan D [Sun, 29 Aug 2010 10:30:45 +0000 (12:30 +0200)]
* nsterm.m (ns_draw_window_cursor): Draw BAR_CURSOR correct for R2L.

13 years agomerge emacs-23
Kenichi Handa [Sun, 29 Aug 2010 05:22:52 +0000 (14:22 +0900)]
merge emacs-23

13 years agoterm.c (encode_terminal_code): Encode byte chars to the correspnding bytes.
Kenichi Handa [Sun, 29 Aug 2010 05:15:34 +0000 (14:15 +0900)]
term.c (encode_terminal_code): Encode byte chars to the correspnding bytes.

13 years agoLet version-to-list handle versions like "10.3d".
Chong Yidong [Sun, 29 Aug 2010 01:31:45 +0000 (21:31 -0400)]
Let version-to-list handle versions like "10.3d".

* lisp/subr.el (version-regexp-alist): Don't use "a" and "b" for
"alpha" and "beta".
(version-to-list): Handle versions like "10.3d".

13 years ago* etc/ChangeLog: Whitespace.
Glenn Morris [Sat, 28 Aug 2010 20:01:36 +0000 (13:01 -0700)]
* etc/ChangeLog: Whitespace.

13 years ago* etc/ChangeLog: Mark tiny change.
Glenn Morris [Sat, 28 Aug 2010 19:59:18 +0000 (12:59 -0700)]
* etc/ChangeLog: Mark tiny change.

13 years ago* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
Stefan Monnier [Sat, 28 Aug 2010 18:52:36 +0000 (20:52 +0200)]
* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
(macroexp-accumulate): Use `declare'.

13 years agoImprove ELisp manual to fix bug #6929.
Eli Zaretskii [Sat, 28 Aug 2010 08:10:13 +0000 (11:10 +0300)]
Improve ELisp manual to fix bug #6929.

 display.texi (Fringe Size/Pos): Add a cross-reference to "Layout
 Parameters", where the default fringe width is described.
 frames.texi (Window Frame Parameters, Basic Parameters)
 (Position Parameters, Layout Parameters, Management Parameters)
 (Cursor Parameters, Font and Color Parameters): Add indexing for
 frame parameters.  (Bug#6929)

13 years agoquail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.
Kenichi Handa [Sat, 28 Aug 2010 06:03:00 +0000 (15:03 +0900)]
quail/japanese.el (quail-japanese-update-translation): Fix handling of invalid key.