From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Symbol's value as a variable is void: marker Date: Fri, 29 May 2009 00:32:50 +0200 Message-ID: References: <4A1EAAB8.5070602@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243550038 27540 80.91.229.12 (28 May 2009 22:33:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2009 22:33:58 +0000 (UTC) Cc: martin rudalics , Stefan Monnier , Emacs-Devel devel To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 29 00:33:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M9oAc-00042W-8B for ged-emacs-devel@m.gmane.org; Fri, 29 May 2009 00:33:54 +0200 Original-Received: from localhost ([127.0.0.1]:44620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9oAb-0001Wt-JC for ged-emacs-devel@m.gmane.org; Thu, 28 May 2009 18:33:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M9o9h-0000AX-5C for emacs-devel@gnu.org; Thu, 28 May 2009 18:32:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M9o9c-0008VG-7c for emacs-devel@gnu.org; Thu, 28 May 2009 18:32:56 -0400 Original-Received: from [199.232.76.173] (port=36295 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M9o9b-0008Uq-UV for emacs-devel@gnu.org; Thu, 28 May 2009 18:32:52 -0400 Original-Received: from mail-fx0-f169.google.com ([209.85.220.169]:54132) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M9o9b-0004P3-Ir for emacs-devel@gnu.org; Thu, 28 May 2009 18:32:51 -0400 Original-Received: by fxm17 with SMTP id 17so6322683fxm.42 for ; Thu, 28 May 2009 15:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zNdep6san6Ydp13/3Pq3xudmI5rN+2k56d4DkSOpOAw=; b=raNAkshuCtW+liQ+Ok7ZWzR8DTFGIPR4CZCyB/DpKvOYNFIBGjMiwKYAyUgYsRGoD8 hcaf3kVLGG7cw8uph8OJRZ3xe6TCrQoJK13H9gKAdMxOzyDnOxnOW+8IM8f38e2Z7Xzl bl4aQ/dbzvBKjZdrfeRHnNUu0EF0pLSBqHIyA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WpQCEXInSn5rRo0LsT6J9Dy8uJ9wRkNGsRF5X2Ss8WHSjv7U9z88EQsHTE8UUjbi5p asiPYCWrEM4IAUFRvULRRSSMnjjTXcXhCA33cZ+4C4aDjIjhfHqGRiLFC9/lfGDGHmJf 6+SA3Kn3txBGW1emb0hyz1GrNocBDCvmZulak= Original-Received: by 10.239.152.143 with SMTP id v15mr144318hbb.26.1243549970619; Thu, 28 May 2009 15:32:50 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111163 Archived-At: On Fri, May 29, 2009 at 12:30 AM, Andreas Schwab wr= ote: > Lennart Borgman writes: > >> Thanks, I see - or I hope I do. Is this what I should do: >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;;(pattern (rx bol (0+ blank) (= eval marker) blank)) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(pattern (rx-to-string (list 'a= nd 'bol (list '0+ 'blank) >> marker 'blank) t)) > > Or even: > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (pattern (rx-to-string `(and bol (0+ b= lank) ,marker blank) t)) Thanks Andreas, that is much easier to read and write. BTW is that syntax really documented and explained in the manual? I do not mean for rx-to-string, but more generally. I thnk I found out about it when reading some code, but I never saw it in the manual.