From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Ufimtsev Subject: Re: Internal Links with Spaces Date: Mon, 9 Mar 2015 10:38:16 -0400 (EDT) Message-ID: <1825534239.18268273.1425911896744.JavaMail.zimbra@redhat.com> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18268272_1644421526.1425911896743" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUyp6-0004IK-BL for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 10:38:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUyp1-0007hf-OR for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 10:38:24 -0400 Received: from mx5-phx2.redhat.com ([209.132.183.37]:50352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUyp1-0007gH-GN for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 10:38:19 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jacob Gerlach Cc: Org-mode ------=_Part_18268272_1644421526.1425911896743 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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: http://leoufimtsev.github.io./org/swt-dev.html#ID-a636a35d-6100-4f6a-974c-6bbeedc0f2a2 (org-id-link-to-org-use-id (quote create-if-interactive-and-no-custom-id)) '(org-modules (quote (org-id ... Leo Ufimtsev | Intern Software Engineer @ Eclipse Team ----- Original Message ----- From: "Jacob Gerlach" To: "Org-mode" 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. Regards, Jake ------=_Part_18268272_1644421526.1425911896743 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On the side, if of any help:

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

There is an org-modu= le 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 al= so. E.g here is a unique anchor link to one of those unique ID's:
http:/= /leoufimtsev.github.io./org/swt-dev.html#ID-a636a35d-6100-4f6a-974c-6bbeedc= 0f2a2

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

'(org-modules
(quote
(org-id ...

<= div id=3D"abf6255e-ddcd-416f-887c-b48c88bceed6">Leo= Ufimtsev | Intern Software Engineer @ Eclipse Team=



From: "Jacob Gerlach" <jacobgerlach@gmail= .com>
To: "Org-mode" <emacs-orgmode@gnu.org>
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, s= toring 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 thr= ead died because hexifying links to support external URL's conflicted w= ith 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 "wo= n't fix" because of the clash with external links?

<= /div>
If it's "won't fix", is it possible for me to a= dvise org-insert-link (or some other function) or configure some other indi= vidual 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.

Regards,
Jake

------=_Part_18268272_1644421526.1425911896743--