emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23.0.50; face-problems with multy-tty


From: Tassilo Horn
Subject: 23.0.50; face-problems with multy-tty
Date: Thu, 06 Sep 2007 08:49:29 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

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 address@hidden mailing list.

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" :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.

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=/usr' '--host=i686-pc-linux-gnu' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' 
'--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' 
'--infodir=/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-toolkit=gtk' 
'--without-hesiod' '--with-gpm' '--build=i686-pc-linux-gnu' 
'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 
'CFLAGS=-march=i686 -mtune=prescott -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:
<return> <backspace> <backspace> . e m C-g <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
C-x b d i <return> <up> <up> <up> C-x k <return> C-x 
b <return> M-x g n u s <return> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <return> 
<return> q <down> <down> <return> <return> <down> <return> 
<down> <return> <down> <return> <down> <return> <down> 
<return> <down> <return> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <down> 
<return> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> c C-x 1 l s M-x r e p o r <tab> b u g <r
eturn>

Recent messages:
Loading bbdb-gui...done
20070906T082748.212> Exiting summary buffer and applying spam rules
20070906T082748.257> nnimap: Setting marks in INBOX.mailinglists.emacs-devel...
20070906T082748.454> nnimap: Setting marks in 
INBOX.mailinglists.emacs-devel...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

-- 
Früher haben wir vor dem Essen  immer gebetet, aber jetzt hat meine Frau
einen Kochkurs gemacht.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]