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, 13 Mar 2005 19:49:08 +0100 Message-ID: References: <877jkce8lv.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 1110740753 21519 80.91.229.2 (13 Mar 2005 19:05:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2005 19:05:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 13 20:05:53 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DAYPD-0006S4-2m for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2005 20:05:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAYek-0007WC-26 for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2005 14:21:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DAYaZ-0005wW-FY for emacs-devel@gnu.org; Sun, 13 Mar 2005 14:17:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DAYaT-0005t3-35 for emacs-devel@gnu.org; Sun, 13 Mar 2005 14:17:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAYaS-0005pf-1l for emacs-devel@gnu.org; Sun, 13 Mar 2005 14:17:16 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DAY9F-00066t-MI for emacs-devel@gnu.org; Sun, 13 Mar 2005 13:49:09 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DAY9F-0002uv-0G; Sun, 13 Mar 2005 13:49:09 -0500 Original-To: Stefan Monnier In-Reply-To: <877jkce8lv.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 12 Mar 2005 18:47:25 -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:34550 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34550 Stefan Monnier writes: > The patch below makes the Lucid menu use fontsets to draw its text, > so that it's able to write non-ASCII (the set of chars supported is > dependent on the locale, and of course on the fonts). Hmm. Is the dependency on the locale necessary? > I'm very much an idiot when it comes to X11 programming, xfaces.c, > and lwlib, so this might be riddled with bugs and misunderstandings, > but after some trial-and-error this not only works for me, but it > even looks sensible to me. > > Any objection? Well, I have a Latin-1 locale, and the Unicode menus from AUCTeX math input mode don't look well in there. GTK+, in contrast, has no problems with showing them. Is there a possibility for Emacs to figure out just what locales would be supported for fonts, and use utf-8 if possible? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum