From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67377 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Patch to message.el to allow saving multiple message buffers when Gnus not running Date: Mon, 15 Sep 2008 12:41:47 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86od2ppaqs.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221500751 22260 80.91.229.12 (15 Sep 2008 17:45:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2008 17:45:51 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15828@lists.math.uh.edu Mon Sep 15 19:46:38 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 1KfI9Q-0005Wr-Jh for ding-account@gmane.org; Mon, 15 Sep 2008 19:46:17 +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 1KfI8O-0006cu-N9; Mon, 15 Sep 2008 12:45:12 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KfI8N-0006cZ-EN for ding@lists.math.uh.edu; Mon, 15 Sep 2008 12:45:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KfI8L-00069u-3x for ding@lists.math.uh.edu; Mon, 15 Sep 2008 12:45:11 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KfI8O-0006UE-00 for ; Mon, 15 Sep 2008 19:45:12 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KfI8E-0003t9-Lz for ding@gnus.org; Mon, 15 Sep 2008 17:45:02 +0000 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Sep 2008 17:45:02 +0000 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Sep 2008 17:45:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:mVrtGYTC4VASWBRZwEhOGnFg03Q= X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67377 Archived-At: 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. Hi Francis, 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? It's a tiny patch so I'm not sure of the procedure there; if you plan to contribute in the future it would be great to have the assignment. Ted