From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: Persistent white background Date: 15 Jan 2005 21:55:01 +0100 Organization: [posted via Easynet Spain] Message-ID: <87mzva76qi.fsf@thalassa.informatimago.com> References: <87acralq7d.fsf@wilson.rwth-aachen.de> <87r7km7gks.fsf@thalassa.informatimago.com> <87zmzar3i2.fsf@wilson.rwth-aachen.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1105822754 4536 80.91.229.6 (15 Jan 2005 20:59:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Jan 2005 20:59:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 15 21:59:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cpv0e-0003C0-00 for ; Sat, 15 Jan 2005 21:59:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpvCN-0005c5-US for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Jan 2005 16:11:07 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!feed.news.tiscali.de!easynet-quince!easynet.net!easynet-post1!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 61 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=g[ZMWWUE5W38JIb9<]DE[6N[]a?6B>:P3bBd4DjF1d]1 Original-Xref: shelby.stanford.edu gnu.emacs.help:127886 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23373 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23373 Torsten Bronger writes: > Hallöchen! > > Pascal Bourguignon writes: > > > Torsten Bronger writes: > > > >> [...] Everything works fine except for the background. The > >> proper background color is set only behind characters, but not in > >> the empty part of the frame. So my background is partly black > >> (the actual set-background-color) and white. [...] > > > > You must use both these calls: > > > > (set-face-background 'border color) > > (set-background-color color) Oops, I forgot I have an advice on set-background-color: (defadvice set-background-color (after sbc-fringe last (color-name) activate) (when (facep 'fringe) (set-face-background 'fringe color-name))) So, you'll need: (set-face-background 'border color) (set-background-color color) (when (facep 'fringe) (set-face-background 'fringe color))) > Unfortunately, this didn't help. You can see how it looks like > here: > . I see that you want a black background and the problem is that it stays white from the last character of each line to the right fringe of the frame. Well ISTR that I had this once upon a time, but I can't find any parameter in my ~/.emacs that seems relevant. I use emacs version 21.3.1. Perhaps you have the white color specified in ~/.Xresources. If you have an emacs*background line in this file, comment them out or delete it. Then use: xrdb -load ~/.Xresources to let the X server learn the changes. But the presence of this line does not change the correct behavior of my version of emacs... -- __Pascal Bourguignon__ http://www.informatimago.com/ The world will now reboot. don't bother saving your artefacts.