From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Cloos Newsgroups: gmane.emacs.devel Subject: Re: Turning off colorization Date: Sat, 08 Nov 2014 17:51:05 -0500 Message-ID: References: <87a944cm3x.fsf@moondust.localdomain> <83r3xfs8mx.fsf@gnu.org> <83r3xeqfa9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415487191 30158 80.91.229.3 (8 Nov 2014 22:53:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Nov 2014 22:53:11 +0000 (UTC) Cc: nljlistbox2@gmail.com, Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 08 23:53:05 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XnEsS-0002df-KD for ged-emacs-devel@m.gmane.org; Sat, 08 Nov 2014 23:53:04 +0100 Original-Received: from localhost ([::1]:37028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnEsS-0000iu-AB for ged-emacs-devel@m.gmane.org; Sat, 08 Nov 2014 17:53:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnEs9-0000ha-EZ for emacs-devel@gnu.org; Sat, 08 Nov 2014 17:52:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnEs4-0001NZ-Db for emacs-devel@gnu.org; Sat, 08 Nov 2014 17:52:45 -0500 Original-Received: from ore.jhcloos.com ([198.147.23.85]:35572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnEry-0001J9-JW; Sat, 08 Nov 2014 17:52:34 -0500 Original-Received: by ore.jhcloos.com (Postfix, from userid 10) id 6EBEB1DFB6; Sat, 8 Nov 2014 22:52:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=ore14; t=1415487152; bh=MsaTMqyk5a/PSxwq0fHTjVJVN+xFP/sYo33FJpyCh8U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=adAnUDEYKHR2IfXbXWHviOGTf91QjcCvq3o3jWKm+9x2Q8NcMX0hPIdwt/4lHTSV2 zhsQO42oawayx8CMl3BEET4h50Lq/saplYCAXiwvLDl6D1pzF/y/Lx/3mbbVXuAYiz r/TYxhx5i5GrDb0TqW55v8baTv5ahcnVz/NcTztc= Original-Received: by carbon.jhcloos.org (Postfix, from userid 500) id 46E4360023; Sat, 8 Nov 2014 22:51:05 +0000 (UTC) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sat, 08 Nov 2014 23:30:30 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAACVBMVEX///8ZGXBQKKnCrDQ3 AAAAJElEQVQImWNgQAAXzwQg4SKASgAlXIEEiwsSIYBEcLaAtMEAADJnB+kKcKioAAAAAElFTkSu QmCC Copyright: Copyright 2014 James Cloos OpenPGP: 0x997A9F17ED7DAEA6; url=https://jhcloos.com/public_key/0x997A9F17ED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Original-Lines: 34 X-Hashcash: 1:28:141108:larsi@gnus.org::cFmj8qVkgudwG2ip:005rtY7 X-Hashcash: 1:28:141108:eliz@gnu.org::fcJDG3IYXXFGU6gG:0000DWI/k X-Hashcash: 1:28:141108:nljlistbox2@gmail.com::Gf0Mg839xivNnZRv:0000000000000000000000000000000000000006XE5W X-Hashcash: 1:28:141108:rms@gnu.org::Sc6KANeEp9ppIj+9:0000000SWX X-Hashcash: 1:28:141108:emacs-devel@gnu.org::98GBR12BmHSpsYwG:000000000000000000000000000000000000000005WTTS X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 198.147.23.85 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176595 Archived-At: >>>>> "LMI" == Lars Magne Ingebrigtsen writes: LMI> If I understand correctly, this is an issue with Emacs running under a LMI> terminal? Not only. I also see it for some html mail in an athena frame. LMI> I think the real fix here is to make Emacs ignore all colour specs if LMI> Emacs can't determine the background colour of the terminal. Some colour changes are OK, but the backgound should be untouched. For example, xilinx.com's Product Design Advisories html mail is rendered fine. The colouring is minimal and legible. The unusual colour therein is due to html like: . That orange colour works on both black and white. At least for the headlines where it is used. But a lot of mail includes background-color: specs, and that is best ignored. And perhaps when background-color is seen but ignored, foreground colours also should be ignored? So, I guess, a local style is generally preferred, but it is OK to override short sections with whatever is in the mail. I am not opposed to having to specify shr/eww's local style, whether via a css stylesheet or via emacs face customizations. Even though that means extra work. -JimC -- James Cloos OpenPGP: 0x997A9F17ED7DAEA6