www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/10/10:50:35

Date: Mon, 10 Apr 2000 17:36:27 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Bracketing: A Matter of Style
In-Reply-To: <m1m3fsci6ujsn24q41m9puqdab21qsfi2m@4ax.com>
Message-ID: <Pine.SUN.3.91.1000410172947.24866J-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 10 Apr 2000, Damian Yerrick wrote:

> In Emacs, how do I get BSD style with two space indentation?

Put this into your .emacs and restart Emacs:

(setq c-default-style "bsd")

This is all in the on-line manual of cc-mode, btw.

The on-line manual of cc-mode also includes a description of an 
interactive procedure whereby you should be able to define any style of 
indentation you can think of, in case none of the built-in styles fits
your needs/desires.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019