From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16165 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.user Subject: Re: Sent message still in drafts (lisp error: "Selecting deleted buffer") Date: Wed, 27 Mar 2013 09:17:58 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364343496 5918 80.91.229.3 (27 Mar 2013 00:18:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Mar 2013 00:18:16 +0000 (UTC) Cc: info-gnus-english@gnu.org, Felix Natter Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Mar 27 01:18:42 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKe4f-0004Nf-BQ for gegu-info-gnus-english@m.gmane.org; Wed, 27 Mar 2013 01:18:41 +0100 Original-Received: from localhost ([::1]:58662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKe4H-0002n9-AY for gegu-info-gnus-english@m.gmane.org; Tue, 26 Mar 2013 20:18:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKe4E-0002mq-4l for info-gnus-english@gnu.org; Tue, 26 Mar 2013 20:18:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKe4D-0008SD-2d for info-gnus-english@gnu.org; Tue, 26 Mar 2013 20:18:14 -0400 Original-Received: from mail-hampton.hostforweb.net ([216.246.13.138]:51546 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKe4C-0008S7-Ux for info-gnus-english@gnu.org; Tue, 26 Mar 2013 20:18:13 -0400 Original-Received: from localhost.localdomain ([127.0.0.1]:44215 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1UKe4A-002V6N-CM; Tue, 26 Mar 2013 19:18:10 -0500 Original-Newsgroups: gnu.emacs.gnus 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.130006 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:ZQ53PQSQHSHboyxY+NEY6/evEhg= Posted-To: gnu.emacs.gnus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] X-Received-From: 216.246.13.138 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16165 Archived-At: Felix Natter wrote: > Katsumi Yamaoka writes: [...] >> I found some other problems on expiring sent drafts to a group. >> The principal one is that a draft is not like a normal article: >> >> ・There is a separator between the header and the body. >> - You can't read its body in an expiry group. >> - Xref herder, etc. are put at the end of the body. >> ・Non-ASCII text has not been encoded properly. >> ・Attachments do not necessarily exist when re-using it. > So the problem is that when I send a draft, its content is subject > to expiry, and this does not work because a draft is not like > a normal article (and with the "G c" below we tell Gnus to delete > and not expire sent drafts)? Maybe that a draft is not a normal article is not a direct cause of your problem. Though I haven't yet investigated why sometimes it fails with the message "Selecting deleted buffer". >> It will cost to improve it. > What do you mean by "costs to improve it"? Sorry for my funny English. I meant that it will take time (IOW, cost me time ;-) to improve the Lisp code so as to transform a draft message, that is copied or moved to a normal group, to a normal article. [...] > Yes, I am doing that: > (setq nnmail-expiry-target "nnml:expired") [...] >> how about setting a group parameter so that only sent drafts >> are deleted? [...] > If that works, then I think it's a good idea to mention this problem > in the Gnus documentation? I have another idea. That is to make the behavior of expiring of drafts be always `delete' no matter what nnmail-expiry-target is. It lets you and friends have no need to have such a special group parameter. Ones who want to have a local copy of a sent message can use Gcc, that saves it as a normal article. WDYT?