From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: outorg edition of mails and drafts Date: Mon, 21 Jul 2014 11:32:24 +0200 Message-ID: <87oawjnjkn.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X99xf-0006u8-UG for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 05:32:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X99xZ-0003sr-2v for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 05:32:47 -0400 Received: from plane.gmane.org ([80.91.229.3]:49874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X99xY-0003sd-St for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 05:32:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X99xV-0000Tg-LK for emacs-orgmode@gnu.org; Mon, 21 Jul 2014 11:32:37 +0200 Received: from g231109248.adsl.alicedsl.de ([92.231.109.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 11:32:37 +0200 Received: from tjolitz by g231109248.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jul 2014 11:32:37 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Alan Schmitt writes: Hello, > When I edit a mail using outorg, it leaves behind a mail in my draft > folder (from "nobody" with subject "(none)" and with the text the > contents of the org buffer, including the "* --text follows this > line--" heading). Is there a way to avoid having this draft left behind? This happens to me too, but it is a gnus/message-mode thing, outorg itself does nothing to create this drafts. It has its own backup system, you can use C-x C-s in the *outorg-edit-buffer* to save it explicitly (to a file in an automatically created directory like e.g. '/tmp/outorg-295tTO'), and via kill-buffer-hook it is saved anyway at exit, even if killed accidentally, so you never loose the edited content in the *outorg-edit-buffer*: ,----[ C-h v kill-buffer-hook RET ] | kill-buffer-hook is a variable defined in `files.el'. Its value is | (outorg-reset-global-vars outorg-save-edits-to-tmp-file | org-check-running-clock browse-url-delete-temp-file | recentf-track-closed-file tramp-delete-temp-file-function | reftex-kill-buffer-hook vc-kill-buffer-hook) | | Documentation: | Hook run when a buffer is killed. | The buffer being killed is current while the hook is running. | See `kill-buffer'. `---- These message-drafts are really redundant and a bit annoying, but I have no idea about the inner workings of gnus and doing ,---- | C-h f gnus-draft- TAB | C-h v gnus-draft- TAB `---- did not enlighten me any further. So I will ask on the gnus mailing list right now and report any helpful answers here. > PS: if this is not the appropriate place to ask questions about outorg, > please let me know if nobody else complains, it looks like the appropriate place to me. Maybe start the subject with ,---- | Subject: [outorg] edition of mails and drafts `---- so I don't miss it. Another option would be to start an issue on github, but the Org mailing list is much more convenient for me. -- cheers, Thorsten