emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: STatus of MPS branch


From: Michael Albinus
Subject: Re: STatus of MPS branch
Date: Sun, 21 Apr 2024 11:43:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

Hi Gerd,

>> Hmm, we must write more traces. Could you, pls, apply the extended
>> patch?. Running the test could be restricted to the test case in
>> question via
>>
>> # make -C test tramp-tests.log SELECTOR=tramp-test17-insert-directory
>>
>> Let's see what tramp-tests.log tells us.
>
> Please find attached

And it tells us the truth™.

--8<---------------cut here---------------start------------->8---
10:15:35.807389 tramp-send-command (6) # /usr/local/bin/gls --color=never 
--quoting-style\=literal --show-control-chars --dired -d tramp-test9vvifz 
2>/dev/null
10:15:35.815699 tramp-wait-for-regexp (6) #
  drwxr-xr-x 3 gerd staff 96 Apr 21 10:15 tramp-test9vvifz
//DIRED// 42 58
//DIRED-OPTIONS// --quoting-style=literal
///3ce82232b01ca3404a92011c73a2fd60#$
--8<---------------cut here---------------end--------------->8---

Your gls command returns the long listing of the file, although not
instructed via an "-l" option. I've compared it with gls on a FreeBSD
machine, which behaves as Tramp expects:

--8<---------------cut here---------------start------------->8---
% gls --version
ls (GNU coreutils) 9.1
% gls --color=never --quoting-style\=literal --show-control-chars --dired -d 
lisp
lisp
--8<---------------cut here---------------end--------------->8---

This seems to be a recent change.
<https://www.gnu.org/software/coreutils/manual/coreutils.html#What-information-is-listed>,
which is about coreutils 9.5, says:

--8<---------------cut here---------------start------------->8---
The --dired (-D) option implies long format output with hyperlinks
disabled, and takes precedence over previously specified output formats
or hyperlink mode.
--8<---------------cut here---------------end--------------->8---

OTOH, the coreutils 9.1 info manual on that machine claims

--8<---------------cut here---------------start------------->8---
The ‘--dired’ (‘-D’) option has well-defined behavior only when
long format is in effect and hyperlinks are disabled (e.g.,
‘--hyperlink=none’).
--8<---------------cut here---------------end--------------->8---

So I have to fix it in Tramp.

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]