From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Tab Spacing in Emacs Date: Thu, 05 Sep 2002 19:24:20 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id TAA30747 for ; Thu, 5 Sep 2002 19:24:29 +0200 In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Ricardo Colon Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 5 Sep 2002 13:19:47 -0400 (EDT), Ricardo Colon wrote: > > I need some help with Emacs, since it's driving me nuts. > > I want to set the tab spacing to 4 so that code is always indented 4 > spaces. No matter what I do with my .emacs file. The code in the buffer > always seems to display in terms of 2-space tabs. > > Are there any emacs experts out there that know how to fix this? > > Thanks. not sure whether here is the correct ml :) anyway, (add-hook 'c-mode-hook '(lambda () (setq c-basic-offset 4))) (add-hook 'c++-mode-hook '(lambda () (setq c-basic-offset 4))) Takashi ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390