I'm surprised that noone has yet suggested that you investigate the
rectangle functions.  For example:

C-x r r runs `copy-rectangle-to-register'

`copy-rectangle-to-register' is an interactive compiled Lisp function
  -- loaded from "/opt/build/xemacs-21.4.15/lisp/register.elc"
(copy-rectangle-to-register REGISTER START END &optional DELETE-FLAG)

Documentation:
Copy rectangular region into register REGISTER.
With prefix arg, delete as well.
Called from program, takes four args: REGISTER, START, END and DELETE-FLAG.
START and END are buffer positions giving two corners of rectangle.

I happen to be using XEmacs, but these functions are common to XEmacs
and Emacs.

Others are documented in the Info files, for example.

Uwe Mayer <[EMAIL PROTECTED]> writes:

> Hi,
>
> how do you change the way emacs selects regions of text? Currently it works
> line based, but I need to select a rectangular region from within a text.
> Can anyone help me with how to change the selection mode?
>
> Thanks
> Uwe     

-- 
Alan Wehmann
wehmann(nospam)@fnal.gov
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to