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#12852: 24.2; `exit-function' not supported in completion table's metadata alist Date: Sun, 11 Nov 2012 11:21:19 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352650911 25241 80.91.229.3 (11 Nov 2012 16:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2012 16:21:51 +0000 (UTC) Cc: 12852@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 11 17:22:01 2012 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 1TXaIK-0006Xw-I1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2012 17:22:00 +0100 Original-Received: from localhost ([::1]:55692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXaIB-00050G-0N for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2012 11:21:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXaI6-0004zq-Gd for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 11:21:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXaI3-0004Je-E3 for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 11:21:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXaI3-0004JZ-BD for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 11:21:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TXaIM-0003qz-Co for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 11:22:02 -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, 11 Nov 2012 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12852 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12852-submit@debbugs.gnu.org id=B12852.135265090214787 (code B ref 12852); Sun, 11 Nov 2012 16:22:02 +0000 Original-Received: (at 12852) by debbugs.gnu.org; 11 Nov 2012 16:21:42 +0000 Original-Received: from localhost ([127.0.0.1]:33346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXaI2-0003qR-4x for submit@debbugs.gnu.org; Sun, 11 Nov 2012 11:21:42 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:12055) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXaI0-0003qK-0j for 12852@debbugs.gnu.org; Sun, 11 Nov 2012 11:21:40 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+ZY/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA0kiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="206928552" Original-Received: from 108-175-230-88.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([108.175.230.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Nov 2012 11:21:19 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 96B0CAE224; Sun, 11 Nov 2012 11:21:19 -0500 (EST) In-Reply-To: (Leo's message of "Sun, 11 Nov 2012 23:56:44 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 0.8 (/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:66764 Archived-At: >> Hmm.. I don't really understand what this is trying to do. >> Can you explain to me what should be the end result? > I am writing a programmed completion table for python modules which > should work like file name completion but separated by . instead of /. > After each completion it should tell me whether the completion is a > package to help me decide whether to type . and get further completions. Any reason not actually add the ".", just like file-name completion actually adds the / ? > So for example, twisted.inte should complete to twisted.internet with > minibuffer message [package] to mean that twisted.internet is a package. Right, so it's like an annotation but only displayed when you select that particular entry. >>> Looks like with some change to completion--done we can have this. >>> What do you think? >> I have the impression that you're subverting exit-function. >> I"m not sure yet if it's a neat hack, or if there's a better way to do it, > Probably. Not sure which of the two you think is probable. Maybe the "neat hack" is the more probable one. Stefan