Darren Stuart Embry ([info]dse) wrote,

hide-mode-line.el: it's like WriteRoom in Emacs.

You know that flash-in-the-pan text editor WriteRoom?

Some advocates of Emacs will say "just run emacs in a full-screen" or something along those lines, but I find sometimes that the mode-line is still a distraction.

So I'm working on an implementation of distraction removal in Emacs for two reasons: (1) I think the concept has merit and (2) I don't like the idea of someone writing a whole new text editor just so they can have a certain feature. :)

My rough implementation is available for download.

Incase you want to know what emacs looks like without a modeline:

Holy crap, emacs without a modeline!

Basically, this implementation automatically hides the modeline when all of the following conditions apply:
- hide-mode-line is turned on
- there is only one frame
- there is only one window in that frame
- there is no minibuffer
and automatically shows all buffers' modelines otherwise.

This implementation does have bugs, you know: I intermittently have problems with text disappearing. Those problems might be related to the more frequent ones I have when I do (setq mode-line-format nil) (or use hide-mode-line) in conjunction with linum.
Tags: distraction removal, distraction-free, elisp, emacs, emacs lisp, hide mode line, writeroom

  • Post a new comment

    Error

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments

[info]arnebab

January 22 2011, 01:14:24 UTC 1 year ago

Your mode sounds really cool! May I use it (and modify and such) under GPLv3 or later, too?

I want to avoid license incompatibilities in my emacs setup to be able to share it :)

[info]dsevil

March 8 2011, 19:09:06 UTC 1 year ago

Sorry I didn't answer sooner.
Comments in the .el file say "Consider it GPL2-licensed."
Meaning, the answer to your question is yes.
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…