From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: Re: [PATCH] Internal Links with Spaces Date: Wed, 11 Mar 2015 10:36:43 -0400 Message-ID: References: <874mprzkil.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVhkl-0004NY-8w for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 10:36:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVhka-0002HP-L8 for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 10:36:55 -0400 Received: from mail-qg0-x22c.google.com ([2607:f8b0:400d:c04::22c]:35626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVhka-0002HK-Gh for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 10:36:44 -0400 Received: by qgfh3 with SMTP id h3so10392221qgf.2 for ; Wed, 11 Mar 2015 07:36:44 -0700 (PDT) In-Reply-To: <874mprzkil.fsf@nicolasgoaziou.fr> 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 , Org-mode On Wed, Mar 11, 2015 at 10:17 AM, Nicolas Goaziou wrote: > This is where I don't follow you. You can insert links without > description, using `org-insert-link'. What makes you think you cannot? I thought that I had tested `(org-insert-link nil nil "")' and found that a description (repeating the headline text) was still inserted, but I just tried again and it does in fact insert a link with no description. (In the meantime I switched from ELPA to git, so perhaps this behavior has changed?). This solves my problem, so sorry if this was all noise. > That's intended, indeed. If you added a description to a link, Org > should use it. At least in the case of org-id, I can imagine that the description might only be used to control appearance in the org buffer, not to express desired export behavior. A link that uses org-id really begs for a description for readability, but then you can't get \ref{label} on export. Perhaps this is a corner case that doesn't justify another customization. Regards, Jake [1] https://lists.gnu.org/archive/html/emacs-orgmode/2015-03/msg00350.html