---------- Forwarded message ----------
From: Nathaniel Flath <[email protected]>
Date: Sun, Jan 31, 2010 at 6:36 PM
Subject: Re: PATCH: GHCI Interpreter doesn't echo
To: Wei Hu <[email protected]>
Cc: [email protected]


In the interpreter, if comint-process-echoes is t, if you enter a simple
expression( where the input/output are the same ) such as 2, the output will
not be displayed.

On Sun, Jan 31, 2010 at 5:14 PM, Wei Hu <[email protected]> wrote:

> What problem does this change solve?
>
> On Fri, Jan 29, 2010 at 11:08 PM, Nathaniel Flath <[email protected]>
> wrote:
> > It doesn't look like the GHCI interpreter echoes; as such, the following
> > patch turns off comint-process-echoes when ghci is run.
> >
> > --- old-haskellmode-emacs/haskell-ghci.el    2010-01-29
> 22:32:13.501789554
> > -0500
> > +++ new-haskellmode-emacs/haskell-ghci.el    2010-01-29
> 22:32:13.509797905
> > -0500
> > @@ -182,8 +182,9 @@
> >    ;; History syntax of comint conflicts with Haskell, e.g. !!, so better
> >    ;; turn it off.
> >    (setq comint-input-autoexpand nil)
> > +  (setq comint-process-echoes nil)
> >    (run-hooks 'haskell-ghci-hook)
> > -
> > +
> >    ;; Clear message area.
> >    (message ""))
> >
> >
> > Thanks,
> > Nathaniel Flath
> >
> > _______________________________________________
> > Haskellmode-emacs mailing list
> > [email protected]
> > http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
> >
> >
>
_______________________________________________
Haskellmode-emacs mailing list
[email protected]
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs

Reply via email to