emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* info links broken
@ 2019-05-08 10:45 João O'Neill Cortes
  2019-05-08 11:03 ` Marco Wahl
  0 siblings, 1 reply; 2+ messages in thread
From: João O'Neill Cortes @ 2019-05-08 10:45 UTC (permalink / raw)
  To: emacs-orgmode

Using release 9.2.3(Tag 342) on emacs 26.1, fedora.

Links of info type, for instance,
[[info:org#The%20clock%20table][info:org#The clock table]]
, seem to be broken. 

The property :path retrieved by org-element-property
in line 10292 is empty, and therefore the link fails to open,

#+begin_src emacs-lisp
       ((eq type 'link)
	(let ((type (org-element-property :type context))
	      (path (org-element-property :path context)))
#+end_src

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

* Re: info links broken
  2019-05-08 10:45 info links broken João O'Neill Cortes
@ 2019-05-08 11:03 ` Marco Wahl
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Wahl @ 2019-05-08 11:03 UTC (permalink / raw)
  To: emacs-orgmode

joaooneillcortes@outlook.pt (João O'Neill Cortes) writes:

> Using release 9.2.3(Tag 342) on emacs 26.1, fedora.
>
> Links of info type, for instance,
> [[info:org#The%20clock%20table][info:org#The clock table]]
> , seem to be broken. 
>
> The property :path retrieved by org-element-property
> in line 10292 is empty, and therefore the link fails to open,
>
> #+begin_src emacs-lisp
>        ((eq type 'link)
> 	(let ((type (org-element-property :type context))
> 	      (path (org-element-property :path context)))
> #+end_src
>


There has been a change in the encoding of the links lately.

See ORG-NEWS/Version 9.3/Incompatible changes/Change bracket link
escaping syntax.  There is also function org-update-link-syntax to
update old-style links.

Concretely your example could be written as

[[info:org#The clock table][info:org#The clock table]]

or even

[[info:org#The clock table]]


Ciao
-- 
Marco

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

end of thread, other threads:[~2019-05-08 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-08 10:45 info links broken João O'Neill Cortes
2019-05-08 11:03 ` Marco Wahl

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