
On Thu, Oct 18, 2007 at 04:30:42PM +0200, Joachim Breitner wrote:
I’m also a bit surprised that no one else seems to have an opinion on this.
I do have an opinion on the subject, but still I don't understand what your aim is, actually. At first we started talking about a set of hooks, and a way of managing them, but now it seems to me you were proposing a different way of managing hooks *and* extensions. As David noted, I don't know if a list of extensions is really expressive enough - or, on the other side, if it is creating strong requirements on the basic functionality an extension *must* provide to be 'listable' and thus usable... if I get this part of the problem right. For the general issue of having some kind of hook management, to be used instead of LayoutModifiers, I agree with you: there are operations our users may be willing to add to (or to remove from) xmonad that should not be carried out at the layout level (XEvents and logging being the main examples that come to my mind). Proper support in the core should be provided in my opinion. I totally agree with David that starting with a contrib module should be the preferred path, though. Andrea