From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Background color in terminal Date: Tue, 08 May 2007 22:00:05 +0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1178650828 22469 80.91.229.12 (8 May 2007 19:00:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 May 2007 19:00:28 +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 May 08 21:00:20 2007 Return-path: Envelope-to: geh-help-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 1HlUv6-0005bj-8i for geh-help-gnu-emacs@m.gmane.org; Tue, 08 May 2007 21:00:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlV2C-0005dA-TL for geh-help-gnu-emacs@m.gmane.org; Tue, 08 May 2007 15:07:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlV1y-0005VJ-Sr for help-gnu-emacs@gnu.org; Tue, 08 May 2007 15:07:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlV1x-0005Ka-36 for help-gnu-emacs@gnu.org; Tue, 08 May 2007 15:07:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlV1w-0005Jm-Vu for help-gnu-emacs@gnu.org; Tue, 08 May 2007 15:07:25 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HlUup-0001ZW-Dh for help-gnu-emacs@gnu.org; Tue, 08 May 2007 15:00:03 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-161-174.inter.net.il [80.230.161.174]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GRW35911 (AUTH halo1); Tue, 8 May 2007 22:00:04 +0300 (IDT) In-reply-to: (message from Leo on Tue, 08 May 2007 19:48:29 +0100) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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: news.gmane.org gmane.emacs.help:43815 Archived-At: > From: Leo > Date: Tue, 08 May 2007 19:48:29 +0100 > > It seems Emacs is assuming background types (dark or light) according to > terminal types. Only on character (i.e. text-mode) terminals, since there's no standard API to query them for their default background color. > Now I have one terminal screen-256color. Emacs thinks it is dark > background when it is actually light background. How can I correct this? I think you want to customize the variable frame-background-mode, which see.