From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YHx1NX5q1GRmfwAASxT56A (envelope-from ) for ; Thu, 10 Aug 2023 06:41:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eGJPNX5q1GQJBwAAauVa8A (envelope-from ) for ; Thu, 10 Aug 2023 06:41:34 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7F467509B3 for ; Thu, 10 Aug 2023 06:41:34 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=EBWdVrl9; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691642494; a=rsa-sha256; cv=none; b=DnU9usYekGLXPuvmqyv5vXNSNAi74YUy9FHQpJx4ZBEZ2xrM0m0ouhhSvggNxxMtDi0TkM k+hl0wyVbYgzp17DVPRE/94/4w9yg1/2tMcyR8clnClmbyMAzuKuSfosnkbEg43TxitA7D F9u4Vrjv7+AC50fDnSpmKEJ5qBv0WFkO1lB6VS6yCFF8Oj5hTrkRGNIK7OokB8rFG9o8/R qj6yn7FUK9Peqiudc8b9rugqk+o16CKTknT7LECVgczjFzJbY54kwbUj4B4/hkzkxyieKr jUl1r9Mq4oTArvu1kJZ+Cw8/hRa3E8yuUz3tZUGZaRdyY6XA4GZf1X0nVQZOtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691642494; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=S5/L2FGCmTnngnB4jHo6uOayoIgGuBO4sP33msVgK3k=; b=ke/Q7Af6k297Z2JmXET/AuPktvVgIyr5GIBajU1zOsXwSbpPS5B66F9eGv8uIT3ApB2G/2 6YEh2mwG/NPcDRuB6mYZqMO8pzVTOYYdBmH0z/XCqZA8SzjqzwC7UsWqirNb0omv7xi000 N82AsH5wHweeVO3Tg8tsCQfMqYldJXk6s/YbXPROobL0INKWmzEh24E3GceRP8DHSVnw/K F9JIVPANmb4JE01jMBOx7KNAmqiqvAZucdu3DTQVSmPUDMqHHApKWue95yWVwj2uatCjdq qxXmN5gFWo/Vwd7+g05anjl6GeV5r8vHwevJkEIfEaE25UKUxI26Tss3jUS6MQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=EBWdVrl9; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTxTK-0000q7-Op; Thu, 10 Aug 2023 00:40:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTxTI-0000pr-RG for emacs-orgmode@gnu.org; Thu, 10 Aug 2023 00:40:28 -0400 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTxTD-0003oK-KA for emacs-orgmode@gnu.org; Thu, 10 Aug 2023 00:40:28 -0400 Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-6bc886d1504so516322a34.0 for ; Wed, 09 Aug 2023 21:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691642422; x=1692247222; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=S5/L2FGCmTnngnB4jHo6uOayoIgGuBO4sP33msVgK3k=; b=EBWdVrl9kOUsPLAyMYC4SJkfNQd11hGzkatosYOI3/IQnAwFMNkBlMKzKpNDSHLDMM bf0D1W3XhyzGdOAo3n/oqfsSy9aPeRGDCSrBoFjhfljpCWgzC219+ddmERdp0GbOCbS4 02/q4+zDWccCoO/H00BudX97mXrUCFIsp5apDk8D6YI0F4e9m0Huxyy5vOMQA8/fbfvv +jmJDE9gas8GMA+tN2lsJWR/L/l4WFhks7tb6y4AaAL8fZ8OgwEVaw+JtiGDFRl+j4qT LHvhxsUkMKGyqWQ5obAu4qafRPXeJWCS2BCGoP7vBnPi+X6W1Co6VHk4Ce/+6TePbg41 2nCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691642422; x=1692247222; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=S5/L2FGCmTnngnB4jHo6uOayoIgGuBO4sP33msVgK3k=; b=G/PMq6jBKZs0AkgSC6g+L7pUT/p3EaE0DGsU/4hMODc4JAOUzzt9xxeDCnMTCVr7Mb c7RWOCFfPIQWUjxHswW1+e3Dv9kejakWATYO/qkdNDaKyLNxx2MySpxjqLMrjUDljDTa XOT//3A0ybvIiIw8dLyNbHoc0Bmc8EchgHhzzh/uulYt8XyGajdcPhRWajBrYy+rz6IA JWdWKKlugYebatJ8d0q/JHbb2kqYeAf0+Rm+h3rivOjyNdDhFCEbtuV3k28EmnTnyNgx sd+vkn6q9m/5k/UcHdu+bVQwO0KzLMOaJk6cZvGL0BbwYS6RnNrQc8BG9JTMuYlmc1rc RiSQ== X-Gm-Message-State: AOJu0Yz6jo64BAljQ7Bb5Gw6/PL9LLUiczN8TyDCabHUfLjQyaJrcvRP bjhj0Npt5gqL1pVOr7hQiVi+ZLVScoA= X-Google-Smtp-Source: AGHT+IGhzDqV2x6MlaWQDc5bfG3TyMujK57KQrQBWHNkzAhC3ApDgA0dn+MFP/bUs9djCV7joykHpg== X-Received: by 2002:a05:6830:1408:b0:6af:7760:f2d0 with SMTP id v8-20020a056830140800b006af7760f2d0mr1366297otp.32.1691642421798; Wed, 09 Aug 2023 21:40:21 -0700 (PDT) Received: from [192.168.1.130] (222-154-28-155-vdsl.sparkbb.co.nz. [222.154.28.155]) by smtp.gmail.com with ESMTPSA id g5-20020a633745000000b00563da87a52dsm495988pgn.40.2023.08.09.21.40.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Aug 2023 21:40:21 -0700 (PDT) Message-ID: <1d9ee34f-93a9-251a-0433-5eef758add36@gmail.com> Date: Thu, 10 Aug 2023 16:40:17 +1200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Passing table to Ruby session Content-Language: en-US From: Mike Gauland To: emacs-orgmode@gnu.org References: <980379b9-3b1c-7671-839a-60fa488eed7c@gmail.com> <87350so731.fsf@localhost> <69e49c6b-62fe-f49c-2ac3-b1a57d2dea73@gmail.com> <7521f7c2-e3f0-6877-158c-0977620e06d1@gmail.com> In-Reply-To: <7521f7c2-e3f0-6877-158c-0977620e06d1@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::32b; envelope-from=mikelygee@gmail.com; helo=mail-ot1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.48 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 7F467509B3 X-Spam-Score: -9.48 X-TUID: ypI2vNVE1sAk 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.