syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.71k stars 4.9k forks source link

`recenter-top-bottom` should run after Spacemacs package updates to make Spacemacs home buffer display correctly #16602

Open bryce-carson opened 2 months ago

bryce-carson commented 2 months ago

I haven't updated my spacemacs clone or packages in a long time (though I use it every day!). With these updated, I remembered an issue that occurs.

When you update your packages the home buffer will be printed on and then it will be cleared and remade and all sorts of goings on. In the end, the bottom of the buffer is displayed at the top of the screen and the buffer appears empty (but isn't).

This can be fixed with one or two calls to recenter-top-bottom or moving point to the beginning of the buffer (more appropriately) at the end of a package update.

Screenshot at 2024-09-27 00-05-20

bryce-carson commented 2 months ago

Further, I once had a commit in some ephemeral branch that gutted the code related to the displayed message in the echo area. I won't bother exhuming it, but I can write it again and open a PR for that. I don't know if I'll get to it, but I'm not too busy these days so I might.