GNU bug report logs - #4594
-Q does not ignore all X resources

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 30 Sep 2009 01:45:03 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>,
        "4594 <at> debbugs.gnu.org" <4594 <at> debbugs.gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>,
        "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>,
        "4594 <at> debbugs.gnu.org" <4594 <at> debbugs.gnu.org>
Subject: Re: bug#4594: -Q does not ignore all X resources
Date: Wed, 30 Sep 2009 08:15:27 +0200

30 sep 2009 kl. 06.50 skrev Stefan Monnier <monnier <at> iro.umontreal.ca>:

>> 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,


Widgets managed by Xt reads resources automatically inside Xt code.
It is considered a feature. You probably can work around this but it  
isn't something as simply not calling a function or setting some  
variable.

Too much work for a small gain IMHO.

        Jan D.




This bug report was last modified 13 years and 96 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.