From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Micah Cowan Newsgroups: gmane.emacs.help Subject: Re: cut, copy, & paste with scroll mouse Date: 30 Oct 2003 11:44:51 -0800 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067543368 9176 80.91.224.253 (30 Oct 2003 19:49:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 19:49:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 30 20:49:26 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFInO-0004u3-00 for ; Thu, 30 Oct 2003 20:49:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFIlk-0008Pg-BD for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Oct 2003 14:47:44 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.telusplanet.net!newsfeed.telus.net!news3.optonline.net!newshosting.com!news-xfer1.atl.newshosting.com!posted1.newshosting.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Lines: 39 Original-NNTP-Posting-Host: 144c96a7.news.calweb.com Original-X-Trace: DXC=oQANCBTGQWSY?VfF>PLod]7gYX5fdemcPBn5a7KXNT@[=K@Bg]nNNOS\meS0]8E9\]\JXA89Pe45S Original-X-Complaints-To: abuse@calweb.com Original-Xref: shelby.stanford.edu gnu.emacs.help:117726 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13661 Kevin Dziulko writes: > Hello > > I have a Microsoft IntelliMouse with a scroll wheel in the middle. I am > using GNU Emacs 21.2.1 on MS Windows 2000. > > I have (global-unset-key [mouse-2]) in my .emacs so that wheel does only > scrolling and nothing else. (Otherwise it would paste when clicked) Personally, I leave it set and just scroll the weel if I want to scroll, and click it if I want to paste. > I am not familiar with X windows methods and operations. So, how do I cut, > copy, and paste using the mouse? Do I have to configure scroll mouse in a > certain way? Does it matter that I have pc-selection-mode turned on? Well, the mouse-based copy/paste is standard for X, but the other techniques are pretty much unique to Emacs. You obviously should still be able to place a region of text in the kill-buffer simply by selecting it with the mouse. You can do this either by clicking-and-dragging mouse-1, or you can click with mouse-1, and then click at the end of the region to be copied with mouse-2. Without using the mouse, you can also use C-SPC to set the "mark" to the current "point" (where the text cursor is), and then once you have "point" where you want it, you can use C-w to "cut" (in Emacs it's "kill") the region, or if you only want to "copy" it, use M-w. Pasting can be done without the mouse with C-y, which inserts the last-killed thing at point. There are other very interesting things about how the kill-ring works: I'm pretty sure they're covered in the Emacs Tutorial (type "C-h t"). HTH. -- Micah J. Cowan micah@cowan.name