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: Tue, 1 Nov 2022 08:01:13 +0100 Message-ID: References: <87eduohyds.fsf@gmail.com> <834jvjdwwl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40735"; 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: 58928@debbugs.gnu.org To: Eli Zaretskii , Eli Qian , Stefan Monnier , 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 08:02: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 1oplI4-000AR9-RX for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Nov 2022 08:02:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oplHg-0001AO-Ln; Tue, 01 Nov 2022 03:02: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 1oplHe-00011L-Il for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2022 03:02: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 1oplHe-0007AF-AB for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2022 03:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oplHd-0000hM-V6 for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2022 03:02:01 -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: Tue, 01 Nov 2022 07:02: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.16672860832625 (code B ref 58928); Tue, 01 Nov 2022 07:02:01 +0000 Original-Received: (at 58928) by debbugs.gnu.org; 1 Nov 2022 07:01:23 +0000 Original-Received: from localhost ([127.0.0.1]:42541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oplH1-0000gF-0z for submit@debbugs.gnu.org; Tue, 01 Nov 2022 03:01:23 -0400 Original-Received: from mail-ej1-f49.google.com ([209.85.218.49]:46936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oplGy-0000fy-Oi for 58928@debbugs.gnu.org; Tue, 01 Nov 2022 03:01:21 -0400 Original-Received: by mail-ej1-f49.google.com with SMTP id bj12so34797215ejb.13 for <58928@debbugs.gnu.org>; Tue, 01 Nov 2022 00:01:20 -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=1Z7aZagw16dK6Uyagl9pTkeJ8uvaUkwwx8VB1CpIMuE=; b=SmeM6NeNLEc6kkmtziCQzcGkSGt7hkKLiRCZlqxmEG8ZGD4/qYw9Hbi33IUXU0WGeO I48A2fFCiGi0HzPdnBQSj6enPs1LvcC6ilbgfky/MYkULCT+yyDLnYtvcscli+9l2Zt0 xnYZUo2Oqwx/gKDnUQx5BDedFT5P2aXU6lKTEeV/Co3CQajGobPgt8RexxI8W3vU104K JUHVqrP9gVr1mPuwpqZLroabGs9fvrHLeT9jLAIrJABj4Qk3it4mVKSCL1e41gchs8jD anHgl+m0xlWuF+kdRyYnhOZ5JZ06MnI3Fq9ED30F5aAXr1EuWK1HfAc8uPhsY0dB/2qR AGqw== 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=1Z7aZagw16dK6Uyagl9pTkeJ8uvaUkwwx8VB1CpIMuE=; b=XyWaRE82xSdSrNCHn356ff6E1LLJ6XBjeOc4QU93STm1iwZF2uqNHL1GYQrZYql8xm xPT8FoLg7OU1X3naStELNdEFqSz6+Ms+HSOPhnPuX1bnemVtFwHxIG2b3jpFmcvJmzA2 5JLX9CDe8tVo0OTqDbt3b2AQVFkdJpOexXmLJ+24nazrIk9KVyK30GK2bqgVB0E099ki FXInZusXEP1EL5JllfsIr4Kau14HsKWy1tpyh9ptNJM1nOAylnfoy0MWpZFHtZXeqtbU tgjlbfW9ggVxtlE3zSb/DW8jyMHNIa4tZH10LRySjzL3YIiKx9y2Lvl87EUKVEFG8W5Y qfBg== X-Gm-Message-State: ACrzQf0LVS4Exb9O5gpSqDhpl4gTKo3gEEkZSuR7kI2igJZpzFj+4vh8 eDVGrLkeW3vQhfYZRxfWRyk= X-Google-Smtp-Source: AMsMyM7El/+3omLSxJdk/wQSCYRh9S8jnpCpmx3pEaPryG9I+7pTKhOy+S8OQPuDIdd3lB5MFJ/1Xw== X-Received: by 2002:a17:906:5d11:b0:7ad:4a55:a3fe with SMTP id g17-20020a1709065d1100b007ad4a55a3femr17749906ejt.185.1667286074801; Tue, 01 Nov 2022 00:01:14 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e36358.dip0.t-ipconnect.de. [217.227.99.88]) by smtp.gmail.com with ESMTPSA id eg35-20020a05640228a300b004638ba0ea96sm1351069edb.97.2022.11.01.00.01.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Nov 2022 00:01:14 -0700 (PDT) Content-Language: en-US In-Reply-To: <834jvjdwwl.fsf@gnu.org> 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:246746 Archived-At: On 01.11.22 07:14, Eli Zaretskii wrote: >> 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))) I'm not using this part of Org, and need some hand-holding here. I've evaluated the form above as-is in *scratch*, and done the S-tab. I now have 4 lines looking like "* DONE test..." in the buffer. >> >> 6. Call `org-capture` in test.org buffer, and type something. M-x org-capture RET in test.org asks me what template to use, and I choose 'l'. I then type something and hit C-c C-c. It asks me to let it create a directory ~/org, and I let it do that. What I see after that in the test.log buffer looks like it did before. There are same 4 lines. What am I doing wrong? (This is current master.)