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
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)
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)
>
> !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
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
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 (
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
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
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/)
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)
10 matches
Mail list logo