From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cEcgIzm7xWKgCwEAbAwnHQ (envelope-from ) for ; Wed, 06 Jul 2022 18:41:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oJ8QIzm7xWIEOAEA9RJhRA (envelope-from ) for ; Wed, 06 Jul 2022 18:41:29 +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 1CE5C3BE9C for ; Wed, 6 Jul 2022 18:41:29 +0200 (CEST) Received: from localhost ([::1]:36864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o985f-0002jW-VO for larch@yhetil.org; Wed, 06 Jul 2022 12:41:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o984r-0002jK-Mn for emacs-orgmode@gnu.org; Wed, 06 Jul 2022 12:40:37 -0400 Received: from smtpout01-ext2.partage.renater.fr ([194.254.240.33]:58258) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o984o-00087J-CT for emacs-orgmode@gnu.org; Wed, 06 Jul 2022 12:40:37 -0400 Received: from zmtaauth01.partage.renater.fr (zmtaauth01.partage.renater.fr [194.254.240.25]) by smtpout10.partage.renater.fr (Postfix) with ESMTP id 26C3A63897 for ; Wed, 6 Jul 2022 18:40:29 +0200 (CEST) Received: from zmtaauth01.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPS id 206B8140009 for ; Wed, 6 Jul 2022 18:40:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTP id 0E9F714012F for ; Wed, 6 Jul 2022 18:40:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth01.partage.renater.fr 0E9F714012F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-st-etienne.fr; s=E44E4C1B-535F-44B3-88AE-37CEC3B0D85B; t=1657125629; bh=c1RRJTcpNvBrW1n8V9NRJ2iEZeChg9hTCP6MsnRCYI4=; h=Message-ID:Date:MIME-Version:From:To; b=HMur+QHBJrtiMsnkoNgH5X75V5VHe2okL3twfGgZdbgqGCN1XG82+QUmFzKDirw7I aOBVwi8AAW4byZkYqi3PtpeTqi9kknqIPGqR8L4eHRjrUOWG8Z4SYqagi5HVK9lvgo 2IUGcCeLSTy3BGxr/LMOBboLovSoWBw+fN19BzKu/gCbJZUbD1GO7GVyIr/FZ+ABvQ JW4m8tbZNqIAQRLilvqfVLtjJPC+BZ/5uThAkZGpeaLNiwxeRh+OR/XhWz/q/F5/7k KGJ3ZMOxOwkyTUXS9TAyaopRSbWuyUAElvpwl/fTqDYxIscjIDvKK3tfmJUTIVIfmN geGF5hll6lOqA== X-Virus-Scanned: amavisd-new at zmtaauth01.partage.renater.fr Received: from zmtaauth01.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth01.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id v-Kj8XZKYf6x for ; Wed, 6 Jul 2022 18:40:28 +0200 (CEST) Received: from [161.3.34.189] (unknown [194.254.241.250]) by zmtaauth01.partage.renater.fr (Postfix) with ESMTPA id CB69314012D for ; Wed, 6 Jul 2022 18:40:28 +0200 (CEST) Message-ID: Date: Wed, 6 Jul 2022 18:40:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US From: Guillaume MULLER To: emacs-orgmode@gnu.org Subject: org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------06WiYwT20p8f6nmuwSEtDBGb" X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 0 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeifedguddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfhffvufgtsehgtderredtfeejnecuhfhrohhmpefiuhhilhhlrghumhgvucfofgfnnffgtfcuoehguhhilhhlrghumhgvrdhmuhhllhgvrhesuhhnihhvqdhsthdqvghtihgvnhhnvgdrfhhrqeenucggtffrrghtthgvrhhnpeffveetfeduteefheekkeetteeigfehffevleelheekfefhhfduffejveekvdfhgeenucffohhmrghinhepghhnuhdrohhrghdpohhrghhmohguvgdrohhrghenucfkphepudelgedrvdehgedrvdeguddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedtpdhhvghloheplgduiedurdefrdefgedrudeklegnpdhmrghilhhfrhhomhepifhuihhllhgruhhmvgcuofgfnffngfftuceoghhuihhllhgruhhmvgdrmhhulhhlvghrsehunhhivhdqshhtqdgvthhivghnnhgvrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrgh Received-SPF: pass client-ip=194.254.240.33; envelope-from=guillaume.muller@univ-st-etienne.fr; helo=smtpout01-ext2.partage.renater.fr 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, RCVD_IN_MSPIKE_H2=-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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657125689; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=c1RRJTcpNvBrW1n8V9NRJ2iEZeChg9hTCP6MsnRCYI4=; b=Oc7vK8aJhME/opNav7NUVDCjikzYvkljmkEC3rSDtD/boai3S19sdI4itwooE2c2yzfTLG w4gTBfvZLkKfLwChfsik78ocBzr7DTY9j8O5WMwhwh+jPC9m0hA2wvrqe0P7fqczlLfMxv X4UhlF/RcMTn6U6QCNdYR1BgZkUao8JNRBy30kyLIu0KNB4ETmpmLV+u6jCeKNPd8fGIJJ dWanHWNT8ZJ9SXQ+u1k7/c5uQwl2qlNZGdjQwy5SPcax2UyhOg+ZiI7r5bUfFkUge8+Ytf xZ6QinCeHM9VFOvdyYBCvv/pLVh9HtE6Q226kMY9gwPV/NuACgQZ2bYJMkUEAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657125689; a=rsa-sha256; cv=none; b=bR63BdNJM4NOv1ETTIDPVlTFHAQoMMnYbFR9KkTHVfxULEPbgehBFs8NnLt0FRUh7Ix37I 4GF5CzKQRm1ju6NntTt57vSlnx+VNKDMWxFhdtybLLF3BwEL1u9cIx6U0SC0fLbg0CuteV dbNZflcfNT7rc3JZogt3I5ZnH9LePIXWt+wSjpgEBj9hpIg4KcDPoryTuoRrdmP/24fgvq SgcNxlrt+vFr3Lk/Dw6qdG72QDkZ/ryiSWVzZLdRIsgh4/zCK23h5d/EQbVybpr5/E+YVa wtpLKHkBAzjptg83OuNlqy18Yly1G3AHXZ91UD1MmGhTKI/119eDpUQ7Qu4MLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=univ-st-etienne.fr header.s=E44E4C1B-535F-44B3-88AE-37CEC3B0D85B header.b=HMur+QHB; dmarc=pass (policy=none) header.from=univ-st-etienne.fr; 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: -6.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=univ-st-etienne.fr header.s=E44E4C1B-535F-44B3-88AE-37CEC3B0D85B header.b=HMur+QHB; dmarc=pass (policy=none) header.from=univ-st-etienne.fr; 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: 1CE5C3BE9C X-Spam-Score: -6.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: hvnHxiR5LBVx This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------06WiYwT20p8f6nmuwSEtDBGb Content-Type: multipart/mixed; boundary="------------NJ8N0gjjL1s5nUZquaFsFwRB"; protected-headers="v1" From: Guillaume MULLER To: emacs-orgmode@gnu.org Message-ID: Subject: org-meta-return / org-insert-heading does not insert new heading in middle of heading even id org-M-RET-may-split-line is set --------------NJ8N0gjjL1s5nUZquaFsFwRB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I thought I already reported this bug, but I cannot find it anymore in th= e mailing list archives (https://lists.gnu.org/archive/cgi-bin/namazu.cgi= ?query=3Dorg-meta-return&submit=3DSearch%21&idxname=3Demacs-orgmode&max=3D= 20&result=3Dnormal&sort=3Ddate%3Alate) nor in the accepted bugs (https://= updates.orgmode.org/?sort-bugs-by=3Ddate#bugs) so I'm reporting it (again= ?). Please forgive me if I'm duplicating it, but FYI it is still present = today. I'm using DoomEmacs (latest), which uses "Org mode version 9.6 (9.6-??-e9= da29b6f)". When the cursor is in the middle of a heading (<> denots the cursor): * heading number<> one Hiting Meta-Ret results in: * heading number one * <> Whereas it should result in: * heading number * <>one At least if org-M-RET-may-split-line is set correctly. By default, on my config org-M-RET-may-split-line is set to 'nil', but ch= anging to whatever ("Always" or (default . t)) results in the same behavi= or. The documentation for org-meta-return points to org-insert-heading which = says: "If point is in the middle of a line, split it and create a new headline = with the text in the current line after point (see org-M-RET-may-split-li= ne on how to modify this behavior)." So this is actually a bug. Cheers, keep up the good work! GM --------------NJ8N0gjjL1s5nUZquaFsFwRB-- --------------06WiYwT20p8f6nmuwSEtDBGb Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTFTP6rU8sM/yEMoNry0B/GG36d2gUCYsW6+wUDAAAAAAAKCRDy0B/GG36d2gXQ AP0VowAnz0MZMGDA0KW4b5djreyr7bAf05rWbpHgHGAI8QEA4DIDtaYkB2Jm7yxc8zcC6o3MwBvV Ac2EJWIAtBG1Hgw= =+/Vh -----END PGP SIGNATURE----- --------------06WiYwT20p8f6nmuwSEtDBGb--