unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* indentation (Indent More)
@ 2015-07-12  6:03 Russ P.
  2015-07-15 20:34 ` Bobby Casey
       [not found] ` <mailman.6971.1436992476.904.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Russ P. @ 2015-07-12  6:03 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-19  0:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-12  6:03 indentation (Indent More) Russ P.
2015-07-15 20:34 ` Bobby Casey
     [not found] ` <mailman.6971.1436992476.904.help-gnu-emacs@gnu.org>
2015-07-15 21:41   ` Russ P.
2015-07-19  0:34     ` Robert Thorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).