Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
emacs-haskell-mode
GHCi8.2.1-response.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File GHCi8.2.1-response.patch of Package emacs-haskell-mode
From 7a4cf46bbae2eb1c4a2f4e063f427344abeed473 Mon Sep 17 00:00:00 2001 From: Brian Cully <bjc@kublai.com> Date: Fri, 13 Oct 2017 22:27:14 -0400 Subject: [PATCH] Fix haskell-process-load-complete for GHC 8.2.1 At some point by GHC 8.2.1, the text for successful load of a module into ghci changed. This patch allows for the new format, in addition to the existing ones. --- haskell-load.el | 8 ++++++++ 1 file changed, 8 insertions(+) Index: haskell-mode-16.1/haskell-load.el =================================================================== --- haskell-mode-16.1.orig/haskell-load.el +++ haskell-mode-16.1/haskell-load.el @@ -100,6 +100,14 @@ actual Emacs buffer of the module being (let* ((ok (cond ((haskell-process-consume process + "Ok, \\([0-9]+\\) modules? loaded\\.$") + t) + ((haskell-process-consume + process + "Failed, \\([0-9]+\\) modules? loaded\\.$") + nil) + ((haskell-process-consume + process "Ok, modules loaded: \\(.+\\)\\.$") t) ((haskell-process-consume
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor