help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change spaces indent in text mode?


From: Tyler Smith
Subject: Re: change spaces indent in text mode?
Date: Fri, 29 Jan 2010 16:30:28 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

Brendan Miller <address@hidden> writes:

> The only problem I have, is that m-i seems to indent by 8 spaces. I
> tried putting
>
> (setq tab-width 4) in my .emacs, but that doesn't seem to change
> anything... is m-i controlled by a different variable?

The documentation is a little confusing on this, at least to me. My
Emacs manual (info "(emacs)Text Display") says that you need to use
default-tab-width for this, as tab-width is buffer local, meaning it
only applies to the buffer you were in when you set it. However, the
help for default-tab-width (C-h v default-tab-width) says that
default-tab-width is deprecated, and tab-width should be used instead.

I think this might qualify as a buglet in the documentation, unless I'm
missing something obvious.

Tyler






reply via email to

[Prev in Thread] Current Thread [Next in Thread]