From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.bugs Subject: bug#41250: 28.0.50; Dired displays unconditionally ls-switches on modeline Date: Sun, 17 May 2020 05:09:56 +0200 Message-ID: References: <87v9ky9p6o.fsf@mail.linkov.net> <654acc31-015d-4552-bd9b-3b8c69661fcd@default> <0957af50-7f85-455a-9d2c-e96451727872@default> <83a729uiaq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="122415"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41250@debbugs.gnu.org, juri@linkov.net To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 17 05:11:10 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 1ja9hl-000ViC-Iu for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 May 2020 05:11:09 +0200 Original-Received: from localhost ([::1]:37698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja9hk-0006Iz-7A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 23:11:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ja9he-0006Is-0V for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 23:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ja9hd-000744-Nd for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 23:11:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ja9hd-0006OF-I4 for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 23:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arthur Miller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 May 2020 03:11: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.158968501324504 (code B ref 41250); Sun, 17 May 2020 03:11:01 +0000 Original-Received: (at 41250) by debbugs.gnu.org; 17 May 2020 03:10:13 +0000 Original-Received: from localhost ([127.0.0.1]:42025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja9gj-0006N4-WF for submit@debbugs.gnu.org; Sat, 16 May 2020 23:10:12 -0400 Original-Received: from mail-oln040092075082.outbound.protection.outlook.com ([40.92.75.82]:48575 helo=EUR04-VI1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja9gi-0006MR-FD for 41250@debbugs.gnu.org; Sat, 16 May 2020 23:10:04 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HUIAWVLBc0S3fCl9UXTSiDowEFxDbQK2YCljnWazNb+oe0O7YkLr1BK2+9yRyZyhB3Mjv6xrKv4L2hzQoy/hFAG/80mZWk2vPzZJbBQj5KaUpDIpbklY8Jtg06FaPbD/6YJj0by6eEU4h0JXtyo/pTS99xwY1hE+AtSoQrom2hOpmQ7WWRO4hHAnMUny50pjGjLEFVSSfyDXJwqTQhkQAqLHV7IB/lIyEsoHlkXWtFHSthGT3gWHh8gOWHN8epmisQ6+iHzLCNnwcg3yYwPSMLHA1x32aGCc2633cEcTYVbPq7dtcoaiVG7Z3GQImCS3kKPYFPC205rZMnqZ4RghXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v+8XvkjGLmGAq6trK/usIFheYYl74XCx4LPCW8h76Ts=; b=Os6M033Ufe8f2g+874j2DH3W8fqai5mExwkAPKkFCgA5JCbiHpUOpm6kCvkdr+4mA+C9u8rk2kpH/kI1vWKGOzofK6cG8e7I9kFWMBRt65D3a0YYBi/DWOlcufO1Dg48U+1NwRDNiYk41N+gIuSxiKHngDg+y8CrwLoPAuzAMjsnLvKo9r9srgtJBZb8476Tu39yB2GMpbNh+QMAIKkTHfdZakLQ8/DxrmdchvwhQnSTlL7MN4GZnbBTVsJvCa/43dMCeZOFC9W8h6ICVJOyR0nl0t0tLJ651zWIY4nif/t+6TBSMzN3/WMhyq51Gw3pUvt7+wb8Sl0xll+Um99asQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=live.com; dmarc=pass action=none header.from=live.com; dkim=pass header.d=live.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v+8XvkjGLmGAq6trK/usIFheYYl74XCx4LPCW8h76Ts=; b=M7QKJAyeVhtNIlTxCchs2MtYG1AK7RkWhVDveLYv+wf6t0QZ5GSJ6Zzrl1OPxHJq5G1lDJUSxYdKrjzdjgyPSewTj9abhKdXLsq5qake+7wWCVvd7793tFFHcuq6GeE/v/FV7AtQLUAB2xU4a3wf1YQX+Nfju6qjrEzzRIX1BtAHWre3ZD/smVMTLFuN26cOyjJRSS1C1QHJ6wv0brgzpsSH26AbEkp01AaNo/gwjw/DNecc07GL0qcogGLWPRaum3ByA0s3CP6QC04MaaXmd/iNxTnIdEQktEA28BBmxfItQTpTSdnfOm3nMFPqq2ZRmQKU1IIN/WK8kELsPgLWXg== Original-Received: from HE1EUR04FT038.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::4b) by HE1EUR04HT034.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::316) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19; Sun, 17 May 2020 03:09:58 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e0d::43) by HE1EUR04FT038.mail.protection.outlook.com (2a01:111:e400:7e0d::189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Sun, 17 May 2020 03:09:58 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:8C40E48E6CA0AD9BA1FE84107E277D34844D8372DEEDEC30D87494AF5AF0EC8E; UpperCasedChecksum:E5EEB964B621583937CC0671F112F26C64F2627663C6CFB1D8ABDEBDA34E7F23; SizeAsReceived:8032; Count:48 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::49f0:2314:a959:bec5]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::49f0:2314:a959:bec5%7]) with mapi id 15.20.3000.022; Sun, 17 May 2020 03:09:58 +0000 In-Reply-To: (Drew Adams's message of "Fri, 15 May 2020 15:19:00 -0700 (PDT)") X-ClientProxiedBy: AM5PR0201CA0010.eurprd02.prod.outlook.com (2603:10a6:203:3d::20) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <875zcv1cl7.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM5PR0201CA0010.eurprd02.prod.outlook.com (2603:10a6:203:3d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20 via Frontend Transport; Sun, 17 May 2020 03:09:57 +0000 X-Microsoft-Original-Message-ID: <875zcv1cl7.fsf@live.com> X-TMN: [o2MTNf/s8SdIFqdJ5Hso+rPTTHRRcKeO] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: e759a5cf-8a9a-41ca-1844-08d7fa0fc79d X-MS-TrafficTypeDiagnostic: HE1EUR04HT034: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zXHuK3668TZqNFt1oeNp8+x4cdGHIx/eGvhX+MDjnjpbP2FaLiuxDmIDcTUKoisnjvGI+DVsUGJ9U2ZDZnF5FpR7X0Rjkg/37NoWrNvMlDXuPZqGzzX3hHif+ERUnPC7T5Z/y4DmdZxYidRuoV0GoP6lht5VPT90Lxn8r7eptPYIubyFnPXgZE+DEDfpzwdBxm6t45axkDmOKcxRM8JyPw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR06MB4526.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: eIiaJDf/iX8ypCeo/bvBT8gf1fY/LkYWQPi8fZJl/Q7aCd0weJmU6O6QD0m5RPfOgjRugE+oXdOijDpIvuXI/EMh59ehxz/ouJ2Nyg5Ep9fQnt56a683CRZJjXBLMPMlYTZ8hPI78HDIV0DOmRHRDw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: e759a5cf-8a9a-41ca-1844-08d7fa0fc79d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2020 03:09:58.0427 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT034 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:180429 Archived-At: Drew Adams writes: >> I am actually now wondering, why is it assumed that >> Dired will show sorting order on modeline by default? > > Because it's useful. And it is very common to use > `s', to toggle between name and date sorting. Those > are the common sorts, and switches that match their > regexps are the most common. > > Those predefined regexps could presumably be tweaked > to accommodate more patterns that have time in them, > but IMHO it's not worth it. > > This mode-line indication is not, primarily, about > showing you the current `ls' switches. It's about > telling you whether files are sorted by name or time. > > The relevant function is called `dired-sort-set-mode-line'. > ^^^^ Yeah, I completely understand, but as I wrote to Eli too, to me, dired buffer itself is an immidate visual feedback. I don't need addtional information on modeline to tell me if files are sorted alfabetically or by some other mean. So I prefer to save mode-line space for something else. It is just my personal preference, I have understanding that other people might have different taste.