-
Notifications
You must be signed in to change notification settings - Fork 12
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
remove menu bar and switch to fullscreen as well #2
Conversation
this remembers the previous menu bar setting, but not the full screen setting. we therefore assume full screen mode is always off before turning on darkroom, which may be inaccurate. we do our best with fullscreen, yet it doesn't always seem to be enough, see: http://www.emacswiki.org/emacs/FullScreen ... for more information. it may also be useful to consider more frame parameters, see: https://www.gnu.org/software/emacs/manual/html_node/elisp/Management-Parameters.html#Management-Parameters for more ideas. "sticky" strikes me as a possibly good idea.
First of all, thanks for bringing this in as a pull reuqest. I see you had already sent me a mail, but it slipped through my inbox. Sorry about that. I'll have a look. |
thanks, and no trouble for the delay. this is not the same patch as what i sent by email, which had weird issues and didn't remember menubar settings. |
ping? |
I don't know... (1) even if you save the initial state of those variables, aren't there cases where you don't to remove those two particular distractions? (2) Most importantly, the things you are plotting to hide are frame-specific things, not buffer-specific things. So one buffer in Because of this, I would add a |
well, maybe a different mode would be in order, but to respect POLA, i think frames and menus should be dealt with. It's a major distraction... |
I agree fully: I have my emacs fullscreened and menu-bar-less most of the time. I use But another question is what should |
i was hoping to have darkroom as an all-in-one solution, without forcing users to fiddle too much with their |
OK, but have you tried seeing the implications of the code you are proposing? In the current version a buffer can be in
Then write |
in rnkn/olivetti#6, i was pointed towards https://github.com/joostkremers/writeroom-mode which answers this requirement. thanks for the responses! |
I take the opportunity to restate, from the rnkn/olivetti#6 discussion, that @rnkn made the same points I did here. I believe you will run into problems when you want some buffers in writeroom-mode and others not in writeroom-mode. Best of luck anyway. |
this remembers the previous menu bar setting, but not the full screen
setting.
we therefore assume full screen mode is always off before turning on
darkroom, which may be inaccurate.
we do our best with fullscreen, yet it doesn't always seem to be enough, see:
http://www.emacswiki.org/emacs/FullScreen
... for more information. it may also be useful to consider more frame
parameters, see:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Management-Parameters.html#Management-Parameters
for more ideas. "sticky" strikes me as a possibly good idea.
note that I already sent a similar patch by email before finding this git repository.