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: Thu, 25 Jul 2024 10:31:39 +0300 Message-ID: <86frry53ms.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> <86ttgkcqtc.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="4267"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rpluim@gmail.com, dmitry@gutov.dev, me@eshelyaron.com, joaotavora@gmail.com, visuweshm@gmail.com, 72176@debbugs.gnu.org, aqua0210@foxmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 25 09:33:07 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 1sWsyJ-0000pS-5F for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Jul 2024 09:33:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWsyA-0006SK-I4; Thu, 25 Jul 2024 03:32:58 -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 1sWsy8-0006Qg-4y for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 03:32:56 -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 1sWsy7-0006TC-Nr for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 03:32:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWsyE-0005QG-Ii for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 03:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2024 07:33:02 +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.172189273720724 (code B ref 72176); Thu, 25 Jul 2024 07:33:02 +0000 Original-Received: (at 72176) by debbugs.gnu.org; 25 Jul 2024 07:32:17 +0000 Original-Received: from localhost ([127.0.0.1]:35411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWsxV-0005OB-9o for submit@debbugs.gnu.org; Thu, 25 Jul 2024 03:32:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWsxS-0005Np-GM for 72176@debbugs.gnu.org; Thu, 25 Jul 2024 03:32:15 -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 1sWsxE-0006Jo-Uv; Thu, 25 Jul 2024 03:32:00 -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=o2qGuHyUSIvWc5QKJnUOTsM6mDn8RnaNJpRsUYSYRxs=; b=f8ezh6tgWX+I0VZfwFVL hpiVejURXp423q086aB0jTOnkG1s/pj3YzUqV70NvWXj84QAKLyRA3OY5oHf1X3u56w+Py6hE0AJc G3RP7FiOLc7yB6hzyEbiMoYmmraMb9Ttdrv1qBoOTXE4gwckJcuQ8GawyzA3CjzcHJdshVQ+vm/x9 /NKG511lSWGgdiFU+obtrR6CHBA0N9Q+uBiznzSsmUJXc6Sl5EBzUc/cVx+7N/rFVDVz7JPaRX5oP Jim7ivjZovv6jLja/0YA30aZWyeN3HHy1xiTQF4DoNhoSXP/8gIBVG7mFe9zi83bdmuaQ8B92zFsN +b9UuEdtCzJFsA==; In-Reply-To: (message from Stefan Monnier on Sun, 21 Jul 2024 17:42:24 -0400) 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:289280 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , rpluim@gmail.com, Dmitry Gutov > , João Távora > , > visuweshm@gmail.com, 72176@debbugs.gnu.org, aqua0210@foxmail.com > Date: Sun, 21 Jul 2024 17:42:24 -0400 > > That's helpful. So the "main assumption" is valid. > > Indeed in your recipe the problem is that the while loop you comment out > (which implements the shortcut based on the "second assumption") ends up > throwing away the chunk we need. This is by nature very hackish, > and there will still be cases where it back-fires. Maybe indeed we > should just get rid of this shortcut, and maybe the resulting > performance is good enough. > > Otherwise, the patch below should fix this particular occurrence. Thanks, please install on the emacs-30 branch.