unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: 52751@debbugs.gnu.org, rms@gnu.org
Subject: bug#52751: 27.1; Go back to editing the from part in query replace
Date: Sun, 26 Dec 2021 18:51:18 +0000	[thread overview]
Message-ID: <CGAi2FpuRWU1Sc_K_wyX1d6BVLFPBKFRT1C6xmMNuhK-j1H6zCAnW1UfdxQYXn1RGGUVTB9t7pxwZ9ajmkz5NUqn8S2bHj4v5PI_VkI3EcA=@protonmail.com> (raw)
In-Reply-To: <86bl133iuh.fsf@mail.linkov.net>


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






  reply	other threads:[~2021-12-26 18:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-23  6:55 bug#52751: 27.1; Go back to editing the from part in query replace ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-23 17:18 ` Juri Linkov
2021-12-24  4:59   ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-24  5:01     ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-25  5:14 ` Richard Stallman
2021-12-25  5:23   ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-25 19:18     ` Juri Linkov
2021-12-25 20:23       ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-25 20:44         ` Juri Linkov
2021-12-25 21:04           ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-26  7:45             ` Juri Linkov
2021-12-26 18:51               ` ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-12-27  4:14         ` Richard Stallman
2021-12-26  0:08 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-26  7:49   ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CGAi2FpuRWU1Sc_K_wyX1d6BVLFPBKFRT1C6xmMNuhK-j1H6zCAnW1UfdxQYXn1RGGUVTB9t7pxwZ9ajmkz5NUqn8S2bHj4v5PI_VkI3EcA=@protonmail.com' \
    --to=bug-gnu-emacs@gnu.org \
    --cc=52751@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=laszlomail@protonmail.com \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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