Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion If you can't beat 'em... [was Re: Lisp editor that can parse strings]
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ingvar Mattsson  
View profile  
 More options Jan 14 2003, 9:45 am
Newsgroups: comp.lang.lisp
From: Ingvar Mattsson <ing...@cathouse.bofh.se>
Date: 14 Jan 2003 14:44:36 +0000
Local: Tues, Jan 14 2003 9:44 am
Subject: Re: If you can't beat 'em... [was Re: Lisp editor that can parse strings]

"Adam Warner" <use...@consulting.net.nz> writes:
> Hi Tim Bradshaw,

> > Emacs's `paren in first column is beginning of defun' trick might have
> > been a reasonably compromise on a vax, but it's just annoyingly stupid
> > now.

> I've spent a few hours coming to understand how the font-lock mode etc.
> works but didn't figure out how to improve its reliability. I was
> searching in vain trying to find how square brackets were being matched. I
> finally realised that the regular expression \s( also matches square
> brackets in lisp mode.

I think \s( matyches any character with a "(" syntax class (open of
some sort, a two-position slot in the buffer syntax table, with the
second being the close character).

//Ingvar
--
(defmacro fakelambda (args &body body) `(labels ((me ,args ,@body)) #'me))
(funcall (fakelambda (a b) (if (zerop (length a)) b (format nil "~a~a"
 (aref a 0) (me b (subseq a 1))))) "Js nte iphce" "utaohrls akr")


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.