From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aL0SBKKz4WTTAQAASxT56A (envelope-from ) for ; Sun, 20 Aug 2023 08:33:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qA9JBKKz4WQPHAEA9RJhRA (envelope-from ) for ; Sun, 20 Aug 2023 08:33: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 A59E13BA39 for ; Sun, 20 Aug 2023 08:33:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YUpsp4s2; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692513185; 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=clg1RmBVzBFH/xVUkC74NufUUrNNeHJzeEwAvnJuxWU=; b=OfS+W1kh5vW0EQCEB34zZm0VjYkt6ToyJAp6ZFTFDQeZnAaU4511WJFkSCrYHSoIz53hHb JSHuSRl/PuhSzXuldbUE6PEH6ySsz4hvFYdbNanj1bJSULele/SZGX1gqy79G79AJ8deNW wp1WJJ73KjlUFJv3OUSBIp4Q5wN2APRV43Qq7elB2g5ik4Q5uAGjfvGfv72G05xPKkgp4A ERGfMfeDAow2kxMb3e4YXMgYwvErRZyIKtWk2F7EoiIKF2Tr/DGkiKMse4rysryu9Q9yp6 lXG8ptGPwBHGhl+rizqfqnPWZ2WAM7nW23jZvJCVxEEaKmVuFS/r4SfHyHaFNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692513185; a=rsa-sha256; cv=none; b=uzUTuZHJWvSxHb9t6jgDf7jvdxkrDWZ8x0/eGiqwVjyAvA6+BrAIjwitMj4C49xDFNsMMN 36qlyjZtoEtEN95QnERNzY0LNSH9s+52ckuQx+S/ajWGJhqfvdWkGlEypsRSrLS1SuPFX6 U/AaHrGn9lh+nt1IvVH70b9RjKLH+5jJlH/M6M/OICEyl2u03FnmqiBmTV1uMjDo9P4rDS uTm6hr4o9fSILr18PQrp+Q3TVSGG93EkWI8W/PBit9X8ZpMlGX33P4FLyywIlp5U0V55Pc 1dHHR1nJi43afGwYgqNrb2CLdHZB8lJV+uFmYPc58nTpLC6+NNeGWDUfKnfQPA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=YUpsp4s2; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXbz0-0003pM-6X; Sun, 20 Aug 2023 02:32:18 -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 1qXbyq-0003oT-7U for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 02:32:10 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXbyn-0005wP-Ck for emacs-orgmode@gnu.org; Sun, 20 Aug 2023 02:32:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D963B240029 for ; Sun, 20 Aug 2023 08:32:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692513122; bh=Ov/0lf7fXptQLyoIxza123wbGPZz+MAKNAa2H6HDSp4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=YUpsp4s2vaHOZFslCPef8cagEC7amdRrGpPkomsFJ0jBtqnSqsZk2PqZH73KuQtj2 6/UHhnOSECTQvqFr1rack4umZoad9b5YrKauEBjIc9wSvSEbyjfxt4c3TsIm+KgMJP 2q5gVgMWN1md/OgJGo6gCrzkwpGPlkSugY91pDv8S+WXs6yHZIxEuiU/ROfacSNIJC YKZGJf2UJIvC0TAiuFzvF+VeS0LnqZpjmXSJUlSA3FGWxWv9mbHV4bRoVB+grgJZLB BZdYv4nd/gVWO7o3LShqbLUwZuTh4hieprDIzr5vcYwA2zHrlaBytRtwRki947mcFK P1bttnt1kL8NA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RT5PB1z9Xz6tvh; Sun, 20 Aug 2023 08:31:58 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Inconvenient end-of-file behavior in org-mode 9.6 (emacs 29.1) In-Reply-To: References: <87edjzo48j.fsf@localhost> Date: Sun, 20 Aug 2023 06:32:23 +0000 Message-ID: <87v8dady14.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.47 X-Spam-Score: -8.47 X-Migadu-Queue-Id: A59E13BA39 X-Migadu-Scanner: mx1.migadu.com X-TUID: LmQveeOhx9Kr Max Nikulin writes: >> Fixed, on bugfix. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=52bc95676 > > Ihor, I have tried "main" and I confirm that at the end of file behavior > has become better. Unfortunately newline is not added in the case of an > intermediate headings > ... > * Sec1 > ** SubSec1 > ** SubSec2 > * |* Sec2 Wonderful... an no single test has failed. Fixed the fix, on bugfix, adding a test for this. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7b38670e6 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at