|
From: | Lennart Borgman (gmail) |
Subject: | Re: How to get current input string in predicate to completing-read |
Date: | Fri, 08 Aug 2008 00:33:22 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Lennart Borgman (gmail) wrote:
Lennart Borgman (gmail) wrote:Is it possible to get the current input string from the prompt inside the PREDICATE function in completing-read?It it is possible then you can for example use regexp matching using the input string as a regexp.If this is not possible then I suggest to add this functionality.Eh, I believe I found it: (minibuffer-contents)
But ...The completion function I use in programmed completion get called with FLAG equal to
(boundaries . ) In (info "(elisp) Programmed Completion") this value of FLAG is not mentioned. The values mentioned for FLAG are: t nil 'lambdaAm I misunderstanding something or is there something missing on that info page?
[Prev in Thread] | Current Thread | [Next in Thread] |