Open Eason0210 opened 3 years ago
This is an issue caused by upstream package, but I am not sure it is cause by haskell-mode
or symbol-overlay
.
It can be reproduced by the below config:
(require 'package)
(add-to-list 'package-archives '( "melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(require 'symbol-overlay)
(global-set-key (kbd "M-i") 'symbol-overlay-put)
(global-set-key (kbd "M-n") 'symbol-overlay-switch-forward)
(global-set-key (kbd "M-p") 'symbol-overlay-switch-backward)
(global-set-key (kbd "<f7>") 'symbol-overlay-mode)
(global-set-key (kbd "<f8>") 'symbol-overlay-remove-all)
(require 'haskell-mode)
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
Hi @purcell,
When I try to input a period(
.
) or aspace
after an integer in a list ofhaskell-mode
, it will cause emacs to freeze. when I pressC-g
it will back to normal and then the characters I've been typing get inserted at point!For example, when I input
.
orspace
after Interger 1, it will cause the issue. When I disable symbo-overlay-mode , everything works well.Tested on: Emacs 28.0.50 native compile and Emacs 27.2 OS: macOS Big Sur 11.5 and Windows 10