From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eason Huang Newsgroups: gmane.emacs.bugs Subject: bug#58928: 29.0.50; overlays in org-mode are disrupted after call `org-capture` Date: Thu, 3 Nov 2022 22:57:12 +0800 Message-ID: References: <87eduohyds.fsf@gmail.com> <834jvjdwwl.fsf@gnu.org> <87sfj3gmsx.fsf@gmail.com> <87bkprm4a9.fsf@localhost> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_39454944-1303-40F2-A8C7-E9CD12B59C14" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20457"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ihor Radchenko , 58928@debbugs.gnu.org, Stefan Monnier , Matt Armstrong , Eli Zaretskii , Eli Qian To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 03 15:58:36 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 1oqbfv-00059i-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Nov 2022 15:58:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqbfh-0001FJ-Vx; Thu, 03 Nov 2022 10:58:23 -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 1oqbfQ-0000zR-5d for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 10:58:06 -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 1oqbfO-0004tF-NQ for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 10:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqbfO-0000MJ-95 for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 10:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eason Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Nov 2022 14:58:02 +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.16674874591346 (code B ref 58928); Thu, 03 Nov 2022 14:58:02 +0000 Original-Received: (at 58928) by debbugs.gnu.org; 3 Nov 2022 14:57:39 +0000 Original-Received: from localhost ([127.0.0.1]:49921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqbf0-0000Ld-PW for submit@debbugs.gnu.org; Thu, 03 Nov 2022 10:57:39 -0400 Original-Received: from out203-205-251-59.mail.qq.com ([203.205.251.59]:55510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqbew-0000Ks-1z for 58928@debbugs.gnu.org; Thu, 03 Nov 2022 10:57:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1667487444; bh=u2C7eXCnoJ++rv4aWXrD/FJ+SheSG9QwPACIS+9iAUM=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=mrr5FecyfATrMEURxTpkxqW2EGYThk0o5nTZ1tovw1W7jmct1aVSzzbSqoK+Yka16 TJlffejLrfjsgY3VS8MrYEwJE/ZGXbtWx5bozRjmlshVNoJ4Z8fVdYcSmL0WxOVlHI kC+T7pbVbQZM78JajcpwXlfF660sApWH8eb1WoLE= Original-Received: from smtpclient.apple ([101.85.9.159]) by newxmesmtplogicsvrsza12-0.qq.com (NewEsmtp) with SMTP id E5639ED0; Thu, 03 Nov 2022 22:57:22 +0800 X-QQ-mid: xmsmtpt1667487442tsdulisgm X-QQ-XMAILINFO: OWiiiYie5FTwXfnCoBtbvEjba9gD5rMqYfPTNLrxCOJd8zEAzGtNk56lPafnCD 00j9urxHN5RZDmhM3VH9+yNbH7xhAo2sS/eW8iO2iCA5qcCR6W6A1sWhnTQ7ZKHb8wX5rqq91kL+ O6fHEoFrrKAbHSLUJZJg167JQiTo4Rak/m7wwgA9K7pcUWRj4iQiKXqst+VRHFcqNG39UVWAucfv cUG4Clycbjs1K0w35iBh3hrRamJk2/J0tFk+ypbY+a5QGky8SpJO56yI4GMD4OHy9xNb+ExbM/8U LzkvfvC3sDFNWtemniN9oYyUoDs84FH/lTmCUUB9dM5qTLSqSrLpcI8cStllskr8GPLXDWK5WPJ/ BFDNK3qQ4Gkq6d64sZ8W30r9VAAagSkKAX5WF/+cssPc9h+B8OKqAyy93tFkOjUI6LTUM72SgPGL qYyS4IXiiG2xEkjWzpV92+BXmvmM9A5s1SsFM9A86LGwMUDWPrfq0AhVIe5Pl0Gq4ZYVpstLt2d9 PtmyDkIcYylv3nUcyVFvO9wF7DjlmMfgVFWxcXMdbt5NcY4tFkzXEzopp33ZdUClTjdevJkAEMat Rv6VJHhjolotsgDZisdBimxPDb0CzF77QvXfUIE5GGDrR4m73Ui3HxtjKFowQe3w76BysAdU35lX M4FgPjmoWH9e0RdFCq2cLApySMrqqjLc9T7GLrVwX+9HCnc0dTlGdtBtoMMystnhoRmUJeSUMNvC NeHYUkMFbQmfA5m4mkcEafiMfhMHTfid27SrAN0RViJSvxhADs+6bLB+/tghhtqR9Y4thKsDnCk9 f5yxB4i01diPFB+zRFwfSACEDF67o8R3wEfO+oYB X-OQ-MSGID: <85C1F074-17D7-4545-AFA9-F76F279506B7@foxmail.com> In-Reply-To: X-Mailer: Apple Mail (2.3731.200.110.1.12) 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:246974 Archived-At: --Apple-Mail=_39454944-1303-40F2-A8C7-E9CD12B59C14 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Gerd, > 2022=E5=B9=B411=E6=9C=883=E6=97=A5 22:25=EF=BC=8CGerd M=C3=B6llmann = writes=EF=BC=9A >=20 > Eason Huang writes: >=20 >> Stefan Monnier writes: >>=20 >>>> I don't know, but my guess is that the indirect buffer thing is = already >>>> a good starting point for Stefan/Matt. >>>=20 >>> Indeed. I believe it is now fixed. Please confirm, >>=20 >> Hi stefan, >>=20 >> I tried the latest commit, but thhis issue is still existed on macOS = and >> Windows 10. >>=20 >> I tested commit 8a5678906fa1b899c4d111e5ee4334b278f50d48 on Windows = 10, >> and commit 2eb2eb0c9ead205935be58ce9bb54465d48b20c8 on macOS Ventura >> (13.0) >=20 > I can't reproduce it anymore (macOS 13, but that shouldn't matter). = I'm > on d16494cffbed79a916482558ae5ed1bdcc67c88d. >=20 > Did you anything different from what you did before? No, I did the same as before. I can reproduce the following steps, may be you can have try: 1. emacs -Q , launch Emacs 2. M-x org-capture, and then type `t` (task) Now the buffer CAPTURE-.notes will open with contents as bellow: ** TODO (now the cursor is here, you can type some characters, such = as "test1", and then type C-C C-c ) [2022-11-03 Thu] 3. C-x b, switch-to-buffer .notes The contents is as below: * Tasks ** TODO test1(move cusror here and type TAB) [2022-11-03 Thu] 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 ------ Eason Huang --Apple-Mail=_39454944-1303-40F2-A8C7-E9CD12B59C14 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hi = Gerd,

