From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrey Kotlarski Newsgroups: gmane.emacs.bugs Subject: bug#11992: 24.1.50; theme faces clobbered on --daemon Date: Thu, 19 Jul 2012 14:33:59 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342714208 30122 80.91.229.3 (19 Jul 2012 16:10:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2012 16:10:08 +0000 (UTC) To: 11992@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 19 18:10:08 2012 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 1SrtIk-0004ko-KP for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2012 18:10:06 +0200 Original-Received: from localhost ([::1]:37129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrtIj-0003Aa-R6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2012 12:10:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrtId-00035n-9b for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 12:10:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrtIW-0004N0-LF for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 12:09:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrtIW-0004Mt-Fm for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 12:09:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SrtOW-0008Hg-96 for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2012 12:16:04 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134271455731798 (code B ref -1); Thu, 19 Jul 2012 16:16:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2012 16:15:57 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== Original-Received: by 10.204.154.211 with SMTP id p19mr756683bkw.12.1342697820963; Thu, 19 Jul 2012 04:37:00 -0700 (PDT) Original-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) 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-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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:62163 Archived-At: 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)