From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Changing keybinding of C-return under CUA mode Date: Mon, 13 Mar 2006 22:15:19 +0100 Message-ID: <3B434556-80B1-441E-8CD0-29FBF7B84527@Web.DE> References: <1142104477.631134.191970@v46g2000cwv.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142284628 28943 80.91.229.2 (13 Mar 2006 21:17:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Mar 2006 21:17:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 13 22:17:06 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIuOB-0005fq-6E for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Mar 2006 22:15:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIuOA-0000aO-9l for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Mar 2006 16:15:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIuO0-0000aH-Au for help-gnu-emacs@gnu.org; Mon, 13 Mar 2006 16:15:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIuNy-0000a4-3g for help-gnu-emacs@gnu.org; Mon, 13 Mar 2006 16:15:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIuNx-0000a1-V5 for help-gnu-emacs@gnu.org; Mon, 13 Mar 2006 16:15:25 -0500 Original-Received: from [217.72.192.242] (helo=fmmailgate04.web.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FIuS0-0003OK-Re for help-gnu-emacs@gnu.org; Mon, 13 Mar 2006 16:19:37 -0500 Original-Received: by fmmailgate04.web.de (8.12.10/8.12.10/webde Linux 0.7) with ESMTP id k2DLFNeF004059; Mon, 13 Mar 2006 22:15:23 +0100 Original-Received: from [87.193.29.157] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.106 #94) id 1FIuNv-0007kb-00; Mon, 13 Mar 2006 22:15:23 +0100 In-Reply-To: <1142104477.631134.191970@v46g2000cwv.googlegroups.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "fcsaszar@gmail.com" X-Mailer: Apple Mail (2.746.2) X-Sender: Peter_Dyballa@web.de 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:33761 Archived-At: Am 11.03.2006 um 20:14 schrieb fcsaszar@gmail.com: > I want to change the keybinding to start marking a rectangle in CUA > mode from C-return to C-. > > But it seems that this keybinding cannot be unset with "M-x > global-unset-key" (after exceuting this, C-return continues working as > usual). Any idea on how to accomplish this? CUA uses 'private' keymaps: (define-key cua--rectangle-keymap [(control return)] 'cua-clear- rectangle-mark) (define-key cua--region-keymap [(control return)] 'cua-toggle- rectangle-mark) -- Greetings Pete "I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)