emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] outorg edition of mails and drafts


From: Thorsten Jolitz
Subject: Re: [O] outorg edition of mails and drafts
Date: Mon, 21 Jul 2014 11:32:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Alan Schmitt <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]