From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: [Babel] Arguments... Date: Fri, 05 Nov 2010 17:50:48 +0100 Message-ID: <804obvyas7.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, Two small questions, with that minimal example: #+begin_src org ,* Database , ,** Back up the database , ,Create a backup file of the existing database: , ,#+srcname: backup-db(dbName, dbBackupFile) ,#+begin_src sql ,BACKUP DATABASE dbName TO DISK =3D 'dbBackupFile' ,go ,#+end_src , ,** Back up the database , ,Create a backup file of the existing database: , ,#+srcname: backup-db :var dbName :var dbBackupFile ,#+begin_src sql ,BACKUP DATABASE dbName TO DISK =3D 'dbBackupFile' ,go ,#+end_src #+end_src 1. I read on http://orgmode.org/manual/var.html that the second way to pass arguments is "more natural". Though, "nobody" "never" uses it in all the examples published on this ML. Why? Are there still subtle differences, = or could such come in the future that would make one choose one over the other? 2. In both cases, the variables are not exported to HTML (and LaTeX?), maki= ng the readability of such a documented code a bit difficult. Feature or bu= g? Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode