[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15253: readline completion for modules

From: Arne Babenhauserheide (IMK)
Subject: bug#15253: readline completion for modules
Date: Tue, 3 Sep 2013 10:06:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130816 Thunderbird/17.0.8


It would be very convenient to have readline completion for modules, so
I could just type

    ,use <tab>


    ,use srfi <tab>


    (use-modules (<tab>


    (use-modules (srfi <tab>

and get a listing of possible modules.

That would allow staying in the same context while checking for modules
(instead of switching to info or the web).

This could be taken even further by also providing readline support when
using @ (with the pointer in or at the place of every variable marked
with ˇ while hitting tab):

    (@ (ˇsrfi ˇsrfi-13) ˇstring-unfold)

This could go to the completeness of the emacs auto-complete, which
allows completing stuff like ˇ-expand<tab> and -expand-ˇ<tab>. I could
then say “I know that I need the function string-unfold, where can I
find it?” To answer that question I’d use

    (@ ( ) string-unfold<tab>

and get a list of potential modules to use (or rather options for (@
(category module) string-unfold)).

Best wishes,
Gruppe: GHG

Raum: 435/410
Tel.: +49 721 608-22885

Karlsruher Institut für Technologie
Postfach 36 40
76021 Karlsruhe

Attachment: 0xA70DA09E.asc
Description: application/pgp-keys

Attachment: arne_babenhauserheide.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]