From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58672 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: spurious articles appearing in draft group Date: Fri, 01 Oct 2004 15:21:34 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: <874qlz9u5i.fsf@uwo.ca> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096611783 16850 80.91.229.6 (1 Oct 2004 06:23:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2004 06:23:03 +0000 (UTC) Cc: Arnaud Giersch , ding@gnus.org Original-X-From: ding-owner+M7210@lists.math.uh.edu Fri Oct 01 08:22:48 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CDGoa-00040i-00 for ; Fri, 01 Oct 2004 08:22:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CDGnl-0004fd-00; Fri, 01 Oct 2004 01:21:57 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CDGnZ-0004fV-00 for ding@lists.math.uh.edu; Fri, 01 Oct 2004 01:21:45 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CDGnZ-0004ZJ-D2 for ding@lists.math.uh.edu; Fri, 01 Oct 2004 01:21:45 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id A0DB93A0027 for ; Fri, 1 Oct 2004 01:21:42 -0500 (CDT) Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.42) id 1CDGna-0004QO-TV; Fri, 01 Oct 2004 02:21:47 -0400 Original-To: Stefan Monnier X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:ckL6BfoUWeb/g7LeM4wKFfKb0R0= X-Hashcash: 1:17:041001:monnier@iro.umontreal.ca::LgqnzYUtmnJYJjjr:000000000000000000000000000000000000003f2 X-Hashcash: 1:17:041001:arnaud.giersch@free.fr::QwefeaUAq4uKsN5W:0000000000000000000000000000000000000000IgA X-Hashcash: 1:17:041001:ding@gnus.org::BepvtapZIUJUDfeV:00000qkY X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58672 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58672 Hi, I noticed today there's surely a bug which several people have reported. The problem is that the article buffer will become associated with a draft file if a user edit it. It is caused by your change which made the gnus-article-edit-mode function be derived from the message-mode. You can reproduce it by typing `e' in the summary buffer, `C-c C-k' in the article buffer and `C-x C-b'. IMHO, it doesn't seem necessary to be derived from the message mode since the article editing is rarely used and it is good enough to be able only to edit it using the mml minor mode (currently the mml minor mode is called twice). Furthermore, use of the message mode may cause other evils. For instance, we have to consider that the messege-mode function might be used also in the article editing when changing it in the future. Arnaud Giersch analyzed exactly why the problem would occur: >>>>> In Arnaud Giersch wrote: > Michael Cook waxrat.com> writes: >> okay, it seems i can reproduce this problem by editing an article >> (gnus-summary-edit-article). the article then becomes a >> rogue/zombie thing that keeps re-appearing in my drafts folder until >> i restart gnus. > (I tried first to post this article to gnus.ding via news.gnus.org but it did > not appear, I hope that it will be ok via gmane. Apologies if you see multiple > copies.) > Hello, > I have the same problem here. As far as I can remember, it appeared > after August 15. > It looks like it is due to the following change: > 2004-08-22 Stefan Monnier iro.umontreal.ca> > * gnus-art.el: [...] > (gnus-article-edit-mode): Derive from message-mode. > Function "message-mode" calls "message-set-auto-save-file-name" which > itself calls "nndraft-request-associate-buffer". The problem is that > "nndraft-request-expire-buffer" is never called when article editing > ends. > I corrected the problem by reverting the change (derive > gnus-article-edit-mode from text-mode). > Another solution may be to insert proper calls to > "message-disassociate-draft" (or "nndraft-request-expire-buffer"?) in > "gnus-article-edit-done" and "gnus-article-edit-exit" (and maybe > others). > A third solution I can see is to manage not using nndraft when > gnus-article-edit-mode is used. > Regards, > -- > Arnaud