[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Vertical Blocks
From: |
John McCabe |
Subject: |
Re: Vertical Blocks |
Date: |
Wed, 30 Apr 2003 16:35:01 +0000 (UTC) |
On Wed, 30 Apr 2003 11:36:22 -0400, Kouros Owzar <owzar@email.unc.edu>
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'