From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47011 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Support moving articles in Agent? Date: Sun, 06 Oct 2002 10:16:27 +0200 Organization: University of Dortmund, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <878z1ct21w.fsf@crybaby.cs.uni-dortmund.de> References: <877kgwlgfo.fsf@crybaby.cs.uni-dortmund.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033892305 15482 127.0.0.1 (6 Oct 2002 08:18:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Oct 2002 08:18:25 +0000 (UTC) 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 17y6cJ-00041a-00 for ; Sun, 06 Oct 2002 10:18:24 +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 17y6am-000757-00; Sun, 06 Oct 2002 03:16:48 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 06 Oct 2002 03:17:29 -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 DAA09754 for ; Sun, 6 Oct 2002 03:17:17 -0500 (CDT) Original-Received: (qmail 12571 invoked by alias); 6 Oct 2002 08:16:29 -0000 Original-Received: (qmail 12562 invoked from network); 6 Oct 2002 08:16:29 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 6 Oct 2002 08:16:29 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17y7MU-0006QD-00 for ; Sun, 06 Oct 2002 11:06:06 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 27 Original-NNTP-Posting-Host: p50877f9b.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1033895166 24564 80.135.127.155 (6 Oct 2002 09:06:06 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 6 Oct 2002 09:06:06 GMT User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:kl21YihyCpS3ZnpEWRjvfXsoZdk= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47011 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47011 Simon Josefsson writes: > Make nnagent remember data in calls to e.g. request-move-article and > invoke it when plugging back in (see `nnagent-request-set-mark' for an > approach to achieve this). One problem is, which article number do > you assign new articles? If the backend is e.g. nnimap, you cannot > simply pick one (since the server decides this) unless you do > something clever. Using negative article numbers might work though, > although you must make sure moving the same article several times > between groups while unplugged doesn't make Gnus do strange things. Maybe a first approach would be to leave the articles where they are and just remember that they have been moved. So the user types `B m' on a message and the summary line changes somehow to indicate this, but otherwise nothing obvious happens. Then, when synchronizing flags, Gnus really moves the message. Another possibility might be to pseudo-insert the message into the target group while unplugged. For crossposted articles, it is already possible for `^' to display an article in a group which doesn't actually occur there. Maybe a similar mechanism could be used to display moved-while-offline articles in the target group. What do you think? kai -- ~/.signature is: umop ap!sdn (Frank Nobis)