gnus
13 years agoUse -encode-parameter instead of -encode-string.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 15:46:09 +0000 (17:46 +0200)]
Use -encode-parameter instead of -encode-string.

13 years agoAdd `gnus-article-html' in `mm-text-html-renderer' doc
Julien Danjou [Mon, 20 Sep 2010 09:53:41 +0000 (11:53 +0200)]
Add `gnus-article-html' in `mm-text-html-renderer' doc

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agoFix typos in ChangeLogs.
Juanma Barranquero [Mon, 20 Sep 2010 02:23:09 +0000 (02:23 +0000)]
Fix typos in ChangeLogs.

13 years agoMake Gnus work for Emacs 22 and XEmacs.
Katsumi Yamaoka [Mon, 20 Sep 2010 01:52:11 +0000 (01:52 +0000)]
Make Gnus work for Emacs 22 and XEmacs.

13 years agoDocument INFO.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 19:58:03 +0000 (21:58 +0200)]
Document INFO.

13 years agoAvoid a race condition while waiting for the connection string.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 19:36:10 +0000 (21:36 +0200)]
Avoid a race condition while waiting for the connection string.

13 years ago(gnus-html-image-fetched): Protect against the data not arriving.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 19:06:18 +0000 (21:06 +0200)]
(gnus-html-image-fetched): Protect against the data not arriving.

13 years agoRemove [] from the list of bogus characters.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 18:40:54 +0000 (20:40 +0200)]
Remove [] from the list of bogus characters.

This allows selecting certain Gmail groups.

13 years agoReturn the MIME parts as IMAP wants them.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 18:21:02 +0000 (20:21 +0200)]
Return the MIME parts as IMAP wants them.

13 years agoReturn the group/article number, so that Gnus `^' works as expected.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 17:42:00 +0000 (19:42 +0200)]
Return the group/article number, so that Gnus `^' works as expected.

13 years agoWhen looking for credentials, also use the nnimap-server-port.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 17:35:17 +0000 (19:35 +0200)]
When looking for credentials, also use the nnimap-server-port.

13 years agoStart preparing for partial downloads.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 17:32:49 +0000 (19:32 +0200)]
Start preparing for partial downloads.

* nnimap.el (nnimap-find-wanted-parts-1): New function.
(nnimap-fetch-partial-articles): New variable.

13 years agoWhen using the development version of Gnus, load the gnus-load file.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 15:05:19 +0000 (17:05 +0200)]
When using the development version of Gnus, load the gnus-load file.

13 years agoFix a speed regression based in methods that were similar weren't the same.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 15:02:02 +0000 (17:02 +0200)]
Fix a speed regression based in methods that were similar weren't the same.

* gnus.el (gnus-similar-server-opened): Refactor a bit and add
comments.
(gnus-methods-sloppily-equal): New function.

13 years ago(gnus-similar-server-opened): Refactor a bit and add comments.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 14:40:25 +0000 (16:40 +0200)]
(gnus-similar-server-opened): Refactor a bit and add comments.

13 years agoCall `gnus-open-server' on each method before trying to scan them etc.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 13:54:28 +0000 (15:54 +0200)]
Call `gnus-open-server' on each method before trying to scan them etc.

