From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#15045: Point jumps inappropriately around time of Semantic lexing Date: Wed, 7 Aug 2013 15:31:38 -0400 Message-ID: References: <87pptptk9n.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375903938 30085 80.91.229.3 (7 Aug 2013 19:32:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 19:32:18 +0000 (UTC) Cc: 15045@debbugs.gnu.org To: David Engster Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 07 21:32:19 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 1V79T0-0000sc-LW for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 21:32:18 +0200 Original-Received: from localhost ([::1]:37533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V79T0-0006QV-8w for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 15:32:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V79Sr-0006QJ-EV for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 15:32:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V79Sk-0003xW-To for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 15:32:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V79Sk-0003xA-R5 for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 15:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V79Sk-0000Rl-DZ for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 15:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Aug 2013 19:32:02 +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.13759039081680 (code B ref 15045); Wed, 07 Aug 2013 19:32:02 +0000 Original-Received: (at 15045) by debbugs.gnu.org; 7 Aug 2013 19:31:48 +0000 Original-Received: from localhost ([127.0.0.1]:46100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V79SV-0000R2-8j for submit@debbugs.gnu.org; Wed, 07 Aug 2013 15:31:47 -0400 Original-Received: from mail-oa0-f53.google.com ([209.85.219.53]:45064) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V79SS-0000Qf-Lh for 15045@debbugs.gnu.org; Wed, 07 Aug 2013 15:31:45 -0400 Original-Received: by mail-oa0-f53.google.com with SMTP id k18so4110380oag.40 for <15045@debbugs.gnu.org>; Wed, 07 Aug 2013 12:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=prAJEQykXyI8cyocCUwtspWwMA/067DKvqQWoiqTucQ=; b=h8MNT03nuc8avNTt42QoBGgtSsnN4yOqlxuFn5NDHKztxVrLDSLn8RCA+LFRZmRo8v hw9qr3qdUf5O2XgZqEGn4b7gizuNBvFQoyKpxuAoAB8GWnWWipSdx4CZBaCXyCqxNE27 O2DK+K/JWYFFgJH96LRz36vaH6Q2FPA99gEzGQB+xxoq6DIswlhNJ7gh8AB1PLCLq+sK UBqmXBWARVQplxnweYzYJXWWjj0xRDeGdYlcLymIzrIRqSPnZIS+2BP7oLX0Y72dH1IF sCsmF15k7/nkAQ49RDpq6nujos+kosFoKd5qr518So18CvTP8BYDtCo3/7nBPXr+er1P ow6w== X-Received: by 10.60.35.40 with SMTP id e8mr1830234oej.34.1375903898756; Wed, 07 Aug 2013 12:31:38 -0700 (PDT) Original-Received: by 10.76.89.194 with HTTP; Wed, 7 Aug 2013 12:31:38 -0700 (PDT) In-Reply-To: <87pptptk9n.fsf@engster.org> 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:77052 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. Specifically, the backtraces printed when goto-char went to the offending position at the beginning of the comment block. I don't know which of the three is the one I see actually displayed. The timestamps are too close together for me to be certain. I'm interested to see if I get more empty backtraces at the next reproduction. I don't know what they could mean. > If "nothing", then I suspect there's something like a `sit-for' > somewhere that causes a redisplay in the middle of the command (i.e. > in the middle of a save-excursion). Ahh, I didn't know about sit-for. It might explain what I'm seeing. I added a debug statement to Fredisplay. In a simple run (no reproduction of the bug yet), I get a few of these: 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=C1=08=C2H=08=C3H\"=88)=C1=87" [timer apply 5 6] 4) timer-event-handler([t 0 0 10000 t jit-lock-deferred-fontify nil idle 0]) I don't suppose there are ways deferred jit lock would execute during Semantic lexing? Anyway, next time I see the bug, I expect I'll get better data.