From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: changing default indent for C++
Date: Mon, 10 Feb 2003 07:41:57 +0100 [thread overview]
Message-ID: <84d6m08wne.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: Pine.SOL.4.44.0302092337140.22855-100000@asteroids.gpcc.itd.umich.edu
Jonathon Isaac Swiderski <jonswid@umich.edu> writes:
> On Sun, 9 Feb 2003, exits funnel wrote:
>
>> The default indentation is four spaces. I'd desparately like to change
>> it to two.
>
> Funny, i thought it was 8, which is why I have a command to change it to 4.
> But I digress.
>
> I have it set from M-x customize, so I'm not entirely sure how to set it
> directly in your .emacs; you can, however, do the following:
>
> M-x customize-variable RET tab-width RET
The variable tab-width does not change the behavior of the TAB key,
it just changes the way the tab characters look.
It goes like this: user hits TAB. Major mode determines number of
columns to indent, based on syntactic indentation. Variable
indent-tabs-mode determines whether tab characters are used at all.
If so, variable tab-width determines how many tabs are necessary to
reach the specified column.
--
A turnip curses Elvis
next prev parent reply other threads:[~2003-02-10 6:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1704.1044835041.21513.help-gnu-emacs@gnu.org>
2003-02-10 4:42 ` changing default indent for C++ Jonathon Isaac Swiderski
2003-02-10 6:41 ` Kai Großjohann [this message]
2003-02-10 6:38 ` Kai Großjohann
2003-02-09 23:57 exits funnel
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84d6m08wne.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@uni-duisburg.de \
/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.
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).