From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id PAzNMhhz1l+2GAAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 20:01:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qKUuLhhz1l9HYgAAbx9fmQ (envelope-from ) for ; Sun, 13 Dec 2020 20:01:28 +0000 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 69C7F940480 for ; Sun, 13 Dec 2020 20:01:28 +0000 (UTC) Received: from localhost ([::1]:57390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koXYd-00036b-9k for larch@yhetil.org; Sun, 13 Dec 2020 15:01:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koXY9-00035A-Cj for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 15:00:57 -0500 Received: from out1.migadu.com ([91.121.223.63]:52490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koXY6-0006UZ-Qi for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 15:00:57 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1607889650; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YjL4EplrS9ma/vc7K+E4M0NXOQzEuxzJGoC4A6GW8rY=; b=BdVdh1ijS7gKe8kc+bx/gpYLtbu74e0eqaSAcCKmP1XrHUoJwM56G32xu/ZMwo9pLJmChR e4utzS6ILbwWlseypNwksrcGZ9x8c10xgH2rT/qc3Lwepf+skSc6r6fYrcFfcj1M0GaQMo Ue8lJb1NFTUdxkxLVKcnVBkQkFfx6LI3fR0pSqdxkJFpvuMlPix58pgyX9KQ3eq+Ba1g/6 2rIHzT6VPnuQV9I7KrKYdXDsJ06/eWoY3m7fnxyVHZgeVKs7daG2mftnpCf6HF5kCBiq4a EJFfQA2HhGp29Xg1FumgMHZ/NaNuTHXKpIb3znpOoFNlToCfsPcqX8tAdWAcHw== From: Kyle Meyer To: Juri Linkov Subject: Re: [PATCH] ob-ruby.el: Don't reuse the same buffer among different named In-Reply-To: <875z55fr3p.fsf@mail.linkov.net> References: <87pn3zpag9.fsf@kyleam.com> <87o8jhqfwq.fsf@kyleam.com> <87pn3euzcg.fsf@kyleam.com> <875z55fr3p.fsf@mail.linkov.net> X-Woof-Patch: applied Message-ID: <87v9d5tr0v.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Date: Sun, 13 Dec 2020 20:00:50 GMT Received-SPF: pass client-ip=91.121.223.63; envelope-from=kyle@kyleam.com; helo=out1.migadu.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Aaron Madlon-Kay Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=kyleam.com header.s=key1 header.b=BdVdh1ij; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 69C7F940480 X-Spam-Score: 0.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: dOZYfN2IiD78 Juri Linkov writes: > Thanks for notifying me. I completely agree that the most suitable > place to fix would be in org-babel-ruby-initiate-session. So here > is a patch that I tested with different org header args: [...] > Subject: [PATCH] ob-ruby.el: Funcall command if it's a function from > inf-ruby-implementations > > * lisp/ob-ruby.el (org-babel-ruby-initiate-session): When 'command' > is a function from 'inf-ruby-implementations', use 'funcall' to get > a command string for the first arg of 'run-ruby-or-pop-to-buffer'. > This is like what 'run-ruby' does. Thanks. Pushed (57a70d505), tacking on a Reported-by trailer to the commit message.