From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 UIlKGAB5sGIbGgAAbAwnHQ (envelope-from ) for ; Mon, 20 Jun 2022 15:41:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sMc9GAB5sGJRHgEAauVa8A (envelope-from ) for ; Mon, 20 Jun 2022 15:41:20 +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 1D2CC32524 for ; Mon, 20 Jun 2022 15:41:20 +0200 (CEST) Received: from localhost ([::1]:57072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3HeZ-0003pF-5Z for larch@yhetil.org; Mon, 20 Jun 2022 09:41:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3Hdd-0003ms-10 for emacs-orgmode@gnu.org; Mon, 20 Jun 2022 09:40:22 -0400 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]:38691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3HdY-0002oG-GD for emacs-orgmode@gnu.org; Mon, 20 Jun 2022 09:40:20 -0400 Received: by mail-qv1-xf33.google.com with SMTP id p31so15870164qvp.5 for ; Mon, 20 Jun 2022 06:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=2lSg4QhaPeTkdItwNh4ReyU513xtQAepFQr+uhzUvfY=; b=HwhmA50+nG7PS4KiD908zavvOUsAvW47f+CvwXHY6iLITsGMiEt4+Ib1GgVWqdZIfJ 2/jp6WlTX3IW2QJurJH2/+Ma/ZZiCYkQIXd3PER7xfNMw2GNLEy6x62N74wtEQfflG5n aQRRHPA56pKikyPIgj/c+n5DA1tfr6H1IG4hw1QR6YAV8nkwKk+1DVnkodSKuVBwOAzI Jkg7QfDPGkSA1BheyE8jAtdjhKSsXTa/J9/8HtH77bo8siLP6Pk/yEOFiveD/Biio5OS hGQ6AYFwMvjEhoD1DlvUJtxqOEPvDuqNlFOh2ln/PXn+TCix/TwAlO+JzFKhGLkiARXf u7jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=2lSg4QhaPeTkdItwNh4ReyU513xtQAepFQr+uhzUvfY=; b=zTmi9BW4ZH/HAtv2rXJP8oZQVj9JnwDdUzrQH5l4tXJmhwoSECuoshh5QxvQzPQLqY nEULqApH5aEenywe46eU6ZK00lYROtvDXdjY0N0Our/hf+Q/AQ/+PIUVjS/2Op+8d1yS FdR0xnFFjKcHB1YyYaoiN5TUrvitUfBT+JXm8v7eT8kbtl5nzOB/eEP7FO5ocjiS5ghA 2JbvkYHyncrWb3zzt3s1r2T0tQjDIHzBR/RMLoRAW8e8LB5HsN+9bvZAuX7gBBJHBqxx +Pqb18Tj8KGSFVNSl5R2xF/SsWIohX7pDRGac6Lj9Lpmkvpa/h8V3kcfMHafsmcXPWHP BGBg== X-Gm-Message-State: AJIora9AfiayoFvm2DsYfsqr6eKtVu0NPj2V4GYF+JCqemHgQZAR+eRJ hcuObIkpGq3Y82tpFimJMsm47kxJWvgOkQ== X-Google-Smtp-Source: AGRyM1vFwvkHfALw7Q/Mn80u++T8/OIk+SS/X+Pmk5tBgn8ZJFqHiQJCQOoUvYS8cjOBemGlLcx7cw== X-Received: by 2002:a05:622a:120b:b0:305:1dd6:86e1 with SMTP id y11-20020a05622a120b00b003051dd686e1mr20129346qtx.615.1655732413420; Mon, 20 Jun 2022 06:40:13 -0700 (PDT) Received: from localhost ([66.150.196.58]) by smtp.gmail.com with ESMTPSA id bk39-20020a05620a1a2700b006a6edbbca84sm12670338qkb.94.2022.06.20.06.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 06:40:12 -0700 (PDT) From: Ihor Radchenko To: Tor Kringeland Cc: "emacs-orgmode@gnu.org" Subject: Re: [BUG] Adding note to heading without newline at the end In-Reply-To: References: Date: Mon, 20 Jun 2022 21:41:24 +0800 Message-ID: <87o7yn3117.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f33; envelope-from=yantar92@gmail.com; helo=mail-qv1-xf33.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655732480; 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=2lSg4QhaPeTkdItwNh4ReyU513xtQAepFQr+uhzUvfY=; b=UAD/B8q8c9fj/jVkoJZ4m+34aBO0ldw/jjFIP29UwZLVfEsfWHMt8vgSqB8tmsgqtVM5c+ LT4aDSQl6+GVoQGzJe4AX1kywKtjHl8VmCa02QSycGWGtIuEytF0c7g4LQo26LtWFtKXdp VklUtxpE9KCibvdFfJMh1SKAPIFbIbqp3Rc8+DBkGEgo8vyydLSlp+dfwkcBtpBVytLXLx FtjG5UDBsGzTcWEJJG79l+LLASYH4qjF/8i0DFQkkPhT/KvKxCZKgSHzuzTBAa3g0TWaXi YWYqMs3MT5xio/cVA+sfRCNODZoYMQgo2OKj7DwDB47lOmdIEa7kJXjBHOoVbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655732480; a=rsa-sha256; cv=none; b=WcUMXf99ThTGd7XxG4K6rpv10yXTpRvcRsygM/pJaBLmt9Ki3EWo9kVmb2XammEOwmY+pO Y29oHssEMk0Ca/efhSIxh8WviXDXaw7Rw20vsakldIGInY0itq5dZfVE5RvoBorMu0QcX+ k+OoVmt1P3Ly+AHwD3HGgMMuS4aZtMyS0ABrZ/ZZdmPBUGdYrrzs0KyfOpt3+S6e+EkGe/ FRw61/ETLmCK5DYdjZ9mcD+rGfAaviAlx6SqCMusm2bhytLF1RTJt5hsMA7UNyz2khsKsV nXayMwwgpLTdwAFs6zJkCDkWc9Xbugg8idA6IQ6sk4ojZwWg2MPV1Z+C1EnTag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HwhmA50+; 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: -3.47 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HwhmA50+; 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: 1D2CC32524 X-Spam-Score: -3.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5auMd1oj5Uf1 Tor Kringeland writes: > Consider the following buffer > > #+begin_example > * test > #+end_example > > without a newline at the end. Calling `org-add-note' will result in an > error and the note being placed /before/ the heading. I am unable to reproduce. Can you reproduce the problem starting from emacs -Q? See https://orgmode.org/manual/Feedback.html Best, Ihor