From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27647: 26.0.50; Line numbers implemented natively disappear momentarily when frame out of focus Date: Tue, 11 Jul 2017 17:31:01 +0300 Message-ID: <83bmorjba2.fsf@gnu.org> References: <83eftnitpj.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499783541 22433 195.159.176.226 (11 Jul 2017 14:32:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Jul 2017 14:32:21 +0000 (UTC) Cc: 27647@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 11 16:32:17 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 1dUwD2-0005Wx-1x for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jul 2017 16:32:16 +0200 Original-Received: from localhost ([::1]:46720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUwD7-00018q-D6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Jul 2017 10:32:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUwCu-00017M-5j for bug-gnu-emacs@gnu.org; Tue, 11 Jul 2017 10:32:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUwCo-0003ud-Jr for bug-gnu-emacs@gnu.org; Tue, 11 Jul 2017 10:32:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUwCo-0003uW-Fe for bug-gnu-emacs@gnu.org; Tue, 11 Jul 2017 10:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUwCo-0002i4-73 for bug-gnu-emacs@gnu.org; Tue, 11 Jul 2017 10:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Jul 2017 14:32: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.149978348010367 (code B ref 27647); Tue, 11 Jul 2017 14:32:02 +0000 Original-Received: (at 27647) by debbugs.gnu.org; 11 Jul 2017 14:31:20 +0000 Original-Received: from localhost ([127.0.0.1]:34169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUwC8-0002h9-Eq for submit@debbugs.gnu.org; Tue, 11 Jul 2017 10:31:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUwC6-0002gu-1m for 27647@debbugs.gnu.org; Tue, 11 Jul 2017 10:31:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUwBv-0003al-PH for 27647@debbugs.gnu.org; Tue, 11 Jul 2017 10:31:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUwBv-0003ag-MD; Tue, 11 Jul 2017 10:31:07 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1219 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dUwBv-0007FZ-1x; Tue, 11 Jul 2017 10:31:07 -0400 In-reply-to: (message from Kaushal Modi on Tue, 11 Jul 2017 03:43:07 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:134430 Archived-At: > From: Kaushal Modi > Date: Tue, 11 Jul 2017 03:43:07 +0000 > Cc: 27647@debbugs.gnu.org > > When you say "line numbers disappeared", do you mean as if you set > display-line-numbers to nil, i.e. the text starts at the left edge of > the window? > > Yes. Exactly. And they reappear automatically too once that window is in focus again. In that case, I suspect that some of your customizations somehow temporarily reset display-line-numbers to nil. You could try to use Lisp watchpoints (see "Watching Variables" in the ELisp manual) for a single buffer where this happens, to find out which code does that. Alternatively, instrument your functions that reset display-line-numbers to log messages to some buffer with useful information, such as the Lisp backtrace, and when the problem happens, examine the log for clues.