From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Rowe Newsgroups: gmane.emacs.help Subject: Re: Emacs changed indenting on me Date: Thu, 30 Sep 2004 08:48:12 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1096549423 27081 80.91.229.6 (30 Sep 2004 13:03:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2004 13:03:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 30 15:03:39 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CD0ax-0005M4-00 for ; Thu, 30 Sep 2004 15:03:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CD0hL-00024e-Mg for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Sep 2004 09:10:15 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!uninett.no!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 147.177.193.15 Original-X-Trace: quimby.gnus.org 1096548660 31544 147.177.193.15 (30 Sep 2004 12:51:00 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 30 Sep 2004 12:51:00 +0000 (UTC) User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Original-Xref: shelby.stanford.edu gnu.emacs.help:125606 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20962 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20962 On Wed, 29 Sep 2004 14:09:40 -0700, Sarir Khamsi wrote: > Thanks, but does that change the indentation amount (ie, number of > spaces) and comment character placement? I don't see a call to that in > my ~/.emacs file. Yes it does. It can completely change the indentation style including the number of spaces. If the spaces do not suit you you can change that by setting the c-basic-offset variable. For example, I like 5 spaces per indent: (setq c-basic-offset 5) In reality I use the stroustroup indentation style which uses a basic-offset of 5 anyhow. Greg -- Home is where the .bashrc is.