[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indenting with 2 spaces
From: |
Stefan Monnier |
Subject: |
Re: Indenting with 2 spaces |
Date: |
Wed, 08 Dec 2010 15:34:34 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Thanks! That seems like a big limitation of Emacs that there is no way
> to specify all modes at once.
Yes and no:
- it's an inconvenience that many aspects of major modes are not
sufficiently standardized for there to be a central place where the
default can be changed once and for all modes.
- favorite indentation steps tend to depend on the language because
different styles of syntaxes lend themselves more or less well to
shallow/deep indentation steps. Furthermore, most projects impose
a particular indentation style (and indentation's basic step is part
of it), so it's fairly common to have to use different basic steps in
different files, even for the same language, if you work on more than
a single project.
So while I generally agree with you, in the specific case of basic
indentation step, I don't think it's nearly as bad as you say.
Stefan