emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Link to heading in another org file
Date: Sun, 18 Jan 2009 08:30:28 +0100	[thread overview]
Message-ID: <75C1329B-9AB8-4820-A550-D7EAE736B274@uva.nl> (raw)
In-Reply-To: <87ocy5svf9.fsf@thinkpad.tsdh.de>


On Jan 17, 2009, at 6:18 PM, Tassilo Horn wrote:

> 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. ;-))

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

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

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14  8:59 Link to heading in another org file 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
2009-01-18  7:30           ` Carsten Dominik [this message]
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=75C1329B-9AB8-4820-A550-D7EAE736B274@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=tassilo@member.fsf.org \
    /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).