Opening a specific literate haskell file causes emacs process to hang

Aperta
#1,747 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
emacs, haskell
Ambito
tooling

Direzione di ricerca

Riproduci il blocco aprendo sudoku.lhs di Graham Hutton con la configurazione minima di haskell-mode mostrata nel report. Confrontalo con il file literate minimo che si apre correttamente; il lavoro è completato quando il file specifico non rende più Emacs non responsivo, mentre il caso minimo esistente continua a funzionare.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

emacs: GNU Emacs 27.2 - Arch linux official package
haskell-mode: haskell-mode-20210429.117 - installed from melpa and updated today.


Following along Graham Hutton's emacs videos I tried to open up his literate sudoku file and emacs immediately becomes unresponsive and hangs - no screen refresh, no response to keyboard - even mashing ESC or C-g has no effect.

Looking at the active processes emacs is maxed out at 25% on my quad core machine. Seems to be stuck in an infinite loop

I've pared down my config to the simplest case but I still get the same result.

(use-package haskell-mode
  :commands haskell-mode)

It's OK with a minimal literate file :

Some text at the start of the file.

> module Test where
> f v = 2 * v

I haven;t tried to find any other more complex literate files but I DO remember looking at a literate version of the original by Richard Bird some months ago and haskell-mode was handling that as expected.

Sorry I don't have firm dates or version numbers for when it stopped working.

Lingua principale
Emacs Lisp
Stelle
1.4k
Fork
357
Merge medio
7h 50m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di haskell/haskell-mode

Tutte le issue di haskell/haskell-mode

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.