* bug#52086: 27.2; `C-w' should kill active rectangular region (aka rectangle)
@ 2021-11-25 2:10 Drew Adams
2021-11-25 2:17 ` Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2021-11-25 2:10 UTC (permalink / raw)
To: 52086
If use C-x SPC, to activate the rectangular region, commands that act on
that active region should, I think, generally act on the selected text,
that is, the text in the rectangle.
`C-w' doesn't do that. Instead, it kills the text in the region between
point and mark - all of it, including text that is not selected (not
part of the active, rectangular region.
(Yes, there is also `C-x r k', but that acts on a rectangle regardless
of whether the region is active. It's another way to kill a rectangle.)
I'd call this a bug. You might see it as an enhancement request. To
me, it's what users expect, and it's the only behavior consistent with
what users see and the notion of active rectangular region. `C-w'
should be no different from, say, the replacement commands, when the
region is "noncontiguous".
And we should look out for other possible, similar holdovers: commands
that act on the active region, but don't respect rectangular bounds.
In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
of 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.19042
System Description: Microsoft Windows 10 Pro (v10.0.2009.19042.1288)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#52086: 27.2; `C-w' should kill active rectangular region (aka rectangle)
2021-11-25 2:10 bug#52086: 27.2; `C-w' should kill active rectangular region (aka rectangle) Drew Adams
@ 2021-11-25 2:17 ` Drew Adams
2021-11-25 2:27 ` Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2021-11-25 2:17 UTC (permalink / raw)
To: Drew Adams, 52086@debbugs.gnu.org
Oops. never mind. I was seeing this bug in Emacs 26.3.
But it was fixed in Emacs 27. I'll close this.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#52086: 27.2; `C-w' should kill active rectangular region (aka rectangle)
2021-11-25 2:17 ` Drew Adams
@ 2021-11-25 2:27 ` Drew Adams
0 siblings, 0 replies; 3+ messages in thread
From: Drew Adams @ 2021-11-25 2:27 UTC (permalink / raw)
To: 52086@debbugs.gnu.org
> Oops. never mind. I was seeing this bug in Emacs 26.3.
> But it was fixed in Emacs 27. I'll close this.
I was doubly mistaken. There's no bug in Emacs 26.3 either. I wasn't using emacs -Q. Sorry for the noise.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-25 2:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-25 2:10 bug#52086: 27.2; `C-w' should kill active rectangular region (aka rectangle) Drew Adams
2021-11-25 2:17 ` Drew Adams
2021-11-25 2:27 ` Drew Adams
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.