Re: lisp_completion_matches: arg text vs extern rl_line_buffer

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <37260177.L6eBSbGLi1@omega>
Hi Sam,

> We use extern rl_line_buffer instead of the text argument.
> Any particular reason?

The comment indicates that 'text' is a substring of 'rl_line_buffer'.
We have to look at the part of rl_line_buffer that precedes 'text',
therefore we're not making additional assumptions by calling
  lisp_completion(rl_line_buffer,start,end)
where you would like to see
  lisp_completion(text,0,end-start)

Has this changed in readline 7.0?

Bruno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.