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:49:37 +0100 Message-ID: <1245192577.15893.1.camel@drserver> References: <11b141710906160506g77945d73i69d8c6b7305af386@mail.gmail.com> <87d494nyxq.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245192695 11657 80.91.229.12 (16 Jun 2009 22:51:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2009 22:51:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thierry Volpiatto Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 17 00:51:33 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 1MGhV5-0000WZ-V3 for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jun 2009 00:51:32 +0200 Original-Received: from localhost ([127.0.0.1]:42987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGhV4-00088n-Un for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Jun 2009 18:51:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGhTN-0007XF-KX for help-gnu-emacs@gnu.org; Tue, 16 Jun 2009 18:49:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGhTJ-0007VI-0S for help-gnu-emacs@gnu.org; Tue, 16 Jun 2009 18:49:45 -0400 Original-Received: from [199.232.76.173] (port=37359 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGhTI-0007V7-Qk for help-gnu-emacs@gnu.org; Tue, 16 Jun 2009 18:49:40 -0400 Original-Received: from mail-ew0-f210.google.com ([209.85.219.210]:53989) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGhTI-0006tm-Eq for help-gnu-emacs@gnu.org; Tue, 16 Jun 2009 18:49:40 -0400 Original-Received: by ewy6 with SMTP id 6so718543ewy.42 for ; Tue, 16 Jun 2009 15:49:39 -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=QkKjygIBxlXNd/hs+/MkbgYDCtxiIVnv17LqpXcw/x4=; b=tch5icqK7cgDMsOEBVbLV5aqqofwK99RxdMUYmViGhWu+7S7k8Mkkde6z11v51UFs2 bhAqFW0Rgq50DKrO0xg6gFDS74H3uc7SLXl7w8om3J0e284t8un5F4xgdaN7M7gupOBI fSf6IyYcq3OM96fvyFOdMl8ycU1v6NiGVlJLI= 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=jyOXG3QIh4X/bUwPCEzGgJCCzzMnLU1qK/PB7SFQY4lLQ6/JnPMsKHjipC9pQKMn7C srP6hO7QfqmMrg5c3sD1VKZVL7oSTmtM+zgm86Z1N6Rvp4W54e6d4Iquf8K5nt5E9lTt 2duhQ+Vq6TCestxoE0PK0w541vUZXL5usMf1Y= Original-Received: by 10.210.137.17 with SMTP id k17mr1891964ebd.52.1245192579732; Tue, 16 Jun 2009 15:49:39 -0700 (PDT) Original-Received: from ?192.168.1.2? ([92.24.85.65]) by mx.google.com with ESMTPS id 23sm231793eya.49.2009.06.16.15.49.38 (version=SSLv3 cipher=RC4-MD5); Tue, 16 Jun 2009 15:49:39 -0700 (PDT) In-Reply-To: <87d494nyxq.fsf@tux.homenetwork> 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:65330 Archived-At: On Tue, 2009-06-16 at 14:30 +0200, Thierry Volpiatto wrote: > Hi, you can put this in your .emacs: > > ,---- > | (setq-default indent-tabs-mode nil) > `---- > > to avoid tab indenting. > I programmed a new mode. Can't I say that specifically for this mode I want this to always happen? Cheers, Paulo Matos > > "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? > > > > Thanks, >