From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline Date: Mon, 18 May 2020 17:25:54 +0300 Message-ID: <83o8ql9v65.fsf@gnu.org> References: <87v9ky9p6o.fsf@mail.linkov.net> <654acc31-015d-4552-bd9b-3b8c69661fcd@default> <0957af50-7f85-455a-9d2c-e96451727872@default> <83a729uiaq.fsf@gnu.org> <835zcwv15e.fsf@gnu.org> <83wo5abngu.fsf@gnu.org> <83h7webjhy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="99389"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41250@debbugs.gnu.org, juri@linkov.net To: Arthur Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 18 16:27:09 2020 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 1jagjV-000PkW-Ax for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 May 2020 16:27:09 +0200 Original-Received: from localhost ([::1]:46178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jagjU-0000fq-BN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 May 2020 10:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jagjO-0000fk-Tg for bug-gnu-emacs@gnu.org; Mon, 18 May 2020 10:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36387) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jagjO-0000TS-KD for bug-gnu-emacs@gnu.org; Mon, 18 May 2020 10:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jagjO-0005xQ-FD for bug-gnu-emacs@gnu.org; Mon, 18 May 2020 10:27: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, 18 May 2020 14:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41250 X-GNU-PR-Package: emacs Original-Received: via spool by 41250-submit@debbugs.gnu.org id=B41250.158981197122840 (code B ref 41250); Mon, 18 May 2020 14:27:02 +0000 Original-Received: (at 41250) by debbugs.gnu.org; 18 May 2020 14:26:11 +0000 Original-Received: from localhost ([127.0.0.1]:47933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jagiZ-0005wK-F5 for submit@debbugs.gnu.org; Mon, 18 May 2020 10:26:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jagiX-0005w6-Ed for 41250@debbugs.gnu.org; Mon, 18 May 2020 10:26:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58176) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jagiR-0000Kg-3O; Mon, 18 May 2020 10:26:03 -0400 Original-Received: from [176.228.60.248] (port=3866 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jagiQ-0007FM-Al; Mon, 18 May 2020 10:26:02 -0400 In-Reply-To: (message from Arthur Miller on Mon, 18 May 2020 00:57:42 +0200) 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:180540 Archived-At: > From: Arthur Miller > Cc: drew.adams@oracle.com, 41250@debbugs.gnu.org, juri@linkov.net > Date: Mon, 18 May 2020 00:57:42 +0200 > > Another question: can I assume, at this time of civilisation > development, that everybody has GNU ls, since binutils, or coreutils, or > what is the name, is probably default on most *nix distros, as well as > on msys2 which is needed to build on Windows. No idea how Mac people are > doing in that regard though? No, we cannot assume GNU 'ls', since both *BSD Unix systems and macOS (which is BSD-ish) use non-GNU 'ls'. > I can try to detect if gnu ls is present say when dired-mode is > loaded, but that would slow down dired every time we open a directory. Don't we already detect GNU 'ls' by looking at the //DIRED signature? Look in files.el.