emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Pedro R.M. Júnior" <pedrormjunior@gmail.com>
To: Emacs Org Mode mailing list <emacs-orgmode@gnu.org>
Subject: `org-next-link' skips links inside PROPERTIES drawer
Date: Mon, 20 Jan 2020 19:56:26 -0300	[thread overview]
Message-ID: <m236c9pwiv.fsf@gmail.com> (raw)

Hello,

I am testing Emacs 28 (Org 9.3) from the Git repository and I have
noticed that, compared to version 26.3 (Org 9.1.9), `org-next-link'
function is skipping links located inside the PROPERTIES drawer.  (I
have not tested version 27.)  The same does not happen for the links
outsize drawers or links inside a drawer other than PROPERTIES one,
e.g., LOGBOOK drawer.

As an example, consider the Org file between "=============" lines
below.  Set the cursor at the beginning of the file.  Then call
`org-next-link'.

=============
* Heading
  :PROPERTIES:
  :MYLINK:   https://orgmode.org/
  :END:
  Another link: https://duckduckgo.com/
=============

I would expect `org-next-link' to find the link inside the drawer (i.e.,
https://orgmode.org/) as in version 26.3.  Instead, it goes directly to
the second link (i.e., https://duckduckgo.com/).

The same happens with `org-previous-link'.

Let me know if this is an intentional behavior for newer versions of Org
mode.  If so, I think it could receive a customization option for this
behavior.

Bests,
Pedro R.M. Júnior

             reply	other threads:[~2020-01-20 22:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20 22:56 Pedro R.M. Júnior [this message]
2020-01-20 23:31 ` `org-next-link' skips links inside PROPERTIES drawer Kyle Meyer
2020-01-21  0:02   ` Pedro R.M. Júnior
2020-01-21  2:19     ` Samuel Wales
2020-01-21  3:07       ` Kyle Meyer
  -- strict thread matches above, loose matches on Subject: below --
2020-01-17  0:25 Pedro Ribeiro Mendes Júnior

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=m236c9pwiv.fsf@gmail.com \
    --to=pedrormjunior@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).