From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Baurzhan Ismagulov Newsgroups: gmane.emacs.help Subject: Re: tab size with emacs22 on Windows Date: Thu, 15 May 2008 12:25:50 +0200 Message-ID: <20080515102550.GA24527@radix50.net> References: <20080514150853.GC14393@radix50.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210847353 31902 80.91.229.12 (15 May 2008 10:29:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 10:29:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 12:29:39 2008 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 1Jwahw-0001Th-UM for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 12:29:09 +0200 Original-Received: from localhost ([127.0.0.1]:40415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwahD-0005t3-I6 for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 06:28:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jwaex-0003Rm-Hd for help-gnu-emacs@gnu.org; Thu, 15 May 2008 06:26:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jwaev-0003QB-Hw for help-gnu-emacs@gnu.org; Thu, 15 May 2008 06:26:03 -0400 Original-Received: from [199.232.76.173] (port=50580 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwaev-0003Pb-6b for help-gnu-emacs@gnu.org; Thu, 15 May 2008 06:26:01 -0400 Original-Received: from kz-easy.com ([85.214.25.173]:52279 helo=almaty.kz-easy.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jwaev-0006Ct-19 for help-gnu-emacs@gnu.org; Thu, 15 May 2008 06:26:01 -0400 Original-Received: from alatau.radix50.net (dslb-088-064-003-246.pools.arcor-ip.net [88.64.3.246]) (authenticated bits=0) by almaty.kz-easy.com (8.13.8/8.13.8/Debian-3) with ESMTP id m4FAPmA6012851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 15 May 2008 12:25:50 +0200 Original-Received: from alatau.radix50.net (localhost [127.0.0.1]) by alatau.radix50.net (8.13.8/8.13.8/Debian-3) with ESMTP id m4FAPoaO026504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 15 May 2008 12:25:51 +0200 Original-Received: (from ibr@localhost) by alatau.radix50.net (8.13.8/8.13.8/Submit) id m4FAPojR026503 for help-gnu-emacs@gnu.org; Thu, 15 May 2008 12:25:50 +0200 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:54004 Archived-At: Hello Eli, On Thu, May 15, 2008 at 06:11:09AM +0300, Eli Zaretskii wrote: > > I've installed > > ftp://ftp.gnu.org/gnu/emacs/windows/emacs-22.2-bin-i386.zip , and > > HORIZONTAL TABULATION characters in files with .c extension are > > displayed as four spaces. I have (add-hook 'c-mode-common-hook '(lambda > > () (c-set-style "linux"))) in my ~/.emacs and expect them to be > > displayed as eight spaces. > > I cannot reproduce this with "emacs -Q" after setting style to > "linux". Are you sure there's no other setting on your .emacs that > modifies tab-size? Aha, emacs 22.2.1 works as I expect with -Q. However, when I rename all .emacs files I can find to .emacs.OLD, start emacs without options, open a file with a .c extension, and M-x c-set-style RET linux RET, tabs are displayed as three spaces (I've counted wrongly yesterday). For now, I could work with -Q, but I'd like to solve this problem; how could I further analyze it? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/