From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: Completion at point with empty prefix? Date: Fri, 30 Nov 2012 19:32:51 +0400 Message-ID: <878v9jcdi4.fsf@yandex.ru> References: <874nk89ca4.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354289598 22246 80.91.229.3 (30 Nov 2012 15:33:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2012 15:33:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 30 16:33:30 2012 Return-path: Envelope-to: geh-help-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 1TeSag-0004XQ-IO for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Nov 2012 16:33:22 +0100 Original-Received: from localhost ([::1]:53143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeSaU-0003Rg-Vz for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Nov 2012 10:33:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeSaL-0003RI-1s for help-gnu-emacs@gnu.org; Fri, 30 Nov 2012 10:33:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeSaJ-000786-VE for help-gnu-emacs@gnu.org; Fri, 30 Nov 2012 10:33:00 -0500 Original-Received: from mail-la0-f41.google.com ([209.85.215.41]:52928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeSaJ-00077z-JK for help-gnu-emacs@gnu.org; Fri, 30 Nov 2012 10:32:59 -0500 Original-Received: by mail-la0-f41.google.com with SMTP id m15so547673lah.0 for ; Fri, 30 Nov 2012 07:32:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=L47WRaBM/XBYsEYJkxv6vtmndVycqN89a128/PV0oEk=; b=FyEtKa28o1YGMLVVcXoJjzk66M2Z29dpV8mAjj5hOtDbcZlUMO2ND6hFRem1fJaTWj zW2XUxArFhRSMKcyV8FfNWoSbzV7BEru7RsgIFC9lUt17GkxUgeEJ0bkdc/+LyhkgQCf 1PWsSFxJJX09psLUCzCb0FjM3SgBXe4e9bliOzeTNRtMCQdGpK8o1CKlLzbjs8XcHRMM s+2LtI+cGG3PXIWMKdEwdfXodABSNXaxNTfMzV9n06pD/1hMpCvMTeaKWxQf3zuDUPaf uNIKJudUqDg2MLQ7jDnnnEdOTacdtZyQ+Z81EYPv2ZkLtz+yu5NgGVTWmXpZEMWehxTC Gd4Q== Original-Received: by 10.112.14.107 with SMTP id o11mr978439lbc.98.1354289578146; Fri, 30 Nov 2012 07:32:58 -0800 (PST) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPS id m3sm2224288lbb.13.2012.11.30.07.32.55 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Nov 2012 07:32:56 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Thu, 29 Nov 2012 23:18:30 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87971 Archived-At: Stefan Monnier writes: >> How do I set that up? I have a completion-at-point function working, but >> if START is the same as END in the returned list, `completion-at-point' >> just says "No symbol here". > > That doesn't sound right. START==END should work correctly. > > "No symbol here" sounds like an error returned by thingatpt.el, which is > not used by any generic part of the completion code, AFAIK. > IOW, I suspect you have a bug in your completion-at-point-function. Indeed, that was the problem. Thanks for the help. --Dmitry