all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Chunyang Xu <mail@xuchunyang.me>
Cc: 25485@debbugs.gnu.org
Subject: bug#25485: 25.1; Having trouble setting --time-style in dired-listing-switches
Date: Sat, 28 Jan 2017 09:22:43 +0200	[thread overview]
Message-ID: <83vaszzm0s.fsf@gnu.org> (raw)
In-Reply-To: <m2tw8kro9w.fsf@xuchunyang.me> (message from Chunyang Xu on Sat,  28 Jan 2017 09:01:15 +0800)

> From: Chunyang Xu <mail@xuchunyang.me>
> Cc: 25485@debbugs.gnu.org
> Date: Sat, 28 Jan 2017 09:01:15 +0800
> 
> I have tried the patch and changed dired-listing-switches accordingly,
> it works now. Thus the solution is acceptable to me.

Thanks for the feedback.

> My first thought was, we can make dired-listing-switches also accepts a
> list of arguments, then something like this
> 
> (setq dired-listing-switches
>       (list "-al" "--time-style=+%_m月 %d %H:%M"))
> 
> should just work. But it will require much more work and I have no idea
> how 'C-u M-x dired-sort-toggle-or-edit' can work as usual.

I thought about that as well, and the reason why I opted not to go
that way was that it will be more complicated for users, especially
those who are not very fluent in Lisp.  But I'm open to hear other
opinions on that.

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).





  reply	other threads:[~2017-01-28  7:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 14:34 bug#25485: 25.1; Having trouble setting --time-style in dired-listing-switches Chunyang Xu
2017-01-19 16:11 ` Eli Zaretskii
2017-01-19 17:20   ` Chunyang Xu
2017-01-20  7:43     ` Eli Zaretskii
2017-01-27 13:53     ` Eli Zaretskii
2017-01-28  1:01       ` Chunyang Xu
2017-01-28  7:22         ` Eli Zaretskii [this message]
2017-02-04 10:05           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83vaszzm0s.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=25485@debbugs.gnu.org \
    --cc=mail@xuchunyang.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.