[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/toc-org 5ce7c24920 096/128: handle paranthesis in #+TODO l
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/toc-org 5ce7c24920 096/128: handle paranthesis in #+TODO line (fixes #65) |
Date: |
Sun, 2 Jan 2022 09:59:12 -0500 (EST) |
branch: elpa/toc-org
commit 5ce7c249207b617c72febb27dbad7076342c1afd
Author: Sergei Nosov <sergei.nosov@gmail.com>
Commit: Sergei Nosov <sergei.nosov@gmail.com>
handle paranthesis in #+TODO line (fixes #65)
---
toc-org.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/toc-org.el b/toc-org.el
index ce1cf322aa..4c52f234b0 100644
--- a/toc-org.el
+++ b/toc-org.el
@@ -127,7 +127,10 @@ auxiliary text."
(setq custom-keywords (append custom-keywords (split-string
(match-string 2) "[ \f\t\n\r\v|]+" t))))
(if custom-keywords
(setq toc-org-states-regexp
- (concat "^*+\s+\\(" (mapconcat 'identity custom-keywords
"\s+\\|") "\s+\\)"))
+ (concat "^*+\s+\\("
+ (mapconcat (lambda (x) (replace-regexp-in-string
"(.+?)" "" x))
+ custom-keywords "\s+\\|")
+ "\s+\\)"))
(setq toc-org-states-regexp "^*+\s+\\(TODO\s+\\|DONE\s+\\)"))
;; keep only lines starting with *s
- [nongnu] elpa/toc-org 658c03111b 017/128: add some more tests and fix wording, (continued)
- [nongnu] elpa/toc-org 658c03111b 017/128: add some more tests and fix wording, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org d3677cd8c8 022/128: make compile-command run the tests, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 0dee7197c8 026/128: fix byte-compilation check, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 242eecba19 034/128: add a note about previous name, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 90894242a6 046/128: treat org-list-indent-offset properly, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 4c0b28da59 037/128: add more tags for easier search, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org e38e81af3f 088/128: Merge pull request #57 from JAremko/master, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org cda8f73640 073/128: Merge pull request #37 from snosov1/handle-comment, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org ee70dd23e1 104/128: resolve missing functions warnings, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org d52f95fae8 105/128: Handle trailing #'s, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 5ce7c24920 096/128: handle paranthesis in #+TODO line (fixes #65),
ELPA Syncer <=
- [nongnu] elpa/toc-org b1bab4c078 072/128: handle nil that is sometimes returned by (current-word), ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 9efeec690c 111/128: Remove the "backup" variable, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org ff8d49c2c7 113/128: Merge pull request #69 from htsr/comment-stripping, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 95a558b362 099/128: add tests for markdown-style syntax, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org e33e4cc00a 084/128: Merge pull request #50 from snosov1/handle-custom-keywords, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 7291a3b08d 100/128: Enable link following in markdown mode, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org f455bd4c88 103/128: Call batch compile before running the tests, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 8321d3c76b 120/128: Revert "Respect the file-local value of org-list-indent-offset.", ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 6eca67f9a8 127/128: Merge pull request #83 from skangas/silence-byte-compiler, ELPA Syncer, 2022/01/02
- [nongnu] elpa/toc-org 328d34144f 124/128: Bump version to 1.1, ELPA Syncer, 2022/01/02