From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: hw Newsgroups: gmane.emacs.bugs Subject: bug#32536: displayed width of man pages Date: Sun, 02 Sep 2018 16:55:25 +0200 Message-ID: <87pnxwgd9e.fsf@himinbjorg.adminart.net> 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 X-Trace: blaine.gmane.org 1535900122 3975 195.159.176.226 (2 Sep 2018 14:55:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2018 14:55:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 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 16:55:18 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 1fwTmY-0000vs-Al for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 16:55:18 +0200 Original-Received: from localhost ([::1]:41267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwToe-0004Z8-HU for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 10:57:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwToJ-0004Ga-Fx for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 10:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwToF-0006s0-Mt for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 10:57:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwToE-0006qX-70 for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 10:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fwToE-0002aT-4N for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 10:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: hw Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Sep 2018 14:57:02 +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.15359001739871 (code B ref 32536); Sun, 02 Sep 2018 14:57:02 +0000 Original-Received: (at 32536) by debbugs.gnu.org; 2 Sep 2018 14:56:13 +0000 Original-Received: from localhost ([127.0.0.1]:43146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwTnR-0002Z9-J5 for submit@debbugs.gnu.org; Sun, 02 Sep 2018 10:56:13 -0400 Original-Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.166]:35959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwTnP-0002Yz-NA for 32536@debbugs.gnu.org; Sun, 02 Sep 2018 10:56:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1535900170; s=strato-dkim-0002; d=adminart.net; h=Sender:References:Message-ID:Date:In-Reply-To:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=6Xt304OZGtrjsm8whxszQPFXu+1v2/i06aCUtCbgLOs=; b=qSPeCBxbFWh0qeI9HipfbTFuLetF+zhWW8anLvad8I9f2vPACNLBR4sKWy/1LKgdqv Gfgkh7IvgMzc7pWKdGa3tY3BhUZIdfWWOTyQTHkSVcls1Inr7gCdxiM/wNM+NpWx8Vt9 iSJRmyd857eglqNgREqZJhBH62gXjvmB9Nuq1kmv6hSOoWnbCVog9Haka+j0It9lJdEg AOdBI8LSs/mgM+QqPq6Pmm97daBAUKxt0AVUyTuG+AAJ3u2TntNh1+87tROhfSOOAM4w VxwaoHRxEkYgEHGvNBEChnrjQY4VI37V0z+XpJBJporN2BDto4bm/qdT43R2INRKfprF +psA== X-RZG-AUTH: ":O2kGeEG7b/pS1FS4THaxjVF9w0vVgfQ9xGcjwO5WMRo5c+h5ceMqQWZ3yrBp+AVdIIwXjneEe9k=" X-RZG-CLASS-ID: mo00 Original-Received: from himinbjorg.adminart.net by smtp.strato.de (RZmta 43.21 DYNA|AUTH) with ESMTPSA id j020b1u82Eu9FAS (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sun, 2 Sep 2018 16:56:09 +0200 (CEST) Original-Received: from lee by himinbjorg.adminart.net with local (Exim 4.90_1) (envelope-from ) id 1fwTnN-0000Ur-4I; Sun, 02 Sep 2018 16:56:09 +0200 In-Reply-To: <87d0twam5z.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 02 Sep 2018 01:27:20 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-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:149965 Archived-At: Juri Linkov writes: > [...] > 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). Perhaps if they /can/ be reformatted dynamically, have a variable like `Man-dynamic-reformat-lines-max' so users can prevent the reformatting for instances in which it takes too long. Then a problem is that the number of lines varies with the width of the page, and instead of the number of lines, the size in bytes (kB, MB ...) of the page might be more relevant for reformatting it. Unfortunately, users usually have no idea what the size of a manual page in bytes is, and the pages are even stored compressed. Users would have to try out what size makes sense to dynamically reformat on their particular hardware and may end up simply turning the feature off because they do not resize windows while reading manual pages anyway. Does it take longer to format the same manual page into 2500 lines or into 5000 lines? Would it be possible to do the reformatting in the background, and delayed, like fontifying a buffer?