From unknown Mon Jun 16 21:49:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16839 <16839@debbugs.gnu.org> To: bug#16839 <16839@debbugs.gnu.org> Subject: Status: 24.3.50; image-mode-fit-frame fails to use all display space with image larger than display Reply-To: bug#16839 <16839@debbugs.gnu.org> Date: Tue, 17 Jun 2025 04:49:15 +0000 retitle 16839 24.3.50; image-mode-fit-frame fails to use all display space = with image larger than display reassign 16839 emacs submitter 16839 nljlistbox2@gmail.com (N. Jackson) severity 16839 minor tag 16839 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 20:00:52 2014 Received: (at submit) by debbugs.gnu.org; 22 Feb 2014 01:00:52 +0000 Received: from localhost ([127.0.0.1]:35206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WH0xX-0007H0-PY for submit@debbugs.gnu.org; Fri, 21 Feb 2014 20:00:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36425) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WH0xU-0007Gk-IH for submit@debbugs.gnu.org; Fri, 21 Feb 2014 20:00:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WH0xG-0007s6-Qr for submit@debbugs.gnu.org; Fri, 21 Feb 2014 20:00:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WH0xG-0007ry-JM for submit@debbugs.gnu.org; Fri, 21 Feb 2014 20:00:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WH0x7-0005u5-VJ for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2014 20:00:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WH0wz-0007lo-FV for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2014 20:00:25 -0500 Received: from mail-qa0-x22f.google.com ([2607:f8b0:400d:c00::22f]:43044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WH0wz-0007lg-AM for bug-gnu-emacs@gnu.org; Fri, 21 Feb 2014 20:00:17 -0500 Received: by mail-qa0-f47.google.com with SMTP id j5so4145215qaq.20 for ; Fri, 21 Feb 2014 17:00:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=CMZKlpz+ywzJf8743uxWXEfvqbUBiAA4RXwSQeo59Rw=; b=Fyku2ePqs2L2xS78NOhEhM6IocpoSXILBfD9GC+f9PGLXBfL8qDUDduyWX+hBGSOcI jRwmu7IYef1/8HVmmXMtJ9suWPuBoOTUjAgQ1xhfbnW12Sm7GqlTR442k+3DdmeM+Ct0 g10ENjCNaUoRrYWDyM/oG6HxS1Ba+Kv1bp3JndSAETbdJTz72XXy+oAHmGkzoRBzRH3a zk0Zt/uXHhPgdM9HJhgejnxmLJfM3SfE4UcTemL3EU4JtON2S5n4hy/b6ymIEGM0U1gL +HPs1ZNk8vh/dQUWh7/BJMLiiadE+K1lh1x/kmejqeBRCuc9JhFc/XBVYd6Z1EZynNUu EdZw== X-Received: by 10.140.37.47 with SMTP id q44mr13606980qgq.57.1393030816730; Fri, 21 Feb 2014 17:00:16 -0800 (PST) Received: from moondust.localdomain.nodomain.none (T8630.WPA.Dal.Ca. [134.190.134.48]) by mx.google.com with ESMTPSA id d15sm26622237qaq.4.2014.02.21.17.00.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Feb 2014 17:00:16 -0800 (PST) From: nljlistbox2@gmail.com (N. Jackson) To: bug-gnu-emacs@gnu.org Subject: 24.3.50; image-mode-fit-frame fails to use all display space with image larger than display Date: Fri, 21 Feb 2014 21:00:14 -0400 Message-ID: <87bny0hsgx.fsf@moondust.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) Recipe: =3D=3D=3D=3D=3D=3D=3D This recipe requires an image file bigger than the display (I used a 2048 x 1536 pixel JPEG file on a display with a resolution of 1366 x 768). 1. emacs -Q 2. C-x C-f big-image.jpg 3. M-x image-mode-fit-frame Expected behaviour: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Frame size increases to the maximum size that will fit on the display. Actual behaviour: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Frame size increases to a size slightly less that the maximum that will fit on the display. There is a gap above the frame of about the height of the title bar, a gap below the frame about a pixel high, and a gap to the left of the frame maybe three pixels wide. Furthermore, the size of this frame does not seem to be recorded wherever such parameters normally are (in Emacs or the windowing system?), so that if I maximise the frame (logo key and up arrow) and then "restore" it (logo key and down arrow), it does not return to the size it was before I maximised it, nor to the size it was before I issued the image-mode-fit-frame command, but to some intermediate size. Additional Comments: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The name of the command image-mode-fit-frame seems ill-chosen. This is not intended to fit the image to the frame, but rather the frame to the image. The text on the menu -- "Fit Frame to Image" -- is clear. This suggests the command should be called image-mode-fit-frame-to-image. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.8) of 2014-02-19 on moondust Repository revision: 116484 lekktu@gmail.com-20140219210406-y2s7lx244ojfl5on Windowing system distributor `Fedora Project', version 11.0.11404000 System Description: Fedora release 19 (Schr=C3=B6dinger=E2=80=99s Cat) Configured using: `configure --prefix=3D/home/nlj/local/' Important settings: value of $LC_MONETARY: en_DK.utf8 value of $LC_NUMERIC: en_DK.utf8 value of $LC_TIME: en_DK.utf8 value of $LANG: en_CA.utf8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Image[jpeg] Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode image-mode easymenu time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 24 12:55:19 2014 Received: (at submit) by debbugs.gnu.org; 24 Feb 2014 17:55:19 +0000 Received: from localhost ([127.0.0.1]:38109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHzkM-0007ob-PG for submit@debbugs.gnu.org; Mon, 24 Feb 2014 12:55:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54331) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHzkI-0007oJ-Ji for submit@debbugs.gnu.org; Mon, 24 Feb 2014 12:55:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHzk4-0006vW-UB for submit@debbugs.gnu.org; Mon, 24 Feb 2014 12:55:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHzk4-0006vS-Qc for submit@debbugs.gnu.org; Mon, 24 Feb 2014 12:55:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHzjw-0002sn-6e for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2014 12:55:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHzjn-0006rF-QN for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2014 12:54:52 -0500 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:48585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHzjn-0006r3-Lh for bug-gnu-emacs@gnu.org; Mon, 24 Feb 2014 12:54:43 -0500 Received: by mail-qg0-f50.google.com with SMTP id z60so15792421qgd.9 for ; Mon, 24 Feb 2014 09:54:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=SEUuBiTH3bQ2oLaNSk8WF95EaTil6i1RN4geOM7Dg9E=; b=tV831G+pX/vuzda0S/bbPqVpcSB/XHwzT1fWJ5gLPfNce8gEaZCFv5l1rcAXZDB7Vr egBZ1plZgY0/MElcuJZ7W3VupYrMFISbV22XLoQnd931XKT605xysskifRcdl0oeIpOk 3cKk96DZqrmlBD6DRos7u2PoBkhHkuRLcSVJg8NFw3ZEg8/mld6Gqx57Gs8X6gRf2SXC Ir3Mn7oLxbdTX5f8M4ewZiw4+QSHG/BYxEdEve3Wmxf4Hzcov7f3gVnQIRwioyHwD1cy 9g0gBN8f5fo9rR708gbwhlcIVPyWYIvE8aC5rIRnju4Z/PKQyIxt9tdOR6gnp12OLZVD 70lQ== X-Received: by 10.224.94.2 with SMTP id x2mr31814260qam.100.1393264483144; Mon, 24 Feb 2014 09:54:43 -0800 (PST) Received: from moondust.localdomain.nodomain.none (T872B.WPA.Dal.Ca. [134.190.135.43]) by mx.google.com with ESMTPSA id t5sm51486349qat.6.2014.02.24.09.54.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Feb 2014 09:54:42 -0800 (PST) From: nljlistbox2@gmail.com (N. Jackson) To: bug-gnu-emacs@gnu.org Subject: Re: bug#16839: 24.3.50; image-mode-fit-frame fails to use all display space with image larger than display References: <87bny0hsgx.fsf@moondust.localdomain> Date: Mon, 24 Feb 2014 13:54:41 -0400 In-Reply-To: <87bny0hsgx.fsf@moondust.localdomain> (N. Jackson's message of "Fri, 21 Feb 2014 21:00:14 -0400") Message-ID: <87sir81jmm.fsf@moondust.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) At 21:00 -0400 on Friday 2014-02-21, N. Jackson wrote: > 1. emacs -Q > 2. C-x C-f big-image.jpg > 3. M-x image-mode-fit-frame > Frame size increases to a size slightly less that the maximum that will > fit on the display. There is a gap above the frame of about the height > of the title bar, a gap below the frame about a pixel high, and a gap to > the left of the frame maybe three pixels wide. Setting frame-resize-pixelwise to t works around this problem. > Furthermore, the size of this frame does not seem to be recorded > wherever such parameters normally are (in Emacs or the windowing > system?), so that if I maximise the frame (logo key and up arrow) and > then "restore" it (logo key and down arrow), it does not return to the > size it was before I maximised it, nor to the size it was before I > issued the image-mode-fit-frame command, but to some intermediate size. But frame-resize-pixelwise doesn't help with the frame not "remembering" what size to restore to. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 03 16:21:12 2016 Received: (at 16839) by debbugs.gnu.org; 3 Mar 2016 21:21:12 +0000 Received: from localhost ([127.0.0.1]:60554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abagK-0002cQ-Ky for submit@debbugs.gnu.org; Thu, 03 Mar 2016 16:21:12 -0500 Received: from mail-io0-f180.google.com ([209.85.223.180]:34585) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abagJ-0002cC-3K for 16839@debbugs.gnu.org; Thu, 03 Mar 2016 16:21:11 -0500 Received: by mail-io0-f180.google.com with SMTP id m184so41998576iof.1 for <16839@debbugs.gnu.org>; Thu, 03 Mar 2016 13:21:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=Fh9rujk1SjTcW/ikQJ/rESm3j/btfQr1QGGyd0A3rDo=; b=v181dVNv4AZPVID8a6Gpf3wY5PGtE1SGi5bv34A1TzL660axdFTTzLlFZB0n/q+LQQ wyQtNe5JOL1XcBS9e+IKbLQqMTQAiibwbe2TgGw4uoW4A/FK0oRROAevh4Jep3F+XS3v 5oufs3X17we7R496t79aFyTK3d/loFndyJopBIckh8NSZp43IgUoLXY2AiJLDHCj+v+U xu/XbaT+SLdBgz8DWqhiAQybVASw3FZN8/fIJuqqgrFMSwnYj/ZV2kCl2z07ejLIG46m 94/1w5Ss/rvySF0oHwIELlzYLClC4CT9loaCZLeg5gPyzdv5FzbUPg3h1mM9ZwRkA9Ev XEdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Fh9rujk1SjTcW/ikQJ/rESm3j/btfQr1QGGyd0A3rDo=; b=Rz6uFq2RYVTkeJ4D+RugDpgLwAF4D23lvr2+/+0aYOxyUJdVZHyTuzYXI4NCBEHqB7 qKZe027i/qERgXmFPBS1jb919iIzjhJuZtjU8kDW0dw7Oemi2sk8YvWGh8bQxnZgG5pT 009dEn8E1Jf0jqY1bn6TTtE379v5io7W3rTC6LXe5X0srye4pbgKm+9O9LuEOTIoWh/W iXbZe3jAxOwxW4RhMbMgGaMAKl0LCWJnvpR3S4ztA5CST1Oaq9yR/uT4H0sGHwNPKL3k y5W1UzBRjGEdJQvc+Jk/KQgJ++9vs8YvpgSppB7erdojAJKQnVmuz5lk7knqWnKCZri/ lUeA== X-Gm-Message-State: AD7BkJKfa1/9LITMh10owCE4JDQLnDqxQm+n6C9PfNa/Amew+WKVaIW90WqpgoYuDv5EUA== X-Received: by 10.107.3.79 with SMTP id 76mr4750666iod.101.1457040065567; Thu, 03 Mar 2016 13:21:05 -0800 (PST) Received: from moondust.nodomain.none ([142.176.202.106]) by smtp.gmail.com with ESMTPSA id n8sm157669igv.5.2016.03.03.13.21.04 for <16839@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Mar 2016 13:21:05 -0800 (PST) From: nljlistbox2@gmail.com (N. Jackson) To: 16839@debbugs.gnu.org Subject: Re: bug#16839: 24.3.50; image-mode-fit-frame fails to use all display space with image larger than display References: <87bny0hsgx.fsf@moondust.localdomain> Date: Thu, 03 Mar 2016 17:21:03 -0400 In-Reply-To: <87bny0hsgx.fsf@moondust.localdomain> (N. Jackson's message of "Fri, 21 Feb 2014 21:00:14 -0400") Message-ID: <87vb53uukg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 16839 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) At 21:00 -0400 on Friday 2014-02-21, N. Jackson wrote: > > Recipe: > =3D=3D=3D=3D=3D=3D=3D > This recipe requires an image file bigger than the display (I used > a 2048 x 1536 pixel JPEG file on a display with a resolution of > 1366 x 768). > > 1. emacs -Q > 2. C-x C-f big-image.jpg > 3. M-x image-mode-fit-frame Just a quick update on this bug report. The recipe I provided above doesn't work on Emacs 25 (currently testing on the second pretest 25.0.92) because it seems that images are now shrunk to fit into the frame when they are opened. In any case the image-mode-fit-frame function still seems to be broken. The documented behaviour is: If called interactively, or if TOGGLE is non-nil, toggle between fitting FRAME to the current image and restoring the size and window configuration prior to the last =E2=80=98image-mode-fit-frame=E2= =80=99 call. The toggling makes it slightly confusing to figure out what's going on but it seems that the function is only doing half of its job. When it needs to adjust only the height of the frame and when it needs to adjust only the width of the frame, the function seems to work correctly. But when it needs to adjust both the height and the width, it only adjusts the height and fails to adjust the width. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 13:03:32 2019 Received: (at 16839) by debbugs.gnu.org; 26 Sep 2019 17:03:32 +0000 Received: from localhost ([127.0.0.1]:44593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDXAx-0002ka-Qm for submit@debbugs.gnu.org; Thu, 26 Sep 2019 13:03:32 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDXAt-0002kE-1h for 16839@debbugs.gnu.org; Thu, 26 Sep 2019 13:03:29 -0400 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 1iDXAn-0005U4-Ha; Thu, 26 Sep 2019 19:03:24 +0200 From: Lars Ingebrigtsen To: nljlistbox2@gmail.com (N. Jackson) Subject: Re: bug#16839: 24.3.50; image-mode-fit-frame fails to use all display space with image larger than display References: <87bny0hsgx.fsf@moondust.localdomain> <87vb53uukg.fsf@gmail.com> Date: Thu, 26 Sep 2019 19:03:21 +0200 In-Reply-To: <87vb53uukg.fsf@gmail.com> (N. Jackson's message of "Thu, 03 Mar 2016 17:21:03 -0400") Message-ID: <87blv7ng6e.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: nljlistbox2@gmail.com (N. Jackson) writes: > In any case the image-mode-fit-frame function still seems to be > broken. The documented behaviour is: > > If called interactively, or if TOGGLE is non-nil, toggle between > fitting FRAME to the cur [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 16839 Cc: 16839@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) nljlistbox2@gmail.com (N. Jackson) writes: > In any case the image-mode-fit-frame function still seems to be > broken. The documented behaviour is: > > If called interactively, or if TOGGLE is non-nil, toggle between > fitting FRAME to the current image and restoring the size and > window configuration prior to the last =E2=80=98image-mode-fit-frame= =E2=80=99 > call. > > The toggling makes it slightly confusing to figure out what's going > on but it seems that the function is only doing half of its job. > > When it needs to adjust only the height of the frame and when it > needs to adjust only the width of the frame, the function seems to > work correctly. But when it needs to adjust both the height and the > width, it only adjusts the height and fails to adjust the width. I'm not quite sure whether I'm reproducing this right... If I `C-x C-f' a big image file, then readjust the Emacs frame to be smaller than that image, and then say `M-x image-mode-fit-frame', it does expand both width and height to fit that image as displayed. Are you still seeing this problem in Emacs 27? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 26 13:03:32 2019 Received: (at control) by debbugs.gnu.org; 26 Sep 2019 17:03:32 +0000 Received: from localhost ([127.0.0.1]:44595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDXAy-0002kc-7r for submit@debbugs.gnu.org; Thu, 26 Sep 2019 13:03:32 -0400 Received: from quimby.gnus.org ([80.91.231.51]:36354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDXAu-0002kM-VW for control@debbugs.gnu.org; Thu, 26 Sep 2019 13:03:30 -0400 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 1iDXAs-0005UG-8o for control@debbugs.gnu.org; Thu, 26 Sep 2019 19:03:28 +0200 Date: Thu, 26 Sep 2019 19:03:26 +0200 Message-Id: <87a7arng69.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #16839 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 16839 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 16839 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 03:27:40 2019 Received: (at 16839) by debbugs.gnu.org; 14 Oct 2019 07:27:40 +0000 Received: from localhost ([127.0.0.1]:37837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJulW-0004hm-Ce for submit@debbugs.gnu.org; Mon, 14 Oct 2019 03:27:40 -0400 Received: from [80.91.231.51] (port=51710 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJulS-0004hZ-Oj for 16839@debbugs.gnu.org; Mon, 14 Oct 2019 03:27:36 -0400 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 1iJulM-00039Z-NS; Mon, 14 Oct 2019 09:27:32 +0200 From: Lars Ingebrigtsen To: nljlistbox2@gmail.com (N. Jackson) Subject: Re: bug#16839: 24.3.50; image-mode-fit-frame fails to use all display space with image larger than display References: <87bny0hsgx.fsf@moondust.localdomain> <87vb53uukg.fsf@gmail.com> <87blv7ng6e.fsf@gnus.org> Date: Mon, 14 Oct 2019 09:27:28 +0200 In-Reply-To: <87blv7ng6e.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 26 Sep 2019 19:03:21 +0200") Message-ID: <87eezfn5wf.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I'm not quite sure whether I'm reproducing this right... If I `C-x C-f' > a big image file, then readjust the Emacs frame to be smaller than that > image, and then say `M-x image-mode-fit-frame', it [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lars Ingebrigtsen writes: > I'm not quite sure whether I'm reproducing this right... If I `C-x C-f' > a big image file, then readjust the Emacs frame to be smaller than that > image, and then say `M-x image-mode-fit-frame', it [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnus.org] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 16839 Cc: 16839@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Lars Ingebrigtsen writes: > I'm not quite sure whether I'm reproducing this right... If I `C-x C-f' > a big image file, then readjust the Emacs frame to be smaller than that > image, and then say `M-x image-mode-fit-frame', it does expand both > width and height to fit that image as displayed. > > Are you still seeing this problem in Emacs 27? More information was requested some weeks back, but no response was given, so I'm closing this bug report. If you're still seeing this problem, please reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 03:27:44 2019 Received: (at control) by debbugs.gnu.org; 14 Oct 2019 07:27:44 +0000 Received: from localhost ([127.0.0.1]:37841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJulc-0004iD-Ga for submit@debbugs.gnu.org; Mon, 14 Oct 2019 03:27:44 -0400 Received: from [80.91.231.51] (port=51726 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJulW-0004hj-5Z for control@debbugs.gnu.org; Mon, 14 Oct 2019 03:27:40 -0400 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 1iJulT-00039g-Hl for control@debbugs.gnu.org; Mon, 14 Oct 2019 09:27:37 +0200 Date: Mon, 14 Oct 2019 09:27:35 +0200 Message-Id: <87d0ezn5w8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #16839 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 16839 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 16839 quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) close 16839 quit From unknown Mon Jun 16 21:49:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 11 Nov 2019 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator