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


Message #118 received at 25525 <at> debbugs.gnu.org (full text, mbox):

From: Etienne Prud’homme <e.e.f.prudhomme <at> gmail.com>
To: Tom Tromey <tom <at> tromey.com>
Cc: 25525 <at> debbugs.gnu.org,
 Simen Heggestøyl <simenheg <at> gmail.com>
Subject: Re: bug#25525: 25.1.90; add color highlighting to css mode
Date: Wed, 03 May 2017 19:24:42 -0400
Tom Tromey <tom <at> tromey.com> writes:

> 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

Of course, I wasn’t talking about HTML. CSS is not confined only to
HTML. Sure HTML (the DOM) can set styles, but the styles are coming from
either an external style sheet or the browser default style sheet. CSS in
itself is a set of cascading style rules that apply according to a tree
structure.

What we could do with the parser is to tell us which rules are applied
in a given node path.

We could even apply CSS to the Emacs widget system (although it would
require lots of work).

--
Etienne




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

Previous Next


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