From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16155: bug#16156: electric indent gripes Date: Thu, 05 May 2022 14:51:18 +0200 Message-ID: <874k24qh15.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22544"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 16156@debbugs.gnu.org, 16155@debbugs.gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 05 14:52:35 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nmayB-0005g0-ML for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 14:52:35 +0200 Original-Received: from localhost ([::1]:57152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmayA-0004Jb-PS for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 08:52:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmaxd-0004I5-U0 for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 08:52:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmaxd-0002Z4-Kt for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 08:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmaxd-0003NQ-K0 for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 08:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2022 12:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16155 X-GNU-PR-Package: emacs Original-Received: via spool by 16155-submit@debbugs.gnu.org id=B16155.165175509012912 (code B ref 16155); Thu, 05 May 2022 12:52:01 +0000 Original-Received: (at 16155) by debbugs.gnu.org; 5 May 2022 12:51:30 +0000 Original-Received: from localhost ([127.0.0.1]:44717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmax8-0003M7-3c for submit@debbugs.gnu.org; Thu, 05 May 2022 08:51:30 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmax6-0003Lm-AJ; Thu, 05 May 2022 08:51:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ECOBVNyXxiqG68/8AdQvHEDvcIrnBm1HJeJ3Ca3MBN8=; b=A3oWwAbNcxs4I6n1ZTKkdehmOl 8/jafVtYhzwyGqL37f1wpsDkHw0RBCYzh9a0ZVVFNqGB4aZdX8VpQIy8xnpsQGn7mI9rgXvNq6s/9 3CYnGF4laKtjmwDZI/uSxh4GR4kRAXm88RphH6KyPhlyXUX+bQJTeimvgpYEaX968VNQ=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmawx-0001wg-9d; Thu, 05 May 2022 14:51:21 +0200 X-Now-Playing: Kiko Dinucci's _Rastilho_: "Foi Batendo o =?UTF-8?Q?P=C3=A9?= Na Terra" In-Reply-To: (Richard Stallman's message of "Sun, 15 Dec 2013 06:47:56 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231430 Archived-At: Richard Stallman writes: > In text mode, if the buffer contains > ----------------------------------------- > foo > > bar > > ----------------------------------------- > > and point is at the end of the line, and I type RET, > it indents the following line. > > I don't ever like having newline indent. It should be a minor mode, > and the documentation of `newline' should explain how to easily turn > this off. It is a minor mode, and the doc string does explain this (at least now it does). --- It is bound to RET. (newline &optional ARG INTERACTIVE) Insert a newline, and move to left margin of the new line. With prefix argument ARG, insert that many newlines. If =E2=80=98electric-indent-mode=E2=80=99 is enabled, this indents the fina= l new line that it adds, and reindents the preceding line. To just insert a newline, use M-x electric-indent-just-newline. --- So I don't think there's anything we want to change here, and I'm closing this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no