From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bigfaceworm Newsgroups: gmane.emacs.help Subject: cua-mode and cua-replace-region Date: Thu, 13 Nov 2008 11:20:15 -0800 (PST) Organization: http://groups.google.com Message-ID: <76597a2a-ef6a-4953-9b4e-24ca0ce60ad2@r37g2000prr.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226605612 18222 80.91.229.12 (13 Nov 2008 19:46:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2008 19:46:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 13 20:47:56 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L0iAR-0002LF-Fh for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Nov 2008 20:47:51 +0100 Original-Received: from localhost ([127.0.0.1]:35727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0i9J-0004qA-Bd for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Nov 2008 14:46:41 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r37g2000prr.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 192.94.38.34 Original-X-Trace: posting.google.com 1226604015 17291 127.0.0.1 (13 Nov 2008 19:20:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 13 Nov 2008 19:20:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r37g2000prr.googlegroups.com; posting-host=192.94.38.34; posting-account=xcyrUAoAAAC_aahLDV9Q6wj_lVQEuFNf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.18) Gecko/20081029 Firefox/2.0.0.18,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164417 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59754 Archived-At: 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