From bc69ea13dd0175bce6d90a3bf501ffc7a4f49d42 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sun, 3 Feb 2008 08:57:52 +0100 Subject: [PATCH] Fixed problem with tags completion in remember tags, as reported by Austin. --- ChangeLog | 2 ++ org.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 86f3497b8..a4acaa7c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * org.el (org-agenda-get-deadlines): Make sure priorities increase as the due date approaches and is passed. + (org-remember-apply-template): Fixed problem with tags that + contain "_" or "@". 2008-02-01 Carsten Dominik diff --git a/org.el b/org.el index 35de41e84..33ddfc204 100644 --- a/org.el +++ b/org.el @@ -13522,7 +13522,7 @@ to be run from that hook to function properly." 'org-tags-completion-function nil nil nil 'org-tags-history))) (setq ins (mapconcat 'identity - (org-split-string ins (org-re "[^[:alnum:]]+")) + (org-split-string ins (org-re "[^[:alnum:]_@]+")) ":")) (when (string-match "\\S-" ins) (or (equal (char-before) ?:) (insert ":"))