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: Mon, 21 Sep 2009 20:57:53 +1000 Message-ID: <4AB75C31.4080109@pobox.com> References: <25520490.post@talk.nabble.com> <4AB58B81.7060806@pobox.com> <25530140.post@talk.nabble.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 1253530754 10129 80.91.229.12 (21 Sep 2009 10:59:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2009 10:59:14 +0000 (UTC) To: emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 21 12:59:07 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 1Mpgbq-0007Rh-GF for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Sep 2009 12:59:06 +0200 Original-Received: from localhost ([127.0.0.1]:60673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mpgbq-0006Ul-0i for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Sep 2009 06:59:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpgbR-0006Ug-EH for help-gnu-emacs@gnu.org; Mon, 21 Sep 2009 06:58:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpgbM-0006UU-26 for help-gnu-emacs@gnu.org; Mon, 21 Sep 2009 06:58:40 -0400 Original-Received: from [199.232.76.173] (port=50489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpgbL-0006UR-Su for help-gnu-emacs@gnu.org; Mon, 21 Sep 2009 06:58:35 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:61556 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpgbL-0007Fz-HC for help-gnu-emacs@gnu.org; Mon, 21 Sep 2009 06:58:35 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id D09E63B2BB for ; Mon, 21 Sep 2009 06:58:33 -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= yAsrufo+79NIHT5CJTuo0a2OE3A=; b=FIu8JdjDyq1zqWctQkmMGbxegQ2O1p1x xR7PRjrIrg7fnWaFlFhT/eTUAIkKo+Fc9mfXFttL4q+JD1ck9Uw/6U3w+r7V2gtt DJ0fzk8UrslUkphTGvM8DOmwQlArZVULoOWpV/SxXZSn2JUiG/ejMWqHTvNrK9Gc Wrpl8ZZ+JHU= 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=DaO0G8 FPnBUY7p6QBqMjt2XRVe0lR0C6iJ4S373uMa90JEw8BKC3+YQ2CGxqLqKxITHmKk lRBYLwIqNRF73J1I+EQCCcv4YnjlcqR0gkPkWIk9NWlPbR5/V4Z+nARYr/GwDtcU 0Jy2ZPxdxZcRuKuO54fF+YdM068lwiZ1kFXJg= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id CD2803B2BA for ; Mon, 21 Sep 2009 06:58:33 -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-quonix.pobox.com (Postfix) with ESMTPSA id 2C7683B2B9 for ; Mon, 21 Sep 2009 06:58:26 -0400 (EDT) User-Agent: Thunderbird 2.0.0.23 (X11/20090812) In-Reply-To: <25530140.post@talk.nabble.com> X-Pobox-Relay-ID: B49F6572-A69D-11DE-BBBB-A13518FFA523-14340206!a-pb-sasl-quonix.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:68344 Archived-At: >> (setq-default tab-width 4 >> indent-tabs-mode t) >> > > I found the sile, there was already some code and comments generated (very > litte), and I added the code to the bottom of the document, however, it > doesn't seem to have any effect, still indenting with 2 spaces. did you "tabify" the buffer beforehand? i.e. M-x mark-whole-buffer RET M-x tabify RET >> you could quickly evaluate it with C-x C-e to see its effect >> > > I did, and here is what I got: > > Debugger entered--Lisp error: (void-variable }) > eval(}) > eval-last-sexp-1(nil) > eval-last-sexp(nil) > call-interactively(eval-last-sexp nil nil) > > Seems like an error, a variable called }? I checked the .ecams file, not a > single curly bracket was in it. a thing to try would be to start emacs with the -Q command line option and execute M-: (setq-default tab-width 4) RET followed by M-: (setq-default indent-tabs-mode t) RET to see if it still happens