From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iPIjL3qksWJqUAEAbAwnHQ (envelope-from ) for ; Tue, 21 Jun 2022 12:59:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EHgXLnqksWINggAAG6o9tA (envelope-from ) for ; Tue, 21 Jun 2022 12:59: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 0A0DB98CD for ; Tue, 21 Jun 2022 12:59:06 +0200 (CEST) Received: from localhost ([::1]:48282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3bb7-0002G3-4q for larch@yhetil.org; Tue, 21 Jun 2022 06:59:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3baa-0002Fp-0s for emacs-orgmode@gnu.org; Tue, 21 Jun 2022 06:58:32 -0400 Received: from mailgw201.it.ntnu.no ([129.241.56.178]:36270) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3baX-00020X-6u for emacs-orgmode@gnu.org; Tue, 21 Jun 2022 06:58:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntnu.no; i=@ntnu.no; q=dns/txt; s=s1-1909-ntnu; t=1655809105; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version : from; bh=yj+w32pnC60s90paiY3IAY2yWb4eFucQ4l9CTJZ+K6E=; b=nA3ubWBlwlptxkbHcCGZygLu7wQV1owfNllxbg8Ke/+eNAj6J8rswi6xlvithy9rGHian juUuxTCaN5qMKF1yOY3ld0OS75von2ryoXDeri+u1/D3QO4bC2+mZPlTZqD2+z9mteb7VP9 huetAVMQXWHcFCMNTPzUEhangVBF3jE1QGfiBys4Eg7201EyeetCso+cPEDwvPPXRQkIzF0 qf5J4jqoZa5nJTIdxFmjj0NhHc9NdKpmBVldPtPb5dKhi/zpHC6YIqOX1PIeLGT8SjfVMeN 9fEEtwG6Zq8IUlY8dzC1ysBGJQOmyspF9GjR3pz/hGvwM/yZVkBWCPNQruvA== Received: from localhost (localhost [127.0.0.1]) by mailgw201.it.ntnu.no (Postfix) with ESMTP id 9E98C900F4C; Tue, 21 Jun 2022 12:58:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mailgw201.it.ntnu.no Received: from mailgw201.it.ntnu.no ([127.0.0.1]) by localhost (mailgw201.it.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gDGADNiVVZGZ; Tue, 21 Jun 2022 12:58:25 +0200 (CEST) Received: from NOR01-SV0-obe.outbound.protection.outlook.com (mail-sv0nor01lp2048.outbound.protection.outlook.com [104.47.30.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw201.it.ntnu.no (Postfix) with ESMTPS id 4AC92900DD8; Tue, 21 Jun 2022 12:58:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zs210vatnFPD13VpPqnd6BTH7v/L4OPRUk1m+Lw91SIq61hWIG3OC9GR/JQ8eHCZrbmJ93ske2goc4V36/B+nY5vLemAIdrMynuhZ7aUZiiM+LV23xdwQhak+LoO0o3DIeDOjVQ2hJUMzUev8+eZt5fB2nXi5G6SPso/QNFfF3zstnSnYBUdZnLtcIgTZkmy4JFi4ohYB9AxrAA0wPJM9cPqwOoXsM/TcSJ4OyGRWgn0nrrYaUdRjMjWdVc5a0uYQ7V4EtaV/cz2Vo3Gep57bUzUzoX4wovhhrEnNkAey0ErwE1uIgQP2omE7r8ff2DkvCGtSVwWwfDKPGOPYT5qfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9Wub2VuvIOWX6L+EXQu7hzTS1CTIKkm8ey97p3kc8ak=; b=T5GsVPf7maFuN6g8nal7y4jIcCkSccQJRyRrTlNAwSjp0x6d2Fa6Ve2k2ZM9dahVLcV7an1ZCC2hZTrpbNse3HuV3aQdk6+5crzhqeYqZ1RMtQYwhh6FQImPGNlAPjsjX197oN6JK7I7kh6o/Vx5cQ5Mf3yTkS7Pi8tygSPXEbd5PM4h9QBOOxUM22P9UD3B/L2pZrjaPuJMXF6Pw9o9y+LPzKLEhsK3GoIbViLkSFVmTfUIuug1PQmn5+4U0Q9A9U32ctnLI805pgc7jzRn+hnFxsbR8Ij1g1E4OR0drVJbbX550mDDJx+iHz6OxNiwx27NkwYAJ1XtUga/Bj1J7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ntnu.no; dmarc=pass action=none header.from=ntnu.no; dkim=pass header.d=ntnu.no; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=studntnu.onmicrosoft.com; s=selector2-studntnu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9Wub2VuvIOWX6L+EXQu7hzTS1CTIKkm8ey97p3kc8ak=; b=If2jjbSOgd1Z5gjSMqwKygMibWluvvxV3o7N3QdGifN0QUOMp/ag+daz2Qwlz8DlAZxHVOpSvUjSVT00xuPPd3CE1siE/YRqeGhnQXqFJlEmAPQAPp1POPSH4c2aItSUoOx2dO9pQkvltgU6oXv3fEXbPcLn62MH7RBiImHi0xs= Received: from OL1P279MB0194.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:11::15) by OS6P279MB0669.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:2c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14; Tue, 21 Jun 2022 10:58:24 +0000 Received: from OL1P279MB0194.NORP279.PROD.OUTLOOK.COM ([fe80::6533:db8c:602f:62aa]) by OL1P279MB0194.NORP279.PROD.OUTLOOK.COM ([fe80::6533:db8c:602f:62aa%7]) with mapi id 15.20.5353.022; Tue, 21 Jun 2022 10:58:24 +0000 From: Tor Kringeland To: Ihor Radchenko CC: "emacs-orgmode@gnu.org" Subject: Re: [PATCH] Re: [BUG] Adding note to heading without newline at the end Thread-Topic: [PATCH] Re: [BUG] Adding note to heading without newline at the end Thread-Index: AQHYhDyASblWoZjddEuOnSdcIRbfra1YTmQAgAAZSQCAALv3gIAAj4gA Date: Tue, 21 Jun 2022 10:58:24 +0000 Message-ID: References: <87o7yn3117.fsf@localhost> <87fsjysqhk.fsf@localhost> In-Reply-To: <87fsjysqhk.fsf@localhost> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ntnu.no; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6a1bb111-e6ed-4719-0cb9-08da5374f676 x-ms-traffictypediagnostic: OS6P279MB0669:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sXYEOE9H6DX/toxCavNNh4jJkaRSsxe3QdxtNtdxZmCICPPGfx/n5cT/bWHgIucCrxpMcICKYrrNG49BtUQPS5fzuWJoVLHkr4xmVXqYXHjodcrlbreA0r+E3HHzb/FWN+92NG+fKT4Y7Lts5iQlAJQ4Pym7qdcPfEFcTPzSWql74UoogFXDnnLWcHJmXdwhXdjUMVbq1MxEYClBtdw6lKMhrbC/KDbmsITRUPRnb6M/csuct2OFbuRAXXUNuqSpi7QEe8NV2Sj5XnrEH8M4+tmlNik+l+ZaD9yfPl/UXUR8giUF5vwbaUAdvfq9pTLe1FFLJG89J+O0d+LdxYtRM3sRq4m35fDnvL9/gT3f5BrzfpNcIcoF6XCZQSSV5UkJSWM6NFtcQ9vYKfeuZ+kMcZ2aVsXKnY0Zjv1W30iWkUzPd7QkW9XVbRroZyufvrPEoYNgRov3FLuSqfqS7R/1ZtKNvf5N+u2iQ8ZrABEFSyRoHczRrD8lHUXtU7u3T8GslUC9dsz3c6uRq6A5K3xYdcnna3VY3a9b+1zFwc92k2zwRLyE2pPr/pJ+yG/Uj9Sls8zY9pzk3+oUtSqD4wCnSe4bmmoOU3CPAF+yA1jIS7Fsk/PlTqSLEmU2bA5RMH4pUV+vmJngF7WXPWcU0awrYPVv1aoVOGl4Muse7IhH+IP4wf35lnEr2VeBLnusGdnwVt3GDo27Cbv+CDyVkG+itg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:OL1P279MB0194.NORP279.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230016)(4636009)(136003)(366004)(396003)(39860400002)(346002)(376002)(36756003)(5660300002)(38100700002)(6512007)(4744005)(316002)(2906002)(44832011)(122000001)(86362001)(6486002)(66446008)(66556008)(76116006)(786003)(71200400001)(186003)(2616005)(478600001)(4326008)(8936002)(6916009)(38070700005)(41320700001)(64756008)(26005)(8676002)(41300700001)(6506007)(91956017)(66476007)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?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= =?iso-8859-1?Q?slZ8266+/GrxACoPPlZi/FvVr3W3cTLo+Fy09mAAEqNlZvaQgEIo7F0jWk?= =?iso-8859-1?Q?7gG6bT5GAA=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ntnu.no X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OL1P279MB0194.NORP279.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 6a1bb111-e6ed-4719-0cb9-08da5374f676 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2022 10:58:24.2276 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 09a10672-822f-4467-a5ba-5bb375967c05 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DCZjTCJn06AxBBLq3a3bkZixXw6dAZax0s80aFdXBItaSdcsi1JIHKSk5WLpKz0oQ6SjleWU+TiFypc4cokV/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS6P279MB0669 Received-SPF: pass client-ip=129.241.56.178; envelope-from=tor.kringeland@ntnu.no; helo=mailgw201.it.ntnu.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655809146; 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: 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=9Wub2VuvIOWX6L+EXQu7hzTS1CTIKkm8ey97p3kc8ak=; b=WeM6aM3VP64qATPi7zstSy5ivOPyOoP4WsHE9ET17DrON94HA3eCh9BfJRtkBqw8H9gMpS 9Ux4Xu8fRl5AdTO+TrJyhNL+DwjNXqGSADk9A+ut+nwcgLhi65XtbpPWXc+qQDdJ7goroZ DxWAbow2fkwIN/Knvn2UFte9KUD5JxVqyqy7Ay/ffZKnzNlwHEAMHO9Wets9B3KQPx9Dwh dN++1GxuUzL5dEyAVKMhBOLcOpaJibOLcXp8IUp8iae4p/ZOgccxmuNMOSO9SdS6AOSeSm lPPDpFLOZ1AaQpYKq4Aqk6ZN/6c8uPCpUg7Gk2FBG2gZyqm6zNWCHas21j5c3A== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1655809146; a=rsa-sha256; cv=pass; b=P9EbYr0DuHsGZg02td8ATvvSPIKg2fT/yMkvM/FF+dnCDGPN6BWzzecy2j/lkfVznJiQiP hj2Y2z8krAP0nhsbVIllUt87Pj5nBQP2Rg5ksuUOX9dnK9fR0XXvKS8QHVCl9pvt5fklMQ pQpExwF266pUMr7uIN3u+hwg/g2sK4NHWXkXx0JRe6T20vABethnA7BPRJzahAoyVkOdw8 DPC6Cw7EW9P4hGqcWEgm/LACqvjGVm0DsREJMsehYWS2cJR7AaI0foMcB9PYi7H9BYmeDu q/mdG4VQzTZfIXsUJFVj51X3mBR/eh+w5sukrrPP2avRMlCRJQMboP9Pfh6pvQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ntnu.no header.s=s1-1909-ntnu header.b=nA3ubWBl; dkim=pass header.d=studntnu.onmicrosoft.com header.s=selector2-studntnu-onmicrosoft-com header.b=If2jjbSO; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=none; 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: -5.47 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ntnu.no header.s=s1-1909-ntnu header.b=nA3ubWBl; dkim=pass header.d=studntnu.onmicrosoft.com header.s=selector2-studntnu-onmicrosoft-com header.b=If2jjbSO; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=none; 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: 0A0DB98CD X-Spam-Score: -5.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: vrixwDZj68kM Ihor Radchenko writes: > Aha. Not saving is an important piece of information. > (said the person with compulsive saving syndrome) Thanks! This fixes the bug (which was present in both Org 9.5 and 9.6) for me. However, my original bug, which is only present in Org 9.6, is still there. Do the same thing but set org-log-into-drawer to t. Then #+begin_example * test #+end_example becomes #+begin_example * tes :LOGBOOK: - Note taken on [2022-06-21 Tue 12:55] :END: t #+end_example This bug also only happens if there is no trailing newline in the buffer.=