2022=E5=B9=B411=E6=9C=883=E6=97=A5= 22:25=EF=BC=8CGerd M=C3=B6llmann = <gerd.moellmann@gmail.com>writes=EF=BC=9A

Eason = Huang <aqua0210@foxmail.com> writes:

Stefan Monnier <monnier@iro.umontreal.ca> = writes:

I = don't know, but my guess is that the indirect buffer thing is = already
a good starting point for = Stefan/Matt.

Indeed.  I believe it is now = fixed.  Please confirm,

Hi stefan,

I = tried the latest commit, but thhis issue is still existed on macOS = and
Windows 10.

I tested commit = 8a5678906fa1b899c4d111e5ee4334b278f50d48 on Windows 10,
and commit = 2eb2eb0c9ead205935be58ce9bb54465d48b20c8 on macOS = Ventura
(13.0)

I can't reproduce it anymore = (macOS 13, but that shouldn't matter).  I'm
on = d16494cffbed79a916482558ae5ed1bdcc67c88d.

Did you anything = different from what you did = before?

No, I did the = same as before.

I can reproduce the = following steps, may be you can have try:

1. = emacs -Q , launch Emacs
2. M-x org-capture, and then type `t` = (task)
   Now the buffer CAPTURE-.notes will open = with contents as bellow:

   ** TODO = (now the cursor is here, you can type some characters, such as "test1", = and then type C-C C-c )
  [2022-11-03 = Thu]

3. C-x b, switch-to-buffer = .notes
  The contents is as below:
* = Tasks
** TODO test1(move cusror here and type = TAB)
  [2022-11-03 Thu]

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



------
<= div>
Eason = Huang


= --Apple-Mail=_39454944-1303-40F2-A8C7-E9CD12B59C14--