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#5618: 23.1.91; shell-command-on-region unexpectedly erases buffer Date: Sat, 06 Mar 2010 12:34:33 -0500 Message-ID: References: <20100222094413.GC21836@tomas> <20100224055829.GA9795@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267912483 20416 80.91.229.12 (6 Mar 2010 21:54:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 6 Mar 2010 21:54:43 +0000 (UTC) Cc: 5618@debbugs.gnu.org, rfrancoise@debian.org To: tomas@tuxteam.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 06 22:54:38 2010 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.69) (envelope-from ) id 1No1ZI-00063g-H8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Mar 2010 22:29:52 +0100 Original-Received: from localhost ([127.0.0.1]:42582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnyCi-0000Ip-Rp for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Mar 2010 12:54:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NnyCd-0000ID-Rf for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2010 12:54:15 -0500 Original-Received: from [140.186.70.92] (port=36287 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnyCd-0000H4-1Q for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2010 12:54:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NnyCc-0006Cu-5X for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2010 12:54:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53496) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnyCc-0006Cm-28 for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2010 12:54:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nnxu2-0007Ol-9v; Sat, 06 Mar 2010 12:35:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Mar 2010 17:35:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5618 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5618-submit@debbugs.gnu.org id=B5618.126789688128433 (code B ref 5618); Sat, 06 Mar 2010 17:35:02 +0000 Original-Received: (at 5618) by debbugs.gnu.org; 6 Mar 2010 17:34:41 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nnxth-0007OY-9G for submit@debbugs.gnu.org; Sat, 06 Mar 2010 12:34:41 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nnxtf-0007OS-Cq for 5618@debbugs.gnu.org; Sat, 06 Mar 2010 12:34:39 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAJsgkktLd+K+/2dsb2JhbACbS3S1bYR4BIMXHIdY X-IronPort-AV: E=Sophos;i="4.49,595,1262581200"; d="scan'208";a="57650954" Original-Received: from 75-119-226-190.dsl.teksavvy.com (HELO pastel.home) ([75.119.226.190]) by ironport2-out.pppoe.ca with ESMTP; 06 Mar 2010 12:34:34 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E2C838866; Sat, 6 Mar 2010 12:34:33 -0500 (EST) In-Reply-To: <20100224055829.GA9795@tomas> (tomas@tuxteam.de's message of "Wed, 24 Feb 2010 06:58:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 06 Mar 2010 12:35:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:35462 > Besides, the behaviour in the current documentation seems way more > useful (i.e. _not_ erasing the buffer whenever REPLACE is non-nil). Agreed. We should try and fix the code to obey the doc more than the converse. If that can introduce backward compatibility problems, then it just means we need to do it more carefully. Stefan