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.
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.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 17:53:48 +0000 (19:53 +0200)]
Bind RET and TAB on images for better UX.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 17:37:36 +0000 (19:37 +0200)]
(gnus-html-wash-tags): Search for images first, so that <a><img> works better.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 17:03:19 +0000 (19:03 +0200)]
Fix typo in last check-in.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 17:02:06 +0000 (19:02 +0200)]
Allow showing the ALT text of images and to browse the images themselves.
* gnus-html.el (gnus-html-show-alt-text): New command.
(gnus-html-browse-image): Ditto.
(gnus-html-wash-tags): Add the data to allow showing the ALT text and
to browse the image directly.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 16:49:28 +0000 (18:49 +0200)]
Indent.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 13:20:48 +0000 (15:20 +0200)]
(gnus-async-article-callback): Call `gnus-html-prefetch-images' unconditionally.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 13:16:04 +0000 (15:16 +0200)]
Fix typo in last check-in.
Lars Magne Ingebrigtsen [Wed, 8 Sep 2010 12:50:33 +0000 (14:50 +0200)]
Decode entities before feeding URLs to curl.
Katsumi Yamaoka [Tue, 7 Sep 2010 06:20:08 +0000 (06:20 +0000)]
gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and internal images as deletable by `W D D'.
Katsumi Yamaoka [Tue, 7 Sep 2010 01:15:35 +0000 (01:15 +0000)]
gnus-async.el (gnus-html-prefetch-images): Autoload it when compiling; (gnus-async-article-callback): Fix typo.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 22:16:07 +0000 (00:16 +0200)]
Limit end-tag matching to the current line to work around bugs in the output from w3m.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 22:11:04 +0000 (00:11 +0200)]
Always prefetch images for groups that want that.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 22:08:46 +0000 (00:08 +0200)]
(nntp-wait-for-string): Supply a timeout for accept-process-output to ensure progress.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 20:22:57 +0000 (22:22 +0200)]
If being given an explicit level to get unread articles from, then use that for foreign groups, too.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 20:02:51 +0000 (22:02 +0200)]
Remove <a name...> tags, which confuses the rest of the function.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 15:28:15 +0000 (17:28 +0200)]
Do a `gnus-request-scan' for the methods that support -retrieve-groups, too.
Lars Magne Ingebrigtsen [Mon, 6 Sep 2010 14:37:34 +0000 (16:37 +0200)]
(nnml-save-nov): Remove some debugging-related messages.
Katsumi Yamaoka [Mon, 6 Sep 2010 05:17:47 +0000 (05:17 +0000)]
Fix previous commit.
Katsumi Yamaoka [Mon, 6 Sep 2010 05:09:14 +0000 (05:09 +0000)]
dgnushack.el (dgnushack-compile, dgnushack-make-cus-load, dgnushack-make-auto-load): Exclude .dir-locals.el file.
Katsumi Yamaoka [Mon, 6 Sep 2010 02:05:19 +0000 (02:05 +0000)]
pop3.el (pop3-number-of-responses): Search for "+OK", not "+OK ".
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 22:48:11 +0000 (00:48 +0200)]
(gnus-get-unread-articles): Fix up the last commit.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 22:40:01 +0000 (00:40 +0200)]
Don't bother with groups that aren't going to be activated.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 20:37:49 +0000 (22:37 +0200)]
Allow calling without specifying the handle.
In that case, dissect the buffer first.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 19:54:31 +0000 (21:54 +0200)]
(gnus-set-mode-line): Don't pad the mode line string.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 18:21:10 +0000 (20:21 +0200)]
Revert the change that would look into authinfo for imaps instead of imap.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 17:28:23 +0000 (19:28 +0200)]
(gnus-get-unread-articles): Count the archive groups as secondary.
This makes sure they're activated the same way as before.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 17:19:22 +0000 (19:19 +0200)]
(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.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 17:07:48 +0000 (19:07 +0200)]
(imap-mailbox-get): Revert last change for this function.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 16:37:40 +0000 (18:37 +0200)]
imap.el: Remove an optional buffer parameter from many functions.
* imap.el (imap-message-map): Removed optional buffer parameter, since
no callers use it.
(imap-message-get): Ditto.
(imap-message-put): Ditto.
(imap-mailbox-map): Ditto.
(imap-mailbox-put): Ditto.
(imap-mailbox-get): Ditto.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 16:26:53 +0000 (18:26 +0200)]
(nnimap-debug): Removed.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 16:24:11 +0000 (18:24 +0200)]
(nnimap-request-list): Servers may return \NoSelect case-insensitively.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 16:18:43 +0000 (18:18 +0200)]
(imap-debug): Removed -- doesn't seem very useful.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 16:12:42 +0000 (18:12 +0200)]
(imap-fetch-safe): Removed function.
Altered all callers to use `imap-fetch' instead. According to the
comments, this should be safe, since all other IMAP clients use the
1:* syntax.
(imap-enable-exchange-bug-workaround): Removed.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 15:04:59 +0000 (17:04 +0200)]
Don't message if we're fetching mail from a file, and the file doesn't exist.
This avoids noise when scanning for new mail.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 14:05:17 +0000 (16:05 +0200)]
New convenience function for logging.
Use throughout instead of repeating the same code all over the place.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 13:44:10 +0000 (15:44 +0200)]
(pop3-streaming-movemail): Return t for success.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 13:22:05 +0000 (15:22 +0200)]
Look for the "imaps" entry in the .authinfo if we're using ssl connection.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 12:52:44 +0000 (14:52 +0200)]
Use the active info we already have if we're in a main Gnus `g' run.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 12:01:16 +0000 (14:01 +0200)]
Get info for virtual groups last.
Lars Magne Ingebrigtsen [Sun, 5 Sep 2010 12:01:06 +0000 (14:01 +0200)]
Get info for virtual groups last.
Katsumi Yamaoka [Sun, 5 Sep 2010 11:51:17 +0000 (11:51 +0000)]
(gnus-method-rank): Replace equalp with equal.
Katsumi Yamaoka [Sun, 5 Sep 2010 04:06:53 +0000 (04:06 +0000)]
(nnmh-request-list-1): Bind `file'.
Katsumi Yamaoka [Sun, 5 Sep 2010 03:58:34 +0000 (03:58 +0000)]
pop3-set-process-query-on-exit-flag: New function that's an alias to set-process-query-on-exit-flag, or process-kill-without-query for old Emacsen.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 22:55:46 +0000 (00:55 +0200)]
Indent.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 22:45:04 +0000 (00:45 +0200)]
Do incremental NOV updates when scanning new male.
(nnml-save-incremental-nov, nnml-open-incremental-nov)
(nnml-add-incremental-nov): New functions to do "incremental" nov
updates, where we just append to the end of the existing nov files
without reading/writing them in full.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 22:42:42 +0000 (00:42 +0200)]
Always move the crash box to the Incoming file. Fixes mistake in previous checkin.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 22:31:41 +0000 (00:31 +0200)]
Off-by-one error on the request loop (for debugging purposes) removed.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 22:09:33 +0000 (00:09 +0200)]
Really only check the incoming files once in a while.
* nnml.el (nnml-save-nov): Message around nnml-save-nov so that the
culprit is more visible.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 22:03:15 +0000 (00:03 +0200)]
Don't output messages when saving.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 22:00:07 +0000 (00:00 +0200)]
(pop3-streaming-movemail): Always close the pop3 connection.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 21:48:42 +0000 (23:48 +0200)]
Only check the incoming files for deletion once per day to save a lot of file accesses.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 21:33:41 +0000 (23:33 +0200)]
(pop3-logon): Fix up unbound variable typo.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 21:30:57 +0000 (23:30 +0200)]
(pop3-streaming-movemail): Respect pop3-leave-mail-on-server.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 21:28:50 +0000 (23:28 +0200)]
Use streaming pop3 retrieval.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 20:19:29 +0000 (22:19 +0200)]
White space clean up.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 20:18:56 +0000 (22:18 +0200)]
Remove duplicates from .newsrc list.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 19:22:37 +0000 (21:22 +0200)]
Protect against groups that come from no known methods.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 19:17:30 +0000 (21:17 +0200)]
Use erase-buffer instead of looping and deleting regions, which seems rather odd.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 19:13:41 +0000 (21:13 +0200)]
(pop3-display-message-size-flag): Removed -- everybody wants message sizes.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 18:12:43 +0000 (20:12 +0200)]
Only read the agent.lib/local file once per `g' run.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 17:34:42 +0000 (19:34 +0200)]
Output active lines also for empty directories.
This makes the draft queue directory work.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 17:15:31 +0000 (19:15 +0200)]
Add more changes related to the new methodology for requesting backend data.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 16:09:47 +0000 (18:09 +0200)]
Fix up the recursion behavior.
Make sure we actually do recurse down into the tree, but don't stat
all leaf nodes.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 15:39:22 +0000 (17:39 +0200)]
Rewrite the Gnus group activation method to be more efficient.
The main idea is to gather all groups based on their select methods,
and then issuing one `-request-list' per select method, instead of
activating them group by group. This should in theory be much, much
faster, but there's a bunch of subtle interactions between a plethora
of variables that doesn't make this trivial to achieve.
This is a first stab at the issue, and seems to work, but I'm sure
that there are corner cases that doesn't quite work right.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 13:32:30 +0000 (15:32 +0200)]
(Adaptive Scoring): Fix typo.
From: Julien Danjou <julien@danjou.info>
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 12:43:30 +0000 (14:43 +0200)]
(gnus-html-show-images): If there are no images to show, then say so instead of bugging out.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 12:35:09 +0000 (14:35 +0200)]
Check whether the agentview files exist before trying to read them.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 11:54:12 +0000 (13:54 +0200)]
(gnus-html-wash-tags): Remove even more white space around <pre_int>.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:27:26 +0000 (02:27 +0200)]
(gnus-article-copy-string): Say what data we copied.
Lars Magne Ingebrigtsen [Sat, 4 Sep 2010 00:16:01 +0000 (02:16 +0200)]
Only recurse down into subdirectories if the link count is more than 2.
This results in a 100x speed up on my nnmh spool, and that's from an
SSD disk, and not over nfs.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 23:57:39 +0000 (01:57 +0200)]
Maintain a cache of the image directories.
This means that the `g' command in Gnus doesn't have to stat dozens of
directories each time.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 23:54:51 +0000 (01:54 +0200)]
Just return the image directories, not all directories in the path in addition to the image directories.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 23:36:03 +0000 (01:36 +0200)]
Decode entities at the end.
So that entities inside the tags don't mess up the rest of the
"parsing".
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 23:32:59 +0000 (01:32 +0200)]
Remove more white space before <pre_int> image spacers.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 18:46:43 +0000 (20:46 +0200)]
Add the new command gnus-html-show-images.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 18:36:23 +0000 (20:36 +0200)]
Have the image insertion work even if the missing image is in an <a>
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 18:31:42 +0000 (20:31 +0200)]
Fix up the logic that marks resized images for buffer deletion.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 18:26:30 +0000 (20:26 +0200)]
Add a new `i' command to insert images.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 17:42:56 +0000 (19:42 +0200)]
Don't reuse the 'gnus-data text property, but use a new property.
This avoids stomping over other functions that use this for other
things.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 17:37:40 +0000 (19:37 +0200)]
Change the default so that nnimap methods aren't agentized by default.
There's apparently many problems related to agent/imap behaviour.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 17:35:02 +0000 (19:35 +0200)]
Also have the `u' command work for HTML links.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 17:32:09 +0000 (19:32 +0200)]
Provide an `u' command on urls and the like that copies the string over to the kill ring.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 17:08:49 +0000 (19:08 +0200)]
Comment fix.
Lars Magne Ingebrigtsen [Fri, 3 Sep 2010 16:58:01 +0000 (18:58 +0200)]
Added a .dir-locals.el file so that trailing whitespace is shown.
Katsumi Yamaoka [Fri, 3 Sep 2010 06:05:01 +0000 (06:05 +0000)]
gnus-html.el (gnus-html-put-image): make avoidance of displaying small images work for XEmacs.
Katsumi Yamaoka [Fri, 3 Sep 2010 02:25:36 +0000 (02:25 +0000)]
Make gnus-html work for XEmacs.
Katsumi Yamaoka [Fri, 3 Sep 2010 00:43:50 +0000 (00:43 +0000)]
gnus-ems.el: Make process-plist functions work.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 23:46:03 +0000 (01:46 +0200)]
Change default to 'opportunistic if hashcash is installed.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 14:05:02 +0000 (16:05 +0200)]
Only call image-size once, since it's somewhat time-consuming on remote X servers.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 13:00:18 +0000 (15:00 +0200)]
Fix up typo in rescaling.
Ted Zlatanov [Thu, 2 Sep 2010 10:02:10 +0000 (05:02 -0500)]
post-receive: More subject formatting.
Katsumi Yamaoka [Thu, 2 Sep 2010 06:37:00 +0000 (06:37 +0000)]
gnus-xmas-create-image: Don't try to examine image type on data, not a file name.
Katsumi Yamaoka [Thu, 2 Sep 2010 05:38:34 +0000 (05:38 +0000)]
lpath.el: Fbind w3-parse-buffer for Emacs <=22 and XEmacs; fbind window-pixel-edges for Emacs 21.
Katsumi Yamaoka [Thu, 2 Sep 2010 05:00:01 +0000 (05:00 +0000)]
gnus-html-put-image, gnus-html-rescale-image: Pass `file' argument.
Katsumi Yamaoka [Thu, 2 Sep 2010 03:14:02 +0000 (03:14 +0000)]
gnus-article-html: Make work buffer multibyte for decoded contents.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 02:54:44 +0000 (04:54 +0200)]
Remove %O (moderated) from group line format, since it isn't very interesting.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 02:46:09 +0000 (04:46 +0200)]
(gnus-agent-short-article), (gnus-agent-long-article): Increase values for these two variables.
Most people are likely to have more network connection and storage
than before.
Lars Magne Ingebrigtsen [Thu, 2 Sep 2010 02:42:59 +0000 (04:42 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus