From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0HfOINiKpGHwxAAAgWs5BA (envelope-from ) for ; Mon, 29 Nov 2021 09:10:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yK9SHNiKpGFeBwAAbx9fmQ (envelope-from ) for ; Mon, 29 Nov 2021 08:10:00 +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 EEFD416051 for ; Mon, 29 Nov 2021 09:09:59 +0100 (CET) Received: from localhost ([::1]:58678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrbjZ-0001ZY-0Q for larch@yhetil.org; Mon, 29 Nov 2021 03:09:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrbjA-0001ZQ-Hn for emacs-orgmode@gnu.org; Mon, 29 Nov 2021 03:09:32 -0500 Received: from [2001:7c0:300c:3105::8602:5d5] (port=34230 helo=mx03.uni-tuebingen.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrbj8-0007bl-84 for emacs-orgmode@gnu.org; Mon, 29 Nov 2021 03:09:32 -0500 Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) by mx03.uni-tuebingen.de (Postfix) with ESMTPSA id 022A920D2B57; Mon, 29 Nov 2021 09:09:25 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 087C027C0054; Mon, 29 Nov 2021 03:09:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 29 Nov 2021 03:09:22 -0500 X-ME-Sender: X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrheekgdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhffkfggtgfgsehtqhdttd dttdejnecuhfhrohhmpeftihgthhgrrhguucfnrgifrhgvnhgtvgcuoehrihgthhgrrhgu rdhlrgifrhgvnhgtvgesuhhnihdqthhuvggsihhnghgvnhdruggvqeenucggtffrrghtth gvrhhnpeekgfehudffveetieejvddugfdtleehtdffgeekvdefueehgefgveffffejudff ieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrfi hlodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudejkeegheduvdekqddu ledtvdejleeggedqrhhitghhrghrugdrlhgrfihrvghntggvpeepuhhnihdqthhuvggsih hnghgvnhdruggvsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Nov 2021 03:09:21 -0500 (EST) Received: from rwl by aquinas with local (Exim 4.92) (envelope-from ) id 1mrbiw-0000xh-V0; Mon, 29 Nov 2021 09:09:18 +0100 From: Richard Lawrence To: Tim Cross , emacs-orgmode@gnu.org Subject: Re: Is M-j broken for you in Org on Emacs 27 and 28? In-Reply-To: <87pmqjkai3.fsf@gmail.com> References: <87lf18fue9.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> <87v90cpcdx.fsf@yandex.com> <87ilwcf31l.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> <87pmqjkai3.fsf@gmail.com> Date: Mon, 29 Nov 2021 09:09:18 +0100 Message-ID: <87fsrffknl.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:7c0:300c:3105::8602:5d5 (failed) Received-SPF: pass client-ip=2001:7c0:300c:3105::8602:5d5; envelope-from=richard.lawrence@uni-tuebingen.de; helo=mx03.uni-tuebingen.de X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638173400; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=147oS6tnqyAndexWHQQGQKJXgTVG2BexNjVW0B/W3Xg=; b=klX4iGoUUg5th+BXNNwQnDEpafRwIRxwimEXULPvS5Wl2PO6cUG2nZiiVj5w7UsqiXbzvf 1K9LAQJvkKIzn6a1Yyv+iwQz1FV8th2VFr+zfJ/FRlE2l1u58gLkKGFCVHY1/mKXFtg6y9 xsQMVwTU/qDkQsixfufMm/Bjyd3SlTDcgkfBQtQlIj7qw8eZXRsrgO7qOBH59OSiizuly7 u2+UQ+G14P20mnMFSEFdOZR8uDWiktc1jjxAZp+fik2CHagtTX/q+byavgcykrRJZFsEGS e8ejecDf/+v9hegLQgij8HA1jX/nkgrXTCL7OrZoxwF4CRUzVHvGo2mLfEc7oA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638173400; a=rsa-sha256; cv=none; b=rCW7h5tUl2io8EXUzTUAL79XQrTNqEAJ33ZjU4jv1n6kl7NG65uzJGp+jMu2ml+3S5YVRV FZR5OeRbfRYl6WysjWXtDCyt7k6shmBvI3AtLZXQ1rXerQPJw93d+gA0cyR9r98uW+aK9b Xk8zmhns89kRQxySWN+Q64bqo4N9TrUNPhPFsKIicV9KzdynA9Cik5gBuucW0LRtve9B5+ axj4bHRF33XhHAa372BLjRnRyhYcr9vxRG4UPxjqODuErgb17qsRI8pguXzADL4Lyqq9CT dcZmu9aVqvw/isLShHEtDVICr43E7pRDTvxmwVKRP9WJBtdgGCl1bMtP+rO02g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: EEFD416051 X-Spam-Score: -2.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: qjbuLw79S+QT Tim Cross writes: > I'm running Emacs 28 and cannot reproduce the issue you observe. Hmm, the plot thickens! > Running emacs -Q I find M-j is bound to > > M-j runs the command default-indent-new-line (found in global-map), > which is an interactive compiled Lisp function in =E2=80=98simple.el=E2= =80=99. I definitely see the error in emacs -Q with GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cair= o version 1.16.0) which only contains Org 9.3, in my installation. So the problem has been around at least that long, but only surfaced for me because the binding of M-j changed between Emacs 26 and 27. > This binding is the same inside and outside of org mode. Yes, but inside Org mode, default-indent-new-line calls org-comment-line-break-function (because it is the value of comment-line-break-function), which is where the error originates. The last line of org-comment-line-break-function is: (insert-before-markers-and-inherit fill-prefix) and fill-prefix is nil, at least in all the contexts where I've tried this. Since you're not seeing the error, could you please check in an Org buffer whether: - comment-line-break-function is 'org-comment-line-break-function - org-comment-line-break-function contains the line above (it should; it's still there in the master branch) - fill-prefix is nil when you type M-j? =20=20 Thanks! --=20 Best, Richard