On Thu, Nov 26, 2009 at 6:31 PM, Deniz Dogan <[email protected]> wrote: > I have the following Haddock comment in my Haskell file: > > -- | Checks that the given indentation is okay in the current context. > Updates the indentation state if necessary. > > (That should all be on a single line, but Gmail probably messes with > it on its way to the list.) When running fill-paragraph on that line > haskell-mode will change it to this: > > -- | Checks that the given indentation is okay in the > -- | current context. Updates the indentation state if > -- | necessary. > > (fill-column is 60.) However, I think it should do this: > > -- | Checks that the given indentation is okay in the > -- current context. Updates the indentation state if > -- necessary. > Agreed. Actually, it sometimes does that, and sometimes the former.. and sometimes it mixes comments with code.
Fixing up fill-paragraph is a project I was planning to start on saturday, so your bug report is just in time. ;) -- Svein Ove Aas _______________________________________________ Haskellmode-emacs mailing list [email protected] http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
