GNU bug report logs - #12852
24.2; `exit-function' not supported in completion table's metadata alist

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sat, 10 Nov 2012 07:30:01 UTC

Severity: minor

Tags: wontfix

Found in version 24.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 12852 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo <sdl.web <at> gmail.com>
Cc: 12852 <at> debbugs.gnu.org
Subject: Re: bug#12852: 24.2;
	`exit-function' not supported in completion table's metadata alist
Date: Sun, 11 Nov 2012 10:41:33 -0500
> I am finding myself writing this in order to group related code.

>   (cond
>    ((eq action 'metadata)
>     (make-local-variable 'completion-extra-properties)
>     (setq completion-extra-properties
>           (plist-put 'completion-extra-properties :exit-function
>                      (lambda (comp status)
>                        (when (cadr (assoc (car (last (split-string comp "[.]" t)))
>                                           python-module--completion-table))
>                          (minibuffer-message "package")))))

Hmm.. I don't really understand what this is trying to do.
Can you explain to me what should be the end result?

> 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,


        Stefan




This bug report was last modified 3 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.