From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#20365: 24.5; all-completions returns duplicates for Info-read-node-name-1 Date: Sun, 19 Apr 2015 20:12:40 +0300 Message-ID: <5533E208.9040106@yandex.ru> References: <87egnhfmcd.fsf@gmail.com> <5533DB54.8000000@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1429463606 7286 80.91.229.3 (19 Apr 2015 17:13:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Apr 2015 17:13:26 +0000 (UTC) Cc: 20365@debbugs.gnu.org To: Oleh Krehel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 19 19:13:13 2015 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 1YjsmM-0000DG-NN for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Apr 2015 19:13:10 +0200 Original-Received: from localhost ([::1]:49161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjsmL-0002Qp-QJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Apr 2015 13:13:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjsmI-0002Pv-5b for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2015 13:13:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjsmE-0004ub-V5 for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2015 13:13:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjsmE-0004uX-SS for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2015 13:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YjsmE-0001im-LJ for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2015 13:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Apr 2015 17:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20365 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20365-submit@debbugs.gnu.org id=B20365.14294635716576 (code B ref 20365); Sun, 19 Apr 2015 17:13:02 +0000 Original-Received: (at 20365) by debbugs.gnu.org; 19 Apr 2015 17:12:51 +0000 Original-Received: from localhost ([127.0.0.1]:60862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yjsm2-0001hz-Kb for submit@debbugs.gnu.org; Sun, 19 Apr 2015 13:12:50 -0400 Original-Received: from mail-wi0-f180.google.com ([209.85.212.180]:35629) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yjsm0-0001hn-L8 for 20365@debbugs.gnu.org; Sun, 19 Apr 2015 13:12:49 -0400 Original-Received: by widdi4 with SMTP id di4so73439363wid.0 for <20365@debbugs.gnu.org>; Sun, 19 Apr 2015 10:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ptKv/OTOhBjlqbvMpqd9pHv0cyx/1CUmNCH+Fq5Vp68=; b=D79ltPGNnHH4LJndRCb/UJ/zz5JHbO8Vy3dDkMbrhcMg3AEyyNdGn5UP0u5AC4SriW H8Z3taEDDXHeh4TEVMK4lkUbYSWUcc0A/Y8Cn9M5nu/ICk1iPRJuWnDUujg3gCyqvPKU 9cgsqs0PtV6D7zofFShd++q2xAuoPatzZGli6FUHCxarG5h/kgRaKmTYqwahgqIKu35U jD+wyc9j/UwvXEi9PW/zjmClZN1SYcl2x5w0U6+2Nita+66Bca+2xhbJ2bcMi/gVHSJ6 y8/nizg5ckWfLdk0GMMZlOfBPaCPlix/DmMHtrb7LPXVYvfxhGdpdujwOtIgIaKDxuJb ELOw== X-Received: by 10.194.77.180 with SMTP id t20mr24286242wjw.115.1429463563273; Sun, 19 Apr 2015 10:12:43 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id gi17sm13541404wjc.8.2015.04.19.10.12.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Apr 2015 10:12:42 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101730 Archived-At: On 04/19/2015 08:00 PM, Oleh Krehel wrote: > No problem: no completion package will complain if you don't pass it duplicates. > Then it's just a matter of fixing the offening callers of completion one by one. Good luck with that. > Actually, 0.08 is a lot when you consider that I would call this after > each key press (in case when the collection is a function, not for the > static list). The sluggishness would be perceptible even for a > relatively slow typist. And this is only the overhead, there's also > actual computing to be done. There's no reason not to avoid this > overhead cost. It's only 80ms as long as the list is unfiltered. Type one or two chars - and the already small delay disappears into nothing.