bpt/emacs.git
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 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 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.

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>.