From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Goldman Newsgroups: gmane.emacs.help Subject: Re: set-background-color changed with emacs 24 Date: Tue, 27 Oct 2015 18:22:21 -0400 Message-ID: References: <9f07afda-bc3a-4fe2-bccf-ab24f8fa9828@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1445984584 14697 80.91.229.3 (27 Oct 2015 22:23:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2015 22:23:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 27 23:22:55 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZrCdq-0001sJ-BN for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 23:22:54 +0100 Original-Received: from localhost ([::1]:34659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrCdp-0003em-Fm for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Oct 2015 18:22:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrCde-0003eg-VG for help-gnu-emacs@gnu.org; Tue, 27 Oct 2015 18:22:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrCdb-00087w-LX for help-gnu-emacs@gnu.org; Tue, 27 Oct 2015 18:22:42 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrCdb-00087p-En for help-gnu-emacs@gnu.org; Tue, 27 Oct 2015 18:22:39 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZrCdY-0001br-Pi for help-gnu-emacs@gnu.org; Tue, 27 Oct 2015 23:22:36 +0100 Original-Received: from yktgi01e0-s4.watson.ibm.com ([129.34.20.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Oct 2015 23:22:36 +0100 Original-Received: from kgoldman by yktgi01e0-s4.watson.ibm.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Oct 2015 23:22:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: yktgi01e0-s4.watson.ibm.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <9f07afda-bc3a-4fe2-bccf-ab24f8fa9828@default> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107854 Archived-At: On 10/27/2015 5:47 PM, Drew Adams wrote: >> (set-background-color "navy") >> >> Now, with emacs 24.5.1, the background for text becomes navy, but the >> background where there is no character is dark red. > > Works for me. But you don't provide a very good description of > your problem. Try to provide a step-by-step recipe to reproduce > the problem, starting from `emacs -Q` (or `emacs -nw`). I start with "emacs -Q .emacs" I get what look like default colors. M-x set-foreground-color green sets the default foreground color to green. M-x set-background-color navy sets the background text color to navy. Where there is no text, it sets the background to dark red. M-x set-background-color orange -> when there is no text, sets the background to blue. It's like emacs is setting the background color for all unused areas to a color that contrasts with the background color for text. ~~ This is through a vnc window. However, I've been working like this for a long time, previous versions emacs didn't do this, and other applications like Firefox render colors correctly.