Skip to content

Stylish haskell doesn't work in haskell-mode any more #116

Closed
@Mikolaj

Description

@Mikolaj

Others can't reproduce this, so it may be due to my emacs version (GNU Emacs 23.3.1, Ubuntu 12.04.1 LTS) or the cruft in my emacs configuration:

https://github.com/Mikolaj/mydotflies/blob/master/.emacs

Perhaps somebody else has a similar problem?

I can run stylish-haskell all right from command line, but it does not seem to have any effect anymore from haskell-mode. The commit that causes the behaviour is the last of the series that fixed many problems of stylish-haskell in haskell-mode

11b531c

With this commit, it apparently saves some extra stuff when I change and save the file:

Saving file /mikolaj/r/LambdaHack/Game/LambdaHack/Kind.hs...
Wrote /mikolaj/r/LambdaHack/Game/LambdaHack/Kind.hs [2 times]
Tags generated.

but the file is not affected apart of my original change.
For comparison, when I set

'(haskell-stylish-on-save nil)

I'm getting

Saving file /mikolaj/r/LambdaHack/Game/LambdaHack/Kind.hs...
Wrote /mikolaj/r/LambdaHack/Game/LambdaHack/Kind.hs
(No changes need to be saved)
Tags generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions