bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61479: 28.2; icomplete-in-buffer --- Error in post-command-hook: arg


From: Juri Linkov
Subject: bug#61479: 28.2; icomplete-in-buffer --- Error in post-command-hook: args-out-of-range
Date: Mon, 13 Feb 2023 19:56:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>   (progn
>     (with-eval-after-load 'icomplete
>       (setq icomplete-in-buffer t))
>     (icomplete-mode))
>
> 2. Type the following:
>
>   (with-)
>
> 3. Then, with the cursor positioned after the dash, C-M-i (to try
>    `completion-at-point').
>
> Results in:
>
>   - A window with the *Completions* buffer is shown, but an error[1] is
>     raised and `icomplete' does not appear in the current buffer;
>   - Deleting the close parenthesis and trying `completion-at-point' once
>     again brings `icomplete' to the buffer, as expected.
>
> [1]  "Error in post-command-hook (icomplete-post-command-hook): 
> (args-out-of-range #("with-" 0 5 (fontified t)) 0 6)"
>
> In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo 
> version 1.17.6)

Please try in Emacs 29 where this was fixed recently.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]