From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#20425: 24.5; completion-at-point not working with prefix starting with '(:' Date: Mon, 27 Apr 2015 00:47:33 -0400 Message-ID: References: <553C134F.4060306@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430110104 11367 80.91.229.3 (27 Apr 2015 04:48:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 04:48:24 +0000 (UTC) Cc: 20425@debbugs.gnu.org To: Alexander Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 27 06:48: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 1Ymaxn-0001U2-2a for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 06:48:11 +0200 Original-Received: from localhost ([::1]:53022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymaxm-0004NV-ER for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 00:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymaxi-0004LI-Kg for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:48:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymaxe-0003b1-K1 for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:48:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymaxe-0003av-GL for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ymaxe-0006x8-9N for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Apr 2015 04:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20425 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20425-submit@debbugs.gnu.org id=B20425.143011006226691 (code B ref 20425); Mon, 27 Apr 2015 04:48:02 +0000 Original-Received: (at 20425) by debbugs.gnu.org; 27 Apr 2015 04:47:42 +0000 Original-Received: from localhost ([127.0.0.1]:40768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmaxJ-0006wQ-KU for submit@debbugs.gnu.org; Mon, 27 Apr 2015 00:47:41 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:20872) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmaxH-0006wA-LC; Mon, 27 Apr 2015 00:47:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRMCqjW/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRi3YCFRQJOgkDA4M+AwkBD4NXBKNjhFg X-IPAS-Result: AgUFAGvvdVRMCqjW/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRi3YCFRQJOgkDA4M+AwkBD4NXBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="117510465" Original-Received: from 76-10-168-214.dsl.teksavvy.com (HELO ceviche.home) ([76.10.168.214]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Apr 2015 00:47:34 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 087186610A; Mon, 27 Apr 2015 00:47:34 -0400 (EDT) In-Reply-To: <553C134F.4060306@web.de> (Alexander Miller's message of "Sun, 26 Apr 2015 00:21:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:102085 Archived-At: tags 20425 notabug thanks > * Start vanilla emacs via emacs -q > * Switch to scratch buffer > * Enter the string '(:backg' > * Toggle completion-at-point (using C-M-i and M-x makes no difference) [ Nitpick: "toggle" is not what you mean to stay. ] > * Emacs will incorrectly report that no matches have been found But this is correct: the scratch buffer is intended for Elisp code, and (:background ...) is not valid Elisp code because there is no :background function (or macro). > The above is just a specific example. In general completion-at-point is > not correctly completing for all of emacs' keywords which start with a > colon if the colon is preceded by '('. Could you provide some other example, where the "colon something" fails to complete, whereas it really should be completed (because indeed, it is not in a position corresponding to a function call)? Stefan