{"action":"created","issue":{"url":"https://api.github.com/repos/DanielG/ghc-mod/issues/9","labels_url":"https://api.github.com/repos/DanielG/ghc-mod/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/DanielG/ghc-mod/issues/9/comments","events_url":"https://api.github.com/repos/DanielG/ghc-mod/issues/9/events","html_url":"https://github.com/DanielG/ghc-mod/pull/9","id":77392328,"number":9,"title":"Various improvements and fixes of elisp and haskell","user":{"login":"sergv","id":1149355,"avatar_url":"https://avatars.githubusercontent.com/u/1149355?v=3","gravatar_id":"","url":"https://api.github.com/users/sergv","html_url":"https://github.com/sergv","followers_url":"https://api.github.com/users/sergv/followers","following_url":"https://api.github.com/users/sergv/following{/other_user}","gists_url":"https://api.github.com/users/sergv/gists{/gist_id}","starred_url":"https://api.github.com/users/sergv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergv/subscriptions","organizations_url":"https://api.github.com/users/sergv/orgs","repos_url":"https://api.github.com/users/sergv/repos","events_url":"https://api.github.com/users/sergv/events{/privacy}","received_events_url":"https://api.github.com/users/sergv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-17T20:35:57Z","updated_at":"2015-05-17T20:44:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DanielG/ghc-mod/pulls/9","html_url":"https://github.com/DanielG/ghc-mod/pull/9","diff_url":"https://github.com/DanielG/ghc-mod/pull/9.diff","patch_url":"https://github.com/DanielG/ghc-mod/pull/9.patch"},"body":"Most obscure change, in my opinion, is the need to supply \"legacy-interactive\" argument in elisp at the end of other arguments. Otherwise other arguments, like `-s` are dropped due to `RequireOrder` semantics - https://hackage.haskell.org/package/base-4.8.0.0/docs/System-Console-GetOpt.html#v:RequireOrder. The \"legacy-interactive\" argument is being treated as non-option and this suppresses parsing of any options next on command line.\r\n\r\nChange of `ghc-with-process` to bark if ghc process is already running, according to `ghc-process-running` variable, is useful when debugging. It may be a bit intrusive, though, as previously it didn't print any messages. But I think it may be equally bad to silently exit and keep unsuspecting user thinking that something is being executed.\r\n\r\nOther commits should be, hopefully, self-explanatory."},"comment":{"url":"https://api.github.com/repos/DanielG/ghc-mod/issues/comments/102855094","html_url":"https://github.com/DanielG/ghc-mod/pull/9#issuecomment-102855094","issue_url":"https://api.github.com/repos/DanielG/ghc-mod/issues/9","id":102855094,"user":{"login":"DanielG","id":199218,"avatar_url":"https://avatars.githubusercontent.com/u/199218?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielG","html_url":"https://github.com/DanielG","followers_url":"https://api.github.com/users/DanielG/followers","following_url":"https://api.github.com/users/DanielG/following{/other_user}","gists_url":"https://api.github.com/users/DanielG/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielG/subscriptions","organizations_url":"https://api.github.com/users/DanielG/orgs","repos_url":"https://api.github.com/users/DanielG/repos","events_url":"https://api.github.com/users/DanielG/events{/privacy}","received_events_url":"https://api.github.com/users/DanielG/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T20:44:13Z","updated_at":"2015-05-17T20:44:13Z","body":"About the `RequireOrder` stuff: That shouldn't be necessary. Have a look at this: https://github.com/DanielG/ghc-mod/blob/master/src/GHCMod.hs#L287 the allowed options after the command name are both the global options and the command specific options so something else may have gone wrong. "}}