From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.help Subject: Re: unassigning cntl-Z in cua mode Date: Mon, 23 Mar 2015 16:39:48 +1100 Message-ID: <87iodsz2zf.fsf@gmail.com> References: <87oankz5j4.fsf@gmail.com> <87k2y8z4jt.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1427089210 24821 80.91.229.3 (23 Mar 2015 05:40:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2015 05:40:10 +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:40:10 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 1YZv5t-0005g9-VV for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 06:40:10 +0100 Original-Received: from localhost ([::1]:53772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZv5t-0000V6-AE for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 01:40:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZv5i-0000V1-Q2 for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 01:39:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZv5f-00018g-Cr for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 01:39:58 -0400 Original-Received: from mail-pd0-x230.google.com ([2607:f8b0:400e:c02::230]:33754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZv5f-000170-64 for help-gnu-emacs@gnu.org; Mon, 23 Mar 2015 01:39:55 -0400 Original-Received: by pdnc3 with SMTP id c3so176728151pdn.0 for ; Sun, 22 Mar 2015 22:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:in-reply-to:date:message-id:mime-version :content-type; bh=DYxoEZxjog4i+2FHv3AhwzGnuYNUhkzuc2CnW1X3g9k=; b=LNTBFdLjCyUh0iAmUB1xvCIUQ4RkWfUOJ80wZ15w/jl+LlgLNtz8RemDSBXU/slVZP 0TbOjEhcsAxOj/U+vQ34e8cmzcYWdc9uOTOm/ubCjgxnGgzFfqHeNHUFxxgXPSX5fQki NCHLE0h/J7SUjaCFdsoEImUWVQsQsazUZomJDtPGBgK1HXUtzRiXecakI30UfHvJSxDv QfUwte5MKtgF1NfCGFjIoBN3HPeCpnIbDjWJW18lnNVF8X+I42QCnyGKIk5+ABATIjGe 3oIDBsNdCADHw90xtQTwScJSknOH2jC4eRu/0x4+7S0qEo+8MABicHbDSV/j6LDUnZEU iTjA== X-Received: by 10.70.88.172 with SMTP id bh12mr190031327pdb.52.1427089194398; Sun, 22 Mar 2015 22:39:54 -0700 (PDT) Original-Received: from localhost (ppp118-209-89-112.lns20.mel4.internode.on.net. [118.209.89.112]) by mx.google.com with ESMTPSA id tg14sm15646645pac.15.2015.03.22.22.39.52 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 22 Mar 2015 22:39:53 -0700 (PDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::230 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:103265 Archived-At: On 2015-03-23T16:19:34+1100, Stuart McGraw said: SM> On 03/22/2015 11:05 PM, Alexis wrote: >> On 2015-03-23T15:54:01+1100, Stuart McGraw >> said: >> SM> Ah, I was try to set it to nil. I just tried your suggestion SM> >> instead but still no joy. No errors or messages but no effect >> SM> either, ctrl-z still tries to do an undo. >> >> Odd. What does Emacs say when you ask about the C-z >> keybinding: >> >> C-h k C-z SM> Still seems to be bound to undo: SM> | C-z runs the command undo, which is an interactive compiled SM> Lisp | function in `simple.el'. | | It is bound to C-z, C-_, SM> , C-/, C-x u, . |... SM> The "(global-unset-key (kbd "C-z"))" line is at the bottom of my SM> .emacs file, I didn't do something silly like putting it above SM> the cua-enabling stuff. *nod* Perhaps instead try: (setq cua-remap-control-z nil) ? Alexis.