From: Stefan Daschek <noniq-usenet@noniq.at>
Subject: Inconsistency with repeat-complex-command and transient-mark-mode
Date: 14 Mar 2003 23:44:21 +0100 [thread overview]
Message-ID: <uwuj1lgai.fsf@noniq.at> (raw)
There are several commands which behave differently in
transient-mark-mode when the mark is active. Now what happens when I
try to repeat one of these commands with repeat-complex-command?
Well, it seems there are 2 different things that may happen, according
to which command was used. I give an example for each behaviour (this
is what C-x ESC ESC shows after calling that command while the mark
was active):
(keep-lines "foo")
(query-replace "foo" "bar" nil 180 195)
As you see, the values of region-beginning and region-end are sort of
"hardcoded" in the second case. This means that trying to
consecutively apply a command to different regions with C-x ESC ESC
works with keep-lines but does not work with query-replace.
I consider this behaviour rather confusing and suggest a change so
that query-replace (and query-replace-regexp) act like keep-lines in
this regard.
ciao,
noniq
next reply other threads:[~2003-03-14 22:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-14 22:44 Stefan Daschek [this message]
2003-03-16 7:46 ` Inconsistency with repeat-complex-command and transient-mark-mode Richard Stallman
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=uwuj1lgai.fsf@noniq.at \
--to=noniq-usenet@noniq.at \
/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).