From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.lisp.guile.user Subject: Re: about readline Date: Sat, 11 Mar 2006 23:42:36 +0800 Organization: the Church of Emacs Message-ID: <878xrh9edv.fsf@www.williamxu.com> References: <87d5gt9ghz.fsf@www.williamxu.com> <878xrhrpa1.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142091699 17257 80.91.229.2 (11 Mar 2006 15:41:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 15:41:39 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Mar 11 16:41:37 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FI6Dn-0003SJ-3v for guile-user@m.gmane.org; Sat, 11 Mar 2006 16:41:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FI6Dm-0006hN-8F for guile-user@m.gmane.org; Sat, 11 Mar 2006 10:41:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FI6Di-0006h3-2O for guile-user@gnu.org; Sat, 11 Mar 2006 10:41:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FI6Dh-0006gc-FF for guile-user@gnu.org; Sat, 11 Mar 2006 10:41:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FI6Dh-0006gZ-Cg for guile-user@gnu.org; Sat, 11 Mar 2006 10:41:29 -0500 Original-Received: from [59.66.131.181] (helo=localhost) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FI6HE-0005cZ-Tt for guile-user@gnu.org; Sat, 11 Mar 2006 10:45:09 -0500 Original-Received: from localhost ([127.0.0.1] helo=www.williamxu.com) by localhost with esmtp (Exim 3.36 #1 (Debian)) id 1FI6En-0002VO-00 for ; Sat, 11 Mar 2006 23:42:37 +0800 Original-To: guile-user@gnu.org In-Reply-To: <878xrhrpa1.fsf@ossau.uklinux.net> (Neil Jerram's message of "Sat, 11 Mar 2006 15:09:58 +0000") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5222 Archived-At: Neil Jerram writes: > William Xu 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