This ensures that all the backend parameters are set correctly.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 13:06:03 +0000 (15:06 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus

13 years agoDon't infloop if the IMAP connection drops.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 13:00:10 +0000 (15:00 +0200)]
Don't infloop if the IMAP connection drops.

13 years agoReplace subst-char-in-region by subst-char-in-region
Julien Danjou [Sun, 19 Sep 2010 12:44:00 +0000 (14:44 +0200)]
Replace subst-char-in-region by subst-char-in-region

* gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
rather than `subst-char-in-region' in order to be able to replace ASCII
char by UTF-8 ones.

Signed-off-by: Julien Danjou <julien@danjou.info>
13 years agoThe chars header is called Chars not Bytes.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 12:53:26 +0000 (14:53 +0200)]
The chars header is called Chars not Bytes.

13 years agoAllow anonymous login.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 12:45:07 +0000 (14:45 +0200)]
Allow anonymous login.

13 years agoPass proper format strings to gnus-message.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 12:22:23 +0000 (14:22 +0200)]
Pass proper format strings to gnus-message.

2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>

* gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
patch, found by Knut Anders Hatlen.

2010-09-19  Andreas Schwab  <schwab@linux-m68k.org>

* gnus-agent.el (gnus-agent-batch-confirmation)
(gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
to gnus-message.
* gnus-art.el (gnus-article-describe-briefly): Likewise.
* gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
(gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
* gnus-int.el (gnus-open-server): Likewise.
* gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
(gnus-score-check-syntax): Likewise.
* gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
* gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
Likewise.
* gnus-sum.el (gnus-summary-describe-briefly): Likewise.

13 years agoFix up the url-retrieve calling conventions so that prefetch doesn't bug out.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 12:20:07 +0000 (14:20 +0200)]
Fix up the url-retrieve calling conventions so that prefetch doesn't bug out.

13 years agoPrefetch and html washing additions.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 12:05:42 +0000 (14:05 +0200)]
Prefetch and html washing additions.

2010-09-19  Julien Danjou  <julien@danjou.info>

* gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
than curl.
(gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
the right URL and ALT text on images.
(gnus-html-wash-tags): Fix tag case.
Add support for `s' and `ins' tags. Use gnus-emphasis-* faces.
(gnus-article-html): Add -o display_ins_del=2 option.
(gnus-html-wash-tags): Add better support for <ul> tags symbols.

13 years agoProtect against junk appearing in the extra mail headers
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 12:01:59 +0000 (14:01 +0200)]
Protect against junk appearing in the extra mail headers

This which sometimes seem to happen for unknown reasons.

13 years ago(mail-header-encode-parameter): Define as rfc2045-encode-string
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 11:53:00 +0000 (13:53 +0200)]
(mail-header-encode-parameter): Define as rfc2045-encode-string

Instead of as rfc2231-encode-string, since some (or most, perhaps?)
mail readers don't understand the latter, but do understand the
former.

13 years ago* nnml.el (nnml-files): Add prefix to dynamic var `files'.
Stefan Monnier [Sun, 19 Sep 2010 10:37:57 +0000 (10:37 +0000)]
* nnml.el (nnml-files): Add prefix to dynamic var `files'.
(nnml-generate-nov-databases-directory, nnml-generate-active-info):
Update var name.
(nnml-generate-nov-file): Use dolist.
(nnml-directory-articles, nnml-current-group-article-to-file-alist):
Use with-current-buffer.

13 years agoChange default of gnus-agent-auto-agentize-methods to nil.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 02:42:16 +0000 (04:42 +0200)]
Change default of gnus-agent-auto-agentize-methods to nil.

* gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
to nil, so that no methods are automatically agentized.  I think this
is probably what most users want.

13 years agoIgnore all errors from url-retrieve, for instance about invalid URLs.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 02:33:57 +0000 (04:33 +0200)]
Ignore all errors from url-retrieve, for instance about invalid URLs.

13 years agoCheck that we really got an article when we requested one.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 02:20:14 +0000 (04:20 +0200)]
Check that we really got an article when we requested one.

13 years ago* gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 01:57:57 +0000 (03:57 +0200)]
* gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
doesn't exist.

* nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
groups that have no articles.

13 years agoBind `process-connection-type' to nil, so that CRLF doesn't get translated to \n.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 01:06:40 +0000 (03:06 +0200)]
Bind `process-connection-type' to nil, so that CRLF doesn't get translated to \n.

(nnimap-open-connection): Don't make 'shell commands only send \n.

13 years agoReturn data in the nntp buffer so the agent can save it.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 00:58:43 +0000 (02:58 +0200)]
Return data in the nntp buffer so the agent can save it.

13 years agoFetch all images in parallel.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 21:12:02 +0000 (23:12 +0200)]
Fetch all images in parallel.

2010-09-18  Julien Danjou  <julien@danjou.info>

* gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
parallel.

13 years agoAllow sending \n instead of \r\n on 'shell streams.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 20:55:03 +0000 (22:55 +0200)]
Allow sending \n instead of \r\n on 'shell streams.

(nnimap): Add a `newlinep' field to keep track of end-of-line
conventions.
Don't send CRLF to things that don't want it.
(nnimap-request-accept-article): Ditto.

13 years agoBe a bit more lax in finding the end of the command we're looking for.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 20:38:51 +0000 (22:38 +0200)]
Be a bit more lax in finding the end of the command we're looking for.

This helps when the server sends more responses after we've gotten
everything we expected.

13 years ago(nnoo): Required, so that other packages can require nnimap.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 20:10:40 +0000 (22:10 +0200)]
(nnoo): Required, so that other packages can require nnimap.

13 years agoFix typo in last checkin.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 19:26:34 +0000 (21:26 +0200)]
Fix typo in last checkin.

13 years agoDon't make `M-g' bug out on group with no marks.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 19:25:29 +0000 (21:25 +0200)]
Don't make `M-g' bug out on group with no marks.

13 years agoWhen doing partial marks update, get the range update right.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 19:10:01 +0000 (21:10 +0200)]
When doing partial marks update, get the range update right.

13 years agoUse `url' rather than curl to retrieve images.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 18:39:08 +0000 (20:39 +0200)]
Use `url' rather than curl to retrieve images.

2010-09-18  Julien Danjou  <julien@danjou.info>

* gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
than curl to retrieve images.

13 years agoFix off-by-one error when concatenating ranges when doing a partial update.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 18:30:43 +0000 (20:30 +0200)]
Fix off-by-one error when concatenating ranges when doing a partial update.

13 years agoAllow PREAUTH nnimap connections to log in without credentials.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 18:04:27 +0000 (20:04 +0200)]
Allow PREAUTH nnimap connections to log in without credentials.

(nnimap-wait-for-connection): New function.
(nnimap-open-connection): If we have PREAUTH, don't query for login
credentials.

13 years ago(nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 17:36:35 +0000 (19:36 +0200)]
(nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.

13 years ago* nnimap.el (nnimap-update-info): Extend the info so that we can set the marks.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 16:57:46 +0000 (18:57 +0200)]
* nnimap.el (nnimap-update-info): Extend the info so that we can set the marks.

13 years ago(gnus-html-wash-tags): Add support for i, b and u HTML tags.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 16:46:23 +0000 (18:46 +0200)]
(gnus-html-wash-tags): Add support for i, b and u HTML tags.

2010-09-18  Julien Danjou  <julien@danjou.info>

* gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
tags.

13 years agoGet credentials for numerical equivalents of the port numbers.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 15:54:20 +0000 (17:54 +0200)]
Get credentials for numerical equivalents of the port numbers.

* nnimap.el (nnimap-credentials): New function.
(nnimap-open-connection): Use the new function to look for credentials
also on the numeric equivalents of "imap" and "imaps".

13 years agoAllow nnimap-request-group to do a complete marks sync on `M-g'.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 15:32:24 +0000 (17:32 +0200)]
Allow nnimap-request-group to do a complete marks sync on `M-g'.

