🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99281

x-get-default doesn't work

#99281
From: Jochen Schwarze
Date: Tue, 09 Oct 1990 21:11
14 lines
1237 bytes
In x11term.c, function x_term_init() XXidentity is deliberately left a
NULL pointer if the CLASS string is to be used as resource name.

In XT_Set_Class_Hints, however, is set to an empty string "" if it was
a NULL pointer. 

x-get-default in x11fns.c only checks for the NULL pointer. The
function will therefore *not* work if XXidentity is an empty string,
which is the case if emacs was started with command name `emacs'.
--

Jochen Schwarze                     Domain: schwarze@isa.de
ISA GmbH, Stuttgart, West Germany   UUCP:   schwarze@isaak.uucp
                                    Bang:   ...!uunet!unido!isaak!schwarze
Technical Details
Message-ID: <3201@isaak.isa.de>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!isa.de!schwarze

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,ddf13801b8c6f3bd,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-10-09 14:11:49 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!isa.de!schwarze
From: schwarze@isa.de (Jochen Schwarze)
Newsgroups: gnu.emacs.bug
Subject: x-get-default doesn't work
Message-ID: <3201@isaak.isa.de>
Date: 9 Oct 90 21:11:49 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: ISA GmbH, Stuttgart, FRG
Lines: 14
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Tue Oct  9 22:11:49 1990