From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Spiers Newsgroups: gmane.emacs.bugs Subject: bug#4891: 23.1; shell-command overwrites whole buffer Date: Thu, 12 Nov 2009 09:33:33 +0000 Message-ID: <20091112093333.GB14892@atlantic.linksys.moosehall> References: <20091109111414.B55872414F@arctic.adamspiers.org> <871vk5shiu.fsf@mail.jurta.org> <20091112011548.GA14892@atlantic.linksys.moosehall> Reply-To: Adam Spiers , 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 1258019262 22604 80.91.229.12 (12 Nov 2009 09:47:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2009 09:47:42 +0000 (UTC) Cc: 4891@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 12 10:47:35 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 1N8WH7-0006fL-H1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Nov 2009 10:47:33 +0100 Original-Received: from localhost ([127.0.0.1]:59748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8WH6-0007Ni-Uc for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Nov 2009 04:47:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8WH1-0007NN-Vz for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2009 04:47:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8WGw-0007LK-Ae for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2009 04:47:27 -0500 Original-Received: from [199.232.76.173] (port=47587 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8WGw-0007LD-5y for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2009 04:47:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44785) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8WGv-0003L1-Cb for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2009 04:47:21 -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 nAC9lIZR014709; Thu, 12 Nov 2009 01:47:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAC9e6no014047; Thu, 12 Nov 2009 01:40:06 -0800 Resent-Date: Thu, 12 Nov 2009 01:40:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Adam Spiers Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 12 Nov 2009 09:40:06 +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.125801842813557 (code B ref 4891); Thu, 12 Nov 2009 09:40:06 +0000 Original-Received: (at 4891) by emacsbugs.donarmstrong.com; 12 Nov 2009 09:33:48 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from gwia-smtp.id2.novell.com (vpn.id2.novell.com [195.33.99.129]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAC9Xkso013553 for <4891@emacsbugs.donarmstrong.com>; Thu, 12 Nov 2009 01:33:47 -0800 Original-Received: from localhost ([::ffff:149.44.117.250]) by gwia-smtp.id2.novell.com with ESMTP (TLS encrypted); Thu, 12 Nov 2009 10:24:44 +0000 Content-Disposition: inline In-Reply-To: X-OS: Linux User-Agent: Mutt/1.5.20 (2009-08-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 12 Nov 2009 04: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:32560 Archived-At: On Wed, Nov 11, 2009 at 11:23:44PM -0500, Stefan Monnier wrote: > > 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. That's exactly what I tried yesterday - but that's synchronous ...