From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15045: Point jumps inappropriately around time of Semantic lexing Date: Wed, 07 Aug 2013 17:23:12 -0400 Message-ID: References: <87pptptk9n.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375910661 8762 80.91.229.3 (7 Aug 2013 21:24:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 21:24:21 +0000 (UTC) Cc: 15045@debbugs.gnu.org, David Engster To: Barry OReilly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 07 23:24:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V7BDP-0000Jf-RX for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 23:24:19 +0200 Original-Received: from localhost ([::1]:44892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7BDP-0005LV-Ep for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 17:24:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7BDF-0005Ky-Oe for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 17:24:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7BD8-0006i0-5P for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 17:24:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7BD8-0006hu-2y for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 17:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V7BD7-0004Ec-Iq for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 17:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Aug 2013 21:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15045 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15045-submit@debbugs.gnu.org id=B15045.137591060116222 (code B ref 15045); Wed, 07 Aug 2013 21:24:01 +0000 Original-Received: (at 15045) by debbugs.gnu.org; 7 Aug 2013 21:23:21 +0000 Original-Received: from localhost ([127.0.0.1]:46248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7BCS-0004DZ-My for submit@debbugs.gnu.org; Wed, 07 Aug 2013 17:23:21 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:21656) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7BCQ-0004DA-0F for 15045@debbugs.gnu.org; Wed, 07 Aug 2013 17:23:18 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgEFABK/CFFLd/Nq/2dsb2JhbABEhke0boNZF3OCHgEBBAEjMyMFCwkCGgIYDgICFBgNJIgeBpNgmn+SToEji2yCaIETA6R6gV6DE4FT X-IPAS-Result: AgEFABK/CFFLd/Nq/2dsb2JhbABEhke0boNZF3OCHgEBBAEjMyMFCwkCGgIYDgICFBgNJIgeBpNgmn+SToEji2yCaIETA6R6gV6DE4FT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20911341" Original-Received: from 75-119-243-106.dsl.teksavvy.com (HELO pastel.home) ([75.119.243.106]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Aug 2013 17:23:05 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 180E362D75; Wed, 7 Aug 2013 17:23:12 -0400 (EDT) In-Reply-To: (Barry OReilly's message of "Wed, 7 Aug 2013 15:31:38 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77063 Archived-At: >> So it's "displayed at A" then "displayed at B" then "displayed at A >> again"? what happens between each one of those 3 displays? > No. A, B, and C are backtraces. A, B, and C are local variables whose meaning depends on the email in which they're used. Yours have nothing to do with mine. Sorry I reused the same identifiers in the same thread. > 2013-08-07T15:18:09.576922000|pid:11494|tid:47776720943360|dispnew.c|5822| > DEBUG: redisplay > redisplay() > sit-for(0) > jit-lock-deferred-fontify() > apply(jit-lock-deferred-fontify nil) > byte-code("r=C3=81=C3=82H=C3=83H\"=CB=86)=C3=81=E2=80=A1" [timer appl= y 5 6] 4) > timer-event-handler([t 0 0 10000 t jit-lock-deferred-fontify nil idle 0= ]) Running timers is pretty much the same as running redisplay: both are things that can happen either between commands or in things like `sit-for', so no, jit-lock is unlikely to be the culprit. Maybe a way to check that is: in Fredisplay, walk the specpdl stack looking for a save_excursion_restore where the saved position is different from the current value of point in that buffer. Stefan