Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minibuffer sometimes fails to show with emacs 28 #61

Open
sm2n opened this issue May 25, 2022 · 0 comments
Open

minibuffer sometimes fails to show with emacs 28 #61

sm2n opened this issue May 25, 2022 · 0 comments

Comments

@sm2n
Copy link
Contributor

sm2n commented May 25, 2022

Sometimes, mini-modeline seems to fail to show multiline things in the minibuffer. It seems to happen occasionally, I haven't been able to reproduce it deterministically, though it's often enough to disrupt my workflow and causes me to turn mini-modeline-mode off sometimes.

The behavior is the following:

  1. Try to display a persistent message in the minibuffer that needs at least an extra line of space (say, by putting point on an identifier with eldoc)
  2. Usually, it works fine and the modeline moves up. But sometimes, it will briefly flash, and then the stuff that is supposed to be in the minibuffer is just gone entirely. Generally after it happens once, it'll keep happening until you disable/reenable mini-modeline-mode

I spent some time trying to track down the bug in the mini-modeline code, but could not find the culprit. The resizing code seems to try to do the right thing, at least in mini-modeline-display. I tested it by printing out what it was doing in a buggy session.

So, I'm starting to suspect it is a bug in emacs, because I didn't have this issue with emacs 27, and mini-modeline-mode doesn't seem to have changed. But I'm not sure where to look from here.

Here's my relevant emacs config:

(use-package mini-modeline
  :delight
  :config
  (setq mini-modeline-enhance-visual nil
	mini-modeline-truncate-p nil
	mini-modeline-echo-duration 1)
  (mini-modeline-mode 1))

M-x emacs-version

GNU Emacs 28.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-09

mini-modeline-version 434b98b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant