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: Preload encoded-kb on MS-Windows Date: Sat, 13 May 2006 16:39:00 +0300 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1147527567 23189 80.91.229.2 (13 May 2006 13:39:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 May 2006 13:39:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 13 15:39:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FeuL0-0001vO-72 for ged-emacs-devel@m.gmane.org; Sat, 13 May 2006 15:39:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeuKz-0002fa-JJ for ged-emacs-devel@m.gmane.org; Sat, 13 May 2006 09:39:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeuKl-0002d0-W1 for emacs-devel@gnu.org; Sat, 13 May 2006 09:39:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FeuKk-0002co-LH for emacs-devel@gnu.org; Sat, 13 May 2006 09:39:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeuKk-0002cl-Ev for emacs-devel@gnu.org; Sat, 13 May 2006 09:39:02 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FeuMi-0008Cu-Hc for emacs-devel@gnu.org; Sat, 13 May 2006 09:41:04 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-243-9.inter.net.il [83.130.243.9]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DIS83257 (AUTH halo1); Sat, 13 May 2006 16:39:00 +0300 (IDT) Original-To: emacs-devel@gnu.org 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:54384 Archived-At: On MS-Windows, the startup code always causes encoded-kb to be loaded, because of this snippet from mule-cmds.el ;; On Windows, override locale-coding-system, ;; keyboard-coding-system with system codepage. Note: ;; selection-coding-system is already set in w32select.c. (when (boundp 'w32-ansi-code-page) (let ((code-page-coding (intern (format "cp%d" w32-ansi-code-page)))) (when (coding-system-p code-page-coding) (setq locale-coding-system code-page-coding) (set-keyboard-coding-system code-page-coding) (set-terminal-coding-system code-page-coding)))) This calls set-keyboard-coding-system, which in turn loads encoded-kb to enable Encoded Keyboard minor mode. I think this means we should preload encoded-kb on Windows. Does anyone disagree?