haskell / haskell/haskell-mode

haskell-align-imports barfs on Unicode?

Open
#1,606 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
1.4k
Forks
354
Avg merge
5d 10h
Merged PRs (30d)
2

Description

It seems `haskell-align-imports` does not work when the qualified name contains Unicode (like Greek characters).

Try for yourself:
```
module Test where

import qualified Prelude as Π
import Data.String as S
```

Replace `Π` with `P` and it works.

---

It seems it works as soon as one qualified import does not contain such characters.

```
module Test where

import qualified Prelude as Π
import Data.String as S
import Data.List as L
```

Is there some regexp-based filtering for qualified lines that accidentally omits lines that contain Unicode?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.