From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72176: 30.0.60; icomplete-vertical-mode failed to work with Error Date: Sat, 20 Jul 2024 13:43:43 +0300 Message-ID: <86sew4cpi8.fsf@gnu.org> References: <86cynag9db.fsf@gnu.org> <874j8mc1b7.fsf@gmail.com> <87le1ybwh3.fsf@gmail.com> <868qxyg1dg.fsf@gnu.org> <87h6clc0nu.fsf@gmail.com> <86wmlgegyr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15469"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72176@debbugs.gnu.org, rpluim@gmail.com, joaotavora@gmail.com, visuweshm@gmail.com To: Eason Huang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 20 12:45:19 2024 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 1sV7aY-0003qS-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jul 2024 12:45:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sV7aK-0005pw-IW; Sat, 20 Jul 2024 06:45:04 -0400 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 1sV7aI-0005pl-As for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 06:45:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sV7aH-0004y7-UZ for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 06:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sV7aH-0004Cy-Nz for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 06:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2024 10:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72176 X-GNU-PR-Package: emacs Original-Received: via spool by 72176-submit@debbugs.gnu.org id=B72176.172147224816080 (code B ref 72176); Sat, 20 Jul 2024 10:45:01 +0000 Original-Received: (at 72176) by debbugs.gnu.org; 20 Jul 2024 10:44:08 +0000 Original-Received: from localhost ([127.0.0.1]:51873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sV7ZP-0004BH-EB for submit@debbugs.gnu.org; Sat, 20 Jul 2024 06:44:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sV7ZM-0004Ag-4D for 72176@debbugs.gnu.org; Sat, 20 Jul 2024 06:44:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sV7ZD-0004tM-T8; Sat, 20 Jul 2024 06:43:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=qol1Wh7JU1jdVLSJqVEig6t86+2DUkzfmytdZG4ekMs=; b=Xfakq4a57jd5iIyZJiUg RHPh12JrATvl31U+B2SjNn3q186yNqm4bNW2Vtir/fwLswaDcplMgPMxZNi8679jf2euauuTkzLRw 07suTBhRwUn3iAU0Am/W/QWbywfgAhYZCZNs1pYgXiVSuhyjAazFj3YjtADOBGUEFlm3qdZIoJ81Y RMCSJjarqJROyATCWN7HAQ3kYO/D/O4TR4NYvbyibWJPZnyBXN6yBIMAvDMPaA1PVCXnwkq9dptZp DxYgVVzpgst7SbL4896kcqqgikEddRhkOfVhQyZI0V+NeqrlUn3OGX3bjE4S+BxITEbN5tnBVmPX7 RD7/10ltIai0Xg==; In-Reply-To: (message from Eason Huang on Sat, 20 Jul 2024 18:07:19 +0800) 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:289038 Archived-At: > From: Eason Huang > Cc: Robert Pluim , João Távora > , > 72176@debbugs.gnu.org, visuweshm@gmail.com > Date: Sat, 20 Jul 2024 18:07:19 +0800 > > Eli Zaretskii writes: > > > Thanks. I've applied the trivial band-aid on emacs-30 to avoid the > > error in post-command-hook, but the real problem is not in the > > function that signals the error, it's in icomplete.el where it calls > > the lazy-highlight code. The evidence is that after the fix, the > > display shown in those cases that caused the error is not the expected > > one, unless you set icomplete-tidy-shadowed-file-names non-nil. It > > sounds like the problem happens specifically when the minibuffer text > > begins with a "~/" and there's another "~/" later in the minibuffer, > > the one the user types: the code probably doesn't expect that. > > > > Adding João, who I think wrote this code. > > > > > > > Hi Eli, > > I tried with the latest commit of Emacs-30(git sha1 ea30ffc52b3), > Now the issue is fixed. Thanks for testing.