From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master cd0a795: Output number of characters added to file (Bug#354) Date: Fri, 07 Apr 2017 10:14:09 +0300 Message-ID: <837f2wofjy.fsf@gnu.org> References: <20170407022529.14820.30445@vcs0.savannah.gnu.org> <20170407022531.17D812084C@vcs0.savannah.gnu.org> <87r3143ndq.fsf@holos> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1491549291 8899 195.159.176.226 (7 Apr 2017 07:14:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 07:14:51 +0000 (UTC) Cc: kb1vqh@gmail.com, npostavs@gmail.com, emacs-devel@gnu.org To: Mark Oteiza Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 07 09:14:47 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 1cwO6S-0001HA-Ab for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 09:14:40 +0200 Original-Received: from localhost ([::1]:49313 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwO6X-00070W-U2 for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 03:14:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwO60-00070Q-Pf for emacs-devel@gnu.org; Fri, 07 Apr 2017 03:14:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwO5z-0003fJ-S4 for emacs-devel@gnu.org; Fri, 07 Apr 2017 03:14:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwO5s-0003e9-J6; Fri, 07 Apr 2017 03:14:04 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4528 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cwO5r-0007qF-CH; Fri, 07 Apr 2017 03:14:03 -0400 In-reply-to: <87r3143ndq.fsf@holos> (message from Mark Oteiza on Thu, 06 Apr 2017 23:30:41 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:213730 Archived-At: > From: Mark Oteiza > Date: Thu, 06 Apr 2017 23:30:41 -0400 > Cc: Jeff Clough , 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. Thanks for the comments. Would making this an optional feature take care of your concerns? P.S. In the future, it might be better to voice such objections while the patch is being discussed, to avoid unnecessary reworking and possible frustration caused by that. TIA.