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: Tue, 15 Oct 2013 10:12:32 -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> <83ppr7pr6c.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1ce9ef58a4904e8c82c1c X-Trace: ger.gmane.org 1381846397 21572 80.91.229.3 (15 Oct 2013 14:13:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2013 14:13:17 +0000 (UTC) Cc: 15045@debbugs.gnu.org, David Engster , Eric Ludlam To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 15 16:13: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 1VW5N9-00025z-9H for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Oct 2013 16:13:19 +0200 Original-Received: from localhost ([::1]:42027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW5N8-00015Z-Jb for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Oct 2013 10:13:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW5Mz-00014l-0p for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 10:13:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VW5Ms-0003Wt-SB for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 10:13:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW5Ms-0003Wf-PX for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 10:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VW5Ms-0006t2-5Q for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 10:13: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: Tue, 15 Oct 2013 14:13: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.138184636726434 (code B ref 15045); Tue, 15 Oct 2013 14:13:02 +0000 Original-Received: (at 15045) by debbugs.gnu.org; 15 Oct 2013 14:12:47 +0000 Original-Received: from localhost ([127.0.0.1]:51192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VW5Md-0006sI-4m for submit@debbugs.gnu.org; Tue, 15 Oct 2013 10:12:47 -0400 Original-Received: from mail-oa0-f54.google.com ([209.85.219.54]:35412) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VW5Ma-0006s1-CK for 15045@debbugs.gnu.org; Tue, 15 Oct 2013 10:12:44 -0400 Original-Received: by mail-oa0-f54.google.com with SMTP id n5so5900064oag.27 for <15045@debbugs.gnu.org>; Tue, 15 Oct 2013 07:12:32 -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=EXzfFtYDCajOZ7Upbjwi5cMb2AQmfYhrJCOqw8npOsQ=; b=huasCnhdtEtBiuNOCr/L4oikArslHNsoCXmEWlmmDBw4lY8P8PQnet5JqYToD4wMJj 0iOunqRB7z8cRoQ4w9+wpQB2BvuvU2iR5Plw2uPhyDsbZuFNalKdCKQWd+8P+RllWfLq 0g2AgvUUQIAtbmkzGydkk1vOeSuCufkEYI8pHtnVk8XpLpTob+lHXpTsXuEiBxHgw0ET W8xrcwV3LAjb+kF5y1Mo+pn8H7c47qxVir+JBYRei1U0SMM23PEitwGBLsSTFtO4VnU6 uKee47tcb/PAzhbBiv37RFrMBRcFGen9+3UNgcsPN9yBnZSKpXN9VvBU71IrMan92gUZ kSiw== X-Received: by 10.182.143.103 with SMTP id sd7mr1025773obb.70.1381846352233; Tue, 15 Oct 2013 07:12:32 -0700 (PDT) Original-Received: by 10.76.156.103 with HTTP; Tue, 15 Oct 2013 07:12:32 -0700 (PDT) In-Reply-To: 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:79270 Archived-At: --e89a8ff1ce9ef58a4904e8c82c1c Content-Type: text/plain; charset=ISO-8859-1 > The original problem is rare enough You're wrong to call it rare. Dave Milter, David Engster, and I have seen it separately. It has occurred because of tasks in Semantic, Speck, and now NXML. That input-pending-p behaves this way is apparently surprising to the Elisp developer. It is even more surprising to the user upon witnessing such a jarring symptom. > So I tend to agree with Barry that input-pending-p should not run > timers. Not just based on his particular problem case, but on the > basis of what ideally input-pending-p should do. I don't claim the change solves the issue completely. This bug report would have to stay open because Semantic also calls accept-process-output while point is on an excursion. Since Stefan had said input-pending-p behavior seems wrong, I followed up in the hopes we can both correct a wrong and reduce how common this user-visible symptom is. --e89a8ff1ce9ef58a4904e8c82c1c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> The original problem is rare enough

You're= wrong to call it rare. Dave Milter, David Engster, and I have
seen it s= eparately. It has occurred because of tasks in Semantic,
Speck, and now = NXML. That input-pending-p behaves this way is
apparently surprising to the Elisp developer. It is even more
surprising= to the user upon witnessing such a jarring symptom.

> So I tend = to agree with Barry that input-pending-p should not run
> timers. Not= just based on his particular problem case, but on the
> basis of what ideally input-pending-p should do.

I don't cl= aim the change solves the issue completely. This bug report
would have t= o stay open because Semantic also calls
accept-process-output while poin= t is on an excursion.

Since Stefan had said input-pending-p behavior seems wrong, I followed<= br>up in the hopes we can both correct a wrong and reduce how common thisuser-visible symptom is.

--e89a8ff1ce9ef58a4904e8c82c1c--