[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25485: 25.1; Having trouble setting --time-style in dired-listing-sw
From: |
Eli Zaretskii |
Subject: |
bug#25485: 25.1; Having trouble setting --time-style in dired-listing-switches |
Date: |
Fri, 20 Jan 2017 09:43:47 +0200 |
> From: Chunyang Xu <mail@xuchunyang.me>
> Cc: 25485@debbugs.gnu.org
> Date: Fri, 20 Jan 2017 01:20:45 +0800
>
> >> I want to custom the file timestamps used in dired through the option:
> >>
> >> --time-style='+%_m月 %d %H:%M'
> >>
> >> then I adjust `dired-listing-switches' accordingly:
> >>
> >> (setq dired-listing-switches "-al --time-style='+%_m月 %d %H:%M'")
> >>
> >> However, it doesn't work, it signals an error, here is the Backtrace:
> >
> > Isn't --time-style a GNU ls extension? You are on Darwin, so do you
> > have GNU ls installed? What happens if you use that option from the
> > shell prompt?
>
> Yes, and yes, and I have set shell and Emacs to use GNU ls, thus in
> shell (via M-x shell) it works like expected:
What happens if you add --dired to dired-listing-switches?