From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47371 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Move articles while offline Date: Wed, 23 Oct 2002 10:55:25 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <84vg3wq3ts.fsf@crybaby.cs.uni-dortmund.de> <84y98pd6ix.fsf@crybaby.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035363470 11768 80.91.224.249 (23 Oct 2002 08:57:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 08:57:50 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 184HKl-00033C-00 for ; Wed, 23 Oct 2002 10:57:48 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 184HIv-0006vr-00; Wed, 23 Oct 2002 03:55:53 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 23 Oct 2002 03:56:38 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id DAA23731 for ; Wed, 23 Oct 2002 03:56:25 -0500 (CDT) Original-Received: (qmail 15062 invoked by alias); 23 Oct 2002 08:55:35 -0000 Original-Received: (qmail 15051 invoked from network); 23 Oct 2002 08:55:34 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 23 Oct 2002 08:55:34 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g9N8tTFu031944 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 23 Oct 2002 10:55:29 +0200 Original-To: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Mail-Copies-To: nobody X-Hashcash: 0:021023:kai.grossjohann@uni-duisburg.de:1859d7a4bc2888e1 X-Hashcash: 0:021023:ding@gnus.org:27c1718ab7aa77a1 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") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47371 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47371 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.