From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#24676: 25.1; `completion-pcm-all-completions' should not reverse order of candidates Date: Mon, 17 Oct 2016 12:29:50 -0400 Message-ID: References: <39f09e8d-8381-4176-917e-35cf12a9ae90@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476721934 10540 195.159.176.226 (17 Oct 2016 16:32:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2016 16:32:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: 24676@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 18:32:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwApc-000234-VW for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 18:32:09 +0200 Original-Received: from localhost ([::1]:34384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwApf-0006qf-4X for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 12:32:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwApZ-0006q6-4x for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:32:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwApW-0003qZ-2Y for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:32:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwApV-0003qV-Vr for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwApV-0007aG-R4 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 12:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2016 16:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24676 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24676-submit@debbugs.gnu.org id=B24676.147672189229118 (code B ref 24676); Mon, 17 Oct 2016 16:32:01 +0000 Original-Received: (at 24676) by debbugs.gnu.org; 17 Oct 2016 16:31:32 +0000 Original-Received: from localhost ([127.0.0.1]:36978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwAp1-0007Za-UF for submit@debbugs.gnu.org; Mon, 17 Oct 2016 12:31:32 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:47240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwAp0-0007ZO-D5 for 24676@debbugs.gnu.org; Mon, 17 Oct 2016 12:31:31 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ADBQALW9BX/3zt92hdGgEBAQECAQEBAYMtAQEBAQEehE23SYYWBAICgWk8EQECAQEBAQEBAV4nhGIBAQMBViMFCws0EhQYDSSIVQi8VQEBAQEGAiWKfYocAQSZWYkkh3EBFYRegwSGC4J2jVU0IIMbgVEghgoBAQE X-IPAS-Result: A0ADBQALW9BX/3zt92hdGgEBAQECAQEBAYMtAQEBAQEehE23SYYWBAICgWk8EQECAQEBAQEBAV4nhGIBAQMBViMFCws0EhQYDSSIVQi8VQEBAQEGAiWKfYocAQSZWYkkh3EBFYRegwSGC4J2jVU0IIMbgVEghgoBAQE X-IronPort-AV: E=Sophos;i="5.30,296,1470715200"; d="scan'208";a="276177695" Original-Received: from 104-247-237-124.cpe.teksavvy.com (HELO pastel.home) ([104.247.237.124]) by smtp.teksavvy.com with ESMTP; 17 Oct 2016 12:31:23 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3C241653D2; Mon, 17 Oct 2016 12:29:50 -0400 (EDT) In-Reply-To: <39f09e8d-8381-4176-917e-35cf12a9ae90@default> (Drew Adams's message of "Wed, 12 Oct 2016 09:56:32 -0700 (PDT)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124596 Archived-At: > Because of this part, at the end of the function, > `completion-pcm-all-completions' reverses the order of the candidates. completion-pcm-all-completions doesn't have any such code. After searching a bit I decided you meant completion-pcm--all-completions. > (let ((poss ())) > (dolist (c compl) > (when (string-match-p regex c) (push c poss))) > (nreverse poss)) Looks good, please install, Stefan