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

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

Re: changing default indent for C++


From: Jonathon Isaac Swiderski
Subject: Re: changing default indent for C++
Date: Sun, 9 Feb 2003 23:42:55 -0500

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

and set it how you like.  The result looks something like:

(custom-set-variables '(tab-width 4))

> Learning LIST is on my todo list

I believe you mean LISP :)
(which does, in fact, stand for LISt Processor, but that's a few inches to
one side of the point. . .)

-- 
Jonathon Isaac Swiderski \\ dangercat-20@dangercat.net
www.umich.edu/~jonswid    \\ umich.edu/~jonswid/resume

A closed mouth gathers no foot.



reply via email to

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