From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.50; face-problems with multy-tty Date: Thu, 06 Sep 2007 08:49:29 +0200 Message-ID: <87ejhcmgp2.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1189063073 13347 80.91.229.12 (6 Sep 2007 07:17:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 07:17:53 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 09:17:53 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 1ITBcc-00063t-Os for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 09:17:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITBca-0003lU-PM for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 03:17:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITBBR-0001rX-5G for emacs-devel@gnu.org; Thu, 06 Sep 2007 02:49:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITBBQ-0001q4-1N for emacs-devel@gnu.org; Thu, 06 Sep 2007 02:49:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITBBP-0001pZ-Nr for emacs-devel@gnu.org; Thu, 06 Sep 2007 02:49:43 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITBBO-0003Gd-P8 for emacs-devel@gnu.org; Thu, 06 Sep 2007 02:49:43 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITBB6-0002gI-S5 for emacs-pretest-bug@gnu.org; Thu, 06 Sep 2007 02:49:25 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1ITBBI-0003FH-2O for emacs-pretest-bug@gnu.org; Thu, 06 Sep 2007 02:49:41 -0400 Original-Received: from out2.smtp.messagingengine.com ([66.111.4.26]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITBBH-0003Eg-4b for emacs-pretest-bug@gnu.org; Thu, 06 Sep 2007 02:49:35 -0400 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 4DE73270B8 for ; Thu, 6 Sep 2007 02:49:33 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 06 Sep 2007 02:49:33 -0400 X-Sasl-enc: K5eLnIj7h1vSzRI/AJE1i+VQbupjCxtl18+ooh3WCllA 1189061372 Original-Received: from baldur.tsdh.de (dslb-084-063-057-036.pools.arcor-ip.net [84.63.57.36]) by mail.messagingengine.com (Postfix) with ESMTP id D6C262086B for ; Thu, 6 Sep 2007 02:49:31 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEW2mhnYvEn26qD+/vbC t5CEWCLiAAAACXBIWXMAAAsSAAALEgHS3X78AAAATnRFWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYA CmV4aWYKICAgICAgMjAKNDU3ODY5NjYwMDAwNGQ0ZDAwMmEwMDAwMDAwODAwMDAwMDAwMDAwMAqJ uBZbAAAACXZwQWcAAAAwAAAAMADO7oxXAAABkElEQVQ4y3WTDZLCIAyFQ08A6AFK0gNowgG6de9/ pn2Bau22ZRyF+ZKXX8lOjqZs1K9i+gUmStKAxmzTsjlECtwBEUfKb1CJKDvQkfwEWUFZCsD0shpi I8MbZAWoQWNI+KS3S2VhACaolwSAXzGkUD0ok7q4liwID4vFJAGEG1DIorDV4pGmXBCKka7GJPb0 ItwlIMHsHkJQMftlPKQQIVDA+wmAXgi70pg5pTyiGwC5t2SCw0LBOHNJ3oDH2sQf2CciETXNMLKx A82IhtCtbV6kQsJfT+aYuJB8+jtIA/OQiK3QNpDUgZeMtDYA7QZQl0fsUn6rK4heE+I36+WFvnMH paVobYJ6l5Ztr0M+IlgQr0vMvlKRPj0X5R1oDuXmXnICpDV9B6ooeugX//oCs2ry8dlzDyCASd2O HtNg2CC/jbwDMybYd24PoMSx8HugG3gMUoZtIhuYuRV3ANXX8XUCvIBRjkDjDStgR1CD/PuDrmDM dg7i6xwclVZQDkoriHwB7nYBlgugcgXsSurk/AEJvb3wF7X09QAAABp6VFh0anBlZzpjb2xvcnNw YWNlAAB42jMCAAAzADOJOCM1AAAAJnpUWHRqcGVnOnNhbXBsaW5nLWZhY3RvcgAAeNozqjDSMaww BGEAEYMC6T2XL08AAAAASUVORK5CYII= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Genre and OS details not recognized. X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Thu, 06 Sep 2007 03:17:45 -0400 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:77951 gmane.emacs.pretest.bugs:19753 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing lis= t. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 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" :we= ight 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 o= rg-level-2)))) '(emms-browser-artist-face ((((class color) (background light)) (:inherit = org-level-1)))) '(emms-browser-track-face ((((class color) (background light)) (:inherit o= rg-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 :f= amily "helvetica")))) '(mode-line-buffer-id ((t (:background "grey10" :foreground "grey90" :weig= ht bold)))) '(mode-line-inactive ((default (:inherit mode-line :background "grey80" :f= oreground "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 :fo= reground "blue")))) '(newsticker-new-item-face ((t (:foreground "black" :weight normal)))) '(newsticker-obsolete-item-face ((t (:inherit newsticker-new-item-face :st= rike-through t)))) '(newsticker-old-item-face ((t (:inherit newsticker-new-item-face :foregro= und "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 "lightblu= e" :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. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.50/etc/DEBUG for instructions. In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.14, multi-tty) of 2007-09-06 on baldur Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=3D/usr' '--host=3Di686-pc-linux-gnu'= '--mandir=3D/usr/share/man' '--infodir=3D/usr/share/info' '--datadir=3D/us= r/share' '--sysconfdir=3D/etc' '--localstatedir=3D/var/lib' '--program-suff= ix=3D-emacs-23' '--infodir=3D/usr/share/info/emacs-23' '--without-carbon' '= --with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-jpeg' '--with= -tiff' '--with-gif' '--with-png' '--with-xpm' '--with-rsvg' '--with-x-toolk= it=3Dgtk' '--without-hesiod' '--with-gpm' '--build=3Di686-pc-linux-gnu' 'bu= ild_alias=3Di686-pc-linux-gnu' 'host_alias=3Di686-pc-linux-gnu' 'CFLAGS=3D-= march=3Di686 -mtune=3Dprescott -O2 -pipe'' Important settings: value of $LC_ALL: en_US.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t shell-dirtrack-mode: t recentf-mode: t partial-completion-mode: t iswitchb-mode: t window-number-meta-mode: t window-number-mode: t savehist-mode: t exec-abbrev-cmd-mode: t show-paren-mode: t global-hl-line-mode: t which-function-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: . e m C-g =20 =20 =20 =20 =20 C-x b d i C-x k C-x=20 b M-x g n u s =20 =20 =20 =20 q =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 c C-x 1 l s M-x r e p o r b u g Recent messages: Loading bbdb-gui...done 20070906T082748.212> Exiting summary buffer and applying spam rules 20070906T082748.257> nnimap: Setting marks in INBOX.mailinglists.emacs-deve= l... 20070906T082748.454> nnimap: Setting marks in INBOX.mailinglists.emacs-deve= l...done Wrote /home/heimdall/.bbdb (No changes need to be saved) 20070906T082751.238> Saving /home/heimdall/.newsrc.eld... Wrote /home/heimdall/.newsrc.eld 20070906T082751.295> Saving /home/heimdall/.newsrc.eld...done Loading emacsbug...done --=20 Fr=FCher haben wir vor dem Essen immer gebetet, aber jetzt hat meine Frau einen Kochkurs gemacht.