* outorg edition of mails and drafts
@ 2014-07-21 7:39 Alan Schmitt
2014-07-21 9:32 ` Thorsten Jolitz
0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2014-07-21 7:39 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
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?
Thanks,
Alan
PS: if this is not the appropriate place to ask questions about outorg,
please let me know
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: outorg edition of mails and drafts
2014-07-21 7:39 outorg edition of mails and drafts Alan Schmitt
@ 2014-07-21 9:32 ` Thorsten Jolitz
2014-07-22 10:01 ` Alan Schmitt
0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Jolitz @ 2014-07-21 9:32 UTC (permalink / raw)
To: emacs-orgmode
Alan Schmitt <alan.schmitt@polytechnique.org> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-22 10:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-21 7:39 outorg edition of mails and drafts Alan Schmitt
2014-07-21 9:32 ` Thorsten Jolitz
2014-07-22 10:01 ` Alan Schmitt
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).