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 03:02:21 +0200 Message-ID: <52A1221D.90501@yandex.ru> References: <87li776gym.fsf@yandex.ru> <87pppcasli.fsf@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 1386291796 6535 80.91.229.3 (6 Dec 2013 01:03:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2013 01:03:16 +0000 (UTC) Cc: Leo Liu , 11906@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 06 02:03:20 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 1VojpA-0003Lj-DC for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2013 02:03:20 +0100 Original-Received: from localhost ([::1]:56866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vojp9-0008HC-Kr for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 20:03:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vojoz-0008Gu-KC for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 20:03:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vojos-00048y-9H for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 20:03:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vojos-00048u-5Y for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 20:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vojor-0006zT-LV for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 20:03:01 -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 01:03: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.138629174826816 (code B ref 11906); Fri, 06 Dec 2013 01:03:01 +0000 Original-Received: (at 11906) by debbugs.gnu.org; 6 Dec 2013 01:02:28 +0000 Original-Received: from localhost ([127.0.0.1]:60823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VojoJ-0006yR-Uj for submit@debbugs.gnu.org; Thu, 05 Dec 2013 20:02:28 -0500 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:57501) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VojoH-0006yH-Ig for 11906@debbugs.gnu.org; Thu, 05 Dec 2013 20:02:26 -0500 Original-Received: by mail-wg0-f49.google.com with SMTP id x12so19514wgg.4 for <11906@debbugs.gnu.org>; Thu, 05 Dec 2013 17:02:24 -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=wMcmc6++NLHwPOIO36mWRBsolehJGyHbBM9BHrteLeg=; b=L6RBIa5pxFpEhqwBTmnbMKA7cYb2o7JT8nLTOSiD/NnquOsEWpU9z1h+fGtY2TMhlQ pZz846WW1LoAwTkCp1Du56laQH7S0Wqr06F9lrmjFMJvJ675JIoTgYMFRiwXFfBRYh4g uoA+AJAXUE6gXui+psGl1599Mt2+Im0dakwx3xvkofCSW1oMEUS4JSYAzJhz/uDNIeFK HB3EUd8hKTVvdV4btQwZ6W2AWeRzS6KO20/l3hS94zJOwTvoBvlpGqN1s2HrRf+LFv96 pMYp4Nx+TZX+DlzlXxIHwB8MiuztpqqPqHEq2yhLD2HjY1UrnyQMD0DQ0RYWr2ZCSnOK U/gg== X-Received: by 10.194.1.139 with SMTP id 11mr566548wjm.33.1386291744767; Thu, 05 Dec 2013 17:02:24 -0800 (PST) Original-Received: from [192.168.10.2] ([62.228.136.233]) by mx.google.com with ESMTPSA id w20sm1269926wia.5.2013.12.05.17.02.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Dec 2013 17:02:23 -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:81482 Archived-At: On 05.12.2013 06:33, Stefan Monnier wrote: > Looks OK, thank you. Installed, seems to work fine. > We may want to extend it at some point with > a predicate that can test if the cache is stale, but for now it's > probably good enough. Probably, but for its primary usage (amortizing the 2-3 lookups `completion-at-point' does) even the `string-prefix-p' check is redundant, just as long as we create a new completion-table each time our completion-at-point function is called, and not cache it in a var. Leo, do you consider this bug fixed now, or would you like to provide a reproduction scenario for the ObjC selector completion cycling problem, mentioned in the initial report?