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#58928: 29.0.50; overlays in org-mode are disrupted after call `org-capture` Date: Tue, 01 Nov 2022 08:14:02 +0200 Message-ID: <834jvjdwwl.fsf@gnu.org> References: <87eduohyds.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18298"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58928@debbugs.gnu.org To: Eli Qian , Stefan Monnier , Gerd =?UTF-8?Q?M=C3=B6llmann?= , Matt Armstrong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 01 07:15:29 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 1opkYb-0004Xq-DM for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Nov 2022 07:15:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opkYC-0001sy-FO; Tue, 01 Nov 2022 02:15: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 1opkYB-0001ro-6r for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2022 02:15:03 -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 1opkYA-0006Lb-3f for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2022 02:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opkY9-0007t0-MV for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2022 02:15: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: Tue, 01 Nov 2022 06:15: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.166728326630257 (code B ref 58928); Tue, 01 Nov 2022 06:15:01 +0000 Original-Received: (at 58928) by debbugs.gnu.org; 1 Nov 2022 06:14:26 +0000 Original-Received: from localhost ([127.0.0.1]:42507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opkXa-0007rx-Ah for submit@debbugs.gnu.org; Tue, 01 Nov 2022 02:14:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opkXY-0007rk-NV for 58928@debbugs.gnu.org; Tue, 01 Nov 2022 02:14:25 -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 1opkXS-00062U-Lm; Tue, 01 Nov 2022 02:14:18 -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=NE8JWemiAbcN1M/oN18Tp9OuZLaK5cVmySA/7EZwEBI=; b=F4CoRD6tvEDW2GCKg+/Z R1YRpWyj21Y/DiBi/xK2ouCA0zNr/SDB0yvQYhyyUY5IiFWMReYE57OFtOBgRChK8NOgU5dhM8yAP E8b1StnTlUFgFQ0VIp4mZ5TAatkgJNbqAfHevzN+osr822J5Vz5B56xiOBH3q+UZz6+YxBrg9J/NI 0F1YT3/cm8eTG2+ipkCS0WlHdLtHPEXcx6A8xj7UayE0GkEt4TCDy8vrOgU3DwYIUepHs+Dr3U9QP DbewMZ7gPdfGJBB0W9I9xKIf+slqd/IKQmj0OQQ6LKawDCb4Q54w4Z50cR8Eft1CCwfThQMSbzBJx dzM5gWNvfaaNTg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opkXP-0003Jz-Ri; Tue, 01 Nov 2022 02:14:18 -0400 In-Reply-To: <87eduohyds.fsf@gmail.com> (message from Eli Qian on Mon, 31 Oct 2022 21:58:55 +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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246743 Archived-At: > 1. start "emacs -Q" > 2. type "C-x C-f" and "test.org" and RET > 3. type the following: > * DONE test > CLOSED: [2022-10-31 Mon 18:27] > :LOGBOOK: > - State "DONE" from "TODO" [2022-10-31 Mon 18:27] > :END: > * DONE test > CLOSED: [2022-10-31 Mon 18:27] > :LOGBOOK: > - State "DONE" from "TODO" [2022-10-31 Mon 18:27] > :END: > * DONE test > CLOSED: [2022-10-31 Mon 18:27] > :LOGBOOK: > - State "DONE" from "TODO" [2022-10-31 Mon 18:27] > :END: > * DONE test > CLOSED: [2022-10-31 Mon 18:27] > :LOGBOOK: > - State "DONE" from "TODO" [2022-10-31 Mon 18:27] > :END: > > 4. call `org-shifttab`(S-TAB), make sure all headlines are in > OVERVIEW. > 5. load the following code: > (setq org-capture-templates > '(("l" "test" entry (file "path to org") > "* %?" > :prepend t > :empty-lines 0))) > > 6. Call `org-capture` in test.org buffer, and type something. > > > Actual: > > You will see overlays (org-ellipsis) will move randomly, and > reopening this file will return to normal. > > Expected: > > `org-capture` works fine, no format disruption. Could someone please look at this problem ASAP? Thanks.