From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: "Gustav Wikström" <gustav.erik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Link abbreviations, org-files with searches
Date: Mon, 31 Oct 2011 13:10:18 +0100 [thread overview]
Message-ID: <CAMXnza0-KiHUhPqM9tBrNsoGefSdQHGn3uLeiC=wfpCO0NS9Kw@mail.gmail.com> (raw)
In-Reply-To: <CA+SyOP-6vo3NGBGzhN4VW_T8Mno3=D-OU+sidBSgt3ZGXPqjCw@mail.gmail.com>
Hello Gustav,
2011/10/31 Gustav Wikström <gustav.erik@gmail.com>:
> Hello!
> When defining a link-abbreviation to an org-file with a headline search I
> manage to get it to work with the following syntax:
> #+LINK: foo file:/long/path/to/file/foo.org
AFAIK, this is not required. Support for linking to org headlines is
already built in.
> [[foo::::*heading inside foo]]
This should be something like this:
[[file:/path/to/file.org::*<Heading_text>][Description]]
> I have to use four ":" to be able to search, instead of the three I would
> expect (expecting three since the first ":" is used to declare that I want
> to enter a tag and the following two are used inside the tag). Is this
> intended behaviour?
I am not sure what you are talking about here. Could you give an
example to illustrate?
> Also, it only seems to work for headline-search. I cannot get the regular
> search to work. Can someone confirm this behaviour?
For the regular search, something like this should be sufficient:
[[file:/path/to/file.org::<search_phrase>][Description]]
> /Gustav
Hope this helps.
PS: org-mode has amazing info documentation. Please check them out. All
of these are well covered there. For tutorials, you can check the
community site Worg.
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2011-10-31 12:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-31 11:36 Link abbreviations, org-files with searches Gustav Wikström
2011-10-31 12:10 ` suvayu ali [this message]
2011-10-31 12:33 ` Gustav Wikström
2011-10-31 13:01 ` Suvayu Ali
2011-10-31 13:55 ` Gustav Wikström
2011-10-31 14:09 ` Suvayu Ali
[not found] ` <CA+SyOP_+ywn8d5n-bngggc9LYSyZGNpiD3yvLbt=id7P=zmvmQ@mail.gmail.com>
2011-10-31 17:50 ` Gustav Wikström
2011-10-31 21:00 ` Gustav Wikström
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='CAMXnza0-KiHUhPqM9tBrNsoGefSdQHGn3uLeiC=wfpCO0NS9Kw@mail.gmail.com' \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=gustav.erik@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).