]> code.delx.au - gnu-emacs/log
gnu-emacs
13 years agognus-async.el (gnus-async-article-callback): Always prefetch images for groups that...
Lars Magne Ingebrigtsen [Tue, 7 Sep 2010 00:05:59 +0000 (00:05 +0000)]
gnus-async.el (gnus-async-article-callback): Always prefetch images for groups that want that.

13 years agonntp.el (nntp-wait-for-string): Supply a timeout for accept-process-output to ensure...
Lars Magne Ingebrigtsen [Tue, 7 Sep 2010 00:04:11 +0000 (00:04 +0000)]
nntp.el (nntp-wait-for-string): Supply a timeout for accept-process-output to ensure progress.

13 years agognus-start.el (gnus-get-unread-articles): If being given an explicit level to get...
Lars Magne Ingebrigtsen [Tue, 7 Sep 2010 00:00:56 +0000 (00:00 +0000)]
gnus-start.el (gnus-get-unread-articles): If being given an explicit level to get unread articles from, then use that for foreign groups, too.

13 years agognus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 23:58:34 +0000 (23:58 +0000)]
gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest of the function.

13 years agognus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan' for the methods...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 23:56:27 +0000 (23:56 +0000)]
gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan' for the methods that support -retrieve-groups, too.

13 years agonnml.el (nnml-save-nov): Remove some debugging-related messages.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 23:54:07 +0000 (23:54 +0000)]
nnml.el (nnml-save-nov): Remove some debugging-related messages.

13 years agoMerge changes from emacs-23 branch.
Chong Yidong [Mon, 6 Sep 2010 16:38:03 +0000 (12:38 -0400)]
Merge changes from emacs-23 branch.

13 years agoMerge whitespace.el from trunk
Chong Yidong [Mon, 6 Sep 2010 16:24:32 +0000 (12:24 -0400)]
Merge whitespace.el from trunk

13 years agopop3.el (pop3-number-of-responses): Search for "+OK", not "+OK ".
Katsumi Yamaoka [Mon, 6 Sep 2010 02:09:42 +0000 (02:09 +0000)]
pop3.el (pop3-number-of-responses): Search for "+OK", not "+OK ".

13 years agognus-start.el (gnus-get-unread-articles): Fix up the last commit.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:48:40 +0000 (00:48 +0000)]
gnus-start.el (gnus-get-unread-articles): Fix up the last commit.

13 years agognus-start.el (gnus-get-unread-articles): Don't bother with groups that aren't going...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:44:55 +0000 (00:44 +0000)]
gnus-start.el (gnus-get-unread-articles): Don't bother with groups that aren't going to be activated.

13 years agognus-html.el (gnus-article-html): Allow calling without specifying the handle. In...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:41:06 +0000 (00:41 +0000)]
gnus-html.el (gnus-article-html): Allow calling without specifying the handle.  In that case, dissect the buffer first.

13 years agognus-sum.el (gnus-set-mode-line): Don\t pad the mode line string.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:37:02 +0000 (00:37 +0000)]
gnus-sum.el (gnus-set-mode-line): Don\t pad the mode line string.

13 years agonnimap.el (nnimap-open-connection): Revert the change that would look into authinfo...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:33:15 +0000 (00:33 +0000)]
nnimap.el (nnimap-open-connection): Revert the change that would look into authinfo for imaps instead of imap.

13 years agognus-start.el (gnus-get-unread-articles): Count the archive groups as secondary,...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:20:42 +0000 (00:20 +0000)]
gnus-start.el (gnus-get-unread-articles): Count the archive groups as secondary, so that they're activated the same way as before.

13 years agognus-start.el (gnus-activate-group): Take an optional parameter to say that you don...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:15:13 +0000 (00:15 +0000)]
gnus-start.el (gnus-activate-group): Take an optional parameter to say that you don't want to call gnus-request-group with don-check, but do check the reponse.  This is for virtual groups only.

13 years agoimap.el (imap-mailbox-get): Revert last change for this function.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:10:55 +0000 (00:10 +0000)]
imap.el (imap-mailbox-get): Revert last change for this function.

