[Haskell] Re: xemacs & haskell major mode

Surendra Singhi efuzzyone at netscape.net
Tue Feb 1 15:52:42 EST 2005


Jon Fairbairn wrote:


 > On 2005-01-24 at 16:32MST Surendra Singhi wrote:
 >
 >>Is there any ilisp or slime like package for haskell, which integrates
 >>haskell with xemacs or emacs and provides a kind of integrated
 >>development environment?
 >>I am using Hugs 98.
 >
 >
 > Does <URL:
 > http://www.haskell.org/pipermail/haskell/2004-November/015015.html
 >
 >>help?
 >
 >
I downloaded the haskell mode from that site and I was trying to
configure it, but during the process I ran into this error


Debugger entered--Lisp error: (void-function charsetp)
   signal(void-function (charsetp))
   byte-code("..." [buf data kill-buffer signal] 3)
   find-file-noselect("c:/Documents and Settings/Owner/My
Documents/haskell practice/picture.hs")
   experimental-dragdrop-drop-url-default(#<misc-user-event
(dragdrop-drop-dispatch (dragdrop-URL "file:c:/Documents and
Settings/Owner/My Documents/haskell practice/picture.hs"))>
(dragdrop-URL "file:c:/Documents and Settings/Owner/My Documents/haskell
practice/picture.hs"))
   apply(experimental-dragdrop-drop-url-default (#<misc-user-event
(dragdrop-drop-dispatch (dragdrop-URL "file:c:/Documents and
Settings/Owner/My Documents/haskell practice/picture.hs"))>
(dragdrop-URL "file:c:/Documents and Settings/Owner/My Documents/haskell
practice/picture.hs")))
   dragdrop-drop-do-functions(((experimental-dragdrop-drop-url-default t
t) (experimental-dragdrop-drop-mime-default t t)) #<misc-user-event
(dragdrop-drop-dispatch (dragdrop-URL "file:c:/Documents and
Settings/Owner/My Documents/haskell practice/picture.hs"))>
(dragdrop-URL "file:c:/Documents and Settings/Owner/My Documents/haskell
practice/picture.hs"))
   byte-code("..." [object experimental-dragdrop-drop-functions event
event-over-text-area-p dragdrop-extents-done (byte-code
"Æ!Ç!È!É
‰¬…ÊËÉ\"ˆ
¬‚	Ì!ˆÍ Î
Ï#‰Éa¬”ÐÑ\nÏ\"#ˆÎ
Ï\n$‰ªh-ɇ" [window cpos ext buffer event pos event-window event-point
event-closest-point nil throw dragdrop-extents-done select-window
window-buffer extent-at experimental-dragdrop-drop-functions
dragdrop-drop-do-functions extent-property object] 6)
dragdrop-drop-do-functions] 4)
   dragdrop-drop-find-functions(#<misc-user-event
(dragdrop-drop-dispatch (dragdrop-URL "file:c:/Documents and
Settings/Owner/My Documents/haskell practice/picture.hs"))>
(dragdrop-URL "file:c:/Documents and Settings/Owner/My Documents/haskell
practice/picture.hs"))
   dragdrop-drop-dispatch((dragdrop-URL "file:c:/Documents and
Settings/Owner/My Documents/haskell practice/picture.hs"))



The code in my .init file is

(setq load-path (cons "C:\\Program
Files\\XEmacs\\xemacs-packages\\lisp\\haskell-mode\\" load-path))
(setq auto-mode-alist
       (append auto-mode-alist
               '(("\\.[hg]s$"  . haskell-mode)
                 ("\\.hi$"     . haskell-mode)
                 ("\\.l[hg]s$" . literate-haskell-mode))))
(autoload 'haskell-mode "haskell-mode"
    "Major mode for editing Haskell scripts." t)
(autoload 'literate-haskell-mode "haskell-mode"
    "Major mode for editing literate Haskell scripts." t)

(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)


Am I doing anything wrong?

I am using Xemacs 21.4.13

Thanks.

-- 
Surendra Singhi

www.public.asu.edu/~sksinghi/



More information about the Haskell mailing list