Hello, On Mon 30 Sep 2024 at 09:10pm +08, Sean Whitton wrote: > Hello, > > On Mon 30 Sep 2024 at 01:11pm +03, Dmitry Gutov wrote: > >> Just these two points: >> >> - add a command which does the kill-all-but-this-hunk (or hunks in >> region if mark active) thing -- it's generally useful. >> >> - make C-x v v on a narrowed buffer, by default, issue a message saying >> "Cannot commit patch when narrowed, consider " > > Okay, what do you think to the attached? Slightly simplified v2 attached -- uses mapconcat instead of (apply #'user-error ...). -- Sean Whitton