From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Multipart/Alternative reply to email? Date: Fri, 25 Mar 2016 12:37:47 +0100 Message-ID: <87y49623g4.fsf@gmail.com> References: <6sw6c7y498q8zy.fsf@BO-C02PWE1MG8WN.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajQ41-0003IF-Qm for emacs-orgmode@gnu.org; Fri, 25 Mar 2016 07:38:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajQ3v-0007MR-Hh for emacs-orgmode@gnu.org; Fri, 25 Mar 2016 07:38:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:55491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajQ3v-0007MN-Al for emacs-orgmode@gnu.org; Fri, 25 Mar 2016 07:37:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ajQ3t-0006Bf-G5 for emacs-orgmode@gnu.org; Fri, 25 Mar 2016 12:37:53 +0100 Received: from f051191162.adsl.alicedsl.de ([78.51.191.162]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Mar 2016 12:37:53 +0100 Received: from tjolitz by f051191162.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Mar 2016 12:37:53 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Peter Davis writes: > I realize this would require somehow converting the original message > to org-mode markup, and that seems very tricky. I just wondered > if anyone had taken a stab at building something like this. outorg.el works with message-mode too, so I currently write this message in Org-mode. Not related to org-mime in anyway, maybe not even to your intention, but nevertheless helpful perhaps. Just install outshine and outorg via package manager and follow the instructions for your .emacs file, and don't forget to put #+BEGIN_SRC emacs-lisp (add-hook 'message-mode-hook 'outline-minor-mode) #+END_SRC then this lets you edit your message-mode buffer in org-mode: ,----[ C-h f outorg-edit-as-org RET ] | outorg-edit-as-org is an interactive Lisp function in `outorg.el'. | | It is bound to M-# #, . | | (outorg-edit-as-org &optional ARG) | | Convert and copy to temporary Org buffer | | With ARG, act conditional on the raw value of ARG: | | | prefix | raw | action 1 | action 2 | | |--------+-----+-------------------+--------------------------------| | | C-u | (4) | edit-whole-buffer | --- | | | C-1 | 1 | edit-whole-buffer | insert default export-template | | | C-2 | 2 | edit-whole-buffer | prompt user for template-file | | | C-3 | 3 | edit-whole-buffer | insert & keep default template | | | C-4 | 4 | edit-whole-buffer | insert & keep template-file | | | C-5 | 5 | propagate changes | --- | `---- and this lets you return from org-mode to message-mode (bound to M-#): ,----[ C-h f outorg-copy-edits-and-exit RET ] | outorg-copy-edits-and-exit is an interactive Lisp function in | `outorg.el'. | | (outorg-copy-edits-and-exit) | | Replace code-buffer content with (converted) edit-buffer content and | kill edit-buffer `---- -- cheers, Thorsten