From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67419 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Patch to message.el to allow saving multiple message buffers when Gnus not running Date: Tue, 23 Sep 2008 20:05:53 +0200 Message-ID: <871vzavita.fsf@marauder.physik.uni-ulm.de> References: <86od2ppaqs.fsf@lifelogs.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222193187 21632 80.91.229.12 (23 Sep 2008 18:06:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 18:06:27 +0000 (UTC) Cc: ding@gnus.org To: Francis Litterio Original-X-From: ding-owner+M15870@lists.math.uh.edu Tue Sep 23 20:07:25 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KiCI8-0007qN-GT for ding-account@gmane.org; Tue, 23 Sep 2008 20:07:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KiCH1-0003Bk-Pd; Tue, 23 Sep 2008 13:06:07 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KiCH0-0003BT-ID for ding@lists.math.uh.edu; Tue, 23 Sep 2008 13:06:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KiCGv-0006U1-35 for ding@lists.math.uh.edu; Tue, 23 Sep 2008 13:06:06 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KiCGz-0004og-00 for ; Tue, 23 Sep 2008 20:06:05 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m8NI5vct021751; Tue, 23 Sep 2008 20:05:57 +0200 (MEST) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 07CB1131B1; Tue, 23 Sep 2008 20:05:57 +0200 (CEST) X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB;kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od, ding@gnus.org In-Reply-To: <86od2ppaqs.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 15 Sep 2008 12:41:47 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-INFN-TO-Metrics: poseidon 1233; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67419 Archived-At: On Mon, Sep 15 2008, Ted Zlatanov wrote: > On Fri, 12 Sep 2008 12:26:37 -0400 Francis Litterio wrote: > > FL> In Gnus in CVS Emacs, function message-set-auto-save-file-name (in > FL> message.el) arranges for all message composition buffers to be saved to > FL> the same disk file when Gnus has not been started. If two messages are > FL> being composed at the same time, both will be saved to the same file. > > FL> This is at odds with how the same function saves multiple drafts of > FL> outgoing messages in the drafts folder when Gnus has been started. The > FL> below patch fixes this by changing message-set-auto-save-file to append > FL> a unique timestamp to the name of the disk file for the message > FL> composition buffer. I'm not sure about the purpose of the current implementation. How is the user supposed to recover the file(s) (without and with your patch)? > the patch looks good and I think using the time is reasonable to > guarantee uniqueness. I'll use it for a few days and report if I have > problems; have you been using it? I'd like to get at least one > successful tester besides myself before I commit the patch. > > Also, do you have papers on file for Gnus? He has. > It's a tiny patch so I'm not sure of the procedure there; Install it as a "tiny change", see the ChangeLogs for examples. > if you plan to contribute in the future it would be great to have > the assignment. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/