From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Global Font Lock by default Date: Thu, 03 Nov 2005 06:39:01 +0200 Message-ID: References: <200510311648.j9VGmgKN020532@scanner2.ics.uci.edu> <878xw9r3tu.fsf@pacem.orebokech.com> <200510311747.j9VHl2KN024250@scanner2.ics.uci.edu> <871x21r0v6.fsf@pacem.orebokech.com> <200510312048.j9VKm8KN006460@scanner2.ics.uci.edu> <87r7a1pf1h.fsf@pacem.orebokech.com> <200511010635.jA16ZNKN011265@scanner2.ics.uci.edu> <200511012043.jA1Kh2KN002153@scanner2.ics.uci.edu> <200511020546.jA25kjKN005165@scanner2.ics.uci.edu> <200511022000.jA2K0uKN025181@scanner2.ics.uci.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1130992778 5146 80.91.229.2 (3 Nov 2005 04:39:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2005 04:39:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 03 05:39:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXWse-0000AS-2i for ged-emacs-devel@m.gmane.org; Thu, 03 Nov 2005 05:39:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXWsd-0001ce-IX for ged-emacs-devel@m.gmane.org; Wed, 02 Nov 2005 23:39:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EXWsS-0001cO-Ar for emacs-devel@gnu.org; Wed, 02 Nov 2005 23:39:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EXWsQ-0001cC-Gn for emacs-devel@gnu.org; Wed, 02 Nov 2005 23:39:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXWsQ-0001c9-Bd for emacs-devel@gnu.org; Wed, 02 Nov 2005 23:39:02 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EXWsQ-0000hC-CQ for emacs-devel@gnu.org; Wed, 02 Nov 2005 23:39:02 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-19-69.inter.net.il [80.230.19.69]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BVS05205 (AUTH halo1); Thu, 3 Nov 2005 06:38:59 +0200 (IST) Original-To: Dan Nicolaescu In-reply-to: <200511022000.jA2K0uKN025181@scanner2.ics.uci.edu> (message from Dan Nicolaescu on Wed, 02 Nov 2005 12:00:53 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45334 Archived-At: > Cc: emacs-devel@gnu.org > From: Dan Nicolaescu > Date: Wed, 02 Nov 2005 12:00:53 -0800 > > (assume a 256 colors xterm) > One problem is here: > tty_setup_colors does not do anything with its argument (mode) if for > example mode is 16 (i.e. when using --color=16) This is not a bug: 16 colors is not a standard color mode, so it is not currently supported (the manual explains that, I hope). > Another problem: when using --color=8, display-color-cells will return > 8 after emacs is started, but when xterm-register-default-colors is > run it returns 256 ... This is a bug: when Emacs is started with --color=8, it should behave as if only the 8 standard colors are available. Could you please see what changes the value returned by display-color-cells? Something is calling tty_setup_colors to reset to the default color mode (the one that supports 256 colors). TIA