From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Paulo J. Matos" Newsgroups: gmane.emacs.help Subject: Re: Spaces instead of tabs in new mode Date: Tue, 16 Jun 2009 23:54:49 +0100 Message-ID: <1245192889.15893.2.camel@drserver> References: <7ciqiwwf18.fsf@pbourguignon.anevia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245192923 12155 80.91.229.12 (16 Jun 2009 22:55:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2009 22:55:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Pascal J. Bourguignon" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 17 00:55:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MGhYj-0001hJ-3B for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jun 2009 00:55:17 +0200 Original-Received: from localhost ([127.0.0.1]:44505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGhYi-00010G-IV for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jun 2009 18:55:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGhYO-0000zw-MS for help-gnu-emacs@gnu.org; Tue, 16 Jun 2009 18:54:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGhYL-0000zW-4Z for help-gnu-emacs@gnu.org; Tue, 16 Jun 2009 18:54:56 -0400 Original-Received: from [199.232.76.173] (port=54184 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGhYK-0000zT-BN for help-gnu-emacs@gnu.org; Tue, 16 Jun 2009 18:54:52 -0400 Original-Received: from mail-ew0-f210.google.com ([209.85.219.210]:65138) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGhYJ-0007z1-U8 for help-gnu-emacs@gnu.org; Tue, 16 Jun 2009 18:54:52 -0400 Original-Received: by ewy6 with SMTP id 6so722052ewy.42 for ; Tue, 16 Jun 2009 15:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=hSXANEkEkhoNVW2lXjXyRevV8jXxlntEpIZoiXOuxQU=; b=clighkkaPPo5tPUBulN3s9jKIJjeIIacIO6NRbDFFFiZJTROUQwqmUhmdNCJEFLFJd EtfyD+eFzWILZCAPs3+XQ0Dd16zYym3rC2JCtXxk4hebsni9ybV+d8OrpP5FaYwVTaeW nwGlLyVOEa3DuhE0GUumzkdSkNn9RJYMuj9E4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=Bd5UWtbNwe9dPzDzscNWuBcHGYwTvP1Fpga34B0qqPAQe/i6rsJFyBJhhWK46Ifi2U ZO5OYudzyZXlHAn5yTMxCL7i4GMNwBtRHfjO+anvdpxucSbuXcaGC6MaichSA7++24kk Lc2tEx9Zn4LBFDKBEmbQF4r51iIZ0zbDFJWtI= Original-Received: by 10.210.29.17 with SMTP id c17mr10510799ebc.61.1245192890993; Tue, 16 Jun 2009 15:54:50 -0700 (PDT) Original-Received: from ?192.168.1.2? ([92.24.85.65]) by mx.google.com with ESMTPS id 7sm313398eyb.15.2009.06.16.15.54.50 (version=SSLv3 cipher=RC4-MD5); Tue, 16 Jun 2009 15:54:50 -0700 (PDT) In-Reply-To: <7ciqiwwf18.fsf@pbourguignon.anevia.com> X-Mailer: Evolution 2.26.2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65331 Archived-At: On Tue, 2009-06-16 at 14:15 +0200, Pascal J. Bourguignon wrote: > "Paulo J. Matos" writes: > > > Hi, > > > > I have programming and indent-line for my new major mode but tabs are > > not shown as spaces and are too big. How can I program emacs to show > > the tabs as spaces and have a way to program the number of spaces per > > tab? > > M-x customize-variable RET tab-width RET OK, thanks. Should I set that variable in my new mode or should I leave it to the user to set to whatever value it wants? Cheers, Paulo Matos