[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tramp and vc-dir
From: |
Robert Pluim |
Subject: |
Tramp and vc-dir |
Date: |
Fri, 20 Dec 2019 12:23:41 +0100 |
Hi Michael,
Iʼm trying to get 'M-x vc-dir' to work over a tramp connection. Dired
works, magit works, shell works, but vc-dir just seems to hang
forever. If I C-g, I get the following backtrace
Debugger entered--Lisp error: (error "Selecting deleted buffer")
set-buffer(#<killed buffer>)
(save-current-buffer (set-buffer (process-buffer proc)) (if (and prompt
(tramp-search-regexp (regexp-quote prompt))) (progn (delete-region (point)
(point-max)))))
(let ((vec (process-get proc 'vector)) (prompt (tramp-get-connection-property
proc "prompt" nil))) (if vec (progn (tramp-message vec 5 "Sentinel called: `%S'
`%s'" proc event) (tramp-flush-connection-properties proc)
(tramp-flush-directory-properties vec ""))) (save-current-buffer (set-buffer
(process-buffer proc)) (if (and prompt (tramp-search-regexp (regexp-quote
prompt))) (progn (delete-region (point) (point-max))))))
(if (process-live-p proc) nil (let ((vec (process-get proc 'vector)) (prompt
(tramp-get-connection-property proc "prompt" nil))) (if vec (progn
(tramp-message vec 5 "Sentinel called: `%S' `%s'" proc event)
(tramp-flush-connection-properties proc) (tramp-flush-directory-properties vec
""))) (save-current-buffer (set-buffer (process-buffer proc)) (if (and prompt
(tramp-search-regexp (regexp-quote prompt))) (progn (delete-region (point)
(point-max)))))))
tramp-process-sentinel(#<process *tramp/ssh redhat*> "finished\n")
This is with latest master 'emacs -Q', from both macOS and Fedora, connecting to
a remote Fedora system.
What should I look at?
Thanks
Robert
- Tramp and vc-dir,
Robert Pluim <=