From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Inhibit "Wrote foo" from write-region Date: Wed, 22 Jan 2014 10:05:01 +0200 Organization: JURTA Message-ID: <877g9s1lxu.fsf@mail.jurta.org> References: > <83d2jlgwf3.fsf@gnu.org> > <834n4xgu3z.fsf@gnu.org>> <43c90265-e456-416e-b5f1-1e29e9d9a54e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390377969 11997 80.91.229.3 (22 Jan 2014 08:06:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2014 08:06:09 +0000 (UTC) Cc: Sebastian Wiesner , Eli Zaretskii , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 22 09:06:16 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W5spD-0003Ce-Dc for ged-emacs-devel@m.gmane.org; Wed, 22 Jan 2014 09:06:15 +0100 Original-Received: from localhost ([::1]:34145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5spC-0006AG-US for ged-emacs-devel@m.gmane.org; Wed, 22 Jan 2014 03:06:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5sp4-000638-Qk for emacs-devel@gnu.org; Wed, 22 Jan 2014 03:06:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5soy-0005cr-SC for emacs-devel@gnu.org; Wed, 22 Jan 2014 03:06:06 -0500 Original-Received: from [69.163.184.122] (port=59712 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5sor-0005YL-Pf; Wed, 22 Jan 2014 03:05:53 -0500 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 244D3300B2A245; Wed, 22 Jan 2014 00:05:52 -0800 (PST) In-Reply-To: <43c90265-e456-416e-b5f1-1e29e9d9a54e@default> (Drew Adams's message of "Tue, 21 Jan 2014 09:59:16 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.184.122 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168875 Archived-At: >> I think the conclusion was that we can add a variable that Lisp >> programs could bind, which will force write-region use 'message'. >> Then you could override that in Lisp. > > That seems pretty crude. Sounds like all or nothing. Giving the > user the black & white choice, "Do you want eight zillion useless > messages or no messages at all?" sounds like a cop-out. > > Why not do what we do for Dired, when you operate on marked files? A better example is `display-warning' that supports different log levels :debug, :warning, :error, or :emergency.