I'm merging your changes in my archive, and reading the diff, I can find ;;; Even if we define a face in a buffer, it seems that ;;; font-lock mode just ignore it or remove the face property. ;;; I don't know the detail but in tla-inventory buffer, ;;; I cannot make both font-lock keywords and faces put by ;;; tl--face-add ;;; highlight at once. When font-lock-face is defined, I can do. ;;; See "Special Properties" subsection in the emacs lisp reference ;;; manual. ;;; `font-lock-face' property is new in Emacs 21.4. However, I guess ;;; there is ;;; no wrong side effect if I define font-lock-face property here.
for tla-inventory, I think the solution is just not to use font-lock-mode in this buffer. font-lock-mode is a regexp-based fontification that should be used for programming languages modes (where you can't do otherwise). For a dedicated buffer such as the inventory, I think there's no use for it. add-text-properties should be sufficient. -- Matthieu
