From mboxrd@z Thu Jan 1 00:00:00 1970 From: david.buckle@comcast.net Subject: org-mode 4.64 remember templates Date: Wed, 07 Feb 2007 19:11:57 +0000 Message-ID: <020720071911.17315.45CA247D0008DD39000043A322007623020A04050C9A0DD20B07900E0B@comcast.net> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HEsD6-0004DF-52 for emacs-orgmode@gnu.org; Wed, 07 Feb 2007 14:12:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HEsD4-0004D3-L0 for emacs-orgmode@gnu.org; Wed, 07 Feb 2007 14:12:03 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HEsD4-0004D0-FG for emacs-orgmode@gnu.org; Wed, 07 Feb 2007 14:12:02 -0500 Received: from sccrmhc13.comcast.net ([204.127.200.83]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HEsD4-0004Mc-84 for emacs-orgmode@gnu.org; Wed, 07 Feb 2007 14:12:02 -0500 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@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org The %U escape appears to be ignored in remember templates (this problem has been there for at least the last 4 releases). Here's a diff of my change to fix the problem: --- org.el 2007-02-07 14:04:13.513795200 -0500 +++ org.el.orig 2007-02-07 14:04:59.590049600 -0500 @@ -10047,7 +10047,7 @@ (or headline "")))) (insert tpl) (goto-char (point-min)) ;; Simple %-escapes - (while (re-search-forward "%\\([tTuUai]\\)" nil t) + (while (re-search-forward "%\\([tTuTai]\\)" nil t) (when (and initial (equal (match-string 0) "%i")) (save-match-data (let* ((lead (buffer-substring