From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rob Stewart via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72771: 31.0.50; shr html renderer throwing "Specified window is not displaying the current buffer" Date: Fri, 23 Aug 2024 10:13:54 +0100 Organization: Heriot-Watt University Message-ID: <87jzg7ppnx.fsf@hw.ac.uk> References: <875xrrr6x3.fsf@hw.ac.uk> Reply-To: Rob Stewart Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25419"; mail-complaints-to="usenet@ciao.gmane.io" To: 72771@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 23 11:15:46 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1shQOY-0006R9-5t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Aug 2024 11:15:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shQO7-0002bH-NY; Fri, 23 Aug 2024 05:15:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1shQO3-0002ai-3u for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2024 05:15:16 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shQO2-0002jc-NJ for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2024 05:15:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=RBcHlikqm50bGDGxYBSOSuhcKc4gY8elmAtplYz5aXA=; b=p8DU0VTcqWaj8KRBoYCsF/TZOm2F/A6sM2Sz7aqiin/2raXU/uhTKqIu/qMaFtssmXJoPcPgS9jNQhpD2H+ukszEX3p00usRy+0wpkCNI1VksAVyMCCX/Fl+rxGlWy8+dgGABvUOelDuFP3ZV+K8y+QIaRjbrOseQUJTVkfzhy4EC8CVHWJAPEBX/pGcGoPr9Hljw2A+FrHLB3MZzT4Q3II9mwCAkcoTCs6jIchWZWsu/TtsW7SJScOzoR0ERj40GJjY+y5aJzkyONnmTHl63lnKeacPmzk6wvK4laoNjGUYAgZvjPbOgJvLQce/NVh/d5uYisxLtXRGz+O+jNCP8A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shQOn-0001Rf-KB for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2024 05:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rob Stewart Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Aug 2024 09:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72771 X-GNU-PR-Package: emacs Original-Received: via spool by 72771-submit@debbugs.gnu.org id=B72771.17244045065474 (code B ref 72771); Fri, 23 Aug 2024 09:16:01 +0000 Original-Received: (at 72771) by debbugs.gnu.org; 23 Aug 2024 09:15:06 +0000 Original-Received: from localhost ([127.0.0.1]:38995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shQNt-0001QD-JZ for submit@debbugs.gnu.org; Fri, 23 Aug 2024 05:15:05 -0400 Original-Received: from mail-lo4gbr01on2105.outbound.protection.outlook.com ([40.107.122.105]:3856 helo=GBR01-LO4-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shQNr-0001PS-2E for 72771@debbugs.gnu.org; Fri, 23 Aug 2024 05:15:04 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pucdFlUAd1PRnO4gm4dgj1BWJsr76gR9wBBt5b1VjjChnyutOMlYJ/x+Ux4pZIWpNbqjam7OpxZAQB+cfr1cRYsqZ/gjC6utlFdr2vge9YKWiP/+kVE9Ay1HYtp/fnZjYezJWXP1OAvPpJRd0AyipFf+9ajrocjyEXeF2AGFiCZKxjZ6UXpqvaTALXNYLgLsBWIbdIf2YBhWVpXTlbAqpTqNu2WVfaXKK1RI8T6HX1QqwCpXcVP9XqW2Eigiv7b/jwxVMQ/1z259oAQpsX06d+m+kMgmU1e2na5ZTrcU6xtYPID0f9GoJiAB2GWNh6jxhrCO2/BUpk9NmvqmhDjbrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RBcHlikqm50bGDGxYBSOSuhcKc4gY8elmAtplYz5aXA=; b=bQqbnlqHDo7wI8TZkekc+49HHVDh90V/FSUoIBPIjir/QU3tUlGS1MJLNaF0sAWd56QPKp1F8bw9W6khjrwE0ykcZ+qi7Jg2t9TnXtmH1QCWzC5mvw1nBkVg2yY/Xpb5Qq5TlJY7/TmQzbyFsc8Ipo3lKu+tmCsw4OTZDUqiZeJB+DR9Du88sE4baX5+ekF0AbHwfZQgzwPLihXLkEf4FkOzPwJpk4UMgUVikcAKQOitdeIgNBs3MDndJbCP/gY4xVVp7iK1msuUHqZghGXIgIsKrMk4WIf3hCHJrBfl2E+k+glqFdeoxc5bbXGqK0jMEuqwq2VXA+IgXW02zld1pQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hw.ac.uk; dmarc=pass action=none header.from=hw.ac.uk; dkim=pass header.d=hw.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hw.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RBcHlikqm50bGDGxYBSOSuhcKc4gY8elmAtplYz5aXA=; b=PLsvv7CUrF9TKsXpjA+FSoyWS2D+65fIXtPr71QLivIGIVkWU0nrKj05MD23x7kZm9MiEfLAXKBiHzpkyKfrOD2GaAAIsekkqOLY/vAfV4B+GckDb6zrXg96y0dSW4Hulzt3nmmh5mW7gsld2//QO+bOejnZK9PpuJrtbPb8RhzrCLJbMc0wHRqFPgsbvwC21Q5yikk57hDxYGwisnftt2Z/Nhst6MfA6J6QTMXGyubtWZkZuI+PcIAkKS0Bv4gKaO9aA/nSNUGfhV84og88+D1evPJNoUdWjhGgin7zjEqGNzBezHwLRHIyqdsNF3/nGDZIs88hSEaVHzzExY50ag== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hw.ac.uk; Original-Received: from CWLP302MB0327.GBRP302.PROD.OUTLOOK.COM (2603:10a6:400:221::8) by LO9P302MB1331.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:3d3::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.18; Fri, 23 Aug 2024 09:13:55 +0000 Original-Received: from CWLP302MB0327.GBRP302.PROD.OUTLOOK.COM ([fe80::6ebc:ee6f:b01b:4a57]) by CWLP302MB0327.GBRP302.PROD.OUTLOOK.COM ([fe80::6ebc:ee6f:b01b:4a57%4]) with mapi id 15.20.7897.014; Fri, 23 Aug 2024 09:13:55 +0000 In-Reply-To: <875xrrr6x3.fsf@hw.ac.uk> (Rob Stewart's message of "Fri, 23 Aug 2024 09:15:52 +0100") X-ClientProxiedBy: LO4P265CA0082.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bd::15) To CWLP302MB0327.GBRP302.PROD.OUTLOOK.COM (2603:10a6:400:221::8) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CWLP302MB0327:EE_|LO9P302MB1331:EE_ X-MS-Office365-Filtering-Correlation-Id: b524e7ba-194e-47f9-5cc1-08dcc353ea1e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: LlYyNNez9xV2VuMth/M+AOQQp9mDulr+esI8e/d523Jl+VJxaeT+kmM9B7tWO1zRWfXiWhnWrl/55rp5eMUZRXf2zW9KBblqdBsnKqObyNyGX9B0NeT0cS266COKV3Rdg8wSmflEyecmuIxJDTGqVYBB0FIDx/CoC38nARFpn1nEKC3J55MEg+9XvS61tz+/ksiXbM9ZmHSNKHCWZHbZOb9jy2JQlyiY8U6rx0KnAgPEcfNHBNzjd9qK75QNVkq8/VysXkHnA5nn9DoAXm482dqXiuHDCI04ViNfYfh8ckFS0ekMKiOMWV+nFSfYVrlSYM3UZ3BoTgBuAh02aLI50W+axNv2mFU+qKvu7QogL6h+/nO97SI9Z6Be09caASqzOilMgmeK2nH60riT5xYdflaidgVPrTtvMgC0ZBjjyknu0ifLnGaTNuZym9D9kbklDRBxuKulkIondp5aOCHEMlipsc0luqlg0SSHWFQ1o0ezjIaykrdkNAOYUOpv6ka5tCBBX53+zCwZD9BXJJPlX34fm7WnXq/l9HpNCVTrJnnapGbn9tb+y4D5WpVqWtKycOC08qB0jppzDNJxiFth3amKDqHNrpOwOUV35cvjbhZd9cr9R99/fteN9yXoNdliZ9JmAoC9sqe4odkry/7u+oeYgmy9yClcF5BZYmeyGNZ5pO/gMjTGFhvcaJ7syiaTuzB8Gmab0zkMp9vyLK+UQlgk3piM+YRm/V5Tvo7I709R1TmMgxd8OvZ3PG+KN V1Kn9mmW4LfqMl1OAo/NRNlGcZBazig34FxFpik+Ydj2C20Gp8ccH5j1OPRuvbqm6Yp6YRWTL3Qr+OGTs9yrQs/Y/2tzX74ye9 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CWLP302MB0327.GBRP302.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rpZElQxx9rLf+6yrn3cAOBwtDRb2eOTuRPw1ooiGQmE8lYYLU4kH365cvh+yxALTeD8VZ2JFbt5EIUD8rOCTc8K6VR9HKoxOL9qNxQU6/pYhwbp8SlohfhCiA2VMPhwpSyp//yi1SwAtni9gFhIpmYnov8b4p0Sj4RZUknKbsdgRZb3PSq9zZPPwYGConqOoeeJDFl3SoQH53xjzzXCV3K+X7rZG7JH1/9GfDf4bj3/Foouz5YA1DOsgNbMkQTUtBCtkELkIveHXDY4nTHakjkzqxf55ysmfIwvQLqo8jBJ7tQs2B7byGrtrI1gHP+S6baNwk5eFgOwgXBmyR/W/da4vWomHXFU19+0v9l0bJwwrnjkMulwezRL2b/xhl9z9HFQibN5qBHVyodmdAqJWcdNINB1BGKUTMQZIWHVoUJO3EydfguKuL+8ysVyocFvrutgFfxYbEv1GazRdFZwsCQv3B2BEI6oinC+xWdzjd7CaDBH3ywa43/DkXzkIrsECRQQFUKwF5Cq4yeW7hzB8O7uKZvDjHNf0u7BcgppRuWgT+CFZgBof2y3SGgzkURNDE8UYmiJxaGjsLFcnvEBFoFw3jJmfme7VHIFZCDejwlGJcqyjoPIzQflUASs++/YwNHmDTO7Kyh/nfmlLsTyZdbMIrCvKTgPoS1blvEobMae8y4mH8NWoGT+hBdBwn5/Ewm/gronEtzZCu4Qiot1aZbBwqXr3/wKr03PC39PY02vwvkabsG+iEsogg2 RVORrk3g0gy/OusE4o+zgCNyCNB9Ch1aZ+Hm+Xl52co+IpvflG5x2BTpkSlgmoIVOJ9ov3qBLNQwAwwZHXWM9Rwnp9oLOMbwnm X-OriginatorOrg: hw.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: b524e7ba-194e-47f9-5cc1-08dcc353ea1e X-MS-Exchange-CrossTenant-AuthSource: CWLP302MB0327.GBRP302.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2024 09:13:55.8450 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6c425ff2-6865-42df-a4db-8e6af634813d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Tb2mgtqXjKGbAFnCz8dQcvpUUI2zDpvCHyBnbNt7hQlTqgf2X6F+QNp9el8ODgx0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO9P302MB1331 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290588 Archived-At: See the comment on the mu4e bug tracker: Seems that Gnus no longer allows for offscreen rendering, since commit a876= c4d7a17. In particular, the change in shr-indent, with font-at raising that= error. Using the old definition, it still works: --8<---------------cut here---------------start------------->8--- (defun shr-indent () (when (> shr-indentation 0) (if (not shr-use-fonts) (insert-char ?\s shr-indentation) (insert ?\s) (put-text-property (1- (point)) (point) 'display `(space :width (,shr-indentation)))))) --8<---------------cut here---------------end--------------->8--- https://github.com/djcb/mu/issues/2747#issuecomment-2306632897 Best wishes, -- Rob On 23/08/2024 at 09:15 Rob Stewart writes: > When attempting to open the attached (anonymised) message with mm-text-ht= ml-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((# ("text/html" (charset . "Windows-1252"))= quoted-printable nil nil nil nil nil)) > mm-inline-text-html((# ("text/html" (charset . "Wi= ndows-1252")) quoted-printable nil nil nil nil nil)) > mm-display-inline((# ("text/html" (charset . "Wind= ows-1252")) quoted-printable nil nil nil nil nil)) > mm-display-part((# ("text/html" (charset . "Window= s-1252")) quoted-printable nil nil nil nil nil)) > gnus-mime-display-alternative(((# ("text/plain" (ch= arset > . "Windows-1252")) quoted-printable nil ("inline") nil nil nil) (# *mm*-655965> ("text/html" (charset . "Windows-1252")) quoted-printable ni= l nil > nil nil nil)) nil nil 1) > gnus-mime-display-part((#("multipart/alternative" ...))) > gnus-display-mime(nil) > #f(compiled-function (&optional ihandles) #)() > 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, ________________________________ Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campu= ses and students across the entire globe we span the world, delivering inno= vation 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 SC= 000278 2. Heriot- Watt Services Limited (Oriam), Scotland's national performanc= e centre for sport. Heriot-Watt Services Limited is a private limited compa= ny registered is Scotland with registered number SC271030 and registered of= fice at Research & Enterprise Services Heriot-Watt University, Riccarton, E= dinburgh, EH14 4AS. The contents (including any attachments) are confidential. If you are not t= he intended recipient of this e-mail, any disclosure, copying, distribution= or use of its contents is strictly prohibited, and you should please notif= y the sender immediately and then delete it (including any attachments) fro= m your system.