GNU bug report logs - #25485
25.1; Having trouble setting --time-style in dired-listing-switches

Previous Next

Package: emacs;

Reported by: Chunyang Xu <mail <at> xuchunyang.me>

Date: Thu, 19 Jan 2017 14:35:02 UTC

Severity: minor

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Chunyang Xu <mail <at> xuchunyang.me>
Cc: 25485 <at> debbugs.gnu.org
Subject: bug#25485: 25.1; Having trouble setting --time-style in dired-listing-switches
Date: Thu, 19 Jan 2017 18:11:51 +0200
> From: Chunyang Xu <mail <at> xuchunyang.me>
> Date: Thu, 19 Jan 2017 22:34:31 +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?




This bug report was last modified 8 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.