emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Ethan Ligon <ligon@are.berkeley.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Email from org?
Date: Thu, 29 Jul 2010 09:08:47 +0200	[thread overview]
Message-ID: <8739v2g3y8.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <loom.20100729T003507-420@post.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 3397 bytes --]

Ethan Ligon wrote:
>Eric Schulte <schulte.eric <at> gmail.com> writes:
>>
>> See http://orgmode.org/worg/org-contrib/org-mime.php for information on
>> exporting Org-mode documents to email, and on using Org-mode syntax to
>> compose email.
>>
>Thanks for the suggestions regarding org-mime.  I can see that it
>would be very useful for composing complicated email.  But I have what
>I think is actually a much simpler problem: *sending* email from an
>org-file.

>I have in mind something like:

FIY: There was a longer debate about such a feature back in 2009.

http://thread.gmane.org/gmane.emacs.orgmode/19705/focus=19778

>#+TYP_TODO: EMAIL SENT WAITING | DONE

>* Broadcasting project
>** EMAIL What is the optimal frequency?
>   :PROPERTIES:
>   :To:       kenneth@example.com
>   :END:
>   Dear Ken-

>   Could you please let me know when you've made progress on computing
>   the optimal frequency?

>   Thanks,
>   -Ethan

>Then a transition in workflow state from EMAIL to WAITING would cause
>(perhaps via org-mime) the construction of an email

>  From: ligon@are.berkeley.edu
>  To: kenneth@example.com
>  Subject: What is the optimal frequency?
>  Date: Wed, 28 Jul 2010 13:36:14 -0700

>  Dear Ken-

>  Could you please let me know when you've made progress on computing
>  the optimal frequency?

>  Thanks,
>  -Ethan

>which would then be automagically fed into an SMTP client for
>delivery.

IMO this would be overkill: Even if the SMTP dialog is done be an
external library, preparing a message for transmission through email
subsystem has a lot of bells and whistles and pits you can fall
into.

>Critically, one would *not* need to interrupt one's work >flow in
>order to go mess around with a mail client; a simple \C-c\C-t >or
>similar would send the email on its way.

No threading in Emacs, so you would have to wait for the sending
process or figure out a reliable way for asynchronous sending.

>Or very possibly there's an obvious way to accomplish a similar end
>that hasn't occurred to me.  Maybe the act of composing an email in a
>mail buffer could also format and re-file the message in an org-file,
>leading to a workflow similar to what one gets with org-capture?

I think this is the path to follow.  The question is what we would
like to achieve.  If it is keeping track of sent and received
messages, than maybe we wouldn't need a copy of the message but just
references (i.e. links).[1]

Say: You compose and send a message and create an Org mode entry that
says so (Message with subject sent to recipients on).  If you receive
an answer you store a entry saying this (Reply to message X received
from Y on Z).

For this we need a way to maintain the relationship between Org mode
entries and messages so we can jump to messages from within Org and
jump to Org from within the MUA.

I've started to implement something like this for Org's issue tracking
library[2].

The tricky part is that such a mechanism depends on the MUAs
capabilities to interact with Emacs (e.g. WL, Gnus and VM are fine;
mutt might be hacked; Thunderbird? AppleMail?).

HTH,
  -- David

[1] Well, and if we have a reference we could dereference it; say:
Fetch a message and store it as attachment.  This might be as well
helpful for archiving.

[2] http://orgmode.org/worg/org-devel.php#sec-4
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-07-29  7:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 19:13 Email from org? Ethan Ligon
2010-07-26 19:29 ` Thomas S. Dye
2010-07-26 20:14 ` BKnoth
2010-07-26 20:34 ` Eric Schulte
2010-07-28 23:29   ` Ethan Ligon
2010-07-29  7:08     ` David Maus [this message]
2010-07-30 21:21     ` Eric Schulte
2010-07-31  1:25       ` Ethan Ligon
2010-08-10 15:44         ` Eric Schulte
2010-08-10 21:03           ` David Maus
2010-08-13  9:09       ` Eric S Fraga

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=8739v2g3y8.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=ligon@are.berkeley.edu \
    /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).