From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [bug] links in macros comments are fortified Date: Tue, 24 Feb 2015 18:48:03 +0100 Message-ID: <8761ar2obw.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQJak-0006mS-5V for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 12:48:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQJac-0000Tf-VY for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 12:48:18 -0500 Received: from plane.gmane.org ([80.91.229.3]:60224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQJac-0000TV-Om for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 12:48:10 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YQJaa-0002X2-Oe for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 18:48:08 +0100 Received: from ip5b4025d5.dynamic.kabel-deutschland.de ([91.64.37.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Feb 2015 18:48:08 +0100 Received: from rasmus by ip5b4025d5.dynamic.kabel-deutschland.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Feb 2015 18:48:08 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Consider the following macro that I'm employing hoping to export a document as a odt (the document is optimized towards latex). #+MACRO: tikzgraph (eval (format "[[file:$1.%s]]" (if (org-export-derived-backend-p org-export-current-backend 'latex) "tikz" "png"))) In org this was displayed as #+MACRO: tikzgraph (eval (format "file:$1.%s" (if (org-export-derived-backend-p org-export-current-backend 'latex) "tikz" "png"))) Which let me to type #+MACRO: tikzgraph (eval (format "[[[[file:$1.%s]]]]" (if (org-export-derived-backend-p org-export-current-backend 'latex) "tikz" "png"))) Which gave a funky output that I fortunately found. At least in macros, links should not be formatted IMO. —Rasmus -- However beautiful the theory, you should occasionally look at the evidence