From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78441 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: draft group weirdness Date: Sun, 10 Apr 2011 16:50:53 +0100 Message-ID: <87fwpq14wy.fsf@ericabrahamsen.net> References: <87hbadqran.fsf@ericabrahamsen.net> <87sjtw40jh.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1302450703 12416 80.91.229.12 (10 Apr 2011 15:51:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2011 15:51:43 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26745@lists.math.uh.edu Sun Apr 10 17:51:39 2011 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.69) (envelope-from ) id 1Q8wvK-0003Bt-Kp for ding-account@gmane.org; Sun, 10 Apr 2011 17:51:39 +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 1Q8wup-0006nd-35; Sun, 10 Apr 2011 10:51:07 -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 1Q8wun-0006nT-VP for ding@lists.math.uh.edu; Sun, 10 Apr 2011 10:51:05 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q8wum-0006lz-MX for ding@lists.math.uh.edu; Sun, 10 Apr 2011 10:51:05 -0500 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q8wuk-0003si-Io for ding@gnus.org; Sun, 10 Apr 2011 17:51:02 +0200 Original-Received: by wyb29 with SMTP id 29so6494336wyb.17 for ; Sun, 10 Apr 2011 08:50:57 -0700 (PDT) Original-Received: by 10.227.9.20 with SMTP id j20mr4305883wbj.116.1302450657150; Sun, 10 Apr 2011 08:50:57 -0700 (PDT) Original-Received: from localhost (customer8991.pool1.unallocated-106-0.orangehomedsl.co.uk [91.106.35.38]) by mx.google.com with ESMTPS id y12sm2854400wby.59.2011.04.10.08.50.54 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Apr 2011 08:50:55 -0700 (PDT) In-Reply-To: <87sjtw40jh.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 06 Apr 2011 09:43:30 +0800") User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78441 Archived-At: On Wed, Apr 06 2011, Eric Abrahamsen wrote: > On Wed, Apr 06 2011, Lars Magne Ingebrigtsen wrote: > >> Eric Abrahamsen writes: >> >>> I've been having a lot of trouble with the drafts group recently. I >>> save drafts, go back into the drafts folder, hit 'e' to edit a message, >>> and it asks me for a file to save into. >> >> That's bizarre. (setq debug-on-quit t) and `C-g' when it prompts, so >> that we can see what function you're calling with `e'. > > Here's the backtrace: > > #+begin_src lisp > Debugger entered--Lisp error: (quit) > ad-Orig-completing-read("File to save in: ~/" (("dummy" . 1)) nil nil n= il ido-file-history nil nil) > completing-read("File to save in: ~/" (("dummy" . 1)) nil nil nil ido-f= ile-history) > byte-code("\304\305 \"\306\307\211\n\307=0B&\207" [item prompt ido-tex= t-init history completing-read ido-make-prompt (("dummy" . 1)) nil] 7) > ido-read-internal(file "File to save in: " ido-file-history nil nil nil) > ido-read-file-name("File to save in: " "~/" nil nil nil nil) > read-file-name("File to save in: ") > basic-save-buffer() > save-buffer() > gnus-draft-edit-message() > call-interactively(gnus-draft-edit-message nil nil) > #+end_src Other stuff=E2=80=A6 My select method is nntp, and my secondary select methods nnml and nntp (for gwene). Drafts get saved in ~/gnus/News/drafts/drafts, though there is also an empty ~/gnus/Mail/drafts directory as well. Editing a single saved earlier draft creates not only a "1" file in the above drafts directory, but also a "2" and "3", all with the same content. These files are not erased after the original message is sent or deleted. (They might get erased later, I'm not sure.) Losing marks happens when I am replying to an existing message, and save that reply as a draft. Then when I edit the draft (or perhaps when I send it?), the group that the original is in loses all its marks. Hopefully something in there will raise a red flag. I've gotten better at the debugger; "save-buffer" is obviously getting called at line 103 of gnus-draft.el, maybe I could figure out why that's the wrong buffer=E2= =80=A6 Thanks, Eric