From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: gmane.emacs.bugs Subject: bug#30080: 24.5; write-region can reset idle time Date: Fri, 12 Jan 2018 15:37:49 +0100 Organization: Decebal Computing Message-ID: <87wp0n6t36.fsf@munus.decebal.nl> References: <87fu7cnm9o.fsf@munus.decebal.nl> <87efmv97t7.fsf@munus.decebal.nl> <83r2qv30i6.fsf@gnu.org> <874lnr8iu8.fsf@munus.decebal.nl> <83d12f2nf8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515767846 3542 195.159.176.226 (12 Jan 2018 14:37:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Jan 2018 14:37:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: 30080@debbugs.gnu.org, monnier@IRO.UMontreal.CA To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 12 15:37:21 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ea0SG-000089-Kt for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jan 2018 15:37:12 +0100 Original-Received: from localhost ([::1]:45390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea0UG-0008Dr-CT for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jan 2018 09:39:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea0U7-0008Am-7K for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2018 09:39:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ea0U2-0002mp-Cn for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2018 09:39:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ea0U2-0002mZ-8L for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2018 09:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ea0U1-0007oZ-RJ for bug-gnu-emacs@gnu.org; Fri, 12 Jan 2018 09:39:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Cecil Westerhof Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jan 2018 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30080 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30080-submit@debbugs.gnu.org id=B30080.151576788429969 (code B ref 30080); Fri, 12 Jan 2018 14:39:01 +0000 Original-Received: (at 30080) by debbugs.gnu.org; 12 Jan 2018 14:38:04 +0000 Original-Received: from localhost ([127.0.0.1]:53039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ea0T5-0007nH-IT for submit@debbugs.gnu.org; Fri, 12 Jan 2018 09:38:03 -0500 Original-Received: from relay01.kovoks.nl ([176.9.21.13]:44063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ea0T4-0007mo-06 for 30080@debbugs.gnu.org; Fri, 12 Jan 2018 09:38:02 -0500 Original-Received: from cloud01.kovoks.nl ([91.230.245.58]) by relay01.kovoks.nl with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ea0Su-00017H-NK; Fri, 12 Jan 2018 15:37:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by cloud01.kovoks.nl (Postfix) with ESMTP id 7862916837; Fri, 12 Jan 2018 15:37:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cloud01.kovoks.nl Original-Received: from cloud01.kovoks.nl ([127.0.0.1]) by localhost (cloud01.kovoks.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id xi+FkXuIO6Mj; Fri, 12 Jan 2018 15:37:51 +0100 (CET) Original-Received: from MailServer.decebal.nl (203-114-128-083.dynamic.caiway.nl [83.128.114.203]) (Authenticated sender: send@decebal.nl) by cloud01.kovoks.nl (Postfix) with ESMTPSA id B697516858; Fri, 12 Jan 2018 15:37:51 +0100 (CET) Original-Received: by MailServer.decebal.nl (Postfix, from userid 1000) id CD3F25C88F; Fri, 12 Jan 2018 15:37:49 +0100 (CET) In-Reply-To: <83d12f2nf8.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Jan 2018 15:53:47 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142084 Archived-At: Eli Zaretskii writes: >> From: Cecil Westerhof >> Cc: monnier@IRO.UMontreal.CA, 30080@debbugs.gnu.org >> Date: Fri, 12 Jan 2018 11:36:15 +0100 >> >> > desktop-save-mode writes the desktop file from time to time, and it >> > uses an idle timer, so I think this explains that. >> >> I have two problems with that: >> - I do not think that it is done every minute, or less. And the reset >> is done on the moment of the write-region of my command. So does not >> directly relate to the writing of the desktop file. > > desktop.el auto-saves when something in the window/buffer > configuration changes, no matter how frequently that happens. The > idle timer run by desktop.el uses the same timeout value as auto-save, > which is 30 sec by default. Maybe these facts will allow you to find > out why desktop-save-mode has that effect. But it is not desktop-save-mode that does it. As long as I do no write-region the idle-time is not reset. So desktop-save-mode does not reset idle time, but desktop-save-mode makes write region reset idle time. >> - Before 19 December I did not have this behaviour. So it started >> after an update. It did not work like this for more as five years, >> but started the 19th of December 2017. > > I guess you will have to find out what changed with that update. No > one else except yourself can do that. Maybe it's some change in the > kernel, or in glibc, or in inotify. Well, I have to ask on the Debian mailing list then. > FWIW, I cannot reproduce your problem, neither in "emacs -Q" nor if I > turn on global-auto-revert-mode or desktop-save-mode, neither on > GNU/Linux nor on MS-Windows. So this is most probably something > specific to your system. I just tried it on an Ubuntu system and I get the same results. > What is the value of system-configuration-features in that build, btw? > Maybe some of the features is responsible for that, and my builds are > without it. How do I get that? -- Cecil Westerhof Senior Software Engineer M Cecil@Decebal.nl LinkedIn: http://www.linkedin.com/in/cecilwesterhof