Package: haskell-mode
Version: 2.0-1
Severity: normal

XEmacs includes a version of a Haskell mode in
/usr/share/xemacs21/xemacs-packages/lisp/haskell-mode , while I also
have installed a different (more recent) version from the haskell-mode
package in /usr/share/emacs/site-lisp/haskell-mode .  When I start a
fresh XEmacs (with '-no-init-file' to be safe) I get a message
  turn-on-haskell-font-lock is obsolete.  Use turn-on-font-lock instead.
on the mode line.  I haven't investigated completely, but this message
seems to come from the file
/usr/share/emacs/site-lisp/haskell-mode/haskell-mode.el (in the
haskell-mode library), while the call to 'turn-on-haskell-font-lock'
seems to come from the autoloads generated from the version included
in XEmacs, where this call was not declared obsolete.

Whose bug is this?  Is it haskell-mode's bug, for stepping on the toes
of a package included in XEmacs?

This may be a general issue of loaded files included with xemacs and
separate add-ons.

It might be a consequence of this interaction, but the font-lock mode
does not in fact work when editing a literate Haskell file (ending
with .lhs): there are constant complaints  of the form

(5) (warning/warning) Error caught in `font-lock-pre-idle-hook': (error No such 
face haskell-default-face)

Apologies if this is not a bug with haskell-mode; please redirect as
appropriate.

Peace,
        Dylan


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9y
Locale: LANG=C, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)

Versions of packages haskell-mode depends on:
ii  debconf                       1.4.46     Debian configuration management sy
ii  emacs21 [emacsen]             21.3+1-9   The GNU Emacs editor
ii  xemacs21                      21.4.17-1  highly customizable text editor
ii  xemacs21-gnome-mule-canna-wnn 21.4.17-1  highly customizable text editor --
ii  xemacs21-mule [xemacs21]      21.4.17-1  highly customizable text editor --
ii  xemacs21-mule-canna-wnn [xema 21.4.17-1  highly customizable text editor --

-- debconf information:
  haskell_mode/ghc_added:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to