I seem to remember that I used to be able to press
RET on a PDF attachment button in a Gnus article and have it open with pdf-tools. It's not working now, when I press
RET I get prompted to save the PDF somewhere (after which I can use
find-file to view it with pdf-tools). The prompt says "Save MIME part to:", just like when pressing
o on the button (which runs
gnus-mime-save-part). The same thing happens with
gnus-mime-view-part-internally), which I also wouldn't expect.
K c (the oddly named
gnus-copy-article-part) does open the PDF attachment in a new buffer using pdf-tools, so a simple workaround would be to just use
c instead of
E. But I really seem to remember that
RET used to work (but I don't remember when it worked: I stopped using Gnus for a while, I'm probably not on the same versions of Emacs, Gnus and pdf-tools) and I don't know what changed.
Am I misremembering? Did this work at some point? How can I fix it?
I'm using Emacs 28.0.50, Gnus 5.13 and pdf-tools-20200214 from MELPA.