GNU bug report logs - #68320
30.0.50; filename completion with tramp fails on Windows

Previous Next

Package: emacs;

Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Date: Mon, 8 Jan 2024 12:36:02 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68320 in the body.
You can then email your comments to 68320 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Mon, 08 Jan 2024 12:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 08 Jan 2024 12:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; filename completion with tramp fails on Windows
Date: Mon, 08 Jan 2024 21:35:10 +0900
1. Start Emacs that is placed in D: drive.
2. Evaluate (require 'tramp) to load tramp.el.
3. Type C-x C-f c : / TAB TAB

Completion for c:/ should be listed, but it seems that completions for
d:/ are showed.

-- 
Kazuhiro Ito




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Mon, 08 Jan 2024 15:17:01 GMT) Full text and rfc822 format available.

Message #8 received at 68320 <at> debbugs.gnu.org (full text, mbox):

From: Corwin Brust <corwin <at> bru.st>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 68320 <at> debbugs.gnu.org
Subject: Re: bug#68320: 30.0.50;
 filename completion with tramp fails on Windows
Date: Mon, 8 Jan 2024 09:16:28 -0600
On Mon, Jan 8, 2024 at 6:35 AM Kazuhiro Ito <kzhr <at> d1.dion.ne.jp> wrote:
>
> 1. Start Emacs that is placed in D: drive.
> 2. Evaluate (require 'tramp) to load tramp.el.
> 3. Type C-x C-f c : / TAB TAB
>

I can reproduce this by starting Emacs placed in an H: drive and then
attempting to complete starting from C-x C-f c:/p <TAB> which should
offer me a folder called "projects" however the completion candidates
appear to be from my HOME directory (set by Environment Variable
before starting Emacs).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Tue, 09 Jan 2024 10:15:01 GMT) Full text and rfc822 format available.

Message #11 received at 68320 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Corwin Brust <corwin <at> bru.st>
Cc: 68320 <at> debbugs.gnu.org, Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Subject: Re: bug#68320: 30.0.50; filename completion with tramp fails on
 Windows
Date: Tue, 09 Jan 2024 11:14:24 +0100
Corwin Brust <corwin <at> bru.st> writes:

Hi,

>> 1. Start Emacs that is placed in D: drive.
>> 2. Evaluate (require 'tramp) to load tramp.el.
>> 3. Type C-x C-f c : / TAB TAB
>
> I can reproduce this by starting Emacs placed in an H: drive and then
> attempting to complete starting from C-x C-f c:/p <TAB> which should
> offer me a folder called "projects" however the completion candidates
> appear to be from my HOME directory (set by Environment Variable
> before starting Emacs).

FTR, I can also reproduce the problem. Will check next days whether I
could fix the problem. (Testing on MS Windows is always a burden to me.)

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Wed, 10 Jan 2024 15:17:02 GMT) Full text and rfc822 format available.

Message #14 received at 68320 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 68320 <at> debbugs.gnu.org
Subject: Re: bug#68320: 30.0.50; filename completion with tramp fails on
 Windows
Date: Wed, 10 Jan 2024 16:16:24 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi,

>>> 1. Start Emacs that is placed in D: drive.
>>> 2. Evaluate (require 'tramp) to load tramp.el.
>>> 3. Type C-x C-f c : / TAB TAB
>>
>> I can reproduce this by starting Emacs placed in an H: drive and then
>> attempting to complete starting from C-x C-f c:/p <TAB> which should
>> offer me a folder called "projects" however the completion candidates
>> appear to be from my HOME directory (set by Environment Variable
>> before starting Emacs).
>
> FTR, I can also reproduce the problem. Will check next days whether I
> could fix the problem. (Testing on MS Windows is always a burden to me.)

I've fixed this in the master branch. Could you, pls, give it some
testing. Since I don't use MS Windows regularly, I could try only some
few tests.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Wed, 10 Jan 2024 15:27:01 GMT) Full text and rfc822 format available.

Message #17 received at 68320 <at> debbugs.gnu.org (full text, mbox):

From: Corwin Brust <corwin <at> bru.st>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 68320 <at> debbugs.gnu.org
Subject: Re: bug#68320: 30.0.50;
 filename completion with tramp fails on Windows
Date: Wed, 10 Jan 2024 09:26:08 -0600
On Wed, Jan 10, 2024 at 9:16 AM Michael Albinus via Bug reports for
GNU Emacs, the Swiss army knife of text editors
<bug-gnu-emacs <at> gnu.org> wrote:
>
> Michael Albinus <michael.albinus <at> gmx.de> writes:
> >>> 1. Start Emacs that is placed in D: drive.
> >>> 2. Evaluate (require 'tramp) to load tramp.el.
> >>> 3. Type C-x C-f c : / TAB TAB
> >>
> >> I can reproduce this by starting Emacs placed in an H: drive and then
> >> attempting to complete starting from C-x C-f c:/p <TAB> which should
> >> offer me a folder called "projects" however the completion candidates
> >> appear to be from my HOME directory (set by Environment Variable
> >> before starting Emacs).
> >
> I've fixed this in the master branch. Could you, pls, give it some
> testing.

I will kick-off a MSYS2/MINGW64 build from the development branch
shortly and report back; thanks for looking into this so quickly!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Wed, 10 Jan 2024 15:28:02 GMT) Full text and rfc822 format available.

