From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#25525: 25.1.90; add color highlighting to css mode Date: Wed, 03 May 2017 16:03:52 -0600 Message-ID: <87wp9xegxj.fsf@tromey.com> References: <87mvefh8br.fsf@tromey.com> <1485375833.1960.0@smtp.gmail.com> <1485455113.4245.1@smtp.gmail.com> <1487359774.1998.0@smtp.gmail.com> <1488653191.6153.0@smtp.gmail.com> <1488738524.13864.0@smtp.gmail.com> <871str3b48.fsf@tromey.com> <1490812056.14782.1@smtp.gmail.com> <1492873665.3376.0@smtp.gmail.com> <87lgqpyl6y.fsf@pokyo> <87vapn3l0i.fsf@tromey.com> <87a86wb76k.fsf@x230.lts> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1493849112 5718 195.159.176.226 (3 May 2017 22:05:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 May 2017 22:05:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 25525@debbugs.gnu.org, Tom Tromey , Simen =?UTF-8?Q?Heggest=C3=B8yl?= To: e.e.f.prudhomme@gmail.com (Etienne =?UTF-8?Q?Prud=E2=80=99homme?=) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 04 00:05:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d62OR-0001NE-Jy for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 May 2017 00:05:07 +0200 Original-Received: from localhost ([::1]:38847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d62OX-0002Wd-Ey for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 May 2017 18:05:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d62OP-0002VZ-I7 for bug-gnu-emacs@gnu.org; Wed, 03 May 2017 18:05:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d62OM-00017a-Co for bug-gnu-emacs@gnu.org; Wed, 03 May 2017 18:05:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d62OM-00016P-4n for bug-gnu-emacs@gnu.org; Wed, 03 May 2017 18:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d62OL-0006dU-Np for bug-gnu-emacs@gnu.org; Wed, 03 May 2017 18:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tom Tromey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 May 2017 22:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25525 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 25525-submit@debbugs.gnu.org id=B25525.149384905125431 (code B ref 25525); Wed, 03 May 2017 22:05:01 +0000 Original-Received: (at 25525) by debbugs.gnu.org; 3 May 2017 22:04:11 +0000 Original-Received: from localhost ([127.0.0.1]:53304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d62NX-0006c7-9g for submit@debbugs.gnu.org; Wed, 03 May 2017 18:04:11 -0400 Original-Received: from gproxy10-pub.mail.unifiedlayer.com ([69.89.20.226]:48038 helo=gproxy10.mail.unifiedlayer.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d62NV-0006bt-VZ for 25525@debbugs.gnu.org; Wed, 03 May 2017 18:04:10 -0400 Original-Received: from CMOut01 (unknown [10.0.90.82]) by gproxy10.mail.unifiedlayer.com (Postfix) with ESMTP id 34CF0140427 for <25525@debbugs.gnu.org>; Wed, 3 May 2017 16:03:59 -0600 (MDT) Original-Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with id Fy3t1v00E2f2jeq01y3wSA; Wed, 03 May 2017 16:03:59 -0600 X-Authority-Analysis: v=2.2 cv=K+5SJ2eI c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=IkcTkHD0fZMA:10 a=tJ8p9aeEuA8A:10 a=59rSE4TzPUZg80CgqOcA:9 a=QEXdDO2ut3YA:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=o6VpwznC4fkbsUixlc5DZ5F+/UnYbM5TIuaPxpcu/Qc=; b=BbEdIbzTvSySPR++QKmHR1GJzI +hfWnipwcoMot/qoxyiPbBfeDTNDRb7y89DRBCWoaIJK6Icfl4AHzn07/IFzI4R+6rrLYtAAgPXvQ YeCCjhVpYAxNgFWA+dq3P1wBP; Original-Received: from 75-166-63-71.hlrn.qwest.net ([75.166.63.71]:46440 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1d62NF-0007lR-1N; Wed, 03 May 2017 16:03:53 -0600 X-Attribution: Tom In-Reply-To: <87a86wb76k.fsf@x230.lts> ("Etienne \=\?utf-8\?Q\?Prud\=E2\=80\=99ho\?\= \=\?utf-8\?Q\?mme\=22's\?\= message of "Mon, 01 May 2017 17:25:55 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box522.bluehost.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.63.71 X-Exim-ID: 1d62NF-0007lR-1N X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-63-71.hlrn.qwest.net (bapiya) [75.166.63.71]:46440 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132236 Archived-At: Etienne> I=E2=80=99ve thought in the pass it would be nicer if we had a rea= l (S)CSS Etienne> parser. I don=E2=80=99t mean by that a renderer (it would be a com= pletely Etienne> different project). Instead I mean something that tells us the gen= erated Etienne> =E2=80=9Ccascade=E2=80=9D. Etienne> This would give us the ability to fontify (S)CSS color variables w= ith Etienne> what color they got. We could also fontify color transformations. Etienne> What do you think? I think it would be good, but it would require more than just a CSS parser - you also need the DOM, so you'd need a way for Emacs to associate CSS and HTML files. Tom