From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.bugs Subject: bug#40888: M-x man: don't redraw good pages when not finding bad pages Date: Mon, 27 Apr 2020 10:33:12 +0200 Message-ID: <877dy1ba5z.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> References: <87tv15etv2.8.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="97474"; mail-complaints-to="usenet@ciao.gmane.io" To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , 40888@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 27 10:40:14 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 1jSzJG-000PGI-4W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Apr 2020 10:40:14 +0200 Original-Received: from localhost ([::1]:59832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSzJD-0006tt-Aq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Apr 2020 04:40:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50808) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSzDJ-0006uj-Uu for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 04:34:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSzDG-0007hQ-Co for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 04:34:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSzDG-0007hK-1W for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 04:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSzDF-0000JH-Us for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 04:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Apr 2020 08:34:01 +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.15879764041143 (code B ref 40888); Mon, 27 Apr 2020 08:34:01 +0000 Original-Received: (at 40888) by debbugs.gnu.org; 27 Apr 2020 08:33:24 +0000 Original-Received: from localhost ([127.0.0.1]:35598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSzCd-0000IN-Sp for submit@debbugs.gnu.org; Mon, 27 Apr 2020 04:33:24 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:36157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSzCb-0000I7-Q3 for 40888@debbugs.gnu.org; Mon, 27 Apr 2020 04:33:22 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 250932400FE for <40888@debbugs.gnu.org>; Mon, 27 Apr 2020 10:33:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1587976394; bh=PEtq6O9TB37rUxweN/WgjK1OnXwqJ9+XmvQqMMEBMVs=; h=From:To:Subject:Date:From; b=cnOPXypnre9Rd7MMBWRP5vhXYmtcxZVkuGF3bTWl+lj9weTLcZeVTSJ5VxdkbLsJF gSE+UoZbckVpr6cbDZPLRVIX6dRTBFrxyYZNjVsPCQoY3l2E6VOdSi8JWJzq4jGEb1 SVhxmxNJtKqcyNfLwxs5Bay0JeBH9lp4ql/+Exc0Q2Ae8lH7zK2Tk8ffkoqvk4uRRn cQQ4BaQ4ahl0T0ho7VStACy22rfw6Ar1/zZvJ2QJGAse1m/8Qr9PMjcPPt1Je+Mpmj wZbjlwS2swtXftAavEtUtyyyJ8LYkpQl8nY6ckl7duib4FYiTi8GWvolrTdYuNesDs /NH3Nhw0stbHg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 499dMY1pgNz6tml; Mon, 27 Apr 2020 10:33:12 +0200 (CEST) In-Reply-To: <87tv15etv2.8.fsf@jidanni.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179135 Archived-At: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > $ emacs -q > M-x man cat > M-x man dog > > Why does it have to redraw the entire cat man page, before just saying > it can't find dog? Why can't it just say it can't find dog? > Just leave the good page there undisturbed. I think it is fixed to work like that, it does here with 28.0.50. Maybe this news item is relevant *** New function 'display-buffer-reuse-mode-window' is an action function suitable for use in 'display-buffer-alist'. For example, to avoid creating a new window when opening man pages when there's already one, use (add-to-list 'display-buffer-alist '("\\`\\*Man .*\\*\\'" . (display-buffer-reuse-mode-window (inhibit-same-window . nil) (mode . Man-mode)))) under the super heading * Lisp Changes in Emacs 26.1. > emacs-version "26.3". Confusing then. But maybe that function was used later for the man rendering.