emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: Jos'h Fuller <Jos'h.Fuller@arcproductions.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Mail composed using emacs --- saving a copy in an org file.
Date: Thu, 15 Mar 2012 13:48:30 -0400	[thread overview]
Message-ID: <CAE+_6TxjoOw8jA-hL-wLXuDvKBTzsPskXTzJzqHFRDQGFyeXdA@mail.gmail.com> (raw)
In-Reply-To: <44B0EAE8544C834188E8790873CDE1CC3EAF76@ARCEXCHANGE.arc.local>

[-- Attachment #1: Type: text/plain, Size: 2571 bytes --]

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'h.Fuller@arcproductions.com> wrote:

> Hi!
>
>
> 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=arcproductions.com@gnu.org
> > [mailto:emacs-orgmode-bounces+jos'h.fuller=arcproductions.com@gnu.org]
> > 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
>
>
>

[-- Attachment #2: Type: text/html, Size: 3496 bytes --]

  reply	other threads:[~2012-03-15 17:49 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05  6:28 Questions about org-capture templates and usage Alan
2010-12-05 11:58 ` Matt Lundin
2010-12-06  3:59   ` Bernt Hansen
2010-12-06  5:02     ` Alan E. Davis
2010-12-06  8:20       ` Carsten Dominik
2010-12-06 14:27         ` Carsten Dominik
2010-12-06  8:33       ` Carsten Dominik
2010-12-06 14:10       ` Bernt Hansen
2010-12-06 14:48       ` Nick Dokos
2010-12-06 16:48         ` Nathan Neff
2010-12-06 17:53         ` Carsten Dominik
     [not found]           ` <9588.1291658230@gamaville.americas.hpqcorp.net>
2010-12-06 18:08             ` Carsten Dominik
2010-12-07  3:14           ` Štěpán Němec
2010-12-07 19:33         ` Nick Dokos
2010-12-06 21:35       ` Alan Davis
     [not found]     ` <lngndvs@gmail.com>
2010-08-30  3:31       ` LaTeX export: Skip headline lines? "Paragraph" sectioning? Alan E. Davis
2010-08-30  4:06         ` Nick Dokos
2010-08-30  5:14           ` Scot Becker
2010-08-30  5:46             ` Nick Dokos
2010-08-30  6:54               ` Thomas S. Dye
2010-08-30 14:22                 ` Scot Becker
2010-08-30 16:20                   ` Thomas S. Dye
2010-08-30 22:05                     ` Scot Becker
2010-08-31  0:04                       ` Alan E. Davis
2010-08-30 16:40                   ` Alan E. Davis
2010-08-30 17:04                     ` Nick Dokos
2010-08-31  1:09             ` Alan E. Davis
2010-08-31  1:43               ` Alan E. Davis
2010-08-31  1:59                 ` Thomas S. Dye
2010-08-31  2:01                 ` Nick Dokos
2012-03-15 17:24       ` Mail composed using emacs --- saving a copy in an org file Alan E. Davis
2012-03-15 17:34         ` Jos'h Fuller
2012-03-15 17:48           ` Peter Salazar [this message]
2012-03-15 17:55         ` brian powell
2012-03-15 18:05           ` brian powell
2012-03-15 19:19         ` Nick Dokos
2012-03-15 19:48           ` brian powell
2012-03-16  9:32         ` Karl Voit
2012-03-16 13:46           ` brian powell
2012-03-16 16:07             ` Memacs and Gnowsis (was: Mail composed using emacs --- saving a copy in an org file.) Karl Voit
2010-12-05 21:44 ` Questions about org-capture templates and usage Charles Cave

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAE+_6TxjoOw8jA-hL-wLXuDvKBTzsPskXTzJzqHFRDQGFyeXdA@mail.gmail.com \
    --to=cycleofsong@gmail.com \
    --cc=Jos'h.Fuller@arcproductions.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 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).