[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] radio links in middle of words.
From: |
Daniel Clemente |
Subject: |
Re: [O] radio links in middle of words. |
Date: |
Fri, 04 Apr 2014 21:25:03 +0700 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.4.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
El Wed, 02 Apr 2014 18:57:13 +0200 Nicolas Goaziou va escriure:
>
> > ** Languages
> > *** <<<C>>> language
> > *** <<<JavaScript>>>
> > *** etc.
> > Etc. ← should the C in etc be highlighted as a link to „C“? Now it is and
> > it's a bit annoying. This is new behaviour.
>
> Indeed, this is expected. The patch you pointed out allows mid-word
> radio-targets. See related thread for more information.
>
„Related thread“: http://comments.gmane.org/gmane.emacs.orgmode/82923
I don't see in there any argument to have midword links, it's presented as a
consequence of other patch.
I'm a heavy user of <<<these links>>> to mark concepts' definitions, they are
much more useful than <<these>> or [[these]]. I have notes about programs I
tried, like <<<R>>>, <<<at>>> or <<<ps>>>, <<<C>>>, <<<CR>>> vs <<<LF>>> vs
<<<CRLF>>>, 3-letter stock tickers, … so now I'm seeing blue links everywhere
in the middle of words. I can get used to it, but it's ugly and not useful.
I only need links surrounded by non-letters, like:
#+BEGIN_EXAMPLE
<<<org>>>
organization ← certainly I'm not using the letter 'a' as a separator. I don't
want link.
org:mode ← ':' is a non-letter, so it's a separator. I want link
orgもmode ← what's も? Let's simply say it's a letter, so no separator. No
link, ok.
org'mode ← is ' a letter? Ask people, I think most say no. So: with link.
<<<o'clock>>> (oh, a non-letter inside. Ok)
o'clocking ← no, I'm not using 'i' as a separator. No link.
"o'clock" ← is " a letter? No. So: with link
#+END_EXAMPLE
The only use case I see is using radio links to mark the root of a word so
that the inflected words are also highlighted, e.g. <<<script>>> would
highlight „scripting“. But hey, when I want both „script“ and „scripting“
highlighted, I use radio links on both, not a problem.
Can't we break at non-letters? Not at non-„word-constituents“, but at
non-letters. If emacs doesn't provide that concept, better build it.
Thanks
- [O] <<< >>> radio links should not match empty text, Daniel Clemente, 2014/04/01
- Re: [O] <<< >>> radio links should not match empty text, Nicolas Goaziou, 2014/04/02
- [O] radio links in middle of words. (was: Re: <<< >>> radio links should not match empty text), Daniel Clemente, 2014/04/02
- Re: [O] radio links in middle of words., Nicolas Goaziou, 2014/04/02
- Re: [O] radio links in middle of words.,
Daniel Clemente <=
- Re: [O] radio links in middle of words., Nicolas Goaziou, 2014/04/04
- Re: [O] radio links in middle of words., Daniel Clemente, 2014/04/10
- Re: [O] radio links in middle of words., Nicolas Goaziou, 2014/04/10
- Re: [O] radio links in middle of words., Bastien, 2014/04/11
- Re: [O] radio links in middle of words., Nicolas Goaziou, 2014/04/11
- Re: [O] radio links in middle of words., Daniel Clemente, 2014/04/15