unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Invoke-with-typing
Date: Wed, 05 Jun 2013 20:27:16 -0400	[thread overview]
Message-ID: <jwvtxlcqe21.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: e02aafea-d857-42d3-9040-a807bfcecdd2@ys5g2000pbc.googlegroups.com

> (defmacro IWT-nestable (FORM &rest CHARS)
>   "JK:05Jun2013: Like (describe-function 'invoke-with-typing)
> but nestable, e.g:

> USAGE: (IWT-nestable (IWT-nestable (query-replace \"wierd\" \"STRANGE
> \") ?y ?n ) ?y ?n )
>   will replace the 1st and 3rd occurrences, not the 2nd and 4th,
>   then await user input."
>   `(let ((unread-command-events (append ',CHARS unread-command-
> events))) ,FORM)
>   )

That should use setq, not let.


        Stefan




      reply	other threads:[~2013-06-06  0:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 17:58 Invoke-with-typing gentsquash
2013-06-06  0:27 ` Stefan Monnier [this message]

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=jwvtxlcqe21.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.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.
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).