From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Links Lost and Export-Report
Date: Wed, 18 Aug 2010 18:51:36 +0200 [thread overview]
Message-ID: <26232062-ECCC-484B-B59D-B1A9CB63FE70@nf.mpg.de> (raw)
In-Reply-To: <871v9vdhku.fsf@norang.ca>
[-- Attachment #1.1: Type: text/plain, Size: 2434 bytes --]
Dear Bernt,
On 18.08.2010, at 18:13, Bernt Hansen wrote:
> Stefan Vollmar <vollmar@nf.mpg.de> writes:
>
>> Hello,
>>
>> I currently have a "showstopper-class" problem with links. I am using Org-mode release_7.01h-129-g3363a with Emacs 23.2.1. I have
>>
>> (require 'org-install)
>> (require 'org-id)
>>
>> in my .emacs file.
>>
>> This works fine:
>>
>> (1) org-link-to-org-use-id is t and when I do a C-c l (org-store-link), a "a globally unique ID property" is generated for the current section - so far so good.
>> (2) I then change to another org-file and insert the link with C-c C-l (org-store-link), looking at the org source shows me that, indeed, the newly generated ID ("id:3A50..." in that example) has been used.
>> (3) When I do a C-c C-o (org-open-at-point) on the new link, the target org-file is opened at exactly the right place - nice!
>> (4) When I export the file as HTML, the link works exactly as expected: "<a href="some-file.html#ID-3A50...">
>>
>> Here is the problem: I have two computers with very similar setups (Emacs and Org-mode: same versions; laptop and desktop) and synchronize org-files via a subversion repository. If I do a subversion update (sync the org-files to that computer) and then export to HTML on that computer, the previously working links do not work any more: there is no "#ID-..." in the link, in fact, the link is simply to the file that contains the link (not even the file I want to link to). Maybe Org-mode was not able to find the "id"?
[...]
> I think you need to look in the ~/.emacs.d/.org-id-locations file. This
> maps link ids to files.
>
> -Bernt
I think it is very likely that this is part of problem - I synchronize the directories containing my org-files and have, so far, done nothing about "~/.emacs.d/.org-id-locations".
What is the best way to deal with this?
- Synchronize?
- Delete?
- Force re-generation?
I have just taken a look at that file. It seems to map one id to one file. How does that help Org-mode if I rename an org-file that contains an id?
Many thanks for your help!
Warm regards,
Stefan
--
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
next prev parent reply other threads:[~2010-08-18 16:51 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 [this message]
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
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=26232062-ECCC-484B-B59D-B1A9CB63FE70@nf.mpg.de \
--to=vollmar@nf.mpg.de \
--cc=bernt@norang.ca \
--cc=emacs-orgmode@gnu.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).