emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing table to Ruby session


From: Mike Gauland
Subject: Re: Passing table to Ruby session
Date: Fri, 11 Aug 2023 13:24:05 +1200
User-agent: Mozilla Thunderbird

On 10/08/23 21:11, Ihor Radchenko wrote:
Mike Gauland <mikelygee@gmail.com> writes:

Just to follow up on my problem sending a table to ruby. It doesn't'
seem to be an org problem, but with inf-ruby.
...
As long as the code to set the variable is under 4k, it works. When it's
longer than that,  process-send-region sends it in pieces, and inf-ruby
is apparently prematurely interpreting the incomplete code.

I'll take this up elsewhere, though if anyone here has suggestions for
me, or wants further updates, let me know.
4k sounds like a known quirk with pty connection type in Emacs
processes. It may have this 4k limitation at least on some systems.

If you posted a bug report elsewhere, may you please share the link to
that report?

I've reported it to the inf-ruby project: https://github.com/nonsequitur/inf-ruby/issues/172

I wasn't aware that Emacs would insert EOF in a stream, but that doesn't seem to be the problem (if it is even occurring here).

I've found that both irb and pry will exit if I type ^D at the start of a line, but anywhere else it seems to be ignored.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]