[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] email ui choices?
From: |
Juergen Christoffel |
Subject: |
Re: [O] email ui choices? |
Date: |
Wed, 15 Jul 2015 00:29:54 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Tue, Jul 14, 2015 at 07:10:20AM -0400, Matt Price wrote:
[...]
(defun mime-send-mail ()
"org-mime-subtree and HTMLize"
(interactive)
(org-mark-subtree)
;; wish I could get the PARENT headline here!
;; then figure out how to set subject to that headline!
Matt,
you can get to the PARENT headline like this:
(defun org-inspect ()
(interactive)
(org-mark-subtree)
(save-excursion
(re-search-backward "^\\* ")
(message (nth 4 (org-heading-components)))
(sit-for 2)))
and still have your marked subtree afterwards. Inserting these as headers
should be possible:
- set up a buffer with your subtree
- go to the beginning of the buffer
- add To: <your target address>
- add Subject: <the heading component>
- add empty line
Call (mail-send-and-exit) to send the message. Tested in Aquamacs under
OSX with its defaults, this brought up a Thunderbird [*] window with the To
and Subject filled in from the buffer.
Selecting another MUA via Emacs' variables might work the same.
--jc
[*] Yes, while I use mutt, Thunderbird is, for organizational reasons, my
unbeloved default mailer on this machine.
--
A great many of today's security technologies are "secure" only because
no-one has ever bothered attacking them. -- Peter Gutmann
- [O] email ui choices?, Matt Price, 2015/07/13
- Re: [O] email ui choices?, Rasmus, 2015/07/14
- Re: [O] email ui choices?, Eric Abrahamsen, 2015/07/14
- Re: [O] email ui choices?, Rasmus, 2015/07/14
- Re: [O] email ui choices?, Jorge A. Alfaro-Murillo, 2015/07/14
- Re: [O] email ui choices?, Eric Abrahamsen, 2015/07/14
- Re: [O] email ui choices?, Rasmus, 2015/07/15
- Re: [O] email ui choices?, Eric Abrahamsen, 2015/07/15
- Re: [O] email ui choices?, Rasmus, 2015/07/15
- Re: [O] email ui choices?, Eric Abrahamsen, 2015/07/15