From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs 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 Organization: LINKOV.NET Message-ID: <86cz6dfnyu.fsf@mail.linkov.net> References: <87y1p1wr4m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="704"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 61479@debbugs.gnu.org To: Fernando de Morais Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 13 18:58:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRd5x-000Aca-8Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Feb 2023 18:58:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRd5b-0001uN-Ih; Mon, 13 Feb 2023 12:58:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRd5W-0001tq-SD for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 12:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRd5V-0000be-VP for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 12:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRd5V-0002EB-QG for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 12:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Feb 2023 17:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61479 X-GNU-PR-Package: emacs Original-Received: via spool by 61479-submit@debbugs.gnu.org id=B61479.16763110808553 (code B ref 61479); Mon, 13 Feb 2023 17:58:01 +0000 Original-Received: (at 61479) by debbugs.gnu.org; 13 Feb 2023 17:58:00 +0000 Original-Received: from localhost ([127.0.0.1]:51468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRd5T-0002Dt-LJ for submit@debbugs.gnu.org; Mon, 13 Feb 2023 12:58:00 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:41751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRd5D-0002D8-D7 for 61479@debbugs.gnu.org; Mon, 13 Feb 2023 12:57:58 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 3234A20007; Mon, 13 Feb 2023 17:57:33 +0000 (UTC) In-Reply-To: <87y1p1wr4m.fsf@gmail.com> (Fernando de Morais's message of "Mon, 13 Feb 2023 11:56:41 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255510 Archived-At: > (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.