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: indentation Date: Tue, 27 Apr 2021 09:03:48 +0200 Message-ID: <20210427090348.67C9B5D0@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="37336"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 27 09:04:38 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 1lbHlt-0009am-Pg for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 09:04:37 +0200 Original-Received: from localhost ([::1]:45070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbHls-0006tr-Sx for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 03:04:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbHlK-0006sj-Ks for help-gnu-emacs@gnu.org; Tue, 27 Apr 2021 03:04:02 -0400 Original-Received: from gmmr1.centrum.cz ([2a00:da80:0:502::2]:44435) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1lbHlJ-0000T0-06 for help-gnu-emacs@gnu.org; Tue, 27 Apr 2021 03:04:02 -0400 Original-Received: from gmmr-2.centrum.cz (unknown [10.255.254.29]) by gmmr1.centrum.cz (Postfix) with ESMTP id 17AAA8016095 for ; Tue, 27 Apr 2021 09:03:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=centrum.cz; s=mail; t=1619507029; bh=JS7IEkYUmuomAIlfydSQ4iA7Q47+4Z3rxed98HUgoQo=; h=To:Subject:Date:From:From; b=LHZwOXZnE0i9moHE9I2rH/Nn+DEOtFMqzkKeEsFaV+mRGGaRd5gQpmzriE7DmW0K2 F/aykSL/Oq8IDKb2THXPgGBzkG0t/uL0U40O5HPOOJdam8GZiEzcOs1XsR45c1cmA0 ewKjGT9Z/QYL5A9OFqZHb0V02Jt+D0BGP1TrCvA8= Original-Received: from vm1.excello.cz (vm1.excello.cz [5.180.49.60]) by gmmr-2.centrum.cz (Postfix) with QMQP id 1355377DE for ; Tue, 27 Apr 2021 09:03:49 +0200 (CEST) Original-Received: from vm1.excello.cz by vm1.excello.cz (VF-Scanner: Clear:RC:0(2a00:da80:1:502::7):SC:0(-1.2/5.0):CC:0:; processed in 0.2 s); 27 Apr 2021 07:03:49 +0000 X-VF-Scanner-ID: 20210427070348.809874.7897.vm1.excello.cz.0 Original-Received: from gmmr-2.centrum.cz (2a00:da80:1:502::7) by out2.virusfree.cz with ESMTPS (TLSv1.3, TLS_AES_256_GCM_SHA384); 27 Apr 2021 09:03:48 +0200 Original-Received: from mail1002.cent (unknown [10.255.254.30]) by gmmr-2.centrum.cz (Postfix) with ESMTP id B037320055F6C for ; Tue, 27 Apr 2021 09:03:48 +0200 (CEST) Original-Received: by mail1002.cent (Postfix, from userid 33) id A8AF420035F77; Tue, 27 Apr 2021 09:03:48 +0200 (CEST) Original-Received: from 89.102.39.44 by mail1002.centrum.cz (centrum.cz multimail) with HTTP X-Mailer: Centrum Email 5.3 X-Priority: 3 X-Original-From: Received-SPF: pass client-ip=2a00:da80:0:502::2; envelope-from=ptlo@centrum.cz; helo=gmmr1.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:129149 Archived-At: Hello, with never version of emacs (I have GNU Emacs 25.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.22.30)) I'm constantly annoyed by too aggressive automatic indentation when editing. Basically when I press enter, the cursor on the new line is automatically moved to the column of first character of the preceding line. This is in the Fundamental mode. It gets even worse e.g. in the F90 mode. It e.g. moves a comment (starting with !) on preceding line to the column of first character of the next (really!) line when I add new line inside a code. This is crazy, why I couldn't have comment starting at column 1? The emacs simply can't know what I'm going to do on new empty line!! In older emacs versions, when I presses enter, the cursor simply stayed at column 1 on new line. If I wanted a formatting, I pressed tab key. Please, please, how to return to this older setting? I went through all customizations containing indent, but nothing works. Thank you! Petr