From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: pjacklam@online.no (Peter J. Acklam) Newsgroups: gmane.emacs.help Subject: Re: replace TAB with 8 whitespaces Date: Thu, 12 Jun 2003 19:34:04 +0200 Organization: Private Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055439697 10255 80.91.224.249 (12 Jun 2003 17:41:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2003 17:41:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 12 19:41:36 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19QW4t-0002fH-00 for ; Thu, 12 Jun 2003 19:41:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19QW4G-0002wb-CO for gnu-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2003 13:40:56 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (windows-nt) Cancel-Lock: sha1:mo+nn7kIZz1erZPHN0qjOU0xORk= Original-Lines: 15 Original-NNTP-Posting-Host: 130.67.69.18 Original-X-Complaints-To: news-abuse@telenor.net Original-NNTP-Posting-Date: Thu, 12 Jun 2003 19:35:33 MEST Original-X-Trace: news2.ulv.nextra.no 1055439333 130.67.69.18 Original-Xref: shelby.stanford.edu gnu.emacs.help:114412 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 List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10906 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10906 "jinneemop" wrote: > I wish to use 8 spaces to indent source code under c++ mode. > When I press TAB, I'd like emacs to insert 8 spaces instead. > How can I do this? (setq-default indent-tabs-mode nil) Peter -- I wish dialog boxes had a button saying "Whatever". I hate being forced to answer "Yes" or "No" to a question I have no opinion on whatsoever. There ought to be a button matching my indifference. -- me