{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/830","repository_url":"https://api.github.com/repos/haskell/haskell-mode","labels_url":"https://api.github.com/repos/haskell/haskell-mode/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/haskell/haskell-mode/issues/830/comments","events_url":"https://api.github.com/repos/haskell/haskell-mode/issues/830/events","html_url":"https://github.com/haskell/haskell-mode/issues/830","id":102633164,"number":830,"title":"Getting Stack overflow in regexp matcher error in Haskell module having more than 1500loc","user":{"login":"mageshb","id":707914,"avatar_url":"https://avatars.githubusercontent.com/u/707914?v=3","gravatar_id":"","url":"https://api.github.com/users/mageshb","html_url":"https://github.com/mageshb","followers_url":"https://api.github.com/users/mageshb/followers","following_url":"https://api.github.com/users/mageshb/following{/other_user}","gists_url":"https://api.github.com/users/mageshb/gists{/gist_id}","starred_url":"https://api.github.com/users/mageshb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mageshb/subscriptions","organizations_url":"https://api.github.com/users/mageshb/orgs","repos_url":"https://api.github.com/users/mageshb/repos","events_url":"https://api.github.com/users/mageshb/events{/privacy}","received_events_url":"https://api.github.com/users/mageshb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-23T15:47:52Z","updated_at":"2016-03-09T10:31:32Z","closed_at":null,"body":"I'g getting the following message, if I try to enter a new-line near that region where I got this error\r\nhaskell-indentation-skip-token: Stack overflow in regexp matcher.\r\nI'm able to edit in other places in the same file.\r\n\r\nMy haskell-mode related .emacs config\r\n----------------------------------------------------\r\n(custom-set-variables\r\n ;; custom-set-variables was added by Custom.\r\n ;; If you edit it by hand, you could mess it up, so be careful.\r\n ;; Your init file should contain only one such instance.\r\n ;; If there is more than one, they won't work right.\r\n '(custom-enabled-themes (quote (manoj-dark)))\r\n '(haskell-font-lock-symbols (quote unicode))\r\n ;; '(haskell-mode-hook (quote (turn-on-haskell-indentation (lambda nil (ghc-init)))))\r\n '(haskell-process-auto-import-loaded-modules t)\r\n '(haskell-process-log t)\r\n '(haskell-process-suggest-remove-import-lines t)\r\n '(haskell-process-type (quote cabal-repl))\r\n '(haskell-stylish-on-save t)\r\n '(haskell-tags-on-save t)\r\n '(initial-buffer-choice t)\r\n '(package-archives (quote ((\"melpa-stable\" . \"http://stable.melpa.org/packages/\") (\"marmalade\" . \"http://marmalade-repo.org/packages/\") (\"gnu\" . \"http://elpa.gnu.org/packages/\")))))\r\n(custom-set-faces\r\n ;; custom-set-faces was added by Custom.\r\n ;; If you edit it by hand, you could mess it up, so be careful.\r\n ;; Your init file should contain only one such instance.\r\n ;; If there is more than one, they won't work right.\r\n )\r\n\r\n;; HASKELL MODE\r\n(eval-after-load \"haskell-mode\"\r\n  '(progn\r\n     (define-key haskell-mode-map (kbd \"C-,\") 'haskell-move-nested-left)\r\n     (define-key haskell-mode-map (kbd \"C-.\") 'haskell-move-nested-right)\r\n\r\n     (define-key haskell-mode-map (kbd \"C-c C-c\") 'haskell-compile)\r\n;;     (define-key haskell-cabal-mode-map (kbd \"C-c C-c\") 'haskell-compile)\r\n\r\n     (define-key haskell-mode-map [f8] 'haskell-navigate-imports)\r\n     (define-key haskell-mode-map (kbd \"M-.\") 'haskell-mode-jump-to-def-or-tag)\r\n\r\n     (define-key haskell-mode-map (kbd \"C-x C-d\") nil)\r\n     (define-key haskell-mode-map (kbd \"C-c C-z\") 'haskell-interactive-switch)\r\n     (define-key haskell-mode-map (kbd \"C-c C-l\") 'haskell-process-load-file)\r\n     (define-key haskell-mode-map (kbd \"C-c C-b\") 'haskell-interactive-switch)\r\n     (define-key haskell-mode-map (kbd \"C-c C-t\") 'haskell-process-do-type)\r\n     (define-key haskell-mode-map (kbd \"C-c C-i\") 'haskell-process-do-info)\r\n     (define-key haskell-mode-map (kbd \"C-c M-.\") nil)\r\n     (define-key haskell-mode-map (kbd \"C-c C-d\") nil)\r\n     (define-key haskell-mode-map (kbd \"C-c v c\") 'haskell-cabal-visit-file)))\r\n\r\n(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)\r\n(add-hook 'haskell-mode-hook 'haskell-auto-insert-module-template)\r\n\r\n(add-hook 'align-load-hook (lambda ()\r\n(add-to-list 'align-rules-list\r\n             '(haskell-types\r\n               (regexp . \"\\\\(\\\\s-+\\\\)\\\\(::\\\\|∷\\\\)\\\\s-+\")\r\n               (modes quote (haskell-mode literate-haskell-mode))))\r\n(add-to-list 'align-rules-list\r\n             '(haskell-assignment\r\n               (regexp . \"\\\\(\\\\s-+\\\\)=\\\\s-+\")\r\n               (modes quote (haskell-mode literate-haskell-mode))))\r\n(add-to-list 'align-rules-list\r\n             '(haskell-arrows\r\n               (regexp . \"\\\\(\\\\s-+\\\\)\\\\(->\\\\|→\\\\)\\\\s-+\")\r\n               (modes quote (haskell-mode literate-haskell-mode))))\r\n(add-to-list 'align-rules-list\r\n             '(haskell-left-arrows\r\n               (regexp . \"\\\\(\\\\s-+\\\\)\\\\(<-\\\\|←\\\\)\\\\s-+\")\r\n               (modes quote (haskell-mode literate-haskell-mode))))))\r\n"},"comment":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/comments/194230506","html_url":"https://github.com/haskell/haskell-mode/issues/830#issuecomment-194230506","issue_url":"https://api.github.com/repos/haskell/haskell-mode/issues/830","id":194230506,"user":{"login":"gracjan","id":917978,"avatar_url":"https://avatars.githubusercontent.com/u/917978?v=3","gravatar_id":"","url":"https://api.github.com/users/gracjan","html_url":"https://github.com/gracjan","followers_url":"https://api.github.com/users/gracjan/followers","following_url":"https://api.github.com/users/gracjan/following{/other_user}","gists_url":"https://api.github.com/users/gracjan/gists{/gist_id}","starred_url":"https://api.github.com/users/gracjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracjan/subscriptions","organizations_url":"https://api.github.com/users/gracjan/orgs","repos_url":"https://api.github.com/users/gracjan/repos","events_url":"https://api.github.com/users/gracjan/events{/privacy}","received_events_url":"https://api.github.com/users/gracjan/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T10:31:32Z","updated_at":"2016-03-09T10:31:32Z","body":"We will need to see the source code file to debug this issue. @mageshb, can you provide it?"}}