From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: john@nospam.demon.co.uk (John McCabe) Newsgroups: gmane.emacs.help Subject: Re: Vertical Blocks Date: Wed, 30 Apr 2003 16:35:01 +0000 (UTC) Organization: BT Openworld Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3eaffac4.31795159@news.btclick.com> References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1051721894 30355 80.91.224.249 (30 Apr 2003 16:58:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2003 16:58:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 30 18:58:12 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Aut8-0007m5-00 for ; Wed, 30 Apr 2003 18:56:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19AudH-0006ZO-00 for gnu-help-gnu-emacs@m.gmane.org; Wed, 30 Apr 2003 12:40:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: host217-37-177-69.in-addr.btopenworld.com Original-X-Trace: hercules.btinternet.com 1051720501 826 217.37.177.69 (30 Apr 2003 16:35:01 GMT) Original-X-Complaints-To: news-complaints@lists.btinternet.com Original-NNTP-Posting-Date: Wed, 30 Apr 2003 16:35:01 +0000 (UTC) X-Newsreader: Forte Free Agent 1.21/32.243 Original-Xref: shelby.stanford.edu gnu.emacs.help:112582 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9078 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9078 On Wed, 30 Apr 2003 11:36:22 -0400, Kouros Owzar wrote: >Hi. > >How does one go about marking, for the purpose >of copying, pasting or cutting, vertical blocks (regions) >in emacs? > >To be more specific, how does one mark columns 5 to 7 within >rows 2 to 6? > >How does one toggle back and forth from horizontal to vertical >block selection? I'm sure I'll be corrected if this has been updated, but Emacs (assuming you're using something like transient-mark-mode for Active Region Highlighting!) doesn't differentiate between 'column' and 'row' mode in marking. If you start a selection at column 5 on one row, then end the selection on column 7 in another row, the using the rectangle commands (e.g. C-x r k, C-x r y etc) will work on things between column 5 and column 7 in the marked region. Hope this helps. Best Regards John McCabe To reply by email replace 'nospam' with 'assen'