Ver código fonte

Fixed problem with tags completion in remember tags, as reported by Austin.

Carsten Dominik 17 anos atrás
pai
commit
bc69ea13dd
2 arquivos alterados com 3 adições e 1 exclusões
  1. 2 0
      ChangeLog
  2. 1 1
      org.el

+ 2 - 0
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>
 

+ 1 - 1
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 ":"))