Phil Sainty writes: Hi Phil, > I've just tested with this, and it solves the immediate problem, but > it's slow. In my test case it's taking ~2s to switch between images, > whereas it takes only a fraction of a second when I'm ignoring remote > dired buffers by adding (not (file-remote-p default-directory)) to > the conditions. > > I have 15 remote dired buffers (about half of which are using multi- > hops), which isn't a small number but also isn't big, so I think that > `non-essential' seems inadequate here (unless this is significantly > more efficient in newer versions). There is also a change in Tramp of Emacs master, which is relevant in this context. Do you have a chance to test that Emacs version? Otherwise, does the appended patch for Emacs 27 make a difference? I haven't tested it with Emacs 27, though. > -Phil Best regards, Michael.