From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aidan Gauland Subject: Re: Re: Bug? Inconsistency with org-publish-attachment Date: Thu, 16 Sep 2010 15:15:04 +1200 Message-ID: <20100916031504.GA5117@dimension8.tehua.net> References: <20100915021535.GA19762@dimension8.tehua.net> <87tylrgfin.fsf@gmx.de> <87eicuhbq5.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1543996132==" Return-path: Received: from [140.186.70.92] (port=36905 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow4wX-0006We-LB for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 23:15:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ow4wW-0000k8-2x for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 23:15:25 -0400 Received: from jersey.rurallink.co.nz ([114.134.15.197]:48497 helo=smtp.rurallink.co.nz) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow4wV-0000jZ-Mh for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 23:15:24 -0400 In-Reply-To: <87eicuhbq5.fsf@gmx.de> 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: Sebastian Rose Cc: emacs-orgmode@gnu.org --===============1543996132== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 16, 2010 at 12:40:34AM +0200, Sebastian Rose wrote: > Aidan Gauland writes: > > Sebastian Rose gmx.de> writes: > >> It would be a bug. > >>=20 > >> 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? >=20 >=20 > Ah, OK. That might be because of some call to=20 >=20 > (file-truename file...) >=20 > or similar. `file-truename' removes symbolic links in filenames. >=20 > Functions like this are called to make sure, the file is published only > if needed (i.e. the file has changed since last export). >=20 > I'm not sure currently if it's clever to remove such calls (see > lisp/org-publish.el and search `file-truename'). What if `file-truename' was used only to get the path of the actual file to copy, but the (relative) path of the link is used as the destination? --Aidan --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyRi7gACgkQjyzTRvYJmaWPZQCeMmfw9LL2uMEMgl9iLtJQmOP6 6WYAoIEfAk37ZB9L52c0RI8k3ICWPQGc =uq6v -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn-- --===============1543996132== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1543996132==--