GNU bug report logs - #39967
27.0.90; how to debug point moving erratically?

Previous Next

Package: emacs;

Reported by: William Rankin <william <at> bydasein.com>

Date: Sat, 7 Mar 2020 04:07:02 UTC

Severity: normal

Tags: moreinfo

Found in version 27.0.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 39967 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: William Rankin <william <at> bydasein.com>
Cc: 39967 <at> debbugs.gnu.org
Subject: Re: bug#39967: 27.0.90; how to debug point moving erratically?
Date: Sat, 07 Mar 2020 15:06:37 +0200
> From: William Rankin <william <at> bydasein.com>
> Date: Sat, 7 Mar 2020 22:16:56 +1000
> Cc: 39967 <at> debbugs.gnu.org
> 
> I've only observed this after Emacs has been open for more than a few
> hours or overnight.
> 
> It will only happen after Emacs is idle for a few seconds, i.e. no user
> input.
> 
> The point will start jumping to different positions in the buffer, and 
> this will then repeat at regular intervals of ~0.5 seconds per jump. 
> These positions do not appear totally random, but seem like jumps of a 
> similar sized chunk of text, like they are being calculated.

If this happens when Emacs is idle, the first suspect is some idle
timer you have running.  The variable timer-idle-list holds the list
of the active idle timers, so look there for some hints.

> There is this in my init:
> 
> (advice-add 'mark-word :before
>             (lambda (&rest args)
>               (unless (looking-at-p "\\b")
>                 (backward-word))))
> 
> Could this be causing such havoc??

Unlikely, since this only runs when you invoke mark-word.




This bug report was last modified 3 years and 101 days ago.

Previous Next


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