From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#37630: 27.0.50; image-mode-fit-frame doesn't Date: Wed, 09 Oct 2019 21:09:30 +0200 Message-ID: <87v9sx68id.fsf@gnus.org> References: <83v9t34kxv.fsf@gnu.org> <877e5hb3yo.fsf@gnus.org> <01C6CC54-E926-470A-9736-41498FC7A25F@gnu.org> <871rvp86ks.fsf@gnus.org> <83sgo4zfnf.fsf@gnu.org> <0d475083-0f51-ed60-95f4-970fa67df241@gmx.at> <871rvn2q8v.fsf@gnus.org> <831rvnxm1s.fsf@gnu.org> <87d0f71aiv.fsf@gnus.org> <83y2xvw5i1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="96429"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 37630@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 22:41:30 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIIly-000Oy8-Lm for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 22:41:26 +0200 Original-Received: from localhost ([::1]:57378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIIlx-0001BC-Da for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 16:41:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50670) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIHLX-0002Sj-D7 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 15:10:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIHLW-0002cz-9n for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 15:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45316) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIHLW-0002cs-6p for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 15:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIHLV-0007k2-Ud for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 15:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2019 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37630 X-GNU-PR-Package: emacs Original-Received: via spool by 37630-submit@debbugs.gnu.org id=B37630.157064817829723 (code B ref 37630); Wed, 09 Oct 2019 19:10:01 +0000 Original-Received: (at 37630) by debbugs.gnu.org; 9 Oct 2019 19:09:38 +0000 Original-Received: from localhost ([127.0.0.1]:54137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIHL7-0007jL-TW for submit@debbugs.gnu.org; Wed, 09 Oct 2019 15:09:38 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:41946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIHL5-0007jB-3H for 37630@debbugs.gnu.org; Wed, 09 Oct 2019 15:09:36 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIHL0-0003UL-If; Wed, 09 Oct 2019 21:09:33 +0200 In-Reply-To: <83y2xvw5i1.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 08 Oct 2019 19:45:26 +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: 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168778 Archived-At: Eli Zaretskii writes: >> We don't want to have half a line at the bottom of the frame. > > But that's only possible when resizing pixel-wise, no? Yes, we could compute based on pixels, and then resize based on how many lines that would be. But I wonder whether the mapping from pixels to lines would run into the same problems as just counting lines does. >> I don't really understand the utility of this command, though. > > I think it was written to allow popping up frames with minimal/no > decorations that show only the image. But that's a guess. Perhaps it was meant as a way to quickly expand the frame to display all of the image? In the olden days, you couldn't shrink images, so perhaps making the frame bigger momentarily was seen as a feature. But just guessing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no