>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)srce.hr> writes:
Hrvoje> Martin Buchholz <martin(a)xemacs.org> writes:
Hrvoje> xterm behaves the way I'd expected, and XEmacs behaves
Hrvoje> differently. To reiterate, `xterm -name junk' opens a
Hrvoje> resource-less xterm, and `xemacs -name junk' doesn't appear
Hrvoje> to do anything useful.
>
> ??
>
> ./xemacs -name junk -xrm 'junk.modeline.attributeBackground: yellow'
>
> gives me a yellow modeline.
Hrvoje> Martin, what I expected `xemacs -name junk' to do was to get me an
Hrvoje> XEmacs without any X resources.
Ahh.
That would be non-standard.
You still get the Emacs*foo and *foo resources. Just like xterm.
We could add a `-class' option to XEmacs which would allow you to do:
xemacs -class NoSuchClass -name NoSuchName
and get a vanilla xemacs.
What I do to get a vanilla xemacs with no Martin-specific X resources is:
xemacs="$1"
shift
unset XFILESEARCHPATH EMACSLOADPATH
exec env \
XUSERFILESEARCHPATH=$HOME/luser \
XAPPLRESDIR=$HOME/luser \
XENVIRONMENT=/dev/null \
HOME=$HOME/luser \
"${xemacs}" "$@"
Martin