From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32254 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: Store meta information with backends? Date: Wed, 23 Aug 2000 18:27:44 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168556 18710 80.91.224.250 (21 Oct 2002 02:49:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:49:16 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id BD510D051E for ; Wed, 23 Aug 2000 12:30:21 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id LAC25132; Wed, 23 Aug 2000 11:29:33 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 23 Aug 2000 11:28:14 -0500 (CDT) Original-Received: from mailhost.sclp.com (66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA06341 for ; Wed, 23 Aug 2000 11:28:02 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id DA4A7D051E for ; Wed, 23 Aug 2000 12:27:45 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id SAA27682 for ; Wed, 23 Aug 2000 18:27:44 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id SAA10073; Wed, 23 Aug 2000 18:27:44 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id SAA07803; Wed, 23 Aug 2000 18:27:44 +0200 Original-To: ding@gnus.org User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90 Original-Lines: 27 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32254 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32254 I think it would be advantageous for some people to be able to store information with the backends. (nnmail-derived backends could offer the option of storing stuff in .newsrc.eld like it is now.) For IMAP, the benefit is obvious. It already requires all information to be in the backend, after all. But this would be nice for other backends, too. For example, suppose I rsync my ~/Mail directory between home and work, but at home I'm using a different NNTP server, and at home I read my Hotmail mail. Then I could tell Gnus to store all the meta information from the nnml backend in some place that's rsynced along with ~/Mail. We could add some functions to the backend interface, and wherever Gnus now accesses the ~/.newsrc.eld information, we modify it to go to the backend functions instead. I'm not suggesting to entirely replace the current storage format; we could offer a server parameter which tells the backend functions to save stuff in ~/.newsrc.eld. What do you all think? kai -- I like BOTH kinds of music.