From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Internal Links with Spaces Date: Wed, 11 Mar 2015 15:17:06 +0100 Message-ID: <874mprzkil.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVhQW-00038K-Rd for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 10:16:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVhQR-0001r0-PR for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 10:16:00 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:46791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVhQR-0001qq-KZ for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 10:15:55 -0400 In-Reply-To: (Jacob Gerlach's message of "Wed, 11 Mar 2015 09:58:19 -0400") 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 Jacob Gerlach writes: > (Did I break the thread by adding "[PATCH]" to the subject? Apologies > if so, original thread was [1]) I read the thread before asking the question. > In more detail (repeating/summarizing the prior messages on original thread): > > Internal Links stored with org-store-link and inserted with > org-insert-link fail on export for headlines with spaces because of % > encoding the spaces. (This is orthogonal to the patch, just the > original motivation that led to it). > > One solution is to use org-id. I also came up with a hack to unhex the > link after it is inserted. > > In either case, the links inserted have descriptions. This is where I don't follow you. You can insert links without description, using `org-insert-link'. What makes you think you cannot? > Links with descriptions always export as hyperref's using the headline > text (instead of regular \ref's using the label). That's intended, indeed. If you added a description to a link, Org should use it. Regards,