home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Fri, 28 Aug 1992 10:02:06 EDT
- Date: Fri, 28 Aug 1992 10:00:08 EDT
- From: paquette%fatman.crim.ca@lucid.com (Marc Paquette)
- Message-ID: <9208281400.AA02189@fatman.crim.ca>
- Subject: Mouse enhancements for buffer-menu mode
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 45
-
-
- Jamie said (jwz@lucid.com) :
-
- > In message <9208272131.AA03116@pts5.pts.mot.com> Bob Weiner wrote:
- > >
- > > Hyperbole already provides mouse handling for many modes. I believe it
- > > pre-dates Lucid Emacs and runs across all GNU Emacs version and window
- > > systems, so people should try to stay compatible with it.
- > >
- > > button1 moves point
- > > button2 (primary smart key) acts on items (can also pop up a menu)
- > > button3 (secondary smart key) provides help or does the inverse of button2
- >
- > Well I hear the sound of dead horses being beaten, but I feel compelled to
- > mention that "right button = popup menu" is the standard in Motif, OpenLook,
- > NeXTStep, and the Lisp Machine OS.
- >
- > -- Jamie
- >
-
- While on that subject, what about double click events ? In many
- GUI (OPEN LOOK, Macintosh, probably NeXTStep and MS-WINDOWS
- also), double clicking the mouse button that "moves the point" on
- a object, initiates a default action for that object.
-
- Note that (initiating a default action for the "object") is, if I
- understand it correctly, the behavior of Hyperbole's primary
- smart key. So, in the simplest case, a double click event
- handler on, for example, the first mouse button, could just call the
- Hyperbole primary smart key, after the current action (selecting
- the current word) have been performed.
-
- Since the current behavior of double clicking in Lucid Emacs is
- non-destructive (make the current word as the primary selection)
- I can't see why this can't be done. Is there any reason why
- mouse double clicks events are not available ? Maybe I haven't
- looked close enough ?
-
- --
- Marc Paquette
- Conseiller Technique, UNIX
- Centre de recherche informatique de Montreal (CRIM)
- Tel : (514) 340-5758
- Fax : (514) 340-5777
- email : paquette@crim.ca
-