unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: andrea.rossetti@gmail.com
Cc: 17741@debbugs.gnu.org
Subject: bug#17741: 24.3; problem with cua-mode text insertion
Date: Mon, 09 Jun 2014 13:02:34 -0400	[thread overview]
Message-ID: <jwvvbsauj1f.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <84ppiilgyu.fsf@gmail.com> (andrea rossetti's message of "Mon, 09 Jun 2014 08:44:41 +0200")

> 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





  reply	other threads:[~2014-06-09 17:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09  6:44 bug#17741: 24.3; problem with cua-mode text insertion andrea.rossetti
2014-06-09 17:02 ` Stefan Monnier [this message]
2014-07-05  0:01 ` bug#17741: (no subject) Andrea Rossetti

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=jwvvbsauj1f.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=17741@debbugs.gnu.org \
    --cc=andrea.rossetti@gmail.com \
    /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).