From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Cua-mode binding of S-return Date: Thu, 28 Apr 2005 23:48:30 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114724908 29550 80.91.229.2 (28 Apr 2005 21:48:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2005 21:48:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 28 23:48:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRGr4-0006iY-KE for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2005 23:47:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRGxH-0004sW-3j for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2005 17:53:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DRGwm-0004lm-HT for emacs-devel@gnu.org; Thu, 28 Apr 2005 17:53:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DRGwk-0004kR-D8 for emacs-devel@gnu.org; Thu, 28 Apr 2005 17:53:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRGwk-0004Ul-99 for emacs-devel@gnu.org; Thu, 28 Apr 2005 17:53:22 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DRGwA-0007Br-Rv for emacs-devel@gnu.org; Thu, 28 Apr 2005 17:52:47 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 8B7DC262877 for ; Thu, 28 Apr 2005 23:48:32 +0200 (CEST) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36486 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36486 Currently cua-mode uses S-return to toggle rectangle marking. This works nicely most of the time, but it is just too easy to accidentally hit it after another shifted key, e.g. an upper case letter. Therefore, I would like to move this to another binding, but I don't quite know which. C-return seems like a good candidate, analogue to C-space for the normal mark. Unfortunately, C-return is used by tex-mode and thumbs-mode: (define-key map [(control return)] 'tex-feed-input) (define-key map [(control return)] 'thumbs-set-image-at-point-to-root-window) Calculator also uses it, but this is in a special environment where rectangle marking doesn't make much sense anyway: (calculator-save-and-quit [(control return)] The thumbs binding is a bit odd, as it could just as well be bound to a regular key, such as `r'. That really leaves just the tex-mode binding -- so I wonder how commonly used that binding is (C-c C-m also runs tex-feed-input). Of course, this is all relevant only when you use cua-mode. But we have talked about separating the cua-mode rectangle code from cua, and as such a good binding to toggle rectangle marking will have to be found anyway. -- Kim F. Storm http://www.cua.dk