Prev / Next

2005-12-27 / tagging.el を ChangeLog memo で使う

ソースを見たら,簡単に書き換えられることがわかったので,
chalow のカテゴリで絞り込めるように変えてみた.

変更したのは次の 1 カ所だけ.

--- tagging.el.orig     2005-12-27 05:06:48.000000000 +0900
+++ tagging.el  2005-12-27 05:20:35.000000000 +0900
@@ -37,7 +37,7 @@
(progn
(beginning-of-line)
(mapc (lambda (tag)
-                   (when (let ((x (re-search-forward (concat tagging-tagline-indicator "\\(.* \\)?" (cdr tag) "\\( .*\\)?$") (point-at-eol) t)))
+                   (when (let ((x (re-search-forward (concat tagging-tagline-indicator "\\(.*\\[\\)?" (cdr tag) "\\(\\].*\\)?$") (point-at-eol) t)))
(or (and (car tag) (not x)) (and (not (car tag)) x)))
(setq fails t))
(beginning-of-line))


これで

(setq tagging-tagline-indicator "	\\* ")


とすれば,chalow のカテゴリで絞り込みができるようになる.

- tagging.el
- [2005-12-27-3]

Referrer (Inside):
[2006-01-18-11] clmemo-inline-date-insert の keybinding を変更
comments powered by Disqus