From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: master cd0a795: Output number of characters added to file (Bug#354) Date: Fri, 07 Apr 2017 15:42:27 +0200 Message-ID: <8760igpc58.fsf@detlef> 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 1491572568 13700 195.159.176.226 (7 Apr 2017 13:42:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 13:42:48 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Jeff Clough To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 07 15:42:44 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 1cwU9u-0002f3-2K for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 15:42:38 +0200 Original-Received: from localhost ([::1]:50937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwUA0-0002du-2l for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 09:42:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwU9t-0002dY-0j for emacs-devel@gnu.org; Fri, 07 Apr 2017 09:42:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwU9o-0000Wh-20 for emacs-devel@gnu.org; Fri, 07 Apr 2017 09:42:37 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:54176) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwU9n-0000W2-NE for emacs-devel@gnu.org; Fri, 07 Apr 2017 09:42:31 -0400 Original-Received: from detlef.gmx.de ([87.146.40.216]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MH0eg-1crYDm2LWk-00Dkiu; Fri, 07 Apr 2017 15:42:28 +0200 In-Reply-To: <20170407022531.17D812084C@vcs0.savannah.gnu.org> (Noam Postavsky's message of "Thu, 6 Apr 2017 22:25:30 -0400 (EDT)") X-Provags-ID: V03:K0:Xu3Vv4igQZVmGtjTpwD90pewHqkDesHNIhu9P7Qc46HhWLW7tpl DrQCj6xD09ao4/yVFKpbSea1lQqP8nC7QHAdPmcFb7u8K2CwSt172DcE4B4PKHXq4Dl69yk oCx8LAmUt6ZATDOsHPfNF9T83qvTXf5D7TBxQeWzEfJaCr3NE9St5NzY4DZ7VNcHv9xCyti 16FFeK9M9zkoznRWfKosw== X-UI-Out-Filterresults: notjunk:1;V01:K0:5Ae02/VSUWQ=:nsK4kcuuAjAhtb6vIyqFAG FF4J4gejCvBr0KOVYbKB/q5kSMlmR+shOcFx7JZMl+4SPpI91YWvpiEmWuCojBWEslWCRTXu9 +FYlDgcwID+gRPkDnWs5qYUcS6fcT7Fm4/wTnlR6UdXeOuifnF9dPAE1g1tTHyacd4weRh/qj w9ARUN1yzezMNyn2pvYjxyG9oWheD7u7YlBHtoZr6FGw9qeDnPS/ig6SeELTwUzLlSzk/X6oI 79uMb2MmHBuasLNCvCZo8Fe8Opl8Kdt8SBlUjYRd3+aIEmexPf7bM4XUshXe+cA2Jf6+zEttB NZ14bhQfDPT/dngLPeO6rVB9dBiEBN7GGVZBZV89g9ue5dPK12vZuA07o8gn9JzxvWuEJJTlx Yb9uZRXzu3X7jTmvtlfQRoEGvbrhjzposkWVqjOW+G27cE4Jx5uPiNKoqmq7tMG4fPGgUUmqz G1E4zRLpIR3FDhvyOUfCj3Q+Ol3V1bbzwy/Ap1hNky/5LCkmEfJCylAAaOoDmJA+f+ypXeVJm gz5f/34b2qFM9qCHLojbTzGyF0e1JujcNE2rGu9RYNTeVTgOKEjF8XW8s3Zcoss5Eiw4u8OYx QBamCcNoDDvIBMAk+1eDdl1PZ9V8gd96dyQxHa1F558pTusUqRyQpcCWx9JGKtoCT1owBw+NN 0d9wdFtcLPt8ze5eWODhvkO09bwTj0wQDwJHddgBbglqMpjO3gZyL2IF2Hn1aFrzTQHv48NpM EQiES/fTsN/pdG9nH7wLkH4d1D+UBm9EOYrLUbltG85HR+YBgPq6fa3yDA0vClmYdAe3a9sM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 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:213749 Archived-At: npostavs@gmail.com (Noam Postavsky) writes: > diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el > index 9977162..f78f541 100644 > --- a/lisp/net/tramp-sh.el > +++ b/lisp/net/tramp-sh.el > @@ -3411,7 +3411,8 @@ the result will be a local, non-Tramp, file name." > (when need-chown > (tramp-set-file-uid-gid filename uid gid)) > (when (or (eq visit t) (null visit) (stringp visit)) > - (tramp-message v 0 "Wrote %s" filename)) > + (tramp-message v 0 "Wrote %d characters to `%s'" > + (- end start) filename)) This breaks Tramp tests. In `write-region', START could be also nil or a string. Likely, the other changes suffer from the same problem. Best regards, Michael.