From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#38614: 26.3; Info completions in reverse order Date: Tue, 25 Aug 2020 16:09:29 -0700 Message-ID: References: <83mubt60an.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27233"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 38614@debbugs.gnu.org To: Howard Melman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 01:10:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAi4w-0006ze-7H for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 01:10:10 +0200 Original-Received: from localhost ([::1]:40482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAi4u-0007LM-QZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Aug 2020 19:10:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAi4o-0007L2-MR for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 19:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAi4o-0001Gs-CE for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 19:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAi4o-00055U-6e for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2020 19:10:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 38614-submit@debbugs.gnu.org id=B38614.159839697719503 (code B ref 38614); Tue, 25 Aug 2020 23:10:02 +0000 Original-Received: (at 38614) by debbugs.gnu.org; 25 Aug 2020 23:09:37 +0000 Original-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 Original-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 Original-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) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 16:09:29 -0700 In-Reply-To: (Howard Melman's message of "Sun, 15 Dec 2019 14:39:16 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186367 Archived-At: 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