From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tom Wurgler Newsgroups: gmane.emacs.bugs Subject: Re: [twurgler@goodyear.com: Re: emacs 21.2 odd behavior in shell window] Date: Thu, 4 Apr 2002 10:57:12 -0500 (EST) Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200204041557.KAA08340@rds294.goodyear.com> References: <200204011637.LAA21832@rds294.goodyear.com> <200204012321.g31NL8r11367@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1017939051 29799 127.0.0.1 (4 Apr 2002 16:50:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 4 Apr 2002 16:50:51 +0000 (UTC) Cc: twurgler@goodyear.com, bug-gnu-emacs@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16tARm-0007kW-00 for ; Thu, 04 Apr 2002 18:50:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16t9ep-00065g-00; Thu, 04 Apr 2002 11:00:15 -0500 Original-Received: from [12.4.195.34] (helo=goodyear.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16t9c9-0005nF-00; Thu, 04 Apr 2002 10:57:29 -0500 Original-Received: from rds294.goodyear.com (rds294.goodyear.com [163.243.27.160]) by goodyear.com (8.9.1b+Sun/8.8.8) with ESMTP id KAA12827; Thu, 4 Apr 2002 10:57:28 -0500 (EST) Original-Received: (from t901353@localhost) by rds294.goodyear.com (8.9.3 (PHNE_18546)/8.9.3) id KAA08340; Thu, 4 Apr 2002 10:57:12 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: <200204012321.g31NL8r11367@aztec.santafe.edu> (message from Richard Stallman on Mon, 1 Apr 2002 16:21:08 -0700 (MST)) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:397 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:397 Recently Richard Stallman wrote: > Date: Mon, 1 Apr 2002 16:21:08 -0700 (MST) > From: Richard Stallman > CC: t901353@rds294.goodyear.com, bug-gnu-emacs@gnu.org > Reply-to: rms@gnu.org > > Now when I hit ^C^C in emacs 21.2, I get nothing. > I then hit ^H^C ^C^C and it says it is bound to comint-interupt-subjob. > I then type esc-: (comint-interupt-subjob) and the program is sucessfully > aborted. > > Please try redefining comint-interupt-subjob to run interpreted and > put (debug) into it at the beginning. Then try stepping through it > and see what it does. > > Here is what I tried. I brought comint.el into a buffer, searched for "defun comint-interrupt-subjob" Below the (interactive) I added a (debug) and set the region around the defun, then did eval-region. I then did ^C^C and stepped through no problem and eventually aborted the program in the shell. So I started the shell program again and did ^C^C. When the debug started I just hit C, it completed the abort just fine. So I took out the debug line and eval'ed the defun again. Now ^C^C aborted the program just fine. So I got out of emacs totally, restarted, tried the ^C^C again and it didn't work. So I brought comint.el into a buffer again, eval'ed just comint-interrupt-subjob without adding or changing anything else. Now ^C^C worked just fine. Does any of this help? (Is this what you meant to do when you said to run "interpreted"?) Thanks tom