unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: poppyer <poppyer@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to do rectangular cut(visual block) in emacs
Date: Tue, 24 Mar 2009 23:29:17 +0800	[thread overview]
Message-ID: <n0eiwnx7le.fsf@nusnet-97-126.dynip.nus.edu.sg> (raw)
In-Reply-To: 8e79b56a-c15b-4b26-b126-a6b81adce9d8@a12g2000yqm.googlegroups.com


Francis Moreau <francis.moro@gmail.com> writes:

: On Mar 24, 1:52pm, Peter Dyballa <PeterDyba...@Web.DE> wrote:
:> Am 24.03.2009 um 13:32 schrieb Francis Moreau:
:>
:> > How do I move to the bottom right corner without adding space to the
:> > last
:> > line ?
:>
:> Two steps, two registers: one with lines #1 + #2, the other line #3. 
:> Or vice-versa. Or you transpose line #1 and #2 or #2 and #3.
:>
:
: Another possibility would be to switch to a special mode (like picture-
: mode) that would allow to move freely into a buffer and select and
: copy the rectangle in this mode. The copy would dismiss any trailing
: spaces.

If you are using emacs 23, M-x cua-set-rectangle-mark (default binding
C-RET) will be your friend.


  reply	other threads:[~2009-03-24 15:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3882.1237871267.31690.help-gnu-emacs@gnu.org>
2009-03-24  7:59 ` How to do rectangular cut(visual block) in emacs Tim X
2009-03-24 12:32   ` Francis Moreau
2009-03-24 12:44     ` Rupert Swarbrick
2009-03-24 12:52     ` Peter Dyballa
     [not found]     ` <mailman.3905.1237899186.31690.help-gnu-emacs@gnu.org>
2009-03-24 13:28       ` Francis Moreau
2009-03-24 15:29         ` poppyer [this message]
2009-03-25  9:11     ` Tim X
2009-03-24  5:16 Anand Dhanakshirur
2009-03-24  5:12 ` Dirk-Jan C. Binnema

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=n0eiwnx7le.fsf@nusnet-97-126.dynip.nus.edu.sg \
    --to=poppyer@gmail.com \
    --cc=help-gnu-emacs@gnu.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).