Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2022-10-07 Thread Ihor Radchenko
Carlos Pita writes: > I believe the problem is in: > > (defun pcomplete/org-mode/searchhead () >... > ;; When completing a bracketed link, i.e., "[[*", argument > ;; starts at the star, so remove this character. > (substring pcomplete-stub 1 <-- trai

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-12-11 Thread Ihor Radchenko
Carlos Pita writes: > Hi Igor, > > I believe the problem is in: > > (defun pcomplete/org-mode/searchhead () >... > ;; When completing a bracketed link, i.e., "[[*", argument > ;; starts at the star, so remove this character. > (substring pcomplete-stub 1)

[BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-26 Thread Carlos Pita
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)

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-22 Thread Carlos Pita
> > !Changing the last line to (substring pcomplete-stub 1 -2) fixes it in my > example. I don't know if one is supposed to do [[*prefix]] or > [[*prefix as is implied by the code, but better to support both, > specially considering electric pairs, don't you think? > Indeed, the right limit should

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-21 Thread Carlos Pita
Hi Igor, I believe the problem is in: (defun pcomplete/org-mode/searchhead () ... ;; When completing a bracketed link, i.e., "[[*", argument ;; starts at the star, so remove this character. (substring pcomplete-stub 1 <-- trailing ]] not removed! Cha

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-21 Thread Greg Minshall
Carlos, > > 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. my belief (

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-20 Thread Ihor Radchenko
Carlos Pita writes: > If you can't still reproduce it let me know and I will debug the issue. I can reproduce on latest main. Confirmed. Best, Ihor

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-20 Thread Carlos Pita
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. Typ

Re: [BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-20 Thread Greg Minshall
Carlos, fwiw, using : emacs -Q -L ~/.emacs.d/straight/build/org foo.org on my system, i don't seem to be able to recreate this problem. cheers, Greg ps -- the org-version was : Org mode version 9.5 (9.5-gdc154f @ /home/minshall/.emacs.d/straight/build/org/)

[BUG] "args out of range" on link heading completion [9.5 (9.5-gd361c7 @ /Users/carlos/.emacs.d/straight/build/org/)]

2021-10-20 Thread Carlos Pita
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)