I want to trap changes in the value of 'modified'  (execute
my  commands when first change is done to the
buffer, and when undo reverts buffer to unmodified state).
How can I achieve this ?

Note that this is not necessarity connected to Insert mode.
Buffer can easily become modified without entering insert mode.

Yakov

Reply via email to