From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Vollmar Subject: org-babel: two confirmations for org/HTML "macro"? Date: Thu, 28 Mar 2013 10:35:45 +0100 Message-ID: <890A187B-1139-49F9-AF3C-581B5DA49BED@nf.mpg.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Apple-Mail-91--390910592; protocol="application/pkcs7-signature"; micalg=sha1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL9FS-0004vA-2z for emacs-orgmode@gnu.org; Thu, 28 Mar 2013 05:35:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UL9FM-0005y9-QZ for emacs-orgmode@gnu.org; Thu, 28 Mar 2013 05:35:53 -0400 Received: from mail.nf.mpg.de ([134.107.209.50]:51341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UL9FM-0005xu-87 for emacs-orgmode@gnu.org; Thu, 28 Mar 2013 05:35:48 -0400 Received: from [192.168.0.18] by mail.nf.mpg.de (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTPSA id <0MKD0007C6NLI400@mail.nf.mpg.de> for emacs-orgmode@gnu.org; Thu, 28 Mar 2013 10:35:46 +0100 (MET) 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: Org Mode Mailing List --Apple-Mail-91--390910592 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hallo, we currently use MACROs for adding http://microformats.org/wiki/hcard = information to web pages we create from org sources. As these MACROs = have 12+ arguments, this is an error prone and inelegant way of getting = the desired result. Nicolas Goaziou suggested using a babel approach so = we could have named arguments - obviously, this is a much better = solution (thanks again, Nicolas!). Here is a minimal example of the principle: -- snip #+name: html-ex1=20 #+header: :var who=3D"World" #+BEGIN_SRC org :exports none

Hallo $who

#+END_SRC * Simple HTML export #+call: html-ex1(who=3D"Stefan") :results html -- snip When exporting this code (new exporter), I need two confirmations: Evaluate this org code block (html-ex1)... Evaluate this emacs-lisp block... I can understand the first question, but why the second? What is the best way to safely "auto-confirm" for this simple = application? Many thanks in advance. Warm regards, Stefan --=20 Dr. Stefan Vollmar, Dipl.-Phys. Head of IT group Max-Planck-Institut f=FCr neurologische Forschung Gleueler Str. 50, 50931 K=F6ln, Germany Tel.: +49-221-4726-213 FAX +49-221-4726-298 Tel.: +49-221-478-5713 Mobile: 0160-93874279 E-Mail: vollmar@nf.mpg.de http://www.nf.mpg.de --Apple-Mail-91--390910592 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIOHTCCBCEw ggMJoAMCAQICAgDHMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0 c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQD ExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw0wNjEyMTkxMDI5MDBaFw0xOTA2MzAyMzU5 MDBaMFoxCzAJBgNVBAYTAkRFMRMwEQYDVQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJ MSQwIgYDVQQDExtERk4tVmVyZWluIFBDQSBHbG9iYWwgLSBHMDEwggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQDpm8NnhfkNrvWNVMOWUDU9YuluTO2U1wBblSJ01CDrNI/W7MAxBAuZgeKm FNJSoCgjhIt0iQReW+DieMF4yxbLKDU5ey2QRdDtoAB6fL9KD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