On Wed, Sep 23, 2009 at 12:29 PM, MarkSwanson <mark.swanson...@gmail.com>wrote:

> Environment: vimclojure-2.1.2. clojure from git as of a few days ago.
>
> Running the tests in a plain REPL from the command line worked
> perfectly!
> -=* THANKS GUYS !!! *=-
>
> I wasn't expecting this at all. I thought the REPL in vimclojure
> actually supported stdout because this works:
> > (def a "abc")
> #'user/a
> > a
> "abc"
> > (println a)
> abc
> nil
>
> I have noticed that mouse paste operations into the vimclojure repl
> fail (the pasted text is truncated after a certain number of
> characters).
> These seem to be indications that stdin/stdout is not handled
> perfectly by vimclojure...


I'm not surprised. In fact I am surprised that "mouse paste operations" work
at all in an editor that legacy. I've noticed that us NetBeans users have an
environment that just works, including mousing and pasting into the REPL as
well as stdout displaying correctly, while a quarter of the list traffic
here deals with problems configuring either emacs or vim, or quirky
post-configuration behavior from same. :)

Modern IDEs for the win?

But assuming you'd rather not change environments, I'd suggest not using
whatever crummy mouse and clipboard support has been retrofitted onto vim
and instead use your terminal emulator's paste that will present the pasted
text to vim as if it were being typed into vim. That should work however
long the pasted text is, unless the terminal emulator paste is equally
broken, which if it's xterm it shouldn't be, and otherwise you should
probably use xterm. :)

(No flames please. The above is offered as observations and a possible
workaround in the spirit of suggesting possible fixes so the O.P. can get on
with actually developing whatever they're developing with a minimum of fuss
and distractions.)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to