From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Colour selection in shr Date: Thu, 13 Nov 2014 21:06:02 +0100 Message-ID: References: <8761ex10e0.fsf@rabkins.net> <87wq7cza1n.fsf@rabkins.net> <87k32yvpkv.fsf@rabkins.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415909210 18292 80.91.229.3 (13 Nov 2014 20:06:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2014 20:06:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Yoni Rabkin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 13 21:06:44 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 1Xp0fE-0003hE-Dh for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 21:06:44 +0100 Original-Received: from localhost ([::1]:33711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp0fD-0003M9-Ju for ged-emacs-devel@m.gmane.org; Thu, 13 Nov 2014 15:06:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp0f4-0003Ln-ON for emacs-devel@gnu.org; Thu, 13 Nov 2014 15:06:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xp0ex-00075D-H8 for emacs-devel@gnu.org; Thu, 13 Nov 2014 15:06:34 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp0ex-00074z-AU for emacs-devel@gnu.org; Thu, 13 Nov 2014 15:06:27 -0500 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Xp0eY-0007mX-Nh; Thu, 13 Nov 2014 21:06:02 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEXw38Deyqp5ZFT9+N/4 6sxd//jbAAACQklEQVQ4jVWUi5GrMAxF5eACLJMCsLIFwMgFiLX6r+ldGZLNYyYE69j6XAmIuRSm xEwFN6yI4g+m4jCURHlaimc8JKyNLNZ4SjjZ+LpygOtkTuGq3MATwUEVadjCAAIGXwnAjWur8uwI VVlq0aF6BnBLTUS04yDQonqDbgT7pjscNqaw66E3aEfTU+J69gl6IsWvNlrVJDwuDvvonUgtlaF9 KMrBhny5QgwAVoUDX/bKKeFBdTcjP5nnLsehSmHFCSMKpcLeDQ6hpIbbg2aBaQQgVJC4jVgcmUMS FNWR3Ioa2zbdntATItZFRzF4sRt0J44YgtOeGjsKassbINs6Zlb2kwA4FnCDPvAl3OiWam1zsZd3 8GiJR2sarzM4UfRsDcllo4iRAjjAnI/YgvlIsqU8wiuMIGVTDwGpSov+dd8DuNXnQE7YgkCDRneD flBtr89ZFUUgzhBhjs3Qk/tVB5bSFh9vEOpZdirwwikv0YgAZ6je1XGhPj/tmZAE015/dHYt7rVh vMojyqVTXpHgJerZ1B4xmSLUBScMAA0snNZI+gJVIN+cM25128sbGMurWySQpNbl+IC9IojHBLXt Icvh9nHV8gR7zRaNpRtkluxOAdxeX+CE1pRjzjgfkTn9BW94SaKd+Xf8D4Q8Rzv9N+bgnRVaJAU6 4m1ACpD0AyAZAzhnj7fmC4gUzAli24om0eMLYE7USrZozOzjBGeAJwBRHr3cSQHYBNAR0zcwHm9w TjC/NNf970SV+2PUiuOzcYN/fCyWMBfyPWUAAAAASUVORK5CYII= X-Now-Playing: Eurythmics's _Savage_: "Heaven" X-Hashcash: 1:23:141113:emacs-devel@gnu.org::0EVwW/onv+m1KNyT:000000000000000000000000000000000000000000Cbb1 X-Hashcash: 1:23:141113:yoni@rabkins.net::dDkkzdC/2CnVVBlm:0lkhY In-Reply-To: <87k32yvpkv.fsf@rabkins.net> (Yoni Rabkin's message of "Thu, 13 Nov 2014 15:00:00 -0500") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1Xp0eY-0007mX-Nh MailScanner-NULL-Check: 1416513963.09148@GXl5KUxtagf9sEiskOep/Q X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:177000 Archived-At: Yoni Rabkin writes: > This discussion, at large, went places that don't help me directly in > any way. So in the meantime I'll be setting shr-colorize-region to a NOP > on my machine until that breaks something. I think we (some of us, at least >"?) agreed that there should be a way for the user to say "all colours in this buffer should go away", and that the most practical way to do this would be to introduce a buffer-local variable (for instance, `inhibit-color') that would be checked by the Emacs redisplay. If it's set, then all face `foreground' and `background' specs would just be ignored. This would do exactly what people who need it (because of visual problems) or want it (because they just do) require, without touching on the other markup issues (for instance, we don't want links to lose their underlining). If someone were to create a patch to do that, I'd apply it. >"? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no