GNU bug report logs - #11303
Whitespace mode causes auto-save to malfunction

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Kelly Dean <kellydeanch@HIDDEN>; Keywords: confirmed; dated Sat, 21 Apr 2012 17:50:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug Marked as found in versions 26.1. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 11303 <at> debbugs.gnu.org:


Received: (at 11303) by debbugs.gnu.org; 2 Jun 2012 21:24:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 02 17:24:41 2012
Received: from localhost ([127.0.0.1]:54972 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SavoO-0005fX-Q0
	for submit <at> debbugs.gnu.org; Sat, 02 Jun 2012 17:24:41 -0400
Received: from nm22-vm2.bullet.mail.ne1.yahoo.com ([98.138.91.210]:37638)
	by debbugs.gnu.org with smtp (Exim 4.72)
	(envelope-from <kellydeanch@HIDDEN>) id 1Savo4-0005f0-8b
	for 11303 <at> debbugs.gnu.org; Sat, 02 Jun 2012 17:24:39 -0400
Received: from [98.138.90.48] by nm22.bullet.mail.ne1.yahoo.com with NNFMP;
	02 Jun 2012 21:22:26 -0000
Received: from [98.138.88.232] by tm1.bullet.mail.ne1.yahoo.com with NNFMP;
	02 Jun 2012 21:22:26 -0000
Received: from [127.0.0.1] by omp1032.mail.ne1.yahoo.com with NNFMP;
	02 Jun 2012 21:22:26 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 716596.33608.bm@HIDDEN
Received: (qmail 4261 invoked by uid 60001); 2 Jun 2012 21:22:26 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024;
	t=1338672146; bh=4DJN51pOFvsqLoQXl2D7iehOU99zw4Gz3yvPIhW1aP4=;
	h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type;
	b=SKeJkKbznoLI/TGtEZvnckYtwrwsvEQ6XqOPsCSdvfJmselLhOatyRFUj0IExV2/oDu5rlrZuizupfqSMoF34z+psoZ4xhvpeuhnHAJyndC4Nn3PqisOvpbaq5P1R5PcLd9Lwn3Q1vKtVRwtScfWFrJEceJpnq4nWqsWtklmZEI=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type;
	b=QRDGLB1Dr8c7VpE+YZXCBYU0ISyVRyPbNCXjaw1KkYtg3mIrbrEBE/DqCCEa7+heGm5ljkabK4RmDnzU4qUxid+yNy5PqfV5dtDmE7g5KnwpKRfb40bNQUATI9vrnWPAgqXLIIj2WNldpxhoR6xYw0iuGYoe/Q0c0KK+ng7itmM=;
X-YMail-OSG: dzer95kVM1nU.F99SQ9APdlKJZImOxvOvP0NrEdogzr6qu4
	GHN3mctstkAOIWeu804BgBVq4GkHjW6Ed85jhzdO1MBotXqrRGL6xykKwaYj
	MDOMf01ASGCEGASXfdAo8y4GvFQAO95u752aHBiVmVrZut_cJYH8Fb_CQHDE
	KbuimEH6ONspMr2daHimX1ihUr2cwr29XWjeGrE32O0rOK8yoDC0QhppEewi
	iDAhGJb30R2Z7PRrw7Lh78Mrl1i9OgEdBUWko5fA_NQughGAbeelSajgNj3B
	tdgNj3rIA8fVg7Fwuz6l2n2GgU8h3GUEWpKlI4jPDHMpZYpSdakADeIGLaUH
	igJCutqNonTr38lCd.9OdeI4tVn9rbO6yiaoIvmyS1EyO6KsusD61fWUojjm
	Y.yukDa3c
Received: from [81.170.186.175] by web121502.mail.ne1.yahoo.com via HTTP;
	Sat, 02 Jun 2012 14:22:26 PDT
X-Mailer: YahooMailClassic/15.0.6 YahooMailWebService/0.8.118.349524
Message-ID: <1338672146.3248.YahooMailClassic@HIDDEN>
Date: Sat, 2 Jun 2012 14:22:26 -0700 (PDT)
From: Kelly Dean <kellydeanch@HIDDEN>
Subject: Whitespace mode causes auto-save to malfunction
To: 11303 <at> debbugs.gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 11303
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

This bug is reproducible on 24.1-rc1. (emacs-version reports "GNU Emacs 24.1.1 (i686-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2012-06-01 on localhost")





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11303; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Apr 2012 17:49:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 21 13:49:47 2012
Received: from localhost ([127.0.0.1]:45933 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SLeRP-0006Hk-5W
	for submit <at> debbugs.gnu.org; Sat, 21 Apr 2012 13:49:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41742)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <kellydeanch@HIDDEN>) id 1SLWxO-0000u9-VU
	for submit <at> debbugs.gnu.org; Sat, 21 Apr 2012 05:50:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1SLWwp-0000rB-3y
	for submit <at> debbugs.gnu.org; Sat, 21 Apr 2012 05:49:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:33366)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1SLWwo-0000qr-UR
	for submit <at> debbugs.gnu.org; Sat, 21 Apr 2012 05:49:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51191)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1SLWwn-0007nQ-7T
	for bug-gnu-emacs@HIDDEN; Sat, 21 Apr 2012 05:49:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1SLWwl-0000mq-Bp
	for bug-gnu-emacs@HIDDEN; Sat, 21 Apr 2012 05:49:40 -0400
