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

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

bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring


From: Michael Heerdegen
Subject: bug#23902: 25.1.50; Strange warning on string-collate-equalp's docstring
Date: Wed, 06 Jul 2016 17:55:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> > I also have trouble to understand.  How can I compare file names modulo
> > collate-equality, if not with this function?
>
> With string=, of course.  (Or, better yet, with file-equal-p, but
> that's a different story.)

Does that compare mod collate-equality?

> > But we are speaking about the docstring of `string-collate-equal-p'.
> > It is not clear here how it (as an equivalence predicate) could be
> > useful for sorting at all.
>
> If it is not useful, then the issue against which the note warns
> doesn't exist, does it?

Useful for equality testing, or for comparing (and sorting)?  You speak
about the latter in the doc.  I don't understand why the doc of
`string-collate-equal-p' mentions sorting at all.  Is it useful for
that?  (not a rhetorical question but for my understanding of the
current text)


Thanks,

Michael.





reply via email to

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