From: Michael Mauger <mmaug@yahoo.com>
Subject: Re: char-displayable-p issue
Date: Tue, 21 Oct 2003 16:22:40 -0700 (PDT) [thread overview]
Message-ID: <20031021232240.14826.qmail@web60306.mail.yahoo.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1699 bytes --]
I can't reproduce that bug. When I turned on ruler-mode, I see both characters in the ruler head. Isn't it a bug specific to Windows?
Yes, it seems the problem is specific to Windows. Work well on my GNU/Linux box.
I'm not sure that this is just a Windows issue -- it may affect some X implementations as well. The problem seems to be that the wildcard pattern generated in `char-displayable-p' is not matching multiple hyphen separated portions of the font name. That is, '-*-*-iso8859-1' doesn't match any fonts while '-*-*-*-*-*-*-*-*-*-*-*-*-iso8859-1' does.
Here's a patch that corrects the problem (and should work reliably on all X implementations) but which runs very slowly on Windows.
Please review...
Index: emacs/lisp/international/mule-util.el===================================================================RCS file: /cvsroot/emacs/emacs/lisp/international/mule-util.el,vretrieving revision 1.53diff -b -u -r1.53 mule-util.el--- emacs/lisp/international/mule-util.el 1 Sep 2003 18:45:35 -00001.53+++ emacs/lisp/international/mule-util.el 21 Oct 2003 22:47:42 -0000@@ -386,7 +386,7 @@ (or (stringp font-pattern) (setq font-pattern (concat "-" (or (car font-pattern) "*")- "-*-"+ "-*-*-*-*-*-*-*-*-*-*-*-" (cdr font-pattern)))) (x-list-fonts font-pattern 'default (selected-frame) 1))))) (t
-- Michael
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
[-- Attachment #1.2: Type: text/html, Size: 2110 bytes --]
[-- Attachment #2: Type: text/plain, Size: 141 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next reply other threads:[~2003-10-21 23:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 23:22 Michael Mauger [this message]
2003-10-22 5:51 ` char-displayable-p issue Kenichi Handa
2003-10-22 16:00 ` Michael Mauger
-- strict thread matches above, loose matches on Subject: below --
2003-10-27 23:48 Michael Mauger
2003-10-28 8:21 ` Jason Rumney
2003-10-28 15:12 ` Michael Mauger
2003-10-22 19:09 Michael Mauger
2003-10-22 19:53 ` Jason Rumney
2003-10-23 20:21 ` Michael Mauger
2003-10-08 7:04 David PONCE
2003-10-13 23:40 ` Kenichi Handa
2003-10-14 5:56 ` David Ponce
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031021232240.14826.qmail@web60306.mail.yahoo.com \
--to=mmaug@yahoo.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).