From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: A couple of COMINT questions Date: Wed, 23 Mar 2011 20:30:10 -0700 (PDT) Message-ID: <635322.12725.qm@web62505.mail.re1.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1300937426 23728 80.91.229.12 (24 Mar 2011 03:30:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2011 03:30:26 +0000 (UTC) To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 24 04:30:22 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q2bFd-0002qm-Hy for ged-emacs-devel@m.gmane.org; Thu, 24 Mar 2011 04:30:21 +0100 Original-Received: from localhost ([127.0.0.1]:40568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2bFc-0000Js-PU for ged-emacs-devel@m.gmane.org; Wed, 23 Mar 2011 23:30:20 -0400 Original-Received: from [140.186.70.92] (port=50407 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2bFV-0000IE-F4 for emacs-devel@gnu.org; Wed, 23 Mar 2011 23:30:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2bFU-0002Rc-3A for emacs-devel@gnu.org; Wed, 23 Mar 2011 23:30:13 -0400 Original-Received: from web62505.mail.re1.yahoo.com ([69.147.75.97]:27624) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q2bFT-0002Qo-Vc for emacs-devel@gnu.org; Wed, 23 Mar 2011 23:30:12 -0400 Original-Received: (qmail 22962 invoked by uid 60001); 24 Mar 2011 03:30:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1300937410; bh=DjifTl68hHVlVlhXWIVGJpYnnqaRHoNKZlk0IBRNHUw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=L4lPRI+OGYqtxUo4QsaNuzIHtIN+RK+L1CC97QWL9ijwa2IR4d292UtDnjUV/aFaaGIshBQAmzJJuvSvGUHCUfQGrRzeLIMRZrkMa56/Od0cF11HJhzsU7Asbl1bqQeQE2ZybnuWSRNVdawOvQCCqgDLgXkMfO6CFaCR3YLPXBs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ysyX9T7b5sjUYlyz6jVKmUp3jvQBg4SKEqfTGkaWVNQeeA3b+Jxz+YMAZkjVaxw7Hin4MZu5vtTU57yOKfkpi0//eqRm1MHjbGWPVA6V66oJimZB2rvUVMG3bvaUeO32xUCaDraaQ4TEh8OMGgPKiL/9Ew1de9ti7VJZztFHNQ8=; X-YMail-OSG: BEkRhA0VM1k5AjAgO7wQapW6Zs67Q2BbBgMob43PTyP_Ahz GVGiAjFsaqw_vIZTdNHefvI87_zbBWeRzNyfB6kFJOe9OBYpLkIi2dTXxbu1 25RcXgM8HqeCizoGT8MBT2U6srJU_wGnWcpaCssF9Lbm8qT54jHQtWRFosM9 W9VPfl6ZEdfgSz4RjcwLQfrHbVTaWvYNtC0E.TtSBoPUCcy5BPhsxj2u62wM yO1VLybIfMXpey0njGYYBdBqPu2LwdnUEhW2N1DKWX2Bu_yDimqqnQmE1hpD PeHYaGnpE8VRnmnbrw4tGkwVGmy4XIdPWnwUzDSufk0Is21ZhELAZfdq3hIa Q5tWZLFPrKIzMN.T1dmy3c1CsNaITcDcaaK6DKpWMhYsB5cTQuuh7Z26RBut 82ASebfB8ZAzi Original-Received: from [98.216.52.54] by web62505.mail.re1.yahoo.com via HTTP; Wed, 23 Mar 2011 20:30:10 PDT X-Mailer: YahooMailRC/559 YahooMailWebService/0.8.109.295617 X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-Received-From: 69.147.75.97 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:137623 Archived-At: Just a couple of minor questions about COMINT: * Should `comint-delchar-or-maybe-eof' call `delete-forward-char' rather than `delete-char' in 24.1? * When `comint-redirect-send-command-to-process' is used, the filter functions on the `comint-output-filter-functions' list are not called. Specifically `comint-strip-ctrl-m' is not called so that the redirected output may be decorated with ^M's. I thought maybe I'd check `comint-output-filter-functions' for certain filters and duplicate their actions when I'm dealing redirected output. But I don't like that solution; Any suggestions on how this might be handled. I did notice that several filters on the filter list manipulate the buffer contents rather than processing the string argument as they are documented to do. Should the filters be separated between those that modify the output and those that manipulate the buffer and window settings (i.e., `comint-postoutput-scroll-to-bottom') (And then apply the output filters during redirection)? Thanks. -- Michael Mauger