From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: Re: Accessing the communication channel from a link exporter Date: Thu, 01 Sep 2016 23:57:59 +0530 Message-ID: References: <87inuf1sn8.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfWin-00005H-9b for emacs-orgmode@gnu.org; Thu, 01 Sep 2016 14:28:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfWih-0005nc-P4 for emacs-orgmode@gnu.org; Thu, 01 Sep 2016 14:28:17 -0400 Received: from [117.218.232.8] (port=38526 helo=systemreboot.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfWih-0005mE-4v for emacs-orgmode@gnu.org; Thu, 01 Sep 2016 14:28:11 -0400 In-reply-to: <87inuf1sn8.fsf@saiph.selenimh> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: org-mode-email --=-=-= Content-Type: text/plain > Out of curiosity, what kind of link are you using, that is dependant > about context ? Actually, I don't need the context of the link in the org document. I need some properties defined in the plist of the component in org-publish-project-alist. So, I use the info communication channel to access these properties. I maintain a few websites with org mode. When I publish an image link with org, the exported HTML contains the full filesystem path of the image. The page wouldn't work if I published it on the web. My link type needs to know the path of the web server's docroot to remove that component from the full filesystem path. This path is defined in one of the properties in org-publish-project-alist, and I need the info communication channel to access it. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXyHMvAAoJEC4l7othgCuzC5QH/3U/N8RYJwDwbGm8Iak+n1Lu 16n4J6jDI+Yi4SodZdOwZ4yKcPAn9PE8MXJ3qLiqSekOMA8oluMXO+CgEZHaprTl 2hCKJSXRgiixKPWlAT3IiSHpybDlCR7NSU+czbG0KHuUCk3CybI1bDmb4gknE0/M rEbUW74Sdl8B7+StshCeQqpO6EopTlzk10AluUhapyviDXvwQA5iXcaQw5bM20po reuslkJguMeKEtAiv0w9K2XpL0UTGMfkWI7n7rfy0mwxYRMZuKFruCGG3otM9sbs TMA42lc5iDkulV1Lg02owDhvG4icp6DcS2YqNqJv7ZonNXfo5yib8hx6XSzYZcI= =x0nm -----END PGP SIGNATURE----- --=-=-=--