[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Internal Links with Spaces

From: Leo Ufimtsev
Subject: Re: [O] Internal Links with Spaces
Date: Mon, 9 Mar 2015 10:38:16 -0400 (EDT)

On the side, if of any help:

I generally use ID's for linking to headings.
The benefit is that headings can be re-named safley and links still work.

There is an org-module called 'org-id', which when enabled in conjunction with the variable
below allows you to automatically generate a unique id for the heading when you press C-c l and link to it with C-c C-l.

This exports nicley also. E.g here is a unique anchor link to one of those unique ID's:

(org-id-link-to-org-use-id (quote create-if-interactive-and-no-custom-id))

(org-id ...

Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

From: "Jacob Gerlach" <address@hidden>
To: "Org-mode" <address@hidden>
Sent: Monday, March 9, 2015 9:05:40 AM
Subject: [O]  Internal Links with Spaces

Hi List,

I'd like to re-raise the issue discussed here. In short, storing and inserting an internal link to a headline containing spaces using org-store-link and org-insert-link causes export to fail because the space is "hexified" into %20.

It seems like the thread died because hexifying links to support external URL's conflicted with internal links containing spaces with no clear path forward.

Am I missing further discussion where this was resolved?

If not, is a fix still possible or is this a "won't fix" because of the clash with external links?

If it's "won't fix", is it possible for me to advise org-insert-link (or some other function) or configure some other individual hack to work around the problem? I never use org-insert-link for URL's, so I'd be glad to blindly stop hexifying even if it breaks that functionality.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]