[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54606: 27.1; next/previous image command in image-mode triggers tram
From: |
Michael Albinus |
Subject: |
bug#54606: 27.1; next/previous image command in image-mode triggers tramp connections for all remote dired buffers |
Date: |
Wed, 30 Mar 2022 13:51:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Phil Sainty <psainty@orcon.net.nz> 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.
txt1GYXOJWV9c.txt
Description: Text Data