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

  1.  
  2.     I have sent Jamie a patch to fix this bug, and I believe he is
  3. going to checkin the fix in the next release. The problem is caused
  4. by over-optimization in Lucid emacs. 
  5.  
  6.     However, if you are truely bugged by this problem, which I am,
  7. you can apply the following patch, and rebuild your lucid emacs. The
  8. problem should go away. Good luck!
  9.  
  10.  
  11. --- Wilson
  12.  
  13. *** keymap.c    Wed Apr  7 20:32:50 1993
  14. --- keymap.c.fix    Wed Apr  7 19:51:51 1993
  15. ***************
  16. *** 1251,1260 ****
  17. --- 1251,1262 ----
  18.            * Return a fixnum to indicate that keys were too long.
  19.            */
  20.           cmd = make_number (keys_so_far + 1);
  21. + #if 0
  22.         else if (parental_unit)
  23.           /* Durst hope for tail-recursion? */
  24.           return (raw_lookup_key (cmd, raw_keys + 1, remaining, 
  25.                       keys_so_far + 1));
  26. + #endif
  27.         else
  28.           cmd = raw_lookup_key (cmd, raw_keys + 1, remaining, 
  29.                     keys_so_far + 1);
  30. ***************
  31. *** 1297,1306 ****
  32. --- 1299,1310 ----
  33.               ;
  34.             else if (NILP (Fkeymapp (cmd)))
  35.               cmd = make_number (keys_so_far + 2);
  36. + #if 0
  37.             else if (parental_unit)
  38.               /* Durst hope for tail-recursion? */
  39.               return (raw_lookup_key (cmd, raw_keys + 2, remaining - 1,
  40.                           keys_so_far + 2));
  41. + #endif
  42.             else
  43.               cmd = raw_lookup_key (cmd, raw_keys + 2, remaining - 1,
  44.                         keys_so_far + 2);
  45.  
  46.