gnus
13 years agoAdd new Makefile rules for starting test-suite.
David Engster [Thu, 7 Apr 2011 18:37:46 +0000 (20:37 +0200)]
Add new Makefile rules for starting test-suite.

* Makefile.in (check): New rule for starting test-suite.

* lisp/Makefile.in (check, test-registry): New rules for test-suite.

13 years agoXEmacs 21.4 does not support third argument NOERROR for `require'.
David Engster [Wed, 6 Apr 2011 20:19:36 +0000 (22:19 +0200)]
XEmacs 21.4 does not support third argument NOERROR for `require'.

* registry.el, gnus-registry.el: Use `ignore-errors' instead of third
argument NOERROR for `require', since XEmacs 21.4 does not support it.

13 years ago* registry.el (initialize-instance): Change :after to :AFTER to be
David Engster [Wed, 6 Apr 2011 19:32:03 +0000 (21:32 +0200)]
* registry.el (initialize-instance): Change :after to :AFTER to be
compatible with old EIEIO version in XEmacs.

13 years agoFix gnus-registry splitting bugs and provide better messaging.
Ted Zlatanov [Wed, 6 Apr 2011 18:40:35 +0000 (13:40 -0500)]
Fix gnus-registry splitting bugs and provide better messaging.

* gnus-registry.el (gnus-registry-post-process-groups)
(gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
and provide better messaging.

13 years ago* Makefile.in (lick-fail-on-warning): New rule to compile with warnings
David Engster [Wed, 6 Apr 2011 15:52:53 +0000 (17:52 +0200)]
* Makefile.in (lick-fail-on-warning): New rule to compile with warnings
as errors.
(fail-on-warning): Use it.

* lisp/Makefile.in (fail-on-warning): New rule to compile with warnings as
errors.

* dgnushack.el (dgnushack-compile-error-on-warn): New function to call
dgnushack-compile with error-on-warn enabled, and to signal an error if
clean compilation failed.
(dgnushack-compile): New argument 'error-on-warn'.  If non-nil, compile
with `byte-compile-error-on-warn'.  Return nil if errors occured.

13 years agoLoad ERT unconditionally anyway, discarding errors.
Ted Zlatanov [Wed, 6 Apr 2011 14:59:14 +0000 (09:59 -0500)]
Load ERT unconditionally anyway, discarding errors.

* registry.el: Don't use ERT if it's not available.  Load it
unconditionally anyway, discarding errors.

* gnus-registry.el: Don't use ERT if it's not available.  Load it
unconditionally anyway, discarding errors.

13 years agoregistry.el and gnus-registry.el ERT compatibility fixes, proto-stream.el commit...
Ted Zlatanov [Wed, 6 Apr 2011 10:52:28 +0000 (05:52 -0500)]
registry.el and gnus-registry.el ERT compatibility fixes, proto-stream.el commit revert, old .eld gnus-registry.el importer

* proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
version from the Claudio Bley GnuTLS patch (extra optional parameters
and host name).

* registry.el: Don't use ERT if it's not available.

* gnus-registry.el: Don't use ERT if it's not available.
(gnus-registry-delete-entries): New convenience function.
(gnus-registry-import-eld): Import from old .eld registry.

13 years agoregistry.el: Fix copyright, standardize license notice.
Glenn Morris [Wed, 6 Apr 2011 08:40:40 +0000 (08:40 +0000)]
registry.el: Fix copyright, standardize license notice.

13 years agoRegistry extra tracking bug fix: map references to group names.
Ted Zlatanov [Tue, 5 Apr 2011 21:11:32 +0000 (16:11 -0500)]
Registry extra tracking bug fix: map references to group names.

* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Map
references to actual group names with sender and subject tracking.

13 years ago* registry.el (initialize-instance, registry-db): Move the non-function initforms...
Ted Zlatanov [Tue, 5 Apr 2011 18:42:34 +0000 (13:42 -0500)]
* registry.el (initialize-instance, registry-db): Move the non-function initforms back to the class definition.

13 years agoDemonstrate pre-lexbind bug through registry.el ERT tests.
Ted Zlatanov [Tue, 5 Apr 2011 16:08:51 +0000 (11:08 -0500)]
Demonstrate pre-lexbind bug through registry.el ERT tests.

* (registry-lookup-breaks-before-lexbind): New method to demonstrate
pre-lexbind merge bug.
(registry-usage-test): Use it.

13 years agoFixes suggested by David Engster <deng@randomsample.de>.
Ted Zlatanov [Tue, 5 Apr 2011 15:54:02 +0000 (10:54 -0500)]
Fixes suggested by David Engster <deng@randomsample.de>.

* gnus-registry.el (gnus-registry-fixup-registry): New function to
fixup the parameters that can be customized by the user between
save/read cycles.
(gnus-registry-read): Use it.
(gnus-registry-make-db): Use it.
(gnus-registry-spool-action, gnus-registry-handle-action): Fix
messaging.
(gnus-registry--split-fancy-with-parent-internal): Fix loop.
(gnus-registry-post-process-groups): Use `cond' for better messaging.
(gnus-registry-usage-test): Add subject lookup test.

* registry.el (registry-db, initialize-instance): Set up constructor
instead of :initform arguments for the sake of older Emacsen.

13 years agognus-registry bug fixes.
Ted Zlatanov [Tue, 5 Apr 2011 15:41:51 +0000 (10:41 -0500)]
gnus-registry bug fixes.

* gnus-registry.el (gnus-registry-fixup-registry): New function to
fixup the parameters that can be customized by the user between
save/read cycles.
(gnus-registry-read): Use it.
(gnus-registry-make-db): Use it.
(gnus-registry-spool-action, gnus-registry-handle-action): Fix
messaging.
(gnus-registry--split-fancy-with-parent-internal): Fix loop.
(gnus-registry-post-process-groups): Use `cond' for better messaging.
(gnus-registry-usage-test): Add subject lookup test.

13 years agognus-registry.el major rewrite
Ted Zlatanov [Mon, 4 Apr 2011 00:54:20 +0000 (19:54 -0500)]
gnus-registry.el major rewrite

13 years ago(gnus-update-marks): Reinstate the code to not alter marks on non-selected articles.
Lars Magne Ingebrigtsen [Sun, 3 Apr 2011 16:44:10 +0000 (18:44 +0200)]
(gnus-update-marks): Reinstate the code to not alter marks on non-selected articles.

13 years ago(gnus-get-unread-articles): Don't try to contact denied servers.
Lars Magne Ingebrigtsen [Fri, 1 Apr 2011 19:29:47 +0000 (21:29 +0200)]
(gnus-get-unread-articles): Don't try to contact denied servers.

13 years agoResolve conflict.
Lars Magne Ingebrigtsen [Sun, 3 Apr 2011 16:43:08 +0000 (18:43 +0200)]
Resolve conflict.

13 years agoFix previous commits.
Katsumi Yamaoka [Sun, 3 Apr 2011 11:37:59 +0000 (11:37 +0000)]
Fix previous commits.

13 years agoFix previous commits.
Katsumi Yamaoka [Sun, 3 Apr 2011 10:45:12 +0000 (10:45 +0000)]
Fix previous commits.

13 years agoproto-stream.el: Rename it to network-stream.el.
Chong Yidong [Sun, 3 Apr 2011 10:34:26 +0000 (10:34 +0000)]
proto-stream.el: Rename it to network-stream.el.
nnimap.el (nnimap-open-connection-1): Pass explicit :end-of-command parameter to open-protocol-stream.

13 years agomm-view: do not fontify fundamental-mode
Julien Danjou [Fri, 1 Apr 2011 08:11:50 +0000 (10:11 +0200)]
mm-view: do not fontify fundamental-mode

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years ago(gnus-update-marks): Revert intersection change, which made marks not propagate,...
Lars Magne Ingebrigtsen [Wed, 30 Mar 2011 19:48:39 +0000 (21:48 +0200)]
(gnus-update-marks): Revert intersection change, which made marks not propagate, again.

13 years agoOnly do the defcustom compilation thing on XEmacs, where it seems to be needed.
Lars Magne Ingebrigtsen [Wed, 30 Mar 2011 16:09:31 +0000 (18:09 +0200)]
Only do the defcustom compilation thing on XEmacs, where it seems to be needed.

13 years agoResolve merge conflict.
Lars Magne Ingebrigtsen [Wed, 30 Mar 2011 16:10:33 +0000 (18:10 +0200)]
Resolve merge conflict.

13 years agoMerge Emacs' changes.
Chong Yidong [Wed, 30 Mar 2011 14:51:17 +0000 (14:51 +0000)]
Merge Emacs' changes.

proto-stream.el (open-protocol-stream): Bring back `network' type.  Make this the default type.
 (proto-stream-open-plain): Rename from proto-stream-open-default.
 (open-protocol-stream, proto-stream-open-starttls, proto-stream-open-tls, proto-stream-open-shell): Replace `default' with `plain'.
nnimap.el (nnimap-stream, nnimap-open-connection-1): Accept `network' value.
nntp.el (nntp-open-connection-function): Document the fact that some values are not functions but are instead handled specially.  Recognize nntp-open-plain-stream value.
 (nntp-open-connection): Recognize that value.

13 years ago* gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP stuff.
Lars Magne Ingebrigtsen [Tue, 29 Mar 2011 21:48:43 +0000 (23:48 +0200)]
* gssapi.el (open-gssapi-stream): Remove the last mentions of the IMAP stuff.

13 years ago(gnus-score-string): Fix calling convention of `gnus-simplify-buffer-fuzzy' after...
Lars Magne Ingebrigtsen [Tue, 29 Mar 2011 20:31:30 +0000 (22:31 +0200)]
(gnus-score-string): Fix calling convention of `gnus-simplify-buffer-fuzzy' after last patches.

13 years agoDon't send any marks updates to the server for articles we didn't get any headers...
Lars Magne Ingebrigtsen [Tue, 29 Mar 2011 20:09:41 +0000 (22:09 +0200)]
Don't send any marks updates to the server for articles we didn't get any headers for.

This is a sanity check.

13 years ago* gnus.texi (Listing Groups): Document gnus-group-list-ticked
Antoine Levitt [Tue, 29 Mar 2011 18:36:55 +0000 (20:36 +0200)]
* gnus.texi (Listing Groups): Document gnus-group-list-ticked

13 years ago(nnimap-open-connection-1): Is the login responds with a new CAPABILITY, use it.
Michael Welsh Duggan [Tue, 29 Mar 2011 18:17:27 +0000 (20:17 +0200)]
(nnimap-open-connection-1): Is the login responds with a new CAPABILITY, use it.

13 years ago(gnus-agent-fetch-headers): Don't message if we're not downloading anything.
Lars Magne Ingebrigtsen [Tue, 29 Mar 2011 18:09:22 +0000 (20:09 +0200)]
(gnus-agent-fetch-headers): Don't message if we're not downloading anything.

13 years ago* gnus.el (gnus-splash-svg-color-symbols): Removed superfluous `and'.
Lars Magne Ingebrigtsen [Tue, 29 Mar 2011 17:57:23 +0000 (19:57 +0200)]
* gnus.el (gnus-splash-svg-color-symbols): Removed superfluous `and'.

13 years ago* gnus.el (gnus-group-startup-message): Prefer svg file and replace
Adam Sjøgren [Tue, 29 Mar 2011 17:56:06 +0000 (19:56 +0200)]
* gnus.el (gnus-group-startup-message): Prefer svg file and replace
colors.
(gnus-splash-svg-color-symbols): New function.

13 years agoUse the local gnus-simplify-subject-fuzzy-regex instead of the global one.
Lars Magne Ingebrigtsen [Tue, 29 Mar 2011 17:42:41 +0000 (19:42 +0200)]
Use the local gnus-simplify-subject-fuzzy-regex instead of the global one.

This makes using this variable in group parameters work.

13 years agoIgnore "archive:sent" groups. Bail out early if enough matches are found while track...
Ted Zlatanov [Tue, 29 Mar 2011 16:09:22 +0000 (11:09 -0500)]
Ignore "archive:sent" groups.  Bail out early if enough matches are found while tracking the sender (the slowest registry search).

* gnus-registry.el (gnus-registry-unfollowed-groups): Add
"archive:sent" to the unfollowed group regex (for the recent Gnus
archive:sent-YYYY-MM-DD groups).
(gnus-registry-split-fancy-with-parent): Bail out early in sender
tracking if there are more than `gnus-registry-max-track-groups'
matches.

13 years agoFix `message-yank-original' so the CL functions are seen by the byte-compiler.
Stefan Monnier [Tue, 29 Mar 2011 14:50:11 +0000 (09:50 -0500)]
Fix `message-yank-original' so the CL functions are seen by the byte-compiler.

* message.el (message--yank-original-internal): New function to do the
insertion cleanly inside eval in `message-yank-original'.
(message-yank-original): Use it.

13 years agomm-view: use set-normal-mode
Julien Danjou [Tue, 29 Mar 2011 09:00:00 +0000 (11:00 +0200)]
mm-view: use set-normal-mode

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agoUse `imap-process-connection-type' for 'shell' streams as well as Kerberos, SSL,...
Brian T. Sniffen [Mon, 28 Mar 2011 18:12:34 +0000 (13:12 -0500)]
Use `imap-process-connection-type' for 'shell' streams as well as Kerberos, SSL, and other subprocesses.

* imap.el (imap-shell-open, imap-process-connection-type): Use
imap-process-connection-type for 'shell' streams as well as
Kerberos, SSL, other subprocesses.

13 years agoMerge changes made in Emacs trunk.
Chong Yidong [Sun, 27 Mar 2011 00:09:16 +0000 (00:09 +0000)]
Merge changes made in Emacs trunk.

proto-stream.el: Changes preparatory to merging open-protocol-stream with open-network-stream.
 (proto-stream-always-use-starttls): Option removed.
 (open-protocol-stream): Return a process object by default.  Provide a new parameter :return-list specifying a list-type return value, which now has the form (PROP . PLIST) instead of a fixed-length list.  Change :type `network' to `try-starttls', and `network-only' to `default'.  Make `default' the default, for compatibility with open-network-stream.  Handle the no-parameter case exactly as open-network-stream, with no additional stream processing.  Search plists using plist-get.  Explicitly add :end-of-commend parameter if it is missing.
 (proto-stream-open-default): Renamed from proto-stream-open-network-only.  Return 'default as the type.
 (proto-stream-open-starttls): Rename from proto-stream-open-network.  Use plist-get.  Don't return `tls' as the type if STARTTLS negotiation failed.  Always return a list with a (possibly dead) process as the first element, for compatibility with open-network-stream.
 (proto-stream-open-tls): Use plist-get.  Always return a list.
 (proto-stream-open-shell): Return `default' as connection type.
 (proto-stream-capability-open): Use plist-get.
 (proto-stream-eoc): Function deleted.
nnimap.el (nnimap-stream, nnimap-open-connection, nnimap-open-connection-1): Handle renaming of :type parameter for open-protocol-stream.
 (nnimap-open-connection-1): Pass a :return-list parameter open-protocol-stream to obtain a list return value.  Parse this list using plist-get.
nntp.el (nntp-open-connection): Handle renaming of :type parameter for open-protocol-stream.  Accept open-protocol-stream return value that is a subprocess object instead of a list.  Handle the case of a dead returned process.

13 years agoMove `mm-handle-filename' to mm-decode.el (bug#8330).
Ted Zlatanov [Fri, 25 Mar 2011 22:13:16 +0000 (17:13 -0500)]
Move `mm-handle-filename' to mm-decode.el (bug#8330).

* mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).

* mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).

13 years agomm-view: font-lock based on filename
Julien Danjou [Mon, 21 Mar 2011 17:28:09 +0000 (18:28 +0100)]
mm-view: font-lock based on filename

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agomm: add mm-handle-filename
Julien Danjou [Mon, 21 Mar 2011 16:43:04 +0000 (17:43 +0100)]
mm: add mm-handle-filename

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agognus-util: check that buffer is not nil
Julien Danjou [Fri, 18 Mar 2011 17:15:08 +0000 (18:15 +0100)]
gnus-util: check that buffer is not nil

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agognus-util: simplify gnus-buffer-live-p
Julien Danjou [Fri, 18 Mar 2011 16:58:54 +0000 (17:58 +0100)]
gnus-util: simplify gnus-buffer-live-p

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agoIntroduce fail-on-warning.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 21:30:23 +0000 (22:30 +0100)]
Introduce fail-on-warning.

13 years ago* Makefile.in (warn): Add a dummy "warn" target.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 21:04:22 +0000 (22:04 +0100)]
* Makefile.in (warn): Add a dummy "warn" target.

13 years agoFix "push tag" command.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 19:40:46 +0000 (20:40 +0100)]
Fix "push tag" command.

13 years agoNo Gnus v0.16 is begun
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 19:23:28 +0000 (20:23 +0100)]
No Gnus v0.16 is begun

13 years agoNo Gnus v0.15 is released
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 19:23:22 +0000 (20:23 +0100)]
No Gnus v0.15 is released

13 years agoUse assoc instead of assoc-string to avoid warning on XEmacs.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 19:18:13 +0000 (20:18 +0100)]
Use assoc instead of assoc-string to avoid warning on XEmacs.

13 years agoBind help-echo-owns-message to avoid a compiler warning on XEmacs.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 19:04:11 +0000 (20:04 +0100)]
Bind help-echo-owns-message to avoid a compiler warning on XEmacs.

13 years agoRequire mouse, which the build bot seems to say is needed.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 18:55:35 +0000 (19:55 +0100)]
Require mouse, which the build bot seems to say is needed.

13 years agoUse `url-retrieve' on XEmacs, since it doesn't have url-retrieve-synchronously.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 18:53:07 +0000 (19:53 +0100)]
Use `url-retrieve' on XEmacs, since it doesn't have url-retrieve-synchronously.

13 years ago(format-seconds): Use assoc instead of assoc-string, since assoc-string doesn't exist...
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 18:47:17 +0000 (19:47 +0100)]
(format-seconds): Use assoc instead of assoc-string, since assoc-string doesn't exist in XEmacs.

13 years agoIgnore .rej files.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 17:56:35 +0000 (18:56 +0100)]
Ignore .rej files.

13 years ago(Various Commands): Document format specs in the ellipsis.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 17:56:24 +0000 (18:56 +0100)]
(Various Commands): Document format specs in the ellipsis.

13 years ago* gnus-group.el (gnus-group-list-ticked): New function.
Antoine Levitt [Thu, 17 Mar 2011 17:55:42 +0000 (18:55 +0100)]
* gnus-group.el (gnus-group-list-ticked): New function.
(gnus-group-make-menu-bar): Provide a menu entry for it.
(gnus-group-list-map): Provide a binding for it.

13 years ago* shr.el (shr-visit-file): New command.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 16:45:28 +0000 (17:45 +0100)]
* shr.el (shr-visit-file): New command.

13 years ago(nnimap-fetch-inbox): Rewrite slightly last patch.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 16:45:14 +0000 (17:45 +0100)]
(nnimap-fetch-inbox): Rewrite slightly last patch.

13 years ago(nnimap-fetch-inbox): Don't download bodies on ver4-capable servers.
Bjørn Mork [Thu, 17 Mar 2011 16:44:21 +0000 (17:44 +0100)]
(nnimap-fetch-inbox): Don't download bodies on ver4-capable servers.

13 years agomm-uu: only dissect handle that are inline
Julien Danjou [Wed, 16 Mar 2011 15:32:30 +0000 (16:32 +0100)]
mm-uu: only dissect handle that are inline

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agognus-sum: use group parameter for list identifiers
Julien Danjou [Wed, 16 Mar 2011 14:59:27 +0000 (15:59 +0100)]
gnus-sum: use group parameter for list identifiers

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years ago* git.gnus.org/index.html: Updates about the CACert certificate.
Ted Zlatanov [Wed, 16 Mar 2011 13:17:52 +0000 (08:17 -0500)]
* git.gnus.org/index.html: Updates about the CACert certificate.

13 years agoFix some entries.
Stefan Monnier [Tue, 15 Mar 2011 23:01:29 +0000 (23:01 +0000)]
Fix some entries.

13 years agoFix some entries.
Stefan Monnier [Tue, 15 Mar 2011 22:55:25 +0000 (22:55 +0000)]
Fix some entries.

13 years ago(gnus-articles-to-read): Revert back to old behaviour if we're selecting a group...
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 22:51:16 +0000 (23:51 +0100)]
(gnus-articles-to-read): Revert back to old behaviour if we're selecting a group with unread articles.

13 years agoIndent.
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 22:39:05 +0000 (23:39 +0100)]
Indent.

13 years agoauth-source.el (auth-source-netrc-create):
Stefan Monnier [Tue, 15 Mar 2011 22:30:29 +0000 (22:30 +0000)]
auth-source.el (auth-source-netrc-create):
message.el (message-yank-original): Fix use of `case'.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus
Katsumi Yamaoka [Tue, 15 Mar 2011 22:25:26 +0000 (22:25 +0000)]
Merge branch 'master' of https://git.gnus.org/gnus

