From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cMl7LAGO1WTeBgAASxT56A (envelope-from ) for ; Fri, 11 Aug 2023 03:25:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EPNTKwGO1WSBpAAAG6o9tA (envelope-from ) for ; Fri, 11 Aug 2023 03:25:21 +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 EBF854DD47 for ; Fri, 11 Aug 2023 03:25:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=KJC7Pn7x; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691717121; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=RXQTRhxK3y5MgNj71VYFy036p+u9SMi+jWZzA1LZ7v4=; b=QvqjAmfgmTmmp5Nyi/F3YOYL0ei6+U8dZncEsu3Xl4SUeSPEiOMSKD7gKE75ZO67q1IJnw Itbegd1grIZ20S1JlOiOKbZLUewef5yq6fs0PblAFOgGDv5ersztc3ujHk6KYSjBjfThiS zGtttkO0vUJiXAa/affBf9Ofz8BqJ5BzTr3+6El8NuU2iZpPAsaVy5LJhvOBrAD4XzRjd5 eVzrmBWSU1E/44HjuHjfanmIKTMZD/JSslwMlxNhS7ewjxgxranBO4uPkd+7F/TVO5GZ7k RRpUlEYSX5LZHeaF3qh5oQbPShJ2RGooLdplWIWDNNtmz44/OIFIUarXM0hQ7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=KJC7Pn7x; 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=1691717121; a=rsa-sha256; cv=none; b=DTcYRcYmKgW8dK0ZyM4lfGiLfUtuz5/FG+sTMmZReMx+98eapW78dg7NnjoV0OUyGs2rWL UlHOkFH1ctFY7GcZ/DjNZoJ3b9KGlqFmTGx0NkMXyc1CXxmtLxbij5v3V+om2ORAZA2E7O /aC2qVB9xGhuNB8gteJAN77COsNlnxiS39sisy22WPlcC0ib4EgTbFeW2h9eAOxaDvTd9P T/Vn4GBbH//MP7i0eUOfs2MG7pBS4NC2NPTurBnyH2DRl6kkuCQeKqjX4ZnW+12pGUR52U wqPatMtmzadxnLRiBGy/wwD8EEeXoG4MIqtedVn2s/UEYPdsjIB867Duy2qOmw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUGsx-0006wm-T8; Thu, 10 Aug 2023 21:24:15 -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 1qUGsv-0006wY-Pr for emacs-orgmode@gnu.org; Thu, 10 Aug 2023 21:24:13 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUGsu-0005cc-49 for emacs-orgmode@gnu.org; Thu, 10 Aug 2023 21:24:13 -0400 Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-5657a28f920so45778a12.3 for ; Thu, 10 Aug 2023 18:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691717050; x=1692321850; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RXQTRhxK3y5MgNj71VYFy036p+u9SMi+jWZzA1LZ7v4=; b=KJC7Pn7x7a/ujZqhJYSbJO2Pk1tsSpyI5XsBM83ygn+LeI8voihfVZObjN5KNw/VOO BJfDIIpKvh72cogQdj4PLHIJ5LT/pwwNb3YLGf6qZ4xdf6H/SxSsnzKwHrVdleLu05jn rmbGb1fUAvqDlK2Dohfn+UFpsf1o+isZ8e0MlJzxvt2DrV1PLmRji5MCFUb3zmlbIgdS o3SgtijwSJxO5OYnp8nnl1kAYklNPex4pkX0zlm/cr3AedK18kvdKqCbr4KXUBBgdAml wFTdPoVJejGcMQKd1yeFDvYIHhg0A+xjKgtPmWOWUhykppSwPiOBlIg3dgtrTQN20Lr3 URMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691717050; x=1692321850; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RXQTRhxK3y5MgNj71VYFy036p+u9SMi+jWZzA1LZ7v4=; b=jqkyip1fSJRrJ6CUfAJriShZKq96TEngkW1Y9CQqKs6Dz9obnLA5NjbQ173gloq/Yj RWt7f+wxhjGtcdKHilggOllNqsJrL0FXDXmu/B4GcDJ8ehEDLOZPg9V1Lq0dsa9L5MGL nIkXdqeEU+jsu8o9prYcowUx6vssP25xoyKu69V8oQbJFlyDcBpmOislSsCs2VakMJc+ 91/D4PVdH2oReU/geTXRx2BLSrzM07L+KU5xYwK4z0eDPB/A9N660CF8nXtvZDEePUK+ BOtT97ndCTMJUFApZZ1JbRPDSwDA+vQtK//H0U3lUuErJfS7fKot8qaA9MstucAZQv4v gY3A== X-Gm-Message-State: AOJu0YwiUVxHL4nEvdjPMXxfjrgo8msEVvizexEQXnPs3t58ZdBBJrJ6 1KCOtJA6BS7hnXVBN+TP2CE= X-Google-Smtp-Source: AGHT+IHHyFFxgS7hn5954nCSa9TqPmT98f5RX1ytkHXnpgRGnE4T0K0wd1YQsB3c1Bl0Vzl9Od64mw== X-Received: by 2002:a05:6a20:7483:b0:126:81e0:49dd with SMTP id p3-20020a056a20748300b0012681e049ddmr747883pzd.14.1691717050045; Thu, 10 Aug 2023 18:24:10 -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 p21-20020aa78615000000b00687260020b1sm2147847pfn.72.2023.08.10.18.24.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Aug 2023 18:24:09 -0700 (PDT) Message-ID: Date: Fri, 11 Aug 2023 13:24:05 +1200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Passing table to Ruby session Content-Language: en-US To: Ihor Radchenko Cc: 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> <87o7jfb6td.fsf@localhost> From: Mike Gauland In-Reply-To: <87o7jfb6td.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=mikelygee@gmail.com; helo=mail-pg1-x536.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-Queue-Id: EBF854DD47 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -9.35 X-Migadu-Spam-Score: -9.35 X-TUID: UI+AT9YAyNGD On 10/08/23 21:11, Ihor Radchenko wrote: > Mike Gauland 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.