From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#4594: -Q does not ignore all X resources Date: Wed, 30 Sep 2009 08:15:27 +0200 Message-ID: References: Reply-To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , 4594@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (iPhone Mail 7C144) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254292128 18807 80.91.229.12 (30 Sep 2009 06:28:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Sep 2009 06:28:48 +0000 (UTC) Cc: "bug-gnu-emacs@gnu.org" , "4594@emacsbugs.donarmstrong.com" <4594@emacsbugs.donarmstrong.com> To: Stefan Monnier , "4594@emacsbugs.donarmstrong.com" <4594@emacsbugs.donarmstrong.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 30 08:28:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mssg4-0005r9-C4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 08:28:41 +0200 Original-Received: from localhost ([127.0.0.1]:52332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mssg3-0007x5-QK for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Sep 2009 02:28:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Msseq-0006rD-2j for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 02:27:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mssek-0006pM-EL for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 02:27:22 -0400 Original-Received: from [199.232.76.173] (port=40083 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mssek-0006p6-3c for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 02:27:18 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:11294) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mssej-00045v-02 for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 02:27:17 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mssei-0001Pw-35 for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2009 02:27:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8U6R7HS015841; Tue, 29 Sep 2009 23:27:07 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8U6P7Hi015346; Tue, 29 Sep 2009 23:25:07 -0700 Resent-Date: Tue, 29 Sep 2009 23:25:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 30 Sep 2009 06:25:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4594 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4594-submit@emacsbugs.donarmstrong.com id=B4594.125429134114186 (code B ref 4594); Wed, 30 Sep 2009 06:25:06 +0000 Original-Received: (at 4594) by emacsbugs.donarmstrong.com; 30 Sep 2009 06:15:41 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8U6FdBM014183 for <4594@emacsbugs.donarmstrong.com>; Tue, 29 Sep 2009 23:15:41 -0700 Original-Received: from iph2.telenor.se (195.54.127.133) by proxy3.bredband.net (7.3.140.3) id 49F597CD03D9B727 for 4594@emacsbugs.donarmstrong.com; Wed, 30 Sep 2009 08:15:33 +0200 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnlYAMuTwkpV4S1uPGdsb2JhbACBUIgVkREBAQEBN71JhCcE X-IronPort-AV: E=Sophos;i="4.44,478,1249250400"; d="scan'208";a="49136700" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph2.telenor.se with ESMTP; 30 Sep 2009 08:15:33 +0200 Original-Received: from [90.233.21.86] (host-90-233-21-86.mobileonline.telia.com [90.233.21.86]) by coolsville.localdomain (Postfix) with ESMTPSA id 540417FA07B; Wed, 30 Sep 2009 08:15:32 +0200 (CEST) In-Reply-To: X-Mailer: iPhone Mail (7C144) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 30 Sep 2009 02:27:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31592 Archived-At: 30 sep 2009 kl. 06.50 skrev Stefan Monnier : >> 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.