home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!convex!news.utdallas.edu!corpgate!bnrgate!bwdls61!bwdls138!jsparkes
- From: jsparkes@bwdls138.bnr.ca (Jeff Sparkes)
- Subject: Re: patches for Hyperbole to run on lemacs19.2
- Message-ID: <1992Jul27.162525.956@bwdls61.bnr.ca>
- Sender: usenet@bwdls61.bnr.ca (Use Net)
- Nntp-Posting-Host: bwdls138
- Organization: Bell-Northern Research Ltd., Ottawa
- References: <BOSCH.92Jul27031513@moebius.loria.fr>
- Distribution: alt
- Date: Mon, 27 Jul 1992 16:25:25 GMT
- Lines: 65
-
- In article <BOSCH.92Jul27031513@moebius.loria.fr> bosch@loria.fr (Guido Bosch) writes:
- >In article <9207241926.AA02186@gateway.bnr.ca> JSPARKES%BNR.CA@lucid.com (J.D.) writes:
- >
- > > Hi, I've made Hyperbole work under Lucid emacs 19.2, and I'd like some
- > > brave beta testers. :-). Actually, everything seems to work fine,
- > > with just one problem:
- > >
- > > KNOWN BUG/PROBLEMS
- > >
- > > 1. sm-mouse-toggle-bindings (commonly bound to C-ct) does not preserve
- > > mode specific bindings because it only records the "default"
- > > bindings once. Any advice on what to do for this is welcome. (I
- > > find it annoying that I can't use the popup menu in Info-mode.)
- > >
- >
- >The problem is a more general one, after my opinon: For Emacs 19, the
- >Hyperbole user interface should be modified taking advantage of the
- >new features:
- >
- > - The user interface menu (`hui::menu') should be implemented
- > as a popup-menu, accessable in the menu bar (I already
- > hacked it around, it was rather straightforward, see at the
- > end of this mailing).
- >
- > - The smart-key stuff should be bound to buttons with
- > modifiers (shift/control/meta/...). At least button3 has to
- > be kept free for mode specific menus. This is because
- > Emacses running under X11 come with a lot of packages that
- > do their own (maybe mode local) mouse handling.
- >
- > Another solution would be to intergrate Hyperbole as an
- > essential part of Emacs 19's user interface and to use it
- > for all kind of hypertext like mouse actions. This is maybe a
- > better, but also a more expensive solution.
- >
- > For the moment, I use the following key bindings for
- > Hyperbole, and this also solves your problem with the info
- > menu. (I use the Control Shift modifier for smart keys,
- > because there are few chances that other packages could use
- > this also)
- >
- > (cond ((string-match "Lucid" (emacs-version))
- > (defun le:mouse-set-point()
- > (mouse-set-point (copy-event last-input-event)))
- > (setq mouse-set-point-command 'le:mouse-set-point)
- > (global-set-key '(control shift button2) 'sm-depress)
- > (global-set-key '(control shift button2up) 'smart-key-mouse)
- > (global-set-key '(control shift button2) 'sm-depress-meta)
- > (global-set-key '(control shift button3up) 'smart-key-mouse-meta))
- >
-
- This is a good idea. My goal was merely to get Hyperbole up and running;
- plus I 'm used to the way it works.
-
- >
- >Another point for the TODO list:
- >
- > - Highlighting extents for explicit (and maybe implicit) buttons
-
- I've done this. Maybe it doesn't work under mono?
- --
- --
- Jeff Sparkes jsparkes@bnr.ca Bell-Northern Research, Ottawa (613)765-2503
- "For better gas mileage, do not drive with the parking brake on."
- - paraphrased from the owners manual of my Integra.
-