unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 7522@debbugs.gnu.org
Subject: bug#7522: 24.0.50; point after `clear-rectangle' and `string-rectangle'
Date: Tue, 30 Nov 2010 10:22:31 -0800	[thread overview]
Message-ID: <11F39F208FB54E6290AE378C52AB17C6@us.oracle.com> (raw)

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 24.0.50.1 (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
-Ic:/imagesupport/include'






             reply	other threads:[~2010-11-30 18:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30 18:22 Drew Adams [this message]
2010-12-17 13:26 ` bug#7522: 24.0.50; point after `clear-rectangle' and `string-rectangle' Chong Yidong
2010-12-17 15:07   ` Drew Adams
2011-01-06 12:54     ` Johan Bockgård
2011-07-14 15:24       ` Lars Magne Ingebrigtsen
2016-04-27 23:15         ` Lars Ingebrigtsen
2011-07-14 15:23     ` Lars Magne 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=11F39F208FB54E6290AE378C52AB17C6@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=7522@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).