all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Recent diff-mode changes feel slow with TRAMP
@ 2019-01-12  4:16 Dima Kogan
  2019-01-12  6:57 ` Dima Kogan
  2019-01-13 14:40 ` Charles A. Roelli
  0 siblings, 2 replies; 13+ messages in thread
From: Dima Kogan @ 2019-01-12  4:16 UTC (permalink / raw)
  To: emacs-devel

Hi.

There were some diff-mode updates recently that (I think) are making
emacs really slow under some conditions. Scenario:

- I'm working on a remote project via TRAMP and SSH
- There're a number of local changes
- I hit C-x v D    (vc-root-diff)

This runs something like "git diff" remotely. That command constructs a
patch. Previously emacs would simply load this patch into a buffer,
fontify it, and call it done. I THINK what's happening now is that in
addition, each file mentioned in the patch is loaded by emacs. I don't
know what emacs is doing with those files, but file loading is
potentially very slow with TRAMP, and we shouldn't be doing this by
default.

I haven't dug deeply here at all. I just see that after hitting C-x v D
I now have to sit here for a few minutes while emacs figures out what
it's doing. Is it loading all the files? Why?

I'm not subscribed to the list right now, so please Cc me in replies.

Thanks!
dima



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

end of thread, other threads:[~2019-01-20 14:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-12  4:16 Recent diff-mode changes feel slow with TRAMP Dima Kogan
2019-01-12  6:57 ` Dima Kogan
2019-01-12 14:44   ` Charles A. Roelli
2019-01-12 19:48     ` Dima Kogan
2019-01-13 20:06       ` Charles A. Roelli
2019-01-13 14:40 ` Charles A. Roelli
2019-01-13 21:23   ` Juri Linkov
2019-01-14  3:31     ` Stefan Monnier
2019-01-19 21:04       ` Juri Linkov
2019-01-20 14:38         ` Stefan Monnier
2019-01-14  3:57   ` Dima Kogan
2019-01-14  5:23   ` Dima Kogan
2019-01-19 21:07     ` Juri Linkov

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.