From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MI2nIv+GVmPedwAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 14:37:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gGOQIv+GVmNv6gAAauVa8A (envelope-from ) for ; Mon, 24 Oct 2022 14:37:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 668507F3A for ; Mon, 24 Oct 2022 14:37:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omwBk-0006uD-Qs; Mon, 24 Oct 2022 08:04:17 -0400 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 1omwBi-0006sv-4D for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 08:04:14 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omwBg-0000iV-JS for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 08:04:13 -0400 Received: by mail-pf1-x436.google.com with SMTP id g62so4757473pfb.10 for ; Mon, 24 Oct 2022 05:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZIOG/QEA3iPq+yOa/uEtH8PMv/rFzUx2cAQkwFUH9Eo=; b=gr0E4tw40jfkIjt1nnquBr9cn5Ukmpj7GpZvZSb3SFj1owj9XfUBRA5+37BgWM5+aj 2FTOpXHR5uo11r/BYmCV1cnN4qeQ/hsXekzXptTVsQNYyxWGjub2C9BBq4K2uV8/nV6l jqBwlSYKlHI1QJWzh64GnJvObr34cNYsNWEBIEKrBHEoOOs75jOI12NKvvsKI3v46kZV YOtMH4oZs+YDWdyiwarK6AxRBZk4IAyVytEO09ixM/FrGdjAeUKG7V9QvLv6FnL8uiU5 kPpend5eqrHhwfhb4QbNDB0Rgw1zs8znxVmj0li0K2o2wzGvWZF27n5H2IGTzzQFhNDR v5HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZIOG/QEA3iPq+yOa/uEtH8PMv/rFzUx2cAQkwFUH9Eo=; b=FEeTjJieTsk7KXOov9uRzDVhc3obevef9iDxRud2D+MuyWmnVcXY80NWe4jp4+Cul3 8VfAHamwQd5xDZrenP+uf5kRR33p1O46HN+9+T6kEsW0iwVvpuZYYFqLLK25w7nKrKEf JXHy7ywFTUhrtnEoD7mctXd9wXGVJfiAWaczxDX85MY1BPymLaUzQsP4+1rRB7DLZvZq hpxzJIRRWBTEO+BHSR1y8RoE2SBa60GJ0I8JxW9WGBjprgPlSALi7sr6iM01UKsuHgaF /EagW5kzeK6GdbLMmyyuIpRnt1s0Ws8JE6pCwj1OiuLYXQo/0LPqWgoyLpNhsBGYiGG0 BBDA== X-Gm-Message-State: ACrzQf3aFcvDaHMM0cX0JwR11ctqw9QUQkuCexCTosf2+/2pVtKM5REz HGwxjhtZnFq5Y2+c+0QsmjKiyDKAttd1thgJSLk= X-Google-Smtp-Source: AMsMyM53OZiHcJBZia3z0h530aOM7IppwaeOQ3U3cPR5sNDerijfONuEltCJJPN+iqfofL8vYJ67eroCJD2tpZUQF/E= X-Received: by 2002:a63:84c2:0:b0:46e:f239:354c with SMTP id k185-20020a6384c2000000b0046ef239354cmr7832111pgd.147.1666613050878; Mon, 24 Oct 2022 05:04:10 -0700 (PDT) MIME-Version: 1.0 References: <87sgqqq7gw.fsf@gmail.com> <87v8o9q29c.fsf@localhost> In-Reply-To: <87v8o9q29c.fsf@localhost> From: Gustavo Barros Date: Mon, 24 Oct 2022 09:03:58 -0300 Message-ID: Subject: Re: Bug: canceled capture operation results in demoted following heading when template ends with newline [9.2.4 (9.2.4-11-g1c3eae-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190722/)] To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=gtvbrs@gmail.com; helo=mail-pf1-x436.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.998, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666615039; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZIOG/QEA3iPq+yOa/uEtH8PMv/rFzUx2cAQkwFUH9Eo=; b=ua6EGofk73uTNCYAiVKfAEK+okr8SX3YUErsei0ZO00aJuiqw3Dn/ZG516M4pvmtPpoJKN MVh7C5by4Bemh1OAjmnGpG8NT2ayvbNNuLWWKbvhK4DCO/1TeJ9Q5uLabRlRFuFNy70hoU QM2ujiW+Q1RefdumcUzA1uKkuOtcP1pnjLWK2uFqRvqNTNyCdHK7nCkMREuws+gvyQo9JW f6UwGCeyKoV94q/sb34TmsHUVfS6v57nCD704rsar7d9p+zX36QsCjLBp0bH3kLPs0q5fI YeANTMqtngonEPaIdHaNOfckgOpujAkJV807j7BDF87bSGSIspH1U4gdYSDl3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666615039; a=rsa-sha256; cv=none; b=MSBU4pxhtLxcDKjG6mo5U0Lu6xlYCxGbY6CxtAHDJiIlRoJ9PGpVkMjUkV23iDRdN0vM9o vG9GHb9sfXMmvekw/iYy7tEz0+gOH5T9yJyp2O4ZsSge2rGhuj4xPpw3L3kCsgHuFNZJPe LFRMw4uLQYAQffOH1z9Bxko/hR4bF0D4tA09PkdKw4V+fgwGhDXm53A2D0pIrQ/poIh6zF TzrL067RL43UT95ch42QFxtJ0qgm8zBSGdtBzmsvRWhgjmp204UriyR4OjsVwOhAv858Op t4t8iZkmsqK+wqE6ONjCnDYnrRu5LQXziWULOF+p7cVem2PS5f+txR/KKU+XhA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gr0E4tw4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gr0E4tw4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 668507F3A X-Spam-Score: -7.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: rCZly3xEltO3 Hi Ihor, On Mon, 24 Oct 2022 at 01:21, Ihor Radchenko wrote: > I am unable to reproduce your recipe on the latest Org main. Indeed, I can confirm! True, the empty line between the headings still goes missing, but there's no longer structural change which was the real problem. And, sorry for the noise. I had assumed that for such an old one the latest release was good enough approximation, it turned out it wasn't. > Note that we have several capture-related fixed on main but not on > stable Org 9.5.5. I was tempted to call the "lucky us" card again, but twice in a row makes it unlikely. It seems that what's really going on is folks working hard for the upcoming release, which is much appreciated. :-) Thank you all! And particularly to whoever got this one fixed. Best regards, Gustavo.