From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "fcsaszar@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: Changing keybinding of C-return under CUA mode Date: 13 Mar 2006 16:51:19 -0800 Organization: http://groups.google.com Message-ID: <1142297479.359356.104380@e56g2000cwe.googlegroups.com> References: <1142104477.631134.191970@v46g2000cwv.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1142366583 3941 80.91.229.2 (14 Mar 2006 20:03:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 20:03:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 14 21:03:03 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 1FJFjB-0001oA-8f for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Mar 2006 21:02:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJFjA-0005RY-KJ for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Mar 2006 15:02:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e56g2000cwe.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 71.224.222.131 Original-X-Trace: posting.google.com 1142297485 20713 127.0.0.1 (14 Mar 2006 00:51:25 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 14 Mar 2006 00:51:25 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: e56g2000cwe.googlegroups.com; posting-host=71.224.222.131; posting-account=75K5rA0AAAAxbNgYm_tmp3CHGd-ExusQ Original-Xref: shelby.stanford.edu gnu.emacs.help:138148 Original-To: help-gnu-emacs@gnu.org 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:33770 Archived-At: But for some reason, this also does not work. I added the following to my .emacs: (add-hook 'cua-mode-hook '(lambda () (define-key cua--rectangle-keymap (kbd "C-.") 'cua-clear-rectangle-mark) (define-key cua--region-keymap (kbd "C-.") 'cua-toggle-rectangle-mark) ) ) And now says that C-. is undefined. Any ideas? Thanks, Felipe