all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#29185: Dired: don't just say "by date" when -tc is used
@ 2017-11-06 22:04 積丹尼 Dan Jacobson
  2022-05-17 22:14 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-11-06 22:04 UTC (permalink / raw)
  To: 29185

"s runs the command dired-sort-toggle-or-edit ...
With a prefix argument, edit the current listing switches instead."

OK I added S. Now the mode line shows "(Dired -aloS)". Good.

Now instead I added -tc. But the mode line just says

However the sorting order is very much different than the usual "(Dired
by date)" (just -t, not -tc).

Therefore the modeline should say "(Dired -alotc)", not "(Dired by
date)".

You might say "But it is still a date-based sorting method".

Yes, but unlike -r, -c is not just a different sorting direction...

Or, always say "(Dired by date -xyz)" showing all the switches all the
time.

Also maybe don't just say the same "by name" for -lc vs. -l...





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#29185: Dired: don't just say "by date" when -tc is used
  2017-11-06 22:04 bug#29185: Dired: don't just say "by date" when -tc is used 積丹尼 Dan Jacobson
@ 2022-05-17 22:14 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-17 22:14 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 29185

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> Or, always say "(Dired by date -xyz)" showing all the switches all the
> time.

Something like this was added in Emacs 28 as
`dired-switches-in-mode-line'.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-17 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-06 22:04 bug#29185: Dired: don't just say "by date" when -tc is used 積丹尼 Dan Jacobson
2022-05-17 22:14 ` Lars Ingebrigtsen

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.