From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Link to heading in another org file Date: Sun, 18 Jan 2009 08:30:28 +0100 Message-ID: <75C1329B-9AB8-4820-A550-D7EAE736B274@uva.nl> 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> <87ocy5svf9.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOS78-0007S0-Ey for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 02:30:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOS76-0007Rn-7R for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 02:30:33 -0500 Received: from [199.232.76.173] (port=39280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOS76-0007Rk-4G for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 02:30:32 -0500 Received: from ey-out-1920.google.com ([74.125.78.150]:29943) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOS75-0005uE-MZ for emacs-orgmode@gnu.org; Sun, 18 Jan 2009 02:30:31 -0500 Received: by ey-out-1920.google.com with SMTP id 4so246995eyg.24 for ; Sat, 17 Jan 2009 23:30:30 -0800 (PST) In-Reply-To: <87ocy5svf9.fsf@thinkpad.tsdh.de> 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: Tassilo Horn Cc: emacs-orgmode@gnu.org On Jan 17, 2009, at 6:18 PM, Tassilo Horn wrote: > 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. ;-)) Under "Activation", the manual also states: ,----- | Add the following lines to your `.emacs' file. The last three lines | define _global_ keys for the commands `org-store-link', `org-agenda', | and `org-iswitchb' - please choose suitable keys yourself. | | ;; The following lines are always needed. Choose your own keys. | (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) | (global-set-key "\C-cl" 'org-store-link) | (global-set-key "\C-ca" 'org-agenda) | (global-set-key "\C-cb" 'org-iswitchb) `----- I do not want to re-iterate this information each time I talk about one of the global commands. - Carsten > > > Bye, > Tassilo > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode