summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2008-02-03 08:57:52 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2008-02-03 08:57:52 +0100
commitbc69ea13dd0175bce6d90a3bf501ffc7a4f49d42 (patch)
tree0b0be73e2c083d3cd321e4cb88639256f6a12289
parent17c070e603acc207d8a8165ab17167bacd00e92b (diff)
downloadorg-mode-bc69ea13dd0175bce6d90a3bf501ffc7a4f49d42.tar.gz
Fixed problem with tags completion in remember tags, as reported by Austin.
-rw-r--r--ChangeLog2
-rw-r--r--org.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 86f3497..a4acaa7 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 <dominik@science.uva.nl>
diff --git a/org.el b/org.el
index 35de41e..33ddfc2 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 ":"))