home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / bug-lucid-emacs / text0136.txt < prev    next >
Encoding:
Text File  |  1993-07-04  |  978 b   |  30 lines

  1. A number of complaints have shown up recently on the Lucid Emacs and
  2. Hyperbole lists regarding the interference problems that Hyperbole has with
  3. the default Lucid Emacs mouse handling in packages such as GNUS, VM, RMAIL,
  4. etc.
  5.  
  6. The basic problem occurs when someone wants to use an alternate mouse
  7. handling package.  There are no conditionals that let one specify whether or
  8. not to enable the Lucid mouse handling.
  9.  
  10. Let me suggest that for each package in which specialized mouse handling is
  11. supported, a boolean flag be added whose value decides whether the mouse
  12. tracking, popup menus, etc, are loaded, e.g.:
  13.  
  14.     lucid-vm-p
  15.     lucid-gnus-p
  16.     lucid-rmail-p
  17.  
  18.  
  19. Then a function is added to turn all of these flags on or off at once prior
  20. to the loading of the packages:
  21.  
  22. (defun lucid-mouse-toggle (on-or-off)
  23.   "Sets up Lucid mouse handling to be ON-OR-OFF.
  24. Must be run before any of the affected packages are loaded."
  25.   (setq lucid-vm-p    on-or-off    
  26.     lucid-gnus-p  on-or-off
  27.     ....)
  28.  
  29.  
  30.