Package: haskell-mode
Version: 13.07-1
Severity: important

Dear Maintainer,

When I install haskell-mode I find I cannot actually use it. For
example, if I try to (require 'haskell-mode) I get:

Debugger entered--Lisp error: (file-error "Cannot open load file" 
"haskell-mode")
  require(haskell-mode)
  eval((require (quote haskell-mode)) nil)
  eval-expression((require (quote haskell-mode)) nil)
  call-interactively(eval-expression nil nil)

On debugging a little bit, I find that my load path contains
/usr/share/emacs24/site-lisp/haskell-mode, but that the directory is not
present on my system!

Now I've noticed there is no attempt to build haskell-mode for the
emacs flavors I have installed (emacs23 and emacs24) when I install it:

<snip>
....
Unpacking haskell-mode (from .../haskell-mode_13.07-1_all.deb) ...
Processing triggers for install-info ...
Setting up haskell-mode (13.07-1) ...
~$
</snip>

So I go ahead and try running the install script by hand:

$ sudo /usr/lib/emacsen-common/packages/install/haskell-mode emacs24

and sure enough, everything now works! I do the same thing for emacs23
and that works. Also, when I uninstall the package the byte compiled
files are not removed.

$ update-alternatives --list emacs
/usr/bin/emacs23-x
/usr/bin/emacs24-x


The wheezy package does not seem to have any of these issues. I can
install it and things load without any special action by me.

Bug? Or is my machine messed up somehow? Let me know if I can help any
further, would be happy to try.

Cheers!
Shyamal


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages haskell-mode depends on:
ii  emacs    45.0
ii  emacs23  23.4+1-4.1
ii  emacs24  24.3+1-2

Versions of packages haskell-mode recommends:
ii  ghc  7.6.3-5

haskell-mode suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to