[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indentation
From: |
Colin Baxter |
Subject: |
Re: indentation |
Date: |
Tue, 27 Apr 2021 17:06:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
>>>>> <ptlo@centrum.cz> 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,
- indentation, ptlo, 2021/04/27
- Re: indentation, Philip Kaludercic, 2021/04/27
- Re: indentation, ptlo, 2021/04/27
- Re: indentation,
Colin Baxter <=
- Re: indentation, Thibaut Verron, 2021/04/27
- Re: indentation, Colin Baxter, 2021/04/27
- Re: indentation, Thibaut Verron, 2021/04/27
- Re: indentation, Colin Baxter, 2021/04/27
- Re: indentation, Thibaut Verron, 2021/04/28
Re: indentation, Gregory Heytings, 2021/04/27
RE: [External] : indentation, Drew Adams, 2021/04/27