emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: news1142@Karl-Voit.at
Cc: emacs-orgmode@gnu.org
Subject: Re: Referring to ID in other Org-mode file
Date: Mon, 25 Jul 2011 15:14:43 -0300	[thread overview]
Message-ID: <4e2db297.2180650a.3793.fffff161@mx.google.com> (raw)
In-Reply-To: <2011-07-23T18-32-06@devnull.Karl-Voit.at>


You don't need to type this manually. Use org-store-link (usually "C-c l")
in a sub-tree to store the link (it uses the sub-tree's id - it will ever
create an id if there isn't one already). Then use org-insert-link (usually
"C-c C-l") to insert the link.

--
Darlan

At Sat, 23 Jul 2011 18:45:01 +0200,
Karl Voit <devnull@Karl-Voit.at> wrote:
> 
> * Memnon Anon <gegendosenfleisch@googlemail.com> wrote:
> > Karl Voit <devnull@Karl-Voit.at> writes:
> >
> >> How can I refer to an ID in another Org-mode file (withing the same
> >> folder)?
> > [...]
> >> I was searching in the Org-mode manual but could not find any
> >> solution for my problem. Either this is not possible or I could not
> >> find the (existing) solution yet.
> >
> > ,----[ (info "(org)Search options") ]
> > `----
> 
> Sorry, I was not searching good enough. Shame on me :-(
> 
> In this case, that method is exactly what I need:
> 
>             file:README.org::*foobar
> 
> Since GitHub's interpretation of Org-mode files is not that
> perfect I want to avoid drawers containing IDs at all.[1]
> 
> The more I am using Org-mode the more I see its beauty :-)
> 
>   1. https://github.com/novoid/Memacs
> -- 
> Karl Voit
> 
> 

      reply	other threads:[~2011-07-25 18:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23 15:05 Referring to ID in other Org-mode file Karl Voit
2011-07-23 15:15 ` suvayu ali
2011-07-23 16:32   ` Karl Voit
2011-07-23 15:45 ` Memnon Anon
2011-07-23 16:45   ` Karl Voit
2011-07-25 18:14     ` Darlan Cavalcante Moreira [this message]

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=4e2db297.2180650a.3793.fffff161@mx.google.com \
    --to=darcamo@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).