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#11906: 24.1; completion-at-point failures Date: Fri, 06 Dec 2013 06:32:13 +0200 Message-ID: <52A1534D.3000902@yandex.ru> References: <87li776gym.fsf@yandex.ru> <87pppcasli.fsf@yandex.ru> <52A1221D.90501@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386304400 1124 80.91.229.3 (6 Dec 2013 04:33:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2013 04:33:20 +0000 (UTC) Cc: 11906@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 06 05:33:24 2013 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 1Von6R-0001iQ-Lb for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2013 05:33:23 +0100 Original-Received: from localhost ([::1]:57288 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Von6R-0007pG-7l for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 23:33:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Von6H-0007n3-77 for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 23:33:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Von67-0007Wt-5f for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 23:33:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Von67-0007Wo-15 for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 23:33:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Von65-0003lg-Pr for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 23:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2013 04:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11906 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11906-submit@debbugs.gnu.org id=B11906.138630434114431 (code B ref 11906); Fri, 06 Dec 2013 04:33:01 +0000 Original-Received: (at 11906) by debbugs.gnu.org; 6 Dec 2013 04:32:21 +0000 Original-Received: from localhost ([127.0.0.1]:32776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Von5Q-0003kg-2U for submit@debbugs.gnu.org; Thu, 05 Dec 2013 23:32:20 -0500 Original-Received: from mail-wg0-f44.google.com ([74.125.82.44]:60093) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Von5O-0003kY-CA for 11906@debbugs.gnu.org; Thu, 05 Dec 2013 23:32:18 -0500 Original-Received: by mail-wg0-f44.google.com with SMTP id a1so140922wgh.35 for <11906@debbugs.gnu.org>; Thu, 05 Dec 2013 20:32:17 -0800 (PST) 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=D4Ddy3UIOySs5+kOpaZAaFbLY7Tvib/CBCcjaeu94Tg=; b=SR6afuVHZB70SikiREjwoPumr2B5BjP8Tt5Egu89v66nEd3P8YuvQExtYulru0OWmd PJp/DOzylhPWLsfb6pNnEdL9u1jItUA+NEL7mXYVAJGjjvND951BTWaR7DbcrHw657qT x7boNaZ1WAv+tHVZsne2bGtSVG88I/lxje6tQx37zNZuf2TMqaGXI0IWjGtmCDq775PR o6Bw1+YHpMDepNpV3i2vxi4VBRqrBpB2F9yHjsc1pp6ldiRg544s89cdySyKp5py/1ex nxylVxv2TSBVv1+LnydLwX4HPb+AvYZ2EXxMwiRhEIKfKfzUOVthrpb+n8whIn9ZzJQi j51w== X-Received: by 10.180.12.70 with SMTP id w6mr617719wib.4.1386304337204; Thu, 05 Dec 2013 20:32:17 -0800 (PST) Original-Received: from [192.168.10.2] ([62.228.136.233]) by mx.google.com with ESMTPSA id dn2sm2476699wid.1.2013.12.05.20.32.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Dec 2013 20:32:16 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 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:81490 Archived-At: On 06.12.2013 06:00, Leo Liu wrote: > The code in minibuffer.el knows perfectly well when it doesn't need a > completion table and should provide a way to notify > completion-at-point-functions so that they can simplify ignore such > computation. I don't understand what you mean by "doesn't need a completion table". Could you give an example? If some function doesn't need it, why does it use it? There should be no need to notify anything. Or do you mean that instead of the "full" table, it just requires one match (where `try-completion' is used)? It may reduce the amount of computation performed by the backend function, but not always by much.