From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 eCS6F1IBx2Jq1AAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 17:52:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YPmsF1IBx2JSNAAAauVa8A (envelope-from ) for ; Thu, 07 Jul 2022 17:52:50 +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 D29FD42658 for ; Thu, 7 Jul 2022 17:52:49 +0200 (CEST) Received: from localhost ([::1]:45748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9To8-00027K-FG for larch@yhetil.org; Thu, 07 Jul 2022 11:52:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Tnf-00027B-BR for emacs-orgmode@gnu.org; Thu, 07 Jul 2022 11:52:19 -0400 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]:59222) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9Tnc-00021b-1b for emacs-orgmode@gnu.org; Thu, 07 Jul 2022 11:52:18 -0400 Received: from zmtaauth04.partage.renater.fr (zmtaauth04.partage.renater.fr [194.254.241.26]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id 5492EC0584 for ; Thu, 7 Jul 2022 17:52:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id 4DD271C01D9 for ; Thu, 7 Jul 2022 17:52:12 +0200 (CEST) Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id MvdIDFETIQbH for ; Thu, 7 Jul 2022 17:52:12 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTP id 01BBA1C01DC for ; Thu, 7 Jul 2022 17:52:12 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth04.partage.renater.fr 01BBA1C01DC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=univ-st-etienne.fr; s=E44E4C1B-535F-44B3-88AE-37CEC3B0D85B; t=1657209132; bh=h7GGxbWdfk5/KTSEufr3D1Bkj0AaNsX9FbijEsL4Os0=; h=Message-ID:Date:MIME-Version:From; b=hhW3Q7/lHxob0IP5FaCRZJr9PUW3jsm3YwynUVAVCSWa4EAbzEp2FPptwPkiSUUfB i0PJ8+7PMRvWgy2EDTKur5OwVzMkddsRqMGEGVkJU84Vkp5oQVob/Xk0LDkhLzXhAZ iSHq2oxaxk4CpvxTJ8nZCx9seYEOMwk8zlQ5Os4biIxFp9kkTTWV5kZeVyyGVM73px BrjxNt/Ka2TuPqXZcf9VpQth1YEZGQROHnVs6gab+qFAeJQicMRBdtrm/NlK0OR0Y+ E8+3RIuobb99zXpgUxsAxuCY+L6CJxGKVE5d2evH2i+e8FRlWg6UAl7Py6zZVttob8 AlhQI+QIL0MNg== X-Virus-Scanned: amavisd-new at zmtaauth04.partage.renater.fr Received: from zmtaauth04.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth04.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Hd5HF4YqwjOe for ; Thu, 7 Jul 2022 17:52:11 +0200 (CEST) Received: from [161.3.34.189] (unknown [194.254.241.250]) by zmtaauth04.partage.renater.fr (Postfix) with ESMTPA id B50681C01EB for ; Thu, 7 Jul 2022 17:52:11 +0200 (CEST) Message-ID: Date: Thu, 7 Jul 2022 17:52:11 +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 Cc: emacs-orgmode@gnu.org References: <87k08puqxk.fsf@localhost> From: Guillaume MULLER Subject: Re: 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 In-Reply-To: <87k08puqxk.fsf@localhost> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------3MV0JEoAtQhf0YL79YGzyE0j" X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: 30 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeihedgleegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenuchmihhsshhinhhgucfvqfcufhhivghlugculdeftddmnecujfgurhepkfffgggfvehfhffujggtsehgtderredtfeejnecuhfhrohhmpefiuhhilhhlrghumhgvucfofgfnnffgtfcuoehguhhilhhlrghumhgvrdhmuhhllhgvrhesuhhnihhvqdhsthdqvghtihgvnhhnvgdrfhhrqeenucggtffrrghtthgvrhhnpedvuddtueejteffffeltdejgfegieelkeetfeekieefhfffhedtteehuddvhfeuheenucffohhmrghinhepohhrghhmohguvgdrohhrghdptghonhhfihhgrdhorhhgnecukfhppeduleegrddvheegrddvgedurddvhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelgedrvdehgedrvdeguddrvdehtddphhgvlhhopegludeiuddrfedrfeegrddukeelngdpmhgrihhlfhhrohhmpefiuhhilhhlrghumhgvucfofgfnnffgtfcuoehguhhilhhlrghumhgvrdhmuhhllhgvrhesuhhnihhvqdhsthdqvghtihgvnhhnvgdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhg Received-SPF: pass client-ip=194.254.241.31; envelope-from=guillaume.muller@univ-st-etienne.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, MISSING_HEADERS=1.021, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=1657209170; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id: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=h7GGxbWdfk5/KTSEufr3D1Bkj0AaNsX9FbijEsL4Os0=; b=u4XFMV913rY/Bso06Ry2jEiaFA3EjDF0fosRK72/VEidibkb+6vF57awDFKbNvVNCRZh4j 9ly7WUpBLmGYJA8FM1Q/WE9jUft6RA9i8Gnbmjr7Y2yg1uij/aMfLgSeuWFpngn98lImWc Apt7HrmXOMDdOoYSPh0OooZ2MfVvjXVSPjK+2+oaL4G3vA/xMWIwltzxVG0XickBQQZk5W Ubzxtr2/rqj9hQmfr68SUUcK8qT0/q4HZUZLkhTlAQvAOM03pOONMrFGaV9XCxT2bZpgHI g9MJYuHZvYyNpPDCOey75Hg7Xw0M76u+dr5v1yItGdNQm2i4bVw7G6VfjKMz+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657209170; a=rsa-sha256; cv=none; b=Rb6koKcunFrmBDcd1N+bO3LkcsT3zUxbb2U4Hl/ZA5ZbLS0g7tASFhSvc6L/8LMRt9dDOF T0L8aUNaUAXrRdtdD/owfeT0Piw9mOiL465sYMGcK4/siqjaElipucWIusQlAbSZOyWIui tERmxs0aoEUX1kKHZtmHbA9yo6hEhyJZksDqFSlPEEYoT+hR0uwZinknK3qC2mKOZnBLoP 78PtD2opArhJnI/uUJX3qwt3Gf69kPbX7gswMHB4fyHz7GnWwhqsU6cj/nEk9M/+7LuAj0 kuehA3GDxL94T4N23HnG4hBTO2MJ4sEpiTxXbpOneTn+ngO9JcOskrEca10kfQ== 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="hhW3Q7/l"; 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: -2.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=univ-st-etienne.fr header.s=E44E4C1B-535F-44B3-88AE-37CEC3B0D85B header.b="hhW3Q7/l"; 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: D29FD42658 X-Spam-Score: -2.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: fO1mbdmyxyQG This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------3MV0JEoAtQhf0YL79YGzyE0j Content-Type: multipart/mixed; boundary="------------aVEZsQdTiUv6NxxzMRlaYQz2"; protected-headers="v1" From: Guillaume MULLER Cc: emacs-orgmode@gnu.org Message-ID: Subject: Re: 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 References: <87k08puqxk.fsf@localhost> In-Reply-To: <87k08puqxk.fsf@localhost> --------------aVEZsQdTiUv6NxxzMRlaYQz2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi again, Thanks for your answer and sorry for the duplicate. I would be glad to help find if/where is the bug. > Note that '(default . t) is _not_ the correct value. It should be '((default . t)). Just in case. Yes indeed. I had it right in my config. I made the mistake when I copied= into the email. > I tried to set org-M-RET-may-split-line to nil first followed by settin= g > it to either t or '((default . t)). For both values, I am seeing >=20 > * heading number > * <>one >=20 > which is expected behavior. Are you using DoomEmacs or Vanilla Emacs? More precisely, are you using org-mode "9.6-??-e9da29b6f" as I do? (This = is the only version that gives me the strange behavior) > Please, try to reproduce starting from emacs -Q (without Doom). > See https://orgmode.org/manual/Feedback.html I've tried several things, but it's not very clear to me how to get/test = the specific version of org-mode that is comes with doom ("9.6-??-e9da29b= 6f"). What I tried: - Getting an as-vanilla-as-possible DoomInstall, by removing my config.or= g and sync'ing Doom. I get the same "9.6-??-e9da29b6f" org version and er= roneous behavior. - Changing the version of org-mode used in Doom, by removing the director= y and installing the one from MELPA (9.5.4). This gives me the correct be= havior for org-meta-return, but it breaks too many other things in org to= be usable. - Using "vanilla" "emacs -Q" and running only org "9.6". 1. I've tried to manually load the org-version that comes with Doom, by= writing & executing "(add-to-list 'load-path "/home/user/.emacs.d/module= s/lang/org/lisp/autoload") (load "org")" from scratch buffer, then runnin= g org-reload + but I get org-version 9.3 + and I can't find a way to edit the "load-path" "variable" to remove = the native path ("/usr/share/emacs/27.1/lisp/org") from the list (sorry n= ewbie here...) 2. I've tried to git clone the org-mode repo in /tmp, but don't see any= tag/branch that would correspond to a "9.6" version of org. + I do see a commit matching e9da29b6f (e9da29b6fafe63abbc2774e9d485ac1= 3d2811b65) * I've tried to recover the code from this version "git checkout e9da= 29b6f ." * Compiled it (make) * Opened emacs -Q * Wrote and executed "(add-to-list 'load-path "/tmp/org-mode/lisp/") = (load "org")" in the scratch buffer * Ran M-x org-reload + But "M-x org-version" still returns "Org mode version 9.5.4", and i= t works as expected If you have any more hints on how I could setup an environment where I co= uld test just org-mode "9.6-??-e9da29b6f" on a raw/vanilla emacs, I vwoul= d be glad to test that. Thanks in advance --=20 Guillaume MULLER --------------aVEZsQdTiUv6NxxzMRlaYQz2-- --------------3MV0JEoAtQhf0YL79YGzyE0j 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/GG36d2gUCYscBKwUDAAAAAAAKCRDy0B/GG36d2lBH AQCFM0YLYOwVwAq8soGl+6/VE+6ntWtodxoH9pMfKxDqhwEA0fCx5r08hxf1g+Klb0T2pf/knIrQ W5W6PTVlHbDgbw8= =mV8k -----END PGP SIGNATURE----- --------------3MV0JEoAtQhf0YL79YGzyE0j--