unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#74026: Patch to correct the list of cached functions in tramp-sh.el
@ 2024-10-26  7:23 Eyal Soha
  2024-10-26 12:22 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 5+ messages in thread
From: Eyal Soha @ 2024-10-26  7:23 UTC (permalink / raw)
  To: 74026

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

The comment here is not correct:
https://github.com/emacs-mirror/emacs/blob/2a6af880b0958d527a4d32005ef9acf3bc4ea030/lisp/net/tramp-sh.el#L3736-L3740

The command file-directory-p should also be cached.  Fortunately, the
result is already cached so all that is needed is to add this function to
the list.  Performance of the ssh commands for vc-register is improved by
170% with this patch.

It's described in detail here: https://github.com/emacs-mirror/emacs/pull/43

How can I help get this patch into the repository?

Eyal

[-- Attachment #2: Type: text/html, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-26 14:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-26  7:23 bug#74026: Patch to correct the list of cached functions in tramp-sh.el Eyal Soha
2024-10-26 12:22 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-26 13:18   ` Eyal Soha
2024-10-26 14:48     ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-26 14:49       ` Eyal Soha

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).