Stefan Monnier [Sun, 1 May 2011 18:00:44 +0000 (20:00 +0200)]
* gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary buffer has moved to a different frame.
Lars Magne Ingebrigtsen [Sun, 1 May 2011 17:27:52 +0000 (19:27 +0200)]
Use nntp-insert-buffer-substring to get the conversion from unibyte to multibyte buffers to work on Emacs 22.
Lars Magne Ingebrigtsen [Fri, 29 Apr 2011 14:07:08 +0000 (16:07 +0200)]
(shr-tag-s): Remove duplicate definition.
Lars Magne Ingebrigtsen [Fri, 29 Apr 2011 13:29:24 +0000 (15:29 +0200)]
To provide <s> support.
Teodor Zlatanov [Mon, 25 Apr 2011 04:28:40 +0000 (04:28 +0000)]
Synch with Emacs trunk.
proto-stream.el (proto-stream-open-starttls): Give host parameter to `gnutls-negotiate'.
(gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
Ted Zlatanov [Mon, 25 Apr 2011 03:57:04 +0000 (22:57 -0500)]
Don't call `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
* gnus-registry.el (gnus-registry-ignore-group-p): Don't call
`gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
Lars Magne Ingebrigtsen [Sun, 24 Apr 2011 19:12:15 +0000 (21:12 +0200)]
Add <sup> and <sub> support.
Lars Magne Ingebrigtsen [Sun, 24 Apr 2011 19:13:11 +0000 (21:13 +0200)]
Merge.
Glenn Morris [Sun, 24 Apr 2011 03:21:20 +0000 (03:21 +0000)]
gnus-sum.el (gnus-extra-headers): Bump :version.
Ted Zlatanov [Fri, 22 Apr 2011 13:20:27 +0000 (08:20 -0500)]
Minor fix for the case where `gnus-registry-ignored-groups' is a list of lists.
* gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
for the case where `gnus-registry-ignored-groups' is a list of lists,
and don't call `gnus-parameter-registry-ignore' otherwise.
Ted Zlatanov [Fri, 22 Apr 2011 00:37:56 +0000 (19:37 -0500)]
Add nnimap-user to nnimap.el.
* nnimap.el (nnimap-user): New backend variable.
(nnimap-open-connection-1): Use it.
(nnimap-credentials): Accept user parameter so it's explicit what user
name is desired.
Ted Zlatanov [Thu, 21 Apr 2011 23:24:38 +0000 (18:24 -0500)]
Add Cc, Gcc, and Keywords to default `gnus-extra-headers'.
* gnus-registry.el: Mention in comments how to modify
`gnus-extra-headers' for proper recipient tracking and that it may
already have To and Cc recently, which it does as of this commit.
* gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
default.
Teodor Zlatanov [Thu, 21 Apr 2011 20:20:25 +0000 (15:20 -0500)]
Fix data header reference for the Gnus registry so To and Cc headers are collected correctly.
* gnus-registry.el (gnus-registry-action): Fix data-header reference
to use the extra headers. Explain in package commentary how to add To
and Cc headers to the gnus-extra-headers.
Ted Zlatanov [Thu, 21 Apr 2011 19:59:25 +0000 (14:59 -0500)]
Add gnus.el to last commit.
* gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
not gnus-registry.el.
Ted Zlatanov [Thu, 21 Apr 2011 16:34:34 +0000 (11:34 -0500)]
Further registry ignored-groups fixes.
* gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
not gnus-registry.el.
* gnus-registry.el (gnus-registry-ignored-groups): Remove defcustom.
Explain why in comments.
Ted Zlatanov [Thu, 21 Apr 2011 16:27:39 +0000 (11:27 -0500)]
Fix registry ignored groups format and a logic bug.
* gnus-registry.el (gnus-registry-ignored-groups): Adjust defaults to
match the parameter.
(gnus-registry-ignore-group-p): Adjust to take either a group/topic
parameter list or a string list in `gnus-registry-ignored-groups'. Fix
logic error.
Katsumi Yamaoka [Thu, 21 Apr 2011 02:45:02 +0000 (02:45 +0000)]
(shr-expand-url): Fix typo.
Lars Magne Ingebrigtsen [Thu, 21 Apr 2011 01:58:12 +0000 (03:58 +0200)]
* shr.el (shr-expand-url): Protect against null urls.
Lars Magne Ingebrigtsen [Wed, 20 Apr 2011 22:34:03 +0000 (00:34 +0200)]
Use <base> to expand relative URLs.
Ted Zlatanov [Wed, 20 Apr 2011 20:48:24 +0000 (15:48 -0500)]
Add ignored groups back.
* gnus-registry.el (gnus-registry-ignored-groups): New variable.
(gnus-registry-ignore-group-p): Use it.
(gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
set the destination group to nil (same as delete) if it's ignored.
Ted Zlatanov [Wed, 20 Apr 2011 20:40:19 +0000 (15:40 -0500)]
* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
David Engster [Wed, 20 Apr 2011 18:34:49 +0000 (20:34 +0200)]
Installed Makefile rules for NNTP testing.
* Makefile.in (test-nntp): New rule.
(check): Add it.
(test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
David Engster [Wed, 20 Apr 2011 18:31:23 +0000 (20:31 +0200)]
Installed simple NNTP testing.
* tests/gnustest-nntp.el: New file for simple NNTP testing.
* Makefile.in (test-nntp): New rule.
(check): Add it.
(test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.
Katsumi Yamaoka [Wed, 20 Apr 2011 00:38:49 +0000 (00:38 +0000)]
gnus-registry.el (gnus-registry-action, gnus-registry-fetch-header-fast):
Don't use mail-header that looks an internal function of mailheader.el.
Glenn Morris [Tue, 19 Apr 2011 07:05:57 +0000 (07:05 +0000)]
time-date.el (time-to-days): Remove unused local variables.
Katsumi Yamaoka [Mon, 18 Apr 2011 22:50:30 +0000 (22:50 +0000)]
gnus-registry.el, registry.el: Silence the byte compiler.
gnus-registry.el: Eliminate cl functions.
(gnus-registry-sort-addresses): New function that replaces mapcan.
(gnus-registry-action, gnus-registry-spool-action)
(gnus-registry-split-fancy-with-parent)
(gnus-registry-fetch-recipients-fast): Use it.
(gnus-registry-import-eld): Replace delete* with dolist + delq.
registry.el (initialize-instance, registry-lookup)
(registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
(registry-lookup-secondary-value, registry-search, registry-delete)
(registry-insert, registry-reindex, registry-size, registry-prune):
Use eval-and-compile.
Ted Zlatanov [Sat, 16 Apr 2011 03:33:15 +0000 (22:33 -0500)]
Add recipient tracking to the Gnus registry. Reindex it on read if necessary.
* gnus-registry.el (gnus-registry-fixup-registry): Use it if the
tracked field changes.
(gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
(gnus-registry-action, gnus-registry-spool-action)
(gnus-registry-handle-action)
(gnus-registry--split-fancy-with-parent-internal)
(gnus-registry-split-fancy-with-parent)
(gnus-registry-register-message-ids): Add recipient tracking on spool,
move, and delete actions, and for fancy splitting with parent.
(gnus-registry-extract-addresses)
(gnus-registry-fetch-recipients-fast)
(gnus-registry-fetch-header-fast): Convenience functions.
(gnus-registry-misc-test): ERT test of
`gnus-registry-extract-addresses'.
* registry.el (registry-reindex): New method to recreate the secondary
registry indices.
Stefan Monnier [Fri, 15 Apr 2011 14:25:05 +0000 (14:25 +0000)]
message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from Lisp.
gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
(gnus-draft-send): Use it to avoid popping up frames from gnus-group-send-queue.
Ted Zlatanov [Fri, 15 Apr 2011 12:48:20 +0000 (07:48 -0500)]
Parent split by subject first, then sender.
* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
Track by subject first, then sender.
Katsumi Yamaoka [Thu, 14 Apr 2011 12:43:24 +0000 (12:43 +0000)]
Fix typos in the last change in gnus-registry docs.
Ted Zlatanov [Thu, 14 Apr 2011 10:22:33 +0000 (05:22 -0500)]
* gnus-registry.el: Updated gnus-registry docs.
Ted Zlatanov [Thu, 14 Apr 2011 10:21:55 +0000 (05:21 -0500)]
Updated gnus-registry docs.
* gnus.texi (nnmairix caveats, Setup, Registry Article Refer Method)
(Fancy splitting to parent, Store arbitrary data): Updated
gnus-registry docs.
Juanma Barranquero [Thu, 14 Apr 2011 01:48:37 +0000 (01:48 +0000)]
Cosmetic fix.
Ted Zlatanov [Tue, 12 Apr 2011 18:37:52 +0000 (13:37 -0500)]
Fix Gnus registry sender splitting and logging.
* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
Fix logic bug.
(gnus-registry-post-process-groups): Fix logging of no results and
quote sender and subject.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 18:29:44 +0000 (20:29 +0200)]
Only do opportunistic STARTTLS upgrades if we have built-in gnutls support.
Upgrades via gnutls-cli are too slow to be done opportunistically.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 17:58:15 +0000 (19:58 +0200)]
Fix typo.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 17:53:30 +0000 (19:53 +0200)]
Add a sanity check so that we don't issue two async commands to the same server at the same time.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 17:47:16 +0000 (19:47 +0200)]
* gnus-start.el (gnus-get-unread-articles): Slight cleanup.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 17:25:35 +0000 (19:25 +0200)]
(Window Layout): @itemize @code doesn't exist. It's @table @code.
Stig Sandbeck Mathisen [Tue, 12 Apr 2011 15:53:17 +0000 (17:53 +0200)]
* gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 15:50:04 +0000 (17:50 +0200)]
(gnus-registry-remake-db): Put the warning on a "warning" level.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 12:37:31 +0000 (14:37 +0200)]
(mm-url-package-name): Removed to ease third-party reuse.
(mm-url-insert-file-contents): Don't set the package names.
Ted Zlatanov [Mon, 11 Apr 2011 21:14:51 +0000 (16:14 -0500)]
Add subject and sender tracking in Gnus registry for incoming mail.
* gnus-registry.el (gnus-registry-action): Remove properties and
simplify subject in `gnus-registry-handle-action'.
(gnus-registry-spool-action): Get subject and sender from message if
they are not passed in.
(gnus-registry-handle-action): Remove properties and simplify subject
consistently.
Stefan Monnier [Mon, 11 Apr 2011 14:17:00 +0000 (14:17 +0000)]
registry.el: Require CL before using defmacro*.
Katsumi Yamaoka [Mon, 11 Apr 2011 00:27:46 +0000 (00:27 +0000)]
gnus-art.el (article-treat-date): Assume that gnus-article-date-headers may be a group parameter.
Juanma Barranquero [Fri, 8 Apr 2011 12:29:20 +0000 (12:29 +0000)]
Fix typo.
Ted Zlatanov [Thu, 7 Apr 2011 21:49:22 +0000 (16:49 -0500)]
* gnus-registry.el (gnus-registry-handle-action): More debugging.
Ted Zlatanov [Thu, 7 Apr 2011 21:48:36 +0000 (16:48 -0500)]
Add debugging option to `gnus-gnus-to-newsrc-format'.
* gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
interactively so the newsrc file can contain foreign groups too.
Useful for debugging but not much for users.
David Engster [Thu, 7 Apr 2011 18:47:29 +0000 (20:47 +0200)]
Avoid failing tests for Emacs without lexical binding.
* registry.el (registry-usage-test): Only do
`registry-lookup-breaks-before-lexbind' testing for Emacs24 with
lexical binding.
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.
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.
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.
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.
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.
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.
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.
Glenn Morris [Wed, 6 Apr 2011 08:40:40 +0000 (08:40 +0000)]
registry.el: Fix copyright, standardize license notice.
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.
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.
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.
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.
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.
Ted Zlatanov [Mon, 4 Apr 2011 00:54:20 +0000 (19:54 -0500)]
gnus-registry.el major rewrite
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.
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.
Lars Magne Ingebrigtsen [Sun, 3 Apr 2011 16:43:08 +0000 (18:43 +0200)]
Resolve conflict.
Katsumi Yamaoka [Sun, 3 Apr 2011 11:37:59 +0000 (11:37 +0000)]
Fix previous commits.
Katsumi Yamaoka [Sun, 3 Apr 2011 10:45:12 +0000 (10:45 +0000)]
Fix previous commits.
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.
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>
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.
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.
Lars Magne Ingebrigtsen [Wed, 30 Mar 2011 16:10:33 +0000 (18:10 +0200)]
Resolve merge conflict.
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.
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.
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.
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.
Antoine Levitt [Tue, 29 Mar 2011 18:36:55 +0000 (20:36 +0200)]
* gnus.texi (Listing Groups): Document gnus-group-list-ticked
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.
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.
Lars Magne Ingebrigtsen [Tue, 29 Mar 2011 17:57:23 +0000 (19:57 +0200)]
* gnus.el (gnus-splash-svg-color-symbols): Removed superfluous `and'.
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.
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.
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.
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.
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>
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.
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.
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).
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>
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>
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>
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>
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 21:30:23 +0000 (22:30 +0100)]
Introduce fail-on-warning.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 21:04:22 +0000 (22:04 +0100)]
* Makefile.in (warn): Add a dummy "warn" target.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 19:40:46 +0000 (20:40 +0100)]
Fix "push tag" command.
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 19:23:28 +0000 (20:23 +0100)]
No Gnus v0.16 is begun
Lars Magne Ingebrigtsen [Thu, 17 Mar 2011 19:23:22 +0000 (20:23 +0100)]
No Gnus v0.15 is released
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.
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.