From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Proposal: ls-lisp.el handle --group-directories-first flag Date: Fri, 16 Jul 2021 16:44:49 +0300 Message-ID: <83y2a64bla.fsf@gnu.org> References: <8335se5v40.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26269"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 16 15:46:28 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 1m4OAe-0006b7-4l for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Jul 2021 15:46:28 +0200 Original-Received: from localhost ([::1]:49158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4OAc-0007ak-MD for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Jul 2021 09:46:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4O9f-0006oT-DH for emacs-devel@gnu.org; Fri, 16 Jul 2021 09:45:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58222) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4O9e-0006Mx-0V; Fri, 16 Jul 2021 09:45:26 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3138 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4O9J-0004mY-88; Fri, 16 Jul 2021 09:45:18 -0400 In-Reply-To: (message from Arthur Miller on Fri, 16 Jul 2021 15:20:58 +0200) 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:271303 Archived-At: > From: Arthur Miller > Cc: emacs-devel@gnu.org > Date: Fri, 16 Jul 2021 15:20:58 +0200 > > > Doesn't it work to let-bind ls-lisp-dirs-first? > > I don't know about that one. ls-lisp--insert-directory effectively > ensures that switches are passed further the line as a string of > chars. The flag is lost in the first step and can't be passed further > on. Which flag is lost and why? > Anyway, see if this is acceptable. It adds one extra variable, so it's still > pretty cheap. I'm still missing something, because I don't see how this is different from just let-binding ls-lisp-dirs-first.