Subject: bug#52751: 27.1; Go back to editing the from part in query replace

From: ndame <[email-masked]>
Date: Sun, 26 Dec 2021 18:51:18 +0000

>
> This means like there is a generic function 'completing-read-multiple'
> that reads multiple fields using "," as a separator, a similar function
> could be created to read a list of values from fields in the minibuffer.

Yes, something like that.

It's practically a mini dialog where you provide field
labels and it reads fields for you. It may even display
the dialog fields vertically in the minibuffer in
label -  field format like Customize:

Replace __________
with  ____________

But it's not clear for me how generic it should be. After all,
in case of query replace up arrow or M-p should fill the fields
with previous from/to pairs which may be specific to query replace.
Or is it also applicable for other commands which read multiple values that up arrow should fill the fields with previous configs? We'll
know if other commands are identified which read multiple values
in sequence which could be given in any order.

Maybe it should be implemented first for query-replace/regexp and
made more generic if other possible use cases are identified.