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#30182: Update Date: Tue, 30 Jan 2018 15:32:29 +0200 Message-ID: <83po5rh3pu.fsf@gnu.org> References: <87k1wdqc4q.fsf@gmail.com> <87inbxqc1l.fsf@gmail.com> <5A631B7F.3030308@gmx.at> <878tcs3j23.fsf@gmail.com> <5A634E53.7010205@gmx.at> <87mv182bzk.fsf@gmail.com> <83a7x7sww6.fsf@gnu.org> <87efmj27d5.fsf@gmail.com> <83vafvqjbf.fsf@gnu.org> <87inbvxdz8.fsf@gmail.com> <5A65AB97.1030401@gmx.at> <87po62kk10.fsf@gmail.com> <831sih23rh.fsf@gnu.org> <5A663490.3050409@gmx.at> <87r2qh5lya.fsf@gmail.com> <5A6C37A7.2020309@gmx.at> <87r2qag5wp.fsf@gmail.com> <5A6D8947.5010207@gmx.at> <87d11t9ria.fsf@gmail.com> <5A6EF1A2.30904@gmx.at> <83lgggirzp.fsf@gnu.org> <5A702D36.6040302@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1517319099 15355 195.159.176.226 (30 Jan 2018 13:31:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2018 13:31:39 +0000 (UTC) Cc: m.sujith@gmail.com, 30182@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 30 14:31:34 2018 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 1egW0M-0002nd-Vu for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jan 2018 14:31:19 +0100 Original-Received: from localhost ([::1]:37487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egW2N-0005cx-Q8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jan 2018 08:33:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egW2A-0005aQ-IU for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2018 08:33:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egW22-0004oh-W7 for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2018 08:33:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40767) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egW22-0004o2-Nz for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2018 08:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1egW22-0000pV-Go for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2018 08:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jan 2018 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30182 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30182-submit@debbugs.gnu.org id=B30182.15173191503149 (code B ref 30182); Tue, 30 Jan 2018 13:33:02 +0000 Original-Received: (at 30182) by debbugs.gnu.org; 30 Jan 2018 13:32:30 +0000 Original-Received: from localhost ([127.0.0.1]:48664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egW1W-0000oj-BP for submit@debbugs.gnu.org; Tue, 30 Jan 2018 08:32:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egW1V-0000oX-0e for 30182@debbugs.gnu.org; Tue, 30 Jan 2018 08:32:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egW1M-0003n8-0Q for 30182@debbugs.gnu.org; Tue, 30 Jan 2018 08:32:23 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egW1L-0003n0-Te; Tue, 30 Jan 2018 08:32:19 -0500 Original-Received: from [176.228.60.248] (port=2804 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1egW1L-0003NA-Ap; Tue, 30 Jan 2018 08:32:19 -0500 In-reply-to: <5A702D36.6040302@gmx.at> (message from martin rudalics on Tue, 30 Jan 2018 09:30:46 +0100) 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:142691 Archived-At: > Date: Tue, 30 Jan 2018 09:30:46 +0100 > From: martin rudalics > CC: m.sujith@gmail.com, 30182@debbugs.gnu.org > > > Ideas for how this could happen are welcome. > > The problem should be with calling pos_visible_p. It's obviously not > a good idea to calculate the height of the mode line while trying to > establish the tooltip text for a part of the mode line. So we > probably end up evaluating `mode-line-buffer-identification' which > sets up a timer. I can believe that pos_visible_p might trigger the :eval form, and that could add a timer. But what I cannot understand is how could pos_visible_p be called between the first and the second call to Flength inside concat. This is what we are trying to explain: how come the first call returns 4, while the second one retuens 5. That could only be explained by something that happened between these 2 calls. > Unfortunately, this remains a wild guess. It's virtually impossible > to analyze the problem in more depth: You'd always want the value of > `timer-list' in order to know which timers have been added to and > removed from it. How about running the code with a watchpoint on Vtimer_alist? Could that help?