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: Re: Tex-mode binding of C-return Date: Tue, 03 May 2005 10:02:26 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115173328 17004 80.91.229.2 (4 May 2005 02:22:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 May 2005 02:22:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 04 04:22:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DT9WJ-00052Z-5C for ged-emacs-devel@m.gmane.org; Wed, 04 May 2005 04:21:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DT9dW-0004tt-Pu for ged-emacs-devel@m.gmane.org; Tue, 03 May 2005 22:29:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DSsVI-0003VK-Tw for emacs-devel@gnu.org; Tue, 03 May 2005 04:11:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DSsUo-0003MO-RP for emacs-devel@gnu.org; Tue, 03 May 2005 04:11:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSsTB-0002rY-7s for emacs-devel@gnu.org; Tue, 03 May 2005 04:09:29 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1DSsQz-0005XY-7v for emacs-devel@gnu.org; Tue, 03 May 2005 04:07:14 -0400 Original-Received: (qmail 25474 invoked from network); 3 May 2005 08:02:25 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 3 May 2005 08:02:25 -0000 Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Mon, 02 May 2005 15:14:36 -0400") 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:36631 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36631 Stefan Monnier writes: >> C-return is such a "good command", analogue to C-SPC for the >> normal mark. > > I don't find C-return a particularly good choice (especially since it > doesn't work on ttys). Neither does S-return... Does C-space work on ttys? > > Is the idea that to kill a rectangle you could do > > C-RET C-SPC .... M-w Just do: C-RET ... M-w > > or equivalently > > C-SPC ... C-RET ... M-w That works, yes, changing the normal mark to a rectangle mark. > But to tell you the truth, it's hard to judge > without the whole context (i.e. what would be the interface for that > new rectangle handling thingy?). Try this: - Open some text in a buffer - M-x cua-mode RET - Place the cursor on the top left corner of "a" rectangle. - S-return - move to cursor to bottom right corner of that rectangle, using C-f, C-b, C-n, C-p or any other normal cursor movement. - C-w - Move somewhere else in the buffer - C-y I'm suggesting to use C-return instead of S-return to toggle the rectangle mark, just like C-space toggles the normal mark. > >> Do tex users really use C-return ? > > At least I don't. Good :-) -- Kim F. Storm http://www.cua.dk