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.devel Subject: Re: Master: Searching for program: No such file or directory, ls Date: Tue, 07 Feb 2023 10:07:02 +0100 Message-ID: <874jrxj13d.fsf@gmx.de> References: <87cz6m719u.fsf@web.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1109"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Development To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 07 10:07:58 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pPJxG-000AcK-Ld for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Feb 2023 10:07:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPJwc-0005DQ-GU; Tue, 07 Feb 2023 04:07:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPJwS-0005D6-Tj for emacs-devel@gnu.org; Tue, 07 Feb 2023 04:07:09 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPJwQ-00007s-Ux for emacs-devel@gnu.org; Tue, 07 Feb 2023 04:07:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1675760823; bh=FPhMojTWlzMWwwOP1UKJWXLL9dTdt7uMPqIvSnwHliI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=cUcJCj797lOJ5MzK/+YENsa5LstH3tDRoXdjqJ5d/4QxFiCK+2RXSS4QDwGmieVUt DsrBCbl6DgdNG+uMW/xt6WePkAt3IasLwuDTJl7SPbZSTm7EufRni9DaaYVJVCuEWj P/eDb9WSiEu3wVMWmNU1Nkgta3A8mZSjwZtq8up7kex5TAG2xBZOlIoooMbLXXv40B 37vOJbItQqijT9+9H9EPS9BrY10PVxwv6qnlwWlb3TBo0tubJWrmVqY37aN37mT9mt vjGXbGrh4BmrqtslU288h/bo8QKjpUSCQorv2TU9SEPGhjIggmV6r5qYhYk1RJiuyg PjpMg9U8NKz8g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.22]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MzhnH-1odO9H31OL-00vdaz; Tue, 07 Feb 2023 10:07:02 +0100 In-Reply-To: <87cz6m719u.fsf@web.de> (Michael Heerdegen's message of "Tue, 07 Feb 2023 01:43:57 +0100") X-Provags-ID: V03:K1:pbtU5C940BwuKAm8nbB2LTJLM2eH4X5Q4x8079EHF5lhGdEXig1 NdEjyeDQFXRGhiMTTj0Q2BxJd0igNN/mkokTXbgI5TQ81qbx5IIK6gFIjCqztWl4qbAIPTI ECEpXe7kRED8/2OahXK8vXhz0+RUxH5rac/ocV5yMdsTWxnfwp4gOO3R2VxyJwWY0h/gfGl kZS/byPkbje3Jghsbkd3g== UI-OutboundReport: notjunk:1;M01:P0:FIn6OekOpsE=;LwjsTTniR3IqaIdQ9UqdN61d/1d nusRtfZroskEM2Ees6ccUeUHNv3IFVU46LteOgFdQBpDcprWcrOxXGj81nixe88noub9EcPbr E5LH+OCoJv5cAhvVwQXJnGQdfwX5WBobgIhcMacwqreQRV5ZwDZlRv/qnzYCuiBmRuuVqtzFG DEja/oI8j2b+mlXS/Dc5Z+TG7WnNl+E67FS5wSWtMTk8eRR+4gLKjnZeKXclfngkjYOy8C7L0 5pXDsGaLpQta6rjIxf84UvXhs1Pt0/GqbrKRlphC9EePvEblh8AQliaBzlNCYzVVYooqj/iVv TcgoIMUq7u36dHsbMa3FioshrWEIaroA+c78zaakJXNDsb0bxDb0hIDq/rxg5aMf8609O3W85 GA8+ikx1jsLZyB0u2skIF4DKgmi0aySighh3WV4BIWnNWqSJi20OL04p7/gU1Mj9nmQUIARzl pCD0vf+1a4gFmRZMqXc1/8FC2KZJpY862WShqGXrqS32iaSpzyZhCdCPWMWKxHn5njOYPk2UB Tw/Ahgg1Y0UV/PCvVEFh8PBiC6FRxRs86oJJttWsF033ftSgNmVS/OoO4XD6ZISmXxFKjLBEz UdyzZsg1fAPvr4Z+NX5KewfE6hhMLIZdVp7z5c3mXKSQeP6PYDluEfZrOunD+R41D/4ZkPYWv kDyBILJrKG9yAqu2LigvOrCFfaNX5gnTwg4wwozqgToeMX0WXPQWzopUef5ftHnQwAPsiJfJq CwszgQ1HIM1BmMNGOqZGtuvx38p/zdM95Ka/iSwUZZrjQDr5QA5L6CJCbziE9OEZmw4qh7UI Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303031 Archived-At: --=-=-= Content-Type: text/plain Michael Heerdegen 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. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment 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))) --=-=-=--