1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 12:40:56 -08:00
Commit graph

2198 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
e8861cd2e4 Merge changes made in Gnus trunk.
nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the nntp buffer so the agent can save it.
nnimap.el (nnimap-open-shell-stream): 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.
nnimap.el (nnimap-request-group): Don't make `M-g' bug out on group with no marks.
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.
nnimap.el (nnimap-request-article): Check that we really got an article when we requested one.
gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors from url-retrieve, for instance about invalid URLs.
gnus-agent.el: Change default of gnus-agent-auto-agentize-methods to nil.
2010-09-19 10:45:51 +00:00
Stefan Monnier
149caf54c7 * lisp/gnus/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.
2010-09-19 11:16:28 +02:00
Lars Magne Ingebrigtsen
286c4fc2a9 Merge changes made in Gnus trunk.
nnimap.el (nnimap-request-group): Use the stored info for the dont-check case.
nnimap.el: Use deffoo instead of defun for interface functions.
gnus-int.el (gnus-request-group): Take an optional `info' parameter.
nnimap.el: Allow nnimap-request-group to do a complete marks sync on `M-g'.
nnimap.el: Get credentials for numerical equivalents of the port numbers.
gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML tags.
nnimap.el (nnimap-update-info): Extend the info so that we can set the marks.
nnimap.el (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
nnimap.el: Allow PREAUTH nnimap connections to log in without credentials.
nnimap.el (nnimap-update-info): Fix off-by-one error when concatenating ranges when doing a partial update.
gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather than curl to retrieve images.
nnimap.el (nnimap-update-info): When doing partial marks update, get the range update right.
nnimap.el (nnimap-wait-for-response): Be a bit more lax in finding the end of the command we're looking for.
nnimap.el: Allow sending \n instead of \r\n on 'shell streams.
gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in parallel.
2010-09-18 23:36:29 +00:00
Lars Magne Ingebrigtsen
f58208b1d8 * nnimap.el: Require nnoo and other files necessary. 2010-09-18 22:27:52 +02:00
Lars Magne Ingebrigtsen
bf5ba10b08 gnus-start.el (gnus-get-unread-articles): Allow the backends to update the group info. This makes the nndraft groups, for instance, go back to their old behaviour. 2010-09-18 13:59:25 +00:00
Katsumi Yamaoka
88ed5ce8a6 Fix previous merge from Gnus trunk. 2010-09-18 10:21:30 +00:00
Katsumi Yamaoka
20a673b2d0 Merge changes made in Gnus trunk.
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.


Implement shell connection.

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


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.


Not all servers return UIDNEXT.  Work past this problem.


Remove junk from end of file.


Fix typo in "bogus" section.


Make capabilties be case-insensitive.


Require cl when compiling.


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.


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


* dgnushack.el: Define netrc-credentials.


If the user doesn't have a /etc/services, supply some sensible port defaults.


Have `unseen-or-unread' select an unread unseen article first.


(nntp-open-server): Return whether the open was successful or not.


Throughout all files, replace (save-excursion (set-buffer ...)) with (with-current-buffer ... ).


Save result so that it doesn't say "failed" all the time.


Add ~/.authinfo to the default, since that's probably most useful for users.


Don't use the "finish" method when we're reading from the agent.


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


* nnimap.el (nnimap-with-process-buffer): Removed.


Revert one line that was changed by mistake in the last checkin.


(nnimap-open-connection): Don't error out when we can't make a connection


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.
2010-09-18 10:02:19 +00:00
Stefan Monnier
63556fc6fa Silence byte-compiler
* lisp/gnus/nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
(nnrss-retrieve-groups):
* lisp/gnus/pop3.el (pop3-open-server, pop3-read-response, pop3-list)
(pop3-retr, pop3-quit): Use with-current-buffer.
2010-09-17 16:22:06 +02:00
Katsumi Yamaoka
0eb0427371 pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output instead of nnheader-accept-process-output. 2010-09-17 06:46:54 +00:00
Katsumi Yamaoka
f4530299d5 gnus-html.el: Replace process-kill-without-query by gnus-set-process-query-on-exit-flag. 2010-09-17 06:24:10 +00:00
Romain Francoise
eca7d7bfba gnus-html.el: Require gnus-art for `gnus-with-article-buffer'. 2010-09-17 05:38:38 +00:00
Lars Magne Ingebrigtsen
01e80360d0 Merge changes made in Gnus trunk.
imap.el: Revert back to version cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes seem problematic.

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.
2010-09-14 23:14:44 +00:00
Juanma Barranquero
5e2a84e30d Explicitly pass obarray' to unintern' to avoid a warning.
* gnus/gnus-registry.el (gnus-registry-install-shortcuts)
* obsolete/old-whitespace.el (whitespace-unload-function)
2010-09-14 16:59:42 +02:00
Lars Magne Ingebrigtsen
74769e8b4c Fixed up nnrss group activation, and removed moreover stuff. 2010-09-14 13:44:44 +00:00
Juanma Barranquero
32405341e0 lisp/gnus/.dir-locals.el: Add no-byte-compile cookie. 2010-09-14 13:50:15 +02:00
Katsumi Yamaoka
dff99050cf gnus-start.el (gnus-read-active-for-groups): Run gnus-activate-group for back end that doesn't support request-scan. 2010-09-14 03:40:10 +00:00
Lars Magne Ingebrigtsen
a9ec34f4c4 Merge changes made in Gnus trunk.
gnus-sum.el: Avoid calling a hook function per summary line;
Call `gnus-summary-highlight-line' directly from all places that used to call it indirectly.

netrc.el (netrc-credentials): New conveniency function.

gnus-start.el (gnus-read-active-file-1): If gnus-agent isn't set, then do request scans from the backends.
2010-09-11 00:36:27 +00:00
Katsumi Yamaoka
3948633173 gnus-start.el (gnus-read-active-for-groups): Check only subscribed groups. 2010-09-10 05:32:25 +00:00
Lars Magne Ingebrigtsen
e574f6299d Remove pop3-movemail and rename pop3-streaming-movemail to pop3-movemail. 2010-09-10 00:08:31 +00:00
Lars Magne Ingebrigtsen
698ecd8250 gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and don't restrict end-tag searches to the end of the line. 2010-09-10 00:07:33 +00:00
Katsumi Yamaoka
55c9cbb078 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. 2010-09-09 06:15:13 +00:00
Lars Magne Ingebrigtsen
9778a07a35 gnus-html (gnus-html-wash-tags): Search for images first, so that <a><img> works better; (gnus-html-displayed-image-map): Bind RET and TAB on images for better UX. 2010-09-09 00:08:06 +00:00
Lars Magne Ingebrigtsen
99fcd18012 gnus-html.el: Allow showing the ALT text of images and to browse the images themselves. 2010-09-08 23:59:52 +00:00
Katsumi Yamaoka
724d30bea0 gnus-html.el (gnus-html-schedule-image-fetching): Decode entities before feeding URLs to curl.
gnus-async.el (gnus-async-article-callback): Call `gnus-html-prefetch-images' unconditionally.
2010-09-08 23:51:10 +00:00
Katsumi Yamaoka
ecc74b38f3 gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and internal images as deletable by `W D D'. 2010-09-07 06:23:16 +00:00
Katsumi Yamaoka
16ec6ca434 gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling; (gnus-async-article-callback): Fix typo. 2010-09-07 01:20:19 +00:00
Lars Magne Ingebrigtsen
f9e506776a gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the current line to work around bugs in the output from w3m. 2010-09-07 00:08:33 +00:00
Lars Magne Ingebrigtsen
8d40858522 gnus-async.el (gnus-async-article-callback): Always prefetch images for groups that want that. 2010-09-07 00:05:59 +00:00
Lars Magne Ingebrigtsen
d832b43712 nntp.el (nntp-wait-for-string): Supply a timeout for accept-process-output to ensure progress. 2010-09-07 00:04:11 +00:00
Lars Magne Ingebrigtsen
cdad7ab25b gnus-start.el (gnus-get-unread-articles): If being given an explicit level to get unread articles from, then use that for foreign groups, too. 2010-09-07 00:00:56 +00:00
Lars Magne Ingebrigtsen
f39ccb2edd gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest of the function. 2010-09-06 23:58:34 +00:00
Lars Magne Ingebrigtsen
26f96aa084 gnus-start.el (gnus-read-active-for-groups): Do a `gnus-request-scan' for the methods that support -retrieve-groups, too. 2010-09-06 23:56:27 +00:00
Lars Magne Ingebrigtsen
5edc8186ce nnml.el (nnml-save-nov): Remove some debugging-related messages. 2010-09-06 23:54:07 +00:00
Katsumi Yamaoka
ed96ace928 pop3.el (pop3-number-of-responses): Search for "+OK", not "+OK ". 2010-09-06 02:09:42 +00:00
Lars Magne Ingebrigtsen
f87f756b17 gnus-start.el (gnus-get-unread-articles): Fix up the last commit. 2010-09-06 00:48:40 +00:00
Lars Magne Ingebrigtsen
a83e5f1933 gnus-start.el (gnus-get-unread-articles): Don't bother with groups that aren't going to be activated. 2010-09-06 00:44:55 +00:00
Lars Magne Ingebrigtsen
29cd986b8b gnus-html.el (gnus-article-html): Allow calling without specifying the handle. In that case, dissect the buffer first. 2010-09-06 00:41:06 +00:00
Lars Magne Ingebrigtsen
29d31b5515 gnus-sum.el (gnus-set-mode-line): Don\t pad the mode line string. 2010-09-06 00:37:02 +00:00
Lars Magne Ingebrigtsen
d32fac6994 nnimap.el (nnimap-open-connection): Revert the change that would look into authinfo for imaps instead of imap. 2010-09-06 00:33:15 +00:00
Lars Magne Ingebrigtsen
cc4244d36d gnus-start.el (gnus-get-unread-articles): Count the archive groups as secondary, so that they're activated the same way as before. 2010-09-06 00:20:42 +00:00
Lars Magne Ingebrigtsen
c15c8017fd gnus-start.el (gnus-activate-group): Take an optional parameter to say that you don't want to call gnus-request-group with don-check, but do check the reponse. This is for virtual groups only. 2010-09-06 00:15:13 +00:00
Lars Magne Ingebrigtsen
f292afe545 nnimap.el (nnimap-debug): Removed; imap.el: Remove an optional buffer parameter from many functions. 2010-09-06 00:06:55 +00:00
Lars Magne Ingebrigtsen
3733ba53bb nnimap.el (nnimap-request-list): Servers may return \NoSelect case-insensitively. 2010-09-05 23:56:42 +00:00
Lars Magne Ingebrigtsen
dfe1285d2c imap.el (imap-fetch-safe, imap-enable-exchange-bug-workaround): Removed. 2010-09-05 23:45:14 +00:00
Lars Magne Ingebrigtsen
8695c9a712 mail-source.el (mail-source-fetch): Don't message if we're fetching mail from a file, and the file doesn't exist. 2010-09-05 23:38:33 +00:00
Lars Magne Ingebrigtsen
3ff31c90ab pop3.el (pop3-streaming-movemail): Return t for success; imap.el (imap-log): New convenience function used throughout instead of repeating the same code all over the place. 2010-09-05 23:34:30 +00:00
Lars Magne Ingebrigtsen
b1a069e688 nnimap.el (nnimap-open-connection): Look for the "imaps" entry in the .authinfo if we're using ssl connection. 2010-09-05 23:27:15 +00:00
Lars Magne Ingebrigtsen
0c6dfaf849 nnvirtual.el (nnvirtual-create-mapping): Use the active info we already have if we're in a main Gnus `g' run. 2010-09-05 23:20:25 +00:00
Lars Magne Ingebrigtsen
d65835d93b gnus-start.el (gnus-method-rank): Get info for virtual groups last. 2010-09-05 23:13:43 +00:00
Katsumi Yamaoka
3cf628e8ec gnus-start.el (gnus-method-rank): Replace equalp with equal. 2010-09-05 11:53:59 +00:00