unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Vertical Blocks
@ 2003-04-30 15:36 Kouros Owzar
  2003-04-30 16:35 ` John McCabe
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kouros Owzar @ 2003-04-30 15:36 UTC (permalink / raw)


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?

Sincerely,

Kouros

"Peace, commerce and honest friendship with all nations; entangling alliances
 with none." --Thomas Jefferson: 1st Inaugural Address, 1801.

The Declaration of Independence:
http://www.archives.gov/exhibit_hall/charters_of_freedom/declaration/declaration_transcription.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Vertical Blocks
  2003-04-30 15:36 Vertical Blocks Kouros Owzar
@ 2003-04-30 16:35 ` John McCabe
  2003-04-30 16:39 ` Kai Großjohann
  2003-04-30 19:53 ` Jeffery B. Rancier
  2 siblings, 0 replies; 4+ messages in thread
From: John McCabe @ 2003-04-30 16:35 UTC (permalink / raw)


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'

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Vertical Blocks
  2003-04-30 15:36 Vertical Blocks Kouros Owzar
  2003-04-30 16:35 ` John McCabe
@ 2003-04-30 16:39 ` Kai Großjohann
  2003-04-30 19:53 ` Jeffery B. Rancier
  2 siblings, 0 replies; 4+ messages in thread
From: Kai Großjohann @ 2003-04-30 16:39 UTC (permalink / raw)


Kouros Owzar <owzar@email.unc.edu> writes:

> How does one go about marking, for the purpose
> of copying, pasting or cutting, vertical blocks (regions)
> in emacs?

They are called rectangles in Emacs.  This ought to help you find the
right spot in the manual.
-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Vertical Blocks
  2003-04-30 15:36 Vertical Blocks Kouros Owzar
  2003-04-30 16:35 ` John McCabe
  2003-04-30 16:39 ` Kai Großjohann
@ 2003-04-30 19:53 ` Jeffery B. Rancier
  2 siblings, 0 replies; 4+ messages in thread
From: Jeffery B. Rancier @ 2003-04-30 19:53 UTC (permalink / raw)


Kouros Owzar <owzar@email.unc.edu> writes:

Maybe some of these commands will help.

,----
| Global Bindings Starting With C-x r:
| key             binding
| ---             -------
| 
| C-x r l		bookmark-bmenu-list
| C-x r m		bookmark-set
| C-x r b		bookmark-jump
| C-x r f		frame-configuration-to-register
| C-x r w		window-configuration-to-register
| C-x r t		string-rectangle
| C-x r o		open-rectangle
| C-x r y		yank-rectangle
| C-x r d		delete-rectangle
| C-x r k		kill-rectangle
| C-x r c		clear-rectangle
| C-x r +		increment-register
| C-x r n		number-to-register
| C-x r r		copy-rectangle-to-register
| C-x r g		insert-register
| C-x r i		insert-register
| C-x r x		copy-to-register
| C-x r s		copy-to-register
| C-x r j		jump-to-register
| C-x r SPC	point-to-register
| C-x r C-SPC	point-to-register
| C-x r C-@	point-to-register
`----

> 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?
>
> Sincerely,
>
> Kouros
>
> "Peace, commerce and honest friendship with all nations; entangling alliances
>  with none." --Thomas Jefferson: 1st Inaugural Address, 1801.
>
> The Declaration of Independence:
> http://www.archives.gov/exhibit_hall/charters_of_freedom/declaration/declaration_transcription.html

-- 
Thanks,
Jeff
,----
| Jeffery B. Rancier
| 
| Softechnics
| a METTLER TOLEDO company
`----

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-30 19:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-30 15:36 Vertical Blocks Kouros Owzar
2003-04-30 16:35 ` John McCabe
2003-04-30 16:39 ` Kai Großjohann
2003-04-30 19:53 ` Jeffery B. Rancier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).