unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Neon Absentius <absent@sdf.lonestar.org>
Subject: Re: block based selection
Date: Fri, 15 Apr 2005 14:37:44 +0000	[thread overview]
Message-ID: <20050415143744.GA14941@SDF.LONESTAR.ORG> (raw)
In-Reply-To: <d3ohm7$2rn$1@news2.rz.uni-karlsruhe.de>

On Fri, Apr 15, 2005 at 04:04:55PM +0200, Uwe Mayer wrote:
> 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?

Technically speaking, Emacs doesn't really select a region, it just
remembers two positions, point and mark, on the buffer. There are
commands that operate on the whole region between point and mark, such
as the usual kill, yank etc, but also there are command that operate
on the rectangle defined by the point and mark. Such commands usually
start with C-r, for example
                                                                                                                                              
 C-r C-k  kill rectangle
 C-r C-y  yank rectangle
                                                                                                                                               
Have a look at the info page:
  
(info "(emacs)Rectangles") <--- hit C-x C-e here. 

> 
> Thanks
> Uwe     
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

-- 
Charity in capitalism is like urinating to extinguish a forest fire.
    -- Neon Absentius
absent a.in.cirle sdf period lonestar period org
SDF Public Access UNIX System - http://sdf.lonestar.org

  parent reply	other threads:[~2005-04-15 14:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15 14:04 block based selection Uwe Mayer
2005-04-15 14:16 ` Albert Reiner
2005-04-15 14:37 ` Neon Absentius [this message]
2005-04-15 14:49 ` EScott
     [not found] ` <mailman.1646.1113577345.2895.help-gnu-emacs@gnu.org>
2005-04-18  0:41   ` Quokka
2005-04-19 15:25   ` Mathias Dahl
2005-04-29  2:07 ` Alan Wehmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050415143744.GA14941@SDF.LONESTAR.ORG \
    --to=absent@sdf.lonestar.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).