[Top][All Lists]

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

Re: [O] Mail composed using emacs --- saving a copy in an org file.

From: Peter Salazar
Subject: Re: [O] Mail composed using emacs --- saving a copy in an org file.
Date: Thu, 15 Mar 2012 13:48:30 -0400

I thought of this too. But the problem is that when opening an indirect buffer under an org tree entry, or even opening a capture buffer, the org star heading appears at the top of the buffer. Whereas to send e-mail, at least using the mail-send command I've been using, the e-mail header (recipient, subject header, etc) needs to be at the very top of the buffer. 

You could always enter the e-mail headers, send the e-mail, then delete them again. But there must be a better solution.

On Thu, Mar 15, 2012 at 1:34 PM, Jos'h Fuller <Jos'address@hidden> wrote:

You could try doing something with org-capture and the org-capture-templates so that you would be creating your email from the start as an org tree entry under the appropriate location. You can override the org-capture-before-finalize hook (see org-capture.el) to send the mail when you're done typing in the indirect buffer and hit C-c C-c (or org-capture-finalize).

I have org-capture set up so I can use it immediately from anywhere in Emacs with the C-cc keys:

  (define-key global-map "\C-cc" 'org-capture)

That combined with a suitable template and the hook override might give you what you're looking for.

Hope this helps!

Jos'h Fuller, Production Programmer
p: 416.682.5200 x5395 | f: 416.682.5209 | Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4 | www.arcproductions.com

> -----Original Message-----
> From: emacs-orgmode-bounces+jos'h.fuller=address@hidden
> [mailto:emacs-orgmode-bounces+jos'h.fuller=address@hidden]
> On Behalf Of Alan E. Davis
> Sent: Thursday, March 15, 2012 1:24 PM
> To: org-mode
> Subject: [O] Mail composed using emacs --- saving a copy in an org
> file.
> I am partial to just opening a mail buffer and writing email in Emacs.
> Just that.  However, it would be great to save a copy in an org file.
> An emacs FAQ suggests sending a BCC or FCC to oneself.  What I want is
> a copy stored in an org-mode subtree, with a convenient headline
> indicating the name of the recipient and the date.
> So far, I haven't gotten my head around the idea of using BABEL, and I
> still like text for email.     My experiments with GNUS have not been
> very successful.  So far.
> I apologize for the naive level of this and some of my other questions.
> Though I may not be getting the maximum usefulness of all of org-mode's
> features, those features I do use are awesome.   Thank you.
> Alan Davis

reply via email to

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