[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] completion-at-point for [[* only works at end of line [9.5.2 (rele
From: |
Ignacio Casso |
Subject: |
[BUG] completion-at-point for [[* only works at end of line [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)] |
Date: |
Sat, 26 Mar 2022 11:32:13 +0100 |
User-agent: |
mu4e 1.6.10; emacs 29.0.50 |
Hello,
The manual says in https://orgmode.org/manual/Internal-Links.html#DOCF25
(footnote 25), that in-buffer completion can be used to insert links
targeting a headline in current buffer. So a user can type [[* and C-M-i
and all headlines in the buffer are offered for completion.
However, that only works if [[* is the last thing in the line. If there
is something after point in that line, it fails with the following message:
cl--assertion-failed: Assertion failed: (<= start (point)), #<marker at
243 in foo.org>, 242
Or if there are only whitespaces after point, with the following message
instead:
pcomplete-completions: Args out of range: "", 1, nil.
Regards,
--Ignacio
Emacs : GNU Emacs 29.0.50 (build 18, x86_64-pc-linux-gnu, GTK+ Version
3.24.20, cairo version 1.16.0)
of 2022-03-26
Package: Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @
/home/ignacio/repos/emacs/lisp/org/)
- [BUG] completion-at-point for [[* only works at end of line [9.5.2 (release_9.5.2-25-gaf6f12 @ /home/ignacio/repos/emacs/lisp/org/)],
Ignacio Casso <=