From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthias Dahl Newsgroups: gmane.emacs.bugs Subject: bug#16694: Regression by commit 115663 (bzr): Theme face attributes no longer take precedence over X resources Date: Sat, 08 Feb 2014 11:06:38 +0100 Message-ID: <52F601AE.5040309@binary-island.eu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391889437 24626 80.91.229.3 (8 Feb 2014 19:57:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 19:57:17 +0000 (UTC) To: 16694@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 20:57:25 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCE1k-0002zp-QF for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 20:57:25 +0100 Original-Received: from localhost ([::1]:47814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCE1k-0003pf-Hm for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 14:57:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCE1a-0003pL-NN for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 14:57:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCE1P-0002Pg-LQ for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 14:57:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCE1P-0002PU-HY for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 14:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCE1P-0000Cr-76 for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 14:57:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Dahl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2014 19:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1391889418761 (code B ref -1); Sat, 08 Feb 2014 19:57:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Feb 2014 19:56:58 +0000 Original-Received: from localhost ([127.0.0.1]:58155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCE1J-0000C5-26 for submit@debbugs.gnu.org; Sat, 08 Feb 2014 14:56:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49789) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC4oP-00017k-8F for submit@debbugs.gnu.org; Sat, 08 Feb 2014 05:07:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WC4oH-0005qJ-Rz for submit@debbugs.gnu.org; Sat, 08 Feb 2014 05:07:00 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC4oH-0005qF-PH for submit@debbugs.gnu.org; Sat, 08 Feb 2014 05:06:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC4oB-0005pS-HC for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 05:06:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WC4o5-0005lA-AN for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 05:06:47 -0500 Original-Received: from hemera.binary-island.eu ([97.107.138.233]:60511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC4o5-0005kz-5l for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 05:06:41 -0500 Original-Received: from [10.0.0.20] (95-89-125-72-dynip.superkabel.de [95.89.125.72]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by hemera.binary-island.eu (Postfix) with ESMTPSA id 2F90D3C0D5 for ; Sat, 8 Feb 2014 05:11:51 -0500 (EST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sat, 08 Feb 2014 14:56:54 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84977 Archived-At: Hello @all... If a theme changes attributes from the default face for example (like :background), those will shortly flash and then revert back to the default of the current GTK theme, thus leaving the user with a mixed state of the Emacs theme and GTK theme, which is most certainly not intended. This regression was introduced by bzr commit 115663: imho in function face-spec-recalc from faces.el, make-face-x-resource-internal should not be called last, which overrides parts of the theme again with the defaults from the GTK theme. Either commenting that line, or starting emacs with inhibit-x-resources set to true, will work again. With the later though, you naturally loose some other options as well, which is not desirable. (As a side note: It is not properly documented either in the command line help, nor the man pages, that starting emacs with -Q also sets inhibit-x-resources to true.) If more information or help is required, please let me know and I will happily lend a hand or two. :-) INFO from a stripped down Emacs checked out and built moments ago, which (as expected) still has the problem: In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of 2014-02-08 on dreamgate Repository revision: larsi@gnus.org-20140208065815-ie7d8pg17yeaagla Windowing system distributor `The X.Org Foundation', version 11.0.11500000 System Description: NAME=Gentoo Configured using: `configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --program-suffix=-emacs-24-vcs --infodir=/usr/share/info/emacs-24-vcs --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=games --without-compress-install --with-file-notification=inotify --enable-acl --with-dbus --without-gnutls --with-gpm --without-hesiod --without-kerberos --without-kerberos5 --with-xml2 --without-selinux --with-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --with-imagemagick --with-xft --without-libotf --without-m17n-flt --with-x-toolkit=gtk3 GENTOO_PACKAGE=app-editors/emacs-vcs-24.3.9999 EBZR_BRANCH=trunk EBZR_REVNO=116339 'CFLAGS=-march=native -O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,-z,combreloc -Wl,-z,now'' Important settings: value of $LC_COLLATE: de_DE.utf8 value of $LC_CTYPE: de_DE.utf8 value of $LC_MESSAGES: en_US.utf8 value of $LC_MONETARY: de_DE.utf8 value of $LC_NUMERIC: de_DE.utf8 value of $LC_TIME: en_GB.utf8 value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: M-x s e n d - b u g r e p o r t - e Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... call-interactively: End of buffer [6 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message idna format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu package site-gentoo time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)