From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#40888: M-x man: don't redraw good pages when not finding bad pages Date: Thu, 06 Aug 2020 13:32:51 +0800 Message-ID: <877duc9w58.5.fsf@jidanni.org> References: <877dy1ba5z.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <87tv15etv2.8.fsf@jidanni.org> <87k1219dy2.8.fsf@jidanni.org> <87ft919vsc.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6825"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Tomas Nordin , 40888@debbugs.gnu.org, Stefan Kangas To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 06 07:34:11 2020 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 1k3YXb-0001eJ-8I for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 07:34:11 +0200 Original-Received: from localhost ([::1]:56020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3YXZ-0007sQ-Kw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Aug 2020 01:34:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3YXS-0007sH-DX for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 01:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3YXS-000417-4R for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 01:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k3YXS-0006ht-2G for bug-gnu-emacs@gnu.org; Thu, 06 Aug 2020 01:34:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87tv15etv2.8.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Aug 2020 05:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40888 X-GNU-PR-Package: emacs Original-Received: via spool by 40888-submit@debbugs.gnu.org id=B40888.159669198325715 (code B ref 40888); Thu, 06 Aug 2020 05:34:02 +0000 Original-Received: (at 40888) by debbugs.gnu.org; 6 Aug 2020 05:33:03 +0000 Original-Received: from localhost ([127.0.0.1]:52722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3YWV-0006gf-Cx for submit@debbugs.gnu.org; Thu, 06 Aug 2020 01:33:03 -0400 Original-Received: from cheetah.birch.relay.mailchannels.net ([23.83.209.34]:15215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3YWT-0006gF-1G for 40888@debbugs.gnu.org; Thu, 06 Aug 2020 01:33:02 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5DF8020D1B; Thu, 6 Aug 2020 05:32:59 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (100-96-9-43.trex.outbound.svc.cluster.local [100.96.9.43]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9FF9E210F6; Thu, 6 Aug 2020 05:32:58 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.8); Thu, 06 Aug 2020 05:32:59 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Name-Stupid: 3e1a6930629e35de_1596691979073_2895426403 X-MC-Loop-Signature: 1596691979073:3886288566 X-MC-Ingress-Time: 1596691979073 Original-Received: from pdx1-sub0-mail-a68.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTP id 658C57FB35; Wed, 5 Aug 2020 22:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=RS4KfrWdtEuIEzhI2YtGy9cu2LY=; b=TCzCYn0PmgX0/ kjGobl6eFfSedEQhxoWTxt+4H/Cwo+jt/bkJi9gDb/A4rSpzVgnA15J8BJ+okET8 nj828iVjzxln7Of8uR/hYz9M9KaMY66JFZ0OWPqMXv0VNo3d4X4kPSvtRlsE4unZ 23DPTKCb1GKTpKA8i+QO59/1py1FCg= Original-Received: from jidanni.org (1-170-80-10.dynamic-ip.hinet.net [1.170.80.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTPSA id 160527FB31; Wed, 5 Aug 2020 22:32:56 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a68 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedrjeelgdellecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecuggftrfgrthhtvghrnhephfeuhfeufefgvdekudehteetffffhfetkeegleegteduvdelvdeiffelvefhiedtnecukfhppedurddujedtrdektddruddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpedurddujedtrdektddruddtpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggr nhhnihdrohhrghdpnhhrtghpthhtohepgedtkeekkeesuggvsggsuhhgshdrghhnuhdrohhrgh 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" Xref: news.gmane.io gmane.emacs.bugs:184144 Archived-At: >>>>> "LI" == Lars Ingebrigtsen writes: LI> Me too... but I don't think there's a redrawing of the cat page, LI> really. LI> What seems to be happening is that M-x man RET dog RET pops up a "*Man LI> dog*" buffer in a window, and then starts working in the background. LI> And then it can't find the dog man page, and then kills the buffer (and LI> window). LI> This makes everything redisplay, which is the blink we're seeing. LI> I'm not sure whether anything can be done about this -- it's an artefact LI> of working asynchronously, and then restoring window configurations. LI> Anybody got any ideas? Well, just like we don't purchase a house for our client before we check if he has money in the bank, even if it means waiting for business hours, it seems the program should first make sure what it intends to display even exists. "test -f" certainly won't slow things down that much.