From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.help Subject: Re: cut, copy, & paste with scroll mouse Date: 30 Oct 2003 16:13:09 -0800 Organization: http://extra.newsguy.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <877k2muuwa.fsf@newsguy.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067561500 3649 80.91.224.253 (31 Oct 2003 00:51:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2003 00:51:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 01:51:38 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 1AFNVp-0006v0-00 for ; Fri, 31 Oct 2003 01:51:38 +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 1AFNQp-0004lY-RR for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Oct 2003 19:46:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!cyclone.swbell.net!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews1 Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: p-911.newsdawg.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:117742 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:13679 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13679 Kevin> I have (global-unset-key [mouse-2]) in my .emacs so that wheel Kevin> does only scrolling and nothing else. (Otherwise it would paste Kevin> when clicked) Micah> Personally, I leave it set and just scroll the weel if I want to Micah> scroll, and click it if I want to paste. Kevin> I am not familiar with X windows methods and operations. So, how Kevin> do I cut, copy, and paste using the mouse? Do I have to Kevin> configure scroll mouse in a certain way? Does it matter that I Kevin> have pc-selection-mode turned on? man xmodmap(1) for how you can change the meaning of the mouse buttons from the shell. Then bind a short script doing that to a key in your window manager configuration, and another one to change the mapping back. Then you'll be able to paste with the right button (for example) as long as you're in that mode. This is what I do on my laptop with only 2 buttons. -- "Rap music is our punishment for neglecting music education." An anonymous teacher