GNU bug report logs - #30080
24.5; write-region can reset idle time

Previous Next

Package: emacs;

Reported by: Cecil Westerhof <Cecil <at> decebal.nl>

Date: Thu, 11 Jan 2018 21:02:02 UTC

Severity: normal

Found in version 24.5

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Forwarded to http://lists.gnu.org/r/help-gnu-emacs/2018-01/msg00143.html

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Cecil Westerhof <Cecil <at> decebal.nl>
Cc: 30080 <at> debbugs.gnu.org
Subject: bug#30080: 24.5; write-region can reset idle time
Date: Thu, 11 Jan 2018 18:49:12 -0500
>     (global-auto-revert-mode 1)

Ha, I think you have your culprit right there: my crystal ball says that
if you have auto-revert active on the file you modify with
`write-region` (or maybe even just a file in the same directory) any
modification to the file (e.g. via `write-region`) will send
a pseudo-event, which Emacs's command-loop will confuse for an actual
user event!


        Stefan




This bug report was last modified 7 years and 181 days ago.

Previous Next


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