Christian Maeder wrote: > whenenver I open a haskell file (*.hs) with my xemacs I get an annoying > warning in a splitted window: > > (1) (error/warning) Error in `post-command-hook' (setting hook to > nil): (void-variable imenu--index-alist) [...] Try adding (require 'imenu) to your ~/.xemacs/custom.el (or wherever your personal customization is). Cheers, S.