Hi Eli, Eli Zaretskii writes: >> From: Eshel Yaron >> Cc: michael_heerdegen@web.de, Eli Zaretskii , >> stefankangas@gmail.com, monnier@iro.umontreal.ca, 66394@debbugs.gnu.org >> Date: Sun, 03 Dec 2023 19:29:19 +0100 >> >> > otherwise it is easy to revert completely my commits (it is the >> > development branch of emacs after all). >> >> Seeing as you are not willing to make this change backward compatible, I >> think that would make sense. I don't have commit rights to emacs.git, >> so I can't do that myself, though. > > Thierry also said: > >> > So it'd be great to have the previous behavior available in Emacs 30. >> >> Sorry but I wont write this, it is not complicated to write but needs >> works and attention and I spent enough time on this. > > So maybe a better way forward is for someone, perhaps you Eshel, to > add whatever is needed to provide optionally the previous behavior? > > Would you like to work on that? Sure. I'm attaching two patches, the first reverts to the previous implementation, and the second adds optional (on by default) confirmation and highlighting in the *Register Preview* buffer when you are about to overwrite the contents of a register. The idea is to provide the nice of enhancements from Thierry's patch via more minimal changes, without switching to a minibuffer based approach, and without breaking any existing behavior.