[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Emacs should check font width also when spacing is dual
From: |
Naohiro Aota |
Subject: |
Re: [PATCH] Emacs should check font width also when spacing is dual |
Date: |
Thu, 18 Jun 2009 09:57:21 +0900 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Naohiro Aota <address@hidden> writes:
>
>> Current behavior causes tab width to be doubled and so indent to be
>> strange.
>
> I don't see any strange behavior. (Tabs are displayed specially in
> Emacs, so I don't know how you're viewing them.) Please provide a
> reproducible test case.
Using fonts whose spacing is DUAL cause the problem. M+ font is one of
them. (1)
--8<---------------cut here---------------start------------->8---
12345678901234567890
<-tab
(add-hook 'after-save-hook
(function (lambda ()
(if (string= (expand-file-name "~/.emacs.el")
(buffer-file-name))
(save-excursion
(byte-compile-file "~/.emacs.el"))))))
--8<---------------cut here---------------end--------------->8---
(unpatched) emacs -q -fn "M+ 1m", open <above file>

same file with firefox

same file with patched emacs

(1) http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index-en.html