* [ORG MODE] Tiny patch
@ 2006-02-15 22:30 Xavier Maillard
0 siblings, 0 replies; only message in thread
From: Xavier Maillard @ 2006-02-15 22:30 UTC (permalink / raw)
Cc: bug-gnu-emacs
Hello,
Here you can find a very tiny patch that allow one to have '@' character as a
candidate for tags in org-mode.
As I use those tags, I found it particulary useful to add support for them.
Here it is:
===File /tmp/org.el.diff====================================
--- org.el.orig 2006-02-15 23:17:37.000000000 +0100
+++ org.el 2006-02-15 23:18:34.000000000 +0100
@@ -6298,7 +6298,7 @@
(mapconcat 'regexp-quote
(nreverse (cdr (reverse org-todo-keywords)))
"\\|")
- "\\>\\)\\)? *\\(.*?\\)\\(:[A-Za-z_:]+:\\)?[ \t]*[\n\r]"))
+ "\\>\\)\\)? *\\(.*?\\)\\(:[A-Za-z_@:]+:\\)?[ \t]*[\n\r]"))
(props (list 'face nil
'done-face 'org-done
'undone-face nil
@@ -6386,7 +6386,7 @@
(let ((match0 match) minus tag mm matcher orterms term orlist)
(setq orterms (org-split-string match "|"))
(while (setq term (pop orterms))
- (while (string-match "^&?\\([-+:]\\)?\\([A-Za-z_]+\\)" term)
+ (while (string-match "^&?\\([-+:]\\)?\\([A-Za-z_@]+\\)" term)
(setq minus (and (match-end 1)
(equal (match-string 1 term) "-"))
tag (match-string 2 term)
============================================================
And something that looks like a changelog entry:
2006-02-15 Xavier Maillard <zedek@gnu.org>
* org.el (org-scan-tags, org-make-tags-matcher): Add '@' character as part
of an Org tag.
Regard,
Xavier Maillard
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-15 22:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15 22:30 [ORG MODE] Tiny patch Xavier Maillard
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.