unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Finn <pdfinn@uwm.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: copying and pasting in emacs
Date: Sun, 05 Apr 2009 12:53:56 -0500	[thread overview]
Message-ID: <m1r607f0ln.wl@Athena.local.localhost> (raw)
In-Reply-To: <640dcabc-d78f-4006-901f-2689297ea79a@w9g2000yqa.googlegroups.com>

At Sun, 5 Apr 2009 07:17:02 -0700 (PDT),
luca pamparana wrote:
> 
> Hello,
> 
> I am unable to figure out how to select and copy text as you would do
> in another editors:
> 
> For example, one thing I normally need to do is select from the
> current position upto the next few words. Normally, I just press shift
> + ctrl and the left or right arrow key and the editor would highlight
> one word at a time. I have so far been unable to figure out how to
> highlight text in emacs using the keyboard.
> 
> Anyone knows how I can do it esp. highlighting one word, line etc. at
> a time.
> 
> Many thanks,
> 
> Luca

If you want behavior similar to other editors you might want to try
turning on CUA mode (M-x cua-mode <RET>) which will give you exactly the
selection behavior you want (using <SHIFT> in combination with <ARROW>);
as well as key-bindings for the copying, cutting, and pasting of text
similar to other editors you may be familiar with.

CUA mode can be enabled permanently through Emacs' customization
facility by typing: M-x customize-variable <RET> cua-mode <RET> and
setting is value to ON, and saving your changes.

Peter




  parent reply	other threads:[~2009-04-05 17:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-05 14:17 copying and pasting in emacs luca.pamparana
2009-04-05 14:56 ` Richard Riley
2009-04-05 14:57 ` lore
2009-04-05 15:45 ` Nurullah Akkaya
2009-04-05 16:06 ` rustom
2009-04-05 17:48   ` Drew Adams
2009-04-05 17:53 ` Peter Finn [this message]
     [not found] ` <mailman.4665.1238954048.31690.help-gnu-emacs@gnu.org>
2009-04-05 21:43   ` B. T. Raven
2009-04-06  7:29 ` Nikolaj Schumacher
     [not found] ` <mailman.4658.1238946331.31690.help-gnu-emacs@gnu.org>
2009-05-02 23:50   ` David Combs
  -- strict thread matches above, loose matches on Subject: below --
2009-04-06  9:07 Bourgneuf Francois
2009-04-06  9:42 ` Daniel Dalton
2009-04-06 14:55   ` Peter Dyballa
2009-04-06 14:56   ` Renaud Casenave-Péré
     [not found] ` <mailman.4706.1239028278.31690.help-gnu-emacs@gnu.org>
2009-05-02 23:59   ` David Combs
2009-04-06  9:47 Daniel Dalton
2009-04-06 14:55 ` Alan Mackenzie
2009-04-06 21:40   ` Daniel Dalton

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=m1r607f0ln.wl@Athena.local.localhost \
    --to=pdfinn@uwm.edu \
    --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).