Message #20 received at 68320 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 68320 <at> debbugs.gnu.org
Subject: Re: bug#68320: 30.0.50;
 filename completion with tramp fails on Windows
Date: Wed, 10 Jan 2024 17:26:51 +0200
> Date: Wed, 10 Jan 2024 16:16:24 +0100
> From:  Michael Albinus via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> I've fixed this in the master branch. Could you, pls, give it some
> testing. Since I don't use MS Windows regularly, I could try only some
> few tests.

Seems to work here, thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Wed, 10 Jan 2024 16:40:02 GMT) Full text and rfc822 format available.

Message #23 received at 68320 <at> debbugs.gnu.org (full text, mbox):

From: Corwin Brust <corwin <at> bru.st>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 68320 <at> debbugs.gnu.org
Subject: Re: bug#68320: 30.0.50;
 filename completion with tramp fails on Windows
Date: Wed, 10 Jan 2024 10:38:54 -0600
> > Michael Albinus <michael.albinus <at> gmx.de> writes:
> > >>> 1. Start Emacs that is placed in D: drive.
> > >>> 2. Evaluate (require 'tramp) to load tramp.el.
> > >>> 3. Type C-x C-f c : / TAB TAB
> > >>
> > >
> > I've fixed this in the master branch. Could you, pls, give it some
> > testing.
>

I can no longer reproduce as of cd0eb055fd4ebc3f7f7f5f5617549f963fe8ecff

Here is a set of Windows x64 binaries created from that revision:

https://corwin.bru.st/emacs-30/emacs-30-cd0eb0/




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Wed, 10 Jan 2024 16:56:02 GMT) Full text and rfc822 format available.

Notification sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
bug acknowledged by developer. (Wed, 10 Jan 2024 16:56:03 GMT) Full text and rfc822 format available.

Message #28 received at 68320-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 68320-done <at> debbugs.gnu.org
Subject: Re: bug#68320: 30.0.50; filename completion with tramp fails on
 Windows
Date: Wed, 10 Jan 2024 17:55:27 +0100
Version: 30.1

Corwin Brust <corwin <at> bru.st> writes:

Hi Corwin,

>> > I've fixed this in the master branch. Could you, pls, give it some
>> > testing.
>
> I can no longer reproduce as of cd0eb055fd4ebc3f7f7f5f5617549f963fe8ecff

Thanks for the feedback. Taking also into account the feedback from Eli,
I assume the problem is fixed. Closing the bug.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Wed, 10 Jan 2024 17:00:02 GMT) Full text and rfc822 format available.

Message #31 received at 68320 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 68320 <at> debbugs.gnu.org
Subject: Re: bug#68320: 30.0.50; filename completion with tramp fails on
 Windows
Date: Wed, 10 Jan 2024 17:59:36 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

Hi Eli,

>> I've fixed this in the master branch. Could you, pls, give it some
>> testing. Since I don't use MS Windows regularly, I could try only some
>> few tests.
>
> Seems to work here, thanks.

Thanks for the feedback. My concern is rather that there could be a
regression in completion of remote file names on MS Windows. However, my
few test didn't show such bad.

Let's observe for the next couple of days whether people report problems.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Wed, 10 Jan 2024 20:01:02 GMT) Full text and rfc822 format available.

Message #34 received at 68320-done <at> debbugs.gnu.org (full text, mbox):

From: Corwin Brust <corwin <at> bru.st>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 68320-done <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#68320: 30.0.50;
 filename completion with tramp fails on Windows
Date: Wed, 10 Jan 2024 14:00:40 -0600
On Wed, Jan 10, 2024 at 10:59 AM Michael Albinus via Bug reports for
GNU Emacs, the Swiss army knife of text editors
<bug-gnu-emacs <at> gnu.org> wrote:
>
>
> Let's observe for the next couple of days whether people report problems.
>

Completion of remote filenames works as normal for me from HEAD.  (It
worked as well before, so I think there is not a regression here
speaking from my own C-f C-x /pscp:...  based use-case.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#68320; Package emacs. (Thu, 11 Jan 2024 07:52:02 GMT) Full text and rfc822 format available.

Message #37 received at 68320 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Corwin Brust <corwin <at> bru.st>
Cc: 68320 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#68320: 30.0.50; filename completion with tramp fails on
 Windows
Date: Thu, 11 Jan 2024 08:51:14 +0100
Corwin Brust <corwin <at> bru.st> writes:

Hi Corwin,

>> Let's observe for the next couple of days whether people report problems.
>
> Completion of remote filenames works as normal for me from HEAD.  (It
> worked as well before, so I think there is not a regression here
> speaking from my own C-f C-x /pscp:...  based use-case.)

Thanks for the feedback!

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Feb 2024 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 188 days ago.

Previous Next


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