bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kill-rectangle if middle line is longer than last


From: Dan Jacobson
Subject: kill-rectangle if middle line is longer than last
Date: 11 Nov 2002 06:40:14 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Assume a file contains
Disallow: /geo/taiwan_addresses/
Disallow: /geo/taiwan_datums/triangpts/twd67/penghu67.txt
Disallow: /geo/taiwan_datums/triangpts/twd67/taiwan67.txt
Disallow: /geo/taiwan_triangpts/
Disallow: /location/house_views.html
Disallow: /me/1988tcsh.txt
one can do awk '{print $2}', but one cannot use kill-rectangle to get
the same effect unless the longest line is at the end, unless one
wants to add lots of spaces to the end of the last line in order to
move the cursor far enough to grab the whole rectangle.  Alas.  Hmmm.

> Then kill $1

Very funny.
-- 
http://jidanni.org/ Taiwan(04)25854780






reply via email to

[Prev in Thread] Current Thread [Next in Thread]