GNU bug report logs - #25525
25.1.90; add color highlighting to css mode

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Wed, 25 Jan 2017 08:08:01 UTC

Severity: wishlist

Tags: patch

Found in version 25.1.90

Done: Tom Tromey <tom <at> tromey.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: e.e.f.prudhomme <at> gmail.com (Etienne Prud’homme)
To: Tom Tromey <tom <at> tromey.com>
Cc: 25525 <at> debbugs.gnu.org, Simen Heggestøyl <simenheg <at> gmail.com>
Subject: bug#25525: 25.1.90; add color highlighting to css mode
Date: Mon, 01 May 2017 17:25:55 -0400
Tom Tromey <tom <at> tromey.com> writes:

> This patch on top of my current patch was enough.  However I'm not sure
> it is the best way.  It does pass the css mode tests, but I'm also not
> sure that is sufficient.  Could you try it out?

I’ve thought in the pass it would be nicer if we had a real (S)CSS
parser. I don’t mean by that a renderer (it would be a completely
different project). Instead I mean something that tells us the generated
“cascade”.

This would give us the ability to fontify (S)CSS color variables with
what color they got. We could also fontify color transformations.

What do you think?

--
Etienne




This bug report was last modified 8 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.