unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Slass <miknrene@drizzle.com>
Subject: Re: Using interactive functions in functions
Date: Fri, 06 Dec 2002 21:49:04 GMT	[thread overview]
Message-ID: <m33cpau8b9.fsf@localhost.localdomain> (raw)
In-Reply-To: mailman.1039209908.7595.help-gnu-emacs@gnu.org

Bill Wohler <wohler@newt.com> writes:

>  Consider the following fragment which runs tags-query-replace on a
>  number of strings:
>
>    (let ((strings '("foo" "bar")))
>      (while strings
>	(tags-query-replace (car strings) "newstring")
>	(setq strings (cdr strings)))
>
>  However, this loop ends when tags-query-replace returns the first time
>  so "bar" is never replaced.
>

What happens if you use query-replace (which see) instead?
-- 
Mike Slass

       reply	other threads:[~2002-12-06 21:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1039209908.7595.help-gnu-emacs@gnu.org>
2002-12-06 21:49 ` Michael Slass [this message]
2002-12-06 23:18 ` Using interactive functions in functions Stefan Monnier <foo@acm.com>
2002-12-06 21:24 Bill Wohler

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=m33cpau8b9.fsf@localhost.localdomain \
    --to=miknrene@drizzle.com \
    /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).