From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= 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 16:18:42 +0100 Message-ID: <9540327d-bb34-bed7-ba5d-79c791befa4e@gmail.com> References: <87eduohyds.fsf@gmail.com> <834jvjdwwl.fsf@gnu.org> <87sfj3gmsx.fsf@gmail.com> <87bkprm4a9.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27524"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Cc: Ihor Radchenko , 58928@debbugs.gnu.org, Stefan Monnier , Matt Armstrong , Eli Zaretskii , Eli Qian To: Eason Huang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 03 16:20:55 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 1oqc1S-0006jR-Qi for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Nov 2022 16:20:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqc1E-0004Bf-23; Thu, 03 Nov 2022 11:20:37 -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 1oqc0i-00046v-Uf for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 11:20: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 1oqc0g-00082U-PR for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 11:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqc0g-0003A7-2v for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Nov 2022 15:20: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.166748875112062 (code B ref 58928); Thu, 03 Nov 2022 15:20:02 +0000 Original-Received: (at 58928) by debbugs.gnu.org; 3 Nov 2022 15:19:11 +0000 Original-Received: from localhost ([127.0.0.1]:49960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqbzm-00038Q-WB for submit@debbugs.gnu.org; Thu, 03 Nov 2022 11:19:11 -0400 Original-Received: from mail-ej1-f53.google.com ([209.85.218.53]:35676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqbzW-00037a-7J for 58928@debbugs.gnu.org; Thu, 03 Nov 2022 11:19:05 -0400 Original-Received: by mail-ej1-f53.google.com with SMTP id k2so6187711ejr.2 for <58928@debbugs.gnu.org>; Thu, 03 Nov 2022 08:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=ZZguWpzQbpP/rhoZN9786U+NSRfj/GA9OVea3wODV4U=; b=UfGdL97ACMZNGdqR10wK7B6q01gVqdAvaEBvMIf8wUf4HObu9AMwMsCZrmbD/Ek9SD EXbFWpKb75xkIhXvZgOP2YFETrowOAwCKiO7PzmGuJhmmwQGeFRZbM+G/gwvo6UuTPHn VlsL/RAiyO6J3zOH5GvCQOEm04K8ecNzod+GUg15T66jkK3ZvZ56LOWIiWIViTORtguW XrS+aBejzCCYzMaEFo63UW7AKcLt4RX4ETXbuoF11iEY8h0icyu+Fik5Pnz6HFtu0zAD a1eIn7iyFpxDOj9thh0A0A/z5+4Vc9sADfh5y5qmy2ly/aK0VYTqLEDBiKDusiKygdyZ Jh3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZZguWpzQbpP/rhoZN9786U+NSRfj/GA9OVea3wODV4U=; b=4yTPWsAxJHfXBvbBYv0Z0XmVEY9VnYLr72qxUuLr8K+anOP4fTElJp5mk07bvrTiAm gVL/rTokVymToXeh1i61vr4accklQ2+/Tr2iJXjuMoY7IdfhtNEqLjddNfoLVAVjgyK3 qcy1BTMjpx1wSbOi+AO9s+c7j+oACkuvG6/UBhAHAY0W8RYCTOGesxqY9fvBT2tjp8u7 ublXPnCdG4RwA1f7JiSwQQ4KGZ6mKOK9eSXs23oR7n8aKtT0Upy0w8B9orERA6kJDL/r Ul1Nh8ur1jzpfLzuExKWrYTWatIN551JiGJNP8FyZ4DXt4eO7V/DFgZ4hqVrgqN7a+7r I4Iw== X-Gm-Message-State: ACrzQf1jZbCQkCAWMCx2sDygk7gPSfJFWVWuIzGLqWka1JBKMwuh4i+/ DrqzlSmQI15r9F9Qfa2ltyk= X-Google-Smtp-Source: AMsMyM4HrODj6H24mhpZVemsRsRcM+NmoVlMRSW7YiLZZF1N5zcl36n5CVFs/YVU7X6NX3Cy+YBz1w== X-Received: by 2002:a17:907:6d1b:b0:7a1:11a9:1334 with SMTP id sa27-20020a1709076d1b00b007a111a91334mr1145597ejc.131.1667488724383; Thu, 03 Nov 2022 08:18:44 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e36546.dip0.t-ipconnect.de. [217.227.101.70]) by smtp.gmail.com with ESMTPSA id r9-20020a1709061ba900b0078afe360800sm582609ejg.199.2022.11.03.08.18.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Nov 2022 08:18:43 -0700 (PDT) Content-Language: en-US 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:246976 Archived-At: On 03.11.22 15:57, Eason Huang wrote: > 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 I do indeed see something like that, except that it is "** TODO test1...** TODO", i.e. the second TODO has the stars in front of it. Typing in the CAPTURE buffer shows the typed text in .notes after the second TODO, and the ellipsis doesn't move. I guess the second TODO should be/was on a new line?