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: Nick Dokos
Subject: Re: [O] * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.
Date: Wed, 24 Feb 2016 12:56:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> 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?

--
nick




reply via email to

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