all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: terjeros@phys.ntnu.no
Subject: Re: Can't start Emacs on a monochrome display
Date: Wed, 30 Jul 2003 22:17:50 +0900 (JST)	[thread overview]
Message-ID: <200307301317.WAA06628@etlken.m17n.org> (raw)
In-Reply-To: <200307151137.UAA15223@etlken.m17n.org> (message from Kenichi Handa on Tue, 15 Jul 2003 20:37:57 +0900 (JST))

In article <200307151137.UAA15223@etlken.m17n.org>, Kenichi Handa <handa@m17n.org> 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' <repeats 143 times>"...
> (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  <terjeros@phys.ntnu.no>

	* 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

  reply	other threads:[~2003-07-30 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 11:37 Can't start Emacs on a monochrome display Kenichi Handa
2003-07-30 13:17 ` Kenichi Handa [this message]
2003-07-31  0:58   ` Kenichi Handa
2003-08-01  2:20   ` Richard Stallman
2003-08-01  6:00     ` Jan D.
2003-08-01  6:34       ` Kenichi Handa
2003-08-02 17:24         ` Terje Rosten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307301317.WAA06628@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=terjeros@phys.ntnu.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.