From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: =?utf-8?q?Re=3A_indentation?= Date: Fri, 30 Apr 2021 09:05:13 +0200 Message-ID: <20210430090513.BD2C4C90@centrum.cz> References: <20210427090348.67C9B5D0@centrum.cz>, , <20210427202932.DFDEF50D@centrum.cz>, , <20210428083227.FCFDA7C0@centrum.cz>, , <20210429091455.3C8C08A9@centrum.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: =?utf-8?q?Stefan_Monnier?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 30 09:08:23 2021 Return-path: Envelope-to: geh-help-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 1lcNGB-0009PW-K8 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 09:08:23 +0200 Original-Received: from localhost ([::1]:51196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcNGA-0004LS-KY for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 03:08:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcNDK-0001o2-Lx for help-gnu-emacs@gnu.org; Fri, 30 Apr 2021 03:05:26 -0400 Original-Received: from gmmr2.centrum.cz ([2a00:da80:1:502::2]:46892) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1lcNDH-0004Je-50 for help-gnu-emacs@gnu.org; Fri, 30 Apr 2021 03:05:26 -0400 Original-Received: from gmmr-1.centrum.cz (unknown [10.255.254.27]) by gmmr2.centrum.cz (Postfix) with ESMTP id 61F74600316E; Fri, 30 Apr 2021 09:05:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=centrum.cz; s=mail; t=1619766314; bh=J4u0qvSay1LbiC1NWdwlB+5MQB4gkOCcbjHF5mQvKRE=; h=To:Subject:Date:From:Cc:References:In-Reply-To:From; b=Dij64qspHJNDAUkqbfwFahLDn5NbGOqBiPlWyFIbI31mmbHoJ3RUPA7r+F2mo2yqf 6jae0OT87hAGrNTf4bIjuOVbXPQmHqKBfU209fgcCL6L9B63z8lUg4BiWuJ04Z08Fk WxVciffHaA9dsm/iV5TV2c5h6xkRj8ogaFpVzAkk= Original-Received: from vm1.excello.cz (vm1.excello.cz [IPv6:2001:67c:1591::3]) by gmmr-1.centrum.cz (Postfix) with QMQP id 5E3033000F550; Fri, 30 Apr 2021 09:05:14 +0200 (CEST) Original-Received: from vm1.excello.cz by vm1.excello.cz (VF-Scanner: Clear:RC:0(46.255.225.205):SC:0(3.8/5.0):CC:0:; processed in 0.2 s); 30 Apr 2021 07:05:14 +0000 X-VF-Scanner-ID: 20210430070514.116792.11081.vm1.excello.cz.0 Original-Received: from gmmr-3.centrum.cz (46.255.225.205) by out2.virusfree.cz with ESMTPS (TLSv1.3, TLS_AES_256_GCM_SHA384); 30 Apr 2021 09:05:14 +0200 Original-Received: from mail1012.cent (unknown [10.255.254.10]) by gmmr-3.centrum.cz (Postfix) with ESMTP id 080312005659B; Fri, 30 Apr 2021 09:05:14 +0200 (CEST) Original-Received: by mail1012.cent (Postfix, from userid 33) id 006CD6010E305; Fri, 30 Apr 2021 09:05:13 +0200 (CEST) Original-Received: from 147.32.49.126 by mail1012.centrum.cz (centrum.cz multimail) with HTTP In-Reply-To: X-Mailer: Centrum Email 5.3 X-Priority: 3 X-Original-From: Received-SPF: pass client-ip=2a00:da80:1:502::2; envelope-from=ptlo@centrum.cz; helo=gmmr2.centrum.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129210 Archived-At: Imposing conventions is of use when many and changing (and beginner) programmers work on same code. It's not my case. But the problem where it all started is, when I press enter, the new empty line got indented to first character of previous line. There is absolutely no reason to impose that the block shall continue. Instead, an END statement may follow which is indented differently. Also one can wish to insert an empty line and then an automated insertion of spaces for no reason is hard to justify. Indeed I always felt the urge to delete those spaces (still was thinking how to do it as fast as possible and get over without new indentation...) Strange thing is that I didn't find the electric indent searching "indent" from menu in customization groups. Cheers Petr