From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: how do you compose mails in Gnus with org-mode Date: Sat, 03 Mar 2018 12:57:17 +0100 Message-ID: <878tb9bcde.fsf@gmail.com> References: <87inafvrwi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1es5nK-0005pA-63 for emacs-orgmode@gnu.org; Sat, 03 Mar 2018 06:57:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1es5nH-0006eh-2p for emacs-orgmode@gnu.org; Sat, 03 Mar 2018 06:57:42 -0500 Received: from [195.159.176.226] (port=42704 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1es5nG-0006eR-R1 for emacs-orgmode@gnu.org; Sat, 03 Mar 2018 06:57:39 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1es5lB-0000PT-I0 for emacs-orgmode@gnu.org; Sat, 03 Mar 2018 12:55:29 +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" To: emacs-orgmode@gnu.org Joseph Vidal-Rosset writes: Hallo > I know that the subject of my email exists already. > [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]] This works perfectly for your subject: ,----[ 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 | --- | | | [back] `---- It has already been described several time how to configure outshine/outorg that it works with message-mode too. Its actually quite easy. Configure outshine like described in the README, and add outline-minor-mode to message-mode-hook in your .emacs. ,---- | (add-hook 'emacs-lisp-mode-hook 'outline-minor-mode) | (add-hook 'message-mode-hook 'outline-minor-mode)) `---- Then with M-# # your email (open in message-mode, gnus) will be opened in an org-mode buffer for editing in org-mode. Looks very similar to opening a source-block in org-mode to edit the sources in the programming language mode. ,---- | [ *unsent followup to Joseph Vidal-Rosset on gmane.emacs.orgmode* ] | Exit with M-# (Meta-Key and #) | * --text follows this line-- | Joseph Vidal-Rosset writes: | | Hallo | | > I know that the subject of my email exists already. | > https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html | | This works perfectly for your subject: [...] `---- and tells you how to exit again: M-# -- cheers, Thorsten