PATCH: GHCI Interpreter doesn't echo
Nathaniel Flath
flat0103 at gmail.com
Sun Mar 14 03:57:10 EDT 2010
Has anything been decided on this?
On Tue, Feb 2, 2010 at 7:38 PM, Nathaniel Flath <flat0103 at gmail.com> wrote:
>
>
> ---------- Forwarded message ----------
> From: Nathaniel Flath <flat0103 at gmail.com>
> Date: Sun, Jan 31, 2010 at 6:36 PM
> Subject: Re: PATCH: GHCI Interpreter doesn't echo
> To: Wei Hu <weihu at cs.virginia.edu>
> Cc: haskellmode-emacs at community.haskell.org
>
>
> 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 <weihu at cs.virginia.edu> wrote:
>
>> What problem does this change solve?
>>
>> On Fri, Jan 29, 2010 at 11:08 PM, Nathaniel Flath <flat0103 at gmail.com>
>> 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
>> > Haskellmode-emacs at projects.haskell.org
>> > http://projects.haskell.org/cgi-bin/mailman/listinfo/haskellmode-emacs
>> >
>> >
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.haskell.org/pipermail/haskellmode-emacs/attachments/20100313/f75302a5/attachment.htm
More information about the Haskellmode-emacs
mailing list