GNU bug report logs - #58300
29.0.50; (dired-get-marked-files t) over TRAMP

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Wed, 5 Oct 2022 09:10:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: 58300 <at> debbugs.gnu.org
Subject: bug#58300: 29.0.50; (dired-get-marked-files t) over TRAMP
Date: Thu, 06 Oct 2022 22:25:34 +0200
Manuel Giraud <manuel <at> ledu-giraud.fr> writes:

> Hi,

Hi Manuel,

> From sometimes now™, when I'm in dired over TRAMP calling
> `(dired-get-marked-files t)' yield differents results depending on the
> file's directory.  If, I am on a file in my homedir I'll get:
>
> (/scp:host:/home/manuel/.emacs)
>
> But if, I am in any other dir (for instance in /etc) I'll get:
>
> (hosts)
>
> Is this expected?

No.

Since some months, Tramp supports file name abbreviation. The default
directory of your homedir is "/scp:host:~/", therefore.

dired-make-relative doesn't know this, it believes, abbreviated file
names start with the tilde in the first character of the file name.

I've fixed this in master. Could you, pls, check?

Best regards, Michael.




This bug report was last modified 2 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.