From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iDQVBmENeGHUHAAAgWs5BA (envelope-from ) for ; Tue, 26 Oct 2021 16:14:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SIyxAWENeGFvIgAA1q6Kng (envelope-from ) for ; Tue, 26 Oct 2021 14:14:57 +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 85989B00C for ; Tue, 26 Oct 2021 16:14:56 +0200 (CEST) Received: from localhost ([::1]:32848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfNE7-0001S5-JJ for larch@yhetil.org; Tue, 26 Oct 2021 10:14:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1md75o-0007hO-AE for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 04:37:00 -0400 Received: from mail-ua1-x92c.google.com ([2607:f8b0:4864:20::92c]:35396) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1md75m-0001Zr-BY for emacs-orgmode@gnu.org; Wed, 20 Oct 2021 04:36:59 -0400 Received: by mail-ua1-x92c.google.com with SMTP id q13so5172492uaq.2 for ; Wed, 20 Oct 2021 01:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=hZOqnbOAr8zFsKsUCusoIbS0EibxiItgxqAX3+aqbYw=; b=KCsGuvKJJZRJCFSzyM9ifngqEz6C8Mt8NsaFzEgIYJILZD+b1h66Mj5icYf+/G0iLI /X2IFs3pmmG2/mhU6aktwiN0QsCN1C9QKkdxGQdBcTPFhxcGtPRR0/gHuIZv34WJSFNj WjqUhmK/ZNV/froXJhQ2Fg3BTjEMOS0w5R2kVM/HNEz+xICjCpwKg8fA1pK3YnwAK9xA wcndDxvKCibRIDOnWCVsOVfX6ulVdUFFJaX99Ur0KuuYPkjpzvUjt9Vx+C/lepaIeXem eFjSWIlqBA7S4r07HI/73YtMgpiVEcFwrJ6pKtUM39LAgV3Bye6pdbfu9EBd+KHokcYa wkYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=hZOqnbOAr8zFsKsUCusoIbS0EibxiItgxqAX3+aqbYw=; b=6m+nTTiLk69qaKvv5pPOyFXQFjmDM+JKNGWbv5kNFHGhqRvgnvdRi52ElxRN955bS3 NbRINEUiMLiRZHjLHbNcYcgaO7fBTgibP2pcjQs3gvsf0ISZ2n5rVBHpXHqmm/4LH1hw 9JgqXjunEXcst5GJlyGevswwqzRXdTh9qbXxB3lKofPxT3GjxgxWgRYgUj7s7ttQQKAt nu1oceaUxiJsE+udFbuyIjF9S4egOG4hAf7JPTJghfl5yF4GRmeY1mKXTY7mNfdBYtmy 6FwWeJ13jf2Y1iGov/eEnjfyyGkc2VTlxP1VUREjGqqBOKLguDWNQHSJ9Vc+5+MeDG75 sS7w== X-Gm-Message-State: AOAM5325mW4ExQrf2QA/5F1TAnhNw3zejJQqc2Jzc1lC3FSHqvYrwpA/ 01LaIxNuv0xy4Fl7YUdr23mIhUH+LJ20+Q== X-Google-Smtp-Source: ABdhPJyz7vy3MAjlsNk5X8tLLcqVaRyDNAzhmvoRkBYxaS7D4F5bwj6k5Yku2E0dZR501E3g0A5oEA== X-Received: by 2002:a05:6102:390f:: with SMTP id e15mr23255003vsu.57.1634719016411; Wed, 20 Oct 2021 01:36:56 -0700 (PDT) Received: from Carloss-MacBook-Pro.local ([186.136.138.53]) by smtp.gmail.com with ESMTPSA id t7sm460431vko.7.2021.10.20.01.36.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Oct 2021 01:36:55 -0700 (PDT) From: Carlos Pita To: emacs-orgmode@gnu.org Subject: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)] Date: Wed, 20 Oct 2021 05:36:45 -0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::92c; envelope-from=carlosjosepita2@gmail.com; helo=mail-ua1-x92c.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, RCVD_IN_XBL=0.375, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 26 Oct 2021 10:05:04 -0400 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=1635257696; 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=hZOqnbOAr8zFsKsUCusoIbS0EibxiItgxqAX3+aqbYw=; b=H0NtJ3k+IOxs/eJ7j7QvfgofholU5n9+R0C4g3nYA9bsDsuPO0vssn8JUxuDtDffLPy7ps ioTxDy4t0CGDTkCIf1uMAsM89xSvrSLAckDeBz+Wrb/bvjMDrOyHEZgQ3xbGnQGQrOmwx7 Rd2cNTUQpBtO+5KZlZEX5mhz2u3TItUQjecE6l7A5sF+QzhX9dJJmy7wZrTWjiIzbQ1LrZ mlN/6Okr8Cjsau4BdXTeP5OyrAilBLw08vu28bwSPOWkPBdUpJrsNkCersfeqhCBDglzJP XPb7g/vhxqHCdo8mAdp0t7HkWuXQOqpc/YwXb4IQEGO7jVHMsLscGArvEukBSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635257696; a=rsa-sha256; cv=none; b=i0uio3kL2i36/cOyB8zjI07DI9S5gMWPPXL9Kgw60Eye8W0w4g2PwKdxUDxi/jQUZ9KS8P ZhdiVAP6IlnzEM/zswQNyVUHZOUYKEv4FzskjOpkuJa3cHPw7JULOsrYukLRg+8g6XUtb7 aekGYYnXZdqv53XJAHfOGFQA8IM2U5pO4tHCS7b7oKyY4/ktTxqV5tU3OnhKikoROW9kmu rO9HKTM8gzN3wNOAYQO5Hh/pVB99Ur/fQ3a2gDyh1BXfgX2ABx0SxYURA7hRy8trhdfqwE s7/Jed9jG3Rh4sLK0lal87Y6ZXQbz/fWL61nbpzELVv7uBVoH7nckzFdRqBovg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KCsGuvKJ; 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: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KCsGuvKJ; 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: 85989B00C X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: QCnzAY8igad5 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) )