From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Arjan Bos Newsgroups: gmane.emacs.help Subject: Re: font-lock function matcher sample Date: Thu, 05 Aug 2004 21:16:27 +0200 Organization: Planet Internet Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Arjan.Bos@ISeeYou.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091733704 29009 80.91.224.253 (5 Aug 2004 19:21:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Aug 2004 19:21:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 05 21:21:38 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bsno2-0005cr-00 for ; Thu, 05 Aug 2004 21:21:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bsnrb-0001Ud-3X for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Aug 2004 15:25:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!t-online.de!news.zanker.org!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!textnews.wxs.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: ip51cd7a2f.adsl-surfen.hetnet.nl Original-X-Trace: reader10.wxs.nl 1091733637 2676 81.205.122.47 (5 Aug 2004 19:20:37 GMT) Original-X-Complaints-To: abuse@planet.nl Original-NNTP-Posting-Date: 5 Aug 2004 19:20:37 GMT User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:124664 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19998 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19998 Stefan Monnier wrote: >>Mmm, yes, you're right. But this means that I'm not clever enough to see >>through those nested statements. I need to unroll them before they make >>sense to me. > > > Don't think so operationally. Instead take a step back and only consider > the things you know for sure: right after the while loop the condition is > nil. > Stefan, Did they already put up a statue for you? 'cause you deserve one. I took another stab at it with your prototype function and now it works! I'll post beatnik.el to gnu.emacs.sources shortly. Thanks a lot! Arjan -- -- If you really want to contact me, then replace the "I see you" text by its three letter accronym, HetNet. Fabricate Diem PVNC, Motto of the Night Watch -- Terry Pratchett