all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Pedro Ribeiro Mendes 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: Thu, 16 Jan 2020 21:25:32 -0300	[thread overview]
Message-ID: <m2y2u7aqfz.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/).

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-17  0:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-17  0:25 Pedro Ribeiro Mendes Júnior [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-20 22:56 `org-next-link' skips links inside PROPERTIES drawer Pedro R.M. Júnior
2020-01-20 23:31 ` 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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y2u7aqfz.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.