
Hello, First of all, thanks for the wonderfull 0.5 release! The automatic building of '~/.xmonad/xmonad.hs' is a very time saving feature! Al dough modmask-q doesn't work for me but I will save that for another thread. Now my problem. I'm recently doing some Epigram programming and you need xemacs for that. The problem is that when xmonad is setting the size of the xemacs window, the xemacs process goes to 100% CPU usage and the xemacs window begins to flicker a lot and is just unusable. What probably happens is that when xmonad is setting the window size, xemacs wants to set it back, then xmonad sets it back, then xemacs set it back, then xmonad... ad infinitum. A workaround that I'm currently using is to use the HintedTile layout instead of the Tall layout. This works wonderfully however when using other layouts, like Circle, the problem returns. Is there a way to tell xmonad that it should respect the hints from xemacs in _every_ layout? I think I can possibly use the 'manageHook' for this. The problem with this is that emacs and xemacs have the same className. Any pointers are appreciated. regards, Bas

On Wednesday 12 December 2007 07:59:57 Bas van Dijk wrote:
Hello,
First of all, thanks for the wonderfull 0.5 release! The automatic building of '~/.xmonad/xmonad.hs' is a very time saving feature! Al dough modmask-q doesn't work for me but I will save that for another thread.
Now my problem. I'm recently doing some Epigram programming and you need xemacs for that. The problem is that when xmonad is setting the size of the xemacs window, the xemacs process goes to 100% CPU usage and the xemacs window begins to flicker a lot and is just unusable. What probably happens is that when xmonad is setting the window size, xemacs wants to set it back, then xmonad sets it back, then xemacs set it back, then xmonad... ad infinitum.
A workaround that I'm currently using is to use the HintedTile layout instead of the Tall layout. This works wonderfully however when using other layouts, like Circle, the problem returns.
Is there a way to tell xmonad that it should respect the hints from xemacs in _every_ layout?
I think I can possibly use the 'manageHook' for this. The problem with this is that emacs and xemacs have the same className.
Any pointers are appreciated.
regards,
Bas
You can use XMonad.Layout.LayoutHints to transform any layout into a hint-respecting layout. Cheers, Spencer Janssen

On Dec 12, 2007 2:39 PM, Spencer Janssen
You can use XMonad.Layout.LayoutHints to transform any layout into a hint-respecting layout.
Yes, I'm currently using it and it works really well. However, when using the tabbed layout: ... ||| NB.noBorders (T.tabbed T.shrinkText T.defaultTConf { T.tabSize = 15 }) ||| ... I get the same problem. Thanks, Bas
participants (2)
-
Bas van Dijk
-
Spencer Janssen