Article View: gnu.emacs.help
Article #1960Control-g makes emacs crash. Solution wanted!
From: Gunnar Teege
Date: Tue, 15 Dec 1992 21:27
Date: Tue, 15 Dec 1992 21:27
34 lines
1855 bytes
1855 bytes
Perhaps someone knows how to solve this problem:
I just installed the ebuttons package posted in alt.sources. It allows
to activate emacs functions via a menu-like X window (which always
sits on the desktop). To use it for commands with arguments, I
configured it to explicitly use the 'command-execute' function. This
worked fine until I used C-g to abort a command. Emacs crashed with
the usual gigantic core file.
What happens in detail:
The ebuttons program runs as a subprocess started by 'start-process'.
It uses an input filter associated with 'set-process-filter'.
The filter uses 'eval' to evaluate what is coming in.
The input is e.g. "(command-execute 'goto-line)".
Thus it results by doing
(eval '(command-execute 'goto-line))
in the input filter of the process. This works fine. It displays the
usual prompt in the minibuffer and reads the line number. However,
when I enter C-g in the minibuffer, emacs crashes!
I tried
(eval '(let ((inhibit-quit t)) (command-execute 'goto-line)))
but it did not help.
I am using GNU Emacs 18.58 on a HP9000 under HP-UX 8.??, but I don't
think that matters a lot.
Thanks for any suggestion.
Gunnar Teege Inst. fuer Informatik, Technische Universitaet Muenchen
PO-Box 202420, 8000 Muenchen 2, Germany
teege@informatik.tu-muenchen.de Tel: +49 89 450552 25
Technical Details
Message-ID:
<TEEGE.92Dec15162703@unknown.informatik.tu-muenchen.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!lan!teegeShow Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!lan!teege From: teege@informatik.tu-muenchen.de (Gunnar Teege) Subject: Control-g makes emacs crash. Solution wanted! Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem) Organization: Inst. fuer Informatik, TU Muenchen, Germany Date: Tue, 15 Dec 1992 21:27:03 GMT Message-ID: <TEEGE.92Dec15162703@unknown.informatik.tu-muenchen.de> Lines: 34