emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mike Gauland <mikelygee@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Passing table to Ruby session
Date: Fri, 11 Aug 2023 13:24:05 +1200	[thread overview]
Message-ID: <e6137ae5-90dc-423f-a7be-ee5f6327f074@gmail.com> (raw)
In-Reply-To: <87o7jfb6td.fsf@localhost>

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	other threads:[~2023-08-11  1:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-09  8:17 Passing table to Ruby session Mike Gauland
2023-08-09 10:14 ` Ihor Radchenko
2023-08-09 19:06   ` Mike Gauland
2023-08-09 21:24     ` Mike Gauland
2023-08-10  4:40       ` Mike Gauland
2023-08-10  9:11       ` Ihor Radchenko
2023-08-11  1:24         ` Mike Gauland [this message]
2023-08-11  7:47           ` Ihor Radchenko
2023-08-13 20:26             ` Mike Gauland
2023-08-14 10:18               ` Ihor Radchenko
2023-08-25 13:19                 ` Ihor Radchenko
2023-08-31  9:58             ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6137ae5-90dc-423f-a7be-ee5f6327f074@gmail.com \
    --to=mikelygee@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).