




 
Arguments: 
target replacement
Key sequence: None
editor:replace-string-command 
p
 &optional 
target
 
replacement
Replaces all occurrences of target string by replacement string, starting from the current point.
Whenever replacement is substituted for target , case may be preserved, depending on the value of the editor variable case-replace.
Arguments: 
target replacement
Key sequence: 
Alt+Shift+%
 
target replacement
editor:query-replace-command 
p
 &optional 
target
 
replacement
Replaces occurrences of target string by replacement string, starting from the current point, but only after querying the user. Each time target is found, an action must be indicated from the keyboard.
Whenever replacement is substituted for target , case may be preserved, depending on the value of the editor variable case-replace.
The following key sequences are used to control 
Query Replace
:
Replace target by replacement and move to the next occurrence of target .
Skip target without replacing it and move to the next occurrence of target .
Replace target by replacement and then exit.
Replace all subsequent occurrences of target by replacement without prompting.
Enter recursive edit. This allows the current occurrence of 
target
 to be edited. When this editing is completed, 
Exit Recursive Edit
 should be invoked. The next instance of 
target
 is then found.
Quit from 
Query Replace
 with no further replacements.
Arguments: 
directory target replacement
Key sequence: None
Replaces occurrences of 
target
 string by 
replacement
 
string for each file with the suffix 
.lisp or .lsp 
in 
directory
, 
but only after querying the user. The current working directory is offered as a default for 
directory
.
 A non-nil prefix argument causes all files to be searched, except for those ending with one of the strings in the list 
system:*ignorable-file-suffices
*. Each time 
target
 is found, an action must be indicated from the keyboard. For details of possible actions see Query Replace.
Arguments: 
system target replacement
Key sequence: None
Replaces occurrences of target string by replacement string, for each file in system , but only after querying the user. Each time target is found, an action must be indicated from the keyboard. For details of possible actions see Query Replace.
If the value of this variable is 
t
, Replace String and Query Replace try to preserve case when doing replacements. If its value is 
nil
, the case of the replacement string is as defined by the user.
Arguments: 
target replacement
Key sequence: None
editor:replace-regexp-command 
p
 &optional 
target
 
replacement
Replaces all matches of target regular expression by replacement string, starting from the current point.
See Regular expression searching for a description of regular expressions.
Arguments: 
target replacement
Key sequence: None
editor:query-replace-regexp-command 
p
 &optional 
target replacement
Replaces matches of target regular expression by replacement string, starting from the current point, but only after querying the user. Each time target is matched, an action must be indicated from the keyboard.
See Regular expression searching for a description of regular expressions, and Query Replace for the keyboard gestures available.