From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Povinec Newsgroups: gmane.emacs.bugs Subject: Re: Setting term-default-fg-color/term-default-bg-color has no effect Date: Wed, 1 Aug 2007 17:50:43 -0700 (PDT) Message-ID: <875463.46907.qm@web57309.mail.re1.yahoo.com> References: <200708010410.l714Ad7e022199@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1186015919 19485 80.91.229.12 (2 Aug 2007 00:51:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Aug 2007 00:51:59 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 02 02:51:52 2007 Return-path: Envelope-to: geb-bug-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 1IGOut-0000qS-4E for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2007 02:51:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGOus-0006yC-Mk for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Aug 2007 20:51:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGOtr-0005dQ-3a for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2007 20:50:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGOtp-0005cJ-EO for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2007 20:50:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGOtp-0005cB-7O for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2007 20:50:45 -0400 Original-Received: from web57309.mail.re1.yahoo.com ([66.196.100.45]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IGOto-0000Jv-SP for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2007 20:50:45 -0400 Original-Received: (qmail 54846 invoked by uid 60001); 2 Aug 2007 00:50:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ebHD+TA+OF2MIeplNPAzCQXUQTYJvHnm9zG4XFa9Juc4A8p9RjGHNUtUtS5iZZNiPqlU3iGuTKcFnKCrVDCYEGjwkjWN4wjaZzkT1yDkjboqcrwq6JPXR28cgO553IFydEa7dRdC3xrl1GUvWoWFDig//QIaCmoYymFmAzR/eSs=; X-YMail-OSG: Aw.fwtIVM1mqU7UmJ57S4txyLmC5EegnNO7efzkQB4ykvt4u0.h_.fQhuH82q3ThYQ-- Original-Received: from [148.87.1.170] by web57309.mail.re1.yahoo.com via HTTP; Wed, 01 Aug 2007 17:50:43 PDT In-Reply-To: <200708010410.l714Ad7e022199@oogie-boogie.ics.uci.edu> X-Detected-Kernel: FreeBSD 6.x (1) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16264 Archived-At: > I tested your changes by setting term-default-fg-color to blue and > term-default-bg-color to red on an emacs run with -Q and comparing > with running various curses applications in M-x term and "xterm -fg > blue -bg red". The results are not the same. Please be specific: what applications and how were the results different? I'd just like to know. > > The problem is that the screen is updated in a lot of places in > term.el not only term-handle-colors-array. So this could not have > worked correctly in emacs 21 either. That is quite possible. The patch I submitted was intended to merely remove the regression in functionality introduced in Emacs 22. I believe it does that and is useful on its own, whether additional color handling fixes are applied or not. > > Given that AFAIK nothing else in emacs changes the default foreground > and background for a buffer, it's kind of hard to find a convincing > argument that such a feature is needed for term.el. It can probably be > done with some effort, but is it worth the added complexity? Not > sure... The additional complexity introduced by the patch is negligible. We can look at what it would take to fix the other color related issues you have seen, but if those existed in version 21, I'd say they are separate issues and should be treated as such. --Peter ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC