From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62096: 30.0.50; find-dired, dired-goto-file and spaces Date: Sat, 11 Mar 2023 19:46:17 +0100 Message-ID: <87jzzndt3a.fsf@ledu-giraud.fr> References: <87edpw1wt3.fsf@ledu-giraud.fr> <877cvofvgg.fsf@gmx.net> <87a60k1nus.fsf@ledu-giraud.fr> <875yb81mh3.fsf@ledu-giraud.fr> <87y1o471z3.fsf@ledu-giraud.fr> <87fsab75dn.fsf@ledu-giraud.fr> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30707"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62096@debbugs.gnu.org, stephen.berman@gmx.net, drew.adams@oracle.com To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 11 19:47:21 2023 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 1pb4FV-0007mY-8g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Mar 2023 19:47:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pb4FK-00076R-HI; Sat, 11 Mar 2023 13:47:10 -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 1pb4FC-00074w-Gr for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 13:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pb4FC-0005w4-2h for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 13:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pb4FB-00056T-PZ for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2023 13:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Mar 2023 18:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62096 X-GNU-PR-Package: emacs Original-Received: via spool by 62096-submit@debbugs.gnu.org id=B62096.167856038319569 (code B ref 62096); Sat, 11 Mar 2023 18:47:01 +0000 Original-Received: (at 62096) by debbugs.gnu.org; 11 Mar 2023 18:46:23 +0000 Original-Received: from localhost ([127.0.0.1]:58662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb4EY-00055Z-Rz for submit@debbugs.gnu.org; Sat, 11 Mar 2023 13:46:23 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:45438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb4EW-00055Q-DZ for 62096@debbugs.gnu.org; Sat, 11 Mar 2023 13:46:21 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=A2tpmMdG AFmt6eEG/0RkYKJsPfgSRT6Gz8c780euYvw=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=zOS2j9pO1JbD1cRJCkIVVlu4rC9qAL 8mri5qNIpoGaA0iY6IqNrAyoqXJvLlN1Ym+AQCvuxP9UP+qPKebwaVBQ== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=A2tpmMdGAFmt6eEG /0RkYKJsPfgSRT6Gz8c780euYvw=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=AIrGZj+as/uokI+xhPhsggACzHlRCq3pYMA8nw ggG7mUwhz4I6RMaw4zbjjSOOKhhakNToT0WZd7SQhNrV4tJu8Pnh59VXwA2km6gPsN4uyi mCjFihQzmrBau1B2+YsnG7SAfdIk89PLs/JM3qRxDlYOeOwtQSM5ihrfkq466xk489AyGr qMe1SDBVv+BVnUFIgjCsteaopg4L0xT/bCZ0rBH67CucGqDRf5O/rd/enTpMYhzNcq8VpW wBRg2HrzjMjAUV+BtikY7USqyjPxdmxE1N7hG2ExpaByj4MMi12Fi6LY0oaKfRrC4KGTmJ lNsKXZ2t7OwAPi1rXmtMEpuA== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id fe47dbcd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 11 Mar 2023 19:46:19 +0100 (CET) In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Sat, 11 Mar 2023 18:09:37 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257816 Archived-At: Daniel Mart=C3=ADn writes: [...] >> For testing without recompiling Emacs, one could evaluate this: >> >> (setq find-ls-option-default-ls >> (cons "-ls" (if (or (eq system-type 'berkeley-unix) >> (eq system-type 'darwin)) >> "-dgils" >> "-dilsb"))) >> >> >> Daniel: I'd like to hear what it does on macOS. >> > > I've tested your patch and it seems to work fine on macOS. However, > users can install GNU findutils on macOS, and in those systems the bug > would still be present. Thanks for those tests. > Is there a more reliable way to discern between GNU find and other find > implementations, without checking the system-type? Maybe this can be the subject for another bug report? Or you can improve on this one? WDYT? Me, I think that we could apply as is to emacs-29. FreeBSD and NetBSD have not been tested on but at least we are in line with their find(1) man page. Is there any other 'berkeley-unix system? --=20 Manuel Giraud