unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: William Xu <william.xwl@gmail.com>
Subject: Re: about readline
Date: Sat, 11 Mar 2006 23:42:36 +0800	[thread overview]
Message-ID: <878xrh9edv.fsf@www.williamxu.com> (raw)
In-Reply-To: <878xrhrpa1.fsf@ossau.uklinux.net> (Neil Jerram's message of "Sat, 11 Mar 2006 15:09:58 +0000")

Neil Jerram <neil@ossau.uklinux.net> writes:

> William Xu <william.xwl@gmail.com> writes:
>
>> Hi,
>>
>> I'd like to control the completing candicates when doing readline
>> completion. For instance, suppose there's a variable
>> readline-completing-string with value "foo bar", then completions will
>> be based on either "foo" or "bar". Is there such a variable in readline?
>
> Yes, please see with-readline-completion-function in
> ice-9/readline.scm.

While this is a function? It seems the very variable is
*readline-completion-function*, but which is not exported from the
module?

Also, i have no clue how to contruct a proper `completer' for
with-readline-completion-function. The docstring is too simple... 

-- 
William


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2006-03-11 15:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-11 14:56 about readline William Xu
2006-03-11 15:09 ` Neil Jerram
2006-03-11 15:42   ` William Xu [this message]
2006-03-11 17:03     ` Neil Jerram
2006-03-12 11:19       ` William Xu
2006-03-12 14:38         ` Neil Jerram

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=878xrh9edv.fsf@www.williamxu.com \
    --to=william.xwl@gmail.com \
    /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).