From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61667: 29.0.60; Failure to redisplay Date: Thu, 23 Feb 2023 08:20:27 +0200 Message-ID: <83lekorjh0.fsf@gnu.org> References: <04d7cb31-684c-07c0-ee7b-503514fc1a85@yandex.ru> <87a617eanz.fsf@yahoo.com> <4306cb76-a44c-3101-e43c-fd64afae4a51@yandex.ru> <871qmje2ws.fsf@yahoo.com> <83edqjtbss.fsf@gnu.org> <4e5e2a46-9b07-206a-6774-9f98f34cbd14@yandex.ru> <83y1orrolh.fsf@gnu.org> <83sfeyswdw.fsf@gnu.org> <877cwactgv.fsf@yahoo.com> <83mt55sxli.fsf@gnu.org> <83ttzdr5ls.fsf@gnu.org> <2CE39EAE-A59E-4535-BB97-7D548A44FC15@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30786"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61667@debbugs.gnu.org, dgutov@yandex.ru To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 23 07:21:35 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pV4z1-0007or-EY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Feb 2023 07:21:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pV4ya-0006ih-Jd; Thu, 23 Feb 2023 01:21:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pV4yU-0006iK-Hc for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 01:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pV4yU-0001fh-9A for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 01:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pV4yT-0005Lh-Vb for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2023 01:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2023 06:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61667 X-GNU-PR-Package: emacs Original-Received: via spool by 61667-submit@debbugs.gnu.org id=B61667.167713322520492 (code B ref 61667); Thu, 23 Feb 2023 06:21:01 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 23 Feb 2023 06:20:25 +0000 Original-Received: from localhost ([127.0.0.1]:60967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV4xr-0005KN-6e for submit@debbugs.gnu.org; Thu, 23 Feb 2023 01:20:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pV4xm-0005K5-LO for 61667@debbugs.gnu.org; Thu, 23 Feb 2023 01:20:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pV4xg-0001Tp-PS; Thu, 23 Feb 2023 01:20:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=WpXMvFafj9Kh8yGQ9OBMH+CRJcLKYltrZS7BwMF9f1c=; b=QsgId+rgYF8PVTdjfPsx g2hayf1lfXQDyIrP8Ec1lFdQYuVNAdS4Dt+A5cjxP0vTLnMbu2zQeffBsRE+g4MytIZ6oQ5wvINzR gCmYLb4v+HoPn2ykqN2f+t5djyfgpfGXax4TDuja9mLL5QlrYiXkzz1+dmL3ImQWZK7NDxBcRzPru NzwlFmRMjXJRdvX51m5tiQF6GLGqGENL6bT/c9JSPPhYv/YKs9NOD+cc9jwSD4dPluV1crGbN8/nt vRuH8cBBgtcaCv7+tt9wQK5drXXAMzbe0yJn7pUQo2qcZZcrBYYE9yMZXZ0HklQSd+7q75hXSE0SG tBDF+Ner+/SAkQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pV4xg-0007wN-89; Thu, 23 Feb 2023 01:20:12 -0500 In-Reply-To: <2CE39EAE-A59E-4535-BB97-7D548A44FC15@yahoo.com> (message from Po Lu on Thu, 23 Feb 2023 06:36:54 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256417 Archived-At: > Date: Thu, 23 Feb 2023 06:36:54 +0800 > From: Po Lu > CC: 61667@debbugs.gnu.org > > That won't work, unfortunately -- this needs to check whether or not a function is being called at all, and not just the value of some flags at the time we update the frame title. If you only want to know whether a function was called, how about adding a variable to which those calls (where you wanted to add printf's) will add indications each time the function is called? Like, for example, a char [] array to which those places would add some simple text? But I admit that I have only a vague idea of what you are trying to establish, so perhaps if I understood it better, I could suggest better methods of logging this information without incurring Shrödinger-cat like effects.