From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WHIACBEvpGHqGwAAgWs5BA (envelope-from ) for ; Mon, 29 Nov 2021 02:38:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gHa1AxEvpGG6VgAA1q6Kng (envelope-from ) for ; Mon, 29 Nov 2021 01:38:25 +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 AB14DF0D8 for ; Mon, 29 Nov 2021 02:38:24 +0100 (CET) Received: from localhost ([::1]:47430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrVcd-00041n-CF for larch@yhetil.org; Sun, 28 Nov 2021 20:38:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrVbn-0003zH-JT for emacs-orgmode@gnu.org; Sun, 28 Nov 2021 20:37:32 -0500 Received: from [2607:f8b0:4864:20::534] (port=37756 helo=mail-pg1-x534.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrVbl-0005I4-Sk for emacs-orgmode@gnu.org; Sun, 28 Nov 2021 20:37:31 -0500 Received: by mail-pg1-x534.google.com with SMTP id 71so14294811pgb.4 for ; Sun, 28 Nov 2021 17:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=KaevhsTEwv87EYnyTziMv5q3YQbwT2fopVxl42If9v8=; b=XhWj/w49rM6FtIKtQee/wqUiM+/X6WUfHhVzqm4lcf7AbpZ/2iwCIvxyINV4eehiHB pVMoj2/I4YXmqZOIdLHjXbXtWLJV1WxoaNwMF3nrGVW4Qxm1xEZCSZu1cBZnTl5SsMj9 5xCanuoJ+j1OZFT2rIZVOwKplxxwd0dCUq2hLHLsA0ta4IPtGBl51z17nKMNgfphcuwn kSo8d+OuZAEALi2Iy7D+l8ce2/7k6S2y8JlNfF6olHTujygGVLy39KVwHjyadqTCDnqH bWBYXyOPFCCLSrXOIIKFgHYV4+8l+XQlT4KRW1439VJKlsQC563FPiR8wcGD0nzojZDB iw5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=KaevhsTEwv87EYnyTziMv5q3YQbwT2fopVxl42If9v8=; b=NbOWk/CAt0KIaeZXRhWd+dK9SMNtP+MnQ0+xi6By/qF1Ogffv6o8mJ5rCmeAWfkX0f 7mF0tUR52PXkrQalNzywNeESzQw8cAVAPBIXJKTXqWH8w5XPOo1fohoNgVruuCjoD+35 ZFDtjKehw+wl10GZOO2RgB6/4sRq+ASwYhJUd8DEGc56lx68q+fNxHM4cprexNOlAXH9 tuCCrwJ7ybuzh46zAhJfX9R0JyAaJAY6yovxCfFaGFR9NwDzIl3Sc7wH6919lShQjql9 TyRIfTX2VS1b00zZYQlmi+uXCHELy/3fWDefkpAL0JCB3v0lu3CGNEFhdCYy5wQPi6Se 792g== X-Gm-Message-State: AOAM533KDlw2826KR7vG+ZuzxUchr0dTayKvZiyye28lHGuEB+NbZzUt nb4ZOxqP6B0dY/TgZhrYNVQdL8I139I= X-Google-Smtp-Source: ABdhPJzKLZfD+RkrMzascurtHzwTyvf5Lm7ouSwZk7EUDy6yIyIB5j++FVK08sJsztpVbKF2HUaqvw== X-Received: by 2002:a65:4bc6:: with SMTP id p6mr18888961pgr.544.1638149847583; Sun, 28 Nov 2021 17:37:27 -0800 (PST) Received: from dingbat (2001-44b8-31f2-bb00-4ac3-1a64-0408-689b.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:4ac3:1a64:408:689b]) by smtp.gmail.com with ESMTPSA id p8sm15637192pfo.141.2021.11.28.17.37.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Nov 2021 17:37:27 -0800 (PST) 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> User-agent: mu4e 1.7.5; emacs 28.0.60 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Is M-j broken for you in Org on Emacs 27 and 28? Date: Mon, 29 Nov 2021 12:18:54 +1100 In-reply-to: <87ilwcf31l.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> Message-ID: <87pmqjkai3.fsf@gmail.com> 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 2607:f8b0:4864:20::534 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x534.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1638149904; 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:dkim-signature; bh=KaevhsTEwv87EYnyTziMv5q3YQbwT2fopVxl42If9v8=; b=kgx/FfUYrT7ntbdMtLFiPq6fLrAvtIULJZpD5B+v4qVx4VwkRtmEgGTxjZuJCjw0O84w5Q thoraZKahRmaRms2hUAR+NFt5eLbxSNO4Iox7mhoJl/ILHPwQTy0IyLeoCjJaUwME6XooR 0YgghKS5Ta1+4aV+hXDZqSw1sjGq1+ZZz/TWGY1LgY/UwkK5LJA3xfiwROWVAah1JdRVIH nwktXq2qONzmyi4X0YLAOUTg424XsJp3/hFkwpdrX5PX1MYz8qPjUEWrL8+9ahHY3jAGYR JFO/ArCVBHcbUnTAqaZoHScbNyiyj3KBAD+9mkdu1pXmq4BvLJmQ6S2eDJfK2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638149904; a=rsa-sha256; cv=none; b=Uze1n9TKruSUUBHo+1AkUL9mMPMDa0S4xoGMKQ/ywIlAnWuExx2kDCuNdWXzx7oQbN08OZ 4nIQ9rXalbhAQWlEXr1NiKonZMrWPiSY3vu/Z+ctBkq0/rWYC50LDQN/M5l3q23yCArZet NwHpcqZmOIio8u9trmRcfsdwh3GcACJXFS7YBF3QG5lDKROYqW6f3YzIMmbF/9+tcuKQDw X328GTZnVNliPaU1czmBlVcrtmJxiKrJiTbhw3XXj73Q7zjFdHMiMlDNZt8FB+r27d8Jdx vcU05uEy6MiNZ8+kMAc++gaK62qx3pINLe+vPk2sX0cQ1BVyIi/p7mDFtngzCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="XhWj/w49"; 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: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="XhWj/w49"; 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: AB14DF0D8 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: nLk6W2mzmXBH Richard Lawrence writes: > Colin Baxter =F0=9F=98=BA writes: > >> I confirm that it also appears broken to me in emacs-27.2, with the same >> error as you found. I have never noticed it before, possibly because I >> use C-j rather than M-j. > > Thanks for confirming. Do you know what the difference between C-j and > M-j is "supposed" to be? They both do very mode-dependent things. I > guess M-j is more explicitly aimed at continuing comments (which is > probably why I started using it), but it has always worked great for me > as a newline-and-indent-like-I-want command outside of comments too. I'm running Emacs 28 and cannot reproduce the issue you observe. 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. It is bound to C-M-j, M-j. (default-indent-new-line &optional SOFT FORCE) Break line at point and indent. If a comment syntax is defined, call =E2=80=98comment-line-break-function= =E2=80=99. The inserted newline is marked hard if variable =E2=80=98use-hard-newlines= =E2=80=99 is true, unless optional argument SOFT is non-nil. This binding is the same inside and outside of org mode. This is with org version Org mode version 9.5 (release_9.5-72-gc5d6656 @ /usr/local/share/emacs/28.0= .60/lisp/org/) and Emacs version GNU Emacs 28.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) of 2021-11-26 Note that C-j in org mode is different from 'normal' C-j in that it is bound to org-return-and-maybe-indent. If you want M-j to act like C-j in org mode, you would need to rebind M-j to org-return-and-maybe-indent in an appropriate org mode startup hook.=20