From: Kenny Tilton
Subject: Help! How get ACL editor to know about [] read macros?
Date: 
Message-ID: <38FF967B.1C8158B1@liii.com>
This stuff works..


(defun db-lookup (stream char)
    (declare (ignore char))
    `(yada yada yada))

(set-macro-character #\] (get-macro-character #\)))
(set-macro-character #\[ #'db-lookup)

#+test

(wdb
   [xyz (car (retrieve 'document))]
  )

...but the ACL editor (in EMACS or host mode) does not seem to grok that
[] balance. For one thing the indenting is messed up, for another
surrounding parens do not balance.

Is there anyway to do this, some way to tell the editor about [], or
must I go with a different approach, something akin to the #\' macro
where I still have parens, maybe:

   ?(xyz (car (retrieve 'document)))

Thx.

kenny

From: David Bakhash
Subject: Re: Help! How get ACL editor to know about [] read macros?
Date: 
Message-ID: <m3ln27f9zm.fsf@alum.mit.edu>
Kenny Tilton <····@liii.com> writes:

> Is there anyway to do this, some way to tell the editor about [], or
> must I go with a different approach, something akin to the #\' macro
> where I still have parens, maybe:
> 
>    ?(xyz (car (retrieve 'document)))

definately don't change your preferred code just because some editor
hack is missing.  You may consider trying ilisp in your (X)Emacs,
which many Lisp writers use for coding:

M-x run-ilisp <ENTER> allegro <ENTER>

I don't know if it'll fix your problem, of course, but it's worth a
try, and it's a well-written editing mode (I use it, and have used
ACL's `eli' package as well, and they're comparable.

dave

p.s. if `run-ilisp' does't happen for you, you may want to do this
first:

M-x load-library <ENTER> ilisp <ENTER>
From: Kenny Tilton
Subject: Re: Help! How get ACL editor to know about [] read macros?
Date: 
Message-ID: <3902627A.1EEFE533@liii.com>
> definately don't change your preferred code just because some editor
> hack is missing.

Yeah! <g> Franz has offered to help me hack the ACL editor. You know,
it's crazy, but I never bit the bullet and learned EMACS, even tho I
hear it rules. I do use the EMACs "mode" in ACL, tho.

Thx for the encouragement and iLisp suggestion. I'll give that a look if
this project ever lets up. :)

kenny
clinisys
From: Paolo Amoroso
Subject: Re: Help! How get ACL editor to know about [] read macros?
Date: 
Message-ID: <FC0DOaYIx5gUBf=pyqeX29SYxNhk@4ax.com>
On Sat, 22 Apr 2000 22:39:54 -0400, Kenny Tilton <····@liii.com> wrote:

> Thx for the encouragement and iLisp suggestion. I'll give that a look if
> this project ever lets up. :)

By the way, there are two "ilisp" projects, both hosted at SourceForge. One
is ILISP (or ILisp), the (hopefully :) popular inferior Lisp interface for
Emacs:

  http://ilisp.cons.org/
  (the CVS source tree is now hosted at SourceForge)

The other project is called "iLisp".


Paolo
-- 
EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation
http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/
From: Marco Antoniotti
Subject: Re: Help! How get ACL editor to know about [] read macros?
Date: 
Message-ID: <lwsnwablp0.fsf@parades.rm.cnr.it>
Paolo Amoroso <·······@mclink.it> writes:

> On Sat, 22 Apr 2000 22:39:54 -0400, Kenny Tilton <····@liii.com> wrote:
> 
> > Thx for the encouragement and iLisp suggestion. I'll give that a look if
> > this project ever lets up. :)
> 
> By the way, there are two "ilisp" projects, both hosted at
 SourceForge.

Are you sure????  If you do a "search" on sourceforge you get only the
"ILISP inferior (X)Emacs" project.

> One
> is ILISP (or ILisp), the (hopefully :) popular inferior Lisp interface for
> Emacs:
> 
>   http://ilisp.cons.org/
>   (the CVS source tree is now hosted at SourceForge)
> 

Exactly.  This was long overdue.  Maintainance should now be easier.

Cheers

-- 
Marco Antoniotti ===========================================
PARADES, Via San Pantaleo 66, I-00186 Rome, ITALY
tel. +39 - 06 68 10 03 17, fax. +39 - 06 68 80 79 26
http://www.parades.rm.cnr.it/~marcoxa
From: Paolo Amoroso
Subject: Re: Help! How get ACL editor to know about [] read macros?
Date: 
Message-ID: <KaMGOX8APWb8pQ9=qKEylEIGAbQP@4ax.com>
On 25 Apr 2000 10:59:23 +0200, Marco Antoniotti <·······@parades.rm.cnr.it>
wrote:

> Paolo Amoroso <·······@mclink.it> writes:
[...]
> > By the way, there are two "ilisp" projects, both hosted at
>  SourceForge.
> 
> Are you sure????  If you do a "search" on sourceforge you get only the
> "ILISP inferior (X)Emacs" project.

<SHAME ON ME>
I did a _big_ mistake: I confused SourceForge with FreshMeat. I saw the
reference to the "iLisp" project on FreshMeat, not SourceForge. Apologies,
</SHAME ON ME>


Paolo
-- 
EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation
http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/