[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indentation (Indent More)
From: |
Bobby Casey |
Subject: |
Re: indentation (Indent More) |
Date: |
Wed, 15 Jul 2015 16:34:26 -0400 |
On Sun, Jul 12, 2015 at 2:03 AM, Russ P. <russ.paielli@gmail.com> wrote:
> 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
>
According to the help for `increase-left-margin' the variable
`standard-indent' is used to specify spacing. Setting that to 2
should fix the issue.
As an aside, are you sure you want two spaces for everything rather
than just in scala-mode?