[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-remote-p being called too often?
From: |
Eli Zaretskii |
Subject: |
Re: file-remote-p being called too often? |
Date: |
Thu, 18 Jan 2024 07:56:58 +0200 |
> From: "T.V Raman" <raman@google.com>
> Cc: Emacs Devel <emacs-devel@gnu.org>, Eli Zaretskii <eliz@gnu.org>
> Date: Wed, 17 Jan 2024 13:56:44 -0800
>
> global-auto-revert-mode also appears to trigger file-remote-p -- that
> would be one example where the call could be usefully memoized.
Michael will tell, but I don't think this can be memoized, since file
handlers can change dynamically behind autorevert's back.
AFAIU, autorevert calls file-remote-p only when there are
notifications about changes in some visited files, so when Emacs is
idle it should not call file-remote-p due to global-auto-revert-mode.
- Re: file-remote-p being called too often?, (continued)
- Re: file-remote-p being called too often?, Eli Zaretskii, 2024/01/17
- Re: file-remote-p being called too often?, David Ponce, 2024/01/17
- Re: file-remote-p being called too often?, T.V Raman, 2024/01/17
- Re: file-remote-p being called too often?,
Eli Zaretskii <=
- Re: file-remote-p being called too often?, Michael Albinus, 2024/01/18
- Re: file-remote-p being called too often?, T.V Raman, 2024/01/18
- Re: file-remote-p being called too often?, Eli Zaretskii, 2024/01/18
- Re: file-remote-p being called too often?, T.V Raman, 2024/01/18
- Re: file-remote-p being called too often?, Eli Zaretskii, 2024/01/18