From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Mail composed using emacs --- saving a copy in an org file. Date: Thu, 15 Mar 2012 15:19:48 -0400 Message-ID: <29769.1331839188@alphaville> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8GDK-0004ng-RQ for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 15:20:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8GDJ-0003l8-06 for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 15:19:54 -0400 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:30619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8GDI-0003kz-R2 for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 15:19:52 -0400 In-Reply-To: Message from "Alan E. Davis" of "Thu\, 15 Mar 2012 10\:24\:22 PDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Alan E. Davis" Cc: nicholas.dokos@hp.com, org-mode Alan E. Davis wrote: > I am partial to just opening a mail buffer and writing email in > Emacs.=C2=A0 Just that.=C2=A0 However, it would be great to save a copy i= n an > org file. >=20 Are you using an emacs package to send email? Or are you just composing your email in emacs, saving it as a file and sending it with some external MUA? If the former, you can probably find a hook that the emacs package uses (e.g. for mh-e, the appropriate hook would probably be mh-before-send-letter-hook), so that you can save the email in a file, possibly after transforming it suitably. In some sense this is similar, but in another sense opposite, to Jos'h Fuller's suggestion: in his scenario, you use org-capture to compose the message and use an org-capture hook to transform it suitably and actually send it; in this scenario, you compose the mail in some mail package (there are several) and you use a hook that the mail package provides to transform it suitably and save it in some org file. OTOH, if you use an external MUA, Jos'h 's approach might still work whereas this one has no hope. But if you can live in emacs, why live anywhere else? :-) Nick > An emacs FAQ suggests sending a BCC or FCC to oneself.=C2=A0 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. >=20 > So far, I haven't gotten my head around the idea of using BABEL, and I st= ill like text for email.=C2=A0=C2=A0 > =C2=A0 My experiments with GNUS have not been very successful.=C2=A0 So f= ar. >=20 > I apologize for the naive level of this and some of my other questions.= =C2=A0 Though I may not be getting > the maximum usefulness of all of org-mode's features, those features I do= use are awesome.=C2=A0=C2=A0 Thank > you. >=20