From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Dokos Newsgroups: gmane.emacs.help Subject: Re: Displaying images does not always work - why not? Date: Tue, 7 Jun 2011 02:54:11 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307415351 28567 80.91.229.12 (7 Jun 2011 02:55:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2011 02:55:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 07 04:55:47 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QTmSE-0002Aq-Lu for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jun 2011 04:55:42 +0200 Original-Received: from localhost ([::1]:60645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTmSD-0003Lm-OE for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Jun 2011 22:55:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTmR1-0003LT-Vz for help-gnu-emacs@gnu.org; Mon, 06 Jun 2011 22:54:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTmR0-0001XT-V8 for help-gnu-emacs@gnu.org; Mon, 06 Jun 2011 22:54:27 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTmR0-0001XM-Or for help-gnu-emacs@gnu.org; Mon, 06 Jun 2011 22:54:26 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QTmQx-0001ov-4i for help-gnu-emacs@gnu.org; Tue, 07 Jun 2011 04:54:23 +0200 Original-Received: from pool-173-76-32-106.bstnma.fios.verizon.net ([173.76.32.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jun 2011 04:54:23 +0200 Original-Received: from nicholas.dokos by pool-173-76-32-106.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jun 2011 04:54:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 173.76.32.106 (Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.10 (maverick) Firefox/3.6.17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81303 Archived-At: Nick Dokos hp.com> writes: > ... > I tried to reduce it to more elemental components, by saving the image part of > the cached file into a different file, called foo.gif. ... > But when I try > > (setq i (create-image "foo.png")) > (insert-image i) > > I get the dreaded empty box (and the same thing with foo.gif). ... Well, this last part is a bust: apparently, create-image needs an absolute pathname - that's why the insert-image doesn't work (and *Messages* makes it obvious). But that still doesn't explain the original problem: org-google-weather uses a :data spec for the image, not a :file spec. Nick