On 12/20/06, Romain Francoise <[EMAIL PROTECTED]> wrote:
emacs-lock.el seems like a poor man's protbuf.el.
Some shortcomings (most, but not all, fixed in protbuf.el):
- Locking a buffer should be a minor mode.
- There's no emacs-lock entry in minor-mode-alist, so there's no
visual clue in the modeline that a buffer is locked.
- You cannot make it be silent; trying the "locked" action always
triggers an error.
- It uses heuristics for shell and telnet buffers, instead of having
a specific mode for process buffers.
- It uses kill-emacs-hook when kill-emacs-query-functions would be
more logical (and presumably more efficient).
- It has two conceptual flags: don't kill buffer, and don't exit
Emacs, but conflated in a single interface.
- It's documentation is so-so.
/L/e/k/t/u
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug