[xmonad] darcs patch: Always float ediff windows

Andrea Rossato mailing_list at istitutocolli.org
Wed Jan 30 23:48:22 EST 2008

On Wed, Jan 30, 2008 at 08:37:31PM -0500, Alec Berryman wrote:
> ediff is a popular and widely-used interactive diff/merge mode included
> with emacs.  It works by opening up a small window that the user keeps
> in focus while using ediff commands like next patch; if the main emacs
> window is in focus, none of the ediff key commands are available.  The
> small window generally obscures what the user is interested in and is
> kept as small and out of the way as possible; by default, it opens up
> very tiny in the top right of the screen.
> The window is already in way just by existing, but having xmonad try to
> manage it really screws things up.  It's in the same class as MPlayer
> and GIMP; there's no use case for managing it, so do the right thing by
> default and always float it.
> I used title instead of className because the className is emacs, and
> floating all emacs buffers is definitely not the right thing to do.
> Wed Jan 30 18:38:20 EST 2008  Alec Berryman <alec at thened.net>
>   * Always float ediff windows

Actually I don't see the reason to include that configuration in the
default manage hook. You can add it to your own one. Since the kind of
"float" you are talking about is just a bad hack - a floating layout
with no way to rise the focused window - I would suggest to let people
decide whether they want to use that hack or, may be, a cleaner
SimpleFloat layout.

But this is just my opinion.


More information about the xmonad mailing list