From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Scott Frazer Newsgroups: gmane.emacs.help Subject: Re: cua-mode overrides my C-z setting. How fix? Date: Thu, 11 Dec 2008 09:29:00 -0500 Organization: Ye 'Ol Disorganized NNTPCache groupie Message-ID: <1229005741.628999@sj-nntpcache-2.cisco.com> References: <32ebc7eb-973e-4cdd-9f56-ae1621140338@w1g2000prk.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229006553 7877 80.91.229.12 (11 Dec 2008 14:42:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2008 14:42:33 +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 Dec 11 15:43:37 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 1LAmjh-0005ot-Fl for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 15:41:53 +0100 Original-Received: from localhost ([127.0.0.1]:42026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAmiW-0002aX-2e for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 09:40:40 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe03.iad.POSTED!7564ea0f!not-for-mail User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) Original-Newsgroups: gnu.emacs.help In-Reply-To: <32ebc7eb-973e-4cdd-9f56-ae1621140338@w1g2000prk.googlegroups.com> Cache-Post-Path: sj-nntpcache-2.cisco.com!unknown@scfrazer-wxp.cisco.com X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/) Original-Lines: 14 Original-X-Complaints-To: newsadmin@cisco.com Original-NNTP-Posting-Date: Thu, 11 Dec 2008 14:29:02 UTC Original-Xref: news.stanford.edu gnu.emacs.help:165227 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:60555 Archived-At: seberino@spawar.navy.mil wrote: > I defined C-z to execute some commands like so: > > (global-set-key "\^z" (make-sparse-keymap)) > (global-set-key "\^zt" 'dired-other-window) > > I noticed this doesn't work anymore when CUA mode is enabled. > > How fix? (Can I just override this single mod of cua-mode and keep the > rest of cua-mode? :) > > Chris (define-key cua--cua-keys-keymap [(control z)] nil)