From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: Re: Internal Links with Spaces Date: Mon, 9 Mar 2015 16:50:51 -0400 Message-ID: References: <1825534239.18268273.1425911896744.JavaMail.zimbra@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV4dZ-0007mE-1r for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 16:50:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YV4dY-0002x6-4i for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 16:50:53 -0400 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:34980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YV4dX-0002ws-Qd for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 16:50:51 -0400 Received: by qgfh3 with SMTP id h3so31765819qgf.2 for ; Mon, 09 Mar 2015 13:50:51 -0700 (PDT) In-Reply-To: <1825534239.18268273.1425911896744.JavaMail.zimbra@redhat.com> 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: Leo Ufimtsev Cc: Org-mode On Mon, Mar 9, 2015 at 10:38 AM, Leo Ufimtsev wrote: > 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. A great suggestion. I wasn't aware of the feature, and renaming safety is a great benefit while also solving my space problem. I don't suppose there's a trick to automatically update descriptions for links whose target has been renamed? When exploring this, I found the function org-id-store-link. This seemed like what I wanted - it creates a custom ID if one doesn't exist, but it doesn't actually store a link (or at least, it wasn't available when I then ran org-insert-link). The docstring is pretty light, but it seems like this might be a bug. Is this the expected behavior? Thanks for the pointer in any case. Regards, Jake