all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Trying to set indent-tabs-mode to nil in f90-mode with .dir-locals.el
@ 2019-11-28 17:23 Alberto Luaces
  2019-11-29 12:01 ` Stefan Kangas
  0 siblings, 1 reply; 5+ messages in thread
From: Alberto Luaces @ 2019-11-28 17:23 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

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

--8<---------------cut here---------------start------------->8---
((nil (indent-tabs-mode . t)))
--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:

--8<---------------cut here---------------start------------->8---
((nil (indent-tabs-mode . t))
 (f90-mode . ((indent-tabs-mode . nil)))) ; It is evaluated to t nevertheless
--8<---------------cut here---------------end--------------->8---

This is somewhat strange, according to the manual.  Are there any
pointers for further debugging this issue?

Thanks!

-- 
Alberto

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 272 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-29 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-28 17:23 Trying to set indent-tabs-mode to nil in f90-mode with .dir-locals.el Alberto Luaces
2019-11-29 12:01 ` Stefan Kangas
2019-11-29 14:04   ` Robert Pluim
2019-11-29 15:18     ` Alberto Luaces
2019-11-29 15:08   ` Alberto Luaces

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.