[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: syntax highlighting of elisp:blahblah and shell:blablah [8.
From: |
Nick Dokos |
Subject: |
Re: [O] Bug: syntax highlighting of elisp:blahblah and shell:blablah [8.2.6 (8.2.6-67-g9e09b2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140602/)] |
Date: |
Sun, 20 Jul 2014 14:08:31 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3.50 (gnu/linux) |
Andrea Rossetti <address@hidden> writes:
> when I insert some text like "elisp:sometext" or "shell:sometext"
> in an Org buffer, it becomes highlighted and clickable. On click,
> a prompt asks for confirm to execute "sometext".
>
> I get the same behaviour if I add tags to a headline, and one
> of the tags is "elisp" or "shell".
>
> I expected this behaviour when I create links with double square
> brackets, but not in default text paragraphs, nor in the tags.
> May I please ask for some feedback:
>
> 1) did I miss something, and this was expected (at least for default
> text paragraphs)?
I don't know whether it's expected (one of these years I really have
to sit down and learn the syntax).
> 2) is this reproducible for some of you as well?
>
Yes.
> I attach here a small test case:
>
> * my elisp tricks collection :elisp:andrea:tricks:
>
> I like to write elisp:it is useful.
> I seldow use shell:but it's useful as well
>
>
Workarounds:
- in text, leave a space after the colon - that's standard practice
anyway.
- in tags, put the `link' tag at the end:
:andrea:tricks:elisp:
The latter doesn't help if you have two `link'-type tags, but it should cover
the majority of problematic cases.
--
Nick