From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Brenner Newsgroups: gmane.emacs.bugs Subject: gnu emacs 22.1 with xft: problems with background color of empty regions Date: Wed, 04 Jul 2007 13:18:47 -0700 Message-ID: <200707042018.l64KIlIw016409@kzsu.stanford.edu> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1183583525 12095 80.91.229.12 (4 Jul 2007 21:12:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2007 21:12:05 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 04 23:12:03 2007 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I6C8o-0001mJ-UX for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jul 2007 23:12:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6C8o-0003xo-6d for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jul 2007 17:12:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6BfJ-00007k-RO for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2007 16:41:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6BfJ-000069-5t for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2007 16:41:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6BfJ-00005q-2C for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2007 16:41:33 -0400 Original-Received: from smtp2.stanford.edu ([171.67.20.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6BfI-00061m-Gb for bug-gnu-emacs@gnu.org; Wed, 04 Jul 2007 16:41:32 -0400 Original-Received: from smtp2.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id C5A5E4C0EE for ; Wed, 4 Jul 2007 13:18:52 -0700 (PDT) Original-Received: from kzsu.stanford.edu (KZSU.Stanford.EDU [171.66.118.90]) by smtp2.stanford.edu (Postfix) with ESMTP id 8A7A64BF6F for ; Wed, 4 Jul 2007 13:18:52 -0700 (PDT) Original-Received: from kzsu.stanford.edu (localhost.stanford.edu [127.0.0.1]) by kzsu.stanford.edu (8.13.7/8.13.7) with ESMTP id l64KIlIw016409 for ; Wed, 4 Jul 2007 13:18:52 -0700 (PDT) (envelope-from doom@kzsu.stanford.edu) X-Mailer: MH-E 7.85; nmh 1.1; GNU Emacs 21.4.1 X-Scanned-By: MIMEDefang 2.56 on 171.66.118.90 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (kzsu.stanford.edu [127.0.0.1]); Wed, 04 Jul 2007 13:18:52 -0700 (PDT) X-detected-kernel: Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 04 Jul 2007 17:11:53 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16081 Archived-At: I've compiled the emacs 22.1 source code on an amd64-based gnu/linux box (kubuntu), using the --with-xft and --with-gtk options: ../emacs-22.1/configure --with-gtk --enable-font-backend --with-xft --prefix /usr/local/emacs/xft_22.1 I typically use a light-on-dark color scheme, but this has problems in this xft-enabled emacs. Empty regions on the screen are coming up a blinding white, ignoring my background color settings. Here's a screen shot: http://obsidianrook.com/data/emacs22.1-xft-minimal.jpg This screenshot was taken by running like so: /usr/local/emacs/xft_22.1/bin/emacs -q -l /home/doom/tmp/color-setup.el & Where the file /home/doom/tmp/color-setup.el contains the following: (add-to-list 'default-frame-alist '(foreground-color . "Thistle")) (add-to-list 'default-frame-alist '(background-color . "Black")) (add-to-list 'default-frame-alist '(cursor-color . "Orchid")) (add-to-list 'default-frame-alist '(mouse-color . "GreenYellow")) (add-to-list 'default-frame-alist '(border-color . "DarkOliveGreen")) (add-to-list 'default-frame-alist '(border-color . "Thistle")) (transient-mark-mode t) (set-face-foreground 'region "Black") (set-face-background 'region "DarkOliveGreen") (set-foreground-color "Thistle") (set-background-color "Black") (set-cursor-color "Orchid") (set-mouse-color "GreenYellow") (set-face-foreground 'modeline "Black") (set-face-background 'modeline "DarkSlateBlue") (set-face-foreground 'highlight "PaleGreen") (set-face-background 'highlight "BlueViolet") (show-paren-mode) (set-face-foreground 'show-paren-match-face "PaleGreen") (set-face-background 'show-paren-match-face "BlueViolet") (set-face-foreground 'show-paren-mismatch-face "yellow") (set-face-background 'show-paren-mismatch-face "firebrick") Note: a vanilla version compiled without xft support has no such problem: http://obsidianrook.com/data/emacs22.1-vanilla.jpg