Skip to content

Add extra completion functionality to readline package

I propose adding a few functions having to do with readline word completion:

The rl_completion_word_break_hook variable lets us control what characters readline considers as word boundaries during completion. This function was added in readline version 5.0; we should not include this hook when compiling against earlier versions of the library.

Additionally, we should allow get/set of the rl_attempted_completion_over variable. If this variable is nonzero, readline won't use its default completer when our custom completer returns no results.

These will be used to fix ghc bug #998 (closed).

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries (other)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information