Tags: patch We often need to replace a chunk of buffer text with something else. It is easy enough to do with `insert` + `delete-region`, but that has suboptimal behavior w.r.t markers, so rather than let coders reinvent a slightly-better replacement I propose we add a dedicated function for it. So I suggest the patch below. Comments? Objections? Stefan