emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.
Date: Wed, 24 Feb 2016 12:56:06 -0500	[thread overview]
Message-ID: <87k2lu8021.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 878u2a57r2.fsf@nicolasgoaziou.fr

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> 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.
>

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

  reply	other threads:[~2016-02-24 17:56 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 [this message]
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=87k2lu8021.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).