From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25995: 26.0.50; Mismatch between documented and actual behaviour of icomplete Date: Tue, 20 Jun 2017 22:50:45 -0400 Message-ID: <87d19yqcje.fsf@users.sourceforge.net> References: <87a88yveuj.fsf@debian> <87shmm823i.fsf@users.sourceforge.net> <93815f6a-22a9-f8b5-2583-5b8bd9906d48@yandex.ru> <87injsr6yz.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498014242 10714 195.159.176.226 (21 Jun 2017 03:04:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Jun 2017 03:04:02 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: 25995@debbugs.gnu.org, Alexis To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 21 05:03:57 2017 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 1dNVvx-0002Ya-EF for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jun 2017 05:03:57 +0200 Original-Received: from localhost ([::1]:51594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNVw2-00025A-KY for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jun 2017 23:04:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNViX-0007Qo-RQ for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2017 22:50:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNViU-0002yu-R2 for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2017 22:50:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56026) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNViU-0002yg-Nn for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2017 22:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dNViU-00024y-Fg for bug-gnu-emacs@gnu.org; Tue, 20 Jun 2017 22:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jun 2017 02:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25995 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 25995-submit@debbugs.gnu.org id=B25995.14980133617938 (code B ref 25995); Wed, 21 Jun 2017 02:50:02 +0000 Original-Received: (at 25995) by debbugs.gnu.org; 21 Jun 2017 02:49:21 +0000 Original-Received: from localhost ([127.0.0.1]:58703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNVhp-00023x-18 for submit@debbugs.gnu.org; Tue, 20 Jun 2017 22:49:21 -0400 Original-Received: from mail-it0-f68.google.com ([209.85.214.68]:33915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNVhj-00023W-SC; Tue, 20 Jun 2017 22:49:16 -0400 Original-Received: by mail-it0-f68.google.com with SMTP id y134so4998166itc.1; Tue, 20 Jun 2017 19:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=T7vsp+GuE9Sag+GMCNtjZksZhddx6CLBwWb2kDQMm+0=; b=JWR3KnjgP9mtoImX4AggJbXa4RN9npklh7pEbtBPoKg7I0o6mikhgRRKmZMPu64bZb njYremh6zXZHLRt4HMq8p8p6xV1YGwPj0kvtZazTOYnxwkk1NQfbQojfYuOukX4DT+vP /aww64j9hOFq97rGPB3PhaYPR8RTuhHYHW+l3u3NnFWeA+gsg2uNKjzl6u6HxB+GZxC/ D3wjzvKI6LyQ+f6zQKPZFaK/gLn9E5uPyu0vS5cNNqW89VxaajGkAbR3+G1qdxnkhGGf BEX2AUwypLC25CppBgsofhzjXsPMO5zEc5aOwPbOFYLZ16l4qrypqLUigUuoF8Sn+pNU K3QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=T7vsp+GuE9Sag+GMCNtjZksZhddx6CLBwWb2kDQMm+0=; b=X6wCj9fXCUmNsALErtlkWXV3URBVRiJhLURIJXwSTP4VmXpSk3OqCaHlbLX5BVqGJz l4t1tSThdmlbBo0f9cEtIHw3xdpdNHg/AqX0nXEpPAgmmnkUuZzvqZ5t9DacY8atYBVH xPiivsoJQpkRh9GLsbAJrbszf1GT/Ly2M7fMsSV5NaEqPc9b90bh3zK0DuakKhJNPorD 0fRxpgp3a1yC7zghZrLVBFhLHduFjkDATuv736M0QVHSfeCMR5Rbcon2QzgbryKQYJrK 0Vxo30Tj+1OM3umRk+WZxklWN9xcbEsns9GpswyvKm7DMiykiKvRCtYoK+aPZ524tqRg u//A== X-Gm-Message-State: AKS2vOwBAcyBO3y7Bpu5GKurQshhlwJpyAEJQD/ne26/K3K6Py0tQFuh RIvhkUJgZa8evVdr X-Received: by 10.36.121.216 with SMTP id z207mr6523114itc.86.1498013350049; Tue, 20 Jun 2017 19:49:10 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 86sm318298ioj.8.2017.06.20.19.49.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jun 2017 19:49:09 -0700 (PDT) In-Reply-To: (Dmitry Gutov's message of "Wed, 21 Jun 2017 05:04:51 +0300") 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:133793 Archived-At: tags 25995 fixed close 25995 26.1 tags 24676 fixed close 24676 26.1 quit Dmitry Gutov writes: > When running it interactively, however (M-x eval-buffer, also starting > with 'emacs -Q'), I'm getting consistently opposite results: Ah, you're measuring interpreted code which will penalize the open-coded loop more than the `cl-delete-if' call which has the loop tucked away (and compiled). > In any case, nreverse barely affects the runtime, so please go ahead > and push the patch. Thanks! Pushed to master [1: 1ed2086a03], also fixes the same issue for `completion-pcm--all-completions' (Bug#24676). [1: 1ed2086a03]: 2017-06-20 22:44:24 -0400 Keep order of completion candidates (Bug#25995, Bug#24676) http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1ed2086a03a5f33482d2f184e57dad9e6a9d25d8