From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.devel Subject: Re: Inhibit "Wrote foo" from write-region Date: Wed, 22 Jan 2014 13:35:15 +0100 Message-ID: References: <83d2jlgwf3.fsf@gnu.org> <834n4xgu3z.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390400981 32413 80.91.229.3 (22 Jan 2014 14:29:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jan 2014 14:29:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 22 15:29:50 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 1W5yoP-0002AD-TX for ged-emacs-devel@m.gmane.org; Wed, 22 Jan 2014 15:29:50 +0100 Original-Received: from localhost ([::1]:35406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5yoP-0003uO-GU for ged-emacs-devel@m.gmane.org; Wed, 22 Jan 2014 09:29:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5yo5-0003UN-5d for emacs-devel@gnu.org; Wed, 22 Jan 2014 09:29:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5yo3-00087Z-VX for emacs-devel@gnu.org; Wed, 22 Jan 2014 09:29:29 -0500 Original-Received: from mail-yk0-x22a.google.com ([2607:f8b0:4002:c07::22a]:54307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5yo3-00087V-Rv; Wed, 22 Jan 2014 09:29:27 -0500 Original-Received: by mail-yk0-f170.google.com with SMTP id 9so487766ykp.1 for ; Wed, 22 Jan 2014 06:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=+qv5hOGsfZkO1OLdDlMnwbH3y+kDCAAtPGRkefUYNv8=; b=IXBPzAa2Su0s+HK1BmmlLzFE3cAifs24o4/klzW3bh5nD51apGd+aOWZjeFLF9atGc dgOfa5MdX1MhCOd+SIB2ioDQwlpSPiPoX/O95kTatsTP5M3px2m09wu58FF6IuL5C2wM 8jcrJ2QruuGIvr9sRQDucbhcILaM2VN9VXJRWnNyoL5SJYa1IdEBwQOXzqCAhJ1aAi2Z zz2Arx3GmnLeW6a+jNZ+C7L45CNs1yMFqRtuew9GmGRN1zLx1xiQgJ8FJ20mwx9ScJt3 BNq8TmYegi0B4e7qWon8YIbZX9RVwXJqhY3hiZhxLMsN/xMWqDJazpEniRZebg4KHGWl X9rQ== X-Received: by 10.236.181.137 with SMTP id l9mr1131455yhm.97.1390394118481; Wed, 22 Jan 2014 04:35:18 -0800 (PST) Original-Received: from lunaryorn-air.fritz.box ([2001:a60:115e:f601:fc40:c71:cbf6:5f11]) by mx.google.com with ESMTPSA id k76sm23568920yho.18.2014.01.22.04.35.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jan 2014 04:35:17 -0800 (PST) User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.1 In-reply-to: <834n4xgu3z.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22a 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:168890 Archived-At: eliz@gnu.org writes: >> From: Sebastian Wiesner >> Cc: emacs-devel@gnu.org >> Date: Tue, 21 Jan 2014 17:31:12 +0100 >> >> > http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00784.html >> >> Well, I read that discussion, but it does neither offer a solution, nor >> tells about any plan to change write-region to allow to inhibit the >> message. > > 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 would be very nice. > Patches to do that are welcome. I seem to have exhausted my "free without copyright assignment" limit with my first patch, so I won't be able to contribute more. Also, I am afraid, by knowledge of C and Emacs' internals isn't sufficient to change write-region accordingly.