From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#58300: 29.0.50; (dired-get-marked-files t) over TRAMP Date: Thu, 06 Oct 2022 22:25:34 +0200 Message-ID: <871qrkem2p.fsf@gmx.de> References: <87wn9evdpm.fsf@elite.giraud> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34869"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58300@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 22:29:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogXUe-0008t5-VH for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 22:29:20 +0200 Original-Received: from localhost ([::1]:44220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogXUd-0007on-Q3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 16:29:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogXRT-0005Hh-Lr for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 16:26:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogXRS-0004oN-3A for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 16:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogXRR-0004P9-LO for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 16:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2022 20:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58300 X-GNU-PR-Package: emacs Original-Received: via spool by 58300-submit@debbugs.gnu.org id=B58300.166508795216916 (code B ref 58300); Thu, 06 Oct 2022 20:26:01 +0000 Original-Received: (at 58300) by debbugs.gnu.org; 6 Oct 2022 20:25:52 +0000 Original-Received: from localhost ([127.0.0.1]:33617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogXRI-0004Om-BP for submit@debbugs.gnu.org; Thu, 06 Oct 2022 16:25:52 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:33815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogXRF-0004OA-EL for 58300@debbugs.gnu.org; Thu, 06 Oct 2022 16:25:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1665087942; bh=juUjNb5Xka71W1ApRGnjdvxmbQoHj8ULn3R2v8p5xqw=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=hoOhH3JXYVgqHxTFKQ0gB7xH4ypFWT6c6XS125Unwcdx2BGgE+t7hP8UnBIkTRnqH c4DEep+ojuH8hwLpdJRaRc3FZMZu7HIrw41rME9J/4GlnFOzn8x24GMjFFloVp5sei Atdmm2rjH7wz9AKn5hUG/XkJDk3+vWeSulh1R/R0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.148.171]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N6sn1-1pGA6E3fQd-018LcB; Thu, 06 Oct 2022 22:25:42 +0200 In-Reply-To: <87wn9evdpm.fsf@elite.giraud> (Manuel Giraud's message of "Wed, 05 Oct 2022 11:09:41 +0200") X-Provags-ID: V03:K1:DhyZZxsJjLzTTWnInwcgX4MNcy1O6X6VY84kozaujX8BBw7yA6D DYhEnKbVVG/PtNbDUe1NBJrNnKUs4ln/gJ9YUAvYaPHCicmqgj+pHFQUl8xycaBQWwHOBom QAKkRTGlBQIvnscSSgVlA10Bujgg2cXSjq1JG9k5xtj9ZPbIiIVDTDCDBqvVFikeRJxLZM/ xjX6GrcF4LTCTJiULPKPw== X-UI-Out-Filterresults: notjunk:1;V03:K0:STneRFMpCUI=:5dWGLnMfWlSqtWzP1CPQvp RZnRUSbVKM46aX2vSOES4v+CyZqkBZFo4AFSrYjO8jaEM6A2XxvpydmFEhG9i+U/znZQEL6US Qxb/IKyzcEboBwad7KyrB+a9la8nEvT6B4UANsp60HxVfJa3p43mHLsbPE60ECuqzUJkZ2Xec KzLkQ2zXfBnoyWHIwsuHh4aJcfeIyxa34z2LNAQygJJ/MZ/RJkgm4SY7ct5wTYy3xYupgkvAW QepFZnmHmpEPs6grK9T9SfJgCBaJON7hofj928RyhNnCjgRsqM7RftWg8/oVfNYptnnJoEyOS biXo0Qt+jlE8gZN5SA0ns/OLNQqKmydMVsYfg3cCnWSmXWW/i0GAlT4MbL6lj0YaSoBmQF/0x 6HjkBRikc2WpGWUw9UciPAu9aKoxXD1xk1rVZCw2dBpv8tLCNLEsw/hfWg41xi7TyG2c5yXXC WlMlSfHYdLmTpY09CodF0pNUzZvuGWciwsZgdC+i47Xju4e+IZ7Q8nACTtcRO7UcH/YIHuD0c nr3z2PS1ICIQIHjCsoAOcjCBOl/iMgrEalH1hVnuD8VTMeVwY25N+yYHdzZokgFVfTwuFUh5i /qw0tYBR2UNiCfypettOr9FXEz95GzzyqxPLyZEIkj2yu6V6cBtfWNLGjVirpii3Rd8Uv0gL3 Jvf8mZY1mQRwlK0HKKwlDfLkbvosGYIgs4cyMtpqJVp+pP33eF+F862M/Bp9nA1HdmJueueUs 6lSFE7xKhMGTCY/UqvIcwGNg4lY95OxtS97bbu8IdKs0rcFO0UiEt8GLyOgSNEXdCLswFVYG X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244712 Archived-At: Manuel Giraud writes: > Hi, Hi Manuel, > From sometimes now=E2=84=A2, 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.