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

  Consider the following code:

-- This is a function.
f :: a -> b -> b
-- Here is its implementation.
f a b = b
-- Now we are done.

  Pressing M-q on the first line of this example results in:

-- This is a function.  f :: a -> b -> b -- Here is its
implementation.  f a b = b -- Now we are done.

  This is obviously not what is desired: haskell-mode should not wrap
comment code with non-comments when filling!  (this is especially
annoying when combined with the blank line bug I filed previously, as
the only way to stop it from screwing filled comments up is to insert
blank lines, which then messes with the indentation)

  Daniel

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental'), (1, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages haskell-mode depends on:
ii  emacs21 [emacsen]             21.4a-3    The GNU Emacs editor

haskell-mode recommends no packages.

-- debconf information:
  haskell_mode/ghc_added:

Attachment: signature.asc
Description: Digital signature

Reply via email to