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#53739: 28.0.91; "C-x d" fails when "emacs -Q" starts on NetBSD with plan9/bin on head of PATH Date: Sat, 05 Feb 2022 09:37:00 +0200 Message-ID: <831r0h3gtf.fsf@gnu.org> References: <9ce42bb5-4671-af8f-9132-ce993eb3d8f@SDF.ORG> <83iltw5s9k.fsf@gnu.org> <87o83o7500.fsf@yahoo.com> <831r0k5mvc.fsf@gnu.org> <87fsp06zgb.fsf@yahoo.com> <87leyr5twe.fsf@yahoo.com> <871r0j5j6o.fsf@yahoo.com> <83sfsz2h0d.fsf@gnu.org> <654b7fa8-6d12-289-b036-923f58eebfb6@SDF.ORG> <83mtj63l2d.fsf@gnu.org> <81de2e66-99d7-29f-40b8-e9454ae77ae1@SDF.ORG> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30440"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 53739@debbugs.gnu.org To: Van Ly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 05 08:41:10 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 1nGFgz-0007oE-Sc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Feb 2022 08:41:10 +0100 Original-Received: from localhost ([::1]:37110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGFgy-0004f1-EE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Feb 2022 02:41:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGFdz-0004cP-7V for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 02:38:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGFdy-0006Jj-6W for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 02:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGFdx-0003Sg-Su for bug-gnu-emacs@gnu.org; Sat, 05 Feb 2022 02:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Feb 2022 07:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53739 X-GNU-PR-Package: emacs Original-Received: via spool by 53739-submit@debbugs.gnu.org id=B53739.164404665113266 (code B ref 53739); Sat, 05 Feb 2022 07:38:01 +0000 Original-Received: (at 53739) by debbugs.gnu.org; 5 Feb 2022 07:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:33642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGFdT-0003Ru-Hl for submit@debbugs.gnu.org; Sat, 05 Feb 2022 02:37:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGFdR-0003Rh-7d for 53739@debbugs.gnu.org; Sat, 05 Feb 2022 02:37:29 -0500 Original-Received: from [2001:470:142:3::e] (port=54522 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 1nGFdK-0006Fq-FL; Sat, 05 Feb 2022 02:37:23 -0500 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=hMh7GIGY1p/JRCFDi63LmBInptpLMX4QwKgARz6fNgk=; b=WVEKbqZ9/hh5 SmWbp1oPi5CHHJI7YGbR8B0f+MVhJb5xY+eXmGNPxVE/5ya6pF+EvCnASj945Z5eXUgv1tWuOIv9z XwSqhcpFqYGv/nHF/S8WBnE/0B1moSW2XIR8BU54Q9YlmDtmeRCad8tbjYBoSSzAwZNyiwXymQFhr pFGZLL2J9TXJ+2z0C7eOuOEZWCer1cqRfw9epv0u8BjMm2HWrf/53JLWlMk8b1jZhUVGBYswSSG3s c9anx4zPOU7hpFlYxNY2iAFKt/3azyW+bQfkSS8IaHv5lw0Bjn4nKA1zg31Xr7ZHhzsUVo98qUgNg EeZrBdc8FmvVvcuIzVz0dg==; Original-Received: from [87.69.77.57] (port=3805 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 1nGFdG-000322-SC; Sat, 05 Feb 2022 02:37:21 -0500 In-Reply-To: <81de2e66-99d7-29f-40b8-e9454ae77ae1@SDF.ORG> (message from Van Ly on Sat, 5 Feb 2022 03:07:07 +0000 (UTC)) 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:226048 Archived-At: > Date: Sat, 5 Feb 2022 03:07:07 +0000 (UTC) > From: Van Ly > cc: luangruo@yahoo.com, 53739@debbugs.gnu.org > > The "result" exit status is "1" on line 7512 closing parenthesises. > > The call is "ls -al -- /usr/X" and the problem is Plan's ls doesn't > take the "-a" switch. For example > > ''' > % ls -a > usage: ls [-dlmnpqrstuFQ] [file ...] > % echo $? > 1 > % ls -al > usage: ls [-dlmnpqrstuFQ] [file ...] > % echo $? > 1 > ''' Thanks, the problem is clear now. > The Edebug steps continue to line 7581. > > lisp/files.el:7581 > "Listing directory failed but `access-file' worked" > > In the case of Plan9's ls what is needed is to leave out the "-a" switch. Which means "C-u C-x d" should fix your use case nicely. You can also customize dired-listing-switches in your init file, if you intend to use this version of 'ls' routinely. It's a defcustom for this very reason. Bottom line: I think we can close this bug with no further action.