emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)]
@ 2022-04-23  9:53 Ignacio Casso
  2022-04-24  7:40 ` Ihor Radchenko
  0 siblings, 1 reply; 10+ messages in thread
From: Ignacio Casso @ 2022-04-23  9:53 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Link abbreviations do not work inside property drawers and are instead
confused with internal links. The following org file illustrates this
behavior.

#+LINK: org-manual https://orgmode.org/manual/

* Heading
  :PROPERTIES:
  :myprop:  [[org-manual:Hyperlinks.html]]
  :END:
  - Opening this link will move point to heading below

* org-manual:Hyperlinks.html

* Another Heading
  :PROPERTIES:
  :myprop:  [[org-manual:Link-Abbreviations.html]]
  :END:
  - Opening this link will result in the following prompt:
    - No match: create this as a new heading? (yes or no)

* Yet Another Heading
  [[org-manual:Link-Abbreviations.html]]
  - Opening this link will browse
  https://orgmode.org/manual/Link-Abbreviations.html, as it should


I know that there is discussion of whether timestamps and links should
work or not inside property drawers, but since they currently work, I
think link abbreviations should be supported too. Let me know if you
agree and I'll debug the issue and send a patch with a fix proposal.

Regards,

Ignacio


Emacs  : GNU Emacs 29.0.50 (build 44, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
 of 2022-04-23
Package: Org mode version 9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)


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

end of thread, other threads:[~2022-04-27  9:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-23  9:53 [BUG] link abbreviations do not work inside property drawers [9.5.2 (release_9.5.2-38-g682ccd @ /home/ignacio/repos/emacs/lisp/org/)] Ignacio Casso
2022-04-24  7:40 ` Ihor Radchenko
2022-04-24  9:45   ` Ignacio Casso
2022-04-26  8:49     ` Ihor Radchenko
2022-04-26  9:07       ` Ignacio Casso
2022-04-26 13:52         ` Ihor Radchenko
2022-04-26 14:46           ` Ignacio Casso
2022-04-27  4:25             ` Ihor Radchenko
2022-04-27  6:46               ` Ignacio Casso
2022-04-27  9:18                 ` tony aldon

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