Arc Forumnew | comments | leaders | submitlogin
1 point by cooldude127 5905 days ago | link | parent

it's a good start. the bugs i see immediately are it lets you erase the prompt and the prompt appears when results are printed too. i might see if there is a way to solve these problems.


1 point by raymyers 5905 days ago | link

I think Slime lets you erase the prompt too. I wonder if there is a good reason for that...

-----

1 point by cooldude127 5905 days ago | link

just tried it. emacs says "text is read-only". which is what it should do. i haven't the slightest idea how it pulls this off, though.

-----

1 point by nex3 5905 days ago | link

Turns out it's just a simple option: comint-prompt-read-only. I've set it in Anarki.

-----

1 point by cooldude127 5905 days ago | link

that was far too easy. i wonder if it is possible to make it pretty print.

-----

1 point by nex3 5905 days ago | link

I think it just outputs whatever Arc sends its way. So this would really involve getting Arc to pretty-print its output.

-----

2 points by cooldude127 5905 days ago | link

that might not even be that difficult, but my main problem is arc's pretty printing (in "pprint.arc") is rather flawed.

-----