From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: outorg edition of mails and drafts
Date: Mon, 21 Jul 2014 11:32:24 +0200 [thread overview]
Message-ID: <87oawjnjkn.fsf@gmail.com> (raw)
In-Reply-To: m2k377i2jg.fsf@polytechnique.org
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
next prev parent reply other threads:[~2014-07-21 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-21 7:39 outorg edition of mails and drafts Alan Schmitt
2014-07-21 9:32 ` Thorsten Jolitz [this message]
2014-07-22 10:01 ` Alan Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oawjnjkn.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.