unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: martin rudalics <rudalics@gmx.at>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Symbol's value as a variable is void: marker
Date: Fri, 29 May 2009 00:32:50 +0200	[thread overview]
Message-ID: <e01d8a50905281532m3b52ec29kddc9d4beaa9ddea8@mail.gmail.com> (raw)
In-Reply-To: <m2iqjk97yn.fsf@linux-m68k.org>

On Fri, May 29, 2009 at 12:30 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Lennart Borgman <lennart.borgman@gmail.com> writes:
>
>> Thanks, I see - or I hope I do. Is this what I should do:
>>
>>            ;;(pattern (rx bol (0+ blank) (eval marker) blank))
>>            (pattern (rx-to-string (list 'and 'bol (list '0+ 'blank)
>> marker 'blank) t))
>
> Or even:
>
>           (pattern (rx-to-string `(and bol (0+ blank) ,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.




  reply	other threads:[~2009-05-28 22:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 13:56 Symbol's value as a variable is void: marker Lennart Borgman
2009-05-28 15:16 ` martin rudalics
2009-05-28 15:51   ` Lennart Borgman
2009-05-28 17:10     ` martin rudalics
2009-05-28 17:11       ` Lennart Borgman
2009-05-28 18:20     ` Stefan Monnier
2009-05-28 19:02       ` Lennart Borgman
2009-05-28 22:30         ` Andreas Schwab
2009-05-28 22:32           ` Lennart Borgman [this message]
2009-05-29  0:54             ` Stephen J. Turnbull
2009-05-29  0:52               ` Lennart Borgman
2009-05-29  5:03                 ` Stephen J. Turnbull
2009-05-29 10:50                   ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50905281532m3b52ec29kddc9d4beaa9ddea8@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rudalics@gmx.at \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).