From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Non-ASCII in Lucid menus Date: Sun, 20 Mar 2005 04:21:56 +0100 Message-ID: References: <877jkce8lv.fsf-monnier+emacs@gnu.org> <42341EC4.3060405@swipnet.se> <87r7ijbray.fsf-monnier+emacs@gnu.org> <7b2c4ca190cea7657e31ed04f07d3377@swipnet.se> <87ll8nk49o.fsf-monnier+emacs@gnu.org> <87u0n960b7.fsf-monnier+emacs@gnu.org> <87fyys3c4e.fsf-monnier+emacs@gnu.org> <87psxvxhvl.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111289423 31293 80.91.229.2 (20 Mar 2005 03:30:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2005 03:30:23 +0000 (UTC) Cc: jan.h.d@swipnet.se, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 20 04:30:22 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DCr7g-0004O4-DW for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2005 04:29:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCrOU-0000XR-FT for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2005 22:46:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DCrOA-0000TS-Pw for emacs-devel@gnu.org; Sat, 19 Mar 2005 22:46:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DCrO4-0000Pn-4K for emacs-devel@gnu.org; Sat, 19 Mar 2005 22:46:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCrO2-0000MY-HF for emacs-devel@gnu.org; Sat, 19 Mar 2005 22:45:58 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DCr12-0003KF-Ls for emacs-devel@gnu.org; Sat, 19 Mar 2005 22:22:12 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DCr0v-0000pH-Ll; Sat, 19 Mar 2005 22:22:05 -0500 Original-To: Stefan Monnier In-Reply-To: <87psxvxhvl.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 19 Mar 2005 19:50:21 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34807 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34807 Stefan Monnier writes: >> Well, my patch does not address the issue mentioned by Dave: it >> can only display multilingual chars that are part of the user's >> locale. >> Could it select the locale according to the characters to be displayed? > > The locale info is embedded somewhere in the Xt widget info (I'm not sure > where, really), so maybe it can be done, but I don't know how. > It's probably easier to temporarily select a utf-8 locale when creating the > widget, so as to get the same behavior as Gtk where the menus always use > utf-8. That sounds very sensible. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum