[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Internal Links with Spaces
From: |
Jacob Gerlach |
Subject: |
Re: [O] Internal Links with Spaces |
Date: |
Mon, 9 Mar 2015 16:50:51 -0400 |
On Mon, Mar 9, 2015 at 10:38 AM, Leo Ufimtsev <address@hidden> 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