From: Joe Brenner <doom@kzsu.stanford.edu>
To: bug-gnu-emacs@gnu.org
Subject: gnu emacs 22.1 with xft: problems with background color of empty regions
Date: Wed, 04 Jul 2007 13:18:47 -0700 [thread overview]
Message-ID: <200707042018.l64KIlIw016409@kzsu.stanford.edu> (raw)
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
next reply other threads:[~2007-07-04 20:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-04 20:18 Joe Brenner [this message]
2007-07-04 23:12 ` gnu emacs 22.1 with xft: problems with background color of empty regions Stephen Berman
[not found] ` <mailman.3079.1183590769.32220.bug-gnu-emacs@gnu.org>
2007-07-08 21:41 ` Joseph Brenner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707042018.l64KIlIw016409@kzsu.stanford.edu \
--to=doom@kzsu.stanford.edu \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).