all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: Link descriptions in org-element parser
@ 2017-05-21 21:35 Erik Sjöstrand
  2017-05-21 23:11 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Erik Sjöstrand @ 2017-05-21 21:35 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

When having an link where the link's description also look like a link,
the description will be treated like a link by org-element. As an
example:

    [[info:emacs#Directory%20Variables][info:Directory Variables]]

If the above was an org-file, org-element-parse-buffer would find two
links in the buffer, but the above is really just one link even though
its description look like a link. A consequence of this is that the
org-element-contents of the link above would be another link, which can
cause bugs.

I'm using org-mode 9.0.5 on Emacs 25.2.1.

[-- Attachment #2: Type: text/html, Size: 636 bytes --]

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

end of thread, other threads:[~2017-05-22 11:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-21 21:35 Bug: Link descriptions in org-element parser Erik Sjöstrand
2017-05-21 23:11 ` Nicolas Goaziou
2017-05-22  7:51   ` Erik Sjöstrand
2017-05-22 11:37     ` Nicolas Goaziou

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.