Skip to content

haskell-mode becomes unresponsive when adding a language pragma #820

Closed
@mpickering

Description

@mpickering

When haskell-mode offers to add a language pragma or a cabal package
dependency, emacs becomes unresponsive. C-g does not make emacs
responsive. The only way to continue working with emacs is to kill the
ghc process.

Emacs setting

In GNU Emacs 24.5.1 (x86_64-w64-mingw32)
of 2015-04-12 on KAEL
Windowing system distributor Microsoft Corp.', version 6.1.7601 Configured using: configure --prefix=/z/emacs --host=x86_64-w64-mingw32
--target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int
--with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2
--with-gnutls --with-sound=yes --with-file-notification=yes
--without-dbus --without-imagemagick 'CFLAGS=-Ofast
-fomit-frame-pointer -funroll-loops -g0 -pipe' 'LDFLAGS=-static-libgcc
-static-libstdc++ -static -s -Wl,-s''

Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: cp1252

Major mode: Haskell

Minor modes in effect:
global-semanticdb-minor-mode: t
global-semantic-idle-scheduler-mode: t
semantic-mode: t
diff-auto-refine-mode: t
yas-minor-mode: t
haskell-indentation-mode: t
shell-dirtrack-mode: t
interactive-haskell-mode: t
flycheck-mode: t
show-paren-mode: t
global-hl-line-mode: t
elscreen-persist-mode: t
desktop-save-mode: t
delete-selection-mode: t
auto-insert-mode: t
guru-global-mode: t
guru-mode: t
ido-everywhere: t
display-time-mode: t
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t

Features:
(pp shadow sort mail-extr emacsbug sendmail calculator semantic/edit
semantic/tag-write jtags-extras jtags superword subword semantic/db-file
data-debug cedet-files semantic/wisent/java-tags semantic/java
semantic/decorate/include semantic/db-find semantic/db-ref
semantic/decorate/mode semantic/decorate pulse semantic/doc
semantic/wisent/javat-wy semantic/wisent semantic/wisent/wisent
semantic/db-mode semantic/db eieio-base semantic/idle semantic/format
ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local
cedet cc-langs browse-url autorevert filenotify log-edit message rfc822
mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mailabbrev gmm-utils mailheader pcvs-util add-log
diff-mode vc-bzr vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc
vc-dispatcher autopair cl-macs smex hippie-exp misearch multi-isearch
thingatpt vc-git java-snippets yasnippet haskell-indentation haskell-doc
eldoc inf-haskell haskell-decl-scan imenu shell haskell
haskell-completions haskell-load haskell-commands highlight-uses-mode
haskell-modules haskell-sandbox haskell-repl haskell-debug
haskell-interactive-mode haskell-presentation-mode haskell-collapse
haskell-navigate-imports haskell-compile haskell-process haskell-session
haskell-cabal haskell-utils url-util url-parse auth-source eieio
byte-opt bytecomp byte-compile cl-extra haskell-font-lock pcase cconv
eieio-core password-cache url-vars json flycheck help-mode subr-x dash
ghc ghc-indent ghc-ins-mod ghc-command ghc-check ghc-doc ghc-info
ghc-comp ghc-rewrite ghc-process ghc-func haskell-mode haskell-string
haskell-sort-imports haskell-lexeme rx haskell-align-imports
haskell-compat haskell-complete-module flymake etags compile dabbrev
haskell-customize saveplace org-w3m org-irc org-info org-bibtex bibtex
org-bbdb ob-plantuml ob-latex ob-haskell ob-C cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs paren gnus
gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit
hl-line elscreen-persist revive desktop frameset delsel autoinsert
cus-start cus-load ws-butler cl gv mule-util elscreen dired guru-mode
edmacro kmacro cl-loaddefs cl-lib ido ox-latex ox-icalendar ox-html
ox-ascii ox-publish ox org-element avl-tree org advice help-fns
org-macro org-footnote org-pcomplete pcomplete org-list org-faces
org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint
ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs
find-func cal-menu calendar cal-loaddefs format-spec org-install
boron-theme tex-site info easymenu package epg-config time time-date
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
w32notify w32 multi-tty emacs)

Memory information:
((conses 16 542652 80020)
(symbols 56 47672 0)
(miscs 48 1044 1302)
(strings 32 111366 10681)
(string-bytes 1 3560275)
(vectors 16 52504)
(vector-slots 8 1051076 12779)
(floats 8 312 323)
(intervals 56 11372 4138)
(buffers 960 43))

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