News for hackers. Stuff that matters.
Re:Pen, a GPL Copilot for Emacs by fulafel on Friday July 02, 2021 @02:03PM (#27714694)
It's something but it's ephemeral and not shareable. You can't reconstruct how a piece of code got written weeks later, to eg recover some debug helpers you deleted without committing because you thought you were done with debugging it.

But thanks for the tip about Emacs undo tree, didn't know about that. With some add-ons you can apparently eg find undoable changes for only some region of a buffer, etc.

Re:Pen, a GPL Copilot for Emacs by karthink on Friday July 02, 2021 @08:32PM (#27718382)
> With some add-ons you can apparently eg find undoable changes for only some region of a buffer, etc.

This is built into Emacs (no add-ons needed). Calling undo with a region selected undoes changes only in that region.

Re:Pen, a GPL Copilot for Emacs by mssdvd on Friday July 02, 2021 @06:36PM (#27717748)
You can also setup undo-tree to show a diff for every change.