From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: * [[shell:cat ~/tmp | grep "asdf :: "]] does not work. Date: Wed, 24 Feb 2016 18:38:09 +0100 Message-ID: <878u2a57r2.fsf@nicolasgoaziou.fr> References: <145604945296.31794.17323403181543491797.reportbug@garlic.spices> <20160222085952.GA32746@garlic> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYdMA-0000eD-5L for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:36:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYdM6-0001of-2O for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:36:10 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYdM5-0001oV-Sd for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:36:06 -0500 In-Reply-To: <20160222085952.GA32746@garlic> (Josef Atmin's message of "Mon, 22 Feb 2016 09:59:53 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Josef Atmin Cc: emacs-orgmode@gnu.org Hello, Josef Atmin 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