From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: copying and pasting in emacs Date: Sun, 5 Apr 2009 10:48:51 -0700 Message-ID: <003701c9b616$c86c3440$0200a8c0@us.oracle.com> References: <640dcabc-d78f-4006-901f-2689297ea79a@w9g2000yqa.googlegroups.com> <505e7832-81c1-44a8-97fd-5b2db5073b7d@v1g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238955073 5367 80.91.229.12 (5 Apr 2009 18:11:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Apr 2009 18:11:13 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 05 20:12:31 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 1LqWpO-0000D8-Kz for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Apr 2009 20:12:18 +0200 Original-Received: from localhost ([127.0.0.1]:49076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LqWo0-00054L-1o for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Apr 2009 14:10:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LqWSk-0004w9-Gv for help-gnu-emacs@gnu.org; Sun, 05 Apr 2009 13:48:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LqWSg-0004uW-QO for help-gnu-emacs@gnu.org; Sun, 05 Apr 2009 13:48:54 -0400 Original-Received: from [199.232.76.173] (port=58564 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LqWSg-0004uR-Lz for help-gnu-emacs@gnu.org; Sun, 05 Apr 2009 13:48:50 -0400 Original-Received: from rcsinet13.oracle.com ([148.87.113.125]:51740 helo=rgminet13.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LqWSg-00053s-4u for help-gnu-emacs@gnu.org; Sun, 05 Apr 2009 13:48:50 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n35HmkXw010302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 5 Apr 2009 17:48:47 GMT Original-Received: from acsmt705.oracle.com (acsmt705.oracle.com [141.146.40.83]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n35HmlRA008461 for ; Sun, 5 Apr 2009 17:48:48 GMT Original-Received: from dradamslap1 (/141.144.64.94) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 05 Apr 2009 10:48:41 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <505e7832-81c1-44a8-97fd-5b2db5073b7d@v1g2000prd.googlegroups.com> Thread-Index: Acm2DTu/qP3GOqXgQ/CLAOaZ6YusrwAANWzg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt705.oracle.com [141.146.40.83] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A01020A.49D8EEFA.0128:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:63501 Archived-At: > > 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. > > See cua-mode and related stuff > (http://www.emacswiki.org/emacs/CuaMode) CUA mode is not for everyone, and is not necessarily the best place to start looking into this question, IMO. This is the overall category - active "region" means (~) "selection": http://www.emacswiki.org/emacs-en?CategoryRegion (I just added CuaMode to that page, BTW; it was missing.) These are some entries at that page which are good starting points: * http://www.emacswiki.org/emacs-en/Region - meaning and behavior of the region * http://www.emacswiki.org/emacs-en/DefaultKillingAndYanking - vanilla Emacs behavior and terminology for copy/paste * http://www.emacswiki.org/emacs-en/CopyAndPaste - alternatives (including CUA mode) to the vanilla Emacs copy/paste behavior See also the Emacs manual, node Transient Mark: http://www.gnu.org/software/emacs/manual/html_node/emacs/Transient-Mark.html#Tra nsient-Mark My own recommendation (not CUA mode), FWIW: * http://www.emacswiki.org/emacs-en/DeleteSelectionMode