all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: lukeflo@posteo.de
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] Get "Args out of range" when trying to link heading with completion from inside a footnote
Date: Mon, 04 Dec 2023 14:58:35 +0000	[thread overview]
Message-ID: <87sf4iauas.fsf@localhost> (raw)
In-Reply-To: <4b7a6896122c1a8e84b812d7c8314143@posteo.de>

lukeflo@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/DB9PR06MB7753E0E548B2FB6614285847C61B9@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>


  reply	other threads:[~2023-12-04 14:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-30 21:04 [BUG] Get "Args out of range" when trying to link heading with completion from inside a footnote lukeflo
2023-12-04 14:58 ` Ihor Radchenko [this message]
2024-01-07 15:51   ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sf4iauas.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=lukeflo@posteo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.