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: Sat, 16 May 2020 09:34:21 +0300 Message-ID: <835zcwv15e.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> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="77334"; 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 Sat May 16 08:35: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 1jZqPd-000K0y-IL for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 08:35:09 +0200 Original-Received: from localhost ([::1]:43436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZqPc-0006iz-KK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 02:35:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZqPW-0006if-1c for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 02:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56301) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZqPV-0000et-Oi for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 02:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZqPV-0000SZ-Lv for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 02:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 May 2020 06:35:01 +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.15896108821736 (code B ref 41250); Sat, 16 May 2020 06:35:01 +0000 Original-Received: (at 41250) by debbugs.gnu.org; 16 May 2020 06:34:42 +0000 Original-Received: from localhost ([127.0.0.1]:39614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZqPC-0000Rw-6T for submit@debbugs.gnu.org; Sat, 16 May 2020 02:34:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZqPA-0000Rj-CW for 41250@debbugs.gnu.org; Sat, 16 May 2020 02:34:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60056) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZqP3-0008Ua-U2; Sat, 16 May 2020 02:34:33 -0400 Original-Received: from [176.228.60.248] (port=4525 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZqP3-0001hm-BN; Sat, 16 May 2020 02:34:33 -0400 In-Reply-To: (message from Arthur Miller on Fri, 15 May 2020 23:08:46 +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:180373 Archived-At: > From: Arthur Miller > Cc: Drew Adams , 41250@debbugs.gnu.org, > juri@linkov.net > Date: Fri, 15 May 2020 23:08:46 +0200 > > After I saw Drews mail and patch, and answered, I was thinking > additionally, and I am actually now wondering, why is it assumed that > Dired will show sorting order on modeline by default? I mean other modes > does not do similar. Say, cc-mode does not show which current identation > scheme I use, or something similar. Yes, it does: the CC Mode shows the comment style in use and the minor mode. > Why is it assumed for Dired? I don't have historical insight so I > don't know why original author(s) decided to make it so? The sorting order was just one letter originally, so it sounds like a good idea to have an indication of why the order is this and not another. > If Dired show just, word "Dired" as it's lighter only, as other modes do, > then maybe Drews idea to have a format string is maybe the most flexible > one? Not IMO. Using format strings and functions is "advanced usage", which is normally barred for newbies and relatively inexperienced Emacs users. Popular options should IMO be exposed though easier customization values.