[Top][All Lists]

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

Re: sort-lines including non ASCII

From: Eli Zaretskii
Subject: Re: sort-lines including non ASCII
Date: Thu, 07 Jul 2016 19:56:36 +0300

> From: Michael Heerdegen <address@hidden>
> Cc: Uwe Brauer <address@hidden>,  address@hidden
> Date: Thu, 07 Jul 2016 18:30:57 +0200
> Eli Zaretskii <address@hidden> writes:
> > How do you solve the problem of different argument lists in different
> > predicates?  And how do we allow to specify such an alternative
> > comparison in interactive usage?
> Yes, both objections are a problem indeed.
> > Also, if string-collate-lessp is the only additional possibility we
> > can think of, why not change sort-subr to use it "when it's TRT", as
> > we do currently when sort-subr's PREDICATE argument is nil?  Making
> > sort-lines entirely open-ended like the suggestion says might be too
> > much.
> Yeah, I came to the same conclusion.  But when exactly is "when it's
> TRT"?

Maybe if we figure out how to allow this in interactive usage, we can
pass that bit down?  And if worse comes to worst, perhaps a separate
command is in order, which uses collation by default?

reply via email to

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