CLIM mail archive
[Prev][Next][Index][Thread]
Completion Query
-
To: ncramer@BBN.COM
-
Subject: Completion Query
-
From: Scott McKay <swm@harlequin.com>
-
Date: Mon, 14 Feb 94 17:17:31 EST
-
Cc: clim@BBN.COM
-
In-Reply-To: Nichael Cramer's message of Mon, 14 Feb 94 16:47:02 EST <3323.199402142204@hilly.harlequin.com>
Date: Mon, 14 Feb 94 16:47:02 EST
From: Nichael Cramer <ncramer@BBN.COM>
[CLIM-2/ALLEGRO/SPARC]
I need to do completion on a set of object names *except* that I need to
also accept "new" names (i.e. I want to accept invalid input).
In short I would like "activation" behavior something like the following:
#\Space ==> "Complete as far as possible" (i.e. do the "normal" completion
thing).
#\Return ==> "Accept whatever I've got, as is."
(Basically I want it to work more or less like the pathname completion does
on Find-File in Gnumacs.)
Changing the activation characters only changes the characters which invoke
"total" completion (i.e. there is no way to terminate on "invalid" cases).
Using the :ALLOW-ANY-INPUT option seems to basically turn off completion.
I.e. it gives me the input as is, but doesn't seem to do _any_ completion,
ever.
Suggestions? Help? Hints?
Thanks
Nichael
P.S. I'm trying to do this inside a "Accept" presentation-method.
Which of the completion functions are you using?
I think you want to use #\Return as your activation gesture, and
#\Space as a "partial completer" (known as the "delimiter" in some opf
the completion functions).
Main Index |
Thread Index