snosov1 / toc-org

toc-org is an Emacs utility to have an up-to-date table of contents in the org files without exporting (useful primarily for readme files on GitHub)
GNU General Public License v3.0
292 stars 29 forks source link

Internal linking (C-c C-o) doesn't work in Org 8.3 #8

Closed snosov1 closed 9 years ago

louy2 commented 9 years ago

Seems to me the order of invoking has changed, so the custom ID compliant link only triggers custom ID translation. I don't see it mentioned in the changelog though. Org 8.3 changelog

snosov1 commented 9 years ago

I've started a thread on org mailing list, since it seems like org-translate-link function and the related functionality was overlooked, when they changed the way links are represented in code.

https://lists.gnu.org/archive/html/emacs-orgmode/2015-08/msg00833.html

snosov1 commented 9 years ago

Ok, the issue seem to be fixed in Org upstream.

Commit 93b73bd3032bf03f129c81fb199fbaeb31a772a3 fixes the org-translate-link function. So, a version of Org that contains this commit is needed in order for linking to work. (Personally, I don't know when it will be available through ELPA. The last available ELPA version to the moment - org-20150817 - doesn't have it.)

louy2 commented 9 years ago

Maybe they can have a develop branch on MELPA.

snosov1 commented 9 years ago

Don't know about that.

Anyway, my guess is that they should put bugfix releases once in a while on their own package archive. But I don't know for sure and how long it might take.

snosov1 commented 9 years ago

It turns out that Org packages are put to ELPA almost on a weekly basis. So, now, the available version 20150824 contains the fix and seems to work fine.

louy2 commented 9 years ago

:+1: Thank you!