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: Sat, 16 May 2020 14:18:07 +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> <835zcwv15e.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="52215"; 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: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 16 14:19:13 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 1jZvma-000DTO-L6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 14:19:12 +0200 Original-Received: from localhost ([::1]:57960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZvmZ-0001ub-8H for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 08:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZvmQ-0001uD-5o for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 08:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZvmP-0004aS-SH for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 08:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZvmP-0002zf-M0 for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 08:19: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: Sat, 16 May 2020 12:19: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.158963149911452 (code B ref 41250); Sat, 16 May 2020 12:19:01 +0000 Original-Received: (at 41250) by debbugs.gnu.org; 16 May 2020 12:18:19 +0000 Original-Received: from localhost ([127.0.0.1]:39958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZvlj-0002ye-5B for submit@debbugs.gnu.org; Sat, 16 May 2020 08:18:19 -0400 Original-Received: from mail-oln040092065099.outbound.protection.outlook.com ([40.92.65.99]:61914 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZvlg-0002yQ-TR for 41250@debbugs.gnu.org; Sat, 16 May 2020 08:18:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NpKBRC1cO+B9bXvrLjQ75w7tPEdydUOziUpgSDyPNf9ZNvQmhe0AXdoiB56DLrFQ3MnHcRBfhHqK9EJFMTYTjE3CCoihShU1tX4b+3GyElDdp96q0rztH+RBXY3+bLVE1ZW/01E1zos2xmehKGiNUfLQ8Q7Xv6VkFEbq2lQ5ZrUQw9NdXK9Fk3siFFmY1HfjChcYKBFh0l9W2DrIhZk4eXyOEkCehAeSPiSI8LtX62hm7zvmLy4s55x2uQOR2UVgPpVQpfY+KRtjduxadIuRj60QHKXQNOWHH0JwoakgnfXECnOQnOT7EqJRT+4FaNK6WQaxocaTkg5kFi+Mdtn5mA== 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=VBHg3Le4zIXX3Fc00QXx+Lcg05rvtxuoYcBq7PiMn+0=; b=VuxaYnK7T+tHHEOAjxaNjyvEHeRWIu5llV2foQMjTtjkC4a3WseqzUh40616Jrk5pUIi1INsERNwJXFih4boe5nnFkBR9koCjT0M+mdnSclYqHi9ytScZ2uL8Kkfb7A1DWaaFBOw6lwFXUfxJMfOym3aLnpb33K4tcxN0gJmuNqCgbvToWLf41sC6u3DuxLobdQEP46tSkCVpL3PF45o1H2VBUNEAHZ9zqwKuHohnfekYCTcwCN9SIbdWZtZ5LhTg1/5exk+H6NSWnNMj+6O7K7OUhLzy5vlQjY2N+ewOj7naL7TAQQ3iRTmRZB1PvzS4yQhF7lOSuNJrp8Mxhs9Ew== 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=VBHg3Le4zIXX3Fc00QXx+Lcg05rvtxuoYcBq7PiMn+0=; b=RWYhNdPsM1P+1GHay+R6V5d28wqKptTYiBE2aUQHla2lOd/vJAzQ235MkLjdqL1vu5EMtLS8pOy7/45B+vAaSYMTTIDXxnTFsqBEC7kW6EDJYA/TqokPpv4tgI781VCxP7wMn8fdumBCjyLMjWYL0JxIbVkqjZdlySyVjOkFShthW8nxi3ocF+I1IzwwKen74NVBjIkGhwOaNyS68ci/ALYEP2tzUGvaP0NchAA7O+SagmOPOeX4TaSx4LUSO5WzvBFuamiv035P/ABmCTwgO1dViM1LhD4FmNyScQ84/EYh5dS3GjSZN1DyKhRfhj7e0Gfn2tZDP4OvgIC+b2mV7w== Original-Received: from VE1EUR01FT032.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::46) by VE1EUR01HT048.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e19::374) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19; Sat, 16 May 2020 12:18:09 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e19::53) by VE1EUR01FT032.mail.protection.outlook.com (2a01:111:e400:7e19::222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Sat, 16 May 2020 12:18:09 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:7C8AD6933BE5998CFBA4D7EEA2EFD6D1636073673FCA07D5B4FC89F6E522F368; UpperCasedChecksum:3C48F207F396E12DA368018F436B2C1295291347DC88A2B761D1EA6CE92A5653; SizeAsReceived:7967; 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; Sat, 16 May 2020 12:18:09 +0000 In-Reply-To: <835zcwv15e.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 May 2020 09:34:21 +0300") X-ClientProxiedBy: AM6P193CA0046.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::23) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87zha85b0g.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM6P193CA0046.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20 via Frontend Transport; Sat, 16 May 2020 12:18:08 +0000 X-Microsoft-Original-Message-ID: <87zha85b0g.fsf@live.com> X-TMN: [UAkVKiTA2vEYfSdxA5mjLF8zX2pYXoiB] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: dab0b1c3-f600-4145-40fe-08d7f99331f5 X-MS-TrafficTypeDiagnostic: VE1EUR01HT048: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nqtpWXZvCZcCTQLR8oK2sPDfzNq6Xldr1xdk8EIWHBbZfboUI4w50Snz/S0OIM5NqtcqoTwauZrCehmzN8IxnIdD3++xa8cmKDMc3weYr9j8BYDjKwU/Sr1cw2s+gKe7L9qiNEyaXCt9mDyhVKR0HpS9LXdxU5aV7MSqmg55BphWygnIy0szkV0kmKB9BBcehCLL5bgCGpmGk7f+y5dbJA== 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: vDl+mynFjG6YEZvliltXFFaqruxP1GNWjiAmgbWri+F9R8ugHZ0+egXLWIdE7I5kXnLWNpdJsnxiqoDPkWxEDxWZWbOmD64nXO2ognLCq1Rto6AZ1/1qcEamQcNiJrnsizhxI3OKvOdiiOYnhNnt9Q== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: dab0b1c3-f600-4145-40fe-08d7f99331f5 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2020 12:18:09.8585 (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: VE1EUR01HT048 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:180386 Archived-At: Eli Zaretskii writes: >> 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. Oki, I understand. To me, this info on modeline is superflous. When I am in dired buffer, I have immidiate visual feedback by just lookig at the content. I see if the content is sorted alhabetically or by some other means, for example size (which is not reflected at all on modeline.) Also I like the possibility of user having option to customize this like everything else in Emacs. I will try to code another idea later in the evening as another suggestion.