From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: bug#15045: Point jumps inappropriately around time of Semantic lexing Date: Wed, 07 Aug 2013 20:42:44 +0200 Message-ID: <87pptptk9n.fsf@engster.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375901000 29506 80.91.229.3 (7 Aug 2013 18:43:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 18:43:20 +0000 (UTC) Cc: Barry OReilly , 15045@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 07 20:43: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 1V78hd-0006QG-PQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 20:43:21 +0200 Original-Received: from localhost ([::1]:54039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V78hd-00067o-D7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 14:43:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V78hT-00064i-A5 for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 14:43:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V78hL-0001Zd-A7 for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 14:43:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V78hK-0001Xu-UF for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 14:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V78hK-0006Cw-GH for bug-gnu-emacs@gnu.org; Wed, 07 Aug 2013 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Engster Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Aug 2013 18:43: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.137590097223827 (code B ref 15045); Wed, 07 Aug 2013 18:43:02 +0000 Original-Received: (at 15045) by debbugs.gnu.org; 7 Aug 2013 18:42:52 +0000 Original-Received: from localhost ([127.0.0.1]:46066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V78h9-0006CF-9B for submit@debbugs.gnu.org; Wed, 07 Aug 2013 14:42:51 -0400 Original-Received: from randomsample.de ([83.169.19.17]:38246) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V78h5-0006C5-L2 for 15045@debbugs.gnu.org; Wed, 07 Aug 2013 14:42:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=mQwGUsUiLqY8Yqk/rEGae8X9i2wqwyHp2af8v1x8UGc=; b=bjv1OsYNBY5wv2mJtA81Pm5/JwMIqxnHB+5we2H9J0lYlFRqxalf4gJorSQmnrdtY8msxtTv5173bruQR8HLeiABTWytE4z5iTjR26MdcKD1Eo+4VIkFTInxwCg1ndik; Original-Received: from dslc-082-083-057-223.pools.arcor-ip.net ([82.83.57.223] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1V78h3-0008Ne-5T; Wed, 07 Aug 2013 20:42:45 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 07 Aug 2013 14:30:04 -0400") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Mail-Copies-To: never 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:77047 Archived-At: Stefan Monnier writes: >> The short of it is that I occasionally witness point jump to elsewhere >> in the buffer while I'm editing and then back again. > > So it's "displayed at A" then "displayed at B" then "displayed at > A again"? what happens between each one of those 3 displays? > > 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). I sometimes see this as well, and yes, "nothing" happens between those three displays. I also think there's a redisplay triggered by another background task while Semantic does its idle parsing stuff. I surely won't rule out that we're missing a save-excursion somewhere in Semantic, but I think that if this were the case, it should happen much more often. I wonder which background tasks could trigger such redisplays. Maybe an update of the mode-line? How could I debug this? The problem is that this happens maybe every 15 minutes or so... -David