From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: EScott@nyiso.com Newsgroups: gmane.emacs.help Subject: Re: block based selection Date: Fri, 15 Apr 2005 10:49:55 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1737477075==" X-Trace: sea.gmane.org 1113577471 6014 80.91.229.2 (15 Apr 2005 15:04:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Apr 2005 15:04:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, help-gnu-emacs-bounces+escott=nyiso.com@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 15 17:04:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DMSLl-0000F1-Rw for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2005 17:03:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DMSPH-0000FN-Lx for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2005 11:06:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DMSHG-0002RV-O6 for help-gnu-emacs@gnu.org; Fri, 15 Apr 2005 10:58:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DMSH6-0002NA-9z for help-gnu-emacs@gnu.org; Fri, 15 Apr 2005 10:58:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DMSH2-0002GG-Fn; Fri, 15 Apr 2005 10:58:24 -0400 Original-Received: from [204.152.47.133] (helo=dommail2.nyiso.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DMS9n-00030H-F0; Fri, 15 Apr 2005 10:50:55 -0400 In-Reply-To: Original-To: merkosh@hadiko.de X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 X-MIMETrack: Serialize by Router on DomMail2/NYISO(Release 6.53FP1 | December 22, 2004) at 04/15/2005 10:50:02, Serialize complete at 04/15/2005 10:50:02 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:25721 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25721 This is a multipart message in MIME format. --===============1737477075== Content-Type: multipart/alternative; boundary="=_alternative 005179B085256FE4_=" This is a multipart message in MIME format. --=_alternative 005179B085256FE4_= Content-Type: text/plain; charset="US-ASCII" help-gnu-emacs-bounces+escott=nyiso.com@gnu.org wrote on 04/15/2005 10:04:55 AM: > Hi, > > how do you change the way emacs selects regions of text? Currently it works > line based, but I need to select a rectangular region from within a text. > Can anyone help me with how to change the selection mode? > > Thanks > Uwe What you are looking for is rectangle editing. Define a rectangle in the usual way (mark upper left corner, then move to bottom right plus one). Then use the commands kill-rectangle delete-rectangle yank-rectangle clear-rectangle open-rectangle HTH EricS > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --=_alternative 005179B085256FE4_= Content-Type: text/html; charset="US-ASCII"
help-gnu-emacs-bounces+escott=nyiso.com@gnu.org wrote on 04/15/2005 10:04:55 AM:

> Hi,
>
> how do you change the way emacs selects regions of text? Currently it works
> line based, but I need to select a rectangular region from within a text.
> Can anyone help me with how to change the selection mode?
>
> Thanks
> Uwe    


What you are looking for is rectangle editing.  

Define a rectangle in the usual way (mark upper left corner, then move to bottom right plus one).

Then use the commands
kill-rectangle
delete-rectangle
yank-rectangle
clear-rectangle
open-rectangle

HTH

EricS

> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
--=_alternative 005179B085256FE4_=-- --===============1737477075== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1737477075==--