Vincent Belaïche <vincent....@hotmail.fr> writes:

>>> PS: BTW, what is the use of calling `nreverse' over `nodes' at
>>> function return ?
>>
>> Just to have the list of nodes be in the definition order. That's not
>> really required but more intuitive.
>
> The list is only used in a `completing-read' AFAIK, so the entries are
> presented to user in alphabetical order whatever the order of the
> list.

That's true if `completing-read-function' is `completing-read-default'
but user's are free to use a different function.  For example, I use ivy
[1] which will usually present the candidates in order though you can
define different sortings, too, e.g., with C-h v/f you get alphabetical
sorting, with M-x you can have sorting by frequency, etc.

Bye,
Tassilo

_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to