Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: No Gnus todo item
Date: Fri, 09 May 2003 00:48:53 +0200	[thread overview]
Message-ID: <ilubryd2gx6.fsf@latte.josefsson.org> (raw)
In-Reply-To: <4n7k91b72e.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 08 May 2003 14:56:57 -0400")

Ted Zlatanov <tzz@lifelogs.com> writes:

>>> May I suggest either a variable like gnus-startup-without-scan or a
>>> function gnus-fast?  The function seems the better solution.  You
>>> startup gnus with emacs -f gnus-fast and then `g' is still bound to
>>> the gnus function so things work like they always have.
>>>
>>> In fact, it seems like the gnus function already has a dont-connect
>>> parameter.  Is that not useful?
>> 
>> It is, and it may be tested by using M-x gnus-no-server RET or M-x
>> gnus-unplugged RET depending on preference.  I'm talking about the
>> default behavior.
>> 
>> Perhaps the idea doesn't make sense unless the asynchronous update
>> of read counts is implemented.  If so, the consider that implemented
>> too, when thinking about the feature.
>
> I think we'd need asynchronous mail fetching and article count
> updates to do what you want.  It's a very good goal, but it might
> require a major rewrite of Gnus.

I don't think it is requires much work, it should be possible to do
even without touching existing code, I think.

A somewhat IMAP specific incarnation of this idea would run a function
via the idle timer, have it pick one group, send off a few commands to
the server to request information, and return.  Takes a few
milliseconds, max.  When it is invoked the next time, it looks if it
has received outstanding requests, if so, it parses them and frob a
few Gnus data structure, redraws one line of the group buffer, and
returns.  This goes on until all groups are updated.

I would agree that doing this for mail-sources and client-side
filtering is harder, but the above approach should work for nnml,
nnfolder, nntp, nnmaildir and nnimap.




  reply	other threads:[~2003-05-08 22:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-08 11:07 Simon Josefsson
2003-05-08 12:03 ` Reiner Steib
2003-05-08 13:26   ` Simon Josefsson
2003-05-08 16:24     ` Bill White
2003-05-09  7:08     ` Kai Großjohann
2003-05-13 18:02   ` Lars Magne Ingebrigtsen
2003-05-08 16:21 ` Bill White
2003-05-08 17:14   ` Ted Zlatanov
2003-05-08 17:29     ` Simon Josefsson
2003-05-08 18:56       ` Ted Zlatanov
2003-05-08 22:48         ` Simon Josefsson [this message]
2003-05-09 16:32           ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilubryd2gx6.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).