From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Image scaling in Info viewer Date: Mon, 25 May 2015 08:51:29 -0700 (PDT) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1432569136 12553 80.91.229.3 (25 May 2015 15:52:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2015 15:52:16 +0000 (UTC) To: vaidheeswaran.chinnaraju@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 25 17:52:03 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YwufY-00070n-MJ for ged-emacs-devel@m.gmane.org; Mon, 25 May 2015 17:52:00 +0200 Original-Received: from localhost ([::1]:44248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwufX-0001lk-Tm for ged-emacs-devel@m.gmane.org; Mon, 25 May 2015 11:51:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwufF-0001jz-AE for emacs-devel@gnu.org; Mon, 25 May 2015 11:51:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwufB-0001oW-6i for emacs-devel@gnu.org; Mon, 25 May 2015 11:51:41 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:46718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwufA-0001oP-Ue for emacs-devel@gnu.org; Mon, 25 May 2015 11:51:37 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t4PFpUGM021842 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 25 May 2015 15:51:30 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t4PFpTeY002762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 25 May 2015 15:51:29 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t4PFpTmc021568; Mon, 25 May 2015 15:51:29 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186806 Archived-At: > Shouldn't Emacs autoscale the image to fit in to the buffer What do you mean by "the buffer" here? It would be good to have the possibility of autoscaling, IMO, and even autoscaling of one sort or another by default. It might be better to (by default) autoscale an image to fit the return value of one of the `window*pixel-width' functions, rather than the width of the buffer text. That would mean that widening or narrowing the window would zoom the image accordingly. But it would also be good for this to be controlled by users (e.g., by option or on the fly somehow). You might sometimes want to zoom into the text and image without also widening the window, etc.