joostkremers / writeroom-mode

Writeroom-mode: distraction-free writing for Emacs.
BSD 3-Clause "New" or "Revised" License
605 stars 28 forks source link

No window-body-width Exception for use in Terminal. #3

Closed fidiego closed 10 years ago

fidiego commented 10 years ago

I'm trying to use this in the terminal ($ emacs -nw) but the script is not built to handle the scenario. I've forked it to try to write a version that does, but I am not fluent in lisp yet.

joostkremers commented 10 years ago

How exactly does it fail? Do you get an error message? I can use writeroom-mode with emacs -nw without any problems.

fidiego commented 10 years ago

It was throwing an error that said window-body-width rule was failing but it's been resolved. I think the terminal I was using hadn't been updated since I had recently installed emacs 24.3. One thing I did notice was that the menu barhttps://www.dropbox.com/s/b1r7776nkz32h74/Screenshot%202014-01-29%2016.09.46.pngremains.

On Wed, Jan 29, 2014 at 3:39 PM, Joost Kremers notifications@github.comwrote:

How exactly does it fail? Do you get an error message? I can use writeroom-mode with emacs -nw without any problems.

Reply to this email directly or view it on GitHubhttps://github.com/joostkremers/writeroom-mode/issues/3#issuecomment-33628091 .

Indiana University | Class of 2014 B.S. Cognitive Science | B.A. Computer Science Hudson and Holland Scholar | Lugar Scholar Percepts and Concepts Lab cognitivereflex@gmail.com 812.391.9994

joostkremers commented 10 years ago

That's because I completely forgot about the menu bar. I disable it in my init.el, so I never noticed that writeroom-mode doesn't turn it off.

I pushed an update that fixes this.

fidiego commented 10 years ago

Sweet, thanks.

On Wed, Jan 29, 2014 at 6:09 PM, Joost Kremers notifications@github.comwrote:

Closed #3 https://github.com/joostkremers/writeroom-mode/issues/3.

Reply to this email directly or view it on GitHubhttps://github.com/joostkremers/writeroom-mode/issues/3 .