From: lukasz.stelmach@iem.pw.edu.pl
To: emacs-orgmode@gnu.org
Subject: Re: Sending org-mode nodes
Date: Thu, 19 Nov 2009 11:20:53 +0100 [thread overview]
Message-ID: <87hbsqu86y.fsf@dasa3.iem.pw.edu.pl> (raw)
In-Reply-To: 873a4a29ce.wl%maus.david@gmail.com
David Maus <maus.david@gmail.com> writes:
> 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.
I suppuse that by writing "program" you mean Emacs' compose-mail, gnus
etc. External handler of course, would be useful too.
> 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
OK, however, inclusion of todo and/or tags should be optional and
possible for those who would like to exchange those information with one
another. Converting those to iCal attachment is yet another issue.
> - Body: the entries content up to the next headline w/o drawers and
> schedule/deadline
Fine but the above note applies.
> - Attachments: full path to the entry's attachments
That's right and in case of compose-mail/gnus and whatever else a letter
with files attached should appear.
Later at home I thought about it some more:
- The To, Cc and Bcc headers read from :PROPERTIES: or collected
with minibuffer.
- Sent-To field in the PROPERTIES drawer filed after sending
mail. This might require collecting addresses from within org-mode
before invoking mail program (the above).
- Move the list from Sent-To to Old-Sent-To everytime the node or
its child or its attachment changes (this might be quite difficult
to implement but awesome to have)
- Custom mail headers to include in the PROPERTIES drawer. Something
like
:PROPERTIES:
:MailHeader-X-Face: l;aksjdf;ioavh9p8qrty9
:END
would result in X-Face: in the mail. X-Face, however, would
probably be configured with a mua but I am sure someone will find
it useful.
- Message-ID derived from node's ID. This would be quite useful for
associating replies with original notes/nodes.
These are of course my whishful thoughts, especially the one with
Old-Sent-To. I think, however, that org-mode with them implemented would
be even greater tool than it is today.
--
Miłego dnia,
Łukasz Stelmach
next prev parent reply other threads:[~2009-11-19 10:21 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
2009-11-19 10:20 ` lukasz.stelmach [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hbsqu86y.fsf@dasa3.iem.pw.edu.pl \
--to=lukasz.stelmach@iem.pw.edu.pl \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.