From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49927 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Move messages while offline using registry? Date: Fri, 07 Feb 2003 22:50:36 +0100 Organization: University of Duisburg, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <844r7fzro3.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044654625 18225 80.91.224.249 (7 Feb 2003 21:50:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2003 21:50: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 18hGNZ-0004i3-00 for ; Fri, 07 Feb 2003 22:49:49 +0100 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 18hGOy-0004Oz-00; Fri, 07 Feb 2003 15:51:16 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Feb 2003 15:52:12 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA23186 for ; Fri, 7 Feb 2003 15:52:01 -0600 (CST) Original-Received: (qmail 63863 invoked by alias); 7 Feb 2003 21:51:00 -0000 Original-Received: (qmail 63858 invoked from network); 7 Feb 2003 21:50:59 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 7 Feb 2003 21:50:59 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18hGWP-0000z4-00 for ; Fri, 07 Feb 2003 22:58:57 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 21 Original-NNTP-Posting-Host: pd951f1c2.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1044655137 3642 217.81.241.194 (7 Feb 2003 21:58:57 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 7 Feb 2003 21:58:57 GMT User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 Cancel-Lock: sha1:C/dcwLDy8uZ43XDW/WIYbVQPQ4Q= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49927 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49927 Now that the registry is there, it could be used to implement moving messages while offline. First of all, you'd need a place to stash the to-be-moved messages. Maybe nndraft:moving, or something. Secondly, you'd need a data structure giving, for each group, a list of msgids of messages that are to be moved into that group. And the last piece in the puzzle is something that injects additional articles into a group, along the lines of `G j', perhaps. What do people think? Hm. It would also have some facily of marking the messages that are still in nndraft:moving. Hm. I wonder if it could be easier to implement a backend that stores messages by their message id and that maintains a mapping between numbers and ids. Then the agent could be changed to use that backend. Then articles could be moved while offline. No, it doesn't really sound easier. Maybe it is better to stick with the old article number approach. -- A turnip curses Elvis