Re: Readline completion example?
Sam Steingold <[email protected]> Sat, 11 Nov 2017 23:26:04 -0500
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Jean, > * Jean Louis <[email protected]> [2017-11-11 19:04:16 +0300]: > > On Wed, Feb 22, 2017 at 01:39:53PM -0500, Sam Steingold wrote: >> You can start your quest by replacing sys::completion with, say, >> >> (defun sys::completion (string start end) >> (list "foo" "foo1" "foo2")) >> >> Now, whenever you hit TAB, you get "foo" inserted and "foo1" and "foo2" >> suggested (or something like that). >> >> The current behavior is described here: >> http://clisp.org/impnotes/clisp.html#completion > > I am trying to do the above, but I am not getting it. I am afraid I don't understand you. -- what did you do? -- what did clisp do? -- what did you expect? > The link also does not say much any more about how to get completion > words in CLISP, and I need it for prompts and inputs. you might want to start with http://clisp.cvs.sourceforge.net/viewvc/clisp/clisp/src/complete.lisp do you understand the code there? Again, for me to help you, I have to understand what you are trying to accomplish. Thanks. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 http://steingoldpsychology.com http://www.childpsy.net https://ffii.org http://no2bds.org http://think-israel.org http://iris.org.il Three can keep a secret if two of them are dead. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ clisp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-list