From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: master cd0a795: Output number of characters added to file (Bug#354) Date: Thu, 06 Apr 2017 23:30:41 -0400 Message-ID: <87r3143ndq.fsf@holos> References: <20170407022529.14820.30445@vcs0.savannah.gnu.org> <20170407022531.17D812084C@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1491535862 4159 195.159.176.226 (7 Apr 2017 03:31:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 03:31:02 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Jeff Clough , Noam Postavsky To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 07 05:30:58 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwKbt-0008OO-Hq for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 05:30:53 +0200 Original-Received: from localhost ([::1]:48764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwKby-00076g-0h for ged-emacs-devel@m.gmane.org; Thu, 06 Apr 2017 23:30:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwKbp-00076R-Lp for emacs-devel@gnu.org; Thu, 06 Apr 2017 23:30:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwKbj-0003O9-TY for emacs-devel@gnu.org; Thu, 06 Apr 2017 23:30:49 -0400 Original-Received: from mail-qk0-x234.google.com ([2607:f8b0:400d:c09::234]:34621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwKbj-0003Nm-Kj for emacs-devel@gnu.org; Thu, 06 Apr 2017 23:30:43 -0400 Original-Received: by mail-qk0-x234.google.com with SMTP id p68so28288536qke.1 for ; Thu, 06 Apr 2017 20:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=brRN+XBnHe3wXnEoTow82s86fTVV2p1uhL9PLl2BT+E=; b=C4W3VAwg6zQ1WHYdesCcy9vnjw910NriqJYMK6YGmNBTs7BY+Jgz+6Vu4BcAjy6fNg L/32kb96n82U5h2VL7Hbb2D0vMiDz4sBmcrnnC9cbi4KMIzrjiqWKpJdC2RkLNv5C35P B2NN1vJls8WFWEGTCz22DZUIli4gQzOKVU4bheH26bqoiwmLurWMWeCNXk9oKK8Q/mXO 4LHN5ucSdWiaLzeBLfp9qKtQNKKKXgEpGuMOYEpO6JfLhayAOJfBmj1a9xzgUOGXXyQc JoNE9e/xdk2ScBZi3JGt0Mz0m9FfoEvKL3H9kl1nvwE5LX5wekJq6Tp8tBxhmxttdMwm a9aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=brRN+XBnHe3wXnEoTow82s86fTVV2p1uhL9PLl2BT+E=; b=Q6ZEzL1d4r5hE0GOf0CnyMW+GSjs/rBUoWZ6byZ+qQNnbExlGKNO3ya7/MzcMgx6gS zMGsDvWyH1pLGWqzEKRdrGmPGbjfJ+jKNCHM3euZJz3REmfULWs6YgdQunHTeC3aUi1T 4181gRUgdXJzBmY40K935rQxvM0VFzac2nciD8MUDhy6Uz2Iod7jHGpLkvnUJRB/zYSg u1yuRf5ApR4L8oa3FWB34KjBKqJE6AGG2vJI6zxSkG3mThDz2mYXf62lKi33iaevhbPi 5I6PoQrF/Vu05Z2rzswGrXNZHo3+Xr+yFdKbYaMFHRqXO38kqSu/61MSI79HzcA4Ruii 569w== X-Gm-Message-State: AFeK/H39h/R5nlqLfsmDxCWppiA5aBDrMRQpNLFu2OUnyfh4af3L6g+ca3ko1vE3dMHqYpM5 X-Received: by 10.55.8.19 with SMTP id 19mr18284165qki.63.1491535842643; Thu, 06 Apr 2017 20:30:42 -0700 (PDT) Original-Received: from holos.localdomain (pool-96-234-164-232.bltmmd.fios.verizon.net. [96.234.164.232]) by smtp.gmail.com with ESMTPSA id v126sm879245qkb.43.2017.04.06.20.30.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 20:30:41 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 3C8D166126; Thu, 6 Apr 2017 23:30:41 -0400 (EDT) In-Reply-To: <20170407022531.17D812084C@vcs0.savannah.gnu.org> (Noam Postavsky's message of "Thu, 6 Apr 2017 22:25:30 -0400 (EDT)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:213725 Archived-At: npostavs@gmail.com (Noam Postavsky) writes: > branch: master > commit cd0a7951fb762570c4b9c2cdbb43c94cb68910d4 > Author: Jeff Clough > Commit: Noam Postavsky > > Output number of characters added to file (Bug#354) > > * fileio.c (write_region): > * epa-file.el (epa-file-write-region): > * jka-compr.el (jka-compr-write-region): > * ange-ftp.el (ange-ftp-write-region): > * tramp-gvfs.el (tramp-gvfs-handle-write-region): > * tramp-sh.el (tramp-sh-handle-write-region): > * mm-util.el (mm-append-to-file): Functions now output > characters written in addition to file name. > * files.texi: Added documentation to write-region and > append-to-file describing their output. This behavior is unnecessarily verbose, at least when just interactively saving buffers. Haven't tested this otherwise. If I cared about the number of characters in the buffer I'd look in the mode line or just do C-x =. I can't say I've ever been surprised as described in the original report.