[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Curious: Why is there no binding for replace-string "out of the box"
From: |
Eli Zaretskii |
Subject: |
Re: Curious: Why is there no binding for replace-string "out of the box"? |
Date: |
Thu, 07 Mar 2024 08:38:32 +0200 |
> From: "T.V Raman" <raman@google.com>
> Date: Wed, 06 Mar 2024 13:12:49 -0800
>
> As someone who has now used emacs for approx 35 years, I've always
> assumed that M-r was bound to replace-string -- that's a binding I've
> always had:-) I just realized that out-of-the-box, emacs -q binds
> replace-regex to M-% but does not bind replace-string. So just curious:
>
> 1. Is the above an oversight or intentional?
> 2. Should we perhaps pick a binding for replace-string -- note: I dont
> care what we pick, but not having a key for it feels strange.
We bind M-% to query-replace, which is a superset of replace-string.
Why would you want to use replace-string instead? what can it do that
query-replace cannot?
Re: Curious: Why is there no binding for replace-string "out of the box"?,
Eli Zaretskii <=