From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Dziulko Newsgroups: gmane.emacs.help Subject: Re: cut, copy, & paste with scroll mouse Date: Fri, 31 Oct 2003 08:34:02 -0500 (EST) 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 1067608036 28442 80.91.224.253 (31 Oct 2003 13:47:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2003 13:47:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 14:47:14 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 1AFZcQ-0003rS-00 for ; Fri, 31 Oct 2003 14:47:14 +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 1AFZRc-0001E8-O1 for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Oct 2003 08:36:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFZQL-000197-Bo for help-gnu-emacs@gnu.org; Fri, 31 Oct 2003 08:34:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFZPj-00010O-IL for help-gnu-emacs@gnu.org; Fri, 31 Oct 2003 08:34:38 -0500 Original-Received: from [138.92.8.100] (helo=klaatu.canisius.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFZPf-0000zZ-Dt for help-gnu-emacs@gnu.org; Fri, 31 Oct 2003 08:34:03 -0500 Original-Received: from localhost (dziulko@localhost) by klaatu.canisius.edu (8.11.6/8.11.6) with ESMTP id h9VDY2614147 for ; Fri, 31 Oct 2003 08:34:02 -0500 Original-To: help-gnu-emacs@gnu.org In-Reply-To: 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:13691 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13691 On 30 Oct 2003, Micah Cowan wrote: > 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. > > Ideally, I would like the left button to be mouse-1, the right button to be mouse-3, simultanous left and right click to be mouse-2, and for the scroll wheel to be left undefined. So far the closest I've come is with (setq w32-num-mouse-buttons 2), but that still has scroll wheel and simultanous left and right click both set to mouse-2. Any ideas? Thanks!