Based on a nice comment from @Drew on this previous question, I tried to use the command
highlight-compare-buffers (although he did not mention exactly this comment).
My first attempt was actually using ediff. But that attempt failed because I would need to ask for help which is bound to
? and I am having a hard time with
? on an American keyboard with Brazilian Portuguese input (see the previous question).
Since buffers and files can be different things and since the command explicitly mentions buffers on the name (instead of files), I was surprised that I only managed to make it work after saving the two buffers as files...
Emacs kept asking:
Save buffer tweaked? (y or n) n
Can’t find file: ~/projects/balance/src/app/components/report-total-view-maker-tb
Until the point that I hit
Is there something that I could have done to trigger this behavior?
Is it really necessary to save the new buffer as a file?
I would rather keep them just as buffers... This is a handy command that I haven't been using!