From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Link to heading in another org file Date: Sat, 17 Jan 2009 18:18:34 +0100 Message-ID: <87ocy5svf9.fsf@thinkpad.tsdh.de> References: <87zlhui7pf.fsf@CPU107.opentrends.net> <87k58yyzik.fsf@thinkpad.tsdh.de> <87fxjmi343.fsf@CPU107.opentrends.net> <87d4eqytd3.fsf@thinkpad.tsdh.de> <4956A66D-E9BA-40DA-8CB2-13B822882C46@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOEp1-0005qG-9m for emacs-orgmode@gnu.org; Sat, 17 Jan 2009 12:18:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOEoz-0005mT-Jm for emacs-orgmode@gnu.org; Sat, 17 Jan 2009 12:18:58 -0500 Received: from [199.232.76.173] (port=43720 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOEoz-0005m0-AT for emacs-orgmode@gnu.org; Sat, 17 Jan 2009 12:18:57 -0500 Received: from main.gmane.org ([80.91.229.2]:56941 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LOEoy-00012Y-Vg for emacs-orgmode@gnu.org; Sat, 17 Jan 2009 12:18:57 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LOEop-0000W8-Jo for emacs-orgmode@gnu.org; Sat, 17 Jan 2009 17:18:47 +0000 Received: from p54af07dd.dip0.t-ipconnect.de ([84.175.7.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jan 2009 17:18:47 +0000 Received: from tassilo by p54af07dd.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 17 Jan 2009 17:18:47 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: Hi Carsten, >>> Ok, so it was [[file:proj.org::*some heading]] instead of >>> [[file:proj.org#*some heading]], fine. >> >> I've just noticed that if you have two headlines with the same text, >> it'll always link to the first one. > > Yes. Using ID links will work around this. Hey, that's great, I wasn't aware of that feature. And afterwards I also found it in the docs. ;-) BTW, the docs state: ,----[ (info "(org)Handling links") ] | `C-c l' | Store a link to the current location. This is a _global_ command | which can be used in any buffer to create a link. `---- Here, `C-c l' is neither bound in org files nor globally. I grepped my config files but I don't set/release that key somewhere. (And if it was bound I would complain that org shouldn't dictate global keys, anyway. ;-)) Bye, Tassilo