emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita2@gmail.com>
To: Greg Minshall <minshall@umich.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]
Date: Thu, 21 Oct 2021 01:07:09 -0300	[thread overview]
Message-ID: <m28ryn81hu.fsf@gmail.com> (raw)
In-Reply-To: <913858.1634788206@apollo2.minshall.org> (Greg Minshall's message of "Thu, 21 Oct 2021 06:50:06 +0300")

Hi Greg,

> fwiw, using
>
> : emacs -Q -L ~/.emacs.d/straight/build/org foo.org

It's exactly the same. To be more precise, this is what I did:

1. open -na emacs --args -Q -L ~/.emacs.d/straight/build/org foo.org

2. C-x C-f /tmp/test.org (a new file)

3. Type "* heading" in the first line

4. Type "[[]]" in the second line

5. Go into the brackets an type "*head"

6. Press <M-TAB> or C-M-i.

This is the message 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 ...)),

Interestingly enough the message includes the string "*hea" as well as
the string "*head".

If you can't still reproduce it let me know and I will debug the issue.

> ps -- the org-version was
> : Org mode version 9.5 (9.5-gdc154f @
> /home/minshall/.emacs.d/straight/build/org/)

What are these? Seemingly not git revisions. Can I checkout that version
somehow? If not, pass me your git revision and I will rerun my recipe
there.

Best regards,
Carlos


  reply	other threads:[~2021-10-21  4:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20 23:09 [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)] Carlos Pita
2021-10-21  3:50 ` Greg Minshall
2021-10-21  4:07   ` Carlos Pita [this message]
2021-10-21  4:45     ` Ihor Radchenko
2021-10-22  4:14       ` Carlos Pita
2021-10-22  8:08         ` Carlos Pita
2021-12-11  8:00         ` Ihor Radchenko
2022-10-07  7:52         ` Ihor Radchenko
2021-10-21 15:22     ` Greg Minshall
  -- strict thread matches above, loose matches on Subject: below --
2021-10-20  8:36 Carlos Pita

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=m28ryn81hu.fsf@gmail.com \
    --to=carlosjosepita2@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=minshall@umich.edu \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).