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#16604: 24.3.50; False negatives in lisp-completion-at-point Date: Fri, 31 Jan 2014 16:37:23 +0200 Message-ID: <52EBB523.70501@yandex.ru> References: <87d2j8yd12.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 1391179276 2315 80.91.229.3 (31 Jan 2014 14:41:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 14:41:16 +0000 (UTC) Cc: 16604@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 31 15:41:23 2014 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 1W9FHW-0007a9-Tj for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 15:41:23 +0100 Original-Received: from localhost ([::1]:56021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9FHW-0002oT-IE for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 09:41:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9FEQ-000732-QC for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2014 09:38:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9FEI-0004Bd-GZ for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2014 09:38:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9FEI-0004BT-CJ for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2014 09:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W9FEI-0007F1-59 for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2014 09:38: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, 31 Jan 2014 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16604 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16604-submit@debbugs.gnu.org id=B16604.139117905127791 (code B ref 16604); Fri, 31 Jan 2014 14:38:02 +0000 Original-Received: (at 16604) by debbugs.gnu.org; 31 Jan 2014 14:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:42473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9FDm-0007EA-PL for submit@debbugs.gnu.org; Fri, 31 Jan 2014 09:37:31 -0500 Original-Received: from mail-wg0-f44.google.com ([74.125.82.44]:47885) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9FDj-0007E1-SG for 16604@debbugs.gnu.org; Fri, 31 Jan 2014 09:37:28 -0500 Original-Received: by mail-wg0-f44.google.com with SMTP id l18so8837437wgh.11 for <16604@debbugs.gnu.org>; Fri, 31 Jan 2014 06:37:26 -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=BhPVYh48pTRvnr8blWaFWc0S3G/O6IY6raLidLjqfDk=; b=xN50nGTnGTZuGiZDIpgzdCgU39DmfETI1CAlK+XNA1Al5NWS2UebFVmgnrQi1y8owX PaG6oyk7WDsVj4WolG06rwdJYbDGlbzB48Mo0mLbLENiaer2jNv0/iutwlXmFf1XOAQX BGe8DTEXpq/fLb6KBaQISG20MurNP8PW2kkeWxn0qgfUMi+zuknnDMH7sWKdQgQ1yU3x BxO2UosBspw76JTs4TUISMmuTj+x1vGouqDq/fIObjUu2AR2Hu94lZCSPqzaTbLGmtUG smOXpj43D+spRs0sYxoryrCDWOzq8yeC30pnjXqrvUDJPmlRnyUTY9RxZ58UdYrVpn+b HiDg== X-Received: by 10.180.98.165 with SMTP id ej5mr8553017wib.33.1391179046708; Fri, 31 Jan 2014 06:37:26 -0800 (PST) Original-Received: from [192.168.0.94] (static-nbl2-118.cytanet.com.cy. [212.31.107.118]) by mx.google.com with ESMTPSA id hy8sm20054152wjb.2.2014.01.31.06.37.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 Jan 2014 06:37:25 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.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:84356 Archived-At: On 31.01.2014 16:34, Stefan Monnier wrote: >> 3. See it get automatically completed to "coooooooon", even though there >> are many dynamic variables that start with "co". > > Right, the completion first tries locally let-bound vars. It only tries > to complete against global vars once this fails. So this is the intended behavior? I don't like it. I'd rather it offered both as completions, but put the local vars at the top (not sure if that's possible with completion-at-point).