Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 22:38:42 +0000 (00:38 +0200)]
Have the ?U (unseen) spec inserr "*" if the group isn't active instead of 0.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 21:49:24 +0000 (23:49 +0200)]
Fix last fix.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 21:44:34 +0000 (23:44 +0200)]
Make sure that the error message doesn't error out.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 16:35:18 +0000 (18:35 +0200)]
Fix article moving from nnimap to other servers.
When moving an article from nnimap, request the article first so the
accepting form has an article to accept. Reported by Dan Christensen.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 16:29:12 +0000 (18:29 +0200)]
The nnimap makeover.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 16:17:39 +0000 (18:17 +0200)]
Fix typo.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 16:11:39 +0000 (18:11 +0200)]
Return the size of the entire message in the Bytes header.
The old version would return just the size of the first part.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 16:03:37 +0000 (18:03 +0200)]
Implement group deletion.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 15:56:36 +0000 (17:56 +0200)]
Say what Emacs versions we support.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 15:51:05 +0000 (17:51 +0200)]
Remove "(tiny fix)" from Julien's entry.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 15:50:32 +0000 (17:50 +0200)]
Don't wait for a response when we haven't requested anything.
From David Edmondson <dme@dme.org>
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 15:48:00 +0000 (17:48 +0200)]
Use "[]" as the parameter instead of "".
Fix found by Andrew Cohen.
Lars Magne Ingebrigtsen [Mon, 20 Sep 2010 15:46:09 +0000 (17:46 +0200)]
Use -encode-parameter instead of -encode-string.
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>
Juanma Barranquero [Mon, 20 Sep 2010 02:23:09 +0000 (02:23 +0000)]
Fix typos in ChangeLogs.
Katsumi Yamaoka [Mon, 20 Sep 2010 01:52:11 +0000 (01:52 +0000)]
Make Gnus work for Emacs 22 and XEmacs.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 19:58:03 +0000 (21:58 +0200)]
Document INFO.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 19:36:10 +0000 (21:36 +0200)]
Avoid a race condition while waiting for the connection string.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 19:06:18 +0000 (21:06 +0200)]
(gnus-html-image-fetched): Protect against the data not arriving.
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.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 18:21:02 +0000 (20:21 +0200)]
Return the MIME parts as IMAP wants them.
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.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 17:35:17 +0000 (19:35 +0200)]
When looking for credentials, also use the nnimap-server-port.
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.
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.
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.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 14:40:25 +0000 (16:40 +0200)]
(gnus-similar-server-opened): Refactor a bit and add comments.
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.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 13:06:03 +0000 (15:06 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 13:00:10 +0000 (15:00 +0200)]
Don't infloop if the IMAP connection drops.
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>
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 12:53:26 +0000 (14:53 +0200)]
The chars header is called Chars not Bytes.
Lars Magne Ingebrigtsen [Sun, 19 Sep 2010 12:45:07 +0000 (14:45 +0200)]
Allow anonymous login.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 20:10:40 +0000 (22:10 +0200)]
(nnoo): Required, so that other packages can require nnimap.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 19:26:34 +0000 (21:26 +0200)]
Fix typo in last checkin.
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.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 19:10:01 +0000 (21:10 +0200)]
When doing partial marks update, get the range update right.
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.
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.
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.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 17:36:35 +0000 (19:36 +0200)]
(nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
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.
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.
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".
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.
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.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 15:05:04 +0000 (17:05 +0200)]
* nnimap.el: Use deffoo instead of defun for interface functions.
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.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 11:57:52 +0000 (13:57 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus
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.
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.
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.
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
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.
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.
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.
Lars Magne Ingebrigtsen [Sat, 18 Sep 2010 00:52:20 +0000 (02:52 +0200)]
* nnimap.el (nnimap-with-process-buffer): Removed.
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.
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.
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.
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 ... ).
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.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:55:16 +0000 (22:55 +0200)]
Clean up code slightly.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:31:53 +0000 (22:31 +0200)]
Have `unseen-or-unread' select an unread unseen article first.
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.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 20:09:27 +0000 (22:09 +0200)]
* dgnushack.el: Define netrc-credentials.
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.
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.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 19:03:14 +0000 (21:03 +0200)]
Require cl when compiling.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:51:14 +0000 (20:51 +0200)]
Make capabilties be case-insensitive.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:47:10 +0000 (20:47 +0200)]
Fix typo in "bogus" section.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:45:58 +0000 (20:45 +0200)]
Remove junk from end of file.
Lars Magne Ingebrigtsen [Fri, 17 Sep 2010 18:42:44 +0000 (20:42 +0200)]
Not all servers return UIDNEXT. Work past this problem.
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.
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.
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.
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.
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.
Romain Francoise [Thu, 16 Sep 2010 18:27:48 +0000 (20:27 +0200)]
gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 23:33:56 +0000 (01:33 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus
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.
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.
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.
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 17:10:30 +0000 (19:10 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus
Lars Magne Ingebrigtsen [Tue, 14 Sep 2010 17:09:55 +0000 (19:09 +0200)]