From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 29766@debbugs.gnu.org
Subject: bug#29766: 25.3; REGRESSION, Dired on MS Windows, switches -alF
Date: Tue, 19 Dec 2017 13:11:30 -0800 (PST) [thread overview]
Message-ID: <f46c5155-3d0e-443e-9dcf-430a88164058@default> (raw)
In-Reply-To: <<83y3lyo5to.fsf@gnu.org>>
> > > We already have plenty of such customization options
> > > in ls-lisp.el, had them for a long time.
> >
> > What option(s) in ls-lisp.el correspond to such an alist?
>
> What alist and for which purpose? You never explained that.
As I said:
But since different platforms have
(apparently) such different outside-Emacs behaviors,
perhaps an alist of values, keyed by platform in some
way, would be better. Then the defaults for common
platforms could be preconfigured according to what
users of those platforms might expect. And a user
of multiple platforms could opt for either the same
behavior everywhere or different behaviors here and
there. Just something to think about, I guess.
If you see no way to have alist keys that can be
used to specify per-platform behavior, then that
suggestion is perhaps not feasible.
But otherwise, it could be useful. An alist entry
of, say, (windows-nt . compare-strings) would have
the effect, when (eq system-type 'windows-nt), of
using `compare-strings' to sort files. An entry
of (windows-nt . string-collate-lessp) would
instead use ` string-collate-lessp' on MS Windows.
The same user could have preferred settings for
multiple platforms. The default alist value could
be whatever you like.
> > I don't see any. And if there is already such an option,
> > let alone plenty of them, then why did we add
> > `ls-lisp-use-string-collate'?
>
> I don't see how an alist could replace
> ls-lisp-use-string-collate.
See above. Change the value of the option from
Boolean to alist. Get the sort predicate from
the alist, checking the key against the current
platform (or whatever - perhaps `system-type'
is not the only reasonable test).
next parent reply other threads:[~2017-12-19 21:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<<<<52375503-be26-49ea-9d31-9926a125c0db@default>
[not found] ` <<<<<83lghzq0r4.fsf@gnu.org>
[not found] ` <<<<07c40ae2-2160-43e3-b246-b98db5fc4b04@default>
[not found] ` <<<<83ind3pfez.fsf@gnu.org>
[not found] ` <<<1ca5954e-224c-4bce-b70b-8d3fece8d7fd@default>
[not found] ` <<<83efnqputp.fsf@gnu.org>
[not found] ` <<d5184fa1-cd78-4ab8-b517-83c90b2a6948@default>
[not found] ` <<83y3lyo5to.fsf@gnu.org>
2017-12-19 21:11 ` Drew Adams [this message]
2017-12-20 3:32 ` bug#29766: 25.3; REGRESSION, Dired on MS Windows, switches -alF Eli Zaretskii
[not found] <<<<52375503-be26-49ea-9d31-9926a125c0db@default>
[not found] ` <<<<83lghzq0r4.fsf@gnu.org>
[not found] ` <<<07c40ae2-2160-43e3-b246-b98db5fc4b04@default>
[not found] ` <<<83ind3pfez.fsf@gnu.org>
[not found] ` <<1ca5954e-224c-4bce-b70b-8d3fece8d7fd@default>
[not found] ` <<83efnqputp.fsf@gnu.org>
2017-12-19 17:08 ` Drew Adams
2017-12-19 19:50 ` Eli Zaretskii
[not found] <<<52375503-be26-49ea-9d31-9926a125c0db@default>
[not found] ` <<<83lghzq0r4.fsf@gnu.org>
[not found] ` <<07c40ae2-2160-43e3-b246-b98db5fc4b04@default>
[not found] ` <<83ind3pfez.fsf@gnu.org>
2017-12-19 5:11 ` Drew Adams
2017-12-19 16:05 ` Eli Zaretskii
[not found] <<52375503-be26-49ea-9d31-9926a125c0db@default>
[not found] ` <<83lghzq0r4.fsf@gnu.org>
2017-12-18 20:44 ` Drew Adams
2017-12-19 3:25 ` Eli Zaretskii
2017-12-18 18:52 Drew Adams
2017-12-18 19:44 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f46c5155-3d0e-443e-9dcf-430a88164058@default \
--to=drew.adams@oracle.com \
--cc=29766@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).