emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* `org-next-link' skips links inside PROPERTIES drawer
@ 2020-01-17  0:25 Pedro Ribeiro Mendes Júnior
  0 siblings, 0 replies; 6+ messages in thread
From: Pedro Ribeiro Mendes Júnior @ 2020-01-17  0:25 UTC (permalink / raw)
  To: Emacs Org Mode mailing list

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* `org-next-link' skips links inside PROPERTIES drawer
@ 2020-01-20 22:56 Pedro R.M. Júnior
  2020-01-20 23:31 ` Kyle Meyer
  0 siblings, 1 reply; 6+ messages in thread
From: Pedro R.M. Júnior @ 2020-01-20 22:56 UTC (permalink / raw)
  To: Emacs Org Mode mailing list

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-21  3:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-17  0:25 `org-next-link' skips links inside PROPERTIES drawer Pedro Ribeiro Mendes Júnior
  -- strict thread matches above, loose matches on Subject: below --
2020-01-20 22:56 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

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).