From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32536: displayed width of man pages Date: Mon, 03 Sep 2018 01:30:30 +0300 Organization: LINKOV.NET Message-ID: <87d0tvlegp.fsf@mail.linkov.net> References: <878t4t70zb.fsf@himinbjorg.adminart.net> <87in3r1l7y.fsf@mail.linkov.net> <5B88E62F.20504@gmx.at> <87d0twam5z.fsf@mail.linkov.net> <5B8B8DC8.7020001@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535928938 991 195.159.176.226 (2 Sep 2018 22:55:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2018 22:55:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: hw , 32536@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 03 00:55:33 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 1fwbHJ-00007x-FD for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Sep 2018 00:55:33 +0200 Original-Received: from localhost ([::1]:42721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwbJQ-0000nS-0F for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 18:57:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwbIc-0007YR-EV for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 18:56:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwbBy-0001bg-On for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 18:50:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38433) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwbBy-0001bc-KY for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 18:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fwbBy-0003bq-HR for bug-gnu-emacs@gnu.org; Sun, 02 Sep 2018 18:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Sep 2018 22:50: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.153592859113826 (code B ref 32536); Sun, 02 Sep 2018 22:50:02 +0000 Original-Received: (at 32536) by debbugs.gnu.org; 2 Sep 2018 22:49:51 +0000 Original-Received: from localhost ([127.0.0.1]:43446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwbBn-0003aw-3G for submit@debbugs.gnu.org; Sun, 02 Sep 2018 18:49:51 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:36884 helo=pdx1-sub0-mail-a9.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwbBk-0003an-PR for 32536@debbugs.gnu.org; Sun, 02 Sep 2018 18:49:48 -0400 Original-Received: from pdx1-sub0-mail-a9.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a9.g.dreamhost.com (Postfix) with ESMTP id 46C0E7EC62; Sun, 2 Sep 2018 15:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=pZGvrXxts+Of/j6WEf5kGdxkI2g=; b= LlARalPYq9FNpqvCaExsLQTU/SkQjS8SVSx1HPE8IYZN+Otx2+3oitqRE+ZLJg1b Lcqta1S7qEocQWm1yx/cyxDvd39gUq3aiuxV74L8JyhZupZEJSoDLnXWlvuNmCHQ VlCwEF1wg/MEX7/o11URzBAeAvgEESB3/u7qzXbbaBw= Original-Received: from localhost.linkov.net (m91-129-101-104.cust.tele2.ee [91.129.101.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a9.g.dreamhost.com (Postfix) with ESMTPSA id 3574F7E9E0; Sun, 2 Sep 2018 15:49:45 -0700 (PDT) In-Reply-To: <5B8B8DC8.7020001@gmx.at> (martin rudalics's message of "Sun, 02 Sep 2018 09:14:16 +0200") 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:149982 Archived-At: >> 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? Currently image-mode resizes the displayed image to fit into the window. It can't do this when an image buffer is restored from the desktop file and not yet displayed.