From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Newsgroups: gmane.emacs.help Subject: Re: Indentation settings problems Date: Sun, 20 Sep 2009 12:18:06 +1000 Message-ID: <4AB590DE.9080806@pobox.com> References: <25520490.post@talk.nabble.com> <4AB58B81.7060806@pobox.com> Reply-To: bernardo.bacic@pobox.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1253413158 28348 80.91.229.12 (20 Sep 2009 02:19:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Sep 2009 02:19:18 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 20 04:19:11 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 1MpC19-0004Jk-5q for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 04:19:11 +0200 Original-Received: from localhost ([127.0.0.1]:49290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpC18-0003HM-GQ for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 22:19:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpC0l-0003HH-Q3 for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 22:18:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpC0g-0003Cy-Dp for Help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 22:18:46 -0400 Original-Received: from [199.232.76.173] (port=50188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpC0g-0003Ck-8I for Help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 22:18:42 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:48658 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpC0f-00020v-UY for Help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 22:18:42 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 5940A57C72 for ; Sat, 19 Sep 2009 22:18:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:reply-to:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=sasl; bh= 1cv3DDQ6xewa3o+SVj2YRRw+F9Y=; b=s1/PJ+7JMYB4Pq3Q4VTAMnDouMuGCBs7 bJLAkOXx8ga0nq50GNegT2D4Kvw4usFSV9dTGEZsNgLSoWFFIkINeoQvETD6soxP nsYoRjr6WsWrpd0Io/gjVWeyGOR/xztlKSEdgTg/4c21gH+VGnmIcgzdROBpJ76F q0dkGTwZhfg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:reply-to:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=uYNWiN izdDYNntDdbdHM5PjZjcHfoMovpxy1gl5fDcIqVxvM+gDhHyoHQrQU+lmzYdLMue buspCmy2h9hWsfJAmqXhGjpInDyZyKdR/Ckh2/6DxjS16eg8yQOmi82ak0EXIxlP 0eHYetW/MWVUuRJtiFwdEdjsIBrces0vz/Xtg= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 5650857C71 for ; Sat, 19 Sep 2009 22:18:41 -0400 (EDT) Original-Received: from [192.168.1.10] (unknown [115.70.111.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id A7D1A57C6D for ; Sat, 19 Sep 2009 22:18:40 -0400 (EDT) User-Agent: Thunderbird 2.0.0.23 (X11/20090812) In-Reply-To: <4AB58B81.7060806@pobox.com> X-Pobox-Relay-ID: EA074EA4-A58B-11DE-9EC8-8B19076EA04E-14340206!a-pb-sasl-sd.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:68315 Archived-At: >> So, I would prefer 4 spaces instead of 2, or even better, a tab >> -Kristofer > > er, don't know about the menus - i never use them and have them turned > off, but the following in your .emacs should work: > > (setq-default tab-width 4 > indent-tabs-mode t) > > you could quickly evaluate it with C-x C-e to see its effect just to clarify this a bit further, you may need to 'tabify' your buffer to see the desired effect, mark the whole buffer with C-x h and tabify with M-x tabify