emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: c.buhtz@posteo.jp
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87le6boo9o.fsf@localhost> (raw)
In-Reply-To: <42ff53fab31e974839d55609a2672a0d@posteo.de>

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	other threads:[~2024-03-21 10:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21  9:52 [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/)] c.buhtz
2024-03-21 10:02 ` Ihor Radchenko
2024-03-21 10:42   ` c.buhtz
2024-03-21 10:46     ` Ihor Radchenko [this message]
     [not found]       ` <6307229c8522ce6903c1afeeaf3eb5a5@posteo.de>
2024-03-21 16:31         ` Ihor Radchenko

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=87le6boo9o.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=c.buhtz@posteo.jp \
    --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).