Skip to content
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

First call doesn't set margins correctly #2

Closed
ewstearns opened this issue Jul 12, 2013 · 4 comments
Closed

First call doesn't set margins correctly #2

ewstearns opened this issue Jul 12, 2013 · 4 comments

Comments

@ewstearns
Copy link

I'm using a recent pull of the the development branch with homebrew. (version: GNU Emacs 24.3.50.1 (i386-apple-darwin11.4.2, NS apple-appkit-1138.51) of 2013-07-12 on xxx). I also got the same result on the release 24.3. I pulled writeroom-mode from melpa. I have customized writeroom-width to 100, but leaving this at default seem to make a difference for my problem.

For the first buffer where I call writeroom-mode, the full screen opens correctly, but the margins are not set correctly. It appears that window-body-width returns the pre-fullscreen size instead of the post-fullscreen size. Calling writeroom-mode on another buffer sets the margins correctly.

@joostkremers
Copy link
Owner

Fullscreen Emacs is problematic on OS X (although ISTR that this is being worked at), so I generally disable it myself. I suspect that this is more of an Emacs problem than a problem with writeroom-mode, but unfortunately, I don't have the time right now to look into it more thoroughly. It'll be a few weeks (mid-August at the earliest) before I can do that.

Fullscreen seems to be better with the emacs-mac-port at https://github.com/railwaycat/emacs-mac-port, so perhaps you want to give that a try.

I'll get back to this issue as soon as I have the time.

@joostkremers
Copy link
Owner

Is this still an issue? I made some changes to writeroom-mode recently that also affect fullscreen, so I was wondering. Can't really test it myself since I don't have easy access to a Mac ATM.

@ewstearns
Copy link
Author

Yes, this seems to work better in my mac os x environment.

On Mon, Mar 24, 2014 at 5:20 PM, Joost Kremers notifications@github.comwrote:

Is this still an issue? I made some changes to writeroom-mode recently
that also affect fullscreen, so I was wondering. Can't really test it
myself since I don't have easy access to a Mac ATM.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-38502687
.

@joostkremers
Copy link
Owner

Ok, I'll close the issue then. Let me know if you run into problems again and I'll see what I can do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants