From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#58479: 29.0.50; [feature/noverlay] Displaced overlays in notmuch search buffers after refreshing Date: Sat, 15 Oct 2022 12:11:55 +0800 Message-ID: <634a32dc.620a0220.1556.5477@mx.google.com> References: <87zge0tqkt.fsf@localhost> <87pmewqrj3.fsf@rfc20.org> <87bkqfype2.fsf@localhost> <87a65x6f2u.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15663"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Matt Armstrong , 58479@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 15 06:12:28 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 1ojYXB-0003nb-9e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 06:12:25 +0200 Original-Received: from localhost ([::1]:45576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojYX9-0006lS-OA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Oct 2022 00:12:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojYWo-0006l5-Ih for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 00:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojYWo-0000Z0-BL for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 00:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ojYWo-0004yq-5a for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2022 00:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Oct 2022 04:12:02 +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.166580707819084 (code B ref 58479); Sat, 15 Oct 2022 04:12:02 +0000 Original-Received: (at 58479) by debbugs.gnu.org; 15 Oct 2022 04:11:18 +0000 Original-Received: from localhost ([127.0.0.1]:39155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojYW5-0004xj-El for submit@debbugs.gnu.org; Sat, 15 Oct 2022 00:11:17 -0400 Original-Received: from mail-pf1-f179.google.com ([209.85.210.179]:33720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ojYW3-0004xO-Al for 58479@debbugs.gnu.org; Sat, 15 Oct 2022 00:11:15 -0400 Original-Received: by mail-pf1-f179.google.com with SMTP id m6so6649617pfb.0 for <58479@debbugs.gnu.org>; Fri, 14 Oct 2022 21:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:subject:cc:to:from:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=gvO8pa1VOezv3CAFriyaoYE/yaHBzESu+E4FVrhFgvE=; b=Dz3q9N4DRF2vj0zvVjgFcsLwupwDMtKzCoEZoInADAjIIDfCioF/0CP20BNfmj5skP 9NYMJ/v3FzviWYwxWuVTriA2drClh8jLgMRPF326UBlMLBuipiJT7Bsjo/KYhHB8KwCN W1rjtA58dXPwP4TDUi/HCW73LvrgzCOj2GOWSTt6xm3z+mO7V8qivV+CFr9uGohXNwkq GouFa/PW8kVTSBgVUY0otnd3+OOXQZzlqsNiEt5r0dG5K0Fjdqf9Ky86Ool+U3Xxc9rP O+bx6sHdYbGk7kzxo7zr2yDsq4KY8ZlcD0ITxeZ9DtcrrgVNcBa9me96zvIb1XGqKREI 9E2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:subject:cc:to:from:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gvO8pa1VOezv3CAFriyaoYE/yaHBzESu+E4FVrhFgvE=; b=ClyEzk49+17HhssdsvCzRtTdyFt9u1KEy+BRix88RqcNAJ2+D8Sg1oPIcnVD9rdbCu u591/yC86H3Yptq3a5Jv0tNGF65AcpoCdVFUtbdL/gMTM0Q32c964Z7kcIietE/A9LXq P+ZK065AedZ/uCLRazKfTcb4zNhY4dVLIhiEyPfLa0SYVIahIRI+oTUHedzOetT8GNVr 1a/N6I+kKhQFzVBtDNgb5DZHwU3G+EYt+lCy320urP7PBcRBN/BxybF23f33diklrLZx Abj49U0uLrc5m2TVT17zdC9+HeEIkBF+cyu+8YPabILItYsUYp1oib+rHMrRgJerbTlc Gi1A== X-Gm-Message-State: ACrzQf05R6Hs2WRCw2Xn2lEcX+am5OgXTpURKmiAs0EN2soMsv0DKpF0 Vt2EheJ5PfQ5GWLV4iXYhtA= X-Google-Smtp-Source: AMsMyM4Je7WT+/uJmf1/c973UrkkWbNu7IXwLCwjJrtB10D0CVAPTTNDJs15ZM9T7VGb6if05mng8A== X-Received: by 2002:a05:6a00:13a3:b0:563:6d36:ba58 with SMTP id t35-20020a056a0013a300b005636d36ba58mr1162346pfg.43.1665807069438; Fri, 14 Oct 2022 21:11:09 -0700 (PDT) Original-Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id a188-20020a624dc5000000b005629d8a3204sm2531342pfb.99.2022.10.14.21.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 21:11:08 -0700 (PDT) In-Reply-To: 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:245503 Archived-At: Stefan Monnier writes: >> 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 think that the above is not right. > > Whether this is "right" or not is a good question, but AFAIK it's the > "expected" behavior in the sense that it's how `overlays-at` has worked > until now. So I think it's "right". After reading the docstring of `overlays-at', I do agree. It indeed explicitly says that zero-length overlays will not be listed. I was confused because zero-length overlays were listed by describe-text-properties before your patch above. I think this bug report can be closed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at