haskell-mode.el contains a Mule-only feature (a coding cookie as a
file-local variable). This patch removes that coding cookie, making
it possible to build haskell-mode under no-Mule XEmacs 21.5. The
alternative is to move haskell-mode to mule-packages, which is stupid.
(True, no-Mule 21.5 should not crash here, but that's not the point;
even if it didn't, it still couldn't do anything sensible with a
coding cookie, so having a cookie is a bug outside of mule-packages.
<RANT>Actually, IMHO, having a cookie is a bug, period....</RANT>)
From the point of view of many users of non-Western-European 8-bit
coding-systems under Mule, the package will actually work better this
way, as their favorite coding system suddenly will acquire a
more-or-less sane syntax table. Another way to put this is that
haskell-mode is currently broken under all non-ISO-8859-1 locales, and
this makes it a little better. :-)
My apologies to Mats for taking so long to diagnose this. With this
change, we should be able to reenable the 21.5-nomule smoke test.
Jerry, do you have any objections?
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/haskell-mode/ChangeLog,v
retrieving revision 1.27
diff -u -r1.27 ChangeLog
--- ChangeLog 25 May 2006 08:41:46 -0000 1.27
+++ ChangeLog 20 Feb 2007 15:44:48 -0000
＠＠ -0,0 +1,4 ＠＠
+2007-02-21 Stephen J. Turnbull <stephen(a)xemacs.org>
+ * haskell-mode.el: Non-MULE doesn't support iso-8859-1 cookie.
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/haskell-mode/haskell-mode.el,v
retrieving revision 1.7
diff -u -r1.7 haskell-mode.el
--- haskell-mode.el 15 Mar 2006 05:18:23 -0000 1.7
+++ haskell-mode.el 20 Feb 2007 15:44:48 -0000
＠＠ -1,4 +1,4 ＠＠
-;;; haskell-mode.el --- A Haskell editing mode -*-coding: iso-8859-1;-*-
+;;; haskell-mode.el --- A Haskell editing mode
;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc
;; Copyright (C) 1992, 1997-1998 Simon Marlow, Graeme E Moss, and Tommy Thorn
XEmacs-Beta mailing list