From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: :max-width/:max-height Date: Sun, 23 Jun 2013 21:26:34 +0200 Message-ID: References: <837ghnokij.fsf@gnu.org> <83zjujn4r2.fsf@gnu.org> <83vc57n3kk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372015618 31663 80.91.229.3 (23 Jun 2013 19:26:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Jun 2013 19:26:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 23 21:26:58 2013 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 1Uqpw7-0008Af-VQ for ged-emacs-devel@m.gmane.org; Sun, 23 Jun 2013 21:26:56 +0200 Original-Received: from localhost ([::1]:57713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uqpw7-00037v-HH for ged-emacs-devel@m.gmane.org; Sun, 23 Jun 2013 15:26:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uqpw3-00037p-Ou for emacs-devel@gnu.org; Sun, 23 Jun 2013 15:26:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uqpw1-0004u0-EA for emacs-devel@gnu.org; Sun, 23 Jun 2013 15:26:51 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:34282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uqpw1-0004ts-7e; Sun, 23 Jun 2013 15:26:49 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Uqpvm-0007in-Uo; Sun, 23 Jun 2013 21:26:35 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEXu7PAqJSkIBQcHAwYG AgSMhowMCAsPxeghAAACW0lEQVQ4jUWTQY7bMAxFOQvtwyms/VCp9hWFHmDsA9gtlL2Vhvc/Qj+l ZEZAgIiP5CcpmratfjDvRNRonkZhb5G2bfvFF4DgvwFwjn8A1RgXGNs0wsw/KoCejRq71RNSaMx9 3QB+P9oemJd9AjosIT9BGxHHcvAlDPnwLlVnRLwEboGXAUJMWrf1CpAdMB3c2t7oluqKAK+qABy8 8ADHvdZtGxqr2gMRHAGIbn3aHazyIAADaPsfAfisDtJWfkKATwetQ7mOctW0PEJDucuFWhSAqzqQ LPZA0+j3Qm+SFNbVgYnYx74T+ljopoqI/nndqgPJJ7JjJvSGgOoqiEjSzfLps0Lf9/t2rSsiAErP Jma2+KD+ukZdq6fqKVt+gRsyDe1KIkV6ZrP5GB3yKogBwDk5TkA3KUVeQF37CY6eNGfUBoB//AXa u6h4NoKuOIgT8LuUhNKSA7NvELtrpiIk1tEFt3jBfuwUYyoIAChW1wyAZQxLAED9AAkgqYAAtIX3 aEgjDrIDH5Wv4b6bDxXJvKqu5eRzbmLA2EbLQmbe0ukrChIs92+gAom5n4cJgH0BaBwOws06rB7l QBRgfDtH9Cu2wCYo3jrKCgdurpF7B/DYM45GYocJnh0gj/IwFO/ei/W7DeBSPsmTTZ5d5NypjBrG jH2yNtvoiTRPHxtiz5Ml0TPrBC+Ux0PlOOX9XXy0SCQJb97ndDyi47MsqfhLKZWcZPih7jSWSosm neKYlh/VtVaFG3YhYand191XrKeuZZYr5LeiMMK56tipwSjVUvxz0a3Uuoprj1r+A9Ly32qWjJoa AAAAAElFTkSuQmCC X-Now-Playing: Kate Bush's _The Sensual World_: "Rocket's Tail" X-Hashcash: 1:23:130623:emacs-devel@gnu.org::SnXCFSXWAM01fTTB:000000000000000000000000000000000000000000M/58 X-Hashcash: 1:23:130623:eliz@gnu.org::omFvbF4r8g0/wvRA:00000vepO In-Reply-To: <83vc57n3kk.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Jun 2013 13:47:07 +0300") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1Uqpvm-0007in-Uo MailScanner-NULL-Check: 1372620395.39138@4qqh02kUkaIlwKLaigGW7g X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:160917 Archived-At: Eli Zaretskii writes: > So it's about hiding these computations behind an API, rather than > doing them on the application level, is that right? And the speed-up. If the X pushing thing is fixed, then the latter wouldn't be much of an issue, but :max-width/:max-height is still a very convenient thing to have. I've now implemented it and pushed it. I think I managed to get all the various possible combinations of specifying :width/:height/:max-width/:max-height right, but I wouldn't bet on it. Much. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/