From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13322: 24.3.50; `completion-all-sorted-completions': sorting and duplicate deletion Date: Thu, 28 Apr 2016 21:15:36 +0200 Message-ID: <878tzx5yuf.fsf@gnus.org> References: <62F6B49F5A0840038CF7139810B32470@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461870987 25120 80.91.229.3 (28 Apr 2016 19:16:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 19:16:27 +0000 (UTC) Cc: 13322@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 21:16:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1avrQ6-0002TX-7Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 21:16:14 +0200 Original-Received: from localhost ([::1]:50689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avrQ5-0000u3-BE for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 15:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avrPx-0000dA-6l for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 15:16:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avrPt-0005x3-Vl for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 15:16:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avrPt-0005wy-TR for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 15:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avrPt-0004M6-Nk for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 15:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2016 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13322 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13322-submit@debbugs.gnu.org id=B13322.146187094616712 (code B ref 13322); Thu, 28 Apr 2016 19:16:01 +0000 Original-Received: (at 13322) by debbugs.gnu.org; 28 Apr 2016 19:15:46 +0000 Original-Received: from localhost ([127.0.0.1]:53563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avrPe-0004LU-7V for submit@debbugs.gnu.org; Thu, 28 Apr 2016 15:15:46 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:34404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avrPc-0004LF-48 for 13322@debbugs.gnu.org; Thu, 28 Apr 2016 15:15:44 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avrPV-0006rb-Kx; Thu, 28 Apr 2016 21:15:40 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 03 Jan 2013 12:02:41 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:117114 Archived-At: Stefan Monnier writes: >> 1. Please provide for `completion-all-sorted-completions' to sort using >> a function other than what is returned by `cycle-sort-function' from the >> metadata. E.g., an optional arg SORT-FUN. > >> 2. Please make duplicate deletion optional. E.g., an optional arg >> DONT-REMOVE-DUPS. > > Since the completion-all-sorted-completions function just returns the > value of the completion-all-sorted-completions cache when that cache is > populated, it clearly can't take arguments since they'd not always > be obeyed. And as I understand it from recent discussion, it doesn't really matter whether duplicates are removed or not, since they are removed at a later stage. So I'm not seeing anything to be done here. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no