From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alberto Luaces Newsgroups: gmane.emacs.help Subject: Trying to set indent-tabs-mode to nil in f90-mode with .dir-locals.el Date: Thu, 28 Nov 2019 18:23:04 +0100 Message-ID: <8736e7ud8n.fsf@eps142.cdf.udc.es> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha384; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="34443"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 28 21:54:32 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iaQo3-0008sC-QP for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Nov 2019 21:54:31 +0100 Original-Received: from localhost ([::1]:53134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaQo0-0007RB-8Y for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Nov 2019 15:54:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50956) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaNVg-0003pL-5D for help-gnu-emacs@gnu.org; Thu, 28 Nov 2019 12:23:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaNVe-0002C0-5l for help-gnu-emacs@gnu.org; Thu, 28 Nov 2019 12:23:19 -0500 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:57940 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iaNVd-0001nR-UO for help-gnu-emacs@gnu.org; Thu, 28 Nov 2019 12:23:18 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1iaNVX-0011Zq-2b for help-gnu-emacs@gnu.org; Thu, 28 Nov 2019 18:23:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:MnhU/5NE0ugrdoNH3gJwvYXE114= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121932 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, f90-mode sets by default indent-tabs-mode to nil, which is good for me. If I want to set automatically (indent-tabs-mode t) for the rest of the modes, I set .dir-locals.el to =2D-8<---------------cut here---------------start------------->8--- ((nil (indent-tabs-mode . t))) =2D-8<---------------cut here---------------end--------------->8--- However, that sets the variable to nil even in f90-mode, as expected. The problem is that I cannot revert that setting for f90-mode even being specific in .dir-locals.el: =2D-8<---------------cut here---------------start------------->8--- ((nil (indent-tabs-mode . t)) (f90-mode . ((indent-tabs-mode . nil)))) ; It is evaluated to t neverthele= ss =2D-8<---------------cut here---------------end--------------->8--- This is somewhat strange, according to the manual. Are there any pointers for further debugging this issue? Thanks! =2D-=20 Alberto --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEARMJAB0WIQQAkrD2fjOKzJT6ErrYoCh5SUbfSgUCXeACeAAKCRDYoCh5SUbf Ss6QAYDNJi0KsFrFGIeB29JtaLXQQ9QlUCOGQv8ufVpNq6Ukf/1aiv0/JvT/Kehy matM9Y0Bf3+xSxJcNl6uX9GWf7ws/2X+2CTrBVhhcUd2j+fFn6fgRu61P6C8nU0t VneFLCJT0g== =TZbX -----END PGP SIGNATURE----- --=-=-=--