GNU bug report logs -
#74352
29.4; emerge-files with tramp + local file fails
Previous Next
Reported by: Jörg Sommer <joerg <at> jo-so.de>
Date: Thu, 14 Nov 2024 04:53:02 UTC
Severity: normal
Tags: confirmed
Merged with 6850
Found in versions 24.0.50, 29.4
Fixed in version 31.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Wed, 13 Nov 2024 20:11:10 +0100
> From: Jörg Sommer <joerg <at> jo-so.de>
>
> when running `emerge-files` with `/ssh:remote:file` and `~/local-file` I get
> the buffer `*emerge-diff-errors*` with:
>
> ```
> diff: /tmp/tramp.wlcRNL: No such file or directory
> diff: /home/joerg/local-file: No such file or directory
> ```
>
> This change solves the problem:
>
> ```diff
> diff --git lisp/vc/emerge.el lisp/vc/emerge.el
> index ca48f2f3c7b..562041e4232 100644
> --- lisp/vc/emerge.el
> +++ lisp/vc/emerge.el
> @@ -581,6 +581,7 @@ emerge-make-diff-list
> (setq emerge-diff-buffer (get-buffer-create "*emerge-diff*"))
> (with-current-buffer
> emerge-diff-buffer
> + (setq default-directory (file-name-directory file-A))
Thanks, but why file-A? Isn't the problem symmetric wrt the two
files? Or what am I missing?
This bug report was last modified 111 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.