From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: fredanonyme@yahoo.com (fred) Newsgroups: gmane.emacs.help Subject: Re: break (C-c C-C) in shell broken Date: 26 Aug 2003 21:05:02 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1da9b2cd.0308262005.9df1334@posting.google.com> References: <1da9b2cd.0308151227.8fad9a6@posting.google.com> <84wudcw0i3.fsf@slowfox.is.informatik.uni-duisburg.de> <1da9b2cd.0308180711.7da3d961@posting.google.com> <84isorrqhe.fsf@slowfox.is.informatik.uni-duisburg.de> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1061958102 27012 80.91.224.253 (27 Aug 2003 04:21:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2003 04:21:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 27 06:21:40 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rroS-0007d3-00 for ; Wed, 27 Aug 2003 06:21:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19rroB-0005Kh-PI for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Aug 2003 00:21:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: 24.107.148.120 Original-X-Trace: posting.google.com 1061957103 31065 127.0.0.1 (27 Aug 2003 04:05:03 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 27 Aug 2003 04:05:03 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:116166 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12085 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12085 I was told a work-around: typing C-q C-c C-q C-c and then enter which is working. Maybe now somebody may have an idea on what could have broken the C-c C-c command, and how to fix it ? thanks. Fred. kai.grossjohann@gmx.net (Kai Großjohann) wrote in message news:<84isorrqhe.fsf@slowfox.is.informatik.uni-duisburg.de>... > fredanonyme@yahoo.com (fred) writes: > > > kai.grossjohann@gmx.net (Kai Großjohann) wrote in message news:<84wudcw0i3.fsf@slowfox.is.informatik.uni-duisburg.de>... > >> fredanonyme@yahoo.com (fred) writes: > >> > >> > I am using all the time a shell window from emacs and it > >> > used to be the case that Control-C Control-C would send a > >> > break to the shell. It is a feature I use all the time > >> > (specially when doing SQL queries). > >> > However, it stopped working just recently. > >> > >> What does C-h k C-c C-c say in the situation where you would like it > >> to send a break to the shell? > >> > > C-c C-c runs the command comint-interrupt-subjob > > which is an interactive compiled Lisp function in `comint'. > > (comint-interrupt-subjob) > > > >> What happens when you type C-c C-c to send a break to the shell? > > > > nothing. > > Hm. C-c C-c is invoking the right command, but the command doesn't > do anything. > > I have no idea how come this happens. Hm. I would perhaps locate > the source for the function (M-x find-function RET > comint-interrupt-subjob RET), then M-x edebug-defun RET it, then > single-step through it to see what happens.