On Mon, Feb 04, 2013 at 07:03:01PM -0500, 42 147 wrote:
>
> It would be nice to keep things in the org-style (e.g., :favorite song: is
> preferable to "<--- favorite song," just on rudimentary aesthetic grounds.
I often put in my own cookies inside floawing text. For example, I
label doubts in my notes with a "(?)". In the example below, I have a
doubt about comment 2.
Some statement
- Comment 1
- Comment 2 (?)
Then I can easily look for it with occur or grep from the commandline.
If you want fontification for cookies like above, you can try something
like this (untested):
;; font-lock customisations
(defface my-global-tag-face
'((t (:background "royalblue4" :foreground "thistle" :weight bold)))
"Face for the global tags."
:group 'my-faces)
(add-hook 'find-file-hook
(lambda ()
(font-lock-add-keywords
nil '(("\\<[ (]\\([a-zA-Z0-9]\\+\\)[) ]\\>"
1 'my-global-tag-face prepend)))))
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.