* nnimap.el (nnimap-request-group): Have the "check" version of the
function parse flags and update the info, so that a `M-g' get a total
resync of all flags from the group.

* gnus-start.el (gnus-activate-group): Send the info to
gnus-request-group.

13 years ago(gnus-request-group): Take an optional `info' parameter.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 15:08:58 +0000 (17:08 +0200)]
(gnus-request-group): Take an optional `info' parameter.

This allow backends to alter the info on group selection.  Also alter
all the backend -request-group functions to take the parameter.

13 years ago* nnimap.el: Use deffoo instead of defun for interface functions.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 15:05:04 +0000 (17:05 +0200)]
* nnimap.el: Use deffoo instead of defun for interface functions.

13 years ago(nnimap-request-group): Use the stored info for the dont-check case.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 14:43:32 +0000 (16:43 +0200)]
(nnimap-request-group): Use the stored info for the dont-check case.

* nnimap.el (nnimap-store-info): New function.
(nnimap-update-info): Store the info for later usage.
(nnimap-request-group): Use the stored info for the dont-check case, so
that we don't retrieve all marks when we enter a group.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 11:57:52 +0000 (13:57 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus

13 years agoAllow the backends to update the group info.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 11:57:37 +0000 (13:57 +0200)]
Allow the backends to update the group info.

This makes the nndraft groups, for instance, go back to their old
behaviour.

13 years agopop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr, pop3-quit):...
Stefan Monnier [Sat, 18 Sep 2010 10:28:44 +0000 (10:28 +0000)]
pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr, pop3-quit): Use with-current-buffer.

13 years agonnimap-related changes to avoid bugging out if we can't contact a server.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 01:52:14 +0000 (03:52 +0200)]
nnimap-related changes to avoid bugging out if we can't contact a server.

* gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
from methods that are denied.

* nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
in.
(nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
nothing.

* gnus-sum.el (gnus-select-newsgroup): Indent.

13 years ago(nnimap-open-connection): Don't error out when we can't make a connection
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 01:24:50 +0000 (03:24 +0200)]
(nnimap-open-connection): Don't error out when we can't make a connection

13 years agoUse auth-sources to query and store the password instead of netrc.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 01:20:56 +0000 (03:20 +0200)]
Use auth-sources to query and store the password instead of netrc.

13 years agoIn the password prompt, say what we're querying for.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 01:12:41 +0000 (03:12 +0200)]
In the password prompt, say what we're querying for.

Also prompt for user name if that hasn't been given.

13 years agoRevert one line that was changed by mistake in the last checkin.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 00:56:29 +0000 (02:56 +0200)]
Revert one line that was changed by mistake in the last checkin.

13 years ago* nnimap.el (nnimap-with-process-buffer): Removed.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 00:52:20 +0000 (02:52 +0200)]
* nnimap.el (nnimap-with-process-buffer): Removed.

13 years agoDon't use the "finish" method when we're reading from the agent.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 22:33:31 +0000 (00:33 +0200)]
Don't use the "finish" method when we're reading from the agent.

Add some more nnimap-relevant agent stuff to nnagent.el.

13 years agoAdd ~/.authinfo to the default, since that's probably most useful for users.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 22:13:35 +0000 (00:13 +0200)]
Add ~/.authinfo to the default, since that's probably most useful for users.

13 years agoSave result so that it doesn't say "failed" all the time.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 22:01:00 +0000 (00:01 +0200)]
Save result so that it doesn't say "failed" all the time.

Found by Adam Sjøgren.

13 years agoThroughout all files, replace (save-excursion (set-buffer ...)) with (with-current...
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 21:59:02 +0000 (23:59 +0200)]
Throughout all files, replace (save-excursion (set-buffer ...)) with (with-current-buffer ... ).

13 years ago(nntp-open-server): Return whether the open was successful or not.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:58:40 +0000 (22:58 +0200)]
(nntp-open-server): Return whether the open was successful or not.

13 years agoClean up code slightly.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:55:16 +0000 (22:55 +0200)]
Clean up code slightly.

13 years agoHave `unseen-or-unread' select an unread unseen article first.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:31:53 +0000 (22:31 +0200)]
Have `unseen-or-unread' select an unread unseen article first.

13 years agoIf the user doesn't have a /etc/services, supply some sensible port defaults.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:16:09 +0000 (22:16 +0200)]
If the user doesn't have a /etc/services, supply some sensible port defaults.

13 years ago* dgnushack.el: Define netrc-credentials.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:09:27 +0000 (22:09 +0200)]
* dgnushack.el: Define netrc-credentials.

13 years ago(mm-text-html-renderer): Document gnus-article-html.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:06:03 +0000 (22:06 +0200)]
(mm-text-html-renderer): Document gnus-article-html.

2010-09-17  Julien Danjou  <julien@danjou.info>  (tiny fix)

* mm-decode.el (mm-text-html-renderer): Document gnus-article-html.

13 years agoDon't bug out if the LIST command doesn't have any parameters.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 19:15:24 +0000 (21:15 +0200)]
Don't bug out if the LIST command doesn't have any parameters.

2010-09-17  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)

* nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
doesn't have any parameters.

13 years agoRequire cl when compiling.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 19:03:14 +0000 (21:03 +0200)]
Require cl when compiling.

13 years agoMake capabilties be case-insensitive.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:51:14 +0000 (20:51 +0200)]
Make capabilties be case-insensitive.

13 years agoFix typo in "bogus" section.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:47:10 +0000 (20:47 +0200)]
Fix typo in "bogus" section.

13 years agoRemove junk from end of file.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:45:58 +0000 (20:45 +0200)]
Remove junk from end of file.

13 years agoNot all servers return UIDNEXT. Work past this problem.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:42:44 +0000 (20:42 +0200)]
Not all servers return UIDNEXT.  Work past this problem.

13 years agoGet the number of lines by using BODYSTRUCTURE.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:31:10 +0000 (20:31 +0200)]
Get the number of lines by using BODYSTRUCTURE.

(nnimap-transform-headers): Get the number of lines in each message.
(nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
number of lines.

13 years agoImplement shell connection.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:06:44 +0000 (20:06 +0200)]
Implement shell connection.

* nnimap.el (nnimap-open-shell-stream): New function.
(nnimap-open-connection): Use it.

13 years agoReimplement nnimap, and do tweaks to the rest of the code to support that.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 16:18:39 +0000 (18:18 +0200)]
Reimplement nnimap, and do tweaks to the rest of the code to support that.

* gnus-int.el (gnus-finish-retrieve-group-infos)
(gnus-retrieve-group-data-early): New functions.

* gnus-range.el (gnus-range-nconcat): New function.

* gnus-start.el (gnus-get-unread-articles): Support early retrieval of
data.
(gnus-read-active-for-groups): Support finishing the early retrieval of
data.

* gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
if the move is internal, so that nnimap can do fast internal moves.

* gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
nnimap usage.

* nnimap.el: Rewritten.

* nnmail.el (nnmail-inhibit-default-split-group): New internal variable
to allow the mail splitting to not return a default group.  This is
useful for nnimap, which will leave unmatched mail in the inbox.

* utf7.el (utf7-encode): Autoload.

13 years agopop3.el (pop3-wait-for-messages): Use pop3-accept-process-output instead of nnheader...
Katsumi Yamaoka [Fri, 17 Sep 2010 06:46:22 +0000 (06:46 +0000)]
pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output instead of nnheader-accept-process-output.

13 years agognus-html.el: Replace process-kill-without-query by gnus-set-process-query-on-exit...
Katsumi Yamaoka [Fri, 17 Sep 2010 06:23:30 +0000 (06:23 +0000)]
gnus-html.el: Replace process-kill-without-query by gnus-set-process-query-on-exit-flag.

13 years agognus-html.el: Require gnus-art for `gnus-with-article-buffer'.
Romain Francoise [Thu, 16 Sep 2010 18:27:48 +0000 (20:27 +0200)]
gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 23:33:56 +0000 (01:33 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus

13 years agognus-registry.el (gnus-registry-install-shortcuts): Explicitly pass `obarray' to...
Juanma Barranquero [Tue, 14 Sep 2010 23:08:03 +0000 (23:08 +0000)]
gnus-registry.el (gnus-registry-install-shortcuts): Explicitly pass `obarray' to `unintern' to avoid a warning.

13 years agoThe second parameter to unintern is mandatory-ish in Emacs 24.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 20:22:14 +0000 (22:22 +0200)]
The second parameter to unintern is mandatory-ish in Emacs 24.

