[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars

From: Kenichi Handa
Subject: Re: Crash: XSetWMIconName, x_set_name_internal, prepare_menu_bars
Date: Mon, 04 Jun 2007 09:38:14 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, YAMAMOTO Mitsuharu <address@hidden> writes:

>>>>>> On Sun, 03 Jun 2007 12:52:26 -0400, Richard Stallman <address@hidden> 
>>>>>> said:
> > There needs to be a GCPRO in x_set_name_internal around the calls to
> > x_encode_text, at least to protect the variable encoded_name.  Or
> > else the code needs to be rearranged so encoded_name is not used
> > after the calls to x_encode_text.

> Such GCPROs are not necessary because x_encode_text is called with the
> third arg SELECTIONP == 0.  Actually, there's no SELECTIONP != 0 case
> in the current Emacs code.

I remember that x_encode_text had been used to encode X
selection data, but now it is not in Emacs 22.

But, in emacs-unicode-2, x_encode_text uses
encode_coding_object, and that function does call Lisp for

Kenichi Handa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]