OTOH, your readline can't handle inserting text you've just copied in some other application, such as copy snippet from web browser window (e.g. Clojuredocs example) and paste in REPL.
Using the system-wide copy and paste has clear advantages over using an application-internal one. I'm sure I copy and paste across application boundaries much more often than I want a history of past cuts and copies, and on the rare occasions when I need to juggle multiple clipboard snippets, being able to cross application boundaries makes that easy, since I always keep a blank Notepad open anyway (to leave maximized when AFK, to harmlessly absorb any keystrokes typed by paws). I can just paste snippets into that and copy the needed ones. Similarly if I anticipate needing a text snippet intermittently over longer periods, during which the clipboard contents will certainly get clobbered (and then it would have likely fallen off the end of any reasonably-sized "kill ring" or "history" before I was done needing it!) ... and I don't have to try to track in my head a huge amount of invisible state (what's in the ring, where the unseen current-item-pointer is in that ring, etc., just the last thing copied or cut -- the rest is visible if I alt-tab to the Notepad window). Oh, and my method gives me a LAN-wide clipboard, too, since I can use a normally-empty file on a network drive and give that file global write permissions. Paste into file and save; on other computer, refresh view of file and cut/copy. On Fri, Jun 28, 2013 at 11:22 PM, Phil Hagelberg <p...@hagelb.org> wrote: > On Friday, June 28, 2013 7:17:14 PM UTC-7, Jonathan Fischer Friberg wrote: > > Should pasting be part of jline? Am I the only one that finds that > really odd? > > jLine is a port of readline to the JVM. readline supports a kill ring, so > jLine should too. That's different from the terminal performing pasting > since all that can do is insert the primary selection, it can't handle > history or inserting text that you've just killed. > > -Phil > > -- > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.