From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35419 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: gnus-draft-group? (was: nnfolder: seems broken) Date: 19 Mar 2001 14:28:30 -0500 Sender: prj@multivac.cwru.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035171166 2983 80.91.224.250 (21 Oct 2002 03:32:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:32:46 +0000 (UTC) Return-Path: Original-Received: (qmail 974 invoked by alias); 19 Mar 2001 19:28:36 -0000 Original-Received: (qmail 969 invoked from network); 19 Mar 2001 19:28:35 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (261@129.22.96.25) by gnus.org with SMTP; 19 Mar 2001 19:28:35 -0000 Original-Received: (qmail 28972 invoked by uid 500); 19 Mar 2001 19:28:52 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "17 Mar 2001 00:30:33 +0100") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Original-Lines: 21 Xref: main.gmane.org gmane.emacs.gnus.general:35419 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35419 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > On 16 Mar 2001, Paul Jarc wrote: > > WIBNI if we could do something like: (setq gnus-draft-group > > "nnfoo:group.name") where nnfoo would be any backend that supports > > the necessary operations? >=20 > Maybe nnmh has the advantage that you can just drop a file into a > directory and lo! you have saved a message. > > Gnus uses this to ensure > that auto-saved messages are automatically stored in the draft folder. I think this could be generalized to any one-file-per-message backend. When you start composing a message, Gnus would hand it to the backend via nnfoo-request-accept-article. Then we'd just have to add an nnfoo-article-file-name function to the backend interface; Gnus would use that to find out what file that article is stored in, and associate the message buffer with that file. Would that work? paul