Your message dated Thu, 06 Dec 2007 13:10:09 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Fixed upstream in 2.3
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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:
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Comment fill now works as expected (only the comment is wrapped,
subsequent code is left alone). Hitting M-q in the code following a
comment still wraps the code into the comment, but that is a much less
annoying problem. Also, this only works with -- style comments. Will
try to poke upstream about this. If this concerns you, you may want to
file a separate report for this.
--
Peter Rockai | me()mornfall!net | prockai()redhat!com
http://blog.mornfall.net | http://web.mornfall.net
"In My Egotistical Opinion, most people's C programs should be
indented six feet downward and covered with dirt."
-- Blair P. Houghton on the subject of C program indentation
--- End Message ---