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#10546: completion-at-point bug Date: Sun, 22 Jan 2012 16:22:14 -0500 Message-ID: References: <4F171490.8000704@online.de> <4F1C18CA.8060505@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327267381 18019 80.91.229.12 (22 Jan 2012 21:23:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2012 21:23:01 +0000 (UTC) Cc: 10546@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 22 22:22:56 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rp4sK-000576-0Z for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jan 2012 22:22:56 +0100 Original-Received: from localhost ([::1]:50162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp4sJ-0003Hl-Id for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Jan 2012 16:22:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp4sH-0003Hg-3J for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 16:22:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp4sF-0004z1-3r for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 16:22:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp4sF-0004yx-2I for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 16:22:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rp4sP-0006um-ME for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2012 16:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jan 2012 21:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10546 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10546-submit@debbugs.gnu.org id=B10546.132726736626559 (code B ref 10546); Sun, 22 Jan 2012 21:23:01 +0000 Original-Received: (at 10546) by debbugs.gnu.org; 22 Jan 2012 21:22:46 +0000 Original-Received: from localhost ([127.0.0.1]:40255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp4s9-0006uK-NT for submit@debbugs.gnu.org; Sun, 22 Jan 2012 16:22:45 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:52641) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rp4s7-0006u7-R7 for 10546@debbugs.gnu.org; Sun, 22 Jan 2012 16:22:44 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAKJ9HE9MCos2/2dsb2JhbABDriOBBoFyAQEEAVYjBQsLNBIUGA0kiA+3YYwmBIg7l2SDD4RX X-IronPort-AV: E=Sophos;i="4.71,552,1320642000"; d="scan'208";a="158040625" Original-Received: from 76-10-139-54.dsl.teksavvy.com (HELO pastel.home) ([76.10.139.54]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 Jan 2012 16:22:14 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 3235B593D9; Sun, 22 Jan 2012 16:22:14 -0500 (EST) In-Reply-To: <4F1C18CA.8060505@online.de> ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Sun, 22 Jan 2012 15:10:18 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:55918 Archived-At: > bug seen from forms in python-mode.el > http://launchpad.net/python-mode > when `py-completion-at-point' doesn't see a completion, > the feature is to insert a TAB then. That's because python-mode.AL has a bug: (add-hook 'completion-at-point-functions py-complete-function nil 'local) The doc of completion-at-point-functions says: Each function on this hook is called in turn without any argument and should return either nil to mean that it is not applicable at point, or a function of no argument to perform completion (discouraged), or a list of the form (START END COLLECTION &rest PROPS) where START and END delimit the entity to complete and should include point, COLLECTION is the completion table to use to complete it, and PROPS is a property list for additional information. -- Stefan