From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Link abbreviations, org-files with searches Date: Mon, 31 Oct 2011 13:10:18 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKqhO-0004Cx-W0 for emacs-orgmode@gnu.org; Mon, 31 Oct 2011 08:10:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKqhN-000256-0Y for emacs-orgmode@gnu.org; Mon, 31 Oct 2011 08:10:42 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:41301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKqhM-00024I-Oh for emacs-orgmode@gnu.org; Mon, 31 Oct 2011 08:10:40 -0400 Received: by bkbzv15 with SMTP id zv15so1286968bkb.0 for ; Mon, 31 Oct 2011 05:10:39 -0700 (PDT) In-Reply-To: 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: =?UTF-8?Q?Gustav_Wikstr=C3=B6m?= Cc: emacs-orgmode@gnu.org Hello Gustav, 2011/10/31 Gustav Wikstr=C3=B6m : > 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: > =C2=A0 #+LINK: foo =C2=A0 =C2=A0 file:/long/path/to/file/foo.org AFAIK, this is not required. Support for linking to org headlines is already built in. > =C2=A0 [[foo::::*heading inside foo]] This should be something like this: [[file:/path/to/file.org::*][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 wan= t > 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::][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. --=20 Suvayu Open source is the future. It sets us free.