From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: newline-and-indent vs. electric-indent-mode Date: Mon, 25 Jan 2021 05:33:34 +0200 Message-ID: <83r1m93d2p.fsf@gnu.org> References: <87wnw5yt58.fsf@hajtower> <01d07f6d-cc4c-2f54-4bae-a611bba7be93@yandex.ru> <66b7932d-4cee-9628-fae0-168ee6ebc041@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27173"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 25 04:34:22 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 1l3sdw-0006xK-KK for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jan 2021 04:34:20 +0100 Original-Received: from localhost ([::1]:54278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3sdv-0007Hr-ML for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jan 2021 22:34:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3sdC-0006pM-Nl for emacs-devel@gnu.org; Sun, 24 Jan 2021 22:33:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42834) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3sdA-0003kf-O2; Sun, 24 Jan 2021 22:33:34 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2928 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l3sd8-0005MA-1k; Sun, 24 Jan 2021 22:33:32 -0500 In-Reply-To: (message from Madhu on Mon, 25 Jan 2021 07:26:03 +0530) 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:263371 Archived-At: > From: Madhu > Date: Mon, 25 Jan 2021 07:26:03 +0530 > > As a data point, I find every design choice you have made in this area > has directly attacked my usage. Typically In C-like modes turning it on > leads to spurious whitespace when I want to insert a new line. Please show a couple of examples of that. > It is a lost case when the behaviour that I have been using for years is > now broken and there is no path to fix it short of throwing all SMIE > code out of the window. What is broken, please? I have electric-indent-mode turned on in my C mode buffers, and if there was something broken in that, I'd pay attention very quickly. Really, such bitter complaints must always come with a lot of details, including, but not limited, any customizations you have made. Otherwise what do you expect us to do about your gripes?