all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Manuel Giraud <manuel@ledu-giraud.fr>
Cc: 58300@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	[thread overview]
Message-ID: <871qrkem2p.fsf@gmx.de> (raw)
In-Reply-To: <87wn9evdpm.fsf@elite.giraud> (Manuel Giraud's message of "Wed, 05 Oct 2022 11:09:41 +0200")

Manuel Giraud <manuel@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.





  reply	other threads:[~2022-10-06 20:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-05  9:09 bug#58300: 29.0.50; (dired-get-marked-files t) over TRAMP Manuel Giraud
2022-10-06 20:25 ` Michael Albinus [this message]
2022-10-07  7:18   ` Manuel Giraud
2022-10-07 11:18     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qrkem2p.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=58300@debbugs.gnu.org \
    --cc=manuel@ledu-giraud.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.