This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patches to guile's readline ports


I've moved this to the contrib/misc area for peoples downloading pleasure.

enjoy,
-pate

>>>>> "Andrew" == Andrew Archibald <aarchiba@undergrad.math.uwaterloo.ca> writes:

    Andrew> Hi,

    Andrew> I have added some features to guile's readline ports,
    Andrew> including:

    Andrew> - Prompts based on a thunk (eg, (current-module)) -
    Andrew> Completion on identifiers (using apropos-internal) -
    Andrew> Customizable completion - UI prettification: Just do
    Andrew> (use-modules (ice-9 readline)) (readline-start) ; from an
    Andrew> interactive prompt (readline-repl) ; from a script

    Andrew> The patch is on ftp.red-bean.com in incoming.  readline
    Andrew> support should probably be rearranged into a separate
    Andrew> package which gets dynamically loaded, but I couldn't
    Andrew> figure out autoconf/automake. <GRUMBLE>the autoconf
    Andrew> documentation could use even one example...</GRUMBLE>

    Andrew> To install: apply the patch, make sure use have
    Andrew> libreadline installed, and reconfigure/recompile libguile
    Andrew> (sorry!).

    Andrew> Anyway, I hope someone finds this useful (preferably it'd
    Andrew> get into the core distribution).

    Andrew> Andrew aarchiba@undergrad.math.uwaterloo.ca