From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MGK2OaP5yGIfFQEAbAwnHQ (envelope-from ) for ; Sat, 09 Jul 2022 05:44:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qInHOKP5yGKhrAAAG6o9tA (envelope-from ) for ; Sat, 09 Jul 2022 05:44:35 +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 94EB1210B9 for ; Sat, 9 Jul 2022 05:44:35 +0200 (CEST) Received: from localhost ([::1]:59082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oA1OU-0001FU-FX for larch@yhetil.org; Fri, 08 Jul 2022 23:44:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA1NE-0001CC-KD for emacs-orgmode@gnu.org; Fri, 08 Jul 2022 23:43:17 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:35695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oA1ND-00076U-4T for emacs-orgmode@gnu.org; Fri, 08 Jul 2022 23:43:16 -0400 Received: by mail-pj1-x1036.google.com with SMTP id x18-20020a17090a8a9200b001ef83b332f5so3655960pjn.0 for ; Fri, 08 Jul 2022 20:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Ai8lMM7K4otjKBK78z3O3cbhNuXuVJ/HAqRzpmRizGw=; b=MMryddecsCorV9MqgsUPUyXTVjdnoz6SAcD6DYl8iPy+vLm6vXgQnnOY/7TonX85ET u4qzmwZw7orMFkaxCWpxN0YmQtvmO+1Ejv1tx4Jei1tKX+LJgpNiXt4t9/nZVOkcPX/m hrry+EImPWqwyq/caHWAtjeF6/e2M0co/tohOcFoZCwZD4qPF9WrkXnBxbZVEQXVWEmR uWUA0Zg84aB0iXtn6mQanB9TUz2Uzhc39VhM7m21Z+ftUi7HW7GN/qhb+oG0iTENoNaI x0Xk0b87wj04Bz2MATwCbQjeYMaAxb5QJd/enkW0QmXZ+Rzr7LWdlhkPU2aQnNrE+g01 ULhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Ai8lMM7K4otjKBK78z3O3cbhNuXuVJ/HAqRzpmRizGw=; b=YpckLb+CjgiXaAv04ARorxPrc3UjLp3Cb7LfwPtNB730Jb/AHdz43XfW9A6SP/BRzw He0AMtEEeJbrvvCUK7bFn6QRlVwSanTh/fg3rFiMPZPr8UbK2jwyyCuFDHfHjK7YkTcQ ahM1AEBQ4HDTBZwHSPwPCJyxStusiqESLcESNZ+IJs+m70a5iu1LW0FRcH96O/UgmLW9 B03uSr7f39n+fjEqaeWswsI7ugQnr5GqDqaWy30sxB4/P0KCEoYnsWHxHjBI6CGdIuWz T/Ilt7ZIPJfpGxWRqeEkoqy7hLjCp1EpQsvSPZ/cCmLLzX6si0J7nJeCuhjapX4ANw0U 3l4w== X-Gm-Message-State: AJIora/BuKnccyLQETusOv/aI8MKeninCPfH/KqjFGTWd6BTBxoUdVDS 7UuGK9KnL5MOezR3Q5mEpcLdKfbzD24WU/Ja X-Google-Smtp-Source: AGRyM1sFB8Hyje4OR3kEqTYHpDqJYsyRibRxCY+iWnq0xHF4ltOn5yB8KZZdb5TMjOpUAyxUjyXNZQ== X-Received: by 2002:a17:90a:1a14:b0:1ef:91a9:3c91 with SMTP id 20-20020a17090a1a1400b001ef91a93c91mr3704560pjk.203.1657338193702; Fri, 08 Jul 2022 20:43:13 -0700 (PDT) Received: from localhost ([23.228.121.194]) by smtp.gmail.com with ESMTPSA id h14-20020a17090a648e00b001eaec8cea55sm176037pjj.57.2022.07.08.20.43.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 20:43:13 -0700 (PDT) From: Ihor Radchenko To: Guillaume MULLER Cc: Org Mode List 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: References: <87k08puqxk.fsf@localhost> <87y1x42oqb.fsf@localhost> Date: Sat, 09 Jul 2022 11:44:20 +0800 Message-ID: <87fsjb9ch7.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1657338275; 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=Ai8lMM7K4otjKBK78z3O3cbhNuXuVJ/HAqRzpmRizGw=; b=ACBbaeXgxnFLeLbB6MN0v0Oq+FEv2mqfIvLcXDDY7t94mychV8gnefO97chk1nXZ8pVtxb 9Ppqj0xA8eLcleke3bDgyavHTrMApl/efms11jarZ9B0rzUkLOiRwNyjzZiRZNcaFmRH9A v0gA8JvfdhVH09AwfjTfpOw6YG1so2/cEOFbIeger9p7G/muHnVQJSStsYMPx6rrIIYB8y ULShD0+7uUc4UoSLljXXsggod3tLPiYLOb+A4MfKZxCrtCU0dk0dpCXFN4koAHnJUXDhWf hEVxVc3UZZQoHTyBTUb4zVYzFpGHxhRIUq5h/dP2i5QbhfXkQygMl9J5esY7xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657338275; a=rsa-sha256; cv=none; b=NT2K3t/0/vw88LwV1n73znaY+Z6+EyinaSRo+9ow0w4yTSRFuuJTYrqsZT8AyaNAKN+RNP vmtq8kbG41o9MpRGBT9eT3TKcvk3jUHXhItav1NyFijfG/5oj3WAF+ZPzV7OxVPGPcdAWn 3iicrhBn/V7YexYWbkK3jfUbC8U3YaWXi6og3eokGu6dawS9RiP8ts3YdlRkKMdaHZrccN eqlAzwG8i2T9n7eH3U5/upH0EyH09PYPxPTNEfwizpYATaqcOU3m/Ha68xkE6mrnpQRPUi H5S/dsFYG1p3ZDGzBdyKo5kUL0KYWD/L6xPUu2PEAWhiAz96Gl4Vvea3zzSmxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MMryddec; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MMryddec; dmarc=pass (policy=none) header.from=gmail.com; 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: 94EB1210B9 X-Spam-Score: -4.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: ig6j2c6MyGt5 Guillaume MULLER writes: > I'm not sure what did the trick, but if someone is looking for a solution, it's probably a mix of: > - disabling org in Doom's init.el and/or > - manually pulling & compiling the versions in ~/.emacs.d/.local/straight/{repos,build-27.1}/org and/or > - changing the :pin setup in ~/.emacs.d/modules/lang/org/packages.el to point to the latest commit. AFAIU, :pin should be the right way that will not break updates. > FWIW, "list-packages" only shows the 9.3 builtin version of org, so my current working 9.5.4 org version seems to actually be loaded from the code previously installed by Doom and manually (re)compiled by me, even if org is disabled in init.el ... This is because list-packages is not used by Doom. list-packages is a built-in Vanilla Emacs package manager, while Doom uses straight.el package manager. >> What do you mean by "breaks too many other things in org"? > > When calling some functions (e.g. org-meta-return or org-ctrl-c-ctrl-c in a code block or hitting C-x C-c to quit Emacs) I got errors like "function xxx is void" or "wrong arguments listp, xxx". That sounds like "mixed" installation of built-in and Doom's versions of Org. Should not be an issue as long as you manage to find the proper way to configure Doom. Best, Ihor