From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: create a "send plain text/pdf email with current header" function? Date: Wed, 5 Aug 2015 14:34:16 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3f4926b7008051c8ec805 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMwxm-00078y-Qx for emacs-orgmode@gnu.org; Wed, 05 Aug 2015 07:34:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMwxf-00013v-BA for emacs-orgmode@gnu.org; Wed, 05 Aug 2015 07:34:26 -0400 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]:34981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMwxf-00012k-0e for emacs-orgmode@gnu.org; Wed, 05 Aug 2015 07:34:19 -0400 Received: by pdrg1 with SMTP id g1so17763432pdr.2 for ; Wed, 05 Aug 2015 04:34:17 -0700 (PDT) In-Reply-To: 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: John Kitchin Cc: "emacs-orgmode@gnu org" --001a11c3f4926b7008051c8ec805 Content-Type: text/plain; charset=UTF-8 thx both John and Matt I went on and used johns function he recommended (since i needed a simple text only export) and it works flawlessly :) John: just a quick follow up though with that function you kindly shred "email-heading " it opens up a buffer and you insert the email address. is it possible to have a function that sends to a prefixed email address (ie myself :)). also can the function then just do it in the background without even opening the buffer? since i want to send it to a prefixed email i dont really need to see it and press C-c C-c. This isnt really important so if its complicated please feel free to ignore ;-) best Z On Sat, Aug 1, 2015 at 6:24 PM, John Kitchin wrote: > You probably could use the function here > https://github.com/jkitchin/jmax/blob/master/email.el#L51 for the email > part after you find the heading you want to send. I think there is some > code there to send a pdf too. > > > On August 1, 2015, at 10:49 AM, Xebar Saram wrote: > > > Hi all > i find that i keep copy pasting food recipes (which i collect with org > obviously) to my email client and then sending it over to the phone to use > in the kitchen (which reminds Me really should get a emacs touch screen for > the kitchen..though my wife would get a stroke if she sees that > ;-))..anyway, anyone knows how one (with almost none to zero elisp skills) > create such a function? > > all i need is locate the recipe (header) and then send the header and sub > headers as text or pdf to my email > > best! > > Z > > --001a11c3f4926b7008051c8ec805 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thx both John and Matt

I went on and us= ed johns function he recommended (since i needed a simple text only export)= and it works flawlessly :)

John: just a quick fol= low up though

with that function you kindly shred= =C2=A0"email-heading " it opens up a buffer and you insert the em= ail address. is it possible to have a function that sends to a prefixed ema= il address (ie myself :)). also can the function then just do it in the bac= kground without even opening the buffer? since i want to send it to a prefi= xed email i dont really need to see it and press C-c C-c.

This isnt really important so if its complicated please feel free t= o ignore ;-)

best

Z


On Sat, Aug 1, 2015 at 6:24 PM, John Kitchin <= johnrkitchin@gm= ail.com> wrote:

You probably could use the function here https://github.com/jkitchin/jmax/blob/master/email.el#L51 for th= e email part after you find the heading you want to send. I think there is = some code there to send a pdf too.



On August 1, 2015, at 10:49 AM, Xebar Saram <zeltakc@gmail.com> wrote:

Hi all
i find that i keep copy pasting food recipes =C2=A0(which = i collect with org obviously) to my email client and then sending it over t= o the phone to use in the kitchen (which reminds Me really should get a ema= cs touch screen for the kitchen..though my wife would get a stroke if she s= ees that ;-))..anyway, anyone knows how one (with almost none to zero elisp= skills) create such a function?

all i need is loc= ate the recipe (header) and then send the header and sub headers as text or= pdf to my email

best!

Z<= /div>


--001a11c3f4926b7008051c8ec805--