From: David Engster <deng@randomsample.de>
To: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
Cc: 22287@debbugs.gnu.org
Subject: bug#22287: 25.1.50; Sudden jumping point in buffer
Date: Sun, 03 Jan 2016 16:47:29 +0100 [thread overview]
Message-ID: <87twmumzqm.fsf@engster.org> (raw)
In-Reply-To: <20160103130742.GA11570@scotty.home> (Stefan-W. Hahn's message of "Sun, 3 Jan 2016 14:07:42 +0100")
Stefan-W. Hahn writes:
> With this I got (after starting and setting garbage-collection-messages t,
> and doing stuff as described in the bug-report):
>
> ,----
> | *** handle atimers [540 times]
> | *** sem start: buffer intervals.c 49722
> | *** sem: buffer intervals.c 49722
> | *** input: rc=nil 49722 49722
> | *** out: rc=nil 49722 49722
> | *** sem: buffer intervals.c 49722
> | *** input: rc=nil 49722 49722
> | *** out: rc=nil 49722 49722
> | *** sem: buffer intervals.c 49722
> | *** input: rc=nil 49722 49722
> | *** out: rc=nil 49722 49722
> | *** sem: buffer intervals.c 49722
> | *** input: rc=nil 49722 49722
> | *** out: rc=nil 49722 49722
> | *** sem: buffer intervals.c 49722
> | *** input: rc=nil 49722 49722
> | *** out: rc=nil 49722 49722
> | *** sem: buffer intervals.c 49722
> | *** input: rc=nil 49722 49722
> | *** out: rc=nil 49722 49722
> | *** handle atimers [10 times]
That's interesting. Why do timers run here at all? Since your
'out:'-Message comes before that, it is clear that this is not because
of `accept-process-output'.
I'm pretty sure now that this is something else than #15045. There, we
had the problem that Semantic itself was moving point during lexing and
called 'input-pending-p' as well as 'accept-process-output', which both
ran timers at the time. If one of the timers forced redisplay, this lead
to a sudden change of point in the buffer. We fixed that by making
`input-pending-p' not running timers by default, and restoring point
before calling `accept-process-output'. This here seems to be something
different, in that not Semantic is moving point but some timer (which
does not mean there isn't a bug in Semantic here).
> | *** sem end: buffer intervals.c 49392
> | Auto-saving...done
> | *** handle atimers [32 times]
> `----
>
> So a running timer is moving point!
This makes sense as I cannot reproduce it here with
emacs -Q -f semantic-mode
I'd suggest that you also start with 'emacs -Q' and activate minor-modes
you're using until you see the bug. Reducing `auto-save-interval' might
make this less tedious. Also, look at 'timer-list' which of your
minor-modes put timers in there (not sure if `timer-idle-list' might be
involved as well).
-David
next prev parent reply other threads:[~2016-01-03 15:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-01 11:10 bug#22287: 25.1.50; Sudden jumping point in buffer Stefan-W. Hahn
2016-01-03 11:26 ` David Engster
2016-01-03 13:07 ` Stefan-W. Hahn
2016-01-03 15:47 ` David Engster [this message]
2016-01-03 20:51 ` Stefan-W. Hahn
2016-01-04 15:22 ` Eli Zaretskii
2016-01-05 15:01 ` Stefan-W. Hahn
2016-01-05 16:27 ` Eli Zaretskii
2016-01-05 19:51 ` Stefan-W. Hahn
2016-01-05 20:12 ` Eli Zaretskii
2016-01-05 21:08 ` Stefan-W. Hahn
2016-01-06 14:13 ` Stefan-W. Hahn
2016-01-06 21:52 ` David Engster
2016-02-21 16:29 ` David Engster
2016-01-04 15:22 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twmumzqm.fsf@engster.org \
--to=deng@randomsample.de \
--cc=22287@debbugs.gnu.org \
--cc=stefan.hahn@s-hahn.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.