[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7522: 24.0.50; point after `clear-rectangle' and `string-rectangle'

From: Drew Adams
Subject: bug#7522: 24.0.50; point after `clear-rectangle' and `string-rectangle'
Date: Tue, 30 Nov 2010 10:22:31 -0800

I'm no expert on this.  But what is the rationale for leaving point at
bol after such commands.  Wouldn't it make more sense to put point at
the same corner of the replaced rectangle as it was for the rectangle
that was replaced?  IOW, if point was at the lower right corner of the
rectangle to be replaced, shouldn't point be left at the lower right
corner of the new (replacement) rectangle after replacement?

What use case(s) does the current design fit?  I would expect that `C-x
C-x' would select the rectangle that I just used as a replacement.
Instead, it selects a zero-width rectangle from the top to one line
below the bottom of the replacement rectangle.

There might be some other rectangle commands that also have this problem (what I
see so far as a problem, that is).

In GNU Emacs (i386-mingw-nt5.1.2600)
 of 2010-11-22 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags

reply via email to

[Prev in Thread] Current Thread [Next in Thread]