From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.devel,gmane.emacs.semantic Subject: Re: [cedet-semantic] scrolling while editing RFC Date: Mon, 8 Jul 2013 10:29:42 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1cbc014ebb804e100e092 X-Trace: ger.gmane.org 1373293790 25950 80.91.229.3 (8 Jul 2013 14:29:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jul 2013 14:29:50 +0000 (UTC) Cc: semantic cedet , emacs-devel@gnu.org To: Dave Milter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 08 16:29:51 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UwCRq-0006TK-E5 for ged-emacs-devel@m.gmane.org; Mon, 08 Jul 2013 16:29:50 +0200 Original-Received: from localhost ([::1]:56024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwCRp-0007Jh-Vc for ged-emacs-devel@m.gmane.org; Mon, 08 Jul 2013 10:29:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwCRl-0007GQ-Fj for emacs-devel@gnu.org; Mon, 08 Jul 2013 10:29:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwCRj-0006Y0-Lr for emacs-devel@gnu.org; Mon, 08 Jul 2013 10:29:45 -0400 Original-Received: from mail-oa0-x236.google.com ([2607:f8b0:4003:c02::236]:49395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwCRj-0006XS-GL for emacs-devel@gnu.org; Mon, 08 Jul 2013 10:29:43 -0400 Original-Received: by mail-oa0-f54.google.com with SMTP id o6so6265861oag.41 for ; Mon, 08 Jul 2013 07:29:42 -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=5cVn6duOtCf7C/kwQX+ifCdZi1MnEDtLo2eRt4eAbGU=; b=TTjceSpKnV4/ZS/vHbM6VJFtqYv2SdM+9n29uOVeH/jzpd50mHkUMYtan+iythJ40e 0d3XHTJTDOQStHgJID+7Qv0/r0burmuWlVc7iw3FWOM7B0Uoe5JvjNVzLyF8bGG3Met2 MrnoX9xKJCMrVi5szuz5ai1IzCP/9b1ytmriUgGKFmYhszp5gwgvcGskNnCqX0vLQlSy bDb6X30Au2gTofFQGINhTAilcR49rJCapF8EzFUpSQGurhrXlh5xSXNEqpMI8d/3TBfG 59ODlz3bej3ZuuGn1z7gUZ81HxKiYwVgL3vDiEi7WjnDibUpfpcMsT30fZ7i2lFYKyCo uEEg== X-Received: by 10.60.50.106 with SMTP id b10mr20740389oeo.16.1373293782556; Mon, 08 Jul 2013 07:29:42 -0700 (PDT) Original-Received: by 10.76.122.79 with HTTP; Mon, 8 Jul 2013 07:29:42 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161730 gmane.emacs.semantic:3356 Archived-At: --001a11c1cbc014ebb804e100e092 Content-Type: text/plain; charset=ISO-8859-1 > Hi, any update on this? I was planning to submit a bug report, but hadn't because I don't have a reproduction recipe nor have I definitively pinned it down on Semantic. Since I don't have a reproduction recipe, I haven't made much progress. I tried advising my after change hooks: (defadvice semantic-change-function (around my-advice-semantic-change-function activate) (let ((window-start-prior (window-start))) ad-do-it (my-msg "DEBUG: During semantic-change-function, window-start change:%s,%s" window-start-prior (window-start)))) Same defadvice for: c-after-change jit-lock-after-change. I also activated this advice for semantic-idle-core-handler. Basically this was to catch one of them in the act of scrolling the buffer. However, I encountered the bug with these in place and none showed a window-start discrepancy. If you have a reliable reproduction recipe, that would be very helpful. --001a11c1cbc014ebb804e100e092 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > Hi, any update on this?

I was planning to submit a bug report, = but hadn't because I don't have a reproduction recipe nor have I de= finitively pinned it down on Semantic.

Since I don't have a repr= oduction recipe, I haven't made much progress. I tried advising my afte= r change hooks:

=A0 (defadvice semantic-change-function (around my-advice-semantic-chan= ge-function activate)
=A0=A0=A0 (let ((window-start-prior (window-start)= ))
=A0=A0=A0=A0=A0 ad-do-it
=A0=A0=A0=A0=A0 (my-msg "DEBUG: Duri= ng semantic-change-function, window-start change:%s,%s" window-start-p= rior (window-start))))

Same defadvice for: c-after-change jit-lock-after-change. I also activa= ted this advice for semantic-idle-core-handler. Basically this was to catch= one of them in the act of scrolling the buffer. However, I encountered the= bug with these in place and none showed a window-start discrepancy.

If you have a reliable reproduction recipe, that would be very helpful.=

--001a11c1cbc014ebb804e100e092--