From: Bobby Casey <beecee808@gmail.com>
To: "Russ P." <russ.paielli@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: indentation (Indent More)
Date: Wed, 15 Jul 2015 16:34:26 -0400 [thread overview]
Message-ID: <CA+8HjZc425QxRPmQp7L84t4yjFN7ox4bRxPxj6wvOD6kPjC-RA@mail.gmail.com> (raw)
In-Reply-To: <7f965313-0b25-4f31-afc5-caaa36f2486c@googlegroups.com>
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?
next prev parent reply other threads:[~2015-07-15 20:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-12 6:03 indentation (Indent More) Russ P.
2015-07-15 20:34 ` Bobby Casey [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+8HjZc425QxRPmQp7L84t4yjFN7ox4bRxPxj6wvOD6kPjC-RA@mail.gmail.com \
--to=beecee808@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=russ.paielli@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.