From unknown Sat Jun 21 10:44:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11992: 24.1.50; theme faces clobbered on --daemon Resent-From: Andrey Kotlarski Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Jul 2012 16:16:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11992 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11992@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134271455731798 (code B ref -1); Thu, 19 Jul 2012 16:16:04 +0000 Received: (at submit) by debbugs.gnu.org; 19 Jul 2012 16:15:57 +0000 Received: from localhost ([127.0.0.1]:50912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SrtOO-0008Go-Vv for submit@debbugs.gnu.org; Thu, 19 Jul 2012 12:15:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38098) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Srp8m-00013K-Ek for submit@debbugs.gnu.org; Thu, 19 Jul 2012 07:43:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Srp2h-0004lF-Kt for submit@debbugs.gnu.org; Thu, 19 Jul 2012 07:37:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:43328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srp2h-0004l8-HM for submit@debbugs.gnu.org; Thu, 19 Jul 2012 07:37:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srp2b-0005Gs-Bm for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 07:37:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Srp2U-0004hP-Qg for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 07:37:09 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:56834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Srp2U-0004gu-JR for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 07:37:02 -0400 Received: by bkcjc3 with SMTP id jc3so2306040bkc.0 for ; Thu, 19 Jul 2012 04:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=xn3a5rdvZ9sVRuCSEm4woO2mCGY/yZH0+TNTdfIPxVM=; b=kf0mYwo4PMlVJ4pvnTJu+DcSJ37t4HSDboXu0cnY6mN0b4NJ6dg/JOhIWo1IAEyl7f 9W5tdFx65hgUxjvNhyGkkWZkUslphOgLBDbttlKp5kWEI6s8jmxN2944yP7d6sn2ubiX yL/kh4plO9L2tzxiaKEubbFrQRW63MHViZwPlbfueabuf4QwfZ6NjQO7CKIZTG9HcSc1 hJp7wmYeXmKNWs9wz2uRtbg6x1/3pdNUeS2PK+JSijDwhFq0EqkxOY20x12kbPJLSxS2 C2bpSiFQAnMHoaiYoR0dv0YZbT11ynV+XkXGGIM8l22q0Nd8q+GwMNuob2+Wf5ppJIgw ZIbQ== Received: by 10.204.154.211 with SMTP id p19mr756683bkw.12.1342697820963; Thu, 19 Jul 2012 04:37:00 -0700 (PDT) Received: from ws-akotlarski.sf.vayant.com ([213.222.32.131]) by mx.google.com with ESMTPS id n5sm949501bkv.14.2012.07.19.04.36.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jul 2012 04:37:00 -0700 (PDT) From: Andrey Kotlarski Date: Thu, 19 Jul 2012 14:33:59 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Mailman-Approved-At: Thu, 19 Jul 2012 12:15:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Hello, after 109142: Chong Yidong 2012-07-18 * faces.el (face-spec-reset-face): Handle reverse video. emacs -Q --daemon emacsclient -c M-x load-theme RET wombat RET results in set-face-attribute: Wrong type argument: stringp, (if (frame-parameter nil (quote reverse)) "unspecified-bg" "unspecified-fg") The following trivial patch fixes it for me and possibly keeps the original intention: === modified file 'lisp/faces.el' *** lisp/faces.el 2012-07-18 14:00:09 +0000 --- lisp/faces.el 2012-07-19 08:57:24 +0000 *************** *** 1547,1560 **** ;; temacs, prior to loading frame.el. (unless (and (fboundp 'display-graphic-p) (display-graphic-p frame)) ! '(:family "default" :foundry "default" :width normal ! :height 1 :weight normal :slant normal ! :foreground (if (frame-parameter nil 'reverse) ! "unspecified-bg" ! "unspecified-fg") ! :background (if (frame-parameter nil 'reverse) ! "unspecified-fg" ! "unspecified-bg")))) ;; For all other faces, unspecify all attributes. (apply 'append (mapcar (lambda (x) (list (car x) 'unspecified)) --- 1547,1560 ---- ;; temacs, prior to loading frame.el. (unless (and (fboundp 'display-graphic-p) (display-graphic-p frame)) ! (append ! '(:family "default" :foundry "default" :width normal ! :height 1 :weight normal :slant normal) ! (if (frame-parameter nil 'reverse) ! '(:foreground "unspecified-bg" ! :background "unspecified-fg") ! '(:foreground "unspecified-fg" ! :background "unspecified-bg"))))) ;; For all other faces, unspecify all attributes. (apply 'append (mapcar (lambda (x) (list (car x) 'unspecified)) In GNU Emacs 24.1.50.1 (x86_64-fedora-linux-gnu, X toolkit, Xaw scroll bars) of 2012-07-19 on ws-akotlarski.sf.vayant.com Bzr revision: 109158 dmantipov@yandex.ru-20120719095001-6bhy4shni5xfn4ck Windowing system distributor `Fedora Project', version 11.0.11202000 Configured using: `configure '--build=x86_64-fedora-linux-gnu' '--with-x-toolkit=lucid' '--without-gconf' '--without-gsettings' 'CFLAGS=-march=native -mtune=native -O3 -pipe' 'build_alias=x86_64-fedora-linux-gnu'' Important settings: value of $LC_COLLATE: C value of $LANG: bg_BG.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x l o a - t w o C-h e M-2 C-g C-g M-x r e p o - e m Recent messages: ("/home/akotlarski/Programs/emacs/trunk/src/emacs") Starting Emacs daemon. When done with this frame, type C-x 5 0 set-face-attribute: Wrong type argument: stringp, (if (frame-parameter nil (quote reverse)) "unspecified-bg" "unspecified-fg") Quit [2 times] scroll-down-command: Beginning of buffer Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils wombat-theme server time-date tooltip 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 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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 02 00:03:45 2012 Received: (at control) by debbugs.gnu.org; 2 Sep 2012 04:03:45 +0000 Received: from localhost ([127.0.0.1]:33639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T81PU-0003bu-TO for submit@debbugs.gnu.org; Sun, 02 Sep 2012 00:03:45 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:54059) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T81PT-0003bo-PF for control@debbugs.gnu.org; Sun, 02 Sep 2012 00:03:44 -0400 Received: by pbbrr4 with SMTP id rr4so6609053pbb.3 for ; Sat, 01 Sep 2012 21:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=UrvA9lJJDV6fY0VYGzOCojrLdIbNErb2PTQS6jMomFU=; b=EGx6AoDL5Pk9NJiZxpfjWvzeXWgZqrLESBsTwsCPHmM2dLtQrFAhDltt6K64jlOYs+ 2IAza3Jzp/FIYoJPOq5QCXp9gLgMFh7u6dd9rZD/qD2fRAUUwuF4chGqwEevThMiak96 9sm8ce74HVyojs6pBwpYtn8bJt/t38coVFUSWiV2ay4/WdM0uEjVGf7vKZYJSd77xxb7 4Yv2nbwdfCjdASGaqW6RDheQITHCUQd7wrxsA7Sv+wdS4T+3KrTqrWWwsZOlfz1pp3Ht YZ87+IO5W850iTAA53OuECXB2y8C8ftJ09jSz32MABgcpFtuDUqk4YdwoO6GeWJhjxd1 Myxg== Received: by 10.68.129.73 with SMTP id nu9mr28521381pbb.59.1346558538560; Sat, 01 Sep 2012 21:02:18 -0700 (PDT) Received: from ulysses (cm162.gamma80.maxonline.com.sg. [202.156.80.162]) by mx.google.com with ESMTPS id qb2sm6931621pbb.15.2012.09.01.21.02.15 (version=SSLv3 cipher=OTHER); Sat, 01 Sep 2012 21:02:17 -0700 (PDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: forcemerge 12042 11992 Date: Sun, 02 Sep 2012 12:02:12 +0800 Message-ID: <87oblpax8b.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) unarchive 12042 forcemerge 12042 11992 thanks