From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#12852: 24.2; `exit-function' not supported in completion table's metadata alist Date: Mon, 12 Nov 2012 00:50:07 +0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352652653 6393 80.91.229.3 (11 Nov 2012 16:50:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2012 16:50:53 +0000 (UTC) Cc: 12852@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 11 17:51:03 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 1TXakO-0001Zx-Gc for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2012 17:51:00 +0100 Original-Received: from localhost ([::1]:60325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXakF-0002K4-5N for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Nov 2012 11:50:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXakA-0002Ju-FQ for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 11:50:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXak7-000466-D4 for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 11:50:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXak7-000462-A3 for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 11:50:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TXakQ-0004Tj-A8 for bug-gnu-emacs@gnu.org; Sun, 11 Nov 2012 11:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Nov 2012 16:51: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.135265265517202 (code B ref 12852); Sun, 11 Nov 2012 16:51:02 +0000 Original-Received: (at 12852) by debbugs.gnu.org; 11 Nov 2012 16:50:55 +0000 Original-Received: from localhost ([127.0.0.1]:33378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXakI-0004TO-Nb for submit@debbugs.gnu.org; Sun, 11 Nov 2012 11:50:55 -0500 Original-Received: from mail-pa0-f44.google.com ([209.85.220.44]:36459) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXak1-0004T3-Va for 12852@debbugs.gnu.org; Sun, 11 Nov 2012 11:50:52 -0500 Original-Received: by mail-pa0-f44.google.com with SMTP id fb11so3791047pad.3 for <12852@debbugs.gnu.org>; Sun, 11 Nov 2012 08:50:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=UNbpGhlVECV8/VbyxReFsV2zPIJcix6X+aAe9fLyNgY=; b=Qqo7lEuy1mZGanNBGlj5IOjVc/APvv3Q/uxELt4WZ+tWhMosd7m9uAPjrB3tseVbSG VlXCvdgf/kRBMhcyzrOotRRNSvJJqUbUGPqyN3SSer8+sx6dvRpVkhUlNQFlCt9g6YiB sx5ZLpYA9/OaGXQXmNJVYl82Ykvo75bXWdktIt8oqpvYeQHLBAyGs1VBqdXzrIo+y/X6 SJz/x80nxv5CScvtdwLGRh6QkaKhNb7NlbqqocSCGY1e0wP61tdguWDzT8RmL6pcjt48 2LfCcJK4tGSzgbFeIvyxUiNpRbAEat8CJAX+N+xxMA80f1aiUbrWlkLgvcdzGfuvloVI pxLw== Original-Received: by 10.66.81.199 with SMTP id c7mr48254769pay.19.1352652617714; Sun, 11 Nov 2012 08:50:17 -0800 (PST) Original-Received: from localhost ([182.48.109.8]) by mx.google.com with ESMTPS id vs3sm2720916pbc.61.2012.11.11.08.50.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Nov 2012 08:50:16 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= In-Reply-To: (Stefan Monnier's message of "Sun, 11 Nov 2012 11:21:19 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (OS X 10.8.2) X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: -0.7 (/) 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:66765 Archived-At: On 2012-11-12 00:21 +0800, Stefan Monnier wrote: > Any reason not actually add the ".", just like file-name completion > actually adds the / ? This is another way to do it. But it looks unnatural. For example, it is not uncommon to use /usr/bin/ for a directory name but not usr.bin. for a python pkg. >> 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. I mean I might be subverting the exit-function. Any suggestions? Leo