[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dired subdirectories & the ls option time-style with the %R sequence
From: |
Eli Zaretskii |
Subject: |
Re: Dired subdirectories & the ls option time-style with the %R sequence |
Date: |
Wed, 24 May 2023 19:58:32 +0300 |
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Wed, 24 May 2023 23:41:37 +0700
> Cc: Gautier Ponsinet <gautier@gautierponsinet.xyz>, emacs-devel@gnu.org
>
> On Wed, 24 May 2023 at 18:36, Robert Pluim <rpluim@gmail.com> wrote:
> >
> > Gautier> Maybe `dired-insert-subdir' could search for "R" but exclude
> > "%R"?
> >
> > Something like the following (untested) patch?
> >
> > - (if (setq switches-have-R (and switches (string-match-p "R" switches)))
> > + (if (setq switches-have-R (and switches (string-match-p "[^%]R"
> > switches)))
>
> This looks like a kludge. Will any occurrences of ‘R’ also be
> discarded in values for options such as ‘--hide’, ‘-I’|‘--ignore’, and
> any new options introduced later that take an arbitrary user-supplied
> string?
>
> Also, will a ‘--recursive’ affect ‘dired-insert-subdir’ in the same
> way that removing ‘R’ is designed to prevent?
We sometimes install kludgey solutions if no better ideas are
available. Do you have better ideas for fixing this?
Thanks.
- Dired subdirectories & the ls option time-style with the %R sequence, Gautier Ponsinet, 2023/05/24
- Re: Dired subdirectories & the ls option time-style with the %R sequence, Robert Pluim, 2023/05/24
- Re: Dired subdirectories & the ls option time-style with the %R sequence, gautier, 2023/05/24
- Re: Dired subdirectories & the ls option time-style with the %R sequence, Robert Pluim, 2023/05/25
- Re: Dired subdirectories & the ls option time-style with the %R sequence, Gautier Ponsinet, 2023/05/25
- Re: Dired subdirectories & the ls option time-style with the %R sequence, Robert Pluim, 2023/05/25
- Re: Dired subdirectories & the ls option time-style with the %R sequence, Gautier Ponsinet, 2023/05/27
- Re: Dired subdirectories & the ls option time-style with the %R sequence, Gautier Ponsinet, 2023/05/27
Re: Dired subdirectories & the ls option time-style with the %R sequence, Yuri Khan, 2023/05/24