|
From: | Michael Albinus |
Subject: | Re: emacs-27 b46c75b: xref-matches-in-files: Big Tramp speed-up |
Date: | Wed, 08 Jan 2020 10:03:49 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
address@hidden (Dmitry Gutov) writes: > xref-matches-in-files: Big Tramp speed-up > > * lisp/progmodes/xref.el (xref-matches-in-files): > Greatly improve performance with remote files using Tramp > (bug#34343). Thanks. I've made a further improvement in tramp-file-local-name. In case NAME is not a Tramp file name, it calls file-local-name now. This is to handle use cases like (copy-file "/ssh:host:/path/index.html" "https://example.com/path/index.html") and more subtle constellations. > + (setq files (mapcar > + (if (tramp-tramp-file-p dir) > + #'tramp-file-local-name > + #'file-local-name) > + files))) You can change this now to (setq files (mapcar #'tramp-file-local-name files)) Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |