From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nurullah Akkaya Newsgroups: gmane.emacs.help Subject: Re: copying and pasting in emacs Date: Sun, 5 Apr 2009 18:45:20 +0300 Message-ID: <32bebcba0904050845j670f31f3l38a596ce54ccca2b@mail.gmail.com> References: <640dcabc-d78f-4006-901f-2689297ea79a@w9g2000yqa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00504502c89e5677680466d0abb3 X-Trace: ger.gmane.org 1238946401 13783 80.91.229.12 (5 Apr 2009 15:46:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Apr 2009 15:46:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: luca.pamparana@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 05 17:47:59 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LqUZi-0003Bk-0v for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Apr 2009 17:47:58 +0200 Original-Received: from localhost ([127.0.0.1]:59177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LqUYJ-00085E-Nd for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Apr 2009 11:46:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LqUXI-0007KN-R3 for help-gnu-emacs@gnu.org; Sun, 05 Apr 2009 11:45:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LqUXD-0007DZ-TH for help-gnu-emacs@gnu.org; Sun, 05 Apr 2009 11:45:28 -0400 Original-Received: from [199.232.76.173] (port=46633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LqUXD-0007DL-O7 for help-gnu-emacs@gnu.org; Sun, 05 Apr 2009 11:45:23 -0400 Original-Received: from mail-ew0-f160.google.com ([209.85.219.160]:65501) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LqUXD-00083H-5n for help-gnu-emacs@gnu.org; Sun, 05 Apr 2009 11:45:23 -0400 Original-Received: by ewy4 with SMTP id 4so1829087ewy.42 for ; Sun, 05 Apr 2009 08:45:20 -0700 (PDT) Original-Received: by 10.216.73.193 with SMTP id v43mr934705wed.157.1238946320643; Sun, 05 Apr 2009 08:45:20 -0700 (PDT) In-Reply-To: <640dcabc-d78f-4006-901f-2689297ea79a@w9g2000yqa.googlegroups.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63499 Archived-At: --00504502c89e5677680466d0abb3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Sun, Apr 5, 2009 at 5:17 PM, 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 > Enable delete-selection in your .emacs by adding (delete-selection-mode) after that when you press Ctrl+space you start selecting regions. Normal movement keys apply. Ctrl+space Ctrl+e will select from cursor to the end of line. Nurullah Akkaya --00504502c89e5677680466d0abb3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sun, Apr 5, 2009 at 5:17 PM, <luca.pamparana@g= mail.com> 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


Enable delete-selection in your .emacs by adding=

(delete-selection-mode)

after that when you press Ctrl+space= you start selecting regions.
Normal movement keys apply.

Ctrl+s= pace
Ctrl+e

will select from cursor to the end of line.

Nurullah A= kkaya
--00504502c89e5677680466d0abb3--