unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* restricting query-replace to region in emacs lisp script
@ 2007-01-24 13:09 conscious
  2007-01-24 14:37 ` David Hansen
  2007-01-24 16:11 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: conscious @ 2007-01-24 13:09 UTC (permalink / raw)
  To: help-gnu-emacs

I am writing a lisp routine to implement a sequence of query-replace
operations on a region. Before I run the query-replace I define a
region, e.g. by mark-paragraph. However, other than in normal
interactive operation in transient-mark-mode, the query-replace does
not restrict the query-replace to the marked region. Does anybody know
how to restrict the region for query-replacing with a lisp-routine?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-24 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-24 13:09 restricting query-replace to region in emacs lisp script conscious
2007-01-24 14:37 ` David Hansen
2007-01-24 16:11 ` Stefan Monnier

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).