-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[BUG] Tool bar, menu bar and scroll bar are not disabled in emacs 27 (macOS) #2354
Comments
Is it possible that you installed a version of Emacs 27 before it early-init.el was implemented? These lines are disabled in Emacs 27 because they're redundant with the work done in early-init.el. |
I don't think so. I installed Emasc 27 with brew install emacs-plus --with-emacs-27-branch --HEAD --with-jansson --with-modern-icon and the resulting Emacs is built using commit Also note that the documentation of early init file says that
|
I understand that. The purpose of those settings were to set them early enough that Emacs won't initialize them when they eventually load. I don't have a mac to test on atm. I'll investigate when I get a chance. |
I can't reproduce this. I loaded up two VMs, one in Mojave, one in Catalina. I installed Emacs with:
Emacs opened with the menu bar, tool bar and scroll bars disabled, as intended. |
@hlissner you're right. After investigation I found out that the bars were not disabled because I was using [1] https://emacs.stackexchange.com/questions/941/emacs-and-os-x-menu-bar |
Just in case anyone else finds this like I did: Chemacs 2 solves the issue as it has support for early_init.el. Works very nicely with Doom. |
What did you expect to happen?
Tool bar, menu bar and scroll bar are disabled.
What actually happened?
Tool bar, menu bar and scroll bar are not disabled.
Additional details:
According to the documentation of variable
tool-bar-mode
,So I changed
to
However, it still doesn't work until I move the code from
early-init.el
toinit.el
. (Using thesetq
method ininit.el
doesn't work.)Similarly, I removed
in
early-init.el
and add
in
init.el
.Finally, I moved
from
early-init.el
toinit.el
to remove the scroll bar.System information:
The text was updated successfully, but these errors were encountered: