From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6FYGFd97jWBEnQAAgWs5BA (envelope-from ) for ; Sat, 01 May 2021 18:03:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2MqcEN97jWB3JAAAbx9fmQ (envelope-from ) for ; Sat, 01 May 2021 16:03:43 +0000 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 B928114744 for ; Sat, 1 May 2021 18:03:42 +0200 (CEST) Received: from localhost ([::1]:43794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcs5l-0007RI-Q2 for larch@yhetil.org; Sat, 01 May 2021 12:03:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcs4P-0006tU-R0 for emacs-orgmode@gnu.org; Sat, 01 May 2021 12:02:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45567) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcs4P-0007YB-JL; Sat, 01 May 2021 12:02:17 -0400 Received: from [78.194.183.21] (port=50178 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lcs4K-00087O-Gz; Sat, 01 May 2021 12:02:15 -0400 Received: by guerry (Postfix, from userid 1000) id 33A9B1A60EE4; Sat, 1 May 2021 18:02:10 +0200 (CEST) From: Bastien To: Gustavo Barros Subject: Re: Bug: org-insert-heading-respect-content before first heading [9.4 (9.4-19-gb1de0c-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20201019/)] In-Reply-To: <875z73br32.fsf@gmail.com> (Gustavo Barros's message of "Wed, 21 Oct 2020 11:18:09 -0300") Organization: GNU References: <875z73br32.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sat, 01 May 2021 18:02:10 +0200 Message-ID: <87bl9ufnnh.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619885022; 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; bh=3jj7U1tRuPyR2vsBWrYVdq/xka9TjSjDFhXEFnm/p3M=; b=Ucyq0BKPXuuXt++5JIzFxTIm0W7GGaoxv2JsCGrgkm1Ws2SA33QzaSB+6g8hDkzt6+2Dar rp94ku5WLhcXhVwbaAe5AvZFGDcLczBZZ7lsIYAplEXI7aGmO42/SG5y7SN3yqLs00HcNc vgXY1abt59THrMVGbLHtDuoDGOF4vwInDRG0nK6a6Wy46qiMTC5QfMkdJeUgcxVc+cyTjE S13gnOIkvVzQ1FiZysl0N96QBSkzy+/ACECxlq7KL5yemNOejPwcK2WbyojQ9sz49qlmaM Z8ITQ9COpeL2wWKf3YQyJr58WU/0OGDKupUWh07Usua0/D2T4bmjc9HEUpbQxg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619885022; a=rsa-sha256; cv=none; b=B81jviCF8hepdLQmvSc1D13f3oFLQL8/3tvRWCzf5rFhb/WYwNg5gnGct3K5wed+4OdAI1 dxjrBgg6IGrOZpDw4aCLnQqdGzjjcSRkFxEoxCw+g0uRJqkop3oXPvUC0vZ54aKEoUaUy3 UaTASBcDdmxO2uziTpYxVCr3EjSM73epoCYTZaUbd6iGTFj0BmtjvqL6imZr/SFkaXr1q1 PmJXChxmjS/BW9A0G30WFZXtmZ8Uzval+MIdn/HI6wvWHQjuEJU+pT6fOdVoN86RQ7QoEd GouN8QsMurB2F26SqT9qehTgXMpA+jx22S2cIxp2BfTSLLmfFsM2UpavX5+zPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B928114744 X-Spam-Score: -2.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: vlK1VHzuQIY4 Hi Gustavo, Gustavo Barros writes: > I just found a misbehaving of `org-insert-heading-respect-content': when > it's called before the first heading in the buffer, it breaks the > structure of that fist heading by inserting a new heading on the line > the previous heading existed. Fixed with commit fb3030188 in the maint branch, thanks a lot. Please test it and report any problem you may encounter. Thanks, -- Bastien