13 years agoMerge branch 'master' of https://git.gnus.org/gnus
Katsumi Yamaoka [Tue, 15 Mar 2011 22:19:53 +0000 (22:19 +0000)]
Merge branch 'master' of https://git.gnus.org/gnus

13 years ago(nnimap-open-connection-1): Allow `network-only', too.
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 22:19:44 +0000 (23:19 +0100)]
(nnimap-open-connection-1): Allow `network-only', too.

13 years ago* gssapi.el: New file separated out from imap.el to provide a general Kerberos 5...
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 21:02:32 +0000 (22:02 +0100)]
* gssapi.el: New file separated out from imap.el to provide a general Kerberos 5 connection facility for Emacs.

13 years ago(message-elide-ellipsis): Document the format specs in the ellipsis.
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 19:37:01 +0000 (20:37 +0100)]
(message-elide-ellipsis): Document the format specs in the ellipsis.

13 years agoProtect against trying to restore window configurations containing buffers that are...
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 18:08:44 +0000 (19:08 +0100)]
Protect against trying to restore window configurations containing buffers that are now dead.

13 years agoStore HIGHESTMODSEQ as a string, since it may be too large for 32-bit Emacsen.
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 16:58:49 +0000 (17:58 +0100)]
Store HIGHESTMODSEQ as a string, since it may be too large for 32-bit Emacsen.

