From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.emacs.bugs Subject: bug#1973: Bug in simple.el (Emacs version 22.2.1) Date: Thu, 22 Jan 2009 08:45:41 +0000 Message-ID: References: <63k9n3fx.fsf@vps203.linuxvps.org> Reply-To: Sebastian Tennant , 1973@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232615026 13879 80.91.229.12 (22 Jan 2009 09:03:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2009 09:03:46 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, Sebastian Tennant , 1973@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 22 10:04:59 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LPvUg-0004tW-Ub for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2009 10:04:59 +0100 Original-Received: from localhost ([127.0.0.1]:52532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPvTP-0000HZ-JG for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jan 2009 04:03:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPvTJ-0000Gx-J7 for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 04:03:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPvTH-0000GS-TT for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 04:03:32 -0500 Original-Received: from [199.232.76.173] (port=39235 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPvTH-0000GD-I0 for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 04:03:31 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39592) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LPvTG-0008HK-HJ for bug-gnu-emacs@gnu.org; Thu, 22 Jan 2009 04:03:31 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0M93Swx017958; Thu, 22 Jan 2009 01:03:28 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0M8o4PV014592; Thu, 22 Jan 2009 00:50:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sebastian Tennant Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 22 Jan 2009 08:50:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1973 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1973-submit@emacsbugs.donarmstrong.com id=B1973.123261384513232 (code B ref 1973); Thu, 22 Jan 2009 08:50:04 +0000 Original-Received: (at 1973) by emacsbugs.donarmstrong.com; 22 Jan 2009 08:44:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from vps203.linuxvps.org (vps203.linuxvps.org [91.186.7.203]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0M8hv2M013222 for <1973@emacsbugs.donarmstrong.com>; Thu, 22 Jan 2009 00:43:58 -0800 Original-Received: from root by vps203.linuxvps.org with local (Exim 4.69) (envelope-from ) id 1LPvC1-00074B-Uu; Thu, 22 Jan 2009 08:45:41 +0000 In-Reply-To: (Stefan Monnier's message of "Wed, 21 Jan 2009 17:04:23 -0500") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 22 Jan 2009 04:03:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24379 Archived-At: Quoth Stefan Monnier : >> Asynchronous commands called via shell-command, for example: > >> (shell-command "apt-get update &") > >> fill the buffer *Async Shell Command Output* with Ctrl-Ms, which I'm >> sure is not what's intended. > >> My patch (attached) fixes this by using make-comint-in-buffer, rather >> than start-process, to call the asynchronous process. > > Such a feature would be good, indeed. Sorry Stefan, I'm not sure what feature it is you are refering to. There seems to be a bug within shell mode that prevents it from handling Ctrl-Ms properly. > I'm not sure that just using make-comint-in-buffer is good enough. > Maybe we should provide a new command instead, along the lines of > comint-run, or maybe even change comint-run so that it accepts a shell > command rather than an executable name. Why? In any case, I suspect we should extend rather than alter, comint mode being the basis for dozens of other 'interpreter modes'. Sebastian