luke...@posteo.de writes: > My problem is the following. When I create a footnote with C-c C-x f or > org-footnote-new, and then try to link to an internal heading of my > document typing [[*xyz]] and hitting M-tab for completion, I get nothing > but the message in the minibuffer which says "args-out-of-range "" 1 > nil". If I manually type the name of the heading and export to PDF > through LaTeX, the result is fine. But since some Headings are really > long, auto-completion would be very helpful here. From everywhere else > inside my document auto-completion for internal links works fine. > ... > Thus, it seems like a bug to me, since it is not working even with this > very simple setup.
Yes, it is a real bug. It has been reported previously in https://list.orgmode.org/orgmode/db9pr06mb7753e0e548b2fb6614285847c6...@db9pr06mb7753.eurprd06.prod.outlook.com/ I wish someone more familiar with Emacs completion innards were to take a look on this problem. I am not sure what is going wrong there. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>