From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony day Subject: Macro and babel Date: Wed, 19 Sep 2012 10:54:10 +1000 Message-ID: <4A8C5CE2-9159-49BB-A6F9-1FB8B8EAD154@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE8YU-0002OQ-2W for emacs-orgmode@gnu.org; Tue, 18 Sep 2012 20:54:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TE8YT-000748-3H for emacs-orgmode@gnu.org; Tue, 18 Sep 2012 20:54:18 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:60203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE8YS-00073o-TT for emacs-orgmode@gnu.org; Tue, 18 Sep 2012 20:54:17 -0400 Received: by pbbro12 with SMTP id ro12so1330617pbb.0 for ; Tue, 18 Sep 2012 17:54:15 -0700 (PDT) In-Reply-To: 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 I had written this: ,---- | #+MACRO: testdir ~/working | #+begin_src sh | cd {{{testdir}}} | #+end_src `---- Thinking it would do this: ,---- | #+begin_src sh | cd ~/working | #+end_src `---- Alas, #+Macro acts on export only. =20 Is there a quick way to effect general text substitution on C-c C-c? = That would be an awesome feature, basically adding macro capabilities to = every babelable language. Or am I missing something? Tony=