From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4891: 23.1; shell-command overwrites whole buffer Date: Wed, 11 Nov 2009 23:23:44 -0500 Message-ID: References: <20091109111414.B55872414F@arctic.adamspiers.org> <871vk5shiu.fsf@mail.jurta.org> <20091112011548.GA14892@atlantic.linksys.moosehall> Reply-To: Stefan Monnier , 4891@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 1258001261 11077 80.91.229.12 (12 Nov 2009 04:47:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2009 04:47:41 +0000 (UTC) Cc: 4891@emacsbugs.donarmstrong.com To: Adam Spiers Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 12 05:47:33 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 1N8Ran-0006mc-BQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Nov 2009 05:47:33 +0100 Original-Received: from localhost ([127.0.0.1]:44299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8Ram-0002z9-PQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Nov 2009 23:47:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8Rah-0002yw-Vv for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 23:47:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8Rac-0002xy-Fn for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 23:47:26 -0500 Original-Received: from [199.232.76.173] (port=52687 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8Rac-0002xg-8n for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 23:47:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40337) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8Rab-0006xI-Oh for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2009 23:47:22 -0500 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 nAC4lILe019958; Wed, 11 Nov 2009 20:47:19 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAC4U7of018268; Wed, 11 Nov 2009 20:30:07 -0800 Resent-Date: Wed, 11 Nov 2009 20:30:07 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 12 Nov 2009 04:30:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4891 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4891-submit@emacsbugs.donarmstrong.com id=B4891.125799983217433 (code B ref 4891); Thu, 12 Nov 2009 04:30:07 +0000 Original-Received: (at 4891) by emacsbugs.donarmstrong.com; 12 Nov 2009 04:23:52 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAC4NoWU017430 for <4891@emacsbugs.donarmstrong.com>; Wed, 11 Nov 2009 20:23:52 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEADcc+0pMCpsp/2dsb2JhbACBTtsPhDwEiSM X-IronPort-AV: E=Sophos;i="4.44,726,1249272000"; d="scan'208";a="49152683" Original-Received: from 76-10-155-41.dsl.teksavvy.com (HELO pastel.home) ([76.10.155.41]) by ironport2-out.pppoe.ca with ESMTP; 11 Nov 2009 23:23:44 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 580068373; Wed, 11 Nov 2009 23:23:44 -0500 (EST) In-Reply-To: <20091112011548.GA14892@atlantic.linksys.moosehall> (Adam Spiers's message of "Thu, 12 Nov 2009 01:15:48 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 11 Nov 2009 23:47:26 -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:32552 Archived-At: > Thanks for the quick reply! Yes, that does make more sense now - but > what if I want to asynchronously insert output into an existing > buffer? Then switch to that buffer before starting the command and pass t as the OUTPUT-BUFFER. Stefan