When a buffer contains such #+MACRO: m src_emacs-lisp[:results raw]{(do-something "$1")}
macro template, calling =org-babel-execute-buffer= using =C-c C-v C-b= yields if: No id found: $1 It seems to me that Babel shouldn't be looking for inline code within macro templates. Cheers, -- Nicolas