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: Mon, 18 May 2020 00:57:42 +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> <83wo5abngu.fsf@gnu.org> <83h7webjhy.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="114625"; 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 Mon May 18 00:59:57 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 1jaSGC-000Tiu-Gh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 May 2020 00:59:56 +0200 Original-Received: from localhost ([::1]:53256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaSGB-0006Km-Ix for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 May 2020 18:59:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaSEM-0005vY-4L for bug-gnu-emacs@gnu.org; Sun, 17 May 2020 18:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaSEL-00042n-RB for bug-gnu-emacs@gnu.org; Sun, 17 May 2020 18:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaSEL-0000rG-PA for bug-gnu-emacs@gnu.org; Sun, 17 May 2020 18:58: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 22:58: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.15897562723283 (code B ref 41250); Sun, 17 May 2020 22:58:01 +0000 Original-Received: (at 41250) by debbugs.gnu.org; 17 May 2020 22:57:52 +0000 Original-Received: from localhost ([127.0.0.1]:45079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaSEC-0000qt-7J for submit@debbugs.gnu.org; Sun, 17 May 2020 18:57:52 -0400 Original-Received: from mail-am7eur06olkn2026.outbound.protection.outlook.com ([40.92.16.26]:30657 helo=EUR06-AM7-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaSEB-0000qf-1f for 41250@debbugs.gnu.org; Sun, 17 May 2020 18:57:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OWPTl+XzJd7+OAwkRbacWkuWY3jRFruvjfwtnC/83omiYsjjW6oC8LUoBMuBsU7sPhYw1uNs5zfTdqukHCU+rp5EWMTqAmFxG6h6TNESN1xi7pJo0FY5BkwzRZIg8WnAQiIt5WZ5h9o6+NmtF2jLCAQPIWLemMoEbfipOHKXIEGOypbPB0QX2t1NeWfmBJsUvltuCXPPVj5Q7FK2AXurLFjsMgQ4VqlIyhm6+51Fe/IwUmfcvMxYbOIAU3ST0KVwOAtWX4Zv5ke4E+hv9tU5TeZawHq4G3FYRpjfbt7QnBae57AzBxe4MQtM9njYwlioq3OcOuKbHS6BEy20+UET3g== 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=32akf1vft/VVGfRP0cxrLwdYcs1OvOJ5DpNlGOrVouM=; b=iY1z9pTlF+/V/Nn0GpLWVxSp8cnK4JdidCSOze6Wyv0xAVEsUH3jE/MZuazPYyzuNL3JG1rYGkEU8P+68dDlakFWkJUzwAgdByVpzO9A7dLjjcKYjUKzHgFOb9bqKBsj1IZ4KxIxkGZtkprjJL+3HKlvbTJnqvYI6mLVyfsAv2JGOBAY7H3GLaPDMBdfRxuhG34nW41easFJDzxbfokkZ+I90pxjMvVdcPiYSLbQl0CkTZmyBb++njOmCIgzIshkLJ9sQsWVbTHND1cvbmAlPa5c7rxcaRrQeVMZbioJ4TABDlxSSli9xAyImETv0lMO6RJeSBIdiPrU2af1G5tNfw== 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=32akf1vft/VVGfRP0cxrLwdYcs1OvOJ5DpNlGOrVouM=; b=VDTYcAs6AZkM4TjPu8xpqbnwzIIMc9MW/n6Vt2ZPdLOD6Qy38/d26+kDGyrm5VIpHlKxVs42FHlZVqvKhdJGhziwRpWhi76hv8z9EqjX+kYcTM5SILqBHcha2qfRvHQ1WOZK0Z94rsnKVu9dlcLvui9hcHd05oUFeKYkR1BnwbWTpAG0VASeJU9QHNPZH8DChT8ajqhkHeHcMux6McK3OY+aCisXApihOV7ZWyV9jrSdJgswpSw5CeBm0FthsvLgoInmW8ficSr/wSV8qM5C/7RRPWEiteBvMKgcZ8+IROoQtxjxiCUGue8a4CJwoni2Rtxm2uL4ohj3iHcyMHcuEw== Original-Received: from AM7EUR06FT018.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::53) by AM7EUR06HT205.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc36::224) 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 22:57:44 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:fc36::50) by AM7EUR06FT018.mail.protection.outlook.com (2a01:111:e400:fc36::396) 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 22:57:44 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:3AE6580B568F83F106549DDEC233C5685D0155246C46FE9A4F13BC6A77D6B14F; UpperCasedChecksum:93F689F2B1F3CB72C34BA23BA46B9BAA4B345B0729D73DF1445B83C5840B6C8D; SizeAsReceived:8184; 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 22:57:44 +0000 In-Reply-To: <83h7webjhy.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 May 2020 19:42:49 +0300") X-ClientProxiedBy: OL1P279CA0064.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:15::15) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87imgu2mqh.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by OL1P279CA0064.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:15::15) 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 22:57:43 +0000 X-Microsoft-Original-Message-ID: <87imgu2mqh.fsf@live.com> X-TMN: [f3CXIoUFuwJ6xXDqoym8OaDZ6m3x7WDZ] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 810eab46-3694-4ea9-114a-08d7fab5b5c6 X-MS-TrafficTypeDiagnostic: AM7EUR06HT205: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vCQ8jzPfkFVfbYNjReOsX2rfOrZCEl86z2oxkbS2XO1CebKeZ0QtpgGc/mpq6DaCFIeL5R+vG9hzKstNQJtJXVfAaBxoptCOHPcZ4qRdGXHN32qMpyLDpAmyXxmfG4r3SPryfw9BrqFT8+tAPWyEaYwJikrWKi3oE/BVb1k/rlF8biiV6f6ISq2S8UBiGlbASOw1mq4FX79FSfod6AUJfw== 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: ZSKJlvbJ0HAoNtIIqwet7F2+WYvAXFOo/5A6Kd7wyk49VAtEXuPUnGizTNLI1/nlhQjRzPrdXrsbhSmHAtBWAaVjANTqYG/6/1J53tOoHI9PxqibszsuKge80H1WOraWpb2SEsbmfm8JkcwbZU8Tkg== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 810eab46-3694-4ea9-114a-08d7fab5b5c6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2020 22:57:44.7672 (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: AM7EUR06HT205 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:180525 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Cc: drew.adams@oracle.com, 41250@debbugs.gnu.org, juri@linkov.net >> Date: Sun, 17 May 2020 18:34:53 +0200 >> >> I have a technical question regarding this: is it possilbe to detect in >> elisp when pointer howers over part of a string, i.e. part of mode-name >> on a lighter, since a lighter is a button. Would this be quite involved >> or it can be implemented easily? > > You need to define different help-echo strings for different parts of > the string, using text properties. You can see how this is done in > bindings.el. Yes. 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? If we can assume that, then I can add sort by extension & size, and feature to group dirs first and reverse sort. 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. I can also make a customize option for user to enable those regexpes which requires that user is knowledgable what he/she has on the system, but maybe it is fairly safe to assume that most people have gnu ls these days? :-) Sorry ...