From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#32536: displayed width of man pages Date: Sun, 02 Sep 2018 09:14:16 +0200 Message-ID: <5B8B8DC8.7020001@gmx.at> References: <878t4t70zb.fsf@himinbjorg.adminart.net> <87in3r1l7y.fsf@mail.linkov.net> <5B88E62F.20504@gmx.at> <87d0twam5z.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1535872391 26186 195.159.176.226 (2 Sep 2018 07:13:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2018 07:13:11 +0000 (UTC) Cc: hw , 32536@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 02 09:13:06 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 1fwMZG-0006i7-Hk for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 09:13:06 +0200 Original-Received: from localhost ([::1]:39676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwMbM-0004WO-KX for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 03:15:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwMbB-0004Uz-Kz for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 03:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwMb8-0007Id-B3 for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 03:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwMb8-0007IP-6w for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 03:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fwMb7-00064v-Vn for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 03:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Sep 2018 07:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32536 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32536-submit@debbugs.gnu.org id=B32536.153587247023298 (code B ref 32536); Sun, 02 Sep 2018 07:15:01 +0000 Original-Received: (at 32536) by debbugs.gnu.org; 2 Sep 2018 07:14:30 +0000 Original-Received: from localhost ([127.0.0.1]:42340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwMac-00063i-F2 for submit@debbugs.gnu.org; Sun, 02 Sep 2018 03:14:30 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:43775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwMaZ-00063Q-Rs for 32536@debbugs.gnu.org; Sun, 02 Sep 2018 03:14:28 -0400 Original-Received: from [192.168.1.101] ([212.95.5.6]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M3zT0-1fe9BA2tnO-00rWiS; Sun, 02 Sep 2018 09:14:18 +0200 In-Reply-To: <87d0twam5z.fsf@mail.linkov.net> X-Provags-ID: V03:K1:3Bk9RdSxAVZvzadCBzYJi7cSFGfOl6Ljyg1Fxwh85JVuCB7y6g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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:149962 Archived-At: > Regarding the request for dynamic reformatting, I'm not sure if > man pages should be reformatted on resizing windows (I remember > seeing a window resize hook, but can't find it now). It's called 'window-size-change-functions'. > Such window resize is necessary also for some other modes, Why "Such window resize"? We talk about reformatting buffer contents when a window gets resized for some reason. We do not want to resize the window when reformatting a man page because we know the length of Man lines beforehand. > for example, when a visited image is saved to the desktop file, > it has a wrong size after loading the desktop, because the > image size is calculated when the image file is not yet displayed > in a window. The image size should be recalculated after > displaying the image buffer. This would be probably about fitting a window to the image it displays. But why do we have to display the image first and then recalculate its size? Don't we know the image size in advance? martin