From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: Bug? Inconsistency with org-publish-attachment Date: Thu, 16 Sep 2010 00:40:34 +0200 Message-ID: <87eicuhbq5.fsf@gmx.de> References: <20100915021535.GA19762@dimension8.tehua.net> <87tylrgfin.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=56186 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow0eh-0001yF-KM for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 18:40:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ow0eg-0006y4-32 for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 18:40:43 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:51157 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Ow0ef-0006xu-Gf for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 18:40:42 -0400 In-Reply-To: (Aidan Gauland's message of "Wed, 15 Sep 2010 20:23:25 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Aidan Gauland Cc: emacs-orgmode@gnu.org Aidan Gauland writes: > Sebastian Rose gmx.de> writes: >> It would be a bug. >> >> But I cannot reproduce it (current Org mode from git, emacs24). > > I just figured out why: I store all my images in ~/images/ and just > have symbolic links to them in my Org website directory. > > Can you reproduce it now that you have this piece of information? Ah, OK. That might be because of some call to (file-truename file...) or similar. `file-truename' removes symbolic links in filenames. Functions like this are called to make sure, the file is published only if needed (i.e. the file has changed since last export). I'm not sure currently if it's clever to remove such calls (see lisp/org-publish.el and search `file-truename'). Sebastian