From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qF/VIu2hvV4EIAAA0tVLHw (envelope-from ) for ; Thu, 14 May 2020 19:54:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AGA8He2hvV5dGwAA1q6Kng (envelope-from ) for ; Thu, 14 May 2020 19:54:21 +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 E0954940DEC for ; Thu, 14 May 2020 19:54:20 +0000 (UTC) Received: from localhost ([::1]:55000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZJvv-00056h-2y for larch@yhetil.org; Thu, 14 May 2020 15:54:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZJj6-0002X6-Vv for emacs-orgmode@gnu.org; Thu, 14 May 2020 15:41:04 -0400 Received: from mout.gmx.net ([212.227.17.20]:41761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZJj5-0003CG-U7 for emacs-orgmode@gnu.org; Thu, 14 May 2020 15:41:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1589485260; bh=QAKJ9M99OHMWB+qXPnsMNufz0sStXIfO9VJ9uuPqgRY=; h=X-UI-Sender-Class:From:To:Subject:Date; b=OhfPKpCSi9RcH5NPHUJZaHrgC6SdM5IEbZS4oLxRqB7RJjlgmnNajLUnOfdrEVcKZ 0n3glhN2/Y7znMpDEeFRuIRc30naJ3obxkOMcl9YriPzAly/xOI5PZrGmXEc1MTFgG YK4H4fKj9cmeHcSzw4XN918FeU04wi/lCYQpOfjU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from no.workgroup ([84.185.108.80]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MI5QF-1jLIya3dZv-00FEMB; Thu, 14 May 2020 21:40:59 +0200 From: Gregor Zattler To: emacs-orgmode@gnu.org , =?utf-8?Q?K=C3=A9vin?= Le Gouguec Subject: [bug] error on RET in read-only buffer with org-return-follows-link set to t Mail-Followup-To: emacs-orgmode@gnu.org , =?utf-8?Q?K=C3=A9vin?= Le Gouguec Date: Thu, 14 May 2020 21:40:56 +0200 Message-ID: <87wo5egv93.fsf@no.workgroup> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:0m8S7+CT3PDwYn+P5nCHLd8Icn5LRk7uzqDBVWXfiYazpANZPUm yLFK5KawalwWNQj7V1U2mIdNzSBx6YcPyIloZvHaGJs3OatrYJS3xX9bHjBUehnMdPCfh7c X3ZoO4URFSMeXSWIKDb7BNyLA+U+rSGaGS4ZSnZkpV5U8HtB08YTMXUzHT2Dv/QR8OnOOuF JIKGfO5BdT0kaizBRbY/A== X-UI-Out-Filterresults: notjunk:1;V03:K0:Yzy2q0yKeJM=:oLgkCWgyiotxihxJzPPovE ht1edgUT1TKEUCOo6rMrr44Ej+cTC+oJX0Ci7AXYlD+1kYXU/8P5dOszrfS15Ko6SH3lz0GGr DhTsJF7E4bMY8iWq5Y0quPW6su14SwoWLfVEolDyCYBsujLHfw5F7i6CT/Z+zplMvq472m3z8 TlmkDiQokLzzEtj9WHZJ8Tz3IdVkemRE5OK+1VCGRKz0aAIL2eDWWKF9EVVe+kVEHN4WxY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envelope-from=telegraph@gmx.net; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/14 14:14:09 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=OhfPKpCS; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.29 X-TUID: Of3Bc/07l6Zy Dear K=C3=A9vin, org-mode developers,=20 with `org-return-follows-link` set to `t` in a read-only buffer I now get a `Buffer is read-only: #` error when pressing ENTER/RETURN with point on an org-mode link. This used to work (opening the org-mode link) till d3e6b58004997c5a9eeea82f96723c0f74480ab8 is the first bad commit commit d3e6b58004997c5a9eeea82f96723c0f74480ab8 Author: K=C3=A9vin Le Gouguec Date: Tue May 5 19:01:07 2020 +0200 Make RET and C-j obey `electric-indent-mode' * lisp/org-compat.el (org-return-indent): Deprecate this command. * lisp/org-keys.el (org-mode-map): Rebind C-j to a command emulating `electric-newline-and-maybe-indent'. * lisp/org.el (org-cdlatex-environment-indent): Stop using the now obsolete function. (org--newline): New helper function. (org-return): Use it to transparently handle `electric-indent-mode'. (org-return-and-maybe-indent): New command to emulate `electric-newline-and-maybe-indent' while taking care of Org special cases (tables, links, timestamps). * testing/lisp/test-org.el (test-org/with-electric-indent, test-org/without-electric-indent): New tests. * testing/org-test.el (org-test-with-minor-mode): New helper to set a minor mode to a specific state, and reset it afterward. :040000 040000 85f261b701133d4be047c1a2e8872b25f3e0c7e7 21fe88d69e48ac3d24d= 233cbf07fe0084cde853e M etc :040000 040000 a677d2134361d2b023f252c188aebdeef9826896 4bdbb34abe7eaad3439= 32d33a03c823b2cae0e24 M lisp :040000 040000 9ecba96d2748f0e7ff5430ec0fcf8c175875621f f6e7b54445ac19d1b7c= 59d4d54bd9b4a19126245 M testing I use this dozens of times a day and it would be convenient if it was possible to resurrect the old behaviour. Thanks for your attention and for developing org-mode, Gregor=20 --=20 -... --- .-. . -.. ..--.. ...-.-