From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: CUA-mode and conflicts with C-x commands Date: Tue, 4 May 2010 23:17:41 +0200 Message-ID: References: <68b58ad4-99cc-4b41-bb3e-d498a1706a75@x12g2000yqx.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273068871 13425 80.91.229.12 (5 May 2010 14:14:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 14:14:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: LanX Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 16:14:29 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1O9fMo-0007hV-Dj for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 16:14:29 +0200 Original-Received: from localhost ([127.0.0.1]:53830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9fMl-0003ZC-Sk for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 10:14:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9PVJ-0004GZ-Ut for help-gnu-emacs@gnu.org; Tue, 04 May 2010 17:18:10 -0400 Original-Received: from [140.186.70.92] (port=58616 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9PVE-0004A7-Q8 for help-gnu-emacs@gnu.org; Tue, 04 May 2010 17:18:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9PVD-00048c-4v for help-gnu-emacs@gnu.org; Tue, 04 May 2010 17:18:04 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:48268) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9PVD-00048S-0E for help-gnu-emacs@gnu.org; Tue, 04 May 2010 17:18:03 -0400 Original-Received: by fxm1 with SMTP id 1so3683482fxm.0 for ; Tue, 04 May 2010 14:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=tuXcXZsX8rayMEt3IvjqBbzO/RRwGWtTpCYWB/qGeS4=; b=hM1h4Pr1tcjEai8upRwQxE2ZCdO3Ckpxn0tPUZNJwvBRB3yoUiZSpXyLR5pxz6JLC2 30V86pfkIkKVN3nYjQf9ENlDX/nGVoLprxug3uoqksybsyfExXZ48R0Dm5fSl67hbPYn RnWxf8KWkaPeyMh9WgBTqV+37xl5KB8rJ4Kz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=QWAq3iVKC+0zQdMgnzMR8NPKOBw0jnsdoB32GFGmMzIqssYBDK0y/qmzapgPCQqEfo z9yClD6Y/Zq0jHUIZgmfjWmv+Proi9crEUcAC5bgwKzlVo7DdFHkkej2bFmy9bINXQKJ J5NfQFGorvbEvxGqnRvMbvLzt3QUP3D+s1BqQ= Original-Received: by 10.239.160.197 with SMTP id e5mr765820hbd.201.1273007881291; Tue, 04 May 2010 14:18:01 -0700 (PDT) Original-Received: by 10.239.164.81 with HTTP; Tue, 4 May 2010 14:17:41 -0700 (PDT) In-Reply-To: <68b58ad4-99cc-4b41-bb3e-d498a1706a75@x12g2000yqx.googlegroups.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:73454 Archived-At: On Fri, Apr 16, 2010 at 2:50 PM, LanX wrote: > Hi > > Shortcut conflict or another clash of civilizations ... > > In CUA-mode I regularly get bitten by unwanted deletes of regions with > C-x when trying to save or alike... > > There different (intelligent) approaches I can think of are: > > a) moving CUA's kill to C-x C-x > b) undoing the kill if C-x is followed by C-x > c) automatically undoing the kill if C-x is followed by C-s and alike > d) shifting the most frequent C-x mode-map commands to other bindings > > what do you suggest? I am always using S-C-x when I don't want to delete the region. It took some days to get used to it, but it is not very difficult since I actually have a visual clue there (since the region is visually marked). But this is easier to do if you are using sticky keys (see EmacsWiki). > cheers > =C2=A0rolf >