emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <maus.david@gmail.com>
To: lukasz.stelmach@iem.pw.edu.pl
Cc: emacs-orgmode@gnu.org
Subject: Re: Sending org-mode nodes
Date: Thu, 19 Nov 2009 09:43:29 +0100	[thread overview]
Message-ID: <873a4a29ce.wl%maus.david@gmail.com> (raw)
In-Reply-To: <87aayjaih8.fsf@dasa3.iem.pw.edu.pl>

Hi Lukasz,

At Wed, 18 Nov 2009 17:46:43 +0100,
lukasz.stelmach@iem.pw.edu.pl wrote:
> I've just made a note which I would like to send (with its attachment)
> via email. Is it possible? I mean, I would like to select a node (C-c @)
> and then few keystrokes more and have the letter sent or at least opened
> in a mail composing window with the subject set to the title of the
> note, attachments attached and waiting for me to choose an addressee.

It *should* be possible but as far as I am aware of there's currently
no implementation for this. As Orgmode does not depend on any
particular email program this would require a particular function for
every supported mail program. I.e. a function that executes the right
things to let the mail program compose a new mail.

Hum. As I tend to write important mails first below a corresponding
todo headline, than copy'n'paste it such functionality could be
useful.

I suppose the first thing to do is brewing a function that scrapes all
relevant information (i.e.: subject, content, attachments) and returns
a property list that can be used by mua specific functions to call the
mua and instruct it to create the mail.

What about:

  - Subject: current entries headline without todo keyword and tags

  - Body: the entries content up to the next headline w/o drawers and
    schedule/deadline

  - Attachments: full path to the entry's attachments


Regards,
  -- David

-- 
OpenPGP... 0x316F4BE4670716FD
Jabber.... dmjena@jabber.org
Email..... maus.david@gmail.com
ICQ....... 241051416

  reply	other threads:[~2009-11-19  8:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-18 16:46 Sending org-mode nodes lukasz.stelmach
2009-11-19  8:43 ` David Maus [this message]
2009-11-19 10:20   ` lukasz.stelmach
2009-11-19 11:12     ` Sebastian Rose
2009-11-19 13:56       ` lukasz.stelmach
2009-11-19 14:51         ` Sebastian Rose
2009-11-19 15:54           ` Bernt Hansen
2009-11-19 16:50             ` Łukasz Stelmach
2009-11-19 17:03           ` Łukasz Stelmach
2009-11-19 18:22             ` Sebastian Rose
2009-11-20 13:35               ` Łukasz Stelmach
2009-11-20 22:38                 ` Sebastian Rose
2009-11-19 15:23         ` Eric Schulte
2009-11-19 17:26 ` Eric Schulte

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=873a4a29ce.wl%maus.david@gmail.com \
    --to=maus.david@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lukasz.stelmach@iem.pw.edu.pl \
    /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).