From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54487: 29.0.50; connection-local value for `shell-file-name' not set in Dired buffers over Tramp Date: Mon, 21 Mar 2022 14:40:39 +0200 Message-ID: <83wngneawo.fsf@gnu.org> References: <87y213bo13.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37275"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jporterbugs@gmail.com, 54487@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 13:45:28 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 1nWHPb-0009ZA-Tz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 13:45:28 +0100 Original-Received: from localhost ([::1]:49844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWHPa-0007Sk-52 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 08:45:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWHMJ-0004Fq-VF for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:42:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWHMI-0006ox-9a for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWHMI-0007yO-8K for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2022 12:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54487 X-GNU-PR-Package: emacs Original-Received: via spool by 54487-submit@debbugs.gnu.org id=B54487.164786646330574 (code B ref 54487); Mon, 21 Mar 2022 12:42:02 +0000 Original-Received: (at 54487) by debbugs.gnu.org; 21 Mar 2022 12:41:03 +0000 Original-Received: from localhost ([127.0.0.1]:36100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWHLL-0007x4-Gb for submit@debbugs.gnu.org; Mon, 21 Mar 2022 08:41:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWHLK-0007wT-Jc for 54487@debbugs.gnu.org; Mon, 21 Mar 2022 08:41:03 -0400 Original-Received: from [2001:470:142:3::e] (port=41408 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWHLE-0006hi-Er; Mon, 21 Mar 2022 08:40:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=F7EORUxJI2TF7F6pQBWph6tDEaXMV5+xWYBhMpK4O2o=; b=ou1247yuYsI8 3NWm0zOQweTuVXMxbC6YPPuPqRfh40DZrNKricrXZ54TEXhLwYGLiyGPBujU/XGg8hl2AuZDY9MeS pbX2+2MMb6GQh8ohNDXkxgAMjKcM07vTzR9lceMfLJpwgKvoapKnjK0BCrulu6BvFu+aLOy0rMt51 1JiAOEFCabcWaNOoayhPDG/UrHSSSpTSZRB2x5vOB2nCVzNxk95E/cWZI3QdKMCKwqDRh8VEwbwR6 ZxiZwZoRZlFPhxhUhEW9bewk6DS6Bw5UXaV75ytmClRxB/RKVmNxolqY37jOdg+JEdzTL27AbFGdk jcioy7c+AL+ENm1r6KY+Gg==; Original-Received: from [87.69.77.57] (port=4592 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWHLD-0004Hz-U1; Mon, 21 Mar 2022 08:40:56 -0400 In-Reply-To: <87y213bo13.fsf@gmx.de> (message from Michael Albinus on Mon, 21 Mar 2022 11:25:28 +0100) 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:228663 Archived-At: > From: Michael Albinus > Date: Mon, 21 Mar 2022 11:25:28 +0100 > Cc: 54487@debbugs.gnu.org > > The problem is rather quoting the arguments with shell-quote-argument. It > applies the quoting according to the value of system-type. If this is > 'ms-dos or 'windows-nt, MS Windows quoting rules are applied. > > The appended patch fixes this for me, could you pls check? Is it really a good idea to solve this only for Grep? Shouldn't shell quoting always use this logic (with some variable that callers could bind in exceptional cases, which I presume will be rare)? Or am I missing something?