GNU bug report logs -
#15045
Point jumps inappropriately around time of Semantic lexing
Previous Next
Full log
Message #35 received at 15045 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 8 Aug 2013 13:07:01 -0400
> From: Barry OReilly <gundaetiapo <at> gmail.com>
> Cc: deng <at> randomsample.de, 15045 <at> debbugs.gnu.org
>
> Eli:
> > Can you identify the area in this trace where the unwarranted scroll
> > was visible?
>
> Barry:
> > but redisplay didn't need to scroll
>
> Undesired scrolling is a downstream symptom. Upstream from it is point
> visibly moving around inappropriately.
I think you are wrong. Emacs moves point in its Lisp code all over
the place, and that never causes any unwarranted scrolling, nor should
it ever display point in anything but the final position -- unless the
Lisp code itself forces redisplay.
But even if you are right, knowing which parts of the display engine
are involved in this will allow us to put breakpoints in a few
strategic places, and produce backtraces, both in C and in Lisp, which
will show which Lisp code triggers the problem. This is IMO better
than trying to guess which Lisp primitives are involved in point
movement, because you are likely to guess wrong. By contrast,
redisplay is certainly involved, so using it will most probably show
us the light much sooner and easier.
This bug report was last modified 11 years and 193 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.