13 years agonnimap.el (nnimap-debug): Removed; imap.el: Remove an optional buffer parameter from...
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 00:06:55 +0000 (00:06 +0000)]
nnimap.el (nnimap-debug): Removed; imap.el: Remove an optional buffer parameter from many functions.

13 years agonnimap.el (nnimap-request-list): Servers may return \NoSelect case-insensitively.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 23:56:42 +0000 (23:56 +0000)]
nnimap.el (nnimap-request-list): Servers may return \NoSelect case-insensitively.

13 years agoimap.el (imap-debug): Removed -- doesn't seem very useful.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 23:49:02 +0000 (23:49 +0000)]
imap.el (imap-debug): Removed -- doesn't seem very useful.

13 years agoimap.el (imap-fetch-safe, imap-enable-exchange-bug-workaround): Removed.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 23:45:14 +0000 (23:45 +0000)]
imap.el (imap-fetch-safe, imap-enable-exchange-bug-workaround): Removed.

13 years agomail-source.el (mail-source-fetch): Don't message if we're fetching mail from a file...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 23:38:33 +0000 (23:38 +0000)]
mail-source.el (mail-source-fetch): Don't message if we're fetching mail from a file, and the file doesn't exist.

13 years agopop3.el (pop3-streaming-movemail): Return t for success; imap.el (imap-log): New...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 23:34:30 +0000 (23:34 +0000)]
pop3.el (pop3-streaming-movemail): Return t for success; imap.el (imap-log): New convenience function used throughout instead of repeating the same code all over the place.

13 years agonnimap.el (nnimap-open-connection): Look for the "imaps" entry in the .authinfo if...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 23:27:15 +0000 (23:27 +0000)]
nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the .authinfo if we're using ssl connection.

13 years agonnvirtual.el (nnvirtual-create-mapping): Use the active info we already have if we...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 23:20:25 +0000 (23:20 +0000)]
nnvirtual.el (nnvirtual-create-mapping): Use the active info we already have if we're in a main Gnus `g' run.

13 years agognus-start.el (gnus-method-rank): Get info for virtual groups last.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 23:13:43 +0000 (23:13 +0000)]
gnus-start.el (gnus-method-rank): Get info for virtual groups last.

13 years agoRespect mouse-drag-copy-region upon mouse-3 region adjustment.
David De La Harpe Golden [Sun, 5 Sep 2010 22:40:57 +0000 (23:40 +0100)]
Respect mouse-drag-copy-region upon mouse-3 region adjustment.

