emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#25485: closed (25.1; Having trouble setting --time


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#25485: closed (25.1; Having trouble setting --time-style in dired-listing-switches)
Date: Sat, 04 Feb 2017 10:06:02 +0000

Your message dated Sat, 04 Feb 2017 12:05:40 +0200
with message-id <address@hidden>
and subject line Re: bug#25485: 25.1; Having trouble setting --time-style in 
dired-listing-switches
has caused the debbugs.gnu.org bug report #25485,
regarding 25.1; Having trouble setting --time-style in dired-listing-switches
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
25485: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25485
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.1; Having trouble setting --time-style in dired-listing-switches 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:

Debugger entered--Lisp error: (error "Listing directory failed but 
`access-file' worked")
  signal(error ("Listing directory failed but `access-file' worked"))
  error("Listing directory failed but `access-file' worked")
  insert-directory("/tmp/" "--dired -al --time-style='+%_m月 %d %H:%M'" nil t)
  dired-insert-directory("/tmp/" "-al --time-style='+%_m月 %d %H:%M'" nil nil t)
  dired-readin-insert()
  dired-readin()
  dired-internal-noselect("/tmp/" nil)
  dired-noselect("/tmp" nil)
  dired("/tmp" nil)
  funcall-interactively(dired "/tmp" nil)
  call-interactively(dired record nil)
  command-execute(dired record)
  helm-M-x(nil "dired")
  funcall-interactively(helm-M-x nil "dired")
  call-interactively(helm-M-x nil nil)
  command-execute(helm-M-x)

I also try the following, they don't work either.

(setq dired-listing-switches "-al --time-style=\"+%_m月 %_d %H:%M\"")
(setq dired-listing-switches "-al --time-style=+%_m月\\ %d\\ %H:%M")



In GNU Emacs 25.1.1 (x86_64-apple-darwin16.3.0, Carbon Version 157 AppKit 
1504.76)
 of 2017-01-15 built on sierra.internal.macports.net
Windowing system distributor 'Apple Inc.', version 10.12.2
Configured using:
 'configure --prefix=/opt/local --with-mac
 --enable-mac-app=/Applications/MacPorts --without-rsvg
 --without-imagemagick 'CFLAGS=-pipe -Os -fobjc-arc -arch x86_64'
 CPPFLAGS=-I/opt/local/include 'LDFLAGS=-L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch x86_64''





--- End Message ---
--- Begin Message --- Subject: Re: bug#25485: 25.1; Having trouble setting --time-style in dired-listing-switches Date: Sat, 04 Feb 2017 12:05:40 +0200
> Date: Sat, 28 Jan 2017 09:22:43 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
> I'll wait for a few days for comments, and if no objections pop up,
> will commit the above change (and fix the documentation accordingly).

Done.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]