From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 4C+nNH/mPWapiAAAqHPOHw:P1 (envelope-from ) for ; Fri, 10 May 2024 11:18:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4C+nNH/mPWapiAAAqHPOHw (envelope-from ) for ; Fri, 10 May 2024 11:18:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SWQ2XZl5; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715332735; a=rsa-sha256; cv=none; b=azibCF24wjucoaxzxmS5hoFCWdCll3IXrsti26z/CGHmclE+IqYVf6WVl4Afo7fGfFR27F RqCp0LakvI1phJEFH1ocVl2Ol91s0YrD4fruAVsUllNYyAtqnpeG/AKjwTDGkezZcrkjOQ zOsaaXgcHj6p8iMOp9luktcoSpZHfAIxbLtVU454eDnk74K9UPcWfx8KK3QE9FWLMv3JwC sp+8DPKde3ytvTxBCS9drTZ9sk8g4xrHRxUYNI+T/IfJJ9f0Eb/xzEc5NtzQlD4TiN+Pis C/Ty4rqAn+hh4JW6q1X678EqbsNuuE51CrUusp9z43vuuojbEd6Fx7ximSglTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SWQ2XZl5; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715332735; 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=5QjsctoB7EFdlOkSq4bEHbJLFzssTO4lMm0DDUdQ0kY=; b=PBUT/t4GLtqqFyXuEfmPtFIRxkLR4+SFHcLoJrOrXLGbeLXoqTPYCdtny0dymsliWl6DPN 1SJH+h5gt2TUGkAVXCdmGB015SHUtoMy43e46bqOmRfL1OUOAOyhZeBiFvABa121SIJ7EB fZDAx0roiF+xNkYii6kbM189g0gxArQ7WZmmh+QEcHH7HAoTXo7CS5upeOdRfQdFNKSwvb b0kuRuMaI7d+LKM0ogww2M3dhQ4jrf2IVp7j3bkvt7nseSRiM6Vy11C/EZWyRsCJKfG0ZI UYIATkoNXbmKu9IbBZhMiGcTYF0sbTqY93TT63cgtl0enWDl6tFNXDyQJEAg5g== 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 3188C22465 for ; Fri, 10 May 2024 11:18:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5MOE-0003Xn-Hr; Fri, 10 May 2024 05:18:07 -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 1s5MOC-0003Tb-6l for emacs-orgmode@gnu.org; Fri, 10 May 2024 05:18:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5MO5-0000ls-Nr for emacs-orgmode@gnu.org; Fri, 10 May 2024 05:18:03 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2DB30240103 for ; Fri, 10 May 2024 11:17:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1715332675; bh=fpPqfEO1yZ7G6x2jILJC7Qeh+EuFOQwli7nwa6p494I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=SWQ2XZl5C+VbOg0f189Jgv9ItptY+zZsynTHwgm7G2K2Cd84l0rsESE3//uA+D8JS Wgw80IKOWZXokdisNlqTveo8sE+8/YOeGURHC2p2oYMDxF7mlao4ZOVsJrT0tDdNTe 7hajR7kW1P7yJBqDWu9BwPD5GjmOv3p4KceCa/7QIEbopFiXvwTpbTmcn/qDpGCsjH ukbwzmnmnHsT65jSqN3HtHgGieMYo42EGisxP4pIlZySVJMlLC2/QOdo1K2PkN5SyQ DA/ceRHfdTO5MfNoW2srSGu/mmXq75hlXez9jbWxCBqZp5xb1ut/p94Vofj0/ae9X+ abzbdFzumeEMA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VbNZp1CTmz6tlh; Fri, 10 May 2024 11:17:54 +0200 (CEST) From: Ihor Radchenko To: gusbrs Cc: org-mode list Subject: Re: [BUG] org-insert-heading changed behavior with Emacs 29.2 [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.2/lisp/org/)] In-Reply-To: <877cjl67z6.fsf@localhost> References: <877cjl67z6.fsf@localhost> Date: Fri, 10 May 2024 09:19:23 +0000 Message-ID: <87ttj6dnxg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 3188C22465 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.52 X-Spam-Score: -9.52 X-TUID: 1eawiLD+TxkG Ihor Radchenko writes: > The number of blank lines after newly inserted is not defined by Org > mode, unlike the number of blank lines before heading that is controlled > by `org-blank-before-new-entry'. > ... > Would it make sense to add a new `org-blank-after-new-entry' > customization that will provide explicit user control over what Org does > when inserting a new heading? I studied the code closer, and it looks like some parts of Org mode already use `org-blank-before-new-entry' when deciding the blank lines after newly inserted list items. So, instead of introducing a new customization, I went with making sure that blank is inserted after new heading when that heading has blank lines before and there is no blank before the next heading. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f64c8a5a5 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at