From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: unassigning cntl-Z in cua mode Date: Sun, 22 Mar 2015 21:55:35 -0700 (PDT) Message-ID: References: <87oankz5j4.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1427086579 20616 80.91.229.3 (23 Mar 2015 04:56:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2015 04:56:19 +0000 (UTC) To: Alexis , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 23 05:56:07 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YZuP2-0004DH-LW for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 05:55:52 +0100 Original-Received: from localhost ([::1]:53641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZuP2-0003MN-1O for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 00:55:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZuOs-0003MG-Ba for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 00:55:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZuOp-0004o4-1k for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 00:55:42 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:27593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZuOo-0004nq-P0 for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 00:55:38 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2N4tZh6022598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Mar 2015 04:55:36 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t2N4tZSm005717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 23 Mar 2015 04:55:35 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t2N4tZjs022764; Mon, 23 Mar 2015 04:55:35 GMT In-Reply-To: <87oankz5j4.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103261 Archived-At: > (global-unset-key (kbd "C-z")) might do the trick .... That doesn't sound too good. I don't use CUA mode (never have), but looking around a little gives me the impression that you can just customize this option to nil: `cua-enable-cua-keys'. ,---- | cua-enable-cua-keys is a variable defined in `cua-base.el'. | Its value is t |=20 | Documentation: | Enable using C-z, C-x, C-c, and C-v for undo, cut, copy, and paste. | If the value is t, these mappings are always enabled. If the value is | `shift', these keys are only enabled if the last region was marked with | a shifted movement key. If the value is nil, these keys are never | enabled. |=20 | You can customize this variable. `----