From: "briangpowell ." <briangpowellms@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: * [[shell:cat ~/tmp | grep "asdf :: "]] does not work.
Date: Wed, 24 Feb 2016 20:38:18 -0500 [thread overview]
Message-ID: <CAFm0skF=3JNXQQPFYutEvM8y+FRZJziE+QngVX=GoCx3rkqKRg@mail.gmail.com> (raw)
In-Reply-To: <87ziup7um5.fsf@alphaville.usersys.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 2330 bytes --]
* Since your situation, is one like this: "This is not a bug. - .... ::
*is* description list syntax"--i.e. you are grep-ing for what Emacs
Org-Mode is seeing as a "description list"; and, this is "by design"
e.g.:
* Lord of the Rings
- Elijah Wood :: He plays Frodo
- Sean Astin :: He plays Sam, Frodo's friend. I still remember
him very well from his role as Mikey Walsh in The Goonies.
** In such a case: I reiterate my earlier suggestion--and my opinion is one
should always strive to do it this way too--its POSIX compliant--its easier
to read and you won't run into inconsistencies in your code:
Suggest you do it this way instead: Use "POSIX character classes"
like [:blank:] whenever possible--so in this case you could try to do
something like this (you'd have to test it yourself--if you're still
interested--again my environment throws no error exceptions):
** In your shell:
export BLANK="[[:blank:]]"
** Then load your Emacs OrgMode buffer as you did before; and, try
something like this instead:
* [[shell:cat ~/tmp | grep "asdf :"]]
* [[shell:cat ~/tmp | grep "asdf ::"]]
* [[shell:cat ~/tmp | grep "asdf$BLANK::$BLANK]]
--again, this all worked for me--but they all worked for me before too
while yours failed
** Say, anyone no how to do something like this:
export PIPE="|"
* [[shell:cat ~/tmp $PIPE grep "asdf ::"]]
---I mean, does anyone know how to use some other character or whatever
instead of "|" within the "[[...]]"?---I often find myself wanting to
insert a pipe in there and then put the whole thing in an OrgTable
cell--but we all know "|" is the cell divider in OrgMode
** Or does anyone know how to easily change the OrgTable cell barrier to a
key other than "|"? (then I could freely use the "|" in an OrgTable cell)
On Wed, Feb 24, 2016 at 2:53 PM, Nick Dokos <ndokos@gmail.com> wrote:
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
> >> 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.
> >
>
> Ahhhh (light dawns...)
>
> Thanks!
>
> --
> Nick
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3378 bytes --]
next prev parent reply other threads:[~2016-02-25 1:38 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
2016-02-24 19:53 ` Nick Dokos
2016-02-25 1:38 ` briangpowell . [this message]
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='CAFm0skF=3JNXQQPFYutEvM8y+FRZJziE+QngVX=GoCx3rkqKRg@mail.gmail.com' \
--to=briangpowellms@gmail.com \
--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 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).