all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: ndame <laszlomail@protonmail.com>
Cc: 52751@debbugs.gnu.org, rms@gnu.org
Subject: bug#52751: 27.1; Go back to editing the from part in query replace
Date: Sat, 25 Dec 2021 22:44:03 +0200	[thread overview]
Message-ID: <8635mgjtyk.fsf@mail.linkov.net> (raw)
In-Reply-To: <usq8jnmajU2G0isxet0uHmO5Xnm_DDS-VqoShR1xZ5mlirN7JQKeVuZwszlp8cYeKDTPk_QZcfWEXfscBGx9X1FsZK3jmnkULfkAFo1QExQ=@protonmail.com> (ndame's message of "Sat, 25 Dec 2021 20:23:19 +0000")

> If you have two input fields which you can edit before submitting then the whole arrow
> thing is obsolete, because you don't have a single field where you have to insert
> a marker to separate the from/to inputs.

Unfortunately, there are problems with two fields.

First, each of these fields should act as the minibuffer
where M-p and M-n navigates the history of previous FROM->TO pairs.

Second, typing RET in the first field is ambiguous: it can mean either
that the user want to move to the second field, or that the user want
to replace all matches with an empty string by leaving the second field
empty.  This requires special-casing: RET in the first field to move to
the second field, and RET in the second field to accept both fields.





  reply	other threads:[~2021-12-25 20:44 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 [this message]
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
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

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

  git send-email \
    --in-reply-to=8635mgjtyk.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=52751@debbugs.gnu.org \
    --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 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.