Received: from nm5-vm2.bullet.mail.ne1.yahoo.com ([98.138.90.153]:27986)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <kellydeanch@HIDDEN>) id 1SLWwl-0000hS-1K
	for bug-gnu-emacs@HIDDEN; Sat, 21 Apr 2012 05:49:39 -0400
Received: from [98.138.90.53] by nm5.bullet.mail.ne1.yahoo.com with NNFMP;
	21 Apr 2012 09:49:36 -0000
Received: from [98.138.89.248] by tm6.bullet.mail.ne1.yahoo.com with NNFMP;
	21 Apr 2012 09:49:36 -0000
Received: from [127.0.0.1] by omp1040.mail.ne1.yahoo.com with NNFMP;
	21 Apr 2012 09:49:36 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 584287.97118.bm@HIDDEN
Received: (qmail 76310 invoked by uid 60001); 21 Apr 2012 09:49:36 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024;
	t=1335001776; bh=7OHArjAGqEr0G1jKEfO3m7xoTUcUTaVIqA3uG1Dw1Yc=;
	h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type;
	b=dqvvTjTeaOegQLfmb1Qv4zSLUZUOrhpLIZMKzP4ZaOJfspme9KgUtdfS/r6NtEz460U2opVOgpkhdsH7g6gRuFDY4+bxi6NW3iGNA8ZN5OI0GVCXBkN0y3sQHQVVc9JFvsRNmJP14cI/hu1YJI5Sbkk7Q0dNBwdftvLZvCfe93o=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type;
	b=LoeCf58n0vJsV4ATmcsMpZrIw3JMrWRUwblpy15kYS1MqXyILQUC/mgPg6Mg+Wa8eDDJkanBL+me3UK3QLzsafXvJYJ3cCaScdO1e+L39hKEzBSJEudHLLzwIoeTq2MHDoKWLT46JUE03buq+zYsN6RI2B/w/GMYqgaCYbYiggI=;
X-YMail-OSG: kAxTQ08VM1loXiRzYwZBHGEm.ErkOJO6sthgC9bKFzOSBWF
	NJ8vG6cUpU29JolbcJM41pP.TfpTSr0.wLUkxuzhgcjc1A9L2uBVK5svBHBR
	w4oQoohlfy43pwlr7Rp2adP8Ncq6zaz7s1r4fEUOqWYXX2Zs.B.dxYmqzNdn
	qX3WQ9JCOYI4D.055ht06Xe8FNCeNykt4ziVYxxnz_gnyqS8p7WjEfYI11iD
	cD3xkrq7GsQFxTNzhoz4EQeXwjf1xnr_qxc..TYj3rsFQdt2OaoQ2lFaQvLa
	GFCJwgto6gpAIvIY09N3GfgnF5V53bb9nh13jX3ttcomgvWIU8kW7D8QlNCA
	pGaJEd50ANsm9u5WoPn4jTHKisZobpBNYzhC44z2YjFN16myUnrI5JETKc0. 0E4qi
Received: from [146.185.23.179] by web121502.mail.ne1.yahoo.com via HTTP;
	Sat, 21 Apr 2012 02:49:36 PDT
X-Mailer: YahooMailClassic/15.0.5 YahooMailWebService/0.8.117.340979
Message-ID: <1335001776.57750.YahooMailClassic@HIDDEN>
Date: Sat, 21 Apr 2012 02:49:36 -0700 (PDT)
From: Kelly Dean <kellydeanch@HIDDEN>
Subject: Whitespace mode causes auto-save to malfunction
To: bug-gnu-emacs@HIDDEN
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 21 Apr 2012 13:49:45 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

I'm using Emacs on X on Debian 6 Stable. emacs-version says GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian.
Steps to reproduce the bug:
Delete your .emacs file.
Start X, and start Emacs with no options.
Open any writeable file, then press space, so that the buffer is modified.
Wait for the auto-save timeout. Emacs writes the auto-save file.
Press C-g.
Wait for the auto-save timeout again. Notice that Emacs does not write the auto-save file again, because the buffer hasn't changed since the last auto-save. This is the correct behavior.
Now, close Emacs, and put just the following in your .emacs file:
(global-whitespace-mode 1)
Start Emacs with no options.
Open a file, press space, wait for the timeout, press C-g, and wait for the timeout again. Notice that Emacs does write the auto-save file again, even though the buffer hasn't changed since the last auto-save. This is not the correct behavior.
This can cause various problems, for example unnecessarily spinning up a sleeping disk to write the auto-save file, and the timestamp on the auto-save file can't be relied on to show when (approximately, with accuracy determined by the value of auto-save-timeout) the buffer was last modified.





Acknowledgement sent to Kelly Dean <kellydeanch@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11303; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 21 Sep 2018 12:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.