bug-gnu-emacs
[Top][All Lists]
Advanced

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

can't specify X resource instance name for all frames without setting fr


From: Kevin Rodgers
Subject: can't specify X resource instance name for all frames without setting frame titles
Date: Fri, 17 Dec 2004 12:54:48 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

In GNU Emacs 21.3.2 (i386-pc-solaris2.8, X toolkit)
 of 2003-05-22 on zeus
configured using `configure --prefix=/opt/csw --with-xpm --with-jpeg --with-png --with-gif'

I would like to run emacs so that it uses a few specific X resources in
my ~/.Xdefaults file with a different instance name than the "emacs"
invocation name, plus all the usual X resources that I've specified
there with the "Emacs" class name.  I want those resources used in all
frames (initial and subsequent), which is one of the reasons I prefer
specifying them in .Xdefaults instead of setting both initial- and
default-frame-alist in .emacs.  And I don't want the instance name to
override frame-title-format.

But specifying the X instance name via the --name "foo" command line
option only applies the "foo" resources to the initial frame, and sets
its title to "foo"; subseqent frames have the selected buffer name as
the title (as normal and desired), but don't use the "foo" resources.

Specifying the X instance name via the --xrm "Emacs.name: foo" command
line option applies the "foo" resources to the initial frame and
subsequent frames, but also sets the title of all frames to "foo".

Specifying the X instance name via the --eval "(setq x-resource-name \"foo\")"
command line option has no effect at all.

If there is a way to specify the X resource instance name for all frames
without setting the frame titles, what is it?  And if there isn't, there
should be.

--
Kevin Rodgers




reply via email to

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