13 years agoFix up the w3m/curl dependencies.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 17:17:20 +0000 (19:17 +0200)]
Fix up the w3m/curl dependencies.

* mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html
depend on curl, which isn't essential.

* gnus-html.el (gnus-html-schedule-image-fetching)
(gnus-html-prefetch-images): Check for curl before using it.

13 years agoMerge branch 'master' of https://git.gnus.org/gnus
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 17:10:30 +0000 (19:10 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus

13 years agoRevert back to version cb950ed8ff3e0f40dac437a51b269166f9ffb60d
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 17:09:55 +0000 (19:09 +0200)]
Revert back to version cb950ed8ff3e0f40dac437a51b269166f9ffb60d

13 years ago.dir-locals.el: Add no-byte-compile cookie.
Juanma Barranquero [Tue, 14 Sep 2010 13:47:12 +0000 (13:47 +0000)]
.dir-locals.el: Add no-byte-compile cookie.

13 years agoFixed up nnrss group activation, and removed moreover stuff.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 13:22:31 +0000 (15:22 +0200)]
Fixed up nnrss group activation, and removed moreover stuff.

* nnrss.el (nnrss-request-list): Removed this function and related
functions, including the moreover stuff.

* gnus-start.el (gnus-read-active-for-groups): Reverted the previous
change.

