all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Daniel Colascione <dancol@dancol.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: [PATCH 3/4] Implement cygw32
Date: Fri, 30 Dec 2011 08:56:47 +0800	[thread overview]
Message-ID: <87boqqho6o.fsf@gnu.org> (raw)
In-Reply-To: <4EFCE0A8.1080305@dancol.org> (Daniel Colascione's message of "Thu, 29 Dec 2011 13:50:32 -0800")

Daniel Colascione <dancol@dancol.org> writes:

> On 12/29/11 10:17 AM, Eli Zaretskii wrote:
>>> Date: Thu, 29 Dec 2011 09:53:03 -0800
>>> From: Daniel Colascione <dancol@dancol.org>
>>> CC: emacs-devel@gnu.org
>>>
>>>>> --- a/lisp/faces.el
>>>>> +++ b/lisp/faces.el
>>>>> @@ -89,7 +89,7 @@ ALTERNATIVE2 etc."
>>>>>  ;; This is defined originally in xfaces.c.
>>>>>  (defcustom face-font-registry-alternatives
>>>>>    (mapcar (lambda (arg) (mapcar 'purecopy arg))
>>>>> -  (if (eq system-type 'windows-nt)
>>>>> +  (if (featurep 'w32)
>>>>>        '(("iso8859-1" "ms-oemlatin")
>>>>>  	("gb2312.1980" "gb2312" "gbk" "gb18030")
>>>>>  	("jisx0208.1990" "jisx0208.1983" "jisx0208.1978")
>>>>
>>>> Why not use window-system (the function) here?
>>>
>>> Isn't it a little early for window-system at this point?
>> 
>> A defcustom is evaluated more than once.  So I'm a bit fuzzy about
>> "too early" ;-)
>
> When we initialize for the first time, we won't have a GUI frame to
> check, yes? (And then we dump the table into pure storage.) If there's
> no facility to force reevaluation of the mapping table, we'll end up
> using the wrong one when we *do* finally come up with a GUI frame.

In any case, these registry mappings are not important. They used to be,
because fonts were chosen based on particular registries, but now I
think all script to font mappings have an appropriate iso10646 character
range mapping which will work on Windows.  Some of them might still
serve some backwards compatibility purpose if users are using that
particular registry in their .emacs, but this probably only applies to
gb2312.




  reply	other threads:[~2011-12-30  0:56 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29 14:03 [PATCH 0/4] Support Win32 GUI in Cygwin Emacs Daniel Colascione
2011-12-29 14:03 ` [PATCH 4/4] Fix emacsclient to work with cygw32 Daniel Colascione
2011-12-29 16:28   ` Juanma Barranquero
2011-12-29 16:36     ` Daniel Colascione
2011-12-29 16:43       ` Juanma Barranquero
2011-12-29 16:47         ` Daniel Colascione
2011-12-29 16:49           ` Juanma Barranquero
2011-12-29 17:39   ` Eli Zaretskii
2011-12-29 17:56     ` Daniel Colascione
2011-12-29 18:18       ` Eli Zaretskii
2011-12-29 18:53         ` Juanma Barranquero
2011-12-29 14:03 ` [PATCH 2/4] Refactor window-system configuration Daniel Colascione
2011-12-29 22:21   ` Dan Nicolaescu
2011-12-29 22:29     ` Daniel Colascione
2011-12-29 22:43       ` Dan Nicolaescu
2011-12-29 22:48         ` Daniel Colascione
2011-12-29 23:05           ` Dan Nicolaescu
2011-12-29 23:08             ` Daniel Colascione
2011-12-30  8:54             ` Eli Zaretskii
2011-12-30  9:07               ` Daniel Colascione
2011-12-30  9:44                 ` Eli Zaretskii
2011-12-30  0:53       ` Stefan Monnier
2011-12-30  8:21       ` Eli Zaretskii
2011-12-30  8:26         ` Daniel Colascione
2011-12-30  9:38           ` Eli Zaretskii
2011-12-30  9:45             ` Daniel Colascione
2011-12-30 11:15             ` Stefan Monnier
2011-12-30  8:19     ` Eli Zaretskii
2011-12-29 14:03 ` [PATCH 1/4] Compilation cleanups Daniel Colascione
2011-12-29 17:54   ` Paul Eggert
2011-12-31 14:50     ` Ken Brown
2011-12-31 20:29       ` Paul Eggert
2011-12-29 14:03 ` [PATCH 3/4] Implement cygw32 Daniel Colascione
2011-12-29 17:29   ` Eli Zaretskii
2011-12-29 17:53     ` Daniel Colascione
2011-12-29 18:17       ` Eli Zaretskii
2011-12-29 21:50         ` Daniel Colascione
2011-12-30  0:56           ` Jason Rumney [this message]
2011-12-30  9:23           ` Eli Zaretskii
2011-12-30  9:36             ` Daniel Colascione
2011-12-30 11:16               ` Eli Zaretskii
2011-12-30  9:49   ` Andreas Schwab

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=87boqqho6o.fsf@gnu.org \
    --to=jasonr@gnu.org \
    --cc=dancol@dancol.org \
    --cc=eliz@gnu.org \
    --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.