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.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Howard Melman <hmelman <at> gmail.com> To: bug-gnu-emacs <at> gnu.org Subject: 26.3; Info completions in reverse order Date: Sat, 14 Dec 2019 12:18:54 -0500
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. Howard In GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-09-02 built on builder10-14.porkrind.org Windowing system distributor 'Apple', version 10.3.1671 Recent messages: Checking 70 files in /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/erc... Checking 34 files in /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/emulation... Checking 176 files in /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/emacs-lisp... Checking 24 files in /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/cedet... Checking 57 files in /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/calendar... Checking 87 files in /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/calc... Checking 105 files in /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/obsolete... Checking for load-path shadows...done Quit [2 times] Mark set Quit [2 times] Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: ivy-mode: t wrap-region-global-mode: t wrap-region-mode: t beacon-mode: t magit-todos-mode: t global-magit-file-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t outline-minor-mode: t pyvenv-mode: t shell-dirtrack-mode: t global-hl-todo-mode: t hl-todo-mode: t which-key-mode: t which-function-mode: t show-paren-mode: t recentf-mode: t diredfl-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /Users/hmelman/.emacs.d/elpa/seq-20151121.1017/seq hides /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/emacs-lisp/seq /Users/hmelman/.emacs.d/elpa/let-alist-1.0.6/let-alist hides /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/emacs-lisp/let-alist Features: (ange-ftp tramp-ftp magit-bookmark bookmark pp shadow sort mail-extr emacsbug sendmail counsel xdg swiper jka-compr face-remap lisp-mnt notes ivy-rich ivy delsel colir color ivy-overlay ace-link avy rg vc vc-dispatcher rg-info-hack rg-menu rg-ibuffer rg-result wgrep-rg wgrep rg-history rg-header ibuf-ext ibuffer ibuffer-loaddefs wrap-region expand-region text-mode-expansions the-org-mode-expansions python-el-fgallina-expansions er-basic-expansions expand-region-core expand-region-custom beacon symbol-overlay magit-todos pcre2el rxt re-builder magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process magit-mode git-commit magit-git magit-section magit-utils crm log-edit message rmc puny rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp server f async org-element avl-tree generator org-location-google-maps org-agenda google-maps google-maps-static url-util google-maps-geocode google-maps-base org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-R ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs visual-regexp dired-quick-sort hydra lv savehist ls-lisp dired-x python-black reformatter yasnippet elec-pair flymake-proc flymake warnings thingatpt company-capf company pcase help-fns radix-tree elpy edmacro kmacro elpy-rpc pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-shell elpy-profile elpy-django s elpy-refactor subr-x python tramp-sh tramp tramp-compat tramp-loaddefs trampver shell pcomplete parse-time json map ido grep compile comint ansi-color files-x etags xref project ring cus-edit hl-todo which-key dim transient cl-extra help-mode format-spec browse-url exec-path-from-shell find-func dash saveplace which-func imenu paren recentf tree-widget gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit diredfl dired dired-loaddefs cus-start cus-load finder-inf rx advice info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 611063 284115) (symbols 48 50893 46) (miscs 40 1505 180) (strings 32 163440 32697) (string-bytes 1 4837255) (vectors 16 80740) (vector-slots 8 1508008 87522) (floats 8 415 609) (intervals 56 4828 0) (buffers 992 15))
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.