From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: indentation Date: Tue, 27 Apr 2021 17:06:31 +0100 Message-ID: <8735vb3e60.fsf@yandex.com> References: <20210427090348.67C9B5D0@centrum.cz> <87v9889okp.fsf@posteo.net> <20210427174546.532D380B@centrum.cz> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2381"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: , Philip Kaludercic , help-gnu-emacs@gnu.org To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 27 18:07:24 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 1lbQFA-0000Ur-7u for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 18:07:24 +0200 Original-Received: from localhost ([::1]:40858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbQF9-0005Wn-AO for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 12:07:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbQEX-0005W2-AY for help-gnu-emacs@gnu.org; Tue, 27 Apr 2021 12:06:45 -0400 Original-Received: from forward101j.mail.yandex.net ([2a02:6b8:0:801:2::101]:55947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbQEU-0007PH-9l for help-gnu-emacs@gnu.org; Tue, 27 Apr 2021 12:06:45 -0400 Original-Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward101j.mail.yandex.net (Yandex) with ESMTP id ED8C61BE0C7B; Tue, 27 Apr 2021 19:06:34 +0300 (MSK) Original-Received: from vla1-348f4ad01998.qloud-c.yandex.net (vla1-348f4ad01998.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:1a00:0:640:348f:4ad0]) by forward103q.mail.yandex.net (Yandex) with ESMTP id E66F761E0005; Tue, 27 Apr 2021 19:06:34 +0300 (MSK) Original-Received: from vla1-cde8305024b9.qloud-c.yandex.net (vla1-cde8305024b9.qloud-c.yandex.net [2a02:6b8:c0d:4201:0:640:cde8:3050]) by vla1-348f4ad01998.qloud-c.yandex.net (mxback/Yandex) with ESMTP id VCDbmwY6nG-6YKOT9A7; Tue, 27 Apr 2021 19:06:34 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1619539594; bh=UlanWUSLvofuCyZ4LSllfbkVO+TK3PhjW55/dejEsJI=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Cc:Date:References; b=OtbCmzSlnSTvhps15Y9pk1dL3QIrPRz26I29F2gxfjfjDGAIUOfW4Khs+9c7hr4bk RRE7xifSYpCkTQ2WmT5BGyPx/foN5KoZq/5XjPrxSDq6w5ENM2hPeUo5MDfk3IBf4G teiYHeGKxswbbtd1/MPDOdgOtw78xs2lSpWAW2vE= Authentication-Results: vla1-348f4ad01998.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by vla1-cde8305024b9.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id UZgTNmYbL4-6XLqa5rx; Tue, 27 Apr 2021 19:06:33 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <20210427174546.532D380B@centrum.cz> (ptlo@centrum.cz's message of "Tue, 27 Apr 2021 17:45:46 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= Received-SPF: pass client-ip=2a02:6b8:0:801:2::101; envelope-from=m43cap@yandex.com; helo=forward101j.mail.yandex.net 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:129164 Archived-At: >>>>> writes: > Philip, this is it! I disabled the electric-indent-mode and emacs > is again sane. I didn't find this option before, looking in the > customization groups from the menu. In F-90 I switch off electric-indent-mode via a .dir-locals.el, viz #+begin_src elisp ((nil . ((f90-if-indent . 4) (f90-do-indent . 4) (f90-program-indent . 4) (f90-associate-indent . 4) (f90-critical-indent . 4) (f90-type-indent . 4) (eval add-hook 'f90-mode-hook (lambda () (electric-indent-local-mode -1)))))) #+end_src Best wishes,