From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58479: 29.0.50; [feature/noverlay] Displaced overlays in notmuch search buffers after refreshing Date: Tue, 18 Oct 2022 16:38:55 -0400 Message-ID: References: <87zge0tqkt.fsf@localhost> <87pmewqrj3.fsf@rfc20.org> <87bkqfype2.fsf@localhost> <87a65x6f2u.fsf@localhost> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31458"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Matt Armstrong , 58479@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 18 22:48:43 2022 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 1oktVx-0007uj-BE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 22:48:41 +0200 Original-Received: from localhost ([::1]:50668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oktVw-0000e2-3Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 16:48:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oktNa-0003Nd-5u for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 16:40:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oktNZ-0007cK-TL for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 16:40:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oktNZ-0004vm-LT for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 16:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2022 20:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58479 X-GNU-PR-Package: emacs Original-Received: via spool by 58479-submit@debbugs.gnu.org id=B58479.166612554618867 (code B ref 58479); Tue, 18 Oct 2022 20:40:01 +0000 Original-Received: (at 58479) by debbugs.gnu.org; 18 Oct 2022 20:39:06 +0000 Original-Received: from localhost ([127.0.0.1]:54950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oktMf-0004uF-UC for submit@debbugs.gnu.org; Tue, 18 Oct 2022 16:39:06 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:47748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oktMe-0004tk-AR for 58479@debbugs.gnu.org; Tue, 18 Oct 2022 16:39:04 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 725BF805DB; Tue, 18 Oct 2022 16:38:58 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A5D5C80258; Tue, 18 Oct 2022 16:38:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1666125536; bh=ohZTP2SPGB9Jh0fm679tPnkhuInKKT8f0jzDc9FJdQc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BUS1fMoQSFju+oGUmROvPCxGMz1aVfAuvSTaYLTXdwLVtupruy2Snf8bxf7OvgGzl B+4mVy5U9Ik/kq6quCKhGVvdZyohKEcJIc7rHWBS3dUhE7yOd/cljd8QJhbp8uXSD/ mJjqgQ72gdLbiQ/e95sdviCQImzBZ+QQssfxobOI9NBimJBC6CzqudUwqM/eEzVkfd gXfxZ5uJI1FfVfxbcIpV0weiVEmCL2B9hRmNqOu0WUtlAR5CXBAZvSHLe2sDyfWyrH i1BuGbybK2Mm0r95X9xRHbzXNiGo/zghDQr2dS0LvpbBjeWWKzQuYZ+VTAqE5CrrrN sitFdboWO5cOw== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 95B0F120F16; Tue, 18 Oct 2022 16:38:56 -0400 (EDT) In-Reply-To: <87a65x6f2u.fsf@localhost> (Ihor Radchenko's message of "Sat, 15 Oct 2022 09:38:49 +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" Xref: news.gmane.io gmane.emacs.bugs:245831 Archived-At: Ihor Radchenko [2022-10-15 09:38:49] wrote: > Stefan Monnier writes: >>> 3. C-d (5 times) >>> 4. Hell... >>> >>> "rld!" disappears! >> >> Thanks, I have fixed this specific problem with the patch below. >> Let's hope it also fixes your original issue with notmuch. > > Thanks! It appears to fix the issue with notmuch. > > However, I noticed a different problem introduced by the patch. > > After executing 3, if I run M-x describe-text-properties, the overlay is > not listed in the text properties. Running > M-: (overlays-in (point-min) (point-max)) does list the 0-length > overlay 5..5. However, running M-: (overlays-at 5) yields nil. I don't see this here: the overlay is listed just as much after as before the patch. Are you sure you were calling `M-x describe-text-properties` exactly from the same buffer position? Stefan