13 years agotime-date.el (format-seconds): Comment fix.
Katsumi Yamaoka [Tue, 14 Sep 2010 06:02:55 +0000 (06:02 +0000)]
time-date.el (format-seconds): Comment fix.

13 years agognus-start.el (gnus-read-active-for-groups): Run gnus-activate-group for back end...
Katsumi Yamaoka [Tue, 14 Sep 2010 03:37:50 +0000 (03:37 +0000)]
gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group for back end that doesn't support request-scan.

13 years agoIf gnus-agent isn't set, then do request scans from the backends.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 23:39:10 +0000 (01:39 +0200)]
If gnus-agent isn't set, then do request scans from the backends.

13 years ago(netrc-credentials): New conveniency function.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 22:55:44 +0000 (00:55 +0200)]
(netrc-credentials): New conveniency function.

13 years agoCall `gnus-summary-highlight-line' directly from all places that used to call it...
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 16:29:09 +0000 (18:29 +0200)]
Call `gnus-summary-highlight-line' directly from all places that used to call it indirectly.

13 years agoAvoid calling a hook function per summary line.
Lars Magne Ingebrigtsen [Fri, 10 Sep 2010 16:26:01 +0000 (18:26 +0200)]
Avoid calling a hook function per summary line.

* gnus-sum.el (gnus-summary-update-hook): Change default to nil, to
avoid running a hook per line, since this takes a lot of time,
profiling shows.
(gnus-summary-prepare-threads): Call `gnus-summary-highlight-line'
directly if gnus-visual-p is true.

13 years agognus-start.el (gnus-read-active-for-groups): Check only subscribed groups.
Katsumi Yamaoka [Fri, 10 Sep 2010 05:30:35 +0000 (05:30 +0000)]
gnus-start.el (gnus-read-active-for-groups): Check only subscribed groups.

13 years agoRemove pop3-movemail and rename pop3-streaming-movemail to pop3-movemail.
Lars Magne Ingebrigtsen [Thu, 9 Sep 2010 14:06:38 +0000 (16:06 +0200)]
Remove pop3-movemail and rename pop3-streaming-movemail to pop3-movemail.

* pop3.el (pop3-movemail): Removed.
(pop3-streaming-movemail): Renamed to pop3-movemail.

* mail-source.el (mail-source-fetch-pop): Use pop3-movemail again.

13 years agoRefactor out the image bit, and don't restrict end-tag searches to the end of the...
Lars Magne Ingebrigtsen [Thu, 9 Sep 2010 13:20:53 +0000 (15:20 +0200)]
Refactor out the image bit, and don't restrict end-tag searches to the end of the line.

13 years agognus-start.el (gnus-get-unread-articles): Set the number of unread articles of every...
Katsumi Yamaoka [Thu, 9 Sep 2010 06:09:53 +0000 (06:09 +0000)]
gnus-start.el (gnus-get-unread-articles): Set the number of unread articles of every unchecked group to t, which means unknown since the server has never been opened.