From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Date: Wed, 19 Jul 2017 15:13:31 +0000 Message-ID: References: <83eftnitpj.fsf@gnu.org> <83bmorjba2.fsf@gnu.org> <83eftliuk5.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113c5258cafcce0554ad1313" X-Trace: blaine.gmane.org 1500477257 30131 195.159.176.226 (19 Jul 2017 15:14:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Jul 2017 15:14:17 +0000 (UTC) Cc: 27647@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 19 17:14:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXqfv-0007KO-Ap for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jul 2017 17:14:07 +0200 Original-Received: from localhost ([::1]:33820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXqg0-0002F2-VI for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jul 2017 11:14:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXqft-0002Eq-J4 for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2017 11:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXqfq-0001xo-DF for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2017 11:14:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXqfq-0001xG-7A for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2017 11:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXqfq-0004yx-1t for bug-gnu-emacs@gnu.org; Wed, 19 Jul 2017 11:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jul 2017 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27647-submit@debbugs.gnu.org id=B27647.150047723019126 (code B ref 27647); Wed, 19 Jul 2017 15:14:02 +0000 Original-Received: (at 27647) by debbugs.gnu.org; 19 Jul 2017 15:13:50 +0000 Original-Received: from localhost ([127.0.0.1]:48010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXqfd-0004yQ-Oe for submit@debbugs.gnu.org; Wed, 19 Jul 2017 11:13:49 -0400 Original-Received: from mail-lf0-f52.google.com ([209.85.215.52]:33662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXqfb-0004y9-M7 for 27647@debbugs.gnu.org; Wed, 19 Jul 2017 11:13:48 -0400 Original-Received: by mail-lf0-f52.google.com with SMTP id z78so1712418lff.0 for <27647@debbugs.gnu.org>; Wed, 19 Jul 2017 08:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C/D8hYn+JCRscZNe66GZeRwRPsm/HU5IYKJAnFB/YkQ=; b=B121zvJpSDooO7aUn+xqqhxS+p3sb344EA6cLIucyUP9L0XwgPGA3tTwQohqfa0n7h UJ3Vw48iE6jPNvBi8RtviGsKdHE443XzEHw3AskVsi4i75LojXMa20sErCo6hNduP2Ie 0kI0tseoYDuc96i7VAtkWcRM7fh/hctnkJIgBOtmdqrGypmCxXS1R3nSd2SOpyzHWGe6 Yg1UW9EYc8awBOr/pKprXZILl+7W/5zH3BRw9JNXh6dYfGHaUMLDesn88UJAyfCTLHDN FkTVeCr9q8JxK17u5nRGaWkZ+u1cg+CmB9iNr2yWCYNqL1bf7vQESF1qbi00CvEdEbFh zC+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C/D8hYn+JCRscZNe66GZeRwRPsm/HU5IYKJAnFB/YkQ=; b=Hr2JNMjdGQ6jUMyq3PmkXDyAiKsI36mqsBWAV9d6vqd4VGXeEl6Rbau1RD9Ci48jen z48tKBHrJA6cBmnBWZbp61g228cLKcRVMJGTPnaSfimmEqqx8wxjkldLrOqiCpEsi/6l 6eYJqQXSKtbHUzBihNlZviGLzZgasiXQKCtB1VjVAy2LLTvGUVUToilErT0wGH6lU31x hoscFWJt4i4EhpfElI2s76QQlbwUZMJHqx/nCfuznixJQ1mAvqjEO4PW4kWmAzLby7J3 WZrexbua7w6EKFq9utuL2mshSo1uLY0IO+ebWfDsLZNdFe+0cQ3o5t34HD5MPqv60JzJ FR0g== X-Gm-Message-State: AIVw1136qJyfo9hAm2/mG6SEd0xfLOZRZjh2iYbW0PlwNV091eFw/aPn ICd8s8+5g4OYKxcCR48gPe8QybxSUA== X-Received: by 10.25.115.205 with SMTP id h74mr136015lfk.258.1500477221697; Wed, 19 Jul 2017 08:13:41 -0700 (PDT) In-Reply-To: <83eftliuk5.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:134747 Archived-At: --001a113c5258cafcce0554ad1313 Content-Type: text/plain; charset="UTF-8" Hello, On Wed, Jul 12, 2017 at 10:44 AM Eli Zaretskii wrote: > Not at a glance. But the key to this mystery is most probably in your > customizations. Some code which probably runs off a timer or some X > event does something that directly or indirectly resets the variable > in that buffer. Maybe you have some code which directly or indirectly > calls kill-all-local-variables, for example. Or something else to > that effect. > I am still trying to find out what is doing that if something is doing that. Unfortunately no message statement inserted anywhere in my native linum enabling code is getting executed when this anomaly happens. > You could add logging to your functions that turn off the line > numbers, and see what's in the log when this happens. > None of those message statements gets triggered. I have a feeling that this is happening due to some state change at system/GTK2 level.. because no messages in elisp are catching the line number toggling, and this happens when I move the focus out of the VNC viewer window to Windows. When I return to the VNC viewer and click on the window with the missing line numbers, they show up magically. You would have a better idea if there are any hooks in display engine that get affected by GTK.. -- Kaushal Modi --001a113c5258cafcce0554ad1313 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

On Wed, Jul 12, 2017 at 10:44 AM Eli Zaretskii <eliz@gnu.org> wrote:
Not at a glance.=C2=A0 But the key to this mystery is mo= st probably in your
customizations.=C2=A0 Some code which probably runs off a timer or some X event does something that directly or indirectly resets the variable
in that buffer.=C2=A0 Maybe you have some code which directly or indirectly=
calls kill-all-local-variables, for example.=C2=A0 Or something else to
that effect.

I am still trying to find = out what is doing that if something is doing that. Unfortunately no message= statement inserted anywhere in my native linum enabling code is getting ex= ecuted when this anomaly happens.
=C2=A0
You could add logging to your functions that turn off the lin= e
numbers, and see what's in the log when this happens.
<= div>
None of those message statements gets triggered.

I have a feeling that this is happening due to some state= change at system/GTK2 level.. because no messages in elisp are catching th= e line number toggling, and this happens when I move the focus out of the V= NC viewer window to Windows. When I return to the VNC viewer and click on t= he window with the missing line numbers, they show up magically.
=
You would have a better idea if there are any hooks in displ= ay engine that get affected by GTK..
=C2=A0
--

Kaushal Modi

--001a113c5258cafcce0554ad1313--