From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; face-problems with multy-tty Date: Thu, 06 Sep 2007 09:54:20 -0700 Message-ID: <200709061654.l86GsKPm019281@oogie-boogie.ics.uci.edu> References: <87ejhcmgp2.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189097822 7815 80.91.229.12 (6 Sep 2007 16:57:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 16:57:02 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 18:57:02 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITKew-0003Cv-8u for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 18:56:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITKeu-0005kk-Gd for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 12:56:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITKep-0005j3-Jr for emacs-devel@gnu.org; Thu, 06 Sep 2007 12:56:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITKeo-0005hv-Ra for emacs-devel@gnu.org; Thu, 06 Sep 2007 12:56:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITKeo-0005hj-Jl for emacs-devel@gnu.org; Thu, 06 Sep 2007 12:56:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITKeo-0004Wq-6j for emacs-devel@gnu.org; Thu, 06 Sep 2007 12:56:42 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITKeW-00013J-2z for emacs-pretest-bug@gnu.org; Thu, 06 Sep 2007 12:56:24 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1ITKei-0004W2-2w for emacs-pretest-bug@gnu.org; Thu, 06 Sep 2007 12:56:41 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITKeh-0004Vk-KL for emacs-pretest-bug@gnu.org; Thu, 06 Sep 2007 12:56:35 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l86GsKPm019281; Thu, 6 Sep 2007 09:54:20 -0700 (PDT) In-Reply-To: <87ejhcmgp2.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Thu\, 06 Sep 2007 08\:49\:29 +0200") Original-Lines: 95 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.84, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_32 0.60) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-Detected-Kernel: Solaris 9 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78000 gmane.emacs.pretest.bugs:19757 Archived-At: Tassilo Horn writes: > Since multi-tty has been merged, I start emacs as a detached server with > screen. Here's the command line I use to reproduce the problem: > > screen -d -m -S test emacs -nw --eval "(setq server-name \"test\")" \ > -Q -l foo.el --funcall server-start > > The file foo.el contains my custom-set-faces: > > --8<---------------cut here---------------start------------->8--- > (custom-set-faces > ;; custom-set-faces was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(circe-highlight-all-nicks-face ((t (:foreground "blue")))) > '(circe-highlight-nick-face ((t (:background "grey" :foreground "blue" :weight bold)))) > '(circe-my-message-face ((t (:background "grey")))) > '(circe-originator-face ((t (:weight bold)))) > '(company-pseudo-tooltip-face ((t (:inherit default :background "yellow" :foreground "black")))) > '(diff-added ((t (:inherit diff-changed :background "green")))) > '(diff-changed ((nil (:background "lightblue")))) > '(diff-removed ((t (:inherit diff-changed :background "orange")))) > '(diredp-exec-priv ((t (:background "LightSteelBlue" :foreground "black")))) > '(diredp-no-priv ((t (:background "LightGray" :foreground "black")))) > '(diredp-read-priv ((t (:background "MediumAquamarine" :foreground "black")))) > '(diredp-write-priv ((t (:background "Orchid" :foreground "black")))) > '(emms-browser-album-face ((((class color) (background light)) (:inherit org-level-2)))) > '(emms-browser-artist-face ((((class color) (background light)) (:inherit org-level-1)))) > '(emms-browser-track-face ((((class color) (background light)) (:inherit org-level-3 :weight normal)))) > '(font-lock-string-face ((((class color) (min-colors 88) (background light)) (:foreground "RosyBrown4")))) > '(gnus-group-mail-3 ((t (:foreground "magenta" :weight bold)))) > '(gnus-group-mail-3-empty ((nil (:inherit gnus-group-mail-3 :weight normal)))) > '(gnus-group-news-3 ((t (:foreground "blue" :weight bold)))) > '(gnus-group-news-3-empty ((nil (:inherit gnus-group-news-3 :weight normal)))) > '(gnus-server-denied ((t (:foreground "red" :weight bold)))) > '(gnus-signature ((t (:foreground "blue" :slant italic)))) > '(header-line ((default nil) (((class color grayscale) (background light)) (:background "grey90" :foreground "grey20" :box nil)))) > '(hl-line ((t (:inherit highlight :background "#BEFFBE")))) > '(message-header-name ((nil (:inherit gnus-header-name)))) > '(mode-line ((nil (:background "black" :foreground "grey80" :height 0.8 :family "helvetica")))) > '(mode-line-buffer-id ((t (:background "grey10" :foreground "grey90" :weight bold)))) > '(mode-line-inactive ((default (:inherit mode-line :background "grey80" :foreground "grey20")) (((class color) (min-colors 88) (background light)) (:weight light)))) > '(newsticker-feed-face ((t (:inherit org-level-1 :underline t)))) > '(newsticker-immortal-item-face ((t (:inherit newsticker-new-item-face :foreground "blue")))) > '(newsticker-new-item-face ((t (:foreground "black" :weight normal)))) > '(newsticker-obsolete-item-face ((t (:inherit newsticker-new-item-face :strike-through t)))) > '(newsticker-old-item-face ((t (:inherit newsticker-new-item-face :foreground "grey60")))) > '(org-level-1 ((t (:foreground "Blue1" :weight bold)))) > '(org-level-2 ((t (:foreground "DarkGoldenrod" :weight bold)))) > '(org-level-3 ((t (:foreground "Purple" :weight bold)))) > '(org-level-4 ((t (:foreground "Firebrick" :weight bold)))) > '(org-level-5 ((t (:foreground "ForestGreen" :weight bold)))) > '(org-level-6 ((t (:foreground "CadetBlue" :weight bold)))) > '(org-level-7 ((t (:foreground "Orchid" :weight bold)))) > '(org-level-8 ((t (:foreground "RosyBrown" :weight bold)))) > '(outline-1 ((t (:inherit org-level-1)))) > '(outline-2 ((t (:inherit org-level-2)))) > '(outline-3 ((t (:inherit org-level-3)))) > '(outline-4 ((t (:inherit org-level-4)))) > '(outline-5 ((t (:inherit org-level-5)))) > '(outline-6 ((t (:inherit org-level-6)))) > '(outline-7 ((t (:inherit org-level-7)))) > '(outline-8 ((t (:inherit org-level-8)))) > '(region ((t (:background "paleturquoise")))) > '(tooltip ((((class color)) (:inherit variable-pitch :background "lightblue" :foreground "black" :family "fixed")))) > '(trailing-whitespace ((nil (:background "grey80")))) > '(window-number-face ((((type x w32 mac)) (:foreground "red" :weight bold))))) > --8<---------------cut here---------------end--------------->8--- > > Now I connect to that server with > > emacsclient -s test > > which opens a new X11 frame. Now all faces whose value doesn't start > with t or nil use the default face, e.g. all strings ("foo") in an elisp > file are simply black on white. If I do `M-x customize-face RET RET' on > one of them, I see that `font-lock-string-face' has no customizations at > all (no checked boxes or inherited faces). But ((class color) > (min-colors 88) (background light)) applies to this X11 frame. It has a > white background and supports far more than 88 colors. > > If I hit `C-x C-e' after the (custom-set-faces ...) section, all faces > work as expected again. > > Ah, and the face of the buttons in the customize interface doesn't use > boxes, it's only underlined (Custom Button Unraised), because > `custom-raised-buttons' is nil. IMHO in an X11 frame client it should > default to t, so that there are no user-visible differences between a > client using a X11 frame and a normal X11 emacs instance. Can you please try to run "make maintainer-clean" and then configure and make bootstrap? I have seen a very similar problem that was fixed that way.