Hrvoje Niksic wrote:
I would expect `xemacs -name fubar' to start a resourceless
XEmacs
(since I happen not to have fubar* resources). However, this does not
happen -- all of my resources are read, and
`x-emacs-application-class' is set to "XEmacs". resources. Is this
supposed to happen? Am I misunderstanding how `-name' works?
-name is supposed to set the application name, not the class.
The only difference between `xemacs' and xemacs -name fubar' is that
`xemacs*foo' resources won't be recognised, whilst `fubar*foo'
resources will be.
`*foo' and `Emacs*foo' will be recognised in either case, and the %N
specifier in XFILESEARCHPATH and XUSERFILESEARCHPATH will still be
`Emacs'.
There isn't generally any mechanism to change the application class;
it's set to whatever is passed to XtAppInitialize() or equivalent.
--
Glynn Clements <glynn(a)sensei.co.uk>