emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: Link to heading in another org file
Date: Sat, 17 Jan 2009 18:18:34 +0100	[thread overview]
Message-ID: <87ocy5svf9.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <4956A66D-E9BA-40DA-8CB2-13B822882C46@uva.nl>

Carsten Dominik <dominik@science.uva.nl> 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

  reply	other threads:[~2009-01-17 17:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  8:59 Daniel Clemente
2009-01-14 10:04 ` Tassilo Horn
2009-01-14 10:38   ` Daniel Clemente
2009-01-14 12:17     ` Tassilo Horn
2009-01-17 12:39       ` Carsten Dominik
2009-01-17 17:18         ` Tassilo Horn [this message]
2009-01-18  7:30           ` Carsten Dominik
2009-01-18  9:26             ` Tassilo Horn
2009-01-18 17:47               ` Carsten Dominik
2009-01-19 15:36     ` Daniel Clemente
2009-01-20  5:18       ` Carsten Dominik

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=87ocy5svf9.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Link to heading in another org file' \
    /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

Code repositories for project(s) associated with this 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).