From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ID05Mo/obWW7UAEAG6o9tA:P1 (envelope-from ) for ; Mon, 04 Dec 2023 15:56:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ID05Mo/obWW7UAEAG6o9tA (envelope-from ) for ; Mon, 04 Dec 2023 15:56:15 +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 C3F08634D6 for ; Mon, 4 Dec 2023 15:56:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pYqZFjDI; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701701774; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GwJv5zdmZXuo1d2w3oke5MwzxW2m5vhGteVKjbjOM0o=; b=sUbFbqrWdyIlRdbMtGESV3do1lrnq5vIDET67svu2B8z4wKbhs7axVn5oFiY9FmEwBOinJ 1l39uA02tOhqrMZvYm1CzxXSxFpQ9J/lOZNIVFL5lyMIvilRZpJWXP78K0C2cO9jmM3hwx 7A5GoIn80ZeUwSGSbTTzRJwXDtJ0/GU3BKO75UeEwKaKpc/3knrQ6XdC4r3mVWfKpeczXl V6jLsinvJ2ezdPGLDykCjLiRjkd95fE7diVT/igkL4ZWqUJREcUnLHZTJbatTq8TB8kspC f4weai2vMLEbtv5jF50IarWfVjl1NrNzfuqP9kU+2ZmWMaWEQ5KyPA3N/Dc64Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pYqZFjDI; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701701774; a=rsa-sha256; cv=none; b=YsED83VvW0IzrEFpfrVl1Kgqiuf+I7IbGqh2QO4T5AtP2unAGkJZai/nePbdfRbPthj3cQ khWA9JTdaerBfMpJCqP2yjk8kje5RJktAv9sju6T/pe8Z4TOO5PlV1NBdM5g+8GBr3zGAu sYUGWPez2V+l/FQZQGRdR+4FlFIsbbhr83vcd5vBEOE/NMpJc0I7TiW/t+keaTMyiOlLEP CGr/lAClCexNwfbacX6dI6i1q7IwalyAOmMkXhXqcHE2lvfKm4NK7d0BgpuJPuLS7zcMeT 6vZrNoaW+5pZVR9lRyqSxL/8XtkW5icZUuKaaYq3yUqtbcSNJ87etmGIPmEMkw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAAMK-0002i7-0h; Mon, 04 Dec 2023 09:55:44 -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 1rAAMI-0002hu-5X for emacs-orgmode@gnu.org; Mon, 04 Dec 2023 09:55:42 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAAMG-0007RQ-D9 for emacs-orgmode@gnu.org; Mon, 04 Dec 2023 09:55:41 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7BAD6240105 for ; Mon, 4 Dec 2023 15:55:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1701701738; bh=YElpYXvcRM3D6maVE/+Cwpy+y3bsQOwQ6MQ1SU3HeEM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=pYqZFjDIOszanHkxgUeSnWrPVlafoIDqtWeBB1ktQHaO09kg9Qzwv7845JZbHO2OY ws/HE4m9y31QN8jYUjg6gY4+c9dxukWps4llOFeZKPZo6EsvE8YaywVuekCHRo0LmR kIMgn97RQkEy1FI/U/l1/9S7r50HJjjp7r43bldrdumdHOwG2I84rhfA9kCulS0sd1 Q2uh4j9O4Ew502UWIuU91TFZYHqzCqD8b/wZjbsiFhf9B3S3u9Dn4+B/UXkVcxkAcb 9XYCk9mxi6OcwmuuVVYDGfpjvKivbJoqgHzybH1F7eLCoPn9xJ1B4ywBT1G7MkZStK CDLP+BxfyShfA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SkRYP6wLQz9rxL; Mon, 4 Dec 2023 15:55:37 +0100 (CET) From: Ihor Radchenko 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 In-Reply-To: <4b7a6896122c1a8e84b812d7c8314143@posteo.de> References: <4b7a6896122c1a8e84b812d7c8314143@posteo.de> Date: Mon, 04 Dec 2023 14:58:35 +0000 Message-ID: <87sf4iauas.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.11 X-Spam-Score: -8.11 X-Migadu-Queue-Id: C3F08634D6 X-Migadu-Scanner: mx12.migadu.com X-TUID: ofwY8mRCk2+r 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 . Support Org development at , or support my work at