all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* search.texi V1.65:  query-replace has a key binding.
@ 2005-08-13 12:47 Alan Mackenzie
  2005-08-13 21:54 ` Richard M. Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Mackenzie @ 2005-08-13 12:47 UTC (permalink / raw)


In search.texi V1.65, page "Replacement Commands", the reader is told:

    In addition to the simple `replace-string' command which
    replaces all occurrences, there is a `M-x query-replace' command
    which ....

.  Why are we suggesting she use M-x query-replace here, when there's a
perfectly good key binding, M-%, for this command?  I think the key
binding should be mentioned here.  I therefore propose the following
amendment:

2005-08-13  Alan Mackenzie  <acm@muc.de>

	* search.texi (Replacement Commands): Mention query-replace by
	its key binding.


*** search.texi	Sat Aug 13 11:19:55 2005
--- search.texi.new Sat Aug 13 12:25:18 2005
***************
*** 917,923 ****
    Global search-and-replace operations are not needed often in Emacs,
  but they are available.  In addition to the simple @kbd{M-x
  replace-string} command which replaces all occurrences,
! there is a @kbd{M-x query-replace} command which finds each occurrence
  of the pattern and asks you whether to replace it.
  
    The replace commands normally operate on the text from point to the
--- 917,923 ----
    Global search-and-replace operations are not needed often in Emacs,
  but they are available.  In addition to the simple @kbd{M-x
  replace-string} command which replaces all occurrences,
! there is @kbd{M-%} (@code{query-replace}), which finds each occurrence
  of the pattern and asks you whether to replace it.
  
    The replace commands normally operate on the text from point to the



-- 
Alan Mackenzie (Munich, Germany)

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

* Re: search.texi V1.65:  query-replace has a key binding.
  2005-08-13 12:47 search.texi V1.65: query-replace has a key binding Alan Mackenzie
@ 2005-08-13 21:54 ` Richard M. Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard M. Stallman @ 2005-08-13 21:54 UTC (permalink / raw)
  Cc: emacs-devel

That change is ok.  M-% was omitted probably because the binding did
not exist when I first wrote that text.

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

end of thread, other threads:[~2005-08-13 21:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-13 12:47 search.texi V1.65: query-replace has a key binding Alan Mackenzie
2005-08-13 21:54 ` Richard M. Stallman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.