Subject: bug#4594: -Q does not ignore all X resources

From: Stefan Monnier <[email-masked]>
Date: Wed, 30 Sep 2009 00:50:02 -0400

> Current CVS trunk on GNU/Linux.

> If I have items like:

> Emacs.pane.menubar.*.Foreground: Red
> Emacs.menu*.Foreground: Blue
> Emacs.dialog*.foreground: Green

> in my ~/.Xdefaults file, then `emacs -Q' continues to respect these
> settings. I expected it to ignore _all_ Emacs-related X resources.
> This feature would be more useful if it did so.

Yes, the handling of X resources with -Q is imperfect:
the X-resources that affect toolkit elements are still obeyed
(because they access the X-resources more directly, without going
through x_get_string_resource).  That's what you're seeing.

Patches welcome,

        Stefan