GNU bug report logs - #43373
28.0.50; Regression: Unrecognized style region 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; Reported by: Simen Heggestøyl <simenheg@HIDDEN>; Keywords: confirmed; dated Sun, 13 Sep 2020 11:33:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 43373) by debbugs.gnu.org; 28 Jan 2021 02:58:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 27 21:58:41 2021
Received: from localhost ([127.0.0.1]:46640 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l4xW4-0001NN-Q0
	for submit <at> debbugs.gnu.org; Wed, 27 Jan 2021 21:58:41 -0500
Received: from quimby.gnus.org ([95.216.78.240]:56674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1l4xW3-0001N9-Ms
 for 43373 <at> debbugs.gnu.org; Wed, 27 Jan 2021 21:58:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=2d203vr4A+Cm0lPJsls6QT7A97lXSOuiv/y6Yh3D78U=; b=VXCZ/YcZHncoMsc3hI+0z4Xlgg
 angLL50zp2aVhSxzEZrU9zIbgm6Dg2VZYZMt+AQmBqYBAlJBDfgALS1uVOlpQmv2MgT8wf6+GmbzE
 QhPnqXNPA7pP82XzOA7U+Ww6IiRg997Ty3ZiIBwrLLcBGwiEA11bxnj/lMa3H3hZyjqQ=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1l4xVs-0003FO-B8; Thu, 28 Jan 2021 03:58:33 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Simen =?utf-8?Q?Heggest=C3=B8yl?= <simenheg@HIDDEN>
Subject: Re: bug#43373: 28.0.50; Regression: Unrecognized style region in
 mhtml-mode
References: <87sgbllxoj.fsf@simenheg@HIDDEN> <87lfceap34.fsf@HIDDEN>
 <878s8eaitd.fsf@HIDDEN>
X-Now-Playing: Joe Jackson's _Fool_: "Fool"
Date: Thu, 28 Jan 2021 03:58:27 +0100
In-Reply-To: <878s8eaitd.fsf@HIDDEN> ("Simen =?utf-8?Q?Heggest=C3=B8yl?=
 =?utf-8?Q?=22's?= message of "Wed, 27 Jan 2021 09:24:30 +0100")
Message-ID: <87eei57ooc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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:  Simen Heggestøyl <simenheg@HIDDEN> writes: > Just checked
    this from master at 9d50d7a0c6, still seeing the same error > as before.
   Sorry; I should have checked with emacs -Q -- with that I can indeed reproduce
    the bug, so I started bisecting my .emacs to see why I couldn't in my normal
    Emacs. 
 
 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: 43373
Cc: 43373 <at> debbugs.gnu.org
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 (-)

Simen Heggest=C3=B8yl <simenheg@HIDDEN> writes:

> Just checked this from master at 9d50d7a0c6, still seeing the same error
> as before.

Sorry; I should have checked with emacs -Q -- with that I can indeed
reproduce the bug, so I started bisecting my .emacs to see why I
couldn't in my normal Emacs.

And it is, bizarrely enough, this:

./src/emacs --eval '(global-so-long-mode 1)' /tmp/mhtml-test.html=20

With global-so-long-mode switched on, mhtml-mode correctly switches to
"HTML+CSS" as soon as I move point into "button" part of the CSS
section!

Which is just bizarre, because that shouldn't be triggering at all in
this file (and isn't, as far as I can tell).

Before I start trying to find out what's going on here, because this is
just all to odd -- are you seeing the same?

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




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

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


Received: (at 43373) by debbugs.gnu.org; 27 Jan 2021 08:24:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 27 03:24:40 2021
Received: from localhost ([127.0.0.1]:43691 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l4g80-00075P-BX
	for submit <at> debbugs.gnu.org; Wed, 27 Jan 2021 03:24:40 -0500
Received: from aibo.runbox.com ([91.220.196.211]:42446)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <simenheg@HIDDEN>) id 1l4g7x-00075F-6A
 for 43373 <at> debbugs.gnu.org; Wed, 27 Jan 2021 03:24:38 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=selector2;
 h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From;
 bh=5Ssv2AsXZhIiEZdfRqT+aWLwqmpZDe97e/1gaEt6F8M=; b=f8yBh4hTV1gcU+/X5kTsD6xPn6
 lTLyrX64AY3FV3xA59ecB0H3OamZa+jThebBGqlBr7V4zA8o4I0BxThTu07GNpG9VI8quR/s6PRAH
 RhupSsCAW5/GCZ8As1IT4bwzIsZGM7N4GpoWwssU8Py+nerq08JOsxoyVgLEIfXzHWoy4jFJ50iLW
 Hg22aQTqcKnE0AysAKWl9+1MERGTa5eLdSn1Iaov2y7MODKmtc+h+Ab9BEpam6ADjILK7EztzFBun
 gfzgaRMbaaDLAQSb4ZZuG++m9wBcQUGofbMpsBI1Hps5iKXjHxFOt0YV4ke6OHCKXl8psw96mnYcO
 lG3lAw9g==;
Received: from [10.9.9.72] (helo=submission01.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <simenheg@HIDDEN>)
 id 1l4g7v-0003Ib-Kl; Wed, 27 Jan 2021 09:24:35 +0100
Received: by submission01.runbox with esmtpsa [Authenticated alias (963757)]
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 id 1l4g7r-00081G-8m; Wed, 27 Jan 2021 09:24:31 +0100
From: =?utf-8?Q?Simen_Heggest=C3=B8yl?= <simenheg@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: Re: bug#43373: 28.0.50; Regression: Unrecognized style region in
 mhtml-mode
References: <87sgbllxoj.fsf@simenheg@HIDDEN> <87lfceap34.fsf@HIDDEN>
Date: Wed, 27 Jan 2021 09:24:30 +0100
In-Reply-To: <87lfceap34.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Wed,
 27 Jan 2021 07:09:03 +0100")
Message-ID: <878s8eaitd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43373
Cc: 43373 <at> debbugs.gnu.org
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.7 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> I was able to reproduce this in September, but I'm no longer able to (in
> Emacs 28), so perhaps it has been fixed in the meantime?  Do you still
> see this problem?

Hi Lars.

Just checked this from master at 9d50d7a0c6, still seeing the same error
as before.

-- Simen




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

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


Received: (at 43373) by debbugs.gnu.org; 27 Jan 2021 06:09:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 27 01:09:14 2021
Received: from localhost ([127.0.0.1]:43423 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l4e0w-0001XQ-LA
	for submit <at> debbugs.gnu.org; Wed, 27 Jan 2021 01:09:14 -0500
Received: from quimby.gnus.org ([95.216.78.240]:37066)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1l4e0u-0001X7-Sp
 for 43373 <at> debbugs.gnu.org; Wed, 27 Jan 2021 01:09:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=/qVRF/l10MEsNwWFCUXHFMBllhMu5XmLhhbliJUG16Y=; b=Q8/rSjipKO6S23UpfJ3OrLAxm9
 4VPEfucM/sE5WmhWxK+UXD1yEntLPrB4sEdml4vmEDkQXvIAHqkM+sxXRGVF/JOrmevS/ltOTpVd1
 lh9luoZS3bJrXSbTXoO5h5BA46DO/psFDQOYzPJ5THzxk5T1BiqRRLoHReW2WOM3ZD54=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1l4e0m-0002nq-MM; Wed, 27 Jan 2021 07:09:07 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Simen =?utf-8?Q?Heggest=C3=B8yl?= <simenheg@HIDDEN>
Subject: Re: bug#43373: 28.0.50; Regression: Unrecognized style region in
 mhtml-mode
References: <87sgbllxoj.fsf@simenheg@HIDDEN>
X-Now-Playing: Coil's _Swanyard (2)_: "Egyptian Basses 1993"
Date: Wed, 27 Jan 2021 07:09:03 +0100
In-Reply-To: <87sgbllxoj.fsf@simenheg@HIDDEN> ("Simen =?utf-8?Q?Heggest?=
 =?utf-8?Q?=C3=B8yl=22's?= message
 of "Sun, 13 Sep 2020 13:32:12 +0200")
Message-ID: <87lfceap34.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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:  Simen Heggestøyl <simenheg@HIDDEN> writes: > The following
    bug is a regression since 27.1 introduced on master by > commit eae028b9e2c23f84dbd130d49da65f9db1db932f
    (found by bisection). > > To reproduce, open the attached file 'mhtml-test.html
    [...] 
 
 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: 43373
Cc: 43373 <at> debbugs.gnu.org
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 (-)

Simen Heggest=C3=B8yl <simenheg@HIDDEN> writes:

> The following bug is a regression since 27.1 introduced on master by
> commit eae028b9e2c23f84dbd130d49da65f9db1db932f (found by bisection).
>
> To reproduce, open the attached file 'mhtml-test.html' from
> 'emacs -Q'. The region from position 516 to 558 (approximately the
> "button {cursor: pointer; }" part) is not recognized as being part of
> the style block, and doesn't receive the correct mode (HTML+CSS).

I was able to reproduce this in September, but I'm no longer able to (in
Emacs 28), so perhaps it has been fixed in the meantime?  Do you still
see this problem?

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43373; 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; 13 Sep 2020 11:32:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 13 07:32:32 2020
Received: from localhost ([127.0.0.1]:49584 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kHQFE-00038z-6J
	for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 07:32:32 -0400
Received: from lists.gnu.org ([209.51.188.17]:47112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <simenheg@HIDDEN>) id 1kHQFC-00037n-PP
 for submit <at> debbugs.gnu.org; Sun, 13 Sep 2020 07:32:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40124)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <simenheg@HIDDEN>)
 id 1kHQFB-0006Tx-5b
 for bug-gnu-emacs@HIDDEN; Sun, 13 Sep 2020 07:32:30 -0400
Received: from aibo.runbox.com ([91.220.196.211]:44454)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <simenheg@HIDDEN>)
 id 1kHQF6-0002td-OA
 for bug-gnu-emacs@HIDDEN; Sun, 13 Sep 2020 07:32:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=selector2;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; 
 bh=UlTwMHOOicluMDFlLNwZXxTZGPxd8alCCN57vtQ0Ipk=; b=MSCeSBBJHBlS5OAns8YwN5lJT
 BucNyMzBJO7aE47YmYirTVcf1dz7EnfiBdukuFaU3Ig7B9IYV5JxkiqgLxxc708BgEyMbdhRpAHWn
 uHKcgIV1f7511Jeefi1jyCj2YVhCJD+b0x/gh7NCHyM0WatQlpK+U3bWsO8ZIv6Hh0vLe80DENUal
 Vvbtd4C7+SeDAjlW8O2N9PEfyBfxb1s7jIQxXHdjKcU/LSHWH8cId/YlnZMuJkp9hBJ8bpoKv8ZO9
 mG/Io6ztq/Hci7iFTTAe2Dgc40+vFGiIRChTWLNvTwAwUrs7oSE5ftkhUjFcrEQRzSjDRj5vFniiZ
 hk4aUH+xA==;
Received: from [10.9.9.72] (helo=submission01.runbox)
 by mailtransmit03.runbox with esmtp (Exim 4.86_2)
 (envelope-from <simenheg@HIDDEN>) id 1kHQF0-0006YW-Ep
 for bug-gnu-emacs@HIDDEN; Sun, 13 Sep 2020 13:32:18 +0200
Received: by submission01.runbox with esmtpsa [Authenticated alias (963757)]
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 id 1kHQEv-0006i3-8e
 for bug-gnu-emacs@HIDDEN; Sun, 13 Sep 2020 13:32:13 +0200
From: =?utf-8?Q?Simen_Heggest=C3=B8yl?= <simenheg@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; Regression: Unrecognized style region in mhtml-mode
Date: Sun, 13 Sep 2020 13:32:12 +0200
Message-ID: <87sgbllxoj.fsf@simenheg@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=91.220.196.211; envelope-from=simenheg@HIDDEN;
 helo=aibo.runbox.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 07:32:18
X-ACL-Warn: Detected OS   = ???
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, MSGID_MULTIPLE_AT=1, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_HTML_ATTACH=0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.6 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.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
 the administrator of that system for details.
 Content preview:  The following bug is a regression since 27.1 introduced on
 master by commit eae028b9e2c23f84dbd130d49da65f9db1db932f (found by
 bisection).
 To reproduce, open the attached file 'mhtml-test.html' from 'emacs -Q'. The
 region from position 516 to 558 (approximately the "button {cursor: pointer;
 }" part) is not recognized as being part of the [...] 
 Content analysis details:   (1.6 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 MSGID_MULTIPLE_AT      Message-ID contains multiple '@' characters
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (simenheg[at]runbox.com)
 0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;
 id=simenheg%40runbox.com; ip=209.51.188.17; r=debbugs.gnu.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 HTML_MESSAGE           BODY: HTML included in message
 -0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [209.51.188.17 listed in wl.mailspike.net]
 -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,
 medium trust [209.51.188.17 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 0.0 T_HTML_ATTACH          HTML attachment to bypass scanning?
 2.0 SPOOFED_FREEMAIL       No description available.
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: -1.4 (-)

--=-=-=
Content-Type: text/plain

The following bug is a regression since 27.1 introduced on master by
commit eae028b9e2c23f84dbd130d49da65f9db1db932f (found by bisection).

To reproduce, open the attached file 'mhtml-test.html' from
'emacs -Q'. The region from position 516 to 558 (approximately the
"button {cursor: pointer; }" part) is not recognized as being part of
the style block, and doesn't receive the correct mode (HTML+CSS).

--=-=-=
Content-Type: text/html
Content-Disposition: inline; filename=mhtml-test.html

<template>
  <!DOCTYPE html>
  <html lang="en">
    <head>
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title></title>
    </head>
    <body>
      <div id="app">test</div>
    </body>
  </html>
</template>

<script>
  console.log('test');
</script>

<style lang="css">
  body {
      text-align: center;
  }
  #app {
      margin: 0;
  }
  a {
      font-size: 20px;
      padding: 10px;
  }
  button {
      cursor: pointer;
  }
</style>

--=-=-=
Content-Type: text/plain

-- Simen

--=-=-=--




Acknowledgement sent to Simen Heggestøyl <simenheg@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#43373; 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: Thu, 28 Jan 2021 03:00:02 UTC

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