13 years ago(nnimap-parse-flags): Simplify the last change.
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 16:57:10 +0000 (17:57 +0100)]
(nnimap-parse-flags): Simplify the last change.

13 years agoRemove all MODSEQ entries before parsing to avoid integer overflows.
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 16:52:42 +0000 (17:52 +0100)]
Remove all MODSEQ entries before parsing to avoid integer overflows.

13 years ago* gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
Nelson Ferreira [Tue, 15 Mar 2011 16:31:01 +0000 (17:31 +0100)]
* gnus-art.el (gnus-article-treat-body-boundary): Fix boundary width on
XEmacs, which was one character too wide.

13 years ago* gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
Antoine Levitt [Tue, 15 Mar 2011 16:23:19 +0000 (17:23 +0100)]
* gnus-sum.el (gnus-articles-to-read): Use gnus-large-newsgroup as
default number of articles to display.
(gnus-articles-to-read): Use pretty names for prompt.

13 years ago* message.texi (Insertion Variables): Document message-cite-style.
Antoine Levitt [Tue, 15 Mar 2011 16:15:49 +0000 (17:15 +0100)]
* message.texi (Insertion Variables): Document message-cite-style.

13 years agoGive a backtrace if debug-on-quit is set and the user hits `C-g'.
Lars Magne Ingebrigtsen [Tue, 15 Mar 2011 15:52:31 +0000 (16:52 +0100)]
Give a backtrace if debug-on-quit is set and the user hits `C-g'.

