unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#15253: readline completion for modules
@ 2013-09-03  8:06 Arne Babenhauserheide (IMK)
  0 siblings, 0 replies; only message in thread
From: Arne Babenhauserheide (IMK) @ 2013-09-03  8:06 UTC (permalink / raw)
  To: 15253


[-- Attachment #1.1: Type: text/plain, Size: 1211 bytes --]

Hi,

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

    ,use <tab>

or

    ,use srfi <tab>

or

    (use-modules (<tab>

or

    (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,
Arne
-- 
Doktorand
Gruppe: GHG

Raum: 435/410
Tel.: +49 721 608-22885
arne.babenhauserheide@kit.edu

Karlsruher Institut für Technologie
IMK-ASF
Postfach 36 40
76021 Karlsruhe

[-- Attachment #1.2: 0xA70DA09E.asc --]
[-- Type: application/pgp-keys, Size: 1893 bytes --]

[-- Attachment #1.3: arne_babenhauserheide.vcf --]
[-- Type: text/x-vcard, Size: 366 bytes --]

begin:vcard
fn:Arne Babenhauserheide
n:Babenhauserheide;Arne
org:KIT;GHG,  IMK-ASF
adr;quoted-printable:;;Geb=C3=A4ude 435, Raum 410, Campus Nord;Karlsruhe;BW;76021;Deutschland
email;internet:arne.babenhauserheide@kit.edu
title:Doktorand
tel;work:+49 721 608-22885
x-mozilla-html:FALSE
url:http://www.imk-asf.kit.edu/874_1194.php
version:2.1
end:vcard


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 555 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-03  8:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-03  8:06 bug#15253: readline completion for modules Arne Babenhauserheide (IMK)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).