emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Dunker <rainer.dunker@mailbox.org>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-open-at-point while on "normal" text
Date: Mon, 29 Jan 2024 20:58:11 +0100	[thread overview]
Message-ID: <ZbgDU3DZwAidz-Mx@mailbox.org> (raw)
In-Reply-To: <87cytlnvkf.fsf@localhost>

Am 28.01.2024 um 19:48:16 schrieb Ihor Radchenko:
> > Recently there was an Org Mode upgrade from version 9.4.4 to 9.6.6 on my machine, and since then, C-c C-o on "normal" text behaves differently: Instead of raising the no link error, it opens the "Select link to open" menu. As I understand, this behaviour should occur when point is on the section's headline, but not when it's just somewhere within the section.
> >
> > I tracked this down to a changed behaviour of the org-element-at-point function. Suppose I have a buffer in Org Mode containing these two lines:
> >
> >    * headline
> >    text
> 
> I am unable to reproduce the problem on the latest stable version of Org
> mode - 9.6.17.
> 
> May you upgrade Org mode and let us know if you are still experiencing
> the problem?

Of course. I did a test install of release_9.6.17-1108-gf490c15, and yes--the unepected behaviour persists. The result of the test expression is not completely identical to that of version 9.6.6, though; instead of ...

   (headline (:raw-value "heading" :begin 1 :end 16 :pre-blank 0
   :contents-begin 11 :contents-end 16 ...

... it starts with:

   (headline (:standard-properties [1 1 11 16 16 0 (:title) first-section
   element t nil 13 ...

But nevertheless, it's still not nil. Thus, I'm afraid, the upgrade did not solve the issue.

Thanks for the superfast reply and for any further help,

Rainer


  reply	other threads:[~2024-01-29 19:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-28 16:35 org-open-at-point while on "normal" text Rainer Dunker
2024-01-28 18:48 ` Ihor Radchenko
2024-01-29 19:58   ` Rainer Dunker [this message]
2024-01-30 11:32     ` 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=ZbgDU3DZwAidz-Mx@mailbox.org \
    --to=rainer.dunker@mailbox.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).