13 years agoauth-source.el (auth-source-netrc-create): Use usual format for the default in prompts.
Stefan Monnier [Tue, 15 Mar 2011 10:29:49 +0000 (10:29 +0000)]
auth-source.el (auth-source-netrc-create): Use usual format for the default in prompts.

13 years ago* message.el (message-yank-original): Use cond instead of CL case.
Ted Zlatanov [Tue, 15 Mar 2011 09:33:42 +0000 (04:33 -0500)]
* message.el (message-yank-original): Use cond instead of CL case.

13 years agolpath.el: Fbind read-char-choice for XEmacs.
Katsumi Yamaoka [Mon, 14 Mar 2011 12:20:17 +0000 (12:20 +0000)]
lpath.el: Fbind read-char-choice for XEmacs.

13 years agoShow the default in the prompt when prompting for token creation.
Ted Zlatanov [Sun, 13 Mar 2011 14:00:37 +0000 (09:00 -0500)]
Show the default in the prompt when prompting for token creation.

* auth-source.el (auth-source-netrc-create): Show the default in the
prompt when prompting for token creation.

13 years agoUpdate docs to explain that the :save-function will only run the first time.
Ted Zlatanov [Sat, 12 Mar 2011 19:03:55 +0000 (13:03 -0600)]
Update docs to explain that the :save-function will only run the first time.

