home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / lucidem / help / 144 < prev    next >
Encoding:
Text File  |  1992-07-27  |  3.2 KB  |  79 lines

  1. Newsgroups: alt.lucid-emacs.help
  2. Path: sparky!uunet!convex!news.utdallas.edu!corpgate!bnrgate!bwdls61!bwdls138!jsparkes
  3. From: jsparkes@bwdls138.bnr.ca (Jeff Sparkes)
  4. Subject: Re: patches for Hyperbole to run on lemacs19.2
  5. Message-ID: <1992Jul27.162525.956@bwdls61.bnr.ca>
  6. Sender: usenet@bwdls61.bnr.ca (Use Net)
  7. Nntp-Posting-Host: bwdls138
  8. Organization: Bell-Northern Research Ltd., Ottawa
  9. References: <BOSCH.92Jul27031513@moebius.loria.fr>
  10. Distribution: alt
  11. Date: Mon, 27 Jul 1992 16:25:25 GMT
  12. Lines: 65
  13.  
  14. In article <BOSCH.92Jul27031513@moebius.loria.fr> bosch@loria.fr (Guido Bosch) writes:
  15. >In article <9207241926.AA02186@gateway.bnr.ca> JSPARKES%BNR.CA@lucid.com (J.D.) writes:
  16. >
  17. > >   Hi, I've made Hyperbole work under Lucid emacs 19.2, and I'd like some
  18. > >   brave beta testers. :-).  Actually, everything seems to work fine,
  19. > >   with just one problem:
  20. > >
  21. > >   KNOWN BUG/PROBLEMS
  22. > >
  23. > >   1. sm-mouse-toggle-bindings (commonly bound to C-ct) does not preserve
  24. > >      mode specific bindings because it only records the "default"
  25. > >      bindings once.  Any advice on what to do for this is welcome.  (I
  26. > >      find it annoying that I can't use the popup menu in Info-mode.)
  27. > >
  28. >
  29. >The problem is a more general one, after my opinon: For Emacs 19, the
  30. >Hyperbole user interface should be modified taking advantage of the
  31. >new features:
  32. >
  33. >    - The user interface menu (`hui::menu') should be implemented 
  34. >      as a popup-menu, accessable in the menu bar (I already
  35. >      hacked it around, it was rather straightforward, see at the
  36. >      end of this mailing).
  37. >
  38. >    - The smart-key stuff should be bound to buttons with
  39. >      modifiers (shift/control/meta/...). At least button3 has to
  40. >      be kept free for mode specific menus. This is because
  41. >      Emacses running under X11 come with a lot of packages that
  42. >      do their own (maybe mode local) mouse handling.
  43. >
  44. >      Another solution would be to intergrate Hyperbole as an
  45. >      essential part of Emacs 19's user interface and to use it
  46. >      for all kind of hypertext like mouse actions. This is maybe a
  47. >      better, but also a more expensive solution. 
  48. >
  49. >      For the moment, I use the following key bindings for
  50. >      Hyperbole, and this also solves your problem with the info
  51. >      menu. (I use the Control Shift modifier for smart keys,
  52. >      because there are few chances that other packages could use
  53. >      this also)
  54. >            
  55. >    (cond ((string-match "Lucid" (emacs-version))
  56. >       (defun le:mouse-set-point()
  57. >         (mouse-set-point (copy-event last-input-event)))
  58. >       (setq mouse-set-point-command 'le:mouse-set-point)
  59. >       (global-set-key '(control shift button2) 'sm-depress)
  60. >       (global-set-key '(control shift button2up) 'smart-key-mouse)
  61. >       (global-set-key '(control shift button2) 'sm-depress-meta)
  62. >       (global-set-key '(control shift button3up) 'smart-key-mouse-meta))
  63. >
  64.  
  65. This is a good idea.  My goal was merely to get Hyperbole up and running;
  66. plus I 'm used to the way it works.
  67.  
  68. >      
  69. >Another point for the TODO list: 
  70. >
  71. >    - Highlighting extents for explicit (and maybe implicit) buttons
  72.  
  73. I've done this.  Maybe it doesn't work under mono?
  74. --
  75. --
  76. Jeff Sparkes jsparkes@bnr.ca    Bell-Northern Research, Ottawa (613)765-2503
  77. "For better gas mileage, do not drive with the parking brake on."
  78.   - paraphrased from the owners manual of my Integra.
  79.