From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vaidheeswaran Newsgroups: gmane.emacs.devel Subject: Re: Fit image to window height or width Date: Thu, 15 Jan 2015 18:26:09 +0530 Message-ID: References: <54B7AF97.9010304@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1421326660 488 80.91.229.3 (15 Jan 2015 12:57:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2015 12:57:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 15 13:57:33 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 1YBjzO-0000Al-8v for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 13:57:30 +0100 Original-Received: from localhost ([::1]:50469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBjzN-0008Rh-Ev for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 07:57:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBjz1-0008OJ-Ex for emacs-devel@gnu.org; Thu, 15 Jan 2015 07:57:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBjyu-0007Tk-MC for emacs-devel@gnu.org; Thu, 15 Jan 2015 07:57:07 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBjyu-0007TK-FJ for emacs-devel@gnu.org; Thu, 15 Jan 2015 07:57:00 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YBjys-0008OF-8I for emacs-devel@gnu.org; Thu, 15 Jan 2015 13:56:58 +0100 Original-Received: from 106.206.180.165 ([106.206.180.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jan 2015 13:56:58 +0100 Original-Received: from vaidheeswaran.chinnaraju by 106.206.180.165 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jan 2015 13:56:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 106.206.180.165 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20121216 Icedove/3.0.11 In-Reply-To: <54B7AF97.9010304@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:181296 Archived-At: On Thursday 15 January 2015 05:46 PM, Vaidheeswaran C wrote: >> Did you configure with imagemagik? >> > The following comment seems to "corroborate" the behaviour I am seeing. > > ;; FIXME this doesn't seem mature yet. Document in manual when it is. > (defvar image-transform-resize nil > > > > I am runnning Stock Debian squeeze (XFCE) and emacs built from trunk @ > > commit 94a3f7648cfc9d1d205e69eff0beec416d30a0fe > Author: Andreas Schwab > Date: Wed Dec 10 09:44:26 2014 +0100 > > Images are usually pbm or ppm files. > > I installed libmagick++-dev. Image transformation is working fine. In doc-view mode -- this is where my interest lies -- when I invoke the `image-transform-*' commands, I get the following error: image-toggle-display-image: The buffer is not in Image mode Can this be fixed?