From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Displaying images with recent trunk Date: Tue, 12 Aug 2014 15:37:34 +0200 Message-ID: <53EA189E.5010408@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1407850693 32484 80.91.229.3 (12 Aug 2014 13:38:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2014 13:38:13 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 12 15:38:07 2014 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 1XHCH6-0001ig-6p for ged-emacs-devel@m.gmane.org; Tue, 12 Aug 2014 15:38:04 +0200 Original-Received: from localhost ([::1]:42052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHCH5-00006F-Rp for ged-emacs-devel@m.gmane.org; Tue, 12 Aug 2014 09:38:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHCGv-000067-K7 for emacs-devel@gnu.org; Tue, 12 Aug 2014 09:38:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHCGo-0007ln-56 for emacs-devel@gnu.org; Tue, 12 Aug 2014 09:37:53 -0400 Original-Received: from smtp202.alice.it ([82.57.200.98]:21646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHCGn-0007lK-Pr for emacs-devel@gnu.org; Tue, 12 Aug 2014 09:37:46 -0400 Original-Received: from [192.168.1.103] (82.59.172.20) by smtp202.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 53A4813E0CFFC119 for emacs-devel@gnu.org; Tue, 12 Aug 2014 15:37:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.98 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:173597 Archived-At: I wonder if someone has tried to display imaged with trunk, say, after Aug 05, 2014. For example try this: 1. emacs -Q 2. C-x C-f /usr/local/Emacs.app/share/icons/hicolor/128x128/apps/emacs.png. It looks OK. 3. Now on menu bar click 'Image' and then 'Fit Frame to image'. Question: How to revert (undo) this? 4. Click on menu bar 'Image' and then 'Fit to Window Height' 5. Click on menu bar 'Image' and then 'Fit to Window width' Repeat 3., 4., 5. in different order... and with various files... Sometimes (I have tried with several PNG and JPG files), 4. and 5. gives the same result, i.e. a deformed image (which does not maintain the aspect ratio). Is this by design? Image one is reading a PDF document.. If one want to see the full page, the fitting to window height is the best thing to do.. then to read better one fits to the window width: this does not deform the document, one has only to scroll up/down to continue reading. If then one want to see newly the full page then the choice is to refit to the window height.. 3., 4. 5. above don't look reversible.. It seems one cannot to zoom.. so that the image cannot be visited as in trunk prior Aug 05... [...] Ciao, Angelo.