From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Characters saved mismatch? Date: Sun, 7 May 2017 10:06:48 +0200 Message-ID: <0314658f-babb-9537-bc2d-4ad480fdbc67@alice.it> References: <9662470b-854a-7816-7269-f7f8bd9c4382@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1494144461 6839 195.159.176.226 (7 May 2017 08:07:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 May 2017 08:07:41 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 To: Paul Eggert , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 07 10:07:36 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 1d7HE6-0001fM-7m for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 10:07:34 +0200 Original-Received: from localhost ([::1]:54093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7HEB-0000r5-RZ for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 04:07:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7HDe-0000jk-PT for emacs-devel@gnu.org; Sun, 07 May 2017 04:07:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7HDb-00048J-Kr for emacs-devel@gnu.org; Sun, 07 May 2017 04:07:06 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:24248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7HDb-000486-8n for emacs-devel@gnu.org; Sun, 07 May 2017 04:07:03 -0400 Original-Received: from [192.168.1.102] (79.35.224.245) by smtp204.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 58C423FB2214BB98; Sun, 7 May 2017 10:07:01 +0200 In-Reply-To: <9662470b-854a-7816-7269-f7f8bd9c4382@cs.ucla.edu> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.100 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:214651 Archived-At: Il 07/05/2017 03:06, Paul Eggert ha scritto: > Angelo Graziosi wrote: >> >> Why then it writes that has written 8 characters? > > Because it's counting buffer characters, not file system characters. Hmm... but my example (foo.text) has 6 characters if we do not count end line: foo bar > This reminds me, these newly-added "(N characters)" messages are > unpopular so I just now turned them off by default; see Bug#26796. Maybe you have to remove them at all..