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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: charles@HIDDEN (Charles A. Roelli); Keywords: confirmed; merged with #35815; dated Fri, 26 Jan 2018 19:56:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 30263 35815. Request was from Tom Tromey <tom@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 30263 <at> debbugs.gnu.org:


Received: (at 30263) by debbugs.gnu.org; 14 Jul 2019 17:29:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 14 13:29:57 2019
Received: from localhost ([127.0.0.1]:45826 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hmiJx-0001YR-5J
	for submit <at> debbugs.gnu.org; Sun, 14 Jul 2019 13:29:57 -0400
Received: from quimby.gnus.org ([80.91.231.51]:55656)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1hmiJu-0001YI-H1
 for 30263 <at> debbugs.gnu.org; Sun, 14 Jul 2019 13:29:55 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1hmiJq-0004Mm-V4; Sun, 14 Jul 2019 19:29:53 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: charles@HIDDEN (Charles A. Roelli)
Subject: Re: bug#30263: 26.0.91; whitespace-mode in mhtml-mode
References: <m24ln8crs6.fsf@HIDDEN>
Date: Sun, 14 Jul 2019 19:29:50 +0200
In-Reply-To: <m24ln8crs6.fsf@HIDDEN> (Charles A. Roelli's message of "Fri,
 26 Jan 2018 21:02:33 +0100")
Message-ID: <87r26sy169.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: charles@HIDDEN (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 i [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 30263
Cc: 30263 <at> debbugs.gnu.org, Tom Tromey <tom@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

charles@HIDDEN (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, lin=
e 14
> correctly shows as:
>
>         <style type=3D"text/css">
>
> with a lightly-colored "=C2=BB" in column 1, and a lightly-colored leading
> whitespace, whereas line 15 shows as:
>
> =C2=BB       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...

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30263; Package emacs. Full text available.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Jan 2018 19:55:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 26 14:55:27 2018
Received: from localhost ([127.0.0.1]:44070 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1efA5v-0002gx-ID
	for submit <at> debbugs.gnu.org; Fri, 26 Jan 2018 14:55:27 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56887)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1efA5t-0002gj-7i
 for submit <at> debbugs.gnu.org; Fri, 26 Jan 2018 14:55:25 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1efA5n-0006Qs-G9
 for submit <at> debbugs.gnu.org; Fri, 26 Jan 2018 14:55:20 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43204)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1efA5n-0006Qj-CD
 for submit <at> debbugs.gnu.org; Fri, 26 Jan 2018 14:55:19 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47853)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1efA5m-0003L4-C3
 for bug-gnu-emacs@HIDDEN; Fri, 26 Jan 2018 14:55:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1efA5h-0006MN-HD
 for bug-gnu-emacs@HIDDEN; Fri, 26 Jan 2018 14:55:18 -0500
Received: from sinyavsky.aurox.ch ([37.35.109.145]:59195)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1efA5h-0006Cz-6X
 for bug-gnu-emacs@HIDDEN; Fri, 26 Jan 2018 14:55:13 -0500
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id ED76E2265A
 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Jan 2018 19:46:46 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-transfer-encoding:content-type:content-type:mime-version
 :subject:subject:to:from:from:message-id:date:date; s=dkim; t=
 1516996006; x=1517860007; bh=AH7OTMPlddOW+FAmg6pOZosFdxvaMBBiZiP
 K8PWs/jw=; b=vBdkijxpCJcrnLCkp6oH343+w9+t3z6MPg/6bfBOO7ETDQ8T7l5
 cdTc/nQ5DUQ9ubWtZw6788QjXf5I23D8dgWKY0d2BRbNUEirKLWsQfhZf5864W8p
 rqIfxMBr+NOVmkbntdW0Vme6XZXMWto7S+ghK5rsWgbzfiNkimXNESeo=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id LtmomezYq6RE for <bug-gnu-emacs@HIDDEN>;
 Fri, 26 Jan 2018 19:46:46 +0000 (UTC)
Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch
 [178.192.85.125])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 30CDE22613
 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Jan 2018 19:46:45 +0000 (UTC)
Date: Fri, 26 Jan 2018 21:02:33 +0100
Message-Id: <m24ln8crs6.fsf@HIDDEN>
From: charles@HIDDEN (Charles A. Roelli)
To: bug-gnu-emacs@HIDDEN
Subject: 26.0.91; whitespace-mode in mhtml-mode
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

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, lin=
e 14
correctly shows as:

        <style type=3D"text/css">

with a lightly-colored "=C2=BB" in column 1, and a lightly-colored leadin=
g
whitespace, whereas line 15 shows as:

=C2=BB       h1 {

with no coloring, even though the leading whitespace is the same (one TAB
character).




Acknowledgement sent to charles@HIDDEN (Charles A. Roelli):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#30263; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 May 2020 19:30:02 UTC

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