From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.help Subject: Re: How to do rectangular cut(visual block) in emacs Date: Tue, 24 Mar 2009 05:32:59 -0700 (PDT) Organization: http://groups.google.com Message-ID: <36481928-7e91-4a13-a25f-37777e8878ec@y9g2000yqg.googlegroups.com> References: <8763hz1hd4.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237898458 28265 80.91.229.12 (24 Mar 2009 12:40:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 12:40:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 24 13:42:15 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lm5xB-0001Lm-Dn for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2009 13:42:01 +0100 Original-Received: from localhost ([127.0.0.1]:48603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lm5vo-0005GC-ID for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2009 08:40:36 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!y9g2000yqg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 213.215.4.82 Original-X-Trace: posting.google.com 1237897979 22342 127.0.0.1 (24 Mar 2009 12:32:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 24 Mar 2009 12:32:59 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y9g2000yqg.googlegroups.com; posting-host=213.215.4.82; posting-account=ekTE0goAAADiVCThPmo4ph0C5bTUhQOx User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009030503 Fedora/3.0.7-1.fc9 Firefox/3.0.7,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 grimoire.wyplay.int:3128 (squid/2.5.STABLE14) Original-Xref: news.stanford.edu gnu.emacs.help:167940 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:63231 Archived-At: Hello, On Mar 24, 8:59=A0am, Tim X wrote: > Move point to the top left corner and set the mark > Move point to the bottom right hand corner > Hit C-x r r where is a register. This will copy the > rectangle defined by the region into register > > Later, when you want to get that rectangle of text back, just hit C-x r > i and the contents of will be pasted into the buffer where > point is. > Now let say's I have the following text: a/ this is a line b/ this is a very long line c/ a short one and I want to copy the rectangle of this text without the a/ b/ c/ How do I move to the bottom right corner without adding space to the last line ? thanks