emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.


From: Nicolas Goaziou
Subject: Re: [O] * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.
Date: Wed, 24 Feb 2016 20:43:20 +0100

Hello,

Nick Dokos <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:
>
>> Josef Atmin <address@hidden> writes:
>>
>>>> when a shell command in an unnumbered list includes '::', it is not 
>>>> recognized as a shell
>>>> command anymore.
>>>> 
>>>> To reproduce the bug, paste the following two lines in file 'tmp'
>>>> 
>>>>   asdf :: asdf
>>>>   asdf :: qwer
>>>> 
>>>> and add the following shell commands to an org file
>>>> 
>>>>    * [[shell:cat ~/tmp | grep "asdf :"]]
>>>>    * [[shell:cat ~/tmp | grep "asdf ::"]]
>>>>    * [[shell:cat ~/tmp | grep "asdf :: "]]
>>>> 
>>>> If you klick on them you will probably find that the first two work while 
>>>> the last one
>>>> does not, presumably because it is interpreted as a description list entry.
>>>> Interestingly, if you use a numbered list
>>>> 
>>>>    1. [[shell:cat ~/tmp | grep "asdf :"]]
>>>>    2. [[shell:cat ~/tmp | grep "asdf ::"]]
>>>>    3. [[shell:cat ~/tmp | grep "asdf :: "]]
>>>> 
>>>> then all three work.
>>
>> This is not a bug. - .... :: *is* description list syntax, no matter how
>> you look at it. You can easily work around this, e.g., by starting the
>> link on the next line.
>>
>
> Count me confused - although the OP is talking about unnumbered lists,
> his example only has headlines and numbered lists. Is the link broken
> when in the headline or only when it's an unnumbered list item?

IIUC, the OP is using unnumbered lists with an asterisk bullet.  Hence,
the problem is probably limited to unnumbered lists, not headlines.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]