From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: misbehavior in shell window with ksh Date: Mon, 01 May 2017 18:09:36 +0300 Message-ID: <831ss8k40f.fsf@gnu.org> References: <12812.1493593946@alto> <83o9vdjcl6.fsf@gnu.org> <87pofszvue.fsf@rosalinde> <837f20ke4g.fsf@gnu.org> <87inlkzlkt.fsf@rosalinde> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1493651457 1483 195.159.176.226 (1 May 2017 15:10:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 May 2017 15:10:57 +0000 (UTC) Cc: emacs-devel@gnu.org, mkupfer@alum.berkeley.edu To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 01 17:10:52 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5CyS-0000GO-5F for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 17:10:52 +0200 Original-Received: from localhost ([::1]:54703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5CyW-0002YZ-25 for ged-emacs-devel@m.gmane.org; Mon, 01 May 2017 11:10:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5Cxt-0002YJ-CP for emacs-devel@gnu.org; Mon, 01 May 2017 11:10:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5Cxq-00017g-7R for emacs-devel@gnu.org; Mon, 01 May 2017 11:10:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5Cxq-00017c-4S; Mon, 01 May 2017 11:10:14 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4602 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d5Cxn-0008AW-Gt; Mon, 01 May 2017 11:10:13 -0400 In-reply-to: <87inlkzlkt.fsf@rosalinde> (message from Stephen Berman on Mon, 01 May 2017 16:41:06 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214486 Archived-At: > From: Stephen Berman > Cc: mkupfer@alum.berkeley.edu, emacs-devel@gnu.org > Date: Mon, 01 May 2017 16:41:06 +0200 > > By edebugging shell.el and comint.el I see that after typing `C-x 0' in > the recipe, the function comint-output-filter is invoked with the value > # for its argument `proc' and the value "> " for its > argument `string', and the latter value is what is inserted into the > *shell* buffer. I have failed to find out how that argument gets that > value or even how comint-output-filter gets invoked. If anyone has any > advice for how to proceed, I can try it. Thanks. Can you show the backtrace for the invocation of comint-output-filter?