From: Michael Albinus <michael.albinus@gmx.de>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: Emacs Development <emacs-devel@gnu.org>
Subject: Re: Master: Searching for program: No such file or directory, ls
Date: Tue, 07 Feb 2023 10:07:02 +0100 [thread overview]
Message-ID: <874jrxj13d.fsf@gmx.de> (raw)
In-Reply-To: <87cz6m719u.fsf@web.de> (Michael Heerdegen's message of "Tue, 07 Feb 2023 01:43:57 +0100")
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Hello,
Hi Michael,
> To save others the two hours of nervousness I had: Emacs master
> currently doesn't find any system programs like ls (dired), sh (shell),
> at least here on Debian, after Tramp has been loaded.
>
> If this happens to you, your Laptop has _not_ died. Instead this seems
> to be caused by 907fd1f7ff4 "Improve Tramp file name completion."
>
> If somebody can reproduce the issue, maybe we should revert that commmit
> for now?
I'm very sorry about this! As said in bug#60505, the appended patch
should fix it. Could people give me feedback, in order to install this
fix? Unfortunately, I cannot reproduce the problem with the given
recipe.
> TIA,
>
> Michael.
Best regards, Michael.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 601 bytes --]
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 69812506e48..b75a1816fdb 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -2773,7 +2773,7 @@ tramp-completion-file-name-handler
"Invoke Tramp file name completion handler for OPERATION and ARGS.
Falls back to normal file name handler if no Tramp file name handler exists."
(if-let
- ((fn (and tramp-mode
+ ((fn (and tramp-mode minibuffer-completing-file-name
(assoc operation tramp-completion-file-name-handler-alist))))
(save-match-data (apply (cdr fn) args))
(tramp-run-real-handler operation args)))
next prev parent reply other threads:[~2023-02-07 9:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 0:43 Master: Searching for program: No such file or directory, ls Michael Heerdegen
2023-02-07 9:07 ` Michael Albinus [this message]
2023-02-07 18:25 ` Michael Heerdegen
2023-02-07 18:34 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874jrxj13d.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=michael_heerdegen@web.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).