From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Non-ASCII in Lucid menus Date: Sun, 13 Mar 2005 22:00:51 -0500 Message-ID: References: <877jkce8lv.fsf-monnier+emacs@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1110769422 4597 80.91.229.2 (14 Mar 2005 03:03:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2005 03:03:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 04:03:41 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DAfro-0004tf-Ap for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2005 04:03:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAg7O-00085E-VM for ged-emacs-devel@m.gmane.org; Sun, 13 Mar 2005 22:19:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DAg5Z-0007Eb-0Q for emacs-devel@gnu.org; Sun, 13 Mar 2005 22:17:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DAg5R-0007Ao-2d for emacs-devel@gnu.org; Sun, 13 Mar 2005 22:17:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DAg5Q-0007A1-UM for emacs-devel@gnu.org; Sun, 13 Mar 2005 22:17:44 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DAfp5-0004XY-I7 for emacs-devel@gnu.org; Sun, 13 Mar 2005 22:00:51 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DAfp5-0003uS-5t; Sun, 13 Mar 2005 22:00:51 -0500 Original-To: Stefan Monnier In-reply-to: <877jkce8lv.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sat, 12 Mar 2005 18:47:25 -0500) 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:34559 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34559 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). Thanks very much. 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. I am no expert either, so I hope that some who know better than I do will check it.