From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Suggested experimental test Date: Mon, 22 Mar 2021 16:54:50 -0400 Message-ID: References: <831ba60af0cbfdd95686@heytings.org> <87mtuxj8ue.fsf@gnus.org> <9088e12cb3de3d30abf1@heytings.org> <8735wnjsum.fsf@gnus.org> <87tup3hwat.fsf_-_@gnus.org> <834kh39fvj.fsf@gnu.org> <87tup3gfwy.fsf@gnus.org> <831rc79est.fsf@gnu.org> <87lfafgfcv.fsf@gnus.org> <87czvrge4s.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29746"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org, gregory@heytings.org, Stephan.Mueller@microsoft.com To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 22 21:56:01 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lORaj-0007bF-88 for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 21:56:01 +0100 Original-Received: from localhost ([::1]:59602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lORai-00011P-A4 for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 16:56:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lORZg-0000Mo-5J for emacs-devel@gnu.org; Mon, 22 Mar 2021 16:54:56 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lORZe-0004Fn-Jv; Mon, 22 Mar 2021 16:54:55 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8700080A59; Mon, 22 Mar 2021 16:54:53 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 22B5A806F1; Mon, 22 Mar 2021 16:54:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1616446492; bh=4DLebYwyUVOUGIRiXAi0m0LE2p+nWXWxLSCY0FIDB6g=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BNJdJQHLWBmiHrsabz2lGRNBnW1efwY17lpHTy414q+rpRuN1v6Gkyq0cAD1D83ea +ZW8oA1kkn4SzcprHaTECLUD/781pljOXAJRqP4n9p94pH0oOgBdKKMarNIPbC21Mq ZIgCq0Fqhze09IOWtkeYe4ImneTN2FyfaSmlDJritlpST6VG5KwS741s5MN9hoAGgo 3WbHYO4Bt8nqW/XkJb1SlnWYOMTP7qjKK8ggRc2sslxhNQKAWZG++uSXn8D0vhcu1O GfFS6E9yeLdDsRb8ZRPRCgLvxwkeTweFp4g7ubKpe5gzk72LC25/ZHPP8JNbH91HIs N0r1j9mLsQvMg== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 967A5120341; Mon, 22 Mar 2021 16:54:51 -0400 (EDT) In-Reply-To: <87czvrge4s.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 22 Mar 2021 20:52:19 +0100") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:266824 Archived-At: Lars Ingebrigtsen [2021-03-22 20:52:19] wrote: > Stefan Monnier writes: >> Maybe because it already says: >> To just insert a newline, use \\[electric-indent-just-newline]. > Not here (in Emacs 28)... I guess this is a misunderstanding coming from: Perhaps the doc string of `RET' (i.e., `newline-and-indent' in most modes) should mention (and link to) to `C-o'? RET is supposed to be bound to `newline` by default, pretty much everywhere. There are many modes which still bind RET to `newline-and-indent`, but that's a historical accident that we should fix because it disregards the user's choice to enable or disable `electric-indent(-local)-mode`. The docstring of `newline` (the thing bound to RET by default, AFAIC) does include the line above, AFAICT. I don't see a string need for `newline-and-indent` to point to something else (like `open-line`) since this is a command which should basically never be bound except by an explicit choice of the end-user. Stefan