bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30080: 24.5; write-region can reset idle time


From: Stefan Monnier
Subject: bug#30080: 24.5; write-region can reset idle time
Date: Thu, 11 Jan 2018 18:49:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>     (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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]