[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No suc
From: |
Michael Albinus |
Subject: |
bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86 |
Date: |
Tue, 21 Sep 2021 14:06:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
"Michalis V." <mvar.40k@gmail.com> writes:
> hi Michael,
Hi Michalis,
>> dired-compress-file is also handled by remote file name handlers like
>> Tramp. How does this fit?
>
> i stayed away from the handler part, basically i was scratching my head
> trying to figure out when this gets called in dired-compress-file
>
> (cond (handler
> (funcall handler 'dired-compress-file file))
>
> since i've never used tramp for compressing files etc. i'll have to dig
> into this area a bit.
This is a call of Tramp's own implementation of dired-compress-file when
default-directory is remote (ie, it has a syntax like
"/ssh:host:/path/to/file"). The reason is, that commands like "gzip"
must be executed on the remote "host" instead of the local one.
>> And note, that these days Tino Calancha is working in this area, see
>> bug#50581.
>
> i'll have a look there too, thanks for the heads up!
Since Tramp's implementation tramp-sh-handle-dired-compress-file is
following the implementation in dired-compress-file, and the only other
handler is in ange-ftp, I'm curious whether we shall enable support for
remote systems directly in dired-compress-file. It uses already
process-file, so it shouldn't be too hard.
Opinions?
> cheers,
> Michalis
Best regards, Michael.
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, (continued)
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Gregory Heytings, 2021/09/21
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Eli Zaretskii, 2021/09/22
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Gregory Heytings, 2021/09/22
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Eli Zaretskii, 2021/09/22
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Gregory Heytings, 2021/09/22
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Lars Ingebrigtsen, 2021/09/21
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Michalis V., 2021/09/21
- bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Eli Zaretskii, 2021/09/22
bug#47058: 28.0.50; Dired Z: insert-directory: Reading directory: No such file or directory, CrossLine_linux_x86, Michael Albinus, 2021/09/21