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 20:43:20 +0100 Message-ID: <87vb5d51yf.fsf@nicolasgoaziou.fr> References: <145604945296.31794.17323403181543491797.reportbug@garlic.spices> <20160222085952.GA32746@garlic> <878u2a57r2.fsf@nicolasgoaziou.fr> <87k2lu8021.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYfJI-0003LN-4m for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 14:41:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYfJE-0006KR-T9 for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 14:41:20 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYfJE-0006KG-MR for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 14:41:16 -0500 In-Reply-To: <87k2lu8021.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Wed, 24 Feb 2016 12:56:06 -0500") 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: Nick Dokos Cc: emacs-orgmode@gnu.org Hello, Nick Dokos writes: > Nicolas Goaziou writes: > >> 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. >> > > 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