GNU bug report logs - #38614
26.3; Info completions in reverse order

Previous Next

Package: emacs;

Reported by: Howard Melman <hmelman <at> gmail.com>

Date: Sat, 14 Dec 2019 21:17:02 UTC

Severity: normal

Found in version 26.3

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 38614 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Howard Melman <hmelman <at> gmail.com>
Cc: 38614 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#38614: 26.3; Info completions in reverse order
Date: Tue, 25 Aug 2020 16:09:29 -0700
Howard Melman <hmelman <at> gmail.com> writes:

>>> When using ivy mode, Info-index shows me the list of
>>> completions in reverse alphabetical order. Info-menu does too.
>>> Both Info-index and Info-menu use completing-read with
>>> Info-complete-menu-item as the collections argument. It
>>> seems to generate the list in reverse order.
>>>
>>> Sorry this isn't a formatted patch, but a one line fix solves it for me.
>>>
>>> If after this line in Info-complete-menu-item:
>>> 		    (setq completions (delete-dups completions))
>>> I add this line:
>>> 		    (setq completions (nreverse completions))
>>> the index and menus are shown in alphabetical order.

Won't the proposed change:

  a) Not delete duplicates.
  b) Reverse the list of completions for everyone else (ido, etc.)?

>> Sorry, I don't understand: when I type "i SUBJECT" and press TAB in
>> Info, I get completions in alphabetical order, so how come with ivy
>> you get the reverse order?
>
> I tried that in Emacs 26.3 with -Q and and I see an alphabetical
> list. I'm not sure what mechanism that's using and I don't
> particularly know icomplete or ido, though I tried enabling each and
> saw the same alphabetical list.

Shouldn't this bug be reported to the ivy developers first then?  It
sounds a lot like there is something that ido and icomplete is doing
that ivy is not.

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 272 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.