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

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

indentation (Indent More)


From: Russ P.
Subject: indentation (Indent More)
Date: Sat, 11 Jul 2015 23:03:19 -0700 (PDT)
User-agent: G2/1.0

I recently decided to decrease my indentation from 4 spaces to 2 spaces (as 
recommended for Scala). I have the following in my .emacs file:

(global-set-key "\t" 'tab-to-tab-stop) ; "normal" tab key
(setq tab-stop-list '(2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36))
(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)

It works fine, but when I try to use

Edit/Text Properties/Indentation/Indent More

it still adds 4 spaces. How can I change that to 2 spaces? Thanks



reply via email to

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