unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Arne Babenhauserheide (IMK)" <arne.babenhauserheide@kit.edu>
To: 15253@debbugs.gnu.org
Subject: bug#15253: readline completion for modules
Date: Tue, 3 Sep 2013 10:06:25 +0200	[thread overview]
Message-ID: <52259881.8060904@kit.edu> (raw)


[-- 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 --]

                 reply	other threads:[~2013-09-03  8:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52259881.8060904@kit.edu \
    --to=arne.babenhauserheide@kit.edu \
    --cc=15253@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).