* auth.texi (Help for developers): Update docs to explain that the
:save-function will only run the first time.

13 years agoFix default prompt and repeated saver query bugs.
Ted Zlatanov [Sat, 12 Mar 2011 18:07:47 +0000 (12:07 -0600)]
Fix default prompt and repeated saver query bugs.

* auth-source.el (auth-source-format-prompt): Always convert the value
to a string to avoid evaluating non-string arguments.
(auth-source-netrc-create): Offer default properly, not as initial
content in `read-string'.
(auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash
of line to determine if we've been run before.  If so, don't run again,
but print a trivial message to indicate the cache was hit instead.

13 years agoAdjust documentation and remove automatic read in hopes for Cloudy Gnus.
Ted Zlatanov [Fri, 11 Mar 2011 19:39:30 +0000 (13:39 -0600)]
Adjust documentation and remove automatic read in hopes for Cloudy Gnus.

* gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook): Don't
install `gnus-sync-read' to any hooks by default.  It's buggy.  The
user will have to run `gnus-sync-read' manually and wait for Cloudy
Gnus.

13 years agomm-uu: enhance diff extraction support
Julien Danjou [Fri, 11 Mar 2011 11:23:26 +0000 (12:23 +0100)]
mm-uu: enhance diff extraction support

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agoDon't use the dropdown-list library.
Ted Zlatanov [Wed, 9 Mar 2011 21:01:36 +0000 (15:01 -0600)]
Don't use the dropdown-list library.

* auth-source.el (auth-source-read-char-choice): Remove `dropdown-list'.

