Simon King wrote:
> sorry, I still don't get what *exactly* one needs to do in order to
> achieve *what*.

My post was intended mainly for vim users who would be able to figure 
out on their own what the code does and find it useful for their 
workflow. I didn't realize anyone else might be interested. Sorry about 
that.

> If I understand correctly, repl is abbreviation for
> read-eval-print-loop. I guess that' what I call "command line version
> of Sage".

Yes.

> That makes me wonder two things:
> - By "copy-pasting doctests to the sage repl", do you mean that you
> mark the doctest including the expected output, and when you paste it
> to Sage then the expected output is automatically stripped, which is
> of course useful because it is Sage's job to compute that output?

Yes, except it is stripped at copying time.

> - How is vim involved in my interaction with Sage? Do you mean the
> following: Open some file in vim that contains doctests, mark a
> doctest in vim, then go to the Sage command linel and paste what
> you've copied?

Yes, or combine that with some other way of sending the content of your 
clipboard (or X selection, or other vim registers) to a sage command 
line.

-- 
Marc

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/r4aj3p%24269c%241%40ciao.gmane.io.

Reply via email to