From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1973: marked as done (Bug in simple.el (Emacs version 22.2.1)) Date: Tue, 11 Aug 2009 04:45:04 +0000 Message-ID: References: <87ocqnneu3.fsf@cyd.mit.edu> <63k9n3fx.fsf@vps203.linuxvps.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1249965904-15738-0" X-Trace: ger.gmane.org 1249966036 4595 80.91.229.12 (11 Aug 2009 04:47:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 04:47:16 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 11 06:47:08 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 1MajGL-00052Z-Vp for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 06:47:06 +0200 Original-Received: from localhost ([127.0.0.1]:47996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MajGK-0007HU-Lp for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 00:47:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MajGD-0007H0-PY for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 00:46:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MajG8-0007G3-R2 for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 00:46:56 -0400 Original-Received: from [199.232.76.173] (port=33886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MajG8-0007Fy-GI for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 00:46:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47306) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MajG7-0004cc-VU for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 00:46:52 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7B4kmcY016069; Mon, 10 Aug 2009 21:46:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7B4j4J4015764; Mon, 10 Aug 2009 21:45:04 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1973 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:30086 Archived-At: This is a multi-part message in MIME format... ------------=_1249965904-15738-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 11 Aug 2009 00:40:04 -0400 with message-id <87ocqnneu3.fsf@cyd.mit.edu> and subject line Re: Bug in simple.el (Emacs version 22.2.1) has caused the Emacs bug report #1973, regarding Bug in simple.el (Emacs version 22.2.1) to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 1973: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1973 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1249965904-15738-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 20 Jan 2009 20:40:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0KKeA1R019456 for ; Tue, 20 Jan 2009 12:40:12 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPNOK-00063E-9k for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 15:40:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPNOH-0005zl-AN for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 15:40:06 -0500 Received: from [199.232.76.173] (port=48913 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPNOG-0005zF-Nh for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 15:40:05 -0500 Received: from main.gmane.org ([80.91.229.2]:39651 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LPNOG-0004VV-6T for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 15:40:04 -0500 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LPNOE-00079W-F8 for bug-gnu-emacs@gnu.org; Tue, 20 Jan 2009 20:40:02 +0000 Received: from vps203.linuxvps.org ([91.186.7.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jan 2009 20:40:02 +0000 Received: from sebyte by vps203.linuxvps.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jan 2009 20:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Sebastian Tennant Subject: Bug in simple.el (Emacs version 22.2.1) Date: Tue, 20 Jan 2009 20:10:58 +0000 Lines: 42 Message-ID: <63k9n3fx.fsf@vps203.linuxvps.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: vps203.linuxvps.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:fDB8KsJ+g8WPG8HRJ/ftVnwwJSo= Sender: news X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) --=-=-= Hello all, 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. HTH, Sebastian --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=simple.el.diff --- /usr/share/emacs/22.2/lisp/simple-patched.el 2009-01-20 19:51:29.528333079 +0000 +++ /usr/share/emacs/22.2/lisp/simple.el 2008-03-11 01:57:32.000000000 +0000 @@ -1892,11 +1892,10 @@ (erase-buffer) (display-buffer buffer) (setq default-directory directory) - (setq proc (get-buffer-process - (make-comint-in-buffer - "Shell" buffer shell-file-name nil - shell-command-switch command))) + (setq proc (start-process "Shell" buffer shell-file-name + shell-command-switch command)) (setq mode-line-process '(":%s")) + (require 'shell) (shell-mode) (set-process-sentinel proc 'shell-command-sentinel) )) (shell-command-on-region (point) (point) command --=-=-=-- ------------=_1249965904-15738-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1973-done) by emacsbugs.donarmstrong.com; 11 Aug 2009 04:39:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.7 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7B4dAh9015241 for <1973-done@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 21:39:11 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 8161657E275; Tue, 11 Aug 2009 00:40:04 -0400 (EDT) From: Chong Yidong To: 1973-done@emacsbugs.donarmstrong.com Subject: Re: Bug in simple.el (Emacs version 22.2.1) Date: Tue, 11 Aug 2009 00:40:04 -0400 Message-ID: <87ocqnneu3.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Closing Bug#1973, since async-shell-command is now in the trunk. ------------=_1249965904-15738-0--