unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: jidanni@jidanni.org
To: 8504@debbugs.gnu.org
Subject: bug#8504: add more query-replace choice keys
Date: Fri, 15 Apr 2011 07:30:06 +0800	[thread overview]
Message-ID: <87lizcl8ch.fsf@jidanni.org> (raw)

There should be a key to say "yes, replace this occurrence, but
keep the case exact"!

That way one wouldn't have to fiddle with any other variables and also
have the flexibility of two types of case policy, all within the same
query-replace session!

Query replacing x with Easting.

Type Space or `y' to replace one match, Delete or `n' to skip to next,
RET or `q' to exit, Period to replace one match and exit,
Comma to replace but not move point immediately,
C-r to enter recursive edit (C-M-c to get out again),
C-w to delete match and recursive edit,
C-l to clear the screen, redisplay, and offer same replacement again,
! to replace all remaining matches with no more questions,
^ to move point back to previous match,
E to edit the replacement string

Also E gave me Easting to edit, when it really should have gave me
EASTING, which it intended to use, depending on the string I was on.

Also E above doesn't say if editing it will change it for the rest of
the queries.

Maybe there should be a F to do that too.





             reply	other threads:[~2011-04-14 23:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14 23:30 jidanni [this message]
2022-05-10  4:14 ` bug#8504: add more query-replace choice keys Lars Ingebrigtsen
2022-05-11  7:13   ` Juri Linkov
2022-05-11 11:59     ` Lars Ingebrigtsen
2022-05-11 17:09       ` Juri Linkov
2022-06-13 14:17         ` Lars Ingebrigtsen

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=87lizcl8ch.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=8504@debbugs.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).