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

To reply to this bug, email your comments to 30263 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#30263; Package emacs. (Fri, 26 Jan 2018 19:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to charles <at> aurox.ch (Charles A. Roelli):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Jan 2018 19:56:02 GMT) Full text and rfc822 format available.

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

From: charles <at> aurox.ch (Charles A. Roelli)
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.91; whitespace-mode in mhtml-mode
Date: Fri, 26 Jan 2018 21:02:33 +0100
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).




Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 14 Jul 2019 17:27:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30263; Package emacs. (Sun, 14 Jul 2019 17:30:02 GMT) Full text and rfc822 format available.

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




Merged 30263 35815. Request was from Tom Tromey <tom <at> tromey.com> to control <at> debbugs.gnu.org. (Mon, 25 May 2020 19:24:02 GMT) Full text and rfc822 format available.

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.