emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: Bernt Hansen <bernt@norang.ca>, emacs-orgmode@gnu.org
Subject: Re: Re: Links Lost and Export-Report
Date: Thu, 19 Aug 2010 01:22:15 +0200	[thread overview]
Message-ID: <D722D317-3749-4C42-AE75-E73445198EA8@nf.mpg.de> (raw)
In-Reply-To: <8739ubegbb.fsf@gmx.de>


[-- Attachment #1.1: Type: text/plain, Size: 2022 bytes --]

Dear Sebastian,

I think your mail and my last one were sent almost at the same time. 

You are right about the limitations of org-id-update-id-locations. My last point about fixing .org-id-locations is that this is not feasible if you are working in a team (syncing via a code repository) on several loosely coupled org files that constitute parts of a web site: keeping .org-id-locations up-to-date is just too complex in that case (and this is not such an excentric scenario).

To make org ids more robust, I suggested to: 

> - expand the use of ids, so that, in analogy to other links, the inserted link can also contain a file name if it refers to another org file, maybe like this: 
> file-id:some-file.org#8329AEF0-4885-486A-A1B6-BB82B3E9218


Most of the time, this would work (provided one uses relativ path names).

Warm regards,
 Stefan


On 18.08.2010, at 23:55, Sebastian Rose wrote:

> Bernt Hansen <bernt@norang.ca> writes:
>> I think you can just regenerate the file with a call to
>> 
>> M-x org-id-update-id-locations
> 
> 
> This works for agenda files only, as well as files mentioned in
> the variable `org-id-locations'.
> 
> Thus you need to rename the element in the list in your id-locations
> file. E.G.:
> 
> Change ~/.emacs.d/.org-id-locations:
> (("~/emacs/org/notes/index.org" "org:1234...") ...
> 
> sh$ mv ~/emacs/org/notes/index.org ~/emacs/org/notes/Linux/index.org
> 
> 
> Change ~/.emacs.d/.org-id-locations accordingly:
> 
> (("~/emacs/org/notes/Linux/index.org" "org:1234...") ...
> 
> 
> 
> Shouldn't we have a command `org-move-file' or `org-rename-file' that takes
> care of id-locations?
> 
> 
> 
> Best wishes
> 
>   Sebastian

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de







[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2010-08-18 23:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-18 12:42 Links Lost and Export-Report Stefan Vollmar
2010-08-18 16:13 ` Bernt Hansen
2010-08-18 16:51   ` Stefan Vollmar
2010-08-18 17:15     ` Bernt Hansen
2010-08-18 21:41       ` Stefan Vollmar
2010-08-18 21:55       ` Sebastian Rose
2010-08-18 23:22         ` Stefan Vollmar [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=D722D317-3749-4C42-AE75-E73445198EA8@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /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).