From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Keith Wright Newsgroups: gmane.lisp.guile.user Subject: Re: defining new character names? Date: Mon, 19 Aug 2002 23:40:07 -0400 Sender: guile-user-admin@gnu.org Message-ID: <200208200340.g7K3e7I01435@fcs9.free-comp-shop.com> References: <20020819100733.GA6177@sim.no> <871y8uxvyd.fsf@zagadka.ping.de> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029819849 5349 127.0.0.1 (20 Aug 2002 05:04:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 Aug 2002 05:04:09 +0000 (UTC) Cc: larsa@sim.no, guile-user@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17h1BV-0001Nw-00 for ; Tue, 20 Aug 2002 07:04:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17h1CV-0001NH-00; Tue, 20 Aug 2002 01:05:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17h1Br-0001M8-00 for guile-user@gnu.org; Tue, 20 Aug 2002 01:04:27 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17h1Bp-0001Lw-00 for guile-user@gnu.org; Tue, 20 Aug 2002 01:04:27 -0400 Original-Received: from mx04.gis.net ([208.218.130.12] helo=gis.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 17h1Bp-0001Lp-00 for guile-user@gnu.org; Tue, 20 Aug 2002 01:04:25 -0400 Original-Received: from fcs9.free-comp-shop.com ([216.41.30.30]) by mx04.gis.net; Tue, 20 Aug 2002 01:04:17 -0400 Original-Received: (from kwright@localhost) by fcs9.free-comp-shop.com (8.11.2/8.11.2) id g7K3e7I01435; Mon, 19 Aug 2002 23:40:07 -0400 X-Authentication-Warning: fcs9.free-comp-shop.com: kwright set sender to kwright@gis.net using -f Original-To: mvo@zagadka.ping.de In-Reply-To: <871y8uxvyd.fsf@zagadka.ping.de> (message from Marius Vollmer on 20 Aug 2002 01:36:26 +0200) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:813 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:813 > Cc: guile-user@gnu.org > From: Marius Vollmer > > "Lars J. Aas" writes: > > > I'd like to be able to do something like this: > > > > (define-character "paren-close" #\051) ; 051 is ")" > > and then later > > (string-index line #\paren-close) > > Not currently, but I think it's a good idea. (A) Only in the context of a general mechanism to define constants. (B) The double quotes around "paren-close" in the definition are surely wrong. > > The reason i'd like to do this is that inserting #\) in the > > scheme file makes the vim "%" command unusable over those > > blocks > > vim should be fixed then, no? ;) Maybe so. Not my job. In the meantime, why not say (define close-char #\( ) % define ) (string-index line close-char) -- -- Keith Wright Programmer in Chief, Free Computer Shop --- Food, Shelter, Source code. --- _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user