From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: Email from org? Date: Thu, 29 Jul 2010 09:08:47 +0200 Message-ID: <8739v2g3y8.wl%dmaus@ictsoc.de> References: <8739v6dlss.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1119571875==" Return-path: Received: from [140.186.70.92] (port=47418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeNEh-00073X-Sv for emacs-orgmode@gnu.org; Thu, 29 Jul 2010 03:09:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeNEe-0006eR-D4 for emacs-orgmode@gnu.org; Thu, 29 Jul 2010 03:08:59 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:44048) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeNEe-0006e0-4H for emacs-orgmode@gnu.org; Thu, 29 Jul 2010 03:08:56 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ethan Ligon Cc: emacs-orgmode@gnu.org --===============1119571875== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Jul_29_09:08:46_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Thu_Jul_29_09:08:46_2010-1 Content-Type: text/plain; charset=US-ASCII Ethan Ligon wrote: >Eric Schulte 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 --pgp-sign-Multipart_Thu_Jul_29_09:08:46_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkxRKP4ACgkQma24O1pEeOa8YwEA4UeyN5j+vgyrLAqYoBOMtxzH 8hkkyCKFXQ1hQ6yjeXsBAL9U6RTfRS4mIyiMJrky0WxDzranapw3TODTYsTbheFy =WKFn -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Jul_29_09:08:46_2010-1-- --===============1119571875== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1119571875==--