From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: how do you compose mails in Gnus with org-mode
Date: Tue, 06 Mar 2018 20:36:56 +0100 [thread overview]
Message-ID: <87a7vlro6f.fsf@gmail.com> (raw)
In-Reply-To: 87lgf581vu.fsf@mat.ucm.es
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Uwe Brauer <oub@mat.ucm.es> writes:
>>>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>>>
>>> > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> 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:
>>>
>>> I just realised that you are the author of that package. Sorry.
>>>
>>> I set
>>>
>>> (require 'outorg)
>>> (require 'outshine)
>>> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
>>>
>>> (add-hook 'message-mode-hook 'outline-minor-mode)
>
>> ok, maybe I answered the wrong message, does not look that incomplete
>> actually. Maybe try a copy of my config.
>
>> I used outorg-edit-as-org to insert and evaluate these source blocks
>> directly in this email, so for me it works:
> I still can't
>
>> #+BEGIN_SRC emacs-lisp
>> (emacs-version)
>> #+END_SRC
>
>
>> #+results:
>> : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
>> : of 2018-02-09
>
>
> GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d
> scroll bars)
> of 2018-01-25"
Wow, emacs 27 ... I'm on Archlinux and always thought packages a pretty
up-to-date.
Maybe outline has changed somehow between Emacs 25 and Emacs 27?
But I don't think so, the error you send is pretty typical for
incomplete configuration.
> Debugger entered--Lisp error: (error "Before first heading")
> signal(error ("Before first heading"))
> error("Before first heading")
> outline-back-to-heading()
is typical when
,----
| outorg-prepare-message-mode-buffer-for-editing ()
`----
has not run, it turns this line into a 1st level org headline thus
converting any kind of message body into an org file.
,----
| * --text follows this line--
| Uwe Brauer <oub@mat.ucm.es> writes:
`----
without this, the error is justified - an org file without a single
org headline is no org file at all.
You could try to write an email with these lines:
,----
| * 1st level
| ** 2nd level
| some text
`----
put point on some text an call outorg, to see if it works.
Another option would be to use edebug:
open outorg.el, put point into 'outorg-edit-as-org', and call M-x
edebug-defun. Then convert an email again, and go step-by-step with
SPACE key, and see how far you get.
When done, call 'load-library' on outorg.el to get rid of edebug
instrumentation.
>> #+BEGIN_SRC emacs-lisp
>> (org-version)
>> #+END_SRC
>
> Git master from June 2017 so relatively recent
>
>> #+results:
>> : 8.2.10
>
>> #+BEGIN_SRC emacs-lisp
>> (gnus-version)
>> #+END_SRC
>
>> #+results:
>> : Gnus v5.13
>
> The same here.
>
>>> But when I fire up outorg-edit-as-org in a reply message I obtain the
>>> error I described in my earlier message.
>>>
>>> Uwe Brauer
>
>
>
--
cheers,
Thorsten
next prev parent reply other threads:[~2018-03-06 19:37 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-01 13:37 how do you compose mails in Gnus with org-mode Joseph Vidal-Rosset
2018-03-01 14:10 ` Eric S Fraga
[not found] ` <87vaef97ze.fsf@gmail.com>
2018-03-01 14:40 ` Fwd: " Joseph Vidal-Rosset
2018-03-01 15:10 ` Eric S Fraga
2018-03-01 15:29 ` Joseph Vidal-Rosset
2018-03-01 16:59 ` Eric S Fraga
2018-03-01 18:04 ` Joseph Vidal-Rosset
2018-03-01 18:17 ` Brian Shine
2018-03-01 18:46 ` Joseph Vidal-Rosset
2018-03-01 19:01 ` Brian Shine
2018-03-02 7:27 ` Roland Everaert
2018-03-02 7:25 ` Eric S Fraga
2018-03-03 11:57 ` Thorsten Jolitz
2018-03-06 9:58 ` [Error] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
2018-03-06 18:12 ` [Error] Thorsten Jolitz
2018-03-06 10:12 ` how do you compose mails in Gnus with org-mode Uwe Brauer
2018-03-06 18:24 ` Thorsten Jolitz
2018-03-06 18:38 ` Thorsten Jolitz
2018-03-06 19:02 ` Uwe Brauer
2018-03-06 19:01 ` Uwe Brauer
2018-03-06 19:36 ` Thorsten Jolitz [this message]
2018-03-07 9:57 ` Uwe Brauer
2018-03-07 17:46 ` Thorsten Jolitz
2018-03-08 8:50 ` Uwe Brauer
2018-03-08 16:58 ` Thorsten Jolitz
2018-03-09 18:44 ` Uwe Brauer
2018-03-09 22:58 ` Thorsten Jolitz
2018-03-09 21:49 ` [SOLVED] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
2018-03-09 22:59 ` [SOLVED] Thorsten Jolitz
2018-03-10 8:37 ` [a outline regexp problem] (was: [SOLVED]) Uwe Brauer
2018-03-07 21:10 ` how do you compose mails in Gnus with org-mode Tim Cross
2018-03-08 8:57 ` Uwe Brauer
2018-03-08 11:48 ` Tim Cross
2018-03-08 14:16 ` Uwe Brauer
-- strict thread matches above, loose matches on Subject: below --
2009-08-25 22:29 zwz
2009-08-25 22:51 ` Matt Lundin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7vlro6f.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).