* mouse.el (mouse-save-then-kill): Save region to kill-ring when
mouse-drag-copy-region is non-nil (Bug#6956).

13 years ago* doc/lispref/files.texi (Directory Names): Use \` rather than ^.
Alexander Klimov [Sun, 5 Sep 2010 22:03:56 +0000 (00:03 +0200)]
* doc/lispref/files.texi (Directory Names): Use \` rather than ^.
* lisp/files.el (directory-abbrev-alist): Use \` as default regexp.

13 years agoImprove ls date switch parsing in Dired (Bug#6987).
Chong Yidong [Sun, 5 Sep 2010 21:28:50 +0000 (17:28 -0400)]
Improve ls date switch parsing in Dired (Bug#6987).

* dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
Improve regexps (Bug#6987).
(dired-sort-toggle): Search more robustly for -t flag.

13 years ago* files.el (get-free-disk-space): Search more robustly for "available" column.
Chong Yidong [Sun, 5 Sep 2010 19:03:20 +0000 (15:03 -0400)]
* files.el (get-free-disk-space): Search more robustly for "available" column.

Suggested by Ehud Karni <ehud@unix.mvs.co.il>:
http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg00163.html

13 years agognus-start.el (gnus-method-rank): Replace equalp with equal.
Katsumi Yamaoka [Sun, 5 Sep 2010 11:53:59 +0000 (11:53 +0000)]
gnus-start.el (gnus-method-rank): Replace equalp with equal.

13 years agoRegenerate configure
Andreas Schwab [Sun, 5 Sep 2010 10:17:26 +0000 (12:17 +0200)]
Regenerate configure

13 years ago* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].
Stefan Monnier [Sun, 5 Sep 2010 09:44:55 +0000 (11:44 +0200)]
* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in - or ].
(rx-any-condense-range): Explode 2-char ranges.

Fixes: debbugs:6984
13 years ago(nnmh-request-list-1): Bind `file'.
Katsumi Yamaoka [Sun, 5 Sep 2010 04:09:07 +0000 (04:09 +0000)]
(nnmh-request-list-1): Bind `file'.

13 years agopop3-set-process-query-on-exit-flag: New function that's an alias to set-process...
Katsumi Yamaoka [Sun, 5 Sep 2010 04:01:41 +0000 (04:01 +0000)]
pop3-set-process-query-on-exit-flag: New function that's an alias to set-process-query-on-exit-flag, or process-kill-without-query for XEmacs and old Emacsen.

13 years agoUpdate to latest Unicode 6.0 beta data files.
Juanma Barranquero [Sun, 5 Sep 2010 02:06:39 +0000 (04:06 +0200)]
Update to latest Unicode 6.0 beta data files.

* admin/unidata/BidiMirroring.txt: Update from
  http://www.unicode.org/Public/6.0.0/ucd/BidiMirroring-6.0.0d2.txt

* admin/unidata/UnicodeData.txt: Update from
  http://www.unicode.org/Public/6.0.0/ucd/UnicodeData-6.0.0d7.txt

* lisp/international/uni-bidi.el:
* lisp/international/uni-category.el:
* lisp/international/uni-combining.el:
* lisp/international/uni-decimal.el:
* lisp/international/uni-mirrored.el:
* lisp/international/uni-name.el: Regenerate.

* src/biditype.h: Regenerate.

13 years agognus-int.el (gnus-request-group): Indent.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 01:31:15 +0000 (01:31 +0000)]
gnus-int.el (gnus-request-group): Indent.

13 years agomail-source.el (mail-source-delete-crash-box): Always move the crash box to the Incom...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 01:27:15 +0000 (01:27 +0000)]
mail-source.el (mail-source-delete-crash-box): Always move the crash box to the Incoming file.  Fixes mistake in previous checkin; Do incremental NOV updates when scanning new male.  (nnml-save-incremental-nov, nnml-open-incremental-nov, nnml-add-incremental-nov): New functions to do "incremental" nov updates, where we just append to the end of the existing nov files without reading/writing them in full.

13 years agopop3.el (pop3-write-to-file): Don't output messages when saving; mail-source.el ...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 01:18:05 +0000 (01:18 +0000)]
pop3.el (pop3-write-to-file): Don't output messages when saving; mail-source.el (mail-source-delete-crash-box): Really only check the incoming files once in a while; nnml.el (nnml-save-nov): Message around nnml-save-nov so that the culprit is more visible; pop3.el (pop3-send-streaming-command): Off-by-one error on the request loop (for debugging purposes) removed.

13 years agopop3.el (pop3-streaming-movemail): Always close the pop3 connection.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 01:12:51 +0000 (01:12 +0000)]
pop3.el (pop3-streaming-movemail): Always close the pop3 connection.

13 years agognus-start.el: White space clean up; mail-source.el (mail-source-fetch-pop): Use...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 01:08:22 +0000 (01:08 +0000)]
gnus-start.el:  White space clean up; mail-source.el (mail-source-fetch-pop): Use streaming pop3 retrieval; pop3.el (pop3-streaming-movemail): Respect pop3-leave-mail-on-server; pop3.el (pop3-logon): Fix up unbound variable typo; mail-source.el (mail-source-delete-crash-box): Only check the incoming files for deletion once per day to save a lot of file accesses.

13 years agognus-start.el (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 00:56:31 +0000 (00:56 +0000)]
gnus-start.el (gnus-make-hashtable-from-newsrc-alist): Remove duplicates from .newsrc list.

13 years agopop3.el (pop3-movemail): Use erase-buffer instead of looping and deleting regions...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 00:52:55 +0000 (00:52 +0000)]
pop3.el (pop3-movemail): Use erase-buffer instead of looping and deleting regions, which seems rather odd; gnus-start.el (gnus-get-unread-articles): Protect against groups that come from no known methods.

13 years ago(pop3-display-message-size-flag): Removed -- everybody wants message sizes.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 00:49:07 +0000 (00:49 +0000)]
(pop3-display-message-size-flag): Removed -- everybody wants message sizes.

13 years agognus-agent.el (gnus-agent-load-local): Only read the agent.lib/local file once per...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 00:44:53 +0000 (00:44 +0000)]
gnus-agent.el (gnus-agent-load-local): Only read the agent.lib/local file once per `g' run.

13 years agonnmh.el (nnmh-request-list-1): Output active lines also for empty directories. This...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 00:38:39 +0000 (00:38 +0000)]
nnmh.el (nnmh-request-list-1): Output active lines also for empty directories.  This makes the draft queue directory work.