13 years agoAdd `auth-source-pick-first-password'.
Ted Zlatanov [Wed, 9 Mar 2011 17:36:28 +0000 (11:36 -0600)]
Add `auth-source-pick-first-password'.

* auth-source.el (auth-source-pick-first-password): New convenience
function.

13 years agoauth.texi (Help for developers): Untabify.
Katsumi Yamaoka [Wed, 9 Mar 2011 14:37:59 +0000 (14:37 +0000)]
auth.texi (Help for developers): Untabify.

13 years agoUse `eval-when-compile' to load `dropdown-list'
Ted Zlatanov [Wed, 9 Mar 2011 11:16:46 +0000 (05:16 -0600)]
Use `eval-when-compile' to load `dropdown-list'

* auth-source.el: Use `eval-when-compile' to load `dropdown-list'.

13 years agoUse `auth-source-read-char-choice' instead of `read-char'.
Ted Zlatanov [Wed, 9 Mar 2011 11:01:17 +0000 (05:01 -0600)]
Use `auth-source-read-char-choice' instead of `read-char'.

* auth-source.el (auth-source-read-char-choice): New function to read a
character choice using `dropdown-list', `read-char-choice', or
`read-char'.  It appends "[a/b/c] " to the prompt if the choices were
'(?a ?b ?c).  The `dropdown-list' support is disabled for now.
(auth-source-netrc-saver): Use it.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus
Ted Zlatanov [Wed, 9 Mar 2011 03:49:00 +0000 (21:49 -0600)]
Merge branch 'master' of https://git.gnus.org/gnus

