> Any objections to the attached patched?
> Clearing the entire comint buffer is a pretty common functionality often
> added in modes based on comint and I'd like to see it built-in.
I haven't noticed it being added to derived modes, but it sounds like
useful functionality: I typically use M-x erase-buffer, but keeping this
loses the current input&prompt, so a dedicated command sounds better.
IOW: go ahead (as for the chosen key-binding, it sounds completely
arbitrary, but I don't have a better suggestion).
Stefan