From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Dec 2019 21:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38614@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157635821112094 (code B ref -1); Sat, 14 Dec 2019 21:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2019 21:16:51 +0000 Received: from localhost ([127.0.0.1]:35819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igEmQ-00038v-TN for submit@debbugs.gnu.org; Sat, 14 Dec 2019 16:16:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:36782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igEmP-00038h-79 for submit@debbugs.gnu.org; Sat, 14 Dec 2019 16:16:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47628) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igEmM-0002AT-SV for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 16:16:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igEmL-0004MR-5I for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 16:16:46 -0500 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:34771) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igEmK-0004LD-VO for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 16:16:45 -0500 Received: by mail-qk1-x729.google.com with SMTP id j9so1242359qkk.1 for ; Sat, 14 Dec 2019 13:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :to; bh=CKTLbXbr2H6i6p0iesTWsQvW9dzrsixzPDwQuxcFAyQ=; b=jQbNv81Xxx2Vre/l5sqFSGg9mJ0ctrUDDOywZtqPzSQGw2wfBKvjgITXN+tWPnVs20 eoSATCdlFwXtyuTJgk4pQJ+kf/BTiaV+ljPtXbuvX79kSENz8ZZwC2ivTdnRtF5YaNKf NjhXn+PiGzQ6kRruBQtF+15sbqoCsCxUAW0Ry3LdGTVWLuU8+zUtS3dPlwfGsLJMWsVK 1qpXfTlJWuWKRD5/I5ZQthLLc2RdJflBVu085qz0nB4KVfXgz4nMKWOi2tfN0snaGzGJ G66FLvOXm9cSCHsBoTr7L4IBKUZV2T4BK7YB8IvH2PtoBnNsTJKh9LbGwWpnVYI1cOfV 7a1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:to; bh=CKTLbXbr2H6i6p0iesTWsQvW9dzrsixzPDwQuxcFAyQ=; b=HkmBoiRL0PA9mFwrCc0fJpCSOm7SonMcEpk7MoL6+NZ40R5Beu6/+I3Cvxi663p9Ru /i2kn63JKf9ufQS6aaSTiRBXSD5o+GTvL0nMLsIx9qD+IrlVCVmNcSWm7DJZo+NHTMTp DfNruc/jQipUBEhDo+qAtZwS+RTPFw8Ph4bTgYM+1IW/n0RFbF1r3Q/bcutnoNk1JCNK p04sKtjsk1IpHiQSkWBLqkeAQzRnc3joGU7MR9TEN12f+dqTQOXBQlYRL++GYvGRZZTf BIc7NJMm+HLBZ69tKUKuSHDfwYSTvVHzhkX4VGx6ICYMNpQxop59+nPN+e8aBIDRNXWE Cezg== X-Gm-Message-State: APjAAAUITiUiIMwKdq4Y6f+9/opU1fCDfHoln0C0xHuEG/OQ30kzLAjn EQuEbzltau9fLurVePd0ksrSFHE1 X-Google-Smtp-Source: APXvYqz/y8tWW1fST2SRt8vbRforCOj+1eDcY5NtPTR3mDnSXwyWDNCIqfm/xW6WQptUivq1mDzxNw== X-Received: by 2002:a37:6346:: with SMTP id x67mr19675510qkb.476.1576343936000; Sat, 14 Dec 2019 09:18:56 -0800 (PST) Received: from lumet.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id l37sm4871026qtl.53.2019.12.14.09.18.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 14 Dec 2019 09:18:55 -0800 (PST) From: Howard Melman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Sat, 14 Dec 2019 12:18:54 -0500 Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::729 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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/e= rc... Checking 34 files in = /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/= 3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/e= mulation... Checking 176 files in = /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/= 3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/e= macs-lisp... Checking 24 files in = /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/= 3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/c= edet... Checking 57 files in = /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/= 3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/c= alendar... Checking 87 files in = /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/= 3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/c= alc... Checking 105 files in = /private/var/folders/q0/v8nhk8253wq275jzgwr2628c0000gs/T/AppTranslocation/= 3AF5DBC9-944F-4569-9CE5-149C53A27F04/d/Emacs.app/Contents/Resources/lisp/o= bsolete... Checking for load-path shadows...done Quit [2 times] Mark set Quit [2 times] Configured using: 'configure --with-ns '--enable-locallisppath=3D/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/e= macs-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/e= macs-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)) From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Dec 2019 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Howard Melman Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.157642601218915 (code B ref 38614); Sun, 15 Dec 2019 16:07:02 +0000 Received: (at 38614) by debbugs.gnu.org; 15 Dec 2019 16:06:52 +0000 Received: from localhost ([127.0.0.1]:37067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igWQ0-0004v1-4y for submit@debbugs.gnu.org; Sun, 15 Dec 2019 11:06:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igWPy-0004uj-DQ for 38614@debbugs.gnu.org; Sun, 15 Dec 2019 11:06:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1igWPr-000508-6R; Sun, 15 Dec 2019 11:06:43 -0500 Received: from [176.228.60.248] (port=3283 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1igWPq-0006ha-FJ; Sun, 15 Dec 2019 11:06:43 -0500 Date: Sun, 15 Dec 2019 18:06:24 +0200 Message-Id: <83mubt60an.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Howard Melman on Sat, 14 Dec 2019 12:18:54 -0500) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Howard Melman > 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. 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? From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Dec 2019 19:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.15764387659443 (code B ref 38614); Sun, 15 Dec 2019 19:40:02 +0000 Received: (at 38614) by debbugs.gnu.org; 15 Dec 2019 19:39:25 +0000 Received: from localhost ([127.0.0.1]:37127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igZjh-0002SF-49 for submit@debbugs.gnu.org; Sun, 15 Dec 2019 14:39:25 -0500 Received: from mail-qt1-f171.google.com ([209.85.160.171]:41862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igZjf-0002S2-LO for 38614@debbugs.gnu.org; Sun, 15 Dec 2019 14:39:24 -0500 Received: by mail-qt1-f171.google.com with SMTP id k40so234810qtk.8 for <38614@debbugs.gnu.org>; Sun, 15 Dec 2019 11:39:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NNXqUEuWNGmsR6siqhrGfzPo+y05wxAKLzQiEQE4Fxs=; b=drt1vEfhHWf3aYqydynrA1EeGJNWgu86lQzRqgUR6nwZduRb2SjRGnUMxeqW5gHuA3 gHaSnbdOWQdmxrRTXIWEycDp9aHNvMVCVl1VJ1hpvssPwm62BhGGIYI55m5hje0U/nxg XsZCkt0lZMuQw7nxNUU5n5wUm2J5YNeUtJDS4zkHwGn5u7O0dcJEVI69nCvZA5iY5oNs FfllTtKzGF4IMxZyTW9VL63GE7rWnvlyenvMmAZPt7VTwwp6rDm39ZAZwqrTc8kgWd/I fbBr4mnM/x9YI321DnhuIUl6lgxd2DB3a0AJHNT6JutdfhxCaoKCREiWoJze7JXn5Rud r3lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=NNXqUEuWNGmsR6siqhrGfzPo+y05wxAKLzQiEQE4Fxs=; b=hDLa0KOMFD+tQD4yMTuZyHUqHkJ4sRtRyqgM0Q1d6XGGxBLSTUS3tuSTpNotLBhbx3 ZQFkLRc765N94otUjNwAiTgf/zG3D6PtuvRG0i7Xotf0gqGDosS+8Dl3nMGPZlMWx8XL CPJcBw5oBwFuqrVOx9x0c4YH3IFBswGj6cObNg4ZE4okW5P9v77Iih2JrvYXE7wSd1sn s2ePkQOnRJ3AlSDnYCtFpZTKJ6GN4fvdPZF3MqMpAwHEoZSqoQGHfDvTvZTPgzK8jAa7 FfT+4TRhS6tHWZEabTOa/hQx6nrkLPKY6fNkfTG6D2UB0IVTRuhxAO7hO8VRTO5v+GeD qibw== X-Gm-Message-State: APjAAAVOiMML4zLJSJUI4R12e/trB0Ok0gMhEM6pLSzlhcT43+vO1JJD Q9P5oNoX/l7u37ElpTC9Uk6JvnE1 X-Google-Smtp-Source: APXvYqzT1fZ+XNxTpSLIxWjS7uIB67TogLOJwTzKD7Egys5NUnhheKmCBKVIVbpVfY2hxFRhuQTVKg== X-Received: by 2002:aed:3f88:: with SMTP id s8mr21977000qth.272.1576438758035; Sun, 15 Dec 2019 11:39:18 -0800 (PST) Received: from lumet.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id t11sm5101036qkm.92.2019.12.15.11.39.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Dec 2019 11:39:17 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) From: Howard Melman In-Reply-To: <83mubt60an.fsf@gnu.org> Date: Sun, 15 Dec 2019 14:39:16 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <83mubt60an.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) (Sorry if this is a resend, I don't think I included debbugs in my = original reply) > On Dec 15, 2019, at 11:06 AM, Eli Zaretskii wrote: >=20 >> From: Howard Melman >> Date: Sat, 14 Dec 2019 12:18:54 -0500 >>=20 >> 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. >>=20 >> Sorry this isn't a formatted patch, but a one line fix solves it for = me. >>=20 >> 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. >=20 > 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.=20 Note that's not quite the same thing as I was describing. Ivy has two = sort mechanisms. Ivy displays a list of possible completions (from the = collections argument of completing-read) BEFORE you enter any text = (SUBJECT in your case). There's no need to hit TAB to see the = completions. Then after you enter text it displays completions that are = sorted via a different mechanism (because the various matching = mechanisms and what you type might indicate a different sort order from = the original completions list such as: shorter matches first, prefix = matches first, or just alphabetical). AFAIK, Ivy usually doesn't do a = sort of the initial list because often it's in a useful order other than = alphabetical. It's clearer in the Info-menu case, where my desired order is the order = of the menu items in the info buffer. Using emacs -Q, Info-menu and TAB = shows me an alphabetical list. That tells me that whatever mechanism = it's using is sorting the list alphabetically and not using the original = order of the collection list.=20 Ivy shows me the menu items in reverse buffer order because the original = collection list presented to ivy (via completing-read) is in reverse = order as found in the buffer. Info-complete-menu-item is clearly pushing = onto a list and then not nreversing it as is the common idiom.=20 I got a bit lost following the elisp docs for Programmed Completion but = didn't see any guidelines about the order of the collections intially = returned (Info-complete-menu-item doesn't seem to be setting a = display-sort-function which I think is the mechanism but I got lost). Info uses the same function to build the collection list for both = Info-menu and Info-index. In the Info-index case the order from the = buffer is alphabetical, so Info-complete-menu-item is returning a = collection list in reverse alphabetical order.=20 Info-complete-menu-item is saving the cost of an nreverse. It would be = useful if it returned the items in the order as found in the buffer, = because that order isn't always easily recreated after sorting. In the = Info-menu case, that's a logical order of the menu items. In the = Info-index case, that happens to be alphabetical without the need for an = additional sort. buffer-list returns the buffers in most recently displayed order because = it's useful. I think Info-complete-menu-item should return it's items in = a logical order too (and not the reverse of one) even if some popular = completion mechanisms hide this by always sorting the list = alphabetically before display.=20 Ivy seems to show other initial completions in a useful order, to me it = seems only it's display of Info commands is wrong, because of this = missing idomatic nreverse. Howard= From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2020 19:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.157807963216941 (code B ref 38614); Fri, 03 Jan 2020 19:28:02 +0000 Received: (at 38614) by debbugs.gnu.org; 3 Jan 2020 19:27:12 +0000 Received: from localhost ([127.0.0.1]:41463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inSbH-0004PB-R9 for submit@debbugs.gnu.org; Fri, 03 Jan 2020 14:27:12 -0500 Received: from mail-qk1-f174.google.com ([209.85.222.174]:36057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inSbG-0004Oy-3f for 38614@debbugs.gnu.org; Fri, 03 Jan 2020 14:27:10 -0500 Received: by mail-qk1-f174.google.com with SMTP id a203so34962412qkc.3 for <38614@debbugs.gnu.org>; Fri, 03 Jan 2020 11:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6BO3SOLX0hG4eMQK7Ynmxx+aS2yAAAQ5Av7x0x0hwJQ=; b=e3y2wlLbzCusB9WpETqNZ13M+xajFwrwwQkNA12v6bZ800NWd4EeOBy3YKINot/pxv Iy8D9AMrgaVRoBb1HcoSFSgBNQ0OErr6QbxOpBHAdmISdqWfhDv5/WPN+6c9jSB9sIuj 1ihZDs1VtJDxyXVAoYlzZFIJLZL8T55r9Y9fh15patvg+lYloQ58idUSvuduk9oQZiso jlUNVBU54122XvG96ywn0V7PjNoYeosjHSLHlLxC7bwoRLeisilhhWdPg+MMiB6COy7S ECsDn+zDrUr0HEaa5nML3iONAHqWoJKhNk9Z/jEBoZqx6NiQAaBCWb9aHPRNySYC1Acb 2x/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6BO3SOLX0hG4eMQK7Ynmxx+aS2yAAAQ5Av7x0x0hwJQ=; b=jVJFG+BZ059M7cHoFQLoZo/QeKtVGnFeKDvtzeYFLWFJ8ZLcG85xAsBnDEgSxcNSSb iJhc+ycevbsA0M38e2t9goTC4fT/yeFLqJKskSZlPKg9ONe/6T9hB7i6zKSIQmK0cNwW YpMGnSZwaXF5FCh4a8+o0aSk7DNcMvaafWfkqqXpyp/x1dE1onG0wjsDXFM+opTfIV8T A7rHlYVedOnxbbmQbmPRlg+wFkI1Q5sQpKO5mal546ELsNM07X44xoSZqlENkgBcLTOK FzqIX6UbG5sD9voEydCosarmOJZ5iVfMQvMtBE7Z3uhCvX9Iq71Py1gJH1bIz70auwPF sxJw== X-Gm-Message-State: APjAAAXAvB3LdSw7F5iPy5sQwDZcAeZUSdnjpQY0Ua8pbtyMn1tifQES jSJN9iq7qfa7NcFJcl+DCIP/4r2T X-Google-Smtp-Source: APXvYqx8Tl1so+R3JrJi5ZDlEs+CuuAM6kUKK38zrFLFq7Y932Ujj8kQMajp6TOV+cCn59Rtt35i8g== X-Received: by 2002:a37:98c6:: with SMTP id a189mr72744953qke.500.1578079624515; Fri, 03 Jan 2020 11:27:04 -0800 (PST) Received: from lumet.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id x16sm16888187qki.110.2020.01.03.11.27.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Jan 2020 11:27:04 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) From: Howard Melman In-Reply-To: Date: Fri, 3 Jan 2020 14:27:03 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <83mubt60an.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.11) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I wrote on Sat, 14 Dec 2019: > 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. >=20 > Sorry this isn't a formatted patch, but a one line fix solves it for = me. >=20 > 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. My original fix was in the wrong place. It only worked for info files = that had a single index node (e.g., elisp.info). To work more generally = with files with several index nodes (e.g., emacs.info) the new line = should be just before the cache is updated: (setq completions (nreverse completions)) ; added fix ;; Update the cache. (setq Info-complete-cache (list Info-current-file Info-current-node Info-complete-next-re string completions Info-complete-nodes))) =09 I still hope this is considered. The cost of the nreverse here is small, = and if completion mechanisms sort the list later, they'll find an = already sorted list will sort faster than the degenerate case of sorting = a list already in reverse order. Howard= From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Aug 2020 23:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Howard Melman Cc: 38614@debbugs.gnu.org, Eli Zaretskii Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.159839697719503 (code B ref 38614); Tue, 25 Aug 2020 23:10:02 +0000 Received: (at 38614) by debbugs.gnu.org; 25 Aug 2020 23:09:37 +0000 Received: from localhost ([127.0.0.1]:36457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAi4O-00054V-QM for submit@debbugs.gnu.org; Tue, 25 Aug 2020 19:09:36 -0400 Received: from mail-yb1-f178.google.com ([209.85.219.178]:42933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAi4N-000544-9h for 38614@debbugs.gnu.org; Tue, 25 Aug 2020 19:09:35 -0400 Received: by mail-yb1-f178.google.com with SMTP id a34so167378ybj.9 for <38614@debbugs.gnu.org>; Tue, 25 Aug 2020 16:09:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=+KKytvf+0zZ6j/lhD8LL3+IyHSmFWHPbq541FPqku84=; b=kRYw2AtWEv8UE6TXKUu/FbPFpBPi6t945gG6Ze/2QkCRYpCIRbio0GygDCMH8DxV7u 34xPqzwf/V0gDign3cvqqm02Q5X3w2247CGYOMp12uekx8QiIKKNkpSj9KhJYNTM+GQT F50VyqNTaP8qUEqAD89oeEgls5yRYQDlb0gGABWH8ARKLArLvy/C1qsMH+MBUIofcYg0 8hfN8bdOUgjidVVm82d2PS2rXwcmjzmaj8oXuaBh7f5pBRGYF+h1e9HyPx1OkO+bt0ja qYlpVXRFmfxNIdFJskrYS+/Kuv4N0+ImxVdI2+1j3d29MrQlR/cqlk4rIgqkK09qbmMC wptw== X-Gm-Message-State: AOAM533qsDYByZHaCvzi1wM72b7ltOef1qlSocALBxrZRiN9s0MU/w+M OBSKKIyinFNpamIKEJMg4TNgf8SBVRqlq2LN3hCIC9w+TlE= X-Google-Smtp-Source: ABdhPJxLyV98DnCL5j6m1B1NJk3gfSVGVJgZsUtDm4jVX4MqUEKUtmhHS59NYhOGYh9UA52fYlw2KvogZFk1k5OcYQc= X-Received: by 2002:a25:4609:: with SMTP id t9mr17027197yba.231.1598396969897; Tue, 25 Aug 2020 16:09:29 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 16:09:29 -0700 From: Stefan Kangas In-Reply-To: (Howard Melman's message of "Sun, 15 Dec 2019 14:39:16 -0500") References: <83mubt60an.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Tue, 25 Aug 2020 16:09:29 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Howard Melman 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 From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Aug 2020 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.15983987026980 (code B ref 38614); Tue, 25 Aug 2020 23:39:02 +0000 Received: (at 38614) by debbugs.gnu.org; 25 Aug 2020 23:38:22 +0000 Received: from localhost ([127.0.0.1]:36554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAiWD-0001oW-MK for submit@debbugs.gnu.org; Tue, 25 Aug 2020 19:38:21 -0400 Received: from mail-qv1-f67.google.com ([209.85.219.67]:33167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAiWB-0001oJ-Nl for 38614@debbugs.gnu.org; Tue, 25 Aug 2020 19:38:20 -0400 Received: by mail-qv1-f67.google.com with SMTP id dd12so405283qvb.0 for <38614@debbugs.gnu.org>; Tue, 25 Aug 2020 16:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=87gzzyjFSnJFh9NMtxB+nhzYgd4jKxysaJpXV5RK43U=; b=fNCgvOfY6aIfMvjFMNjy88JMwCk+7upsv2n1xsKMKtrrniZf5evkcKty1NUtqdOfNc XRXLW8IqoX1swQyFs2KBvbcS57GzrfG1o3zbolduHSxaSTissHpvt3Qh3a7kqiY3UmP+ 3Cupvv3j/WqFhgax3lTW54TKsfVKKkBa6TQ1gg3C9MMK1ji4eVxO3oW2kl+l3oauQ2kr yjWlL+SnMXdnrBgRlLuUakgunwW0MTwUt8bYFexfgnRS+dzvZzP2t6BLBCsL6mlLkqBD XrqZtp3JFw2/3sFwllNjv0lxw1YN+8VxuJC1o4C6XDweO/ZLPV0tqFa6UP1e96xmHwhW QE9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=87gzzyjFSnJFh9NMtxB+nhzYgd4jKxysaJpXV5RK43U=; b=fqtfav5ob8vahEcc0OGOdGHkSNqmKRoZGKHcyK785PUa6T4w0ex/+9FD0sxgZwemuW I8nN5Vq1RfWsduHhuPDd8Y30Ut/8WHNDWcuJCznHsqp/vhgXWvE0m7z8HVEnM4nSqz9Z FMxQcMz3reQY5l3dBuFgdGPt1tZ+mJL2XCuJcOcufs+5b47ScC9kFgbdb7m/JKp8Lk6I stuhGlJCJN7pfLZx1iFEUT11USB0LxGoXWUY8reX5GsuqUOuQdFcZ/lq8F+BoHORPU+D liFtDSmB29XI5ZKlK+a6mYlxK9Z/gyXMWTk4VjjHFX/u6sCl9gImHXvIYSwE62Kfekf8 OWnQ== X-Gm-Message-State: AOAM5313dBUZoP2hX05+Gq/yHdZu7lJkHhnVjgb9ZzJkVOuF8NRuDs3d 82rHNKT7VTDOAAJSAIJBZ2yvD2qQG+w= X-Google-Smtp-Source: ABdhPJyi2rjLGUT6GO8ed0T8oYF+46A4m9NJrX8+NkUdpT/cXJCgPwwVQcxgBRQ2pnEjbjO8YMSr8g== X-Received: by 2002:ad4:45b3:: with SMTP id y19mr11789616qvu.10.1598398694063; Tue, 25 Aug 2020 16:38:14 -0700 (PDT) Received: from lumet-ethernet.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id p33sm558399qtp.49.2020.08.25.16.38.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2020 16:38:12 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) From: Howard Melman In-Reply-To: Date: Tue, 25 Aug 2020 19:38:11 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <57154DCC-52F1-4B7A-BDB8-A3586E365C29@gmail.com> References: <83mubt60an.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Aug 25, 2020, at 7:09 PM, Stefan Kangas wrote: >=20 > Howard Melman writes: >=20 >>>> 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. >>>>=20 >>>> Sorry this isn't a formatted patch, but a one line fix solves it = for me. >>>>=20 >>>> 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. >=20 > Won't the proposed change: >=20 > a) Not delete duplicates. No, it adds a line, it doesn't replace it. (Also note my correction of = 3 Jan 2020 that puts the reverse just before the ";; Update the cache." > b) Reverse the list of completions for everyone else (ido, etc.)? No, and I tried to explain it in a previous reply. While I don't particularly know ido code and only know a little of ivy, = I think understand what's happening here. Both ivy and standard emacs = facilities use the list of candidates passed to completing-read, in this = case that's code that's part of info-mode and not an ivy function or an = ido function.=20 Ivy will show a list of candidates immediately, before you type any = input, and once you start typing input, will narrow and sort that list = of candidates (using some criteria). ido (or whatever emacs' default = is) AFAIU doesn't show candidates before you hit TAB and once you do, it = shows a sorted list of matching candidates. The bug here, is that the initial list, generated by info-mode code, the = one ivy shows and ido doesn't, returns the candidates in list in the = reverse order it found them in the buffer (unlike other places that = generate candidate lists). I agree, there's no requirement about the = order of the initial candidates list, but it would be reasonable for the = list, in this case, generated from an info page, to be in the order they = appear in the page, and while base emacs doesn't make use of that order, = ivy would (and possibly helm, I'm not sure). =20 AFAIK users of the standard emacs facilities will see no functional = change by this. There's just the cost of the nreverse, which given the = number of menu entries in an info page should be negligible and in some = cases, like info indexes that are in alphabetical order initially, this = should be faster, because for a list already in reverse alphabetical = order, nreverse and sort could be faster than just sort. Howard= From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Aug 2020 23:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Howard Melman Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.159848404627711 (code B ref 38614); Wed, 26 Aug 2020 23:21:01 +0000 Received: (at 38614) by debbugs.gnu.org; 26 Aug 2020 23:20:46 +0000 Received: from localhost ([127.0.0.1]:41086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB4ij-0007Cs-MB for submit@debbugs.gnu.org; Wed, 26 Aug 2020 19:20:45 -0400 Received: from mail-yb1-f195.google.com ([209.85.219.195]:34185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB4ii-0007CZ-HD for 38614@debbugs.gnu.org; Wed, 26 Aug 2020 19:20:44 -0400 Received: by mail-yb1-f195.google.com with SMTP id u6so1917975ybf.1 for <38614@debbugs.gnu.org>; Wed, 26 Aug 2020 16:20:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=sq9sliMfyZ/Sa94SsfbNe8/Zfa6EeQVsY9iu3VbbyNo=; b=kEAabulKsw0CwbiGiE6P0nBbG6/8oh4aomnr97TgLeEDwTriy7eZWVGZsO3MMcP8g+ U9/kEO9+UGqVWg1skvh+WqVb242SGp66HFQHU7ZclCr9Xl3ZY7vWWpYAr6Dpdxx6G+Ro NCXjVl15wIej8jBKwg1VUXTnLcnIqU50RtvMYe5V8/gwNbvWDvkShLcetTZhLnVvxCJM ijUCDx7e6TPEF1SvOBI8W3GzXDtL7a8xk0zrc24BPEnMyk4O+RLeX53HwqX/ezhpgB7P JCa52afCgc/Hl2odYljYSJHBc82hADaQOZykZvPtQRqL+MfCzxCKhRjLc05ASEIcuc8L GqcQ== X-Gm-Message-State: AOAM531T4gmkA2qfOk5aP2H3rZXTigSkUn9UR7VCg1AaCAZugWvvFrlB ZdpczXmSdG5RKM0IlIsImTlGeyYvEHaqjfeRUwo= X-Google-Smtp-Source: ABdhPJwpqyARWVEmhZHio/HdJis8NgCwnNgHW4FI39TDOm7OOm2/R5cQv37WnDqljzpXeRUi8AT04MRYvpwNVDSV5QQ= X-Received: by 2002:a25:4ed7:: with SMTP id c206mr26033756ybb.129.1598484038926; Wed, 26 Aug 2020 16:20:38 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 26 Aug 2020 16:20:38 -0700 From: Stefan Kangas In-Reply-To: <57154DCC-52F1-4B7A-BDB8-A3586E365C29@gmail.com> References: <83mubt60an.fsf@gnu.org> <57154DCC-52F1-4B7A-BDB8-A3586E365C29@gmail.com> MIME-Version: 1.0 Date: Wed, 26 Aug 2020 16:20:38 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) close 38614 28.1 thanks Howard Melman writes: > While I don't particularly know ido code and only know a little of > ivy, I think understand what's happening here. Both ivy and standard > emacs facilities use the list of candidates passed to completing-read, > in this case that's code that's part of info-mode and not an ivy > function or an ido function. > > Ivy will show a list of candidates immediately, before you type any > input, and once you start typing input, will narrow and sort that list > of candidates (using some criteria). ido (or whatever emacs' default > is) AFAIU doesn't show candidates before you hit TAB and once you do, > it shows a sorted list of matching candidates. > > The bug here, is that the initial list, generated by info-mode code, > the one ivy shows and ido doesn't, returns the candidates in list in > the reverse order it found them in the buffer (unlike other places > that generate candidate lists). I agree, there's no requirement about > the order of the initial candidates list, but it would be reasonable > for the list, in this case, generated from an info page, to be in the > order they appear in the page, and while base emacs doesn't make use > of that order, ivy would (and possibly helm, I'm not sure). > > AFAIK users of the standard emacs facilities will see no functional > change by this. There's just the cost of the nreverse, which given > the number of menu entries in an info page should be negligible and in > some cases, like info indexes that are in alphabetical order > initially, this should be faster, because for a list already in > reverse alphabetical order, nreverse and sort could be faster than > just sort. Thanks for the explanation. I think your reasoning here makes sense. I made the change and tested the default, ido-mode, fido-mode and icomplete. I did not observe any regressions in terms of performance or sort order for any of them. In addition, I have also been bothered by this issue in the past using Ivy, and can confirm that the proposed fix solves the issue. So I have now made that change on the master branch (commit 5a1785d58a). If anyone notices any adverse effects from this change, feel free to revert it. I'm closing this bug report with this message. Best regards, Stefan Kangas From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Aug 2020 23:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.15984852045490 (code B ref 38614); Wed, 26 Aug 2020 23:41:02 +0000 Received: (at 38614) by debbugs.gnu.org; 26 Aug 2020 23:40:04 +0000 Received: from localhost ([127.0.0.1]:41099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB51P-0001QS-KL for submit@debbugs.gnu.org; Wed, 26 Aug 2020 19:40:03 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:44683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB51L-0001Pt-PY for 38614@debbugs.gnu.org; Wed, 26 Aug 2020 19:40:02 -0400 Received: by mail-qv1-f45.google.com with SMTP id r19so1834479qvw.11 for <38614@debbugs.gnu.org>; Wed, 26 Aug 2020 16:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=C1TwyeJWUWkSvIacsNxiYS7NE5VTGwd/6mO5X93rhZw=; b=ERRgqrrHZ/Ri02svDpgl9UsT81fnlTrD0//npptDTyJVvrWw1hYqiroqzByYR5rN4n HU4FGVw9uQtasEiYksyhfbxzdIcErXTx3FpP13wvl/jRji9OqD3pkTtdYp7NlImkJsvx uLyP7KTQ2wdfQYfJwa/OZlQqDSnSLNnhvnbf6WtkppIDPDvEedw5hKVzUped8qofhXU/ JXKyxszFPmB46u7Vag3HYAn6kMPPeo4jQZvz/w3wBkloqbbXwKQ0LkaM68UkAgdgWOEk ts+Jfzf4Nw71DsBKuRRizv50P1UdPFB4e20BQB5AoYjPyrB5hCLYaN70rzTVfecw3XWL Bgeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=C1TwyeJWUWkSvIacsNxiYS7NE5VTGwd/6mO5X93rhZw=; b=l0BwrNBJP6fg8aQSoxNDHu0JQSjoknE0OQfSvnfv5oCQKCiSVt7/mCoTl1xjhX5UQq vxdqR3SyFGC6F+IejSI2d+8zdV8gLm4Yr8PvjArFN9ABavTu71oB6anFdqe3UPhJ2aPK FvX/ChYvv5soTSJAFQc1nt0k95WrZXDSgv2dPThMShYRCKZlYjJ+pZO1djas6bFkbJDD Ijjtl4QevKfPef73OGsQdQhBS2qqYt95HVHlpUadHj9KGaf1v870e5Rsjbw7fTcPLrhZ U51QKr/ib7ELojigdOGB/z8LtbuX35X13fYLletouiYHUYZE8YqBgdMd9aq2MFsU6gt3 3V6Q== X-Gm-Message-State: AOAM531YA57uhfKpbDzci1QNmHdEaedCyXHQh0jaC1q8D9804wYye6jV 5UIivsIfqikUHmKGgiwoWeCEsQTwKlg= X-Google-Smtp-Source: ABdhPJwe2rd0kY8R0i8Ke6sLtKb7FvYRmKc53Gu3oSufLO/kgUKtSTssdDle19XCE8+2t7RVfPmsDw== X-Received: by 2002:ad4:51c8:: with SMTP id p8mr16302358qvq.31.1598485193959; Wed, 26 Aug 2020 16:39:53 -0700 (PDT) Received: from lumet-ethernet.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id b37sm445287qtk.85.2020.08.26.16.39.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2020 16:39:53 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) From: Howard Melman In-Reply-To: Date: Wed, 26 Aug 2020 19:39:52 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <83mubt60an.fsf@gnu.org> <57154DCC-52F1-4B7A-BDB8-A3586E365C29@gmail.com> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Aug 26, 2020, at 7:20 PM, Stefan Kangas wrote: >=20 > I made the change and tested the default, ido-mode, fido-mode and > icomplete. I did not observe any regressions in terms of performance = or > sort order for any of them. >=20 > In addition, I have also been bothered by this issue in the past using > Ivy, and can confirm that the proposed fix solves the issue. >=20 > So I have now made that change on the master branch (commit = 5a1785d58a). > If anyone notices any adverse effects from this change, feel free to > revert it. Thank you for doing this. I have one small comment on your patch. The comment "Sort list = alphabetically." is not correct. The result of adding the call to = nreverse means the list will be in the order the items were found in the = info node. In the case of an index node that will be alphabetically, in = the case of other nodes, it is unlikely to be. Is it the case that this won't show up until Emacs 28.1? Howard= From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 00:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Howard Melman Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.159848668716210 (code B ref 38614); Thu, 27 Aug 2020 00:05:01 +0000 Received: (at 38614) by debbugs.gnu.org; 27 Aug 2020 00:04:47 +0000 Received: from localhost ([127.0.0.1]:41139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB5PL-0004DO-2U for submit@debbugs.gnu.org; Wed, 26 Aug 2020 20:04:47 -0400 Received: from mail-yb1-f177.google.com ([209.85.219.177]:34273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB5PJ-0004DC-Ab for 38614@debbugs.gnu.org; Wed, 26 Aug 2020 20:04:45 -0400 Received: by mail-yb1-f177.google.com with SMTP id u6so1967149ybf.1 for <38614@debbugs.gnu.org>; Wed, 26 Aug 2020 17:04:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=qZ33ce6RgvphvZ3dVV0ux+ag/XWBM0j2k+S2Dgi1HgQ=; b=s3jDnrrqcDdSt1/PuRVekl3p4ygW0tBdfvkVrxEb73CoeQHvSbQZvRatBGzwhmjVU6 xKL8/R70Me4bHsam44PpP+lYG0pSiiDZbkLdsRNrYXA0PsjSf5U3EUWXItAyd+f3j/zn E+w3WFcspKt6xigXhj3E0A5j+o5QNv/tVIquFo9PMUlGl6H8pGQKpJJMTcXB8pBdqzG8 AsYqPkjUoHr3Rig6zNiSsJQKNs3SEsrFANgiGt/yo1UVk40VbrpF/Ssoynuuk2y/st1s fkkkwjDgkLX/ob5qRCMbCyutt84Z7K1awI34M/ccjAFIWoHl99eSEep1YItonw6bU/cD tGWQ== X-Gm-Message-State: AOAM532bPhAT4FjD0PHtYj0Y8BwYJiOY07dwSsr2aVlV9+qtqpUbLKJ1 JJym6Dfmt73k47JNhHAIfaUKYrSnEYwqNS2mUPM= X-Google-Smtp-Source: ABdhPJxd/GtmR4Eqnpoa3K5miFw6jJtJ/LiTg5oO6wOMX76rOl4hzuuv+UvlTzXZs1j1DQ4dBLUtP5J15w8y+NZFX94= X-Received: by 2002:a25:4609:: with SMTP id t9mr24175565yba.231.1598486679829; Wed, 26 Aug 2020 17:04:39 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 26 Aug 2020 17:04:39 -0700 From: Stefan Kangas In-Reply-To: References: <83mubt60an.fsf@gnu.org> <57154DCC-52F1-4B7A-BDB8-A3586E365C29@gmail.com> MIME-Version: 1.0 Date: Wed, 26 Aug 2020 17:04:39 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Howard Melman writes: > I have one small comment on your patch. The comment "Sort list > alphabetically." is not correct. The result of adding the call to > nreverse means the list will be in the order the items were found in > the info node. In the case of an index node that will be > alphabetically, in the case of other nodes, it is unlikely to be. Hmm, indeed. I do want some kind of explanation for why we want to do an nreverse there. Would this be more accurate? ;; Arrange list to be in order found in node. > Is it the case that this won't show up until Emacs 28.1? Yes. From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 00:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.159848673416306 (code B ref 38614); Thu, 27 Aug 2020 00:06:02 +0000 Received: (at 38614) by debbugs.gnu.org; 27 Aug 2020 00:05:34 +0000 Received: from localhost ([127.0.0.1]:41143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB5Q6-0004Ew-B6 for submit@debbugs.gnu.org; Wed, 26 Aug 2020 20:05:34 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:36566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB5Q4-0004Ej-Ks for 38614@debbugs.gnu.org; Wed, 26 Aug 2020 20:05:33 -0400 Received: by mail-qt1-f173.google.com with SMTP id t23so3343544qto.3 for <38614@debbugs.gnu.org>; Wed, 26 Aug 2020 17:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rt8FSxiSnlKPn0eiclvg34V0bXdA0LJlmbieAkRDz4s=; b=TyUrEfz1/vihsOqyPN7SKYiQSUU3VQI7U1QukIYRysaEdxwV7PjAlHRs6lCE+dhb1e YhYYiPt+h8MkBUtcvXtcToVHYYQMjKHdrPOsFiRr63fCzYOq4NYem/DkK3g7Az9srYpV RxcXx9Nf/wkBDwAcKwwHqBepbaOac5JzD8k7DtaHxxEpkpthwG4unH/RzGyWimmGVlj5 TlnJopOzn0LsAW48PnpX4fQfSYUjWnZVQ4diBpOWGuFcaqaf7T+9ymVLHEKNNUkzf2D4 8t2wRrF2P7vvFsbwXCLE/M8pV1j67T+jNLqTe4PBu3A0hYnky1+kYeosM5e0D3meO/xg WqJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=rt8FSxiSnlKPn0eiclvg34V0bXdA0LJlmbieAkRDz4s=; b=OAvQI6ZQUj1xeZtKpIhi5N/y3NGS9l12faJ6J6J4h3KpFn/OqcU5XqqxfiPSkuutF7 V0xzjaD8JCfNm2dOE7njfr3I249CWoaofkCzdX1ygE0O616WRxM89eYtjEBIqGR6g6T6 AH4psUkzOYIPDzx1wobrEFc5/YlKTSuECkDFqmAyMbqc6W6/vcxbfxdoLbw38s8bLUYm oMLoACFqrHldprCgquKyN7jG0uDJsBixINfigyZqUhbW1aU9zdBnPfQhEMgA+60a/YbR 6cqKLzUYQyZV77npLnkSYY5YS9gN4a9WehiqiUBoNjLwrAfXQmlPweratzX/XQjVtvzr qeKg== X-Gm-Message-State: AOAM531suG9IG90Aww6FPK+G/0mWMeOBSMsD6ag7N8rK689Dbmlnygs8 XFJkgWXqzKyfSxk1Xn4U3/roKGU+kJc= X-Google-Smtp-Source: ABdhPJzJpYa1wssc/RXunbrjPET829f1mhZBEqjphRvu35c2gAB5VmUT8Bu9s1cRMhxNVlXCaBqYng== X-Received: by 2002:ac8:6048:: with SMTP id k8mr16825049qtm.143.1598486727231; Wed, 26 Aug 2020 17:05:27 -0700 (PDT) Received: from lumet-ethernet.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id x28sm518466qki.55.2020.08.26.17.05.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2020 17:05:26 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) From: Howard Melman In-Reply-To: Date: Wed, 26 Aug 2020 20:05:25 -0400 Content-Transfer-Encoding: 7bit Message-Id: References: <83mubt60an.fsf@gnu.org> <57154DCC-52F1-4B7A-BDB8-A3586E365C29@gmail.com> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Aug 26, 2020, at 8:04 PM, Stefan Kangas wrote: > > Hmm, indeed. I do want some kind of explanation for why we want to do > an nreverse there. Would this be more accurate? > > ;; Arrange list to be in order found in node. Perfect. Howard From unknown Sun Jun 22 19:07:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38614: 26.3; Info completions in reverse order Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Aug 2020 00:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Howard Melman Cc: 38614@debbugs.gnu.org Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.159848914119747 (code B ref 38614); Thu, 27 Aug 2020 00:46:02 +0000 Received: (at 38614) by debbugs.gnu.org; 27 Aug 2020 00:45:41 +0000 Received: from localhost ([127.0.0.1]:41152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB62v-00058R-En for submit@debbugs.gnu.org; Wed, 26 Aug 2020 20:45:41 -0400 Received: from mail-yb1-f175.google.com ([209.85.219.175]:44520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kB62r-00058B-KA for 38614@debbugs.gnu.org; Wed, 26 Aug 2020 20:45:39 -0400 Received: by mail-yb1-f175.google.com with SMTP id i10so1990595ybt.11 for <38614@debbugs.gnu.org>; Wed, 26 Aug 2020 17:45:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=kvR47EcqJXamjqpFJSNbQyeCn85JOiVplb1PD0jgKmA=; b=cm/C8BSKHDMcUS7zLtKewmo1IXdmmEi9Pb9gQ8VJJwIMCiW4ymWTpjXIg58erPyAsk fp2bgJoMyDXDrdm32eHVG97kfLTwJUeyEHUGJycgo+EDcqPwh+Q2sabj2y7VNaPy7Vs/ j+IIl8h/Cf+NxQj6atV5YBHiNKhVTHIxOlkZ+mp2ZHFSGN3JoJzothRGHzenNM22axqo 4muZvSsBngAOK97NVeeVuisJ2GkaQzB/VM3ZSQ+ZuPtkBqITdGk0YqR5nFolLsMF20rT 7txM2jpFWUFjD/qZkuHnGflMqtWGDk2dgRaQfQp7XJ0u8qqrw/zmSep6ONA/aAq9Sn+r 08qg== X-Gm-Message-State: AOAM533o6s3gX9HhmBm0oBK35dgI1+CWcYydyLCeOSyIl5XuJTjQELKM +LG1ebcGUu0/VGZVy9p/FTA2fWJW5OsGerbkIqI= X-Google-Smtp-Source: ABdhPJy52UxsnyE1PopawDD3dGyKkDBCZW+xjep7/aqRt2bYf1dglT/nX2Uft8XvjXJnVLdkncRjGysC61orfpDZE3I= X-Received: by 2002:a5b:410:: with SMTP id m16mr24286022ybp.309.1598489132109; Wed, 26 Aug 2020 17:45:32 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 26 Aug 2020 17:45:31 -0700 From: Stefan Kangas In-Reply-To: References: <83mubt60an.fsf@gnu.org> <57154DCC-52F1-4B7A-BDB8-A3586E365C29@gmail.com> MIME-Version: 1.0 Date: Wed, 26 Aug 2020 17:45:31 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Howard Melman writes: >> ;; Arrange list to be in order found in node. > > Perfect. Thanks, pushed.