all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rustom <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs not finding Xdefaults
Date: Thu, 29 Nov 2007 06:13:00 -0800 (PST)	[thread overview]
Message-ID: <acac0105-17b7-4730-b96b-5f6fa574ae6e@s12g2000prg.googlegroups.com> (raw)
In-Reply-To: mailman.4270.1196280526.18990.help-gnu-emacs@gnu.org

On Nov 29, 1:07 am, James Cloos <cl...@jhcloos.com> wrote:
> >>>>> "rustom" == rustom <rustompm...@gmail.com> writes:
>
> rustom> I have a .Xdefaults file containing things like
>
> rustom> Strangely when X starts it does not use these settings but if I
> rustom> start emacs-snapshot-gtk from the shell it finds them.
>
> There are two ways an ~/.Xdefaults file can get used.
>
> Many server startup script merge any ~/.Xdefaults files into the
> server's resource db.  This finds ~/.Xdefaults files on the box where
> the X server process runs.  (That distinction becomes relevant whenever
> remote clients are run using the local server for their DISPLAY.)
>
> Also, libX11 will load in any ~/.Xdefaults files it finds whenever a
> client starts up.  Except that it will ignore ~/.Xdefaults if any
> resources are already in the server's resource db.
>
> Finally, libX11 will also look for and load resources from
> any ~/.Xdefaults-$(hostname) files it finds.
>
> In the case of remote clients, libX11 of course only sees files on the
> box where the client is running.
>
> If you use ~/.Xdefaults-$(hostname) (of course replacing $(hostname)
> with the output of /bin/hostname) instead of ~/.Xdefaults you can be
> sure it is loaded every time a client starts.

Cant say I understand all the subtleties.  What I can say is that this
is one single PC. So how separated client and server issues should
arise is not clear.

>
> I usually keep a symlink ~/.Xdefaults-$(hostname) pointing to .Xdefaults
> to make management easier.

Well I can do that. But as I said I dont fully understand what you've
said (and the problem solved itself (not something a programmer feels
too happy about (sorry for the lispy () ))) so rather I'll bear your
advice in mind and the next time I have a similar problem I'll try
this.
Thanks

Rustom

  parent reply	other threads:[~2007-11-29 14:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 14:10 emacs not finding Xdefaults rustom
2007-11-28 15:00 ` Peter Dyballa
     [not found] ` <mailman.4248.1196262037.18990.help-gnu-emacs@gnu.org>
2007-11-28 15:42   ` rustom
2007-11-28 20:07 ` James Cloos
     [not found] ` <mailman.4270.1196280526.18990.help-gnu-emacs@gnu.org>
2007-11-29 14:13   ` rustom [this message]
2007-12-07  3:54     ` rustom
2007-12-07  9:25       ` Peter Dyballa
2007-12-07 17:11       ` reader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=acac0105-17b7-4730-b96b-5f6fa574ae6e@s12g2000prg.googlegroups.com \
    --to=rustompmody@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.