unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bigfaceworm <bigfaceworm@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: cua-mode and cua-replace-region
Date: Thu, 13 Nov 2008 11:20:15 -0800 (PST)	[thread overview]
Message-ID: <76597a2a-ef6a-4953-9b4e-24ca0ce60ad2@r37g2000prr.googlegroups.com> (raw)

All,

Emacs 22.1

I started using cua-mode b/c the rectangle commands are really handy.
I tried disabling the C-z C-x C-c C-v bindings b/c I didn't want them,
but this leaves the following, disturbing behavior:

(setq cua-enable-cua-keys nil)
M-x cua-mode

now yank some text, and exchange point and mark.
the region is now highlighted, and the next key that would
normally be bound to 'self-insert-command will actually
execute 'cua-replace-region.  Any movement triggers something
that undoes the 'cua-replace-region binding, and

I dislike that behavior, but can't figure out where cua-mode is doing
the mapping/unmapping.

Any help?

basically, I want the cua-rectangle editing, and none of the rest.

thanks,

TJ


             reply	other threads:[~2008-11-13 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 19:20 bigfaceworm [this message]
2008-11-13 19:39 ` cua-mode and cua-replace-region bigfaceworm

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=76597a2a-ef6a-4953-9b4e-24ca0ce60ad2@r37g2000prr.googlegroups.com \
    --to=bigfaceworm@gmail.com \
    --cc=help-gnu-emacs@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.
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).