From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathon Isaac Swiderski <jonswid@umich.edu> Newsgroups: gmane.emacs.help Subject: Re: changing default indent for C++ Date: Sun, 9 Feb 2003 23:42:55 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <Pine.SOL.4.44.0302092337140.22855-100000@asteroids.gpcc.itd.umich.edu> References: <mailman.1704.1044835041.21513.help-gnu-emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1044853460 26248 80.91.224.249 (10 Feb 2003 05:04:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2003 05:04:20 +0000 (UTC) Return-path: <help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org> Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18i679-0006pC-00 for <gnu-help-gnu-emacs@m.gmane.org>; Mon, 10 Feb 2003 06:04:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18i68E-0004HR-07 for gnu-help-gnu-emacs@m.gmane.org; Mon, 10 Feb 2003 00:05:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!news.itd.umich.edu!asteroids.gpcc.itd.umich.edu!jonswid Original-Newsgroups: gnu.emacs.help X-X-Sender: jonswid@asteroids.gpcc.itd.umich.edu In-Reply-To: <mailman.1704.1044835041.21513.help-gnu-emacs@gnu.org> Original-Lines: 29 Original-NNTP-Posting-Host: 141.211.2.218 Original-X-Trace: news.itd.umich.edu 1044852176 141.211.2.218 (Sun, 09 Feb 2003 23:42:56 EST) Original-NNTP-Posting-Date: Sun, 09 Feb 2003 23:42:56 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:110004 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org> List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help> List-Post: <mailto:help-gnu-emacs@gnu.org> List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe> List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs> List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe> Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6509 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6509 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.