From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Still cannot build native windows version of emacs 23.* Date: Sat, 09 Feb 2008 14:20:20 +0200 Message-ID: References: <47A6F0BA.7020806@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1202559645 27197 80.91.229.12 (9 Feb 2008 12:20:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2008 12:20:45 +0000 (UTC) Cc: mindcooler@gmail.com, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 09 13:21:07 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JNohc-00061j-Mt for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2008 13:21:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNoh9-00040V-IU for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2008 07:20:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNoh4-0003xj-He for emacs-devel@gnu.org; Sat, 09 Feb 2008 07:20:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNoh3-0003wT-6K for emacs-devel@gnu.org; Sat, 09 Feb 2008 07:20:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNoh3-0003wN-0e for emacs-devel@gnu.org; Sat, 09 Feb 2008 07:20:29 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNoh2-0008Jt-VQ for emacs-devel@gnu.org; Sat, 09 Feb 2008 07:20:29 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-218-44.inter.net.il [83.130.218.44]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id JCO29894 (AUTH halo1); Sat, 9 Feb 2008 14:17:52 +0200 (IST) In-reply-to: (message from Eli Zaretskii on Sat, 09 Feb 2008 12:50:59 +0200) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88591 Archived-At: > Date: Sat, 09 Feb 2008 12:50:59 +0200 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > From: Eric Lilja > > Date: Sat, 09 Feb 2008 11:35:37 +0100 > > > > It does indeed seem to bootstrap now! I haven't performed a make info > > and make install yet because I'm worried about the locale-related > > warning that is displayed for all lisp files when they are compiled. > > I'll try to look at those. I took a quick look. The warning comes from this code in mule-cmds.el, part of the function set-locale-environment: (when (get-language-info current-language-environment 'coding-priority) (let ((codeset (locale-info 'codeset)) (coding-system (car (coding-system-priority-list)))) (when codeset (let ((cs (coding-system-aliases coding-system)) result) (while (and cs (not result)) (setq result (locale-charset-match-p (symbol-name (pop cs)) (locale-info 'codeset)))) (unless result (message "Warning: Default coding system `%s' disagrees with system codeset `%s' for this locale." coding-system codeset)))))))) As far as I could see, `(locale-info 'codeset)' on Windows returns the codepage that corresponds to the current language, e.g. cp1252 for a Western-European locale. But this codepage is not in the list returned by coding-system-priority-list; thus the warning. I don't really understand the rationale for this test and the warning; Handa-san, could you please shed some light on it? What does this code try to find out, and what is the meaning of the warning? TIA