[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: ls-lisp.el handle --group-directories-first flag
From: |
Eli Zaretskii |
Subject: |
Re: Proposal: ls-lisp.el handle --group-directories-first flag |
Date: |
Fri, 16 Jul 2021 14:57:51 +0300 |
> From: Arthur Miller <arthur.miller@live.com>
> Date: Thu, 15 Jul 2021 11:19:52 +0200
>
> Just a minor 'out-of-the-box' quality of life improvement mostly for
> MS Windows users. ls-lisp.el is default on MS Windows, and some users
> might share their init configuration between their Gnu/Linux and MS
> Windows systems, it might be nice to have ls-lisp.el recognize
> `--group-directories-first' flag of Gnu ls program.
>
> I have just piggy-back on existing code here; I am not sure if I can
> actually set `ls-lisp-dirs-firs' var to `t' when
> `--group-directories-first' is found, so I am just converting this flag
> to `y' so we can per-use existing machinery. But I would happily skip
> `y' if it is acceptable to change users choice for `ls-lisp-dirs-first'
> variable when `--group-directories-first' is present.
This is not future-proof: what if 'ls' in some future release will
have the -y option, and we'd want to support that in ls-lisp.el?
Doesn't it work to let-bind ls-lisp-dirs-first?
Thanks.
- Proposal: ls-lisp.el handle --group-directories-first flag, Arthur Miller, 2021/07/15
- Re: Proposal: ls-lisp.el handle --group-directories-first flag,
Eli Zaretskii <=
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Arthur Miller, 2021/07/16
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Eli Zaretskii, 2021/07/16
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Arthur Miller, 2021/07/16
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Eli Zaretskii, 2021/07/17
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Arthur Miller, 2021/07/19
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Eli Zaretskii, 2021/07/24
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Eli Zaretskii, 2021/07/24
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Arthur Miller, 2021/07/24
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Eli Zaretskii, 2021/07/24
- Re: Proposal: ls-lisp.el handle --group-directories-first flag, Arthur Miller, 2021/07/24