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: Thu, 08 Mar 2018 17:58:36 +0100 Message-ID: <87a7vibj2b.fsf@gmail.com> References: <87inafvrwi.fsf@gmail.com> <878tb9bcde.fsf@gmail.com> <87r2oxpl6y.fsf@mat.ucm.es> <87po4hrrj9.fsf@gmail.com> <87lgf581vu.fsf@mat.ucm.es> <87a7vlro6f.fsf@gmail.com> <87zi3kqkbp.fsf@mat.ucm.es> <87bmfzok25.fsf@gmail.com> <87a7vjuf19.fsf@mat.ucm.es> 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]:48207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etysV-0003Rr-5M for emacs-orgmode@gnu.org; Thu, 08 Mar 2018 11:58:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etysR-0001Tc-Ac for emacs-orgmode@gnu.org; Thu, 08 Mar 2018 11:58:51 -0500 Received: from [195.159.176.226] (port=41843 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etysR-0001Sx-2k for emacs-orgmode@gnu.org; Thu, 08 Mar 2018 11:58:47 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1etyqL-0006am-DO for emacs-orgmode@gnu.org; Thu, 08 Mar 2018 17:56:37 +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 Uwe Brauer writes: >>>> "Thorsten" == Thorsten Jolitz writes: > > > A good start would be to try outshine with emacs-lisp mode. > > With your outshine config done, write a file like foo.el > > > ,---- > > | ;;; 1st level header > > | ;;;; Sum > > | (+ 1 1) > > | ;;;; Subtract > > | (- 2 1) > > `---- > > > or > > > ,---- > > | ;; * 1st level header > > | ;; ** Sum > > | (+ 1 1) > > | ;; ** Subtract > > | (- 2 1) > > `---- > > > and see if you got headline fontification and all the outshine > > functionality. > > That seems to work, I opened your outorg buffer and there everything > worked as expected. > > > > If that works, its a message-mode problem. > > If not, a genereal problem with your config. When I do M-# # writing this mail I see: ,---- | [ *unsent followup to Uwe Brauer on gmane.emacs.orgmode* ] Exit with M-# | (Meta-Key and #) | * --text follows this line-- | Uwe Brauer writes: ...[] `---- I suggest edebug then, as written, this must run successfully: ,----[ C-h f outorg-prepare-message-mode-buffer-for-editing RET ] | outorg-prepare-message-mode-buffer-for-editing is a Lisp function in | ‘outorg.el’. | | (outorg-prepare-message-mode-buffer-for-editing) | | Prepare an unsent-mail in a message-mode buffer for outorg. | | This function assumes that ’--text follows this line--’ (or | whatever is found inside variable ‘mail-header-separator’) is the | first line below the message header, is always present, and never | modified by the user. It turns this line into an ‘outshine’ | headline and out-comments all text below this line - if any. `---- > >> [...] > >> BTW, you recommended > >> (require 'outorg-export) > >> > >> I installed your package via the package system, so I don't see that > >> file. Where can I obtain it from? > > > It's an extension to outorg: > > Where can I find it, only in that site? It seems not to be in elpa/melpa > and marmelade. Only available via github I think .... -- cheers, Thorsten