GNU bug report logs - #61890
30.0.50; Tramp signals an error when completing partial directory names in 'find-file'

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Wed, 1 Mar 2023 06:50:01 UTC

Severity: normal

Found in version 30.0.50

Done: Jim Porter <jporterbugs <at> gmail.com>

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 61890 in the body.
You can then email your comments to 61890 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#61890; Package emacs. (Wed, 01 Mar 2023 06:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jim Porter <jporterbugs <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 01 Mar 2023 06:50:01 GMT) Full text and rfc822 format available.

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

From: Jim Porter <jporterbugs <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; Tramp signals an error when completing partial directory
 names in 'find-file'
Date: Tue, 28 Feb 2023 22:49:07 -0800
Starting from "emacs -Q":

  C-x C-f /ssh:localhost:~/src/emacs/lis/ne/tramp.el <TAB>

This works (it successfully expands "lis/ne" to "lisp/net"), but it 
signals the following error in the minibuffer:

  [File error: tramp-sh-handle-file-name-all-completions: internal 
error accessing ‘/home/user/src/emacs/lis/’: ‘’]

It looks like this is just a sanity check in tramp-sh.el, but I haven't 
had a chance to look any further.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61890; Package emacs. (Wed, 01 Mar 2023 16:11:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 61890 <at> debbugs.gnu.org
Subject: Re: bug#61890: 30.0.50; Tramp signals an error when completing
 partial directory names in 'find-file'
Date: Wed, 01 Mar 2023 17:10:13 +0100
Jim Porter <jporterbugs <at> gmail.com> writes:

Hi Jim,

> Starting from "emacs -Q":
>
>   C-x C-f /ssh:localhost:~/src/emacs/lis/ne/tramp.el <TAB>
>
> This works (it successfully expands "lis/ne" to "lisp/net"), but it
> signals the following error in the minibuffer:
>
>   [File error: tramp-sh-handle-file-name-all-completions: internal
>   error accessing ‘/home/user/src/emacs/lis/’: ‘’]
>
> It looks like this is just a sanity check in tramp-sh.el, but I
> haven't had a chance to look any further.

Thanks for the report. I've pushed a fix to master, could you, pls
check?

Best regards, Michael.




Reply sent to Jim Porter <jporterbugs <at> gmail.com>:
You have taken responsibility. (Wed, 01 Mar 2023 18:00:02 GMT) Full text and rfc822 format available.

Notification sent to Jim Porter <jporterbugs <at> gmail.com>:
bug acknowledged by developer. (Wed, 01 Mar 2023 18:00:02 GMT) Full text and rfc822 format available.

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

From: Jim Porter <jporterbugs <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 61890-done <at> debbugs.gnu.org
Subject: Re: bug#61890: 30.0.50; Tramp signals an error when completing
 partial directory names in 'find-file'
Date: Wed, 1 Mar 2023 09:59:20 -0800
On 3/1/2023 8:10 AM, Michael Albinus wrote:
> Thanks for the report. I've pushed a fix to master, could you, pls
> check?

Thanks, the fix works for me. Closing this now.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Mar 2023 11:24:13 GMT) Full text and rfc822 format available.

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

Previous Next


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