From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stuart McGraw Newsgroups: gmane.emacs.help Subject: Re: unassigning cntl-Z in cua mode Date: Sun, 22 Mar 2015 22:59:36 -0600 Message-ID: References: <87oankz5j4.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1427086841 24211 80.91.229.3 (23 Mar 2015 05:00:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2015 05:00:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 23 06:00:32 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 1YZuTU-0007r5-K5 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 06:00:28 +0100 Original-Received: from localhost ([::1]:53651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZuTT-0004cs-Mt for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 01:00:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZuT3-0004WN-UE for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 01:00:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZuSn-0005m6-Ta for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 01:00:01 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZuSn-0005lj-Nk for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 00:59:45 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YZuSm-0007Gf-5F for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 05:59:44 +0100 Original-Received: from 65.183.81.59 ([65.183.81.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2015 05:59:44 +0100 Original-Received: from smcg4191 by 65.183.81.59 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Mar 2015 05:59:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 65.183.81.59 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:103262 Archived-At: On 03/22/2015 10:55 PM, Drew Adams wrote: >> (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 > | > | 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. > | > | You can customize this variable. > `---- But I don't want to disable all of them, just ctrl-z.