From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cIIfJXqlVWP+PQAAbAwnHQ (envelope-from ) for ; Sun, 23 Oct 2022 22:35:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gHQTJXqlVWM9AgAA9RJhRA (envelope-from ) for ; Sun, 23 Oct 2022 22:35:06 +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 3383A151BB for ; Sun, 23 Oct 2022 22:35:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omgEB-0006rM-6A for larch@yhetil.org; Sun, 23 Oct 2022 15:01:43 -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 1omE19-0001uj-8g for emacs-orgmode@gnu.org; Sat, 22 Oct 2022 08:54:23 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omE17-0005uG-Sf for emacs-orgmode@gnu.org; Sat, 22 Oct 2022 08:54:23 -0400 Received: by mail-pl1-x629.google.com with SMTP id j12so4672876plj.5 for ; Sat, 22 Oct 2022 05:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0ison7W5C1SuyQ1YjQbUYWiYL2Ob0QvT8225Um/BHlQ=; b=I3/DeQrxR4si4tcogiXzVcAa2xykycvcftYpcKck0ttyvV4Cbcs46BHpLbK9e22UPr 0OHkJ307IMQn675cHqIjXEAPCF/TwIRmydgjuvO9XbYALlzLDs1x4+e8qK1uAnTf6AOV 8u3nCZJkPbduxMd0t2qAbTxD2GQ7IugsDoPgQAcojkmaIYLcr5dlzYzFwjH5CLADU1kS iV5eeXNMt+TNVvl8zLgEedN4aMOCPAKnvKQLYDnNmXn4uOU4Bs7PnS8e1f2CIq/RAN82 sc/aWlYoXN22jDgWEZk06Ry0yD9I6QLbff5J1hw5Bi2WbU7JReYTtrYnfaaHaeX/uvUL ehwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=0ison7W5C1SuyQ1YjQbUYWiYL2Ob0QvT8225Um/BHlQ=; b=ZKhofJi0nXsFGHHQ7nLZqv1Uw4RSOb1moIral8lD0La+9hLmAm1KVhgZLmOBMUfy4m mq86/KX+zBOPBt4mb06EOfvbmMuYT5oqjnxfX7AWInS42SUwZOYwr12rtKGkQFdaiiE+ jhZuoKRbRvOcfODEa1FIDPk/aM58U4xxwuWe7s1iA4ELO/+9Xi0Hl+1WJt7YBEVbQpIr 0lVMr3igvZP+4IJDArU5o4+wg7C+vt5OfkC3YWlfeC1sIgFJbRjID4hM+JZZiuNpwir6 gxhxTrraJOAq7Ou1JG5nGgPOpKx/w7rNDMvkgn5tGBq2/nOpN+4Ku+YWwIMifTnmPKdG xLVg== X-Gm-Message-State: ACrzQf3wAPrO8JOCtFctSMVj7e99jcCGZMXLeOMyery8fMuSLwqr+XAH tp5b2wZdGzz/lPL/UIL+r5Di2SGUX2VZY4S7z+2Ef1uu15Q= X-Google-Smtp-Source: AMsMyM6yxcxr3f56+GknneCeO/kTvsMhTRbWA9AbQGlaVhe/goy51ofJh+LGx1lgD59RZG1Mxz9cPzmXXiSTRW4RFug= X-Received: by 2002:a17:90b:3804:b0:20d:4e77:373a with SMTP id mq4-20020a17090b380400b0020d4e77373amr63922653pjb.212.1666443259870; Sat, 22 Oct 2022 05:54:19 -0700 (PDT) MIME-Version: 1.0 References: <87sgqqq7gw.fsf@gmail.com> In-Reply-To: <87sgqqq7gw.fsf@gmail.com> From: Gustavo Barros Date: Sat, 22 Oct 2022 09:54:08 -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: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=gtvbrs@gmail.com; helo=mail-pl1-x629.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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.824, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1666557306; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0ison7W5C1SuyQ1YjQbUYWiYL2Ob0QvT8225Um/BHlQ=; b=qlJPYWpBT/oBxkiRcgdkIPsR1ZuWJCDdQUJJIOP8aRD3/OZ9WNqcqKRxYJlNnJW9kblHTj oAi3+YYGWiSCsenCpBf4muVG9pqySuzmBT7qJWjiHP4GupaJv3Ro/Wqw1/txvRDc0Dzx4f 1W8E08vyqqqJciySvZw1KbXph/goxprelxGuJYfsiMyCJzKPeveFzc7VpBVKXLf7eNe8gp QdWkboYTPN0lOmZdHUoc2fNBMWWieS/xelW1Q13yeBd/BwBeekPPHatkLvqqLmVkv/FV+h 5UN5fLRc4oV2ON3CvohR8U3ovW3vAm0C8RftqPEdrOmVBvLv2DryDPLJXiQsgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666557306; a=rsa-sha256; cv=none; b=kwmm+DetfxVo0W3XXfcL2UQwgVt5jr4zu7VsJ7s8hQpQpWQsdRn7T/iq1p2IAHOJuUzpFw Nj2IrdouNSG9r8phFZAGDbN4PL+4OTrC3/7sxXeydXQ0MH7y5zk3z6161gCFXcA0dNw42c 5kcITrBdZI8m1aRq3y1BvARsbzyGxJVCKKeGUH94foN1nm9E39Big4ytgmg7vdD1FjZ0Ae 7NTDH4r4xv7xgQ5i41WtGfDZtsG1etWvJQDTnXsH1Lqe5cZDc3qsEe5chfI7z58OQsXYjJ WxQZSVUbnwV+t/FqAb2fsC9/eYhv6gzMJIYHVvCudi/6YN5IKixOT5hjxxfysg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="I3/DeQrx"; 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: -2.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="I3/DeQrx"; 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: 3383A151BB X-Spam-Score: -2.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: nyiXAo4BRUjX Hi All, On Sun, 28 Jul 2019 at 16:34, Gustavo Barros wrote: > When the capture template ends with a newline character and the capture > process is canceled, the following heading gets demoted. And it > shouldn=E2=80=99t. a respectful bump on this one. I can still reproduce this with Emacs 28.2 and Org 9.5.5. Best regards, Gustavo.