From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Anderson Newsgroups: gmane.emacs.help Subject: Re: Pasting from Emacs to Mozilla in Mandrake Date: Thu, 30 Oct 2003 10:34:37 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1067528077.6900.16.camel@Hades> References: <1c58a7c3.0310290755.661b92f3@posting.google.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1067528416 1068 80.91.224.253 (30 Oct 2003 15:40:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 15:40:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 30 16:40:12 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 1AFEuC-00025R-00 for ; Thu, 30 Oct 2003 16:40:12 +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 1AFEuA-00064W-K2 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Oct 2003 10:40:10 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AFEpR-0004nF-4o for help-gnu-emacs@gnu.org; Thu, 30 Oct 2003 10:35:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AFEop-0004dR-TS for help-gnu-emacs@gnu.org; Thu, 30 Oct 2003 10:35:10 -0500 Original-Received: from [24.59.76.83] (helo=Hades) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFEop-0004dO-Kp for help-gnu-emacs@gnu.org; Thu, 30 Oct 2003 10:34:39 -0500 Original-Received: by Hades (Postfix, from userid 501) id 69761337; Thu, 30 Oct 2003 10:34:38 -0500 (EST) Original-To: Sapient Fridge In-Reply-To: X-Mailer: Ximian Evolution 1.4.4-8mdk 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:13646 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13646 In mandrake, during installation, you should have been asked to confirm what kind of mouse you were using. Then you got to test it out, hit all the buttons, and confirm it's the right configuration. (If you choose the wrong one the mouse cursor does weird things -- like move to the upper right corner no matter what direction you move the mouse). If you want to retry the mouse configuration wizard, go under the mandrake control center, under hardware, and click on MouseDrake. Or, if you are on a box without X, type # drakconf as root to bring up the text based version of drakconf. If you get everything working, you are going to need to grab some LISP for your .emacs to get the middle mouse button to scroll in emacs. I use: ;; BEGIN LISP ;; The following is code I got off of the net which is used to ;; scroll the mouse wheel up or down by 2 lines. Modify the ;; scroll-up or scroll-down to modify the number of scrolls.. (defun sd-mousewheel-scroll-up (event) "Scroll window under mouse up by two lines." (interactive "e") (let ((current-window (selected-window))) (unwind-protect (progn (select-window (posn-window (event-start event))) (scroll-up 2)) ;; change the 2 to change # scrolls (select-window current-window)))) (defun sd-mousewheel-scroll-down (event) "Scroll window under mouse down by two lines." (interactive "e") (let ((current-window (selected-window))) (unwind-protect (progn (select-window (posn-window (event-start event))) (scroll-down 2)) ;; change the 2 to change # scrolls (select-window current-window)))) (global-set-key (kbd "") 'sd-mousewheel-scroll-up) (global-set-key (kbd "") 'sd-mousewheel-scroll-down) ;; END LISP I have been told that there is an easier way to do scroll ups. Perhaps somebody else on the list can chip in. -Dan