Prev / Next

2005-12-27 / tagging.el

http://www.lisperati.com/tagging.html

*タグ(スペース区切り)
内容


を 1 アイテムとして,タグで絞り込みができる elisp.
major-mode と minor-mode どちらでも使え,outline-mode のように
絞り込んだ状態で編集可能.

*todo groceries
milk, soup, coffee
*todo chores
laundry
wash car
vacuuming
*todo groceries pets
dog food, vitamins
*chores pets this_week
grooming on friday
343 N 2nd Street Store


というテキストを pet で絞り込むと次のように表示される.

*todo groceries pets
dog food, vitamins
*chores pets this_week
grooming on friday
343 N 2nd Street Store


key bind
- C-c C-s: 検索タグの設定・追加
- C-c C-d: 検索タグの削除
- C-c C-a: 全て表示

タグの行を示す "*" は tagging-tagline-indicator で変えられる.

この ChangeLog memo は clmemo で書いて chalow で変換しているので,

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


として,

	* tagging.el [Emacs][tag] {{com(' emacs ')}}:
	http://www.lisperati.com/tagging.html


のように,アイテムヘッダ内にコメントでタグを付ければ,
アイテム単位での絞り込みが可能.

(追記)
上のやり方ではカテゴリが無効になってしまうので,

	* tagging.el {{com(' emacs ')}} [Emacs][tag]:
	http://www.lisperati.com/tagging.html


か,

	* tagging.el [Emacs][tag]: {{com(' emacs ')}}
	http://www.lisperati.com/tagging.html


Referrer (Inside):
[2005-12-27-5] tagging.el を ChangeLog memo で使う
comments powered by Disqus