From: Naohiro Aota <naota@elisp.net>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Emacs should check font width also when spacing is dual
Date: Thu, 18 Jun 2009 09:57:21 +0900 [thread overview]
Message-ID: <87d492z7da.fsf@yue.localnetwork> (raw)
In-Reply-To: <873a9yixvc.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 17 Jun 2009 13:16:55 -0400")
[-- Attachment #1: Type: text/plain, Size: 836 bytes --]
Chong Yidong <cyd@stupidchicken.com> writes:
> Naohiro Aota <naota@elisp.net> 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>
[-- Attachment #2: screenshot-20090618_0934.png --]
[-- Type: image/png, Size: 21804 bytes --]
[-- Attachment #3: Type: text/plain, Size: 25 bytes --]
same file with firefox
[-- Attachment #4: screenshot-20090618_0921.png --]
[-- Type: image/png, Size: 1496 bytes --]
[-- Attachment #5: Type: text/plain, Size: 31 bytes --]
same file with patched emacs
[-- Attachment #6: screenshot-20090618_0948.png --]
[-- Type: image/png, Size: 20822 bytes --]
[-- Attachment #7: Type: text/plain, Size: 73 bytes --]
(1) http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index-en.html
prev parent reply other threads:[~2009-06-18 0:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 14:56 [PATCH] Emacs should check font width also when spacing is dual Naohiro Aota
2009-06-17 17:16 ` Chong Yidong
2009-06-18 0:57 ` Naohiro Aota [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d492z7da.fsf@yue.localnetwork \
--to=naota@elisp.net \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.