[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Standardize tab width variables across major modes
From: |
Stefan Monnier |
Subject: |
Re: Standardize tab width variables across major modes |
Date: |
Sat, 04 May 2013 19:46:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Many Emacs modes seem to obey tab-width, e.g. (setq-default tab-width 2).
> But a few modes define their own variables for this:
You then go on to describe something else than tab-width (which is the
display size of a TAB character in the buffer), namely the size of the
default indentation step.
Those two things are very different.
The default indentation step depends on the indentation style, which
tend to vary between languages (even for a single individual).
This said, I agree that we should try and standardize the "default
indentation step" variable used by the various major modes.
`smie-indent-basic' was kind of meant to be this, but it's pretty
difficult to combine the need to obey the old variable's name.
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Standardize tab width variables across major modes,
Stefan Monnier <=