joostkremers / writeroom-mode

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

Size of the window when writeroom disable #7

Closed samspo closed 8 years ago

samspo commented 10 years ago

When I disable writeroom, the window doesn't come back at it inital size. It remains almost as large as the screen. (Version: 20140325.1833)

joostkremers commented 10 years ago

I noticed the same thing, but strangely enough it only happens with emacs -Q... If I start Emacs normally, enabling and disabling writeroom-mode restores the original size of the window.

I'll look into it, see if I can figure out why the size and position aren't restored. Can't guarantee anything, though...

BrianZbr commented 9 years ago

I also have this problem sometimes. At first I thought it has something to do with opening and closing windows within Emacs while in writeroom-mode. But no matter what I do, I cannot seem to reproduce it in any predictable way.

joostkremers commented 8 years ago

I haven't been able to find any cause for this bug. The current development version of Emacs has a number of changes regarding window and frame handling, so I'll close this issue for now. If it turns out that the next Emacs release still has the problem, I can do some more digging.