From: Stefan Kangas <stefan@marxist.se>
To: Howard Melman <hmelman@gmail.com>
Cc: 38614@debbugs.gnu.org
Subject: bug#38614: 26.3; Info completions in reverse order
Date: Tue, 25 Aug 2020 16:09:29 -0700 [thread overview]
Message-ID: <CADwFkmnCaKLwNP89FiSXmz9+aWoc2aUO33hw_LWqeeXDwAecVQ@mail.gmail.com> (raw)
In-Reply-To: <C7458367-94AB-4D09-BFCE-DCE1660C1299@gmail.com> (Howard Melman's message of "Sun, 15 Dec 2019 14:39:16 -0500")
Howard Melman <hmelman@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
next prev parent reply other threads:[~2020-08-25 23:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-14 17:18 bug#38614: 26.3; Info completions in reverse order Howard Melman
2019-12-15 16:06 ` Eli Zaretskii
2019-12-15 19:39 ` Howard Melman
2020-01-03 19:27 ` Howard Melman
2020-08-25 23:09 ` Stefan Kangas [this message]
2020-08-25 23:38 ` Howard Melman
2020-08-26 23:20 ` Stefan Kangas
2020-08-26 23:39 ` Howard Melman
2020-08-27 0:04 ` Stefan Kangas
2020-08-27 0:05 ` Howard Melman
2020-08-27 0:45 ` Stefan Kangas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADwFkmnCaKLwNP89FiSXmz9+aWoc2aUO33hw_LWqeeXDwAecVQ@mail.gmail.com \
--to=stefan@marxist.se \
--cc=38614@debbugs.gnu.org \
--cc=hmelman@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.