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: Sat, 10 Aug 2013 14:06:44 -0400 Message-ID: References: <87pptptk9n.fsf@engster.org> <87eha4t7xz.fsf@engster.org> <8738qksz6l.fsf@engster.org> <837gfvua2r.fsf@gnu.org> <87y58bs9x4.fsf@engster.org> <83zjsrs3k2.fsf@gnu.org> <87pptmsv4z.fsf@engster.org> <83siyira0w.fsf@gnu.org> <87vc3drhuv.fsf@engster.org> <83haexrgjn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1376158035 8667 80.91.229.3 (10 Aug 2013 18:07:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Aug 2013 18:07:15 +0000 (UTC) Cc: 15045@debbugs.gnu.org, David Engster , eric@siege-engine.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 10 20:07:17 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 1V8DZL-0005Lp-Ld for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Aug 2013 20:07:15 +0200 Original-Received: from localhost ([::1]:34496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8DZK-0006mN-TV for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Aug 2013 14:07:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8DZC-0006mH-UH for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2013 14:07:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8DZ8-0001im-5c for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2013 14:07:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8DZ8-0001ii-21 for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2013 14:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V8DZ7-00083r-Jo for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2013 14:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Aug 2013 18:07: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.137615801330968 (code B ref 15045); Sat, 10 Aug 2013 18:07:01 +0000 Original-Received: (at 15045) by debbugs.gnu.org; 10 Aug 2013 18:06:53 +0000 Original-Received: from localhost ([127.0.0.1]:52034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V8DYy-00083N-UF for submit@debbugs.gnu.org; Sat, 10 Aug 2013 14:06:53 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:62071) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V8DYw-000837-Be for 15045@debbugs.gnu.org; Sat, 10 Aug 2013 14:06:50 -0400 Original-Received: by mail-ob0-f169.google.com with SMTP id wc20so7678004obb.28 for <15045@debbugs.gnu.org>; Sat, 10 Aug 2013 11:06:44 -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; bh=w4eEG91zXBklDBM+rQ7Z764WCCtVZBA0E2CYouA4U1o=; b=HEuD3T0JZjIeapl6wlVhl7KNzpwy81F4RQDwXQfY8MduvoD1O/VQdzo+M6bz5o3g7i +BlTr5BrW0KquZDU7NIUwjwslxRNGEa8DEOLnmAF560P0LJuFaGphIA08aCFZSzLvnQ7 Vtmy/bGcWdzCjWzcmHJP0X3uMl5JOty+KVITmQGorAcoFymazx0RTQo5TZFq52ku6dlP kLveqzpiw2Cyyo5k0cXfqMeiM2kBdChCFnARfaZ9qaJZy/Rt0v3ZXjHdTgO+QzAcmtTp N84EY8VMRoaSJcfUO3OxL7yaeJoqVpm36jIAXNqPOl6wUsaOHVuGBMWvVPycwSwHOZW4 H0Ow== X-Received: by 10.60.133.233 with SMTP id pf9mr5011216oeb.46.1376158004187; Sat, 10 Aug 2013 11:06:44 -0700 (PDT) Original-Received: by 10.76.89.194 with HTTP; Sat, 10 Aug 2013 11:06:44 -0700 (PDT) In-Reply-To: <83haexrgjn.fsf@gnu.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:77245 Archived-At: >>> It is also very rare. >> I don't think the bug is rare. I do think that this bug being >> triggered is rare, since we don't have many non-idle timers in >> Emacs that trigger redisplay > That's "rare" in my book. Three people in this thread independently witnessed the bug. Given the proportion of Emacs users who follow the mailing lists, calling this rare is questionable. > are there others in Emacs core besides the display-time event > handler? I have never used display-time-mode, so another timer is involved, possibly non core. I don't see this bug nearly as often as David's "every 15 minutes". I would guess 10 times in the past several months. I'm running Emacs now with the debugging changes Stefan suggested: > 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. as the change I posted: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15045#29 I did not witness the bug yesterday, but I did hit the debug statements a few times. In those cases the Fprin1 and Fbacktrace calls printed empty strings, and coincided with Emacs pausing for a few seconds. I don't know why I'd get empty strings. Maybe there's a flaw in that debugging code?