From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Face remapping on mouse menu Date: Sun, 15 Jun 2008 21:25:47 -0400 Message-ID: <87abhmtbl0.fsf@stupidchicken.com> References: <87iqwfrzph.fsf@stupidchicken.com> <87hcbuwjfe.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213579566 31425 80.91.229.12 (16 Jun 2008 01:26:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2008 01:26:06 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 16 03:26:49 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 1K83Ue-0000jS-2y for ged-emacs-devel@m.gmane.org; Mon, 16 Jun 2008 03:26:48 +0200 Original-Received: from localhost ([127.0.0.1]:36762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K83Tp-0004jS-PK for ged-emacs-devel@m.gmane.org; Sun, 15 Jun 2008 21:25:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K83Tl-0004jD-6T for emacs-devel@gnu.org; Sun, 15 Jun 2008 21:25:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K83Tj-0004j1-OC for emacs-devel@gnu.org; Sun, 15 Jun 2008 21:25:52 -0400 Original-Received: from [199.232.76.173] (port=43428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K83Tj-0004iy-Il for emacs-devel@gnu.org; Sun, 15 Jun 2008 21:25:51 -0400 Original-Received: from c-98-216-111-182.hsd1.ma.comcast.net ([98.216.111.182]:15042 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K83Tg-0007wh-Lu; Sun, 15 Jun 2008 21:25:48 -0400 Original-Received: by furry (Postfix, from userid 1000) id B082AC056; Sun, 15 Jun 2008 21:25:47 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Mon, 16 Jun 2008 01:55:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 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:99280 Archived-At: "Juanma Barranquero" writes: >> As per my previous email, I've installed a new binding for >> S-down-mouse-1, which pops up a menu for remapping the default face in >> the current buffer. Please let me know if there are any problems. > > If I try to select one of the WST fonts (these are bitmapped fonts > installed by default on Windows XP) I get an assertion failure: > > Breakpoint 1, w32_abort () at w32fns.c:9360 > 9360 button = MessageBox (NULL, > (gdb) bt > #0 w32_abort () at w32fns.c:9360 > #1 0x011990a7 in font_style_symbolic_from_value > (prop=FONT_WEIGHT_INDEX, val=1600, for_face=0) at font.c:372 > #2 0x01206c94 in Fx_select_font (frame=25765889, > include_proportional=25765889) at w32font.c:1944 Do you get a similar assertion selecting the font using "X resources", or using (set-face-attribute 'default nil :face FONT)?