From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.bugs Subject: bug#58928: 29.0.50; overlays in org-mode are disrupted after call `org-capture` Date: Fri, 04 Nov 2022 11:06:13 -0700 Message-ID: <87wn8awq5m.fsf@rfc20.org> References: <87eduohyds.fsf@gmail.com> <834jvjdwwl.fsf@gnu.org> <87sfj3gmsx.fsf@gmail.com> <87bkprm4a9.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18887"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Ihor Radchenko , Eli Zaretskii , 58928@debbugs.gnu.org, Eli Qian To: Stefan Monnier , Eason Huang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 04 19:07:24 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 1or16B-0004fu-Q2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Nov 2022 19:07:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1or15s-0002ad-0M; Fri, 04 Nov 2022 14:07: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 1or15q-0002aI-FQ for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 14:07:02 -0400 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 1or15q-00085C-5s for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 14:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1or15q-0008Tw-0L for bug-gnu-emacs@gnu.org; Fri, 04 Nov 2022 14:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matt Armstrong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Nov 2022 18:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58928 X-GNU-PR-Package: emacs Original-Received: via spool by 58928-submit@debbugs.gnu.org id=B58928.166758520532578 (code B ref 58928); Fri, 04 Nov 2022 18:07:01 +0000 Original-Received: (at 58928) by debbugs.gnu.org; 4 Nov 2022 18:06:45 +0000 Original-Received: from localhost ([127.0.0.1]:54820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or15V-0008TL-Uc for submit@debbugs.gnu.org; Fri, 04 Nov 2022 14:06:45 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1or15F-0008Sq-L7 for 58928@debbugs.gnu.org; Fri, 04 Nov 2022 14:06:40 -0400 Original-Received: (Authenticated sender: matt@rfc20.org) by mail.gandi.net (Postfix) with ESMTPSA id A4E51E0007; Fri, 4 Nov 2022 18:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rfc20.org; s=gm1; t=1667585179; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KXhc3DDe5ji9NT9ep9y0whGw8hntfY+arl62CuHdtys=; b=T5qrwoBBHP79HOicV+KeIWu4En4KNdabEFdTE5GhIgvT5nILw4cyGuh6iHL4vwc0M1L7Kr FMSiPi+aORWhZvYYywloLKjnrFpNVtGA3RWh7Vaue8E7ZJi0+MNq/Wpcg/QrDiCO+KAmav 1q3xF2kv2F1rhl1+3zG7/5Ew8k1fIHGrm3wBMkuT2W5fxAckufgp19XMhvChJaeUsR6Fpo 0CwIcgrpyc8Cyw1u4p9mxYKXh9mB6evvm5rrYRWt8bE1aBU1vwHutlewTBr8VT61k+zi4C QmXHFpQPaMcdWDAS0kwqf6Yg/+8UoyuWYeRrRG/+5bnC4bvHH1yWiU3sCJgfdA== Original-Received: from matt by naz with local (Exim 4.96) (envelope-from ) id 1or154-001yfk-0P; Fri, 04 Nov 2022 11:06:14 -0700 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247103 Archived-At: Stefan Monnier writes: >> 4. Now the .notes buffer is like this: >> * Tasks >> ** TODO test1... >> 5. Try step 2 again, now you will see the issue. Now the .notes buffer looks like this: >> * Tasks >> ** TODO test1...TODO >> [2022-11-03 Thu] >> test1 > > With the latest changes I pushed, at the end of step 5 I see only: > > ** TODO test1... > > This doesn't look completely right (the "..." hides both the "test1" > todo and the subsequent one), but I see exactly the same when > I try it on Emacs-28, so are you sure it's something that changed with > the new overlays code? It isn't a regression in Emacs' overlay implementation. It is a bug introduced in the org-mode shipped with Emacs 28. I verified that this is fixed in current org mode dev version. So, I think we're done here!