GNU bug report logs - #30263
26.0.91; whitespace-mode in mhtml-mode

Previous Next

Package: emacs;

Reported by: charles <at> aurox.ch (Charles A. Roelli)

Date: Fri, 26 Jan 2018 19:56:01 UTC

Severity: minor

Tags: confirmed

Merged with 35815

Found in versions 26.0.91, 26.2

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: charles <at> aurox.ch (Charles A. Roelli)
Cc: 30263 <at> debbugs.gnu.org, Tom Tromey <tom <at> tromey.com>
Subject: Re: bug#30263: 26.0.91; whitespace-mode in mhtml-mode
Date: Sun, 14 Jul 2019 19:29:50 +0200
charles <at> aurox.ch (Charles A. Roelli) writes:

> src/emacs -q
> C-x C-f test/manual/indent/html-multi-2.html RET
> M-x whitespace-mode RET
>
> It looks like whitespace is not shown within <style> (CSS) and <script> (JS)
> tags the same way as it is in HTML parts of the buffer.  For example, line 14
> correctly shows as:
>
>         <style type="text/css">
>
> with a lightly-colored "»" in column 1, and a lightly-colored leading
> whitespace, whereas line 15 shows as:
>
> »       h1 {
>
> with no coloring, even though the leading whitespace is the same (one TAB
> character).

It looks like none? some? of the font locking keywords set up by
whitespace mode are in effect in the CSS bits, but they are in effect in
the HTML bits?  I'm guessing this has something to do with mhtml-mode,
so perhaps Tom has some insights here...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 82 days ago.

Previous Next


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