From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: image size limit? Date: Tue, 18 Oct 2005 10:33:35 -0400 Message-ID: References: <87oe5v7q19.fsf@stupidchicken.com> <87k6giiqh3.fsf@pacem.orebokech.com> <87hdbht7v9.fsf@stupidchicken.com> <87d5m3zu20.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129646117 26373 80.91.229.2 (18 Oct 2005 14:35:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 14:35:17 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 18 16:35:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERsXO-0001UN-HR for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2005 16:33:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERsXO-00075t-06 for ged-emacs-devel@m.gmane.org; Tue, 18 Oct 2005 10:33:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERsXC-00073z-MR for emacs-devel@gnu.org; Tue, 18 Oct 2005 10:33:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERsXB-00071n-3I for emacs-devel@gnu.org; Tue, 18 Oct 2005 10:33:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERsXA-00071f-Pd for emacs-devel@gnu.org; Tue, 18 Oct 2005 10:33:44 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ERsX6-0000We-Tp; Tue, 18 Oct 2005 10:33:41 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 0DBC92CF5D8; Tue, 18 Oct 2005 10:33:39 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 168904AC00A; Tue, 18 Oct 2005 10:33:36 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id E098FE6C1B; Tue, 18 Oct 2005 10:33:35 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Mon, 17 Oct 2005 23:39:29 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.85, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44264 Archived-At: >> But I don't think this limit should be absolute. I think it should be >> specified as a multiple of the frame height and width, and it should >> be given as a floating point number. I'd suggest 2.0 as the default >> for this ratio. My Emacs frames are typically 80 columns of 13x6, i.e. about 500 pixel wide, but I often (at least once a week) watch digital photos in those frames and more often than not those picteures are 1600 or 2048 pixel wide. Admittedly, it's not very convenient to watch those pictures within Emacs right now (the vertical/horizontal scrolling is far from perfect), but often I end up temporarilly maximizing the frame (after displaying the picture) to 1600 pixel wide. All this to say that I think choosing the maximum image size based on display-pixel-width and display-pixel-height would be preferable than using frame size. Stefan