emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Per file ID
@ 2013-05-24 14:43 Klaus-Dieter Bauer
  2013-05-24 17:31 ` Bastien
  2013-05-25 13:12 ` Suvayu Ali
  0 siblings, 2 replies; 4+ messages in thread
From: Klaus-Dieter Bauer @ 2013-05-24 14:43 UTC (permalink / raw)
  To: org-mode mailing list

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

Hello!

I intend to use org-mode for organizing my research notes; I prefer however
a "wiki" style with many files rather than one big file.

I found that the ID mechanism is quite robust for linking across files, but
most of the time I'd like to link to a file, not a heading in that file, by
ID. Is that possible in org-mode?

As a workaround I'll use toplevel headings instead of the title.

kind regards, Klaus

[-- Attachment #2: Type: text/html, Size: 596 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Per file ID
  2013-05-24 14:43 Per file ID Klaus-Dieter Bauer
@ 2013-05-24 17:31 ` Bastien
  2013-05-25 13:12 ` Suvayu Ali
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2013-05-24 17:31 UTC (permalink / raw)
  To: Klaus-Dieter Bauer; +Cc: org-mode mailing list

Hi Klaus-Dieter,

Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com> writes:

> I found that the ID mechanism is quite robust for linking across
> files, but most of the time I'd like to link to a file, not a heading
> in that file, by ID. Is that possible in org-mode?

Well, no, sorry!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Per file ID
  2013-05-24 14:43 Per file ID Klaus-Dieter Bauer
  2013-05-24 17:31 ` Bastien
@ 2013-05-25 13:12 ` Suvayu Ali
  2013-06-06 18:03   ` Klaus-Dieter Bauer
  1 sibling, 1 reply; 4+ messages in thread
From: Suvayu Ali @ 2013-05-25 13:12 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, May 24, 2013 at 04:43:53PM +0200, Klaus-Dieter Bauer wrote:
> Hello!
> 
> I intend to use org-mode for organizing my research notes; I prefer however
> a "wiki" style with many files rather than one big file.
> 
> I found that the ID mechanism is quite robust for linking across files, but
> most of the time I'd like to link to a file, not a heading in that file, by
> ID. Is that possible in org-mode?

The motivation behind id links is their guaranteed uniqueness.  For
linking to files, doesn't simply using filenames do that?

  [[file:path/to/file.org][My notes]]

Why reinvent the wheel?  ;)

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Per file ID
  2013-05-25 13:12 ` Suvayu Ali
@ 2013-06-06 18:03   ` Klaus-Dieter Bauer
  0 siblings, 0 replies; 4+ messages in thread
From: Klaus-Dieter Bauer @ 2013-06-06 18:03 UTC (permalink / raw)
  To: emacs-orgmode

Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:

> 
> On Fri, May 24, 2013 at 04:43:53PM +0200, Klaus-Dieter Bauer wrote:
> > Hello!
> > 
> > I intend to use org-mode for organizing my research notes; I prefer 
however
> > a "wiki" style with many files rather than one big file.
> > 
> > I found that the ID mechanism is quite robust for linking across files, 
but
> > most of the time I'd like to link to a file, not a heading in that file, 
by
> > ID. Is that possible in org-mode?
> 
> The motivation behind id links is their guaranteed uniqueness.  For
> linking to files, doesn't simply using filenames do that?
> 
>   [[file:path/to/file.org][My notes]]
> 
> Why reinvent the wheel?  ;)
> 
> Hope this helps,
> 

For me the purpose of using IDs is, amongst others, being able to reorganize 
my files without breaking links. 

Hence direct file links are unique but not robust. I even add UUIDs to every 
plot I generate by now for similiar reasons ;)

That said, with my wiki-style approach having one top-level heading per file 
turned out reasonable anyway. 

kind regards, Klaus

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-06 18:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-24 14:43 Per file ID Klaus-Dieter Bauer
2013-05-24 17:31 ` Bastien
2013-05-25 13:12 ` Suvayu Ali
2013-06-06 18:03   ` Klaus-Dieter Bauer

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