From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: * [[shell:cat ~/tmp | grep "asdf :: "]] does not work. Date: Wed, 24 Feb 2016 12:56:06 -0500 Message-ID: <87k2lu8021.fsf@alphaville.usersys.redhat.com> References: <145604945296.31794.17323403181543491797.reportbug@garlic.spices> <20160222085952.GA32746@garlic> <878u2a57r2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYdfd-0005jE-8x for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:56:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYdfZ-00004v-U3 for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:56:17 -0500 Received: from plane.gmane.org ([80.91.229.3]:42069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYdfZ-0008WT-N8 for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 12:56:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYdfY-0002ug-Im for emacs-orgmode@gnu.org; Wed, 24 Feb 2016 18:56:12 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 18:56:12 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 18:56:12 +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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > 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. > 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