From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UPQFJC6icGH+XQAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 01:11:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yIavHy6icGHWcQAAB5/wlQ (envelope-from ) for ; Wed, 20 Oct 2021 23:11:42 +0000 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 69C1226D40 for ; Thu, 21 Oct 2021 01:11:41 +0200 (CEST) Received: from localhost ([::1]:59452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdKkG-0005NQ-Ir for larch@yhetil.org; Wed, 20 Oct 2021 19:11:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdKiV-0005Mk-Fo for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 19:09:51 -0400 Received: from mail-yb1-xb2e.google.com ([2607:f8b0:4864:20::b2e]:40614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdKiT-0003nb-Lb for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 19:09:51 -0400 Received: by mail-yb1-xb2e.google.com with SMTP id m63so4559111ybf.7 for ; Wed, 20 Oct 2021 16:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=kaArhk2LXvaYK2mzLSMEquAz071j4Z7HIijketbpulU=; b=HT6bWijRinBoX1LTYsa1hwfYXTqghYt9E2rFWoy+ICRkOr8QF93kq4ncPE/VanVMt5 HMkQWXfag8U2QQ6OaC4YdVuQkZ0wjDPcxPPXvUBXpD0mvVTQ7d7j75NOFcCg2y97NF2T vKN65fUrTHV9o4emamPbSX9wOGRu8Z38IUpvSntNVXYyQByMfqhJOLnZLFuROUTgjJZr FWlZ5VdH/iJnVyZSwruNVn+sMgpJwcUABY62CgAYxZdJxS+qMFz68mIVE7pMUKzqpVxd U4dmwCFZIk33lGiQ8p6sQohKY2DsIqowVVSfeXz4mN8/AJ4WHH+ypcqizddxERHLnBoF qn2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=kaArhk2LXvaYK2mzLSMEquAz071j4Z7HIijketbpulU=; b=q5+xndRqtnS427IM1C+3ieo1G3zCXCdeHjqSeixciY6ezSIRuGCm8hxD5cdVzjFmoi aQm4Bop7l7HrejRX0rpmFRmKtWta0RM/wZEFxG7CxGD0RL0ip71Hpi/7Fms2ZGoS3iY7 hz9/hYVAi59G2s6pclLAcLp3NXrMisVZIo/xUARl+spqnTnAEAdjlCBPJeVuC8P0Yp0R e9TXCDncvNt+VVeDyMWEhmDtlyF74S8I4pEYojL05dezqvUlpOTYcHjT63vw8dC2W9M0 WgcrMPRwbWHc+pP1oXTsTvW2X47ycS9wTiYZJFPKH9/doWz0BcEtfijCp/eTBeDvAvJx Znmw== X-Gm-Message-State: AOAM532bq5TNSncC1xnHt+/4ey0sCq8+u61J1PD0yELp88JcKHCoQ/Xj osxPyn5iBIvNAMGQwHHvHHThdCm7KwvhEAGKZX6qEw5Ie7pk/Q== X-Google-Smtp-Source: ABdhPJwxy0ipcFE6A+si5TBGaJhAJPWpP0IrEZoOGA/dbZ8cG7ZYHrswihlses95yFYNZt4JL0Euukabaukx6VFueTg= X-Received: by 2002:a25:2cc6:: with SMTP id s189mr2157046ybs.82.1634771388291; Wed, 20 Oct 2021 16:09:48 -0700 (PDT) MIME-Version: 1.0 From: Carlos Pita Date: Wed, 20 Oct 2021 20:09:33 -0300 Message-ID: Subject: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)] To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2e; envelope-from=carlosjosepita2@gmail.com; helo=mail-yb1-xb2e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634771501; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kaArhk2LXvaYK2mzLSMEquAz071j4Z7HIijketbpulU=; b=LpkvBvWtP2MaubdeVP5yroA4RpFXtwky2GkcCTDv6abkbZH4jVVvpXJOFxr9VaWrBgUCTB hgWd2LwvdbsaBziWE+oFBsqSAT+criK1i5qKNthzw+GKUHXW7pZzwIhFJ7E7TnDN8VbE4w ByPFaCJjZdDoMxw/Z848imD39VdH2zX/8/2bvC6rX8IS4SknRhsDxGls7QchYFsQD4FBoJ axULBeL7ZtIthtoZBw2w5Qq7UHQQPC17E20ZuuZOJ9vuBqisMkxu+0oBkBiqEMeJxjEAIt AMoDjMd4NlZgklJjR/e1WkH2Dxw475A08J1AnEUt/NGQub5/LdS246ZrNIuu+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634771501; a=rsa-sha256; cv=none; b=sAaV+dN3pAQQJibxrMGnPEajJSE4tIs3vijCE4/tW9SH63UXgw1Njpn6qvsaiYaJbEtIyZ IGSdEMsVklfo31tdW3mUEHKot/tCWh8blXRGmUIKlZRlrgKTFADe7WWLFq8SJCdPCME+OD yv97BJ3Rfl05UarTvdtmcnNsN75FkE2WVBWY/RBBvC7+mku7nCBx+D+nDgH1lxgCMnIp1W x1lApB1fIewJxIK1aqjZLlfcV/wZbTCdrXtUqCm1s8sOuSeA4xPea3nNWCgCmJZPezDIND NPDcYRn+hgAbANADkxj+b3b8r2wjjw4Vtqw0bl08xQbBwcXiVcNKvVSUczgqlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HT6bWijR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HT6bWijR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 69C1226D40 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: JGk1UFySiUuF Hi, when I try to autocomplete a heading inside a link I get: completion--some: Args out of range: #("*hea" 0 1 (fontified t help-echo "LINK: *head" htmlize-link (:uri "*head") rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) face org-link ...) 1 2 (fontified t help-echo "LINK: *head" htmlize-link (:uri "*head") rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) face org-link ...) 2 3 (fontified t help-echo "LINK: *head" htmlize-link (:uri "*head") rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) face org-link ...) 3 4 (fontified t help-echo "LINK: *head" htmlize-link (:uri "*head") rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text htmlize-link) face org-link ...)), 0, 5 To reproduce: 1. Create org file with a heading: * heading 2. Start typing a link to that heading and press to autocomplete: [[*head]] Best regards, Carlos --- Emacs : GNU Emacs 28.0.60 (build 3, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6 (Build 20G165)) of 2021-10-18 Package: Org mode version 9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/) current state: ============== (setq org-link-elisp-confirm-function 'yes-or-no-p org-directory "~/Documents" org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-babel-after-execute-hook '(org-redisplay-inline-images) org-agenda-files '("/tmp/test.org") org-export-before-parsing-hook '(org-attach-expand-links) org-default-notes-file "~/Documents/inbox.org" org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-font-lock-set-keywords-hook '(doom-themes-enable-org-fontification) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-confirm-shell-link-function 'yes-or-no-p outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer doom-modeline-set-org-src-modeline) org-confirm-elisp-link-function 'yes-or-no-p org-todo-keywords '((sequence "TODO" "NEXT" "|" "DONE")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-preview-latex-default-process 'dvisvgm org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-metaup-hook '(org-babel-load-in-session-maybe) )