It certainly would be cleaner and it would be even better to centralize it to haskell-process-args and apply across ghci/cabal-dev/etc.

I frankly didn't have the time to do it that way (+ testing on ghci AND cabal-dev), but this may be a helpful half-step for now.  


On Saturday, February 9, 2013 at 4:24 PM, Gregory Collins wrote:

> In haskell-process.el:
> > @@ -516,11 +516,15 @@ to be loaded by ghci." > process > (ecase haskell-process-type > ('ghci > - (haskell-process-log (format "Starting inferior GHCi process %s ..." > - haskell-process-path-ghci)) > - (start-process (haskell-session-name session) > - nil > - haskell-process-path-ghci)) > + (let ((cmd (car (split-string haskell-process-path-ghci " "))) > + (args (cdr (split-string haskell-process-path-ghci " "))))  
> Wouldn't it make more sense to have a separate haskell-process-args-ghci variable?
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/haskell/haskell-mode/pull/121/files#r2953990)..  
>  
>  
>