From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: VC shows stderr in target buffer Date: Sat, 05 Apr 2008 10:31:46 -0400 Message-ID: References: <4DBD5643-5AC0-4449-8A4E-B680D15ECCAB@gmail.com> <803EDF5A-B38E-491A-B2B9-49822C0A5E53@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207405951 19269 80.91.229.12 (5 Apr 2008 14:32:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Apr 2008 14:32:31 +0000 (UTC) Cc: emacs- devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 05 16:33:03 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ji9S1-0007ZW-BH for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 16:33:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ji9RO-0000j0-J5 for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 10:32:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ji9Qr-00009G-UA for emacs-devel@gnu.org; Sat, 05 Apr 2008 10:31:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ji9Qq-00007B-4T for emacs-devel@gnu.org; Sat, 05 Apr 2008 10:31:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ji9Qp-00006a-Ov for emacs-devel@gnu.org; Sat, 05 Apr 2008 10:31:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ji9Qp-0004gh-Tx for emacs-devel@gnu.org; Sat, 05 Apr 2008 10:31:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq0BAAIq90fO+J/WdGdsb2JhbACBXI94ASqYaQ X-IronPort-AV: E=Sophos;i="4.25,608,1199682000"; d="scan'208";a="17866018" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 05 Apr 2008 10:31:47 -0400 Original-Received: from pastel.home ([206.248.159.214]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id LSK06447; Sat, 05 Apr 2008 10:31:47 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D7369872B; Sat, 5 Apr 2008 10:31:46 -0400 (EDT) In-Reply-To: <803EDF5A-B38E-491A-B2B9-49822C0A5E53@gmail.com> (David Reitter's message of "Sat, 5 Apr 2008 08:27:30 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94408 Archived-At: >> It seems better in the *vc-diff* buffer where the user will be sure to >> see it than in the echo area where it'll be overwritten soon after >> (especially for multi-line messages). > When you do C-x C-s and the file can't be written, do you insert an error > message into the buffer? > When you handle an exception signalled anywhere, do you insert an error > message into the buffer or do you show it in the echo area? > My request was about consistency. I do not think consistency in this regard is important. > It's probably important to know I would > do things like C-x C-v = in order to do something else with the resulting > diff than to just read the output. Thus, warnings (and they are just > warnings!) are annoying when they're shown in the buffer. The content of the diff output already often includes various extra lines that can be more or less relevant depending on the tool used. Some of those lines will be on stderr, others on stdout. Tools that use patches know to ignore leading and trailing garbage, so I really don't think it's that important. Stefan