Hi!

I think I've found the problem.

When you configure a Debian system you give a hostname (foo) and
a domain name (bar.com), after this /etc/hostname contains
foo and /etc/hosts contains `WWW.XXX.YYY.ZZZ foo.bar.com foo'.

With this configuration `uname -n' answers foo like `hostname' or
`hostname -s' ; `hostname -f' gives foo.bar.com and `hostname -d'
bar.com.

If I use a ~/.Xdefaults-foo, xterm will use it because foo is the
hostname (uname -n). However Emacs won't because it looking fo a fqdn
(it's in the file sysdep.c init_system_name()). The result of
`emacs --no-site-file -q --batch --eval "(message system-name)"' is
foo.bar.com and emacs will search a ~/.Xdefaults-foo.bar.com.

I only seen three solutions to solve this problem :
  * use a link (hard or symbolic) between ~/.Xdefaults-foo and
  ~/.Xdefaults-foo.bar.com
  * put a fqdn in /etc/hostname
  * remove foo.bar.com from /etc/hosts

Whatever, I think you can close this bug because it's not Debian
relative.

Best Regards.
-- 
Benoit Izac




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to