Closed robstewart57 closed 3 months ago
This bug report is not as good as it could be:
emacs -Q
and minimal mu4e?
Thanks.@djcb Hi,
I've sent you privately an anonymised version of a message that triggers this issue.
Yes, I can reproduce with emacs -Q
with a minimal mu4e
.
Note that HEAD was pulled for both mu and emacs (both built from source) today.
Rob
It's a bug/incompatibility in upstream emacs (it works fine with a slightly older one). Please use M-x report-emacs-bug
to report it.
In the mean time, you can use
(setq mm-text-html-renderer 'gnus-w3m)
(make sure you have w3m).
Done:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-08/msg00985.html
I'll keep track of this bug 72771, and report back here.
Thanks!
Seems that Gnus no longer allows for offscreen rendering, since commit a876c4d7a17
. In particular, the change in shr-indent
, with font-at
raising that error.
Using the old definition, it still works:
(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))))))
This is a bug in SHR (I've posted a patch to the mailing list); however, now's probably a good time to mention that SHR works better when rendering to a buffer that's already displayed in some window. See https://github.com/skeeto/elfeed/pull/521 for an example of what can go wrong. (Of course, it should be possible to render to a non-displayed buffer, but SHR won't be able to take the window size into account, so the results might look worse.)
The SHR issue should now be fixed on the Emacs master branch. I think you can close this issue now (though the above caveats about SHR rendering in non-displayed buffers still applies).
Yes, can confirm, thank you for the quick fix!
Will think about the non-displayed case... Closing this ticket.
Describe the bug
mu4e version 687db1aed6dd516cb2806bdc501d225e0a6d0459 (21st August git commit).
In mu4e-header view, hit Enter on a message. Rather than showing the message, an error "Specified window is not displaying the current buffer" is shown. It happens for most, but not all, emails in mu4e-header view.
Using Emacs git HEAD (3d1d4f109ed4115256a08c74eeb704259d91c9f4), also from 21 August.
How to Reproduce
Here is the anonymised backtrace: