From: Josef Atmin <jatmin@web.de>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.
Date: Sat, 27 Feb 2016 11:16:27 +0100 [thread overview]
Message-ID: <20160227101627.GD25757@garlic> (raw)
In-Reply-To: <878u2a57r2.fsf@nicolasgoaziou.fr>
Dear Nicolas!
On Wed, Feb 24, 2016 at 06:38:09PM +0100, Nicolas Goaziou wrote:
> Hello,
>
> Josef Atmin <jatmin@web.de> 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.
Well, one could also say [[shell:cat ~/tmp | grep "asdf :: "]] is link
syntax, no matter how you look at it. It is a question of precedence.
I think it is more obvious to interpret
* [[ ... :: ... ]] ....
as a link syntax rather than a descrition list entry.
But even if the * .... :: syntax takes precedence, then the folowing
should work, I think, but it does not.
* test :: [[shell:cat ~/tmp | grep "asdf :: "]]
If I klick on the link, I still get the errror message "No link found".
Best regards,
Josef.
next prev parent reply other threads:[~2016-02-27 10:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <145604945296.31794.17323403181543491797.reportbug@garlic.spices>
2016-02-22 8:59 ` * [[shell:cat ~/tmp | grep "asdf :: "]] does not work Josef Atmin
2016-02-23 21:11 ` briangpowell .
2016-02-23 21:31 ` briangpowell .
2016-02-23 21:52 ` Josef Atmin
2016-02-24 17:38 ` Nicolas Goaziou
2016-02-24 17:56 ` Nick Dokos
2016-02-24 19:43 ` Nicolas Goaziou
2016-02-24 19:53 ` Nick Dokos
2016-02-25 1:38 ` briangpowell .
2016-02-27 10:16 ` Josef Atmin [this message]
2016-02-27 23:03 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160227101627.GD25757@garlic \
--to=jatmin@web.de \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.