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

Problems with minibuffer when modeline is disbled #56

Closed
samarthkulshrestha opened this issue Feb 17, 2021 · 2 comments
Closed

Problems with minibuffer when modeline is disbled #56

samarthkulshrestha opened this issue Feb 17, 2021 · 2 comments

Comments

@samarthkulshrestha
Copy link

Hey!
I'm actually not that new to emacs, but I used to use doom emacs, but now I'm trying to configure vanilla emacs. I thought starting out with nano-emacs would be great because it matches my taste, and till now, I'm LOVING nano-emacs.

I have one problem though:
I saw that you are disabling menu-bar-mode conditionally (I don't know much elisp, so forgive me if I use programming terms unrelated to elisp but to other languages). But that does not disable the menu bar for me, even though I'm not using OSX (you mentioned it in the comment). If I remove

;; No menu bar
(if (display-graphic-p)
    (menu-bar-mode t) ;; When nil, focus problem on OSX
  (menu-bar-mode -1))

and replace it with just
(menu-bar-mode -1) , the minibuffer doesn't show up when I start emacs, or sometimes it shows up lower than expected, with half the line cut off, and the line above the text not visible.
2021-02-17-@10-26-29-scrot

It only shows up after some message is displayed in the minibuffer, for example, when type :w <RET> (I use evil mode) on a scratch buffer and the modeline says Please specify a file name for the buffer.
2021-02-17-@10-41-10-scrot

Any help is appreciated,
Thanks.

@samarthkulshrestha
Copy link
Author

samarthkulshrestha commented Feb 17, 2021

Uhh, actually I figured it out. I'm sorry it wasn't an issue with nano-emacs, it was just because I use a tiling wm, and it was forcing the window to a specific size. Now I've set it to floating mode, and it's okay now.

I'm sorry for the inconvenience.

@rougier
Copy link
Owner

rougier commented Feb 17, 2021

Thanks for the report, it might be useful for others. And the "weird" test to disable menu-bar comes from a flickering issue on OSX. I found this fix somewhere but I don't remember where...

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

2 participants