From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uHvZMz2ex2UBGAEA62LTzQ:P1 (envelope-from ) for ; Sat, 10 Feb 2024 17:03:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uHvZMz2ex2UBGAEA62LTzQ (envelope-from ) for ; Sat, 10 Feb 2024 17:03:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VHwTzz2R; 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=1707580989; a=rsa-sha256; cv=none; b=SVj82lKHQbYp3R0Oozah6MkFNnwGo5Q/sr1T4Xf9KtGDKvGCiLH5mrxB0W7hRCvxsOjOTR v0aQkI1iTVdTabJL2dvXEJTysr6AYZ0ph++nHhQhptaaT2c44gAWP/PufyEVcX9RvU8f1m 5Ke/dpkQ0bVsNLcFk65Ey8LL7+R/JLZvsm2UqsXNx5ehDdSZ5tIlXjfKY4f7HlQo5FTLt4 Jn49RrFYrzHbCavUt81p6mbjHeCKMRROian0jXpNONHjTQzmEQErprHjON4nCj9jHiiW8k 1eC8NGNogqSi3m7mOWsqI5Awx1x22PJppCx3rB3IY4F96WrwZqyqOvvSbfOf3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VHwTzz2R; 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=1707580989; 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=nDgl0bWDedi71y+suN35GeyISpZLny1S1YLUNfqnhLg=; b=aXbhOftoIuNhXau8FDyozC2du1DalUWsZpDC3qRlm4W7j+6Ox/NuURjv+CVAHtyrxzqZGm blJVc+2Q0gA6nReCLvGTeJ6M7Ny5gMSpxWHs7wgsvz3+5eRg+i+PAMZoK4yoxf1Le7Rq8E JYOdUzhBjFFpeLyuRe7UypWESsRyySP8wZLVfv1DOPQXipXbrSNT6vYytIr0YmQFOFssq+ m+zExlTvKwiDbtdTC9hdEGkEVVA2sv8fzQog3VurtmO/yBSNcaGmSLcqfjnr3W94Cq1T+j 9nmahJYEFrGdD3HAbMHx5Ic2Tsexs5jw0XR0R4ri49hdiZ3rHAuh4JkIPKGb0w== 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 A6B422161C for ; Sat, 10 Feb 2024 17:03:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYpjW-0002lY-RY; Sat, 10 Feb 2024 10:57:38 -0500 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 1rYpjW-0002lQ-0N for emacs-orgmode@gnu.org; Sat, 10 Feb 2024 10:57:38 -0500 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 1rYpjT-0006jW-VA for emacs-orgmode@gnu.org; Sat, 10 Feb 2024 10:57:37 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7C912240027 for ; Sat, 10 Feb 2024 16:57:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707580653; bh=0carOo/C+/AX9WUJdj5y6jCYjXKNbHtbDTeRJZTtfkY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=VHwTzz2RbFZnCz2YtqVYCzPYjHUXhC0PZlP4VOmJ2Kct01WiNzzETqgwjzy5uG7Pk qzX99fdn6UJj+rvsXqYQXn7sp4f7x19UG4lygSc8bQURUj7whI6j64vGtpj9tqLRXN Zqnp0JE54IjtzuRF42bzOMkWjIOkg5BoeEgxzgVSkO+OLqzpcRshn4r8AemcHWoiSP IBNdl2FldC3Os/f2Uh3156ZzsPlb0DwuCPm1tx6yQh00gBIjdrqlDBC7oMZYcQLsnN WgDH6GBTuw8Lzh23xDNENd41BsI60gW50wihWVhp4ltJoH6cIv0WtFcbgasdYdNXp7 5obXHQdP/1Hiw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TXFjS5pHsz9rxD; Sat, 10 Feb 2024 16:57:32 +0100 (CET) From: Ihor Radchenko To: Michael Dauer Cc: emacs-orgmode@gnu.org Subject: Re: BUG: (org-insert-subheading) fails when on true begin of line (first star) of heading In-Reply-To: <875y8w1qox.fsf@localhost> References: <87wn1f41ji.fsf@localhost> <875y8w1qox.fsf@localhost> Date: Sat, 10 Feb 2024 16:01:08 +0000 Message-ID: <87r0hke2bf.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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -6.91 X-Migadu-Queue-Id: A6B422161C X-Migadu-Spam-Score: -6.91 X-TUID: z25XU9CjkZe8 Ihor Radchenko writes: > Michael Dauer writes: > >> I understand that it's behavior is derived from org-insert-heading. But IMO >> that does not make sense for this function, advice all that it is taking >> the current indentation level as basis to devote the new heading as child >> of the previous heading. It e.g. created a "orphan" grand child instead of >> a child. > > I tend to agree. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=cbfe1354b -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at