Skip to content

yank or `recover-this-file' cause Emacs freeze  #182

@deftsp

Description

@deftsp

Here is how to reproduce it:

By recover

  1. Put following two files into the same directory.
  2. Open Models.hs, Emacs will warning 'Model.hs has auto save data; consider M-x recover-this-file'
  3. M-x recover-this-file. then Emacs freeze

by yank with example init.el config file

Just copy the content of #Models.hs# , and yank to Model.hs.

Model.hs

data FooType = A | B | C

Model.hs

data FooType = A | B | C
                   deriving (Show, Read, Eq, Enum, Bounded)
derivePersistField                            

ENV:

  • OS X 10.8.4
  • both Emacs 24.3 release and trunk 113419
  • haskell-mode 3d6abf1
  • without any config, just load "haskell-mode-autoloads.el"

I found this bug when I use `hippie-expand' to auto complete, and Emacs freeze. > Then I restart, recover it, freeze again.

I have turned on debug-on-quit, and press 'C-g' when freeze happen but nothing > happen.

Please let me know if needing more testing.

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