home *** CD-ROM | disk | FTP | other *** search
- Hello !
-
- Someone posted the following here a while ago:
-
- (defun mouse-on-modeline-p ()
- "Non-nil iff mouse pointer is within a modeline."
- (equal x-mode-pointer-shape (cdr (assq 'pointer (screen-parameters)))))
-
- (defun mouse-left (event)
- "Perform commands bound to left mouse button."
- (interactive "@e")
- (if (mouse-on-modeline-p)
- (scroll-down)
- (mouse-track event)))
-
- (defun mouse-right (event)
- "Perform commands bound to right mouse button."
- (interactive "@e")
- (if (mouse-on-modeline-p)
- (scroll-up)
- (what-ever-you-have-on-the-button-otherwise event)))
-
- (global-set-key 'button1 'mouse-left)
-
-
- I cannot remember who it was .... But could the person please email
- me ? I have a question concerning this. Thanks in advance.
-
-
- Wolfgang.
-
-
- ```
- (o o)
- **************oOO**(_)**OOo***************************************************
- * Email: *"Protect me from knowing what I don't need *
- * wolle@uni-paderborn.de * to know. Protect me from even knowing that *
- * You can also reach me as * there are things to know that I don't know. *
- * Ged@PaderMud * Protect me from knowing that I decided not *
- * (Lord of Dragonland) * to know about the things that I decided not *
- * The world of PaderMud is at * to know about. - Amen." *
- * telnet 131.234.2.42 3000 *"Lord, lord, lord. Protect me from the *
- * (mud.uni-paderborn.de 3000) * consequences of the above prayer. - Amen." *
- * "Don't dream it - be it !" * (Hitchhiker's Guide To The Galaxy, Part V) *
- ******************************************************************************
-
-
-
-
-
-
-
-
-
-
-
-
-
-