From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: Email from org? Date: Tue, 10 Aug 2010 23:03:55 +0200 Message-ID: <87bp9aw56s.wl%dmaus@ictsoc.de> References: <8739v6dlss.fsf@gmail.com> <87aap84qf6.fsf@gmail.com> <87k4ny321x.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0014551374==" Return-path: Received: from [140.186.70.92] (port=54677 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oivzg-0000JO-QO for emacs-orgmode@gnu.org; Tue, 10 Aug 2010 17:04:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oivzf-0006Jp-FC for emacs-orgmode@gnu.org; Tue, 10 Aug 2010 17:04:20 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:42854) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oivzf-0006Jj-5a for emacs-orgmode@gnu.org; Tue, 10 Aug 2010 17:04:19 -0400 In-Reply-To: <87k4ny321x.fsf@gmail.com> 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: Eric Schulte Cc: Ethan Ligon , emacs-orgmode@gnu.org --===============0014551374== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Aug_10_23:03:55_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Tue_Aug_10_23:03:55_2010-1 Content-Type: text/plain; charset=US-ASCII Eric Schulte wrote: >Hi Ethan, >Ethan Ligon writes: >> Eric Schulte gmail.com> writes: >>> The following function might get part way towards what you describe. >>> >>> --8<---------------cut here---------------start------------->8--- >>> (defun org-send-email-of-headline () >>> (interactive) >>> (let ((subject (org-get-heading t)) >>> (to (org-entry-get (point) "mailto"))) >>> (outline-mark-subtree) >>> (org-mime-org-buffer-htmlize) >>> (save-excursion >>> (message-goto-to) (insert to) >>> (message-goto-subject) (insert subject)))) >>> --8<---------------cut here---------------end--------------->8--- >>> >> >> Indeed! This gets me very close to what I had in mind. Aside from >> saying thanks, I have two related things to say: >> >> 1) The code snippet above (really org-mime-org-buffer-htmlize) >> produces output which is either designed to be further processed by >> the mml library (mml-generate-mime) for gnus users or by the semi >> library for wanderlust users. Thus, the buffer resulting from the >> above code-snippet is still one step away from being something one >> could feed to smtpmail, and makes the output one needs to get from >> org-mime dependent on an MUA (gnus or wanderlust). >> >I personally like this final step of review before sending an email. >As for requiring that the user has an mailer with which to send the >email, it would be possible to change `org-mime-org-buffer-htmlize' to >use `reporter-submit-bug-report' to send the email directly instead of >using `reporter-compose-outgoing' which only prepares the email buffer. >I'm not sure of how to do this while still allowing the existing >behavior for those who do use Emacs for email. Also, I find the idea of >having a key command send an email from an Org-mode buffer without any >form of confirmation terrifying. :) I see two problems here: First, adding attachments and/or using digital encryption and signing. Second, Messages you've sent this way are not in your trusted messaging system. >> >> 2) I don't see the reason for this dependence. Forget what mail >> client the user prefers, whether gnus or wanderlust or something else. See above. For me, WL is the tool to handle internet messages. Org is from this perspective a layer of abstraction: Org is my personal realm, internet messages is the connection between me and the outside world netwise. Things that come to me are filted in WL, maybe go to Org -- and things that are in Org are filtered by Org and might go outside. It's a important border and thus I strive to improve the workflow between these two realms. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Tue_Aug_10_23:03:55_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkxhvrsACgkQma24O1pEeOb/ogEAmFKkGdkzveAEEqbMDBkwxjKj ST/K8x8xJgd0eKQ2xSIA/2OUpMhq01hieEwgBOX5bjuG9OrrPlKVDzgk+zqFcY/K =iftQ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Aug_10_23:03:55_2010-1-- --===============0014551374== 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 --===============0014551374==--