From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6OW7IDT5aGUdgwEA9RJhRA:P1 (envelope-from ) for ; Thu, 30 Nov 2023 22:05:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6OW7IDT5aGUdgwEA9RJhRA (envelope-from ) for ; Thu, 30 Nov 2023 22:05:56 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1A79046EA8 for ; Thu, 30 Nov 2023 22:05:56 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=Hz87rDjc; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701378356; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=T77gm4+MXz04iOYkRCABeunmIWWjdhqiUTIuXXA+PYM=; b=n3zp0/P8pgzx3eMp1wyknCxXhW1/PEAf8TuGfQLuiPQrg+Bx+VHDKj/J2pYaNFTJTgcd8z M0cf7FctWrQPwNClGbTeO7uTZmqEtDBic8gNS/ZTEz3OMdlrsfpCR5yROtnQ/md6JN3dGu HOO1bkbg8Dbq6F1ojZ9Eo6quvy5bUmPN05Ioi9JMUkuInSIlh56BjCaacOLJVDp45QtXxy TbKmH+aU2xSFS8BrVrwStBlNCfYHbs0SsgRWx3EP+MCysVx+K25rZw3iz+2tht/Ad74wUf XhcMifQKyS1b6xPWNC6eomOjXmk/XEY4C97tuZxyQwMUk8vHNeX0lT5w1GzK5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701378356; a=rsa-sha256; cv=none; b=RkxeodgyNrw/P0dyNyjrcA2H2IIo8OE6aZI8GyHSinAKjVP1bediNuLraq2kj0nPso/naT A0szmfdAmXZDgAonH9YYiG8KBPD5xAIh5ntPa1IH5BG7+01AKoke5qNGxTjluWbYqipjQC rn/XsjQXhAUBQWIqO4uXPNRqg3Sm1BrOdAEm7562iwesYF5CRlpG94+T0hY81s9no4Iv+p j5NjXzP3Lk34vZoragnSTIUIWDWBDbF73lEiArYNCi2A+5QStQ1kTe3v0QOtYOKm2hgYqU rBEcFdkzd0/ugVXDWRLYktud6g0U51tCVRerPJ9CU9aeCFvIryyou26tsloOsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=Hz87rDjc; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8oDR-000287-Mp; Thu, 30 Nov 2023 16:04:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8oDP-00027j-NU for emacs-orgmode@gnu.org; Thu, 30 Nov 2023 16:04:55 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r8oDN-0003a9-Ot for emacs-orgmode@gnu.org; Thu, 30 Nov 2023 16:04:55 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A10B8240028 for ; Thu, 30 Nov 2023 22:04:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1701378290; bh=8Wtd+T/ueyPPoBqMNXvOahueMWaxIRjQQMecrX5tJ38=; h=MIME-Version:Content-Transfer-Encoding:Date:From:To:Subject: Message-ID:From; b=Hz87rDjce/krsyb6RZEqKicsWsGNGiZuzxfdt7V/QMLaA/Qf7g+x3JZs6sGsIWB33 7AELx9j0GkTFpAQQljCyr9BEu1AnkrWyMJbK8uCVUU6tH1AdFZrjSelMroipYPGRXe I9mO0Mye33Ih3iv9JOrJSO9eUN+cilBIRrAriET87kAKcuY9CMCM1yJsYq7Bm0FOPI LD9ItLEEs9TcG2li3mso29XMq7JrAuft6UNaalpZUoy4ujsHYc2MAQuE6sUMJcFy/f 7cnuIN+OLIkQFx8VRuaXElm5yZJwZocFx3yn0moayw0tVPU4ZwgS/o1O7EVKtGScbJ GylQeqozsFaiQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Sh7xG0tntz6tm4 for ; Thu, 30 Nov 2023 22:04:50 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 30 Nov 2023 21:04:50 +0000 From: lukeflo@posteo.de To: emacs-orgmode@gnu.org Subject: [BUG] Get "Args out of range" when trying to link heading with completion from inside a footnote Message-ID: <4b7a6896122c1a8e84b812d7c8314143@posteo.de> Received-SPF: pass client-ip=185.67.36.65; envelope-from=lukeflo@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -8.83 X-Spam-Score: -8.83 X-Migadu-Queue-Id: 1A79046EA8 X-TUID: U2bsTwkN9Y4x Hello everybody, I'm writing a thesis and having trouble linking internal headings from within footnotes of my document. Its the first time I'm submitting to the mailing list, so if I oversaw some rules, just tell me so I can learn about it. 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. First I thought it might be due to my init settings and my completion package (corfu with cape and orderless). But the error remains even when I find a new file from the CLI with `emacs -q test.org` with the simple content of: * A heading Some great text. [fn:1] * Footnotes [fn:1] Link to [[*]] The behaviour is the same as described above. When hitting M-tab after the asterisk, I still get "Args out of range: "", 1, nil" and nothing further happens. Thus, it seems like a bug to me, since it is not working even with this very simple setup. I'm looking forward for some hints, a solution or even a reproof if I propably made an error. Best, lukeflo