emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: brian powell <briangpowellms@gmail.com>
To: "Alan E. Davis" <lngndvs@gmail.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 14:05:04 -0400	[thread overview]
Message-ID: <CAFm0skH2soYYPMKtcKmnBPvH1+OGXwy0BJ95Dw3ZF6VA=hC9dw@mail.gmail.com> (raw)
In-Reply-To: <CAFm0skHvTCBM80qrYwquT=K5wOw0AaJ+S+-xoyJGPqquDLhnQg@mail.gmail.com>

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

* This would probably be a better "main hook" to use if you
elaborate/implement my suggestion:

vm-visit-folder-hook
List of hook functions called just after VM visits a folder. It doesn't
matter if the folder buffer already exists, this hook is run each time vm
or vm-visit-folder is called interactively. It is not run after vm-mode is
called.

** Then you change the mail folder into an OrgMode doc?

*** I vaguely remember this, may be wrong; but, I believe VM when saved as
folders, it is saved as simple text document you can then easily change
into .org docs using SED/AWK/PERL/PANDOC whatever.

On Thu, Mar 15, 2012 at 1:55 PM, brian powell <briangpowellms@gmail.com>wrote:

> * Josh's answer seems great.
>
> ** I used to use VM in EMACS, worked great, highly recommend it--you could
> then use EMACS hooks like:
>
> "vm-mail-hook
> List of hook functions to be run after a Mail mode composition buffer has
> been created to send a non specialized message, i.e. a message that is not
> a reply, forward, digest, etc. VM runs this hook and then runs
> vm-mail-mode-hook before leaving you in the Mail mode buffer.
>
> --and hook those hooks (the list of hooks is 20+ long) up to creating an
> OrgMode document---maybe somewhat in the way Josh suggested--e.g.:
>
> (add-hook 'vm-summary-update-hook 'org-capture)
>
>
> On Thu, Mar 15, 2012 at 1:24 PM, Alan E. Davis <lngndvs@gmail.com> wrote:
>
>> 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: 2961 bytes --]

  reply	other threads:[~2012-03-15 18:05 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
2012-03-15 17:55         ` brian powell
2012-03-15 18:05           ` brian powell [this message]
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='CAFm0skH2soYYPMKtcKmnBPvH1+OGXwy0BJ95Dw3ZF6VA=hC9dw@mail.gmail.com' \
    --to=briangpowellms@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lngndvs@gmail.com \
    --subject='Re: Mail composed using emacs --- saving a copy in an org file.' \
    /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

Code repositories for project(s) associated with this 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).