13 years agoImprove default auth-source creation prompts as suggested in bug #8050.
Ted Zlatanov [Tue, 8 Mar 2011 21:56:36 +0000 (15:56 -0600)]
Improve default auth-source creation prompts as suggested in bug #8050.

* auth-source.el (auth-source-netrc-create): Set up clearer default
prompts for user, host, port, and secret.

13 years agoAdd full usage example.
Ted Zlatanov [Tue, 8 Mar 2011 20:45:12 +0000 (14:45 -0600)]
Add full usage example.

* auth.texi (Help for developers): Show example of using
`auth-source-search' with prompts and :save-function.

13 years agoAdd IMAP-specific user and password prompt.
Ted Zlatanov [Tue, 8 Mar 2011 19:44:08 +0000 (13:44 -0600)]
Add IMAP-specific user and password prompt.

* nnimap.el (nnimap-credentials): Add IMAP-specific user and password prompt.

13 years agoBring in :require and :save-function support.
Ted Zlatanov [Tue, 8 Mar 2011 18:22:28 +0000 (12:22 -0600)]
Bring in :require and :save-function support.

* auth-source.el (auth-source-search): Add :require parameter, taking a
list.  Document it and the :save-function return token.  Pass :require
down.  Change the CREATED message from a warning to a debug statement.
(auth-source-search-backends): Pass :require down.
(auth-source-netrc-search): Pass :require down.
(auth-source-netrc-parse): Use :require, if it's given, as a filter.
Change save prompt to indicate all modifications saved here are
deletions.
(auth-source-netrc-create): Take user login name as default in user
prompt.  Move all the save functionality to a lexically bound function
under the :save-function token in the returned list.
(auth-source-netrc-saver): New function, intended to be wrapped for
:save-function.

* nnimap.el (nnimap-credentials): Keep the :save-function as the third
parameter in the credentials.
(nnimap-open-connection-1): Use it after a successful login.

13 years agoChange the defaults for the table lines to be spaces instead.
Lars Magne Ingebrigtsen [Mon, 7 Mar 2011 16:35:46 +0000 (17:35 +0100)]
Change the defaults for the table lines to be spaces instead.