Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Move articles while offline
Date: Wed, 23 Oct 2002 10:55:25 +0200	[thread overview]
Message-ID: <iluelahk002.fsf@latte.josefsson.org> (raw)
In-Reply-To: <84y98pd6ix.fsf@crybaby.cs.uni-dortmund.de> (kai.grossjohann@uni-duisburg.de's message of "Wed, 23 Oct 2002 08:16:22 +0200")

kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes:

> One idea for implementing $SUBJECT is to save to-be-moved articles as
> drafts.  That is, when you hit B m on an article while offline, the
> article is fetched, some headers are added, and then it is saved in
> nndraft:queue.
>
> The new headers would prevent gnus-group-send-queue from doing their
> normal operation.  Instead, they would save the article in the group
> indicated by a special header (the Gcc header comes to mind), and
> then they would set marks on the new article.  (The marks would be
> indicated in one of the new headers.
>
> So it seems that just a single header along the lines of
>
>     X-Gnus-Move-Flags: (ticked)
>
> could be sufficient.  The Gcc header indicates the target group.
>
> The same machinery could be used for auto-marking other Gcc'd
> articles.
>
> Thoughts?

Looks good.  Maybe place the offline-moved articles in its own
nndraft: folder?  Then it might be easier to locate the message and
insert them into the appropriate group while offline, to give the
impression that the article was already moved.  Hm.  Another idea: how
about using the cache to simulate that articles exist in the group?
Then the code to handle overview data and group high/low article count
and summary insertion already exists.  Only problem is which article
number to use.  Maybe negative ones work.




      reply	other threads:[~2002-10-23  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-20 19:59 Kai Großjohann
2002-10-22 10:07 ` Simon Josefsson
2002-10-23  6:16 ` Kai Großjohann
2002-10-23  8:55   ` Simon Josefsson [this message]

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=iluelahk002.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).