Excuse the posting of the previous message. The problem was that the
~/.Xdefaults file was not being correctly handled at X Window
startup. After renaming it to ~/.Xresources the requested
feature works correctly.
Thanks.
Romildo
=======================================================================
On Wed, May 03, 2000 at 12:47:32PM -0300, José Romildo Malaquias wrote:
Hello.
I am trying to have XEmacs (version 21.1.9) and GNU Emacs use X Window
resources correctly in my Red Hat Linux 6.2 system. But the resources
they use are not (fully) compatible. As far as I know, the application
class of the GNU Emacs process is "Emacs" and the application class
for the XEmacs process may be "Emacs" or "XEmacs", as described in
the
documentation for the variable `x-emacs-application-class'.
I will not set this variable because, "for the changes to this
variable to take effect, it must be made before the connection to the
X server is initialized, that is, the variable may only be changed
before emacs is dumped, or by setting it in the file
lisp/term/x-win.el" and I want to do a user configuration instead of a
system wide configuration.
"If this variable is nil before the connection to the X server is
first initialized (which it is by default), the X resource database
will be consulted and the value will be set according to whether any
resources are found for the application class `XEmacs'. If the user
has set any resources for the XEmacs application class, the XEmacs
process will use the application class `XEmacs'. Otherwise, the
XEmacs process will use the application class `Emacs' which is
backwards compatible to previous XEmacs versions but may conflict with
resources intended for GNU Emacs."
So I added resources for both classes 'Emacs' and 'XEmacs' in
~/.Xdefaults expecting GNU Emacs uses only the first and XEmacs uses
only the second. But that does not work. XEmacs insists in using the
class 'Emacs'. If I remove the resources for class 'Emacs', XEmacs
works correctly.
It seems that XEmacs is not behaving as described in the documentation
or maybe I have misunderstanded something.
Any clues?
Romildo
--
Prof. José Romildo Malaquias <romildo(a)iceb.ufop.br>
Departamento de Computação
Universidade Federal de Ouro Preto
Brasil
--
Prof. José Romildo Malaquias <romildo(a)iceb.ufop.br>
Departamento de Computação
Universidade Federal de Ouro Preto
Brasil