* [BUG] Org mode treat tags as links
@ 2022-10-29 4:13 Christopher M. Miles
2022-10-29 5:36 ` Ihor Radchenko
0 siblings, 1 reply; 3+ messages in thread
From: Christopher M. Miles @ 2022-10-29 4:13 UTC (permalink / raw)
To: Org mode
[-- Attachment #1.1: Type: text/plain, Size: 237 bytes --]
I defined a custom link type "video:".
And when I added tag "video" in tags like bellowing:
#+begin_src org
* headline 1 :tag1:video:hello
#+end_src
It caused the tag ":video:" parsed and recognized as link. Here is the screenshot:
[-- Attachment #1.2: CleanShot 2022-10-29 at 12.13.05@2x.png --]
[-- Type: image/png, Size: 39290 bytes --]
[-- Attachment #1.3: Type: text/plain, Size: 318 bytes --]
I suppose the link parsing need to be improved.
--
[ stardiviner ]
I try to make every word tell the meaning that I want to express without misunderstanding.
Blog: https://stardiviner.github.io/
IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] Org mode treat tags as links
2022-10-29 4:13 [BUG] Org mode treat tags as links Christopher M. Miles
@ 2022-10-29 5:36 ` Ihor Radchenko
2022-10-29 9:22 ` [CLOSED] " Christopher M. Miles
0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2022-10-29 5:36 UTC (permalink / raw)
To: numbchild; +Cc: Org mode
"Christopher M. Miles" <numbchild@gmail.com> writes:
> I defined a custom link type "video:".
>
> And when I added tag "video" in tags like bellowing:
>
> #+begin_src org
> * headline 1 :tag1:video:hello
> #+end_src
Note that this particular example actually contains a link. Because you
forgot the closing ":" in the tags.
I guess you meant
* headline 1 :tag1:video:hello:
> It caused the tag ":video:" parsed and recognized as link. Here is the screenshot:
> I suppose the link parsing need to be improved.
This is fontification error.
You can examine the parser state by issuing M-: (org-element-context) with
point at the "link". It is correctly recognized as a headline with no link.
The error is due to limitations in our current implementation of
fontification. Will be fixed in
https://orgmode.org/list/87ee7c9quk.fsf@localhost
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-29 9:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-29 4:13 [BUG] Org mode treat tags as links Christopher M. Miles
2022-10-29 5:36 ` Ihor Radchenko
2022-10-29 9:22 ` [CLOSED] " Christopher M. Miles
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).