From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: Problem with template expansion of previous prompts. Date: Thu, 06 Dec 2012 18:34:32 -0500 Message-ID: <877gouu54n.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgkxl-0002E6-Mr for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 18:34:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tgkxj-0007lg-7B for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 18:34:41 -0500 Received: from mail-qa0-f48.google.com ([209.85.216.48]:42138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgkxi-0007lb-W0 for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 18:34:39 -0500 Received: by mail-qa0-f48.google.com with SMTP id l8so10096qaq.0 for ; Thu, 06 Dec 2012 15:34:37 -0800 (PST) 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: Michael Baum , emacs-orgmode You need to escape the backslash inside the string, I think. "\1" is interpreted as a string consisting of one character, the ASCII character with hex code 0x01, which happens to be C-a. "\\1" is a 2-character string: backslash, then one. -- Aaron Ecay