From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39967: 27.0.90; how to debug point moving erratically? Date: Sat, 07 Mar 2020 15:06:37 +0200 Message-ID: <83mu8s9uw2.fsf@gnu.org> References: <831rq4bnmc.fsf@gnu.org> <813C2B33-3356-4E32-A50D-4D4B9D2B3C74@bydasein.com> <83r1y4a0it.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39967@debbugs.gnu.org To: William Rankin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 07 14:07:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAZAe-0001Ml-1P for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Mar 2020 14:07:12 +0100 Original-Received: from localhost ([::1]:48548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAZAc-0007E0-MO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Mar 2020 08:07:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55399) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAZAV-0007DN-2r for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 08:07:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAZAU-0003Vj-3n for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 08:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAZAT-0003Uy-To for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 08:07:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAZAT-0002ED-Nl for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 08:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Mar 2020 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39967 X-GNU-PR-Package: emacs Original-Received: via spool by 39967-submit@debbugs.gnu.org id=B39967.15835864098545 (code B ref 39967); Sat, 07 Mar 2020 13:07:01 +0000 Original-Received: (at 39967) by debbugs.gnu.org; 7 Mar 2020 13:06:49 +0000 Original-Received: from localhost ([127.0.0.1]:46370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAZAG-0002Dl-Rw for submit@debbugs.gnu.org; Sat, 07 Mar 2020 08:06:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAZAF-0002DY-J0 for 39967@debbugs.gnu.org; Sat, 07 Mar 2020 08:06:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jAZAA-0002MP-Cc; Sat, 07 Mar 2020 08:06:42 -0500 Original-Received: from [176.228.60.248] (port=2323 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jAZA5-0005Os-Pt; Sat, 07 Mar 2020 08:06:42 -0500 In-Reply-To: (message from William Rankin on Sat, 7 Mar 2020 22:16:56 +1000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177004 Archived-At: > From: William Rankin > Date: Sat, 7 Mar 2020 22:16:56 +1000 > Cc: 39967@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.