From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Proposal: ls-lisp.el handle --group-directories-first flag Date: Sat, 24 Jul 2021 21:02:56 +0200 Message-ID: References: <8335se5v40.fsf@gnu.org> <83y2a64bla.fsf@gnu.org> <83czrh40hf.fsf@gnu.org> <83o8asynga.fsf@gnu.org> <83k0lgymsd.fsf@gnu.org> <83im0zzzhq.fsf@gnu.org> <83a6mbzpia.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17016"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 24 21:03:50 2021 Return-path: Envelope-to: ged-emacs-devel@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 1m7Mw9-0004Ff-QG for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Jul 2021 21:03:50 +0200 Original-Received: from localhost ([::1]:39156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7Mw8-00038j-BG for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Jul 2021 15:03:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7MvQ-0002Qg-J7 for emacs-devel@gnu.org; Sat, 24 Jul 2021 15:03:05 -0400 Original-Received: from mail-oln040092073073.outbound.protection.outlook.com ([40.92.73.73]:44996 helo=EUR04-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7MvN-0002uR-UK; Sat, 24 Jul 2021 15:03:04 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GKGj9CZez+2Stp2j85NgCE2lo53iah22Dw+VLjirGuD6uZ7R9xXaMZVq6Zr8KUWbzhI80F9lXW2QpYgdmZSG2Vj5egY6v5v+naonvD+ujjE19Zyb5gqpXePed7cTSFq7eJqq2ZaTU9OUkqNiUonFE/z6mrjyjGoAn7l3KyaR3cU8oGAQGYd9SP1NW7bdq2CErt9sT7S4fOI1zVCpIRdoY3G8H96GPPoMJdO4yWvYbwaOOy+5ssKj7xlYOadeK9AcTa4OMqAgwlfP57/tSw6rLM7+J7ucA8GiXmA91NFsd9WgTlRyEz8Pw+WWVNTQ4s/5PqIJdwCChAPaH6PsjKbqsQ== 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=jaN53JfxeJ5r9KP9EPay1bmhduL2xOUbx7MK3Hb8MXo=; b=nDxQ2XS//ibYvwIr3ys9UYvErqRhOoJWpiqHT+dyZZfAv4s91qE8WRV2G9tM1+d0JOW64eaWO1cXWd7v5nN7wpp8k75/FSzgRoKBpxBoySP4yEN0MdtRnAbelX8G7Wg1xh9PtvX9XtlyTL72xcTmypvzH2PmctHx5cE8R5IzSjmIZGXfAcQIETx+RrTxnkvovtQ2DmTBJY7DzvjX+UTmpMZC5+tU6G6cVkmSqUW3R9ERJ5t2nbJMIJFIkspsAbCMRM88c9wJfCeJ2ndUNCQfT0e9MHPX97DY4pGKO5PwiVJTL3YbT0mE8WLE3hi+j810dPsPGD9nG6ZG+9S5GDtouA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=jaN53JfxeJ5r9KP9EPay1bmhduL2xOUbx7MK3Hb8MXo=; b=ObE4dsFqLZ0FtaciYNQxnO9Dn++7LGQLwP6Fv9E2Xwd0Eo2UTMsTVwjkMOk/HRJpNWowSSS5mg4MNgynMVmQ+5FM2jYa/Oizi6LIexOTAbC8Lr2jA3lukZqejma+YLOmtvbyeS0qVRmHs5Chlo6KV/w1L9CRbJvZyqiZnS22byBHq6Za0Y/ZSCKDWBfQFBFtiuA6y78mfn9PFpBgQ/pWgGZ+w5mQffqQTMVZxmomQ+GA3/NGsLwLNqvekPyl9mHzBCQsLfuha+vfGSaXoHkIwGYT1c2QHgHiRfnxHOOdgVfRBrPrdWr3/uJYN4QWw2yU8gHcoN7j93OMFCLCXskl8Q== Original-Received: from DB3EUR04FT026.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::46) by DB3EUR04HT196.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::385) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24; Sat, 24 Jul 2021 19:02:57 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e0c::49) by DB3EUR04FT026.mail.protection.outlook.com (2a01:111:e400:7e0c::206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24 via Frontend Transport; Sat, 24 Jul 2021 19:02:57 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A50D2727F00B42F3FC49732B9952C8BF0E725DA745B52109EDE1E16F6796C769; UpperCasedChecksum:4BA0A8E1E2564A3AED2F0EE997EF425BEA93FA1C503B018B41D087E472BB4C7B; SizeAsReceived:8035; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::e47b:760e:fa35:f28b]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::e47b:760e:fa35:f28b%7]) with mapi id 15.20.4352.030; Sat, 24 Jul 2021 19:02:57 +0000 In-Reply-To: <83a6mbzpia.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Jul 2021 18:43:25 +0300") X-TMN: [NYGo9chcm16HdFAlsz7hvrEFBs7Cap57] X-ClientProxiedBy: AM6P195CA0068.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:87::45) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87a6mbsffj.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6P195CA0068.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:87::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.26 via Frontend Transport; Sat, 24 Jul 2021 19:02:56 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 03f9c021-1e95-48b1-fbb8-08d94ed5a610 X-MS-TrafficTypeDiagnostic: DB3EUR04HT196: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c5cWNL6XQHrGiuJ5q3ExnMW8qhAQG1kTYfac0pGwnjB/wN7oi2FCOkcuVDeQeOtqdl2DGgcHOURMR2IqL+1/vuwzSZW29H1m8un8WLMibQXsN2SZM3fLBdUm0W+BGCS+mCPuDSfh5FMQ0AB8MniaZxS/Dttn6r9OYpYMe0qCqYqETEEHYfBHQkBEBWUPNN+5Osp93folgUlIEppKbBxb2RCicvMQ9t9lsw+A5zhMQ767TyQiZIZNS4hfN777oXpNxOlffTsB4XVb1l8Lfz8zYXAXFh65JEh4OvzSqAxtJULVebn0ikU2DwqxbrHU5kAuRQxoF+3Ch82tY92s3Q4VLmdl9gGJUJh+6Gm8LQ3Kyo9VcdGaP3Zq/Rld8aFFAj065f/XwM/F6qqxNdFp090F34wtt+Odtlrtl0uda7t5DRGESweY2+zHYLeaSn8HF6w3 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NVpx3lcOrk60Uhh5EKvJXRDOpfKcY2igGKs/DItpqLiYl1/eFqGSf7UF5z1y7ZxJt608DVGEHSpEl8OTGWwA6xo7x7eQ+t4j7UMsCjXdRc/6BToICep9DxEg7xv5EH53lOfx8xuY7/GGf+eMmm3nPA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 03f9c021-1e95-48b1-fbb8-08d94ed5a610 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2021 19:02:57.4630 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB3EUR04FT026.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3EUR04HT196 Received-SPF: pass client-ip=40.92.73.73; envelope-from=arthur.miller@live.com; helo=EUR04-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271574 Archived-At: Eli Zaretskii writes: >> From: Arthur Miller >> Cc: emacs-devel@gnu.org >> Date: Sat, 24 Jul 2021 16:58:08 +0200 >> >> >> > Btw, in my testing, with ls-lisp-dirs-first bound non-nil, the >> >> > directories are shown in their correct alphabetically sorted order. >> >> > So I'm unsure what problems you saw and in which scenario. Can you >> >> > tell more about this issue? >> >> When I was testing, if ls-lisp-dirs-first is nil, and >> --group-directories-first is specified, dirs come out in reverse order >> in new buffer. Just reverting the buffer didn't show this. I don't know >> why it is so. > > Because --group-directories-first includes 'r'? No, it is removed from switches before sorting happends, in this patch. >> If you are OK with the patch2, then here is one without -U on top of >> that one. > > I take it that the problem with the reverse order doesn't exist? Or > does it still exist and needs to be debugged? No longer, the last patch fixes it by setting let-bound value of ls-lisp-dirs-first to 't. I hope somebody else test it too, beside me.