GNU bug report logs - #17741
24.3; problem with cua-mode text insertion

Previous Next

Package: emacs;

Reported by: andrea.rossetti <at> gmail.com

Date: Mon, 9 Jun 2014 06:46:01 UTC

Severity: minor

Found in version 24.3

Done: Andrea Rossetti <andrea.rossetti <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: andrea.rossetti <at> gmail.com
Cc: 17741 <at> debbugs.gnu.org
Subject: bug#17741: 24.3; problem with cua-mode text insertion
Date: Mon, 09 Jun 2014 13:02:34 -0400
> May I please ask for some confirmation: is the case 1)
> really a bug, or did I misunderstand some aspect of
> cua-mode.  Thanks in advance, kindest regards.

Good question.  I think it's "by design":
- M-> in cua-rectangle-mark-mode means "extend vertically to bottom of
  buffer".
- when the rectangle has 1-char width, whether insertion is done
  before/after is determined by whether the cursor is at the top or at
  the bottom of the rectangle.
- M-> does not move the cursor to (one of) the bottom corners.

So if you hit RET (which cycles through the different rectangle corners)
before typing "1" in your recipe, the ones will be inserted where you
expect them.

I don't find this choice of behavior for M-> very intuitive from an
"Emacs binding" point of view, but then I'm not a CUA user.


        Stefan




This bug report was last modified 10 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.