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

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

Re: indenting with spaces


From: Tom Rauchenwald
Subject: Re: indenting with spaces
Date: Tue, 19 Jan 2010 18:54:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

andrea <andrea.crotti.0@gmail.com> writes:

> Tassilo Horn <tassilo@member.fsf.org> writes:
>
>> andrea <andrea.crotti.0@gmail.com> writes:
>>
>> No, it shouldn't do that.  Does it set it buffer-locally, or globally?
>> That would be even more impolite.
>>
>> Bye,
>> Tassilo
>
> Ok thanks now it works, but still I don't understand why
> Local in buffer init.el; global value is t
> That's even if I set up and evaluate the "setq" in init.el.
> Where does this global stupid value come from then?

You should use setq-default. With setq you set it buffer-locally, so it
is only set in the buffer the setq is evaluated. 

To change the default use 
#v+
(setq-default indent-tabs-mode nil)
#v-

-tom
-- 
Ob ein Sandkorn oder ein Stein,
im Wasser gehen sie beide unter.
       -- Mi-do





reply via email to

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