gnus-mime-view-all-parts fails in 1.14

2 views
Skip to first unread message

Christopher Gray

unread,
May 2, 2026, 11:44:04 AM (10 days ago) May 2
to mu-discuss
I have gnus-mime-view-all-parts bound with 
(add-hook 'mu4e-after-view-rendered-hook
(keymap-set mu4e-view-mode-map "s-<f12>"
                      'gnus-mime-view-all-parts))
and this worked in  1.12 to render an an image tagged like this
<img id=3D"mailpiece-image-src-id" style=3D"pa=
dding-top:15px;" src=3D"cid:1113274109-011.jpg" alt=3D"Mailpiece Image">
but 1.14 gives the error funcall-interactively: No buffer named *Summary*

Dirk-Jan C. Binnema

unread,
May 2, 2026, 1:47:53 PM (10 days ago) May 2
to mu-di...@googlegroups.com
It was by accident that it worked I guess... But you could try
binding to something like the following instead:

--8<---------------cut here---------------start------------->8---
(defun my-gnus-mime-view-all-parts (&optional handles)
(interactive)
(get-buffer-create "*Summary*")
(gnus-mime-view-all-parts))
--8<---------------cut here---------------end--------------->8---

Kind regards,
Dirk.

--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036

Matei

unread,
May 2, 2026, 5:04:55 PM (10 days ago) May 2
to mu-di...@googlegroups.com

On 2026-05-02 at 20:47 +03, "Dirk-Jan C. Binnema" <dj...@djcbsoftware.nl> wrote…

On Saturday May 02 2026, Christopher Gray wrote:

I have gnus-mime-view-all-parts bound with (add-hook 'mu4e-after-view-rendered-hook (keymap-set mu4e-view-mode-map "s-<f12>" 'gnus-mime-view-all-parts)) and this worked in 1.12 to render an an image tagged like this <img id=3D"mailpiece-image-src-id" style=3D"pa= dding-top:15px;" src=3D"cid:1113274109-011.jpg" alt=3D"Mailpiece Image"> but 1.14 gives the error funcall-interactively: No buffer named Summary

It was by accident that it worked I guess… But you could try binding to something like the following instead:

–8<----------–—cut here----------–—start--------–—>8— (defun my-gnus-mime-view-all-parts (&optional handles) (interactive) (get-buffer-create "Summary") (gnus-mime-view-all-parts)) –8<----------–—cut here----------–—end----------–—>8—

Kind regards, Dirk.

I had a similar problem: I had bound gnus-view-part-externally to SPC in gnus-mime-button-map (essentially so that I can preview an attachment without saving it anywhere permanent), and it had stopped working in 1.14 with the same error message ( funcall-interactively: No buffer named Summary).

Your fix above worked for me, but I was interested in learning more about the background: why did the 'vanilla' gnus-view-part-externally command work before 1.14? And is there a more mu4e-idiomatic way of previewing an attachment without saving it?

All the best, Matt

– Dirk-Jan C. Binnema Helsinki, Finland e:dj...@djcbsoftware.nl w:www.djcbsoftware.nl gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036

Christopher Gray

unread,
May 2, 2026, 11:19:19 PM (9 days ago) May 2
to mu-di...@googlegroups.com
"Dirk-Jan C. Binnema" <dj...@djcbsoftware.nl> writes:

> On Saturday May 02 2026, Christopher Gray wrote:
>> but 1.14 gives the error funcall-interactively: No buffer named
>> *Summary*
>
> It was by accident that it worked I guess... But you could try
> binding to something like the following instead:
>
> --8<---------------cut here---------------start------------->8---
> (defun my-gnus-mime-view-all-parts (&optional handles)
> (interactive)
> (get-buffer-create "*Summary*")
> (gnus-mime-view-all-parts))
> --8<---------------cut here---------------end--------------->8---
That works! Thank you.
Reply all
Reply to author
Forward
0 new messages