home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / alt / lucidem / help / 360 < prev    next >
Encoding:
Text File  |  1992-08-28  |  2.2 KB  |  56 lines

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