emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mike Gauland <mikelygee@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Passing table to Ruby session
Date: Thu, 10 Aug 2023 16:40:17 +1200	[thread overview]
Message-ID: <1d9ee34f-93a9-251a-0433-5eef758add36@gmail.com> (raw)
In-Reply-To: <7521f7c2-e3f0-6877-158c-0977620e06d1@gmail.com>

On 10/08/23 09:24, Mike Gauland wrote:
> 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.
>
> I copied the ruby code that org generates to set the variable, and 
> pasted it in to an inf-ruby session, and that works fine.
>
> However, when I select it as a region, and do "ruby-send-region", 
> inf-ruby complains about an "unexpected end-of-input".
>
> 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.
>
> Kind regards,
>
> Mike
>
Just a final note in case any one else has runs into the same problem. I 
got the same results with jruby, but "pry" handles my file without 
complaint.




  reply	other threads:[~2023-08-10  4:41 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 [this message]
2023-08-10  9:11       ` Ihor Radchenko
2023-08-11  1:24         ` Mike Gauland
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=1d9ee34f-93a9-251a-0433-5eef758add36@gmail.com \
    --to=mikelygee@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).