From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#61667: 29.0.60; Failure to redisplay Date: Tue, 21 Feb 2023 19:25:28 +0200 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24339"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: luangruo@yahoo.com, 61667@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 21 18:26:46 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 1pUWPc-00068X-Ck for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Feb 2023 18:26:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUWP0-00079k-3f; Tue, 21 Feb 2023 12:26:06 -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 1pUWOw-00078I-L0 for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 12:26:03 -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 1pUWOw-0000c5-Ci for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 12:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUWOv-0008Tc-VI for bug-gnu-emacs@gnu.org; Tue, 21 Feb 2023 12:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Feb 2023 17:26: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.167700034432560 (code B ref 61667); Tue, 21 Feb 2023 17:26:01 +0000 Original-Received: (at 61667) by debbugs.gnu.org; 21 Feb 2023 17:25:44 +0000 Original-Received: from localhost ([127.0.0.1]:57197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUWOe-0008T5-3m for submit@debbugs.gnu.org; Tue, 21 Feb 2023 12:25:44 -0500 Original-Received: from mail-wr1-f42.google.com ([209.85.221.42]:36521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUWOc-0008St-0B for 61667@debbugs.gnu.org; Tue, 21 Feb 2023 12:25:43 -0500 Original-Received: by mail-wr1-f42.google.com with SMTP id l25so4877981wrb.3 for <61667@debbugs.gnu.org>; Tue, 21 Feb 2023 09:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=VAlFDChi6aI55wMIxlq0zJqZBsEJjIWFtcLZYA4IXHw=; b=MtKGrWnm8KzdT65cGt/zZ+XsTbT+rY2RjQP7MNm5tR/23JGFLcHm7+76zvpHPbvzpz P6SGKhOvyU5UjMPw6pCUa0Z9WpyE4ERQQCIgubvUyvoT6Z7e8OjgsSlbwP+kuZrXhhHj SxzVhKGpE4RWOZ63yotPTKYSSSzYWEy2J+sWHG/NaROWxa9PEDMgKrtynyoeWDKcrwT7 4QJbHLGG00141AVKJpew7jpuZyNVOWHLQ4hDDXp5jQHEJWo14Qw0tKYgw2BVAxUtLV8i 7Y0/t2Ra8+l2tm0yMbC6ubOurKg+Cdz0or9/TGxUGDSypfrKcJUzSfNWUB3yfjo9vrk/ QxYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VAlFDChi6aI55wMIxlq0zJqZBsEJjIWFtcLZYA4IXHw=; b=u34p42GN4O/jYYhxELMPzKQDXmd1qdJsR9xDKAivpcZZ7SlN7fXwEplwKSuZxp6r3r 0yJPso0UkbnuOLVWZtd2OQEFkljjDe/i7/j0Ugsw5QufLsjRoo1GLS84J7VzltI3CinV P8Ccg9V6Tg36tc/PvYnbfV8dX84v+OMLKlriNo8wdWLQnRncBsS6gxfuRHECBRpv+tvh 1Z9XkYY895q77Gxf+WfN+5CHw+2I3O0zARyzoz/gaJzudiAWaTNGWiV4yPzyjvsR0Wtd 9/iASMxn1KpLOsxgi+c6UeFCrlZDBKApz8SdMmRwknKvA7DSEhE2HgKuMxGn6STtBBwc ZeyQ== X-Gm-Message-State: AO0yUKUUlYIs/97/CtNmP1biNmvvW/Ri4VA36u9uscfpd29ez70Q/zOs PE18n13NHNMuI9+NM43MHoc= X-Google-Smtp-Source: AK7set9uJSYgSv0AUCAiOIYP6C5IXPQJSUaYbHShuOHg4hAmV+7+xXW9Q6JJQLtF//Tj/T6OFXPG9A== X-Received: by 2002:adf:f391:0:b0:2c6:66f1:3b5d with SMTP id m17-20020adff391000000b002c666f13b5dmr6428675wro.12.1677000336097; Tue, 21 Feb 2023 09:25:36 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id x8-20020adfdd88000000b002c58ca558b6sm4527504wrl.88.2023.02.21.09.25.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Feb 2023 09:25:35 -0800 (PST) Content-Language: en-US In-Reply-To: <83y1orrolh.fsf@gnu.org> 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:256305 Archived-At: On 21/02/2023 18:05, Eli Zaretskii wrote: >> Date: Tue, 21 Feb 2023 17:51:01 +0200 >> Cc: luangruo@yahoo.com, 61667@debbugs.gnu.org >> From: Dmitry Gutov >> >>> If you build with no optimizations (CFLAGS=-O0 ./configure...), but >>> without --enable-checking=glyphs, does the problem still happen? >> >> Still reproduces, yes. As long as I don't hurry too much to type 'C-x b >> file-name RET' too early, before the frame has managed to resize and >> redisplay fully the first time. > > I'm not surer I follow: why should a frame resize in this case? You > just visit a file in an existing window of an existing frame, right? > Or is the situation more complicated? If the latter, please tell the > details, they could be relevant. Given how slow the unoptimized build is, I can usually start (and finish) typing the command before Emacs has fully finished processing the init script, including the default face customizations (which result in frame resizing). >> So if I wait for it, and then use 'C-x b' (with Ido's support for >> recentf), then I also can trigger the problem. > > Not following again: wait for what? And what happens when you use > "C-x b"? 'C-x b' followed by the file name from history, followed by RET -> visiting the previously visited file. From recentf. This behavior is driven by the option ido-virtual-buffers. Unlikely affects something. But it allows me to shorten the scenario of visiting a file for the first time after launching Emacs, so that I can trigger the bug faster (over several tries). Overall, though, the unoptimized build makes it harder to reproduce: I've only managed that 3 times, so far. Reproducing it by killing a buffer and then re-visiting in the same session seems harder still, but I've just managed to do it once. >> Oh, here's another description of the bug: the frame's title bar changes >> (to display the visited file name), but the buffer is blank for a little >> while. > > Which seems to mean that redisplay was called (and produced the > updated frame title), but for some reason decided that none of the > windows need redrawing. Apparently so. > Or (given your report about double-buffering) > didn't reflect the new content on display? Can't tell which one it is. But the echo area is not getting redrawn either: the selection of buffers to switch to is still visible as it was when I pressed RET. Just the title bar changes. The echo area is updated together with the main window showing the buffer.