13 years agoRewrite the Gnus group activation method to be more efficient; nnmh.el (nnmh-request...
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 00:34:16 +0000 (00:34 +0000)]
Rewrite the Gnus group activation method to be more efficient; nnmh.el (nnmh-request-list-1): Fix up the recursion behavior; Add more changes related to the new methodology for requesting backend data.

13 years ago* lisp/electric.el (electric-indent-post-self-insert-function):
Stefan Monnier [Sat, 4 Sep 2010 22:54:58 +0000 (00:54 +0200)]
* lisp/electric.el (electric-indent-post-self-insert-function):
Don't reindent with a sloppy indentation function.

13 years ago* lisp/emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
Stefan Monnier [Sat, 4 Sep 2010 22:51:39 +0000 (00:51 +0200)]
* lisp/emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
border case in change-log-mode.

13 years agoFix Ruby compilation error matching.
Chong Yidong [Sat, 4 Sep 2010 20:42:03 +0000 (16:42 -0400)]
Fix Ruby compilation error matching.

* progmodes/compile.el (compilation-error-regexp-alist-alist):
Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
Recognize leading tab in gcc-include regexp.  Ignore names with
leading "from" or "in" in gnu regexp (Bug#6937).

13 years agoUpdate cl-loaddefs.el
Andreas Schwab [Sat, 4 Sep 2010 19:44:39 +0000 (21:44 +0200)]
Update cl-loaddefs.el

13 years agoCheck all lisp types in image loader
Andreas Schwab [Sat, 4 Sep 2010 19:39:34 +0000 (21:39 +0200)]
Check all lisp types in image loader

* nsimage.m (ns_load_image): Check argument types.

* image.c: Remove all uses of gcpro.
(xpm_load): Check all lisp types.
(pbm_load): Likewise.
(png_load): Likewise.
(jpeg_load): Likewise.
(tiff_load): Likewise.
(gif_load): Likewise.
(imagemagick_load_image): Likewise.
(imagemagick_load): Likewise.
(svg_load): Likewise.
(gs_load): Likewise.

13 years ago* dired.texi (Dired Enter): Minor doc fix (Bug#6982).
Chong Yidong [Sat, 4 Sep 2010 18:58:56 +0000 (14:58 -0400)]
* dired.texi (Dired Enter): Minor doc fix (Bug#6982).

13 years agoAvoid global recursive calls to kill-buffer-hooks, and fit into 80 cols.
Stefan Monnier [Sat, 4 Sep 2010 18:47:29 +0000 (20:47 +0200)]
Avoid global recursive calls to kill-buffer-hooks, and fit into 80 cols.
* lisp/textmodes/ispell.el (ispell-process-buffer-name): Remove.
(ispell-start-process): Avoid setq and simplify logic.
(ispell-init-process): Setup kill-buffer-hook locally when needed.
(kill-buffer-hook): Don't use it globally with code that uses
expand-file-name since that may call kill-buffer via
code_conversion_restore.

13 years agoRevert last change.
Chong Yidong [Sat, 4 Sep 2010 18:36:24 +0000 (14:36 -0400)]
Revert last change.

13 years ago* frames.texi (Layout Parameters): Add cindex entries (Bug#6929).
Chong Yidong [Sat, 4 Sep 2010 18:21:48 +0000 (14:21 -0400)]
* frames.texi (Layout Parameters): Add cindex entries (Bug#6929).

13 years ago* emacs-lisp/package.el (package-directory-list): Only call file-name-nondirectory...
Chong Yidong [Sat, 4 Sep 2010 17:54:48 +0000 (13:54 -0400)]
* emacs-lisp/package.el (package-directory-list): Only call file-name-nondirectory on a string.

13 years agoAvoid corrupting archive-contents file.
Chong Yidong [Sat, 4 Sep 2010 17:13:14 +0000 (13:13 -0400)]
Avoid corrupting archive-contents file.

* emacs-lisp/package.el (package--download-one-archive): Ensure
that archive-contents is valid before saving it.
(package-activate-1, package-mark-obsolete, define-package)
(package-compute-transaction, package-list-maybe-add): Use push.

13 years agognus.texi (Adaptive Scoring): Fix typo.
Julien Danjou [Sat, 4 Sep 2010 15:34:39 +0000 (15:34 +0000)]
gnus.texi (Adaptive Scoring): Fix typo.

13 years ago(gnus-html-show-images): If there are no images to show, then say so instead of buggi...
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 15:28:57 +0000 (15:28 +0000)]
(gnus-html-show-images): If there are no images to show, then say so instead of bugging out.

13 years ago(gnus-article-copy-string): Say what data we copied; (gnus-html-wash-tags): Remove...
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 15:24:35 +0000 (15:24 +0000)]
(gnus-article-copy-string): Say what data we copied; (gnus-html-wash-tags): Remove even more white space around <pre_int>; (gnus-agent-load-alist): Check whether the agentview files exist before trying to read them.

13 years agoFix display of composed R2L text on MS-Windows.
Eli Zaretskii [Sat, 4 Sep 2010 15:16:08 +0000 (18:16 +0300)]
Fix display of composed R2L text on MS-Windows.

 w32uniscribe.c (uniscribe_shape): Update commentary.  Don't
 try to reorder grapheme clusters, since LGSTRING should always
 hold them in the logical order.
 (uniscribe_encode_char, uniscribe_shape): Force ScriptShape to
 return glyph codes in the logical order.

13 years ago* image.c (Fimagemagick_types): Doc fix.
Andreas Schwab [Sat, 4 Sep 2010 10:43:43 +0000 (12:43 +0200)]
* image.c (Fimagemagick_types): Doc fix.

13 years agoFix type mismatch in ImageMagick loader
Andreas Schwab [Sat, 4 Sep 2010 10:41:52 +0000 (12:41 +0200)]
Fix type mismatch in ImageMagick loader

* image.c (imagemagick_load_image): Fix type mismatch.
(Fimagemagick_types): Likewise.

13 years ago* image.c (imagemagick_image_p): Replace bcopy by memcpy.
Andreas Schwab [Sat, 4 Sep 2010 08:23:09 +0000 (10:23 +0200)]
* image.c (imagemagick_image_p): Replace bcopy by memcpy.

13 years agoUpdate config.bat due to lisp/gnus/.dir-locals.el.
Eli Zaretskii [Sat, 4 Sep 2010 07:30:14 +0000 (10:30 +0300)]
Update config.bat due to lisp/gnus/.dir-locals.el.

 config.bat: Produce lisp/gnus/_dir-locals.el from lisp/gnus/.dir-locals.el.

13 years agoFix previous merge from Gnus trunk.
Katsumi Yamaoka [Sat, 4 Sep 2010 00:50:02 +0000 (00:50 +0000)]
Fix previous merge from Gnus trunk.

13 years agomm-util.el: Just return the image directories, not all directories in the path in...
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:45:13 +0000 (00:45 +0000)]
mm-util.el: Just return the image directories, not all directories in the path in addition to the image directories; Maintain a cache of the image directories.  This means that the `g' command in Gnus doesn't have to stat dozens of directories each time; nnmh.el: Only recurse down into subdirectories if the link count is more than 2.  This results in a 100x speed up on my nnmh spool, and that's from an SSD disk, and not over nfs.

13 years agognus-html.el: Remove more white space before <pre_int> image spacers; Decode entities...
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:36:13 +0000 (00:36 +0000)]
gnus-html.el: Remove more white space before <pre_int> image spacers; Decode entities at the end.  So that entities inside the tags don't mess up the rest of the "parsing".

13 years agognus-html.el: Add the new command gnus-html-show-images.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:30:49 +0000 (00:30 +0000)]
gnus-html.el: Add the new command gnus-html-show-images.

13 years agognus-html.el: Fix up the logic that marks resized images for buffer deletion; Have...
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:26:18 +0000 (00:26 +0000)]
gnus-html.el: Fix up the logic that marks resized images for buffer deletion; Have the image insertion work even if the missing image is in an <a>.

13 years agognus-agent.el: Change the default so that nnimap methods aren't agentized by default...
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:21:34 +0000 (00:21 +0000)]
gnus-agent.el: Change the default so that nnimap methods aren't agentized by default. There's apparently many problems related to agent/imap behaviour; gnus-art.el: Don't reuse the 'gnus-data text property, but use a new property.  This avoids stomping over other functions that use this for other things; gnus-html.el: Add a new `i' command to insert images.

13 years agognus-html: Comment fix.; gnus-art.el: Provide an `u' command on urls and the like...
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:12:44 +0000 (00:12 +0000)]
gnus-html: Comment fix.; gnus-art.el: Provide an `u' command on urls and the like that copies the string over to the kill ring; Also have the `u' command work for HTML links.

13 years agoAdded a .dir-locals.el file so that trailing whitespace is shown.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:04:48 +0000 (00:04 +0000)]
Added a .dir-locals.el file so that trailing whitespace is shown.

13 years agoUse SMIE's blink-paren for octave-mode.
Stefan Monnier [Fri, 3 Sep 2010 13:28:09 +0000 (15:28 +0200)]
Use SMIE's blink-paren for octave-mode.
* lisp/progmodes/octave-mod.el (octave-font-lock-close-quotes):
Backslashes do not escape single-quotes, single-quotes do.
(octave-block-else-regexp, octave-block-end-regexp)
(octave-block-match-alist): Remove.
(octave-smie-bnf-table): New var, with old content.
(octave-smie-op-levels): Use it.
(octave-smie-closer-alist): New var.
(octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
(octave-blink-matching-block-open): Remove.
(octave-reindent-then-newline-and-indent, octave-electric-semi)
(octave-electric-space): Let self-insert-command run expand-abbrev and
blink parens.

13 years ago* lisp/electric.el (electricity): New group.
Stefan Monnier [Fri, 3 Sep 2010 13:06:51 +0000 (15:06 +0200)]
* lisp/electric.el (electricity): New group.
(electric-indent-chars): New var.
(electric-indent-post-self-insert-function): New fun.
(electric-indent-mode): New minor mode.
(electric-pair-skip-self): New custom.
(electric-pair-post-self-insert-function): New function.
(electric-pair-mode): New minor mode.

13 years ago* lisp/calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
Stefan Monnier [Fri, 3 Sep 2010 11:26:08 +0000 (13:26 +0200)]
* lisp/calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
calcAlg-blink-matching-open.
(calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
(calc-do-alg-entry): Only touch the part of the keymap that varies.
Use the new blink-matching-check-function.

13 years agoProvide blink-matching support to SMIE.
Stefan Monnier [Fri, 3 Sep 2010 11:18:45 +0000 (13:18 +0200)]
Provide blink-matching support to SMIE.
* lisp/emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
(smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
(smie-blink-matching-check, smie-blink-matching-open): New functions.

13 years ago* lisp/simple.el (newline): Fix last change to properly remove itself from
Stefan Monnier [Fri, 3 Sep 2010 11:12:46 +0000 (13:12 +0200)]
* lisp/simple.el (newline): Fix last change to properly remove itself from
the hook.

13 years agognus-html.el (gnus-html-put-image): make avoidance of displaying small images work...
Katsumi Yamaoka [Fri, 3 Sep 2010 06:10:04 +0000 (06:10 +0000)]
gnus-html.el (gnus-html-put-image): make avoidance of displaying small images work for XEmacs.

13 years agoMake gnus-html work for XEmacs.
Katsumi Yamaoka [Fri, 3 Sep 2010 02:29:03 +0000 (02:29 +0000)]
Make gnus-html work for XEmacs.

13 years agognus-ems.el: Make process-plist functions work.
Katsumi Yamaoka [Fri, 3 Sep 2010 01:00:10 +0000 (01:00 +0000)]
gnus-ems.el: Make process-plist functions work.

13 years agomessage.el (message-generate-hashcash): Change default to 'opportunistic if hashcash...
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 00:55:58 +0000 (00:55 +0000)]
message.el (message-generate-hashcash): Change default to 'opportunistic if hashcash is installed; gnus-html.el (gnus-html-put-image): Only call image-size once, since it's somewhat time-consuming on remote X servers.

13 years agoAdd blink-matching-check-function and misc cleanups.
Stefan Monnier [Thu, 2 Sep 2010 21:57:08 +0000 (23:57 +0200)]
Add blink-matching-check-function and misc cleanups.
* lisp/simple.el (newline): Eliminate optimization.
Use post-self-insert-hook to set hard-newline and things before
running post-self-insert-hook.
(blink-matching-check-mismatch): New function.
(blink-matching-check-function): New variable.
(blink-matching-open): Use them.
Skip back forward over prefix chars skipped by forward-sexp.
Don't check if the parens are backslash escaped.
(blink-paren-post-self-insert-function): Check backslash escaping here.

13 years agoFix lisp/ChangeLog entries.
Jan Djärv [Thu, 2 Sep 2010 16:06:51 +0000 (18:06 +0200)]
Fix lisp/ChangeLog entries.

13 years agoSet revert-buffer-function in Package Menu.
Chong Yidong [Thu, 2 Sep 2010 15:29:15 +0000 (11:29 -0400)]
Set revert-buffer-function in Package Menu.

* emacs-lisp/package.el (package-menu-mode-map): Change
package-menu-revert bindings to revert-buffer.
(package-menu-mode): Set revert-buffer-function.
(package-menu-revert): Doc fix.

13 years agognus-html-rescale-image: Fix up typo in rescaling.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 14:10:03 +0000 (14:10 +0000)]
gnus-html-rescale-image: Fix up typo in rescaling.

13 years agoispell.el: better `default-directory' and kill-ispell-on-exit handling
Agustín Martín [Thu, 2 Sep 2010 12:37:29 +0000 (14:37 +0200)]
ispell.el: better `default-directory' and kill-ispell-on-exit handling

* textmodes/ispell.el (ispell-init-process): Use "~/" as
 `default-directory' unless using Ispell per-directory personal
 dictionaries and not in a mini-buffer under XEmacs.
 (kill-buffer-hook): Do not kill ispell process on exit when
 `ispell-process-directory' is "~/". (Bug#6143)

13 years agoUpdate email of Roland Winkler <winkler@gnu.org>
Stefan Monnier [Thu, 2 Sep 2010 11:47:15 +0000 (13:47 +0200)]
Update email of Roland Winkler <winkler@gnu.org>

13 years ago* simple.el (kill-new): Call interprogram-cut-function with only one argument.
Jan D [Thu, 2 Sep 2010 10:54:43 +0000 (12:54 +0200)]
* simple.el (kill-new): Call interprogram-cut-function with only one argument.

13 years agoForgor to save ChangeLog for previous commit.
Jan Djärv [Thu, 2 Sep 2010 10:20:20 +0000 (12:20 +0200)]
Forgor to save ChangeLog for previous commit.

13 years agoRemove cut buffer from documentation.
Jan Djärv [Thu, 2 Sep 2010 10:17:02 +0000 (12:17 +0200)]
Remove cut buffer from documentation.

* doc/emacs/frames.texi (Cut/Paste Other App): Remove vut-buffer text.

* doc/lispref/text.texi (Low-Level Kill Ring):
* doc/lispref/frames.texi (Window System Selections): Remove cut buffer
documentation.

* doc/misc/cl.texi (Basic Setf): Remove x-get-cut-buffer and x-get-cutbuffer.

* lisp/term/x-win.el (x-select-text):
* lisp/term/pc-win.el (x-selection-value):
* lisp/term/ns-win.el (x-selection-value):
* lisp/eshell/em-term.el:
* lisp/w32-fns.el (x-get-selection-value):
* lisp/mouse-sel.el (mouse-sel-set-selection-function):
* lisp/frame.el (display-selections-p): Remove cut-buffer in documentation.

* lisp/term.el (term-mouse-paste): Don't call x-get-cutbuffer.
Remove cut buffer from error message.

13 years agoSupport for cut buffers has been removed.
Jan Djärv [Thu, 2 Sep 2010 09:52:24 +0000 (11:52 +0200)]
Support for cut buffers has been removed.

13 years agoRemoved cut-buffer code.
Jan Djärv [Thu, 2 Sep 2010 09:47:08 +0000 (11:47 +0200)]
Removed cut-buffer code.

* lisp/mouse-sel.el (mouse-sel-get-selection-function):
x-cut-buffer-or-selection-value renamed to x-selection-value.
(x-select-text): Optional push removed.

* lisp/select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.

* lisp/simple.el (interprogram-cut-function): Remove mention of PUSH.

* lisp/w32-fns.el (x-last-selected-text):
x-cut-buffer-or-selection-value renamed to x-selection-value.
(x-cut-buffer-max): Remove.
(x-select-text): Remove argument PUSH, update documentation.

* lisp/emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.

* lisp/term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
x-cut-buffer-or-selection-value renamed to x-selection-value
(x-selection-value): Renamed from x-cut-buffer-or-selection-value.
(x-select-text): Remove argument PUSH, update documentation.

* lisp/term/pc-win.el (x-last-selected-text):
x-cut-buffer-or-selection-value renamed to x-selection-value
(x-select-text): Remove argument PUSH, update documentation.

* lisp/term/x-win.el: Update documentation for x-last-selected-text-*.
(x-last-selected-text-cut, x-last-selected-text-cut-encoded)
(x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
(x-select-text): Remove argument PUSH, update documentation.  Remove
cut-buffer code.
(x-selection-value-internal): Was previously x-selection-value.
(x-selection-value): Renamed from x-cut-buffer-or-selection-value.
Update documentation, remove cut-buffer code.  Call
x-selection-value-internal.
(x-clipboard-yank): Call x-selection-value-internal.
(x-initialize-window-system): Remove setting of x-cut-buffer-max.

* src/xselect.c: Remove declaration of cut-buffer objects and functions.
(symbol_to_x_atom): Remove mapping to XA_CUT_BUFFERn.
(x_atom_to_symbol): Remove mapping to QCUT_BUFFERn.
(Fx_get_cut_buffer_internal, Fx_store_cut_buffer_internal)
(Fx_rotate_cut_buffers_internal): Remove.
(syms_of_xselect): Remove defsubr of above.
Remove intern of QCUT_BUFFERn.

* src/xterm.c (x_term_init): Don't set dpyinfo->cut_buffers_initialized.

* src/xterm.h (struct dpyinfo): Remove cut_buffers_initialized.

13 years ago* doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948)
Glenn Morris [Thu, 2 Sep 2010 05:41:23 +0000 (22:41 -0700)]
* doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path.  (Bug#6948)

13 years ago* desktop.el (desktop-path): Bump :version after 2009-09-15 change.
Glenn Morris [Thu, 2 Sep 2010 05:38:30 +0000 (22:38 -0700)]
* desktop.el (desktop-path): Bump :version after 2009-09-15 change.

13 years agognus-html-put-image, gnus-html-rescale-image: Pass `file' argument.
Katsumi Yamaoka [Thu, 2 Sep 2010 05:03:06 +0000 (05:03 +0000)]
gnus-html-put-image, gnus-html-rescale-image: Pass `file' argument.

13 years agognus-article-html: Make work buffer multibyte for decoded contents.
Katsumi Yamaoka [Thu, 2 Sep 2010 03:47:31 +0000 (03:47 +0000)]
gnus-article-html: Make work buffer multibyte for decoded contents.

13 years agognus-group.el (gnus-group-line-format): Remove %O (moderated) from group line format...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 03:43:31 +0000 (03:43 +0000)]
gnus-group.el (gnus-group-line-format): Remove %O (moderated) from group line format, since it isn't very interesting.

13 years agognus-agent.el (gnus-agent-short-article, gnus-agent-long-article): Increase values...
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 03:39:33 +0000 (03:39 +0000)]
gnus-agent.el (gnus-agent-short-article, gnus-agent-long-article): Increase values for these two variables.