home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / emacs / help / 5091 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.8 KB  |  45 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!lan!teege
  3. From: teege@informatik.tu-muenchen.de (Gunnar Teege)
  4. Subject: Control-g makes emacs crash. Solution wanted!
  5. Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
  6. Organization: Inst. fuer Informatik, TU Muenchen, Germany
  7. Date: Tue, 15 Dec 1992 21:27:03 GMT
  8. Message-ID: <TEEGE.92Dec15162703@unknown.informatik.tu-muenchen.de>
  9. Lines: 34
  10.  
  11. Perhaps someone knows how to solve this problem:
  12.  
  13. I just installed the ebuttons package posted in alt.sources. It allows
  14. to activate emacs functions via a menu-like X window (which always
  15. sits on the desktop). To use it for commands with arguments, I
  16. configured it to explicitly use the 'command-execute' function. This
  17. worked fine until I used C-g to abort a command. Emacs crashed with
  18. the usual gigantic core file.
  19.  
  20. What happens in detail:
  21.  
  22. The ebuttons program runs as a subprocess started by 'start-process'.
  23. It uses an input filter associated with 'set-process-filter'.
  24. The filter uses 'eval' to evaluate what is coming in.
  25. The input is e.g. "(command-execute 'goto-line)".
  26.  
  27. Thus it results by doing
  28.   (eval '(command-execute 'goto-line))
  29. in the input filter of the process. This works fine. It displays the
  30. usual prompt in the minibuffer and reads the line number. However,
  31. when I enter C-g in the minibuffer, emacs crashes!
  32.  
  33. I tried 
  34.   (eval '(let ((inhibit-quit t)) (command-execute 'goto-line)))
  35. but it did not help.
  36.  
  37. I am using GNU Emacs 18.58 on a HP9000 under HP-UX 8.??, but I don't
  38. think that matters a lot.
  39.  
  40. Thanks for any suggestion.
  41.  
  42. Gunnar Teege   Inst. fuer Informatik, Technische Universitaet Muenchen
  43.                PO-Box 202420, 8000 Muenchen 2, Germany
  44. teege@informatik.tu-muenchen.de       Tel: +49 89 450552 25
  45.