From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: master cd0a795: Output number of characters added to file (Bug#354) Date: Fri, 7 Apr 2017 18:27:20 -0400 Message-ID: References: <20170407022529.14820.30445@vcs0.savannah.gnu.org> <20170407022531.17D812084C@vcs0.savannah.gnu.org> <8760igpc58.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1491604078 22628 195.159.176.226 (7 Apr 2017 22:27:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 22:27:58 +0000 (UTC) Cc: Jeff Clough , Emacs developers To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 08 00:27:54 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 1cwcM8-0004rd-1w for ged-emacs-devel@m.gmane.org; Sat, 08 Apr 2017 00:27:48 +0200 Original-Received: from localhost ([::1]:52808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwcME-0003oQ-33 for ged-emacs-devel@m.gmane.org; Fri, 07 Apr 2017 18:27:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwcLi-0003oK-2G for emacs-devel@gnu.org; Fri, 07 Apr 2017 18:27:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwcLh-0006kq-AQ for emacs-devel@gnu.org; Fri, 07 Apr 2017 18:27:22 -0400 Original-Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:34880) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwcLh-0006kd-3G for emacs-devel@gnu.org; Fri, 07 Apr 2017 18:27:21 -0400 Original-Received: by mail-oi0-x234.google.com with SMTP id f193so100987253oib.2 for ; Fri, 07 Apr 2017 15:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0MueD+TYjQX9JFl46mW3kmDYC5aY2xcKPes7ITjwbtA=; b=YcufR7UrHld56WJfxXzVJiypk0PY9aFHE2tfjUnwVB1vWkBYXZue+6FuY+G+TRd4UY VDqg2/qaqm07kz0jzHwwNSjEP4uYNIgOVMJqemyMjpz04lONBpYyPb/PeCXnmMu7pNvI E38AsKfMdPerRAZlCH9ubQPErow/7yg34cXI5DKemf+YIEIAOjzO0PWK34HeQzoylF0x otin6K+5hwX7NOGd6CGGVDUeY2HQIqvrfAosasZCuyqs3Slx2gFhLNNtdgF3CbKm4OUP kQxRfX8twjwqc41HEGUs9I39sNVAsBmOyrDudu4avMZjwroAjodHfiBwpp7G+lJLQGlv N/hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0MueD+TYjQX9JFl46mW3kmDYC5aY2xcKPes7ITjwbtA=; b=S01jAmRDTIbK7p/K5uEh7vdBf+e8b9ODCKWr4kT1Mbgm9K+GeMAL0IjKyiDaHq6vOf ya3B7ziFzFC5phS/N9xEJ3bvtp+wtxQI4oX7xMY+rreobpl9S82+DLF1Bt259LeO1F1p wyOyZH/mFZSCDxNF0fkR4PqyQLVEiilmBTehrtqvQO6CAjIcw/bQBNqT/5IBzfES/XUv zyBz0KW/rFm/Sv/YC3e6G+LyVcbknd35fNIm7UAdRfu44hwjqXSQFJ4uV2m+QkWwCTlr OPL5jSaXVndV8435jDYwjsd6RMz5fqebeuHO4MCNzF8X5JRgtaLk0DPfXR+66YcK1DLr ZCHw== X-Gm-Message-State: AN3rC/5OXVPzEVRqsTa0lOyAc+P7tRHvnfgKTsMxyR+sHyoV3+0k6VL0qUAKjyQyBhPVf9LsOAzviTtakCObKw== X-Received: by 10.157.7.169 with SMTP id 38mr998483oto.221.1491604040377; Fri, 07 Apr 2017 15:27:20 -0700 (PDT) Original-Received: by 10.157.80.133 with HTTP; Fri, 7 Apr 2017 15:27:20 -0700 (PDT) In-Reply-To: <8760igpc58.fsf@detlef> X-Google-Sender-Auth: NPxAPXFOWcgthdD5jOM0Kj25kOU X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::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:213787 Archived-At: On Fri, Apr 7, 2017 at 9:42 AM, Michael Albinus wrote: >> - (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. Yup, as noted by Glenn, it breaks the compressed file handler too, fixed in [1: 9e27e0d1a6]. 1: 2017-04-07 18:24:35 -0400 9e27e0d1a6c90d0d29e41884155245b6c3378b0a Fix handling of non-integer START param to write-region