On Emacs 27.2 with emacs -q, calling calc-edit (bound to the ` key by default) with an element on the calc stack will bring up the *Calc Edit* buffer in place of the original calc buffer. When you're done editing the element, you can do C-c C-c to dismiss the *Calc Edit* buffer and the original calc buffer will now have your edited element on the stack.

However, on a version of Emacs I built off the emacs-28 branch about a week ago, also with emacs -q, calling calc-edit will instead bring up the *Calc Edit* buffer in a separate window, while the original calc buffer is still visible. Then, after editing the element and doing C-c C-c, the window layout becomes messed up: the original calc buffer remains at the bottom, but now there's another calc buffer and *Calc Trail* buffer in the place of where the *Calc Edit* buffer was. I attached an image to show what this layout looks like.

Since this happens with emacs -q, it seems like it could be a bug, but searching around online doesn't show anyone else bringing it up, so maybe it's either a recent bug, or could it just be me? Can anyone confirm this behavior?

This is all on macOS, by the way.

https://preview.redd.it/pm14mfu5bv081.png?width=2606&format=png&auto=webp&s=f22d20d275a62dce7bc268a58acb98fd2deec086

submitted by /u/Comfortable-Bit3236
[link] [comments]