Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: Outstanding stuff?
Date: Mon, 25 Oct 2010 13:19:16 -0500	[thread overview]
Message-ID: <87bp6i5e57.fsf@lifelogs.com> (raw)
In-Reply-To: <m3vd4rjynz.fsf@quimbies.gnus.org>

On Sun, 24 Oct 2010 19:20:00 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> We need the Message-ID of the message if we're going to return the
LMI> article number.  The question is: Do we need the article number, and the
LMI> answer is "kinda".  If the method is covered by the Agent, or the
LMI> message is cached, or whatever, then we need to know the new article
LMI> number so that we can do the right things there.  We also update the
LMI> marks in Gnus immediately, so we need the article number for that too,
LMI> although we could do without, since the next `g' will update Gnus
LMI> wrt. the target group anyway.  (If that group allows flags.)

LMI> So: If we want a sloppier not-quite-coherent update, we could get rid of
LMI> those.

If Gnus (and Emacs) were multithreaded this would be a great place to
use it.  Do you think this can be done with async messages (IMAP allows
it, obviously, but Gnus would need to update things as replies arrive)?

Maybe the whole IMAP interaction should be designed as an async queue
(with the option to insert at either end) rather than a command-reply
serial stream.

LMI> HOWEVER, we could just cheat and totally special-case things for
LMI> nnimap.  That is, a new interface function

LMI> (*-request-move-articles-internally articles from-group server to-group)

LMI> If it exists, and the move is internal (from one group on the same IMAP
LMI> server to another), this would just issue COPY + \Deleted + EXPUNGE, and
LMI> forget about all Gnus niceties with the cache/agent/etc.

The Gnus registry should be updated, but it doesn't need the article
number.  For a move from A to B, it only needs to be told the message ID
is no longer in group A and is now in group B.  Right now it does that
with a hook that you will bypass with this special function.

I am suspicious of such special functions.  If there's a way to make
moves faster, shouldn't all backends benefit from it?

Ted




  parent reply	other threads:[~2010-10-25 18:19 UTC|newest]

Thread overview: 113+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 19:53 Lars Magne Ingebrigtsen
2010-10-19 21:46 ` Steinar Bang
2010-10-20  0:11   ` Lars Magne Ingebrigtsen
2010-10-20 10:47     ` Steinar Bang
2010-10-21 17:16   ` Tibor Simko
2010-10-20  0:24 ` Dan Christensen
2010-10-20 15:09   ` Ted Zlatanov
2010-10-20 17:34     ` Lars Magne Ingebrigtsen
2010-10-20 17:59       ` Ted Zlatanov
2010-10-20 18:03         ` Lars Magne Ingebrigtsen
2010-10-20 18:39           ` Ted Zlatanov
2010-10-20 17:35   ` Lars Magne Ingebrigtsen
2010-10-21  1:14     ` Lars Magne Ingebrigtsen
2010-10-28  1:05       ` Dan Christensen
2010-10-29 22:40         ` Lars Magne Ingebrigtsen
2010-11-01 17:28           ` Dan Christensen
2010-11-01 18:48             ` Lars Magne Ingebrigtsen
2010-10-20  7:51 ` Julien Danjou
2010-10-21 15:52   ` Lars Magne Ingebrigtsen
2010-10-21 16:03     ` Julien Danjou
2010-10-21 20:27       ` Dave Goldberg
2010-10-21 22:22         ` Dan Christensen
2010-10-23 13:16       ` Julien Danjou
2010-10-24  4:28         ` Lars Magne Ingebrigtsen
2010-10-20  9:34 ` Robert Pluim
2010-10-20 11:12   ` Ted Zlatanov
2010-10-24 17:20   ` Lars Magne Ingebrigtsen
2010-10-25  7:18     ` Robert Pluim
2010-10-25 17:12       ` Steinar Bang
2010-10-25 17:25         ` Adam Sjøgren
2010-10-25 20:08           ` Steinar Bang
2010-10-25 20:11             ` Adam Sjøgren
2010-10-25 17:14       ` Steinar Bang
2010-10-25 17:24         ` Robert Pluim
2010-10-25 20:11           ` Steinar Bang
2010-10-25 22:48             ` Steinar Bang
2010-10-29 22:24             ` Lars Magne Ingebrigtsen
2010-10-25 18:19     ` Ted Zlatanov [this message]
2010-10-29 22:27       ` Lars Magne Ingebrigtsen
2010-10-26  0:59     ` Dan Christensen
2010-10-26  6:30       ` Steinar Bang
2010-10-29 22:28         ` Lars Magne Ingebrigtsen
2010-10-30  8:25           ` Steinar Bang
2010-10-30 11:12             ` Lars Magne Ingebrigtsen
2010-10-30 14:16               ` Steinar Bang
2010-10-30 16:45                 ` Agent improvements (was: Outstanding stuff?) Lars Magne Ingebrigtsen
2010-10-30 17:45                   ` Agent improvements Steinar Bang
2010-10-30 19:28                     ` Lars Magne Ingebrigtsen
2010-10-30 20:30                       ` Steinar Bang
2010-10-20 10:49 ` Outstanding stuff? Steinar Bang
2010-10-21 16:17   ` Lars Magne Ingebrigtsen
2010-10-20 11:53 ` Gijs Hillenius
2010-10-21 16:19   ` Lars Magne Ingebrigtsen
2010-10-20 12:24 ` Ted Zlatanov
2010-10-20 16:30   ` Lars Magne Ingebrigtsen
2010-10-20 16:34     ` Ted Zlatanov
2010-10-20 17:13       ` Lars Magne Ingebrigtsen
2010-10-20 14:40 ` Julien Danjou
2010-10-21  9:18   ` Julien Danjou
2010-10-21 16:21   ` Lars Magne Ingebrigtsen
2010-10-21 16:25     ` Julien Danjou
2010-10-20 15:11 ` Ted Zlatanov
2010-10-21 16:23   ` Lars Magne Ingebrigtsen
2010-10-21 17:36 ` Tibor Simko
2010-10-21 17:39   ` Lars Magne Ingebrigtsen
2010-10-21 20:14     ` Tibor Simko
2010-10-24  4:40       ` Lars Magne Ingebrigtsen
2010-10-30 19:58         ` Tibor Simko
2010-10-30 20:03           ` Lars Magne Ingebrigtsen
2010-10-30 21:14             ` Tibor Simko
2010-11-01 12:38               ` Tibor Simko
2010-11-01 18:24                 ` Lars Magne Ingebrigtsen
2010-11-02  9:19                   ` Tibor Simko
2010-11-04 19:53                     ` Lars Magne Ingebrigtsen
2010-10-21 18:41 ` Rémi Letot
2010-10-24  4:20   ` Lars Magne Ingebrigtsen
2010-10-24  8:49     ` Rémi Letot
2010-10-24 16:20       ` Lars Magne Ingebrigtsen
2010-10-24 19:07         ` Rémi Letot
2010-10-24 19:14           ` Lars Magne Ingebrigtsen
2010-10-24 19:16             ` Rémi Letot
2010-10-24 19:19               ` Lars Magne Ingebrigtsen
2010-10-24 19:30                 ` Rémi Letot
2010-10-24 19:33                   ` Lars Magne Ingebrigtsen
2010-10-24 19:42                     ` Rémi Letot
2010-10-24 19:44                       ` Lars Magne Ingebrigtsen
2010-10-24 19:50                         ` Rémi Letot
2010-10-24 19:52                           ` Lars Magne Ingebrigtsen
2010-10-24 19:57                             ` Rémi Letot
2010-10-24 20:00                               ` Lars Magne Ingebrigtsen
2010-10-24 20:40                                 ` Rémi Letot
2010-10-21 19:10 ` Robert Pluim
2010-10-24  4:23   ` Lars Magne Ingebrigtsen
2010-10-31 22:25 ` Mario Peter
2010-10-31 22:34   ` Forwarding rfc822 messages (was: Outstanding stuff?) Lars Magne Ingebrigtsen
2010-11-01  3:51     ` Forwarding rfc822 messages Dave Goldberg
2010-11-01 22:42       ` Mario Peter
2010-11-01  6:57     ` Mario Peter
2010-11-01 18:16       ` Lars Magne Ingebrigtsen
2010-11-01 22:16         ` Mario Peter
2010-11-02  7:17         ` Reiner Steib
2010-11-02 19:40           ` Lars Magne Ingebrigtsen
2010-12-05  0:21 ` Outstanding stuff? Steinar Bang
2010-12-05 12:06   ` Sender header (was: Outstanding stuff?) Lars Magne Ingebrigtsen
2010-12-05 12:39     ` Sender header Byung-Hee HWANG
2010-12-05 18:18     ` Steinar Bang
2010-12-05 18:35       ` Lars Magne Ingebrigtsen
2010-12-05 18:41         ` Lars Magne Ingebrigtsen
2010-12-05 22:09           ` Steinar Bang
2010-12-05 22:42             ` Lars Magne Ingebrigtsen
2010-12-06 20:24               ` Steinar Bang
2010-12-06 20:47                 ` Lars Magne Ingebrigtsen
2010-12-06 20:50                 ` Steinar Bang

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=87bp6i5e57.fsf@lifelogs.com \
    --to=tzz@lifelogs.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).