From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: CUA mode cursor color Date: 15 May 2002 23:23:29 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xn0v1qf5a.fsf@kfs2.cua.dk> References: <200205131242.g4DCgR606614@rum.cs.yale.edu> <5xelgf7ne5.fsf@kfs2.cua.dk> <200205150700.g4F70ut16169@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021494292 30442 127.0.0.1 (15 May 2002 20:24:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 May 2002 20:24:52 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1785KN-0007ut-00 for ; Wed, 15 May 2002 22:24:51 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1785W3-0005kl-00 for ; Wed, 15 May 2002 22:36:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1785K9-0007yq-00; Wed, 15 May 2002 16:24:37 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 1785IW-0007uz-00; Wed, 15 May 2002 16:22:56 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 316607C016; Wed, 15 May 2002 20:22:43 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: <200205150700.g4F70ut16169@aztec.santafe.edu> Original-Lines: 41 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3975 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3975 Richard Stallman writes: > I'd like cua-rect.el to be the default too :-) > > Could you tell me what feature it provides? - Rectangle highlighting - rectangles are not confined to actual line lengths, e.g. if the buffer contains lines like this (X marks the position of the cursor aaaaaaaaa bbbbbbbbbbbbbbb cccccccccccc dddddX it is possible (straight-forward) to mark a rectangle like this (where the +'s marks the corners of the rectangle + aaaaaaaaa + bbbbbbbbbbbbbbb cccccccccccc + dddddX + i.e. the rectangle can be wider than the length of the line where the cursor is located (the lower right corner above). - rectangles are killed, copied and yanked using C-w, M-w, and C-y. - to upcase/lowercase a rectangle, use M-u/M-l - to "open" or "close" a rectangle, use M-o/M-c - M-r does replace-regexp in the rectangle For more information, see the commentary in emulation/cua-base.el To try it out, just enable CUA mode on the Options menu, and mark a rectangle using S-RET.