emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Josef Atmin <jatmin@web.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.
Date: Wed, 24 Feb 2016 18:38:09 +0100	[thread overview]
Message-ID: <878u2a57r2.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20160222085952.GA32746@garlic> (Josef Atmin's message of "Mon, 22 Feb 2016 09:59:53 +0100")

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.

Regards,

-- 
Nicolas Goaziou

  parent reply	other threads:[~2016-02-24 17:36 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 [this message]
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
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u2a57r2.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=jatmin@web.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).