extracted stuff that reacts to buffer changes
insert blank after TODO or NEXT