From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Can't start Emacs on a monochrome display Date: Wed, 30 Jul 2003 22:17:50 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200307301317.WAA06628@etlken.m17n.org> References: <200307151137.UAA15223@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1059571402 17159 80.91.224.249 (30 Jul 2003 13:23:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2003 13:23:22 +0000 (UTC) Cc: terjeros@phys.ntnu.no Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jul 30 15:23:18 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hqru-00047f-00 for ; Wed, 30 Jul 2003 15:19:50 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19hqts-0006H2-00 for ; Wed, 30 Jul 2003 15:21:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hqrC-0004ag-RO for emacs-devel@quimby.gnus.org; Wed, 30 Jul 2003 09:19:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19hqqk-0004Mj-Vi for emacs-devel@gnu.org; Wed, 30 Jul 2003 09:18:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19hqqQ-0004Dp-Af for emacs-devel@gnu.org; Wed, 30 Jul 2003 09:18:18 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hqq0-00046q-Np for emacs-devel@gnu.org; Wed, 30 Jul 2003 09:17:53 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id h6UDHou04970; Wed, 30 Jul 2003 22:17:50 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id h6UDHo903915; Wed, 30 Jul 2003 22:17:50 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id WAA06628; Wed, 30 Jul 2003 22:17:50 +0900 (JST) Original-To: emacs-devel@gnu.org In-reply-to: <200307151137.UAA15223@etlken.m17n.org> (message from Kenichi Handa on Tue, 15 Jul 2003 20:37:57 +0900 (JST)) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15737 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15737 In article <200307151137.UAA15223@etlken.m17n.org>, Kenichi Handa writes: > With the latest CVS HEAD, I can't start Emacs on a > monochrome display. > Starting program: /usr/local/work/emacs-head/src/emacs -display etlken:0.0 > Breakpoint 2, x_error_quitter (display=0x84f99f8, error=0xbfffdc6c) > at xterm.c:7829 > (gdb) n > (gdb) n > (gdb) p buf1 > $6 = "X protocol error: BadPixmap (invalid Pixmap parameter) on protocol request 54", '\0' "... > (gdb) up 5 > #5 0x080b9e2b in x_defined_color (f=0x840f4a0, color_name=0x84e1a00 "white", > color=0xbfffde20, alloc_p=1) at xfns.c:1028 I tracked this problem down to this change: 2003-07-13 Terje Rosten * xterm.c (x_bitmap_icon,x_wm_set_icon_pixmap): Modify to add mask, and use the Gtk+ function gtk_window_icon_from_file if available. * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to handle mask of bitmaps. (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the mask property. (xg_set_icon): New function, wrapper for gtk_window_icon_from_file. * xterm.h (xg_set_icon): New function. When I cancel this change, Emacs starts up correctly on a monochrome display. Terje, don't you have any idea about what is wrong? --- Ken'ichi HANDA handa@m17n.org