emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Improve error message "org-back-to-heading: Before first headl


From: Ihor Radchenko
Subject: Re: [BUG] Improve error message "org-back-to-heading: Before first headline at position 1" [9.6.8 (release_9.6.8-3-g21171d @/usr/local/share/emacs/29.1.50/lisp/org/)]
Date: Thu, 21 Mar 2024 10:46:59 +0000

c.buhtz@posteo.jp writes:

>> I believe that this problem have been fixed on main.
>
> Do you mean the message was improved or the message do not appear 
> anymore? Can you link please to the sources file where I can see the 
> message. Let's see if I understand it. :D

The error message should not appear anymore when you try to attach a
file before first heading.

>> If not, please provide more details on how to trigger the error.
>
> That is the simple example:
>
>      :PROPERTIES:
>      :ID:       a7f2b708-d2f9-41d5-a263-d82540b10b23
>      :END:
>      #+title: test2
>      #+date: [2024-03-10 16:42]
>      Paragraph
>
> After writing my first message I learned that there need to be a heading 
> that files are attached, too. I don't understand why. So I assume the 
> reason for the error message was that there is no heading in that org 
> file?

Are you saying that the above example will trigger an error on the
latest main when you try to attach a file?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]