bug#81491: 30.2; Doc of `image-dired-display-*
"Drew Adams" <[email protected]> Sat, 1 Aug 2026 10:59:45 -0700
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
> > > What happens if you don't pass the prefix argument to > > > image-dired-display-image? > > > > I believe I covered that above. For Emacs 30.2 (which > > I think is what you're asking about) - I get an error: > > > > > > > Before I answer, I need you to try and describe what > > > > > happens in a modern Emacs when you don't pass that > > > > > argument. I suspect that what happens completely > > > > > removes the need for the argument. > > > > > > > > With Emacs 30.2 I get the error "No buffer named > > > > *image-dired-display-image*", whether or not I > > > > provide a prefix arg. > > > > (I also mentioned what happens for earlier releases.) > > I cannot see any connection between the change in the signature of > image-dired-display-image and the error message, sorry. Nor can I. I'm not aware of creating or needing to create any such buffer (or what it needs to be/have). Perhaps Emacs 29+ expects such a buffer to pre-exist, and Emacs previously didn't expect that? I said this earlier; maybe it's relevant in this regard? In my context there's no need for a user to be in `image-dired-thumbnail-mode' - just as there wasn't any such need in the previously existing vanilla command `image-dired-dired-display-image'. Does that error perhaps come from not being in that mode? Previously, my command worked from a regular Dired buffer (`dired-mode'). > > To be clear, I'm willing to not belabor this and just > > remove (give up on) my command. But if you really do > > want to try the code: > > Not really, I just thought it would explain the error message. > > Anyway, at this point I must bow out of the attempt to help you > understand how to change your code to avoid the error. I hope someone > else will be able to do that. I'll just drop the command for Emacs 29+. Feel free to close the bug as won't fix or whatever. But you did fix some of the doc, so maybe you want to close it normally. Thx.