From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Completion at point with empty prefix? Date: Thu, 29 Nov 2012 23:18:30 -0500 Message-ID: References: <874nk89ca4.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354249139 26622 80.91.229.3 (30 Nov 2012 04:18:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2012 04:18:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 30 05:19:11 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 1TeI4C-0003lj-2V for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Nov 2012 05:19:08 +0100 Original-Received: from localhost ([::1]:41977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeI40-0003lE-Ih for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 23:18:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeI3u-0003ky-Nf for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 23:18:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeI3t-0008O8-Sn for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 23:18:50 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeI3t-0008O4-Ly for help-gnu-emacs@gnu.org; Thu, 29 Nov 2012 23:18:49 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TeI3v-0003Xs-Tc for help-gnu-emacs@gnu.org; Fri, 30 Nov 2012 05:18:52 +0100 Original-Received: from 69-196-168-125.dsl.teksavvy.com ([69.196.168.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Nov 2012 05:18:51 +0100 Original-Received: from monnier by 69-196-168-125.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Nov 2012 05:18:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 12 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-168-125.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:hoi82O6R5C/xkEXm6DqZdrKh9Rg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:87966 > 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. Stefan