unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72771: 31.0.50; shr html renderer throwing "Specified window is not displaying the current buffer"
@ 2024-08-23  8:15 Rob Stewart via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-08-23  9:13 ` Rob Stewart via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-08-23 13:12 ` Eli Zaretskii
  0 siblings, 2 replies; 15+ messages in thread
From: Rob Stewart via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-08-23  8:15 UTC (permalink / raw)
  To: 72771

[-- Attachment #1: Type: text/plain, Size: 2886 bytes --]

When attempting to open the attached (anonymised) message with mm-text-html-renderer set to `shr`, I get this bracktrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Specified window is not displaying the current buffer")
  shr-indent()
  shr-fill-line()
  shr-fill-lines(13724 15455)
  shr-insert-document((html ((xmlns:o . .))))
  mm-shr((#<buffer  *mm*-655965> ("text/html" (charset . "Windows-1252")) quoted-printable nil nil nil nil nil))
  mm-inline-text-html((#<buffer  *mm*-655965> ("text/html" (charset . "Windows-1252")) quoted-printable nil nil nil nil nil))
  mm-display-inline((#<buffer  *mm*-655965> ("text/html" (charset . "Windows-1252")) quoted-printable nil nil nil nil nil))
  mm-display-part((#<buffer  *mm*-655965> ("text/html" (charset . "Windows-1252")) quoted-printable nil nil nil nil nil))
  gnus-mime-display-alternative(((#<buffer  *mm*-410985> ("text/plain" (charset . "Windows-1252")) quoted-printable nil ("inline") nil nil nil) (#<buffer  *mm*-655965> ("text/html" (charset . "Windows-1252")) quoted-printable nil nil nil nil nil)) nil nil 1)
  gnus-mime-display-part((#("multipart/alternative" ...)))
  gnus-display-mime(nil)
  #f(compiled-function (&optional ihandles) #<bytecode -0xcb4ad9361861f2a>)()
  gnus-article-prepare-display()
  mu4e--view-render-buffer((:path ...))
  mu4e-view((:path ...))
  mu4e~headers-view-handler((:path ...))
--8<---------------cut here---------------end--------------->8---

I've been asked here:

https://github.com/djcb/mu/issues/2747#issuecomment-2305245669

to report this as an Emacs bug/incompatibility.

I'm using Emacs build 3d1d4f109ed4115256a08c74eeb704259d91c9f4 (21 August 2024).

Best wishes,

--
Rob Stewart
________________________________

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

  1.  Heriot-Watt University, a Scottish charity registered under number SC000278
  2.  Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.

[-- Attachment #2: mu4e-message-example --]
[-- Type: application/octet-stream, Size: 12509 bytes --]

Received: from LO9P302MB1718.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:3fe::18)
 by LO0P302MB0321.GBRP302.PROD.OUTLOOK.COM with HTTPS; Thu, 22 Aug 2024
 13:45:48 +0000
Received: from CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM (2603:10a6:400:224::5)
 by LO9P302MB1718.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:3fe::18) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Thu, 22 Aug
 2024 13:45:47 +0000
Received: from CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM
 ([fe80::4cdc:4d70:def6:7850]) by CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM
 ([fe80::4cdc:4d70:def6:7850%3]) with mapi id 15.20.7897.014; Thu, 22 Aug 2024
 13:45:47 +0000
From: "ANON" <ANON1@example.com>
To: "ANON" <ANON2@example.com>
CC: "ANON" <ANON3@example.com>, "ANON"
	<ANON4@example.com>
Subject: Re: ANON SUBJECT
Thread-Topic: ANON SUBJECT
Thread-Index: AQHa8bVP2SfW3AN2f0OGBQIpAxWoIbIzS5ZggAAC+AiAAACa0g==
Date: Thu, 22 Aug 2024 14:45:47 +0100
Message-ID: 
	<CWLP302MB0024B5E060A94B620926E06FD98F2@CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM>
References: 
	<CWLP302MB002470D028C7435E4645AD4ED9832@CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM>
 <CWLP302MB0024D62DA21BF4776FA9761ED98F2@CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM>
 <LO2P302MB00693411F7603E932278E45AA28F2@LO2P302MB0069.GBRP302.PROD.OUTLOOK.COM>
In-Reply-To: 
	<LO2P302MB00693411F7603E932278E45AA28F2@LO2P302MB0069.GBRP302.PROD.OUTLOOK.COM>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-MS-Exchange-Organization-AuthSource: CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM
X-MS-Has-Attach: 
X-MS-Exchange-Organization-Network-Message-Id: 
	22bf1084-b138-4e94-94fe-08dcc2b0ba13
X-MS-Exchange-Organization-SCL: 1
X-MS-TNEF-Correlator: 
X-MS-Exchange-Organization-RecordReviewCfmType: 0
authentication-results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=example.com;
x-ms-publictraffictype: Email
msip_labels: 
x-forefront-antispam-report: 
	CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(41050700001);DIR:INT;
x-microsoft-antispam: BCL:0;ARA:13230040|366016|41050700001;
x-ms-traffictypediagnostic: 
	CWLP302MB0024:EE_|LO9P302MB1718:EE_|LO0P302MB0321:EE_
x-ms-office365-filtering-correlation-id: 22bf1084-b138-4e94-94fe-08dcc2b0ba13
x-ms-exchange-transport-endtoendlatency: 00:00:00.9281003
x-ms-exchange-processed-by-bccfoldering: 15.20.7897.007
x-ms-exchange-crosstenant-originalarrivaltime: 22 Aug 2024 13:45:47.1572 (UTC)
x-ms-exchange-crosstenant-fromentityheader: Hosted
x-ms-exchange-crosstenant-id: 6c425ff2-6865-42df-a4db-8e6af634813d
x-ms-exchange-crosstenant-network-message-id: 
	22bf1084-b138-4e94-94fe-08dcc2b0ba13
x-ms-exchange-transport-crosstenantheadersstamped: LO9P302MB1718
x-ms-exchange-crosstenant-mailboxtype: HOSTED
x-ms-exchange-crosstenant-userprincipalname: 
	DQd+K+OX9D8Kba9q8T3jmFMf/OshYh3N7hoU6pgySxv3Len4pePeiYSxzmApArZ3
x-ms-exchange-crosstenant-authas: Internal
x-ms-exchange-crosstenant-authsource: CWLP302MB0024.GBRP302.PROD.OUTLOOK.COM
X-Microsoft-Antispam-Mailbox-Delivery: 
	ucf:0;jmr:0;auth:0;dest:I;ENG:(910001)(944506478)(944626604)(920097)(425001)(930097)(140003);
X-Microsoft-Antispam-Message-Info: 
	H5BxP7MwKXwunQK4TgqBSfA/3tvPvYQW8yQp9bJkxz2PJbjIMB7MngI0lUalUemVqIFdKVhwKlswBMftyen76pZTyrf+hvWP8m3A2C0I/AQl5oDN3jWbipKWzZAVTQTFcmwrCZXA/ulW3ibSOskD6mlO6YR16F+vE1wx6CT9aCyEToXtFQMajQ3+xc/ZHW50ARHFSvyV0zn3RAyZCeufUSQkYClPx2+djndxKYU4Tcz9odVpANloGMhDhLkrsuTNaV41FZjxnWKBOlFDsnbOZGwjKLrse2F0ur87+VC+On0n4x84Pt3xOfJ9bLQNhhJ9nAisH1fJzK2YawLagI8kA5dtovPmF2si0bB1apSpBBka2aYQB25Z3ZsZ16XbjcbC+26S48ctV5gtibntfF/rX7kx90nI6mrQQXS//kc0IIjImKNk5ljUResRmM+/LKBHMSd8hymz7DtbBp/TRLlDBYE1+zVqard1HfXZqkobznTcFixXS1YINTQvlWZf6UX62yaTYKQbnumkwmAAw7fdw2oFDWKZo4PIKfbjNnK0wSX58omLIavPHtO3Q0sTb/0KLhOPu51BAj78ygNriwPqHdCsdoTXPLQA83e4F1Za0sXsXXkJ3669sG+MCaVl8DerG3GYw+hUtTLPztF6TpCEllKkhqG5chF0WoWbgKRJcGEiGwvweO59d484cKrKdIdIGmnoO06tAHFV1hqyaRc2BKZLdmMQIk8NwdiRU8U8hcz7Y0xACiS5ppb8nE07PC+uDiDVl/kVUVCAp2Sw4ntpY0EiSxGxxYoBsQVYuPbhO/RjIosI5AtDo3Z0gNssVYmFYGkEyQNRjnZmi6QrvXQYUA==
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Aptos;
	panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:12.0pt;
	font-family:"Aptos",sans-serif;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
	{mso-style-name:x_msonormal;
	margin:0cm;
	font-size:11.0pt;
	font-family:"Aptos",sans-serif;}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Aptos",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1686131080;
	mso-list-template-ids:295489012;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-GB" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US">Haha =96 no worries, actually partly my fault as I was talking abou=
t this with Jeevani yesterday!<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US">I still need to tidy one thing (Tom=92s picture), so I will fix tha=
t in version 1.01.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US">Thanks for spotting this.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US">Cheers.S.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;mso-fareast-language=
:EN-US"><o:p>&nbsp;</o:p></span></p>
<div id=3D"mail-editor-reference-message-container">
<div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><b><span style=3D"col=
or:black">From:
</span></b><span style=3D"color:black">ANON &lt;ANON2@example.com&gt;=
<br>
<b>Date: </b>Thursday, 22 August 2024 at 14:42<br>
<b>To: </b>ANON &lt;ANON1@example.com&gt;<br>
<b>Cc: </b>ANON &lt;ANON3@example.com&gt;, ANON &lt;ANON4@example.com&gt;<br>
<b>Subject: </b>Re: ANON SUBJECT<o:p></o:p></span>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:black">REDACTED.&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:black"><o:p>&nbsp;</o:p></span>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:black">Cheers,<o:p></o:p></span=
></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:black">Mike<o:p></o:p></span></=
p>
</div>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center">
<hr size=3D"0" width=3D"100%" align=3D"center">
</div>
<div id=3D"divRplyFwdMsg">
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif;color:black">From:</span></b><span style=3D"font-=
size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:black"> ANON &lt;ANON1@example.com&gt;<br>
<b>Sent:</b> 22 August 2024 14:39<br>
<b>To:</b> ANONYMISED@example.com &lt;ANONYMISED2@example.com.uk&gt;<br>
<b>Cc:</b> ANON &lt;ANON5@example.com&gt;; ANON=
 &lt;ANON6@example.com&gt;<br>
<b>Subject:</b> Re: ANON SUBECT</span> <o:p></o:p=
></p>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"xmsonormal">Hi all =96 <o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">REDACTED.<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">Cheers, <o:p></o:p></p>
<p class=3D"xmsonormal">S.<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<div id=3D"x_mail-editor-reference-message-container">
<div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"xmsonormal" style=3D"margin-bottom:12.0pt"><b><span style=3D"fo=
nt-size:12.0pt;color:black">From:
</span></b><span style=3D"font-size:12.0pt;color:black">ANON &l=
t;ANON1@example.com&gt;<br>
<b>Date: </b>Monday, 19 August 2024 at 08:00<br>
<b>To: </b>ANON@example.com &lt;ANON@example.com&gt;<br>
<b>Cc: </b>ANON &lt;ANON6@example.com&gt;, ANON=
 &lt;ANON7@example.com&gt;<br>
<b>Subject: </b>ANON Subject</span><o:p></o:p></p>
</div>
<div>
<p class=3D"xmsonormal">Hi all =96 <o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">REDACTED
<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">REDACTED.<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">REDACTED!<o:p></o:p></p>
<p class=3D"xmsonormal">&nbsp;<o:p></o:p></p>
<p class=3D"xmsonormal">Cheers, ANON.<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center">
<hr size=3D"0" width=3D"100%" align=3D"center">
</div>
<p><span style=3D"font-size:8.0pt;font-family:&quot;Arial&quot;,sans-serif"=
>Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With camp=
uses and students across the entire globe we span the world, delivering inn=
ovation and educational excellence in business,
 engineering, design and the physical, social and life sciences. This email=
 is generated from the Heriot-Watt University Group, which includes:<o:p></=
o:p></span></p>
<ol start=3D"1" type=3D"1">
<li class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-=
alt:auto;mso-list:l0 level1 lfo1">
<span style=3D"font-size:8.0pt;font-family:&quot;Arial&quot;,sans-serif">He=
riot-Watt University, a Scottish charity registered under number SC000278<o=
:p></o:p></span></li><li class=3D"MsoNormal" style=3D"mso-margin-top-alt:au=
to;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
<span style=3D"font-size:8.0pt;font-family:&quot;Arial&quot;,sans-serif">He=
riot- Watt Services Limited (Oriam), Scotland's national performance centre=
 for sport. Heriot-Watt Services Limited is a private limited company regis=
tered is Scotland with registered number SC271030
 and registered office at Research &amp; Enterprise Services Heriot-Watt Un=
iversity, Riccarton, Edinburgh, EH14 4AS.<o:p></o:p></span></li></ol>
<p><span style=3D"font-size:8.0pt;font-family:&quot;Arial&quot;,sans-serif"=
>The contents (including any attachments) are confidential. If you are not =
the intended recipient of this e-mail, any disclosure, copying, distributio=
n or use of its contents is strictly prohibited,
 and you should please notify the sender immediately and then delete it (in=
cluding any attachments) from your system.<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-08-25 18:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23  8:15 bug#72771: 31.0.50; shr html renderer throwing "Specified window is not displaying the current buffer" Rob Stewart via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-23  9:13 ` Rob Stewart via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-23 13:12 ` Eli Zaretskii
2024-08-23 17:10   ` Kévin Le Gouguec
2024-08-23 22:39     ` Jim Porter
2024-08-24  6:08       ` Eli Zaretskii
2024-08-24 17:10         ` Jim Porter
2024-08-24 19:01           ` Eli Zaretskii
2024-08-24 19:42             ` Jim Porter
2024-08-25  5:05               ` Eli Zaretskii
2024-08-25  6:11                 ` Jim Porter
2024-08-25  6:22                   ` Eli Zaretskii
2024-08-25 17:18                     ` Jim Porter
2024-08-25 17:49                       ` Eli Zaretskii
2024-08-25 18:51                         ` Jim Porter

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).