all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.
Date: Wed, 24 Feb 2016 20:43:20 +0100	[thread overview]
Message-ID: <87vb5d51yf.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87k2lu8021.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Wed, 24 Feb 2016 12:56:06 -0500")

Hello,

Nick Dokos <ndokos@gmail.com> writes:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> 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.
>>
>
> 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

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

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

  git send-email \
    --in-reply-to=87vb5d51yf.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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.