help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tab size with emacs22 on Windows


From: Baurzhan Ismagulov
Subject: Re: tab size with emacs22 on Windows
Date: Thu, 15 May 2008 16:07:53 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, May 15, 2008 at 06:11:09AM +0300, Eli Zaretskii wrote:
> > Date: Wed, 14 May 2008 17:08:54 +0200
> > From: Baurzhan Ismagulov <address@hidden>
> > 
> > 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.

Oh, it turned out that I had been lost in different .emacs files:
emacs22 saves it to c:\Documents and Settings\ibr\Application Data,
Cygwin emacs -- to ~, and emacs21 -- to c:\.

The tab width behavior was caused by (set-default-font
"-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1") in
~/.emacs. I wrapped it into (if (eq window-system 'x) (set-default-font
...)), and now everything works fine.

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]