From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.devel Subject: Buffer and ondisk file contents can often differ Date: Thu, 26 Jun 2014 08:45:18 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403743575 22942 80.91.229.3 (26 Jun 2014 00:46:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2014 00:46:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 26 02:46:10 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WzxpJ-0006oZ-6D for ged-emacs-devel@m.gmane.org; Thu, 26 Jun 2014 02:46:09 +0200 Original-Received: from localhost ([::1]:41721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzxpI-0004NU-PJ for ged-emacs-devel@m.gmane.org; Wed, 25 Jun 2014 20:46:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzxpA-0004NK-PW for emacs-devel@gnu.org; Wed, 25 Jun 2014 20:46:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wzxp4-0005df-Tx for emacs-devel@gnu.org; Wed, 25 Jun 2014 20:46:00 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzxp4-0005da-Mv for emacs-devel@gnu.org; Wed, 25 Jun 2014 20:45:54 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wzxp1-0006YR-Qc for emacs-devel@gnu.org; Thu, 26 Jun 2014 02:45:51 +0200 Original-Received: from 221.222.155.37 ([221.222.155.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2014 02:45:51 +0200 Original-Received: from sdl.web by 221.222.155.37 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jun 2014 02:45:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 221.222.155.37 Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (CentOS 6.5) Cancel-Lock: sha1:GfsVx4mfT+rYmB8uLTa1ZU0mZNs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172739 Archived-At: Since moving to 24.3.91 and 24.4.50 I have seen this bug a dozen times but I don't know how to reproduce it. It happens sometimes so I wonder if anyone else has seen it. For example, I changed `defvar' to `defconst' in a buffer and C-x C-s. Everything was fine until I diff'd the file to discover it was still using `defvar'. This just happened when I sent this patch http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17549#32 Eventually I reverted the buffer and edited again which succeeded. BTW, the bug can happen with or without auto-revert-use-notify. Leo