From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4JwnLsiAcGbfFgEA62LTzQ:P1 (envelope-from ) for ; Mon, 17 Jun 2024 18:30:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4JwnLsiAcGbfFgEA62LTzQ (envelope-from ) for ; Mon, 17 Jun 2024 20:30:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=PrSm0Bad; 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=1718649032; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=w0jGPq4UpeWFLptUXXhxWr9bzq1nyX3VCxfzEe+k4Jc=; b=SrMrnLG5oGH9To8gGNEJvIHZWYUjHjnYiTjjlxZbkZRcTMr9KTT24I5fj8XIfV7TY3QlPq fTlTbobHxM88S1ku99vSigO9nBdhfJ1ibMcjFrhMgGiWq6xfkM3LYcLB8CKkIL8xZ3++Oh XSFIJHfS6k7C68MSRzIyyvxItDUgnuVnIRmnd08t4HCmHiI23TSRxu083LSwiwBzHHGFsG JeV35FQjdDf5+XXJUTjV6dDd48PrABzfmlmUEehIYBoBPy7HyfrYhr5w2HLMXWjuusWHEv lmkxOGXug2xxvFV2dDokCg4YO18YHrd7TMtMcbR7Airk/o3v27iFhcHhCVzPtg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=PrSm0Bad; 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=1718649032; a=rsa-sha256; cv=none; b=haOzHmCLJnUqPUqEA4y+H10z56QOU/UZNIZ47nwHwk61JQqYDAj6rezSyUjwdto6SV5p/L ahuE7iitIUh+ANtaEHuhglR/2UiipFVwtuT3H0/XqTah9AVn6SyqLi3I3KoavPyudxA6l5 S0Z0+6Y3isk5r6yC8ON3+TSMPVRQ3n2DIPkS+87YBbOa/FJA3JdcqF1cEZWKcZNKP/yLfc 304yfnEBOSIo1/gMW5DsDm/JZ6pqNc6hMjVjtXa6kGWESotjlZuilNbD8Eycfl5S3xdip4 91RIMhCy1jy5A77FuAdB3lLzSDpZ4WOiCMCIbPAPZVGqLpUPfr9jeX09NwaeoA== 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 88501BB6E for ; Mon, 17 Jun 2024 20:30:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJH6g-0002iF-Om; Mon, 17 Jun 2024 14:29: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 1sJH6e-0002hn-Q7 for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 14:29:29 -0400 Received: from mail-oa1-x43.google.com ([2001:4860:4864:20::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sJH6d-0000Q7-9A for emacs-orgmode@gnu.org; Mon, 17 Jun 2024 14:29:28 -0400 Received: by mail-oa1-x43.google.com with SMTP id 586e51a60fabf-24c582673a5so339273fac.2 for ; Mon, 17 Jun 2024 11:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718648965; x=1719253765; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=w0jGPq4UpeWFLptUXXhxWr9bzq1nyX3VCxfzEe+k4Jc=; b=PrSm0Badlhz92/zkDffGZ8ctO3y1ofvo1gNpcxmP2YalFyj32ntqIRSvgcQgwM7p6H VlZ6JuUdG7dN8JbbPxs5RGYvr1waTGbJ4I/WaOC4qkbYk/ArbDL9z0c9Cv9SN9PaJgKn sq0Wer0JrESh/XfCW7clHG7UD+pCCKKzAJ7cyiDNOEudanBBj14Z0Owy+qrS0ZAGzaR+ 4dmTPstgPResn2+aoJor91YiLpxpqis54V7ehqkAmsu5/sVY7f+tu2774TM8ei/9CD/5 L68iSi+o7jMc+rGkKagepoZgYCBlh78M7F2lT7yuc8CbtCw3LJGsY9IhcYU7w5Wgi+CK VpXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718648965; x=1719253765; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=w0jGPq4UpeWFLptUXXhxWr9bzq1nyX3VCxfzEe+k4Jc=; b=CuR7iX44r1KdtKG+PVyWpaFtk8KdD028mgkW0GEkSmmhtOijrXDgEIKM1kF4eNeMmB IIZShOh5Rv3fz0dN11aAr58ugpfuW/JKq4M57naAm58ubyugpu03307NgY+SZ63Wk4LH 4517cqgf9hjjO2X5mNyPP08cvzMqsYAuECaQNMdJZZ64Zz6miEYVVvoFCBoEHbUihSGd ct+CF+xs8AX9OjkqXRWiuJPJwqu+OUv8loDOzfzOsYKhW35irdWFMnX6dqfTimU9FDjB m8zGSvfI3BVgfwUp9rvLHRrajFmX8p6Xy0eygGrkV8rSewEetM7sPta2CdxO+QIJzojc QT5A== X-Forwarded-Encrypted: i=1; AJvYcCV3SbKzp/JzG+Im4CGeUZ9JEdsp0tEkjcIJVMkvyic08rWdi/fjnZBloUKA8eFT2LX8Hu0WVT46HNwmDM/jwtFqBLj9ETg= X-Gm-Message-State: AOJu0YzkUbdE6qwjjFWOV+Pv4s5HVbdP4un6Fmh+jRNFugvOURYWyv9y ibu4ZrBsvt2H6RY9yIoXiSdLnszYhFzrriJdx3kOah8LhAHtVRMXbQBRZs4VTRk= X-Google-Smtp-Source: AGHT+IH90cXX1njHMnub39A0nI/ThEkqxopoLq1unebavDFFrGRln2Z+XCxyhxScFR5j9FQQ0K1CeQ== X-Received: by 2002:a05:6870:4151:b0:24f:e599:9168 with SMTP id 586e51a60fabf-2584284b11cmr11287812fac.1.1718648964497; Mon, 17 Jun 2024 11:29:24 -0700 (PDT) Received: from gnus (static-198-54-132-177.cust.tzulo.com. [198.54.132.177]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4421aafcf31sm38006101cf.49.2024.06.17.11.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 11:29:24 -0700 (PDT) From: Suhail Singh To: Ihor Radchenko Cc: Suhail Singh , Matt , Org mailing list Subject: Re: ob-shell: possibly missing initiate-session functions? In-Reply-To: <878qz3bmjo.fsf@localhost> (Ihor Radchenko's message of "Mon, 17 Jun 2024 15:45:31 +0000") References: <87cyop3445.fsf@gmail.com> <1902265471c.11e1aa5961508019.932872149697165868@excalamus.com> <87bk40zegh.fsf@gmail.com> <878qz3bmjo.fsf@localhost> Date: Mon, 17 Jun 2024 14:29:22 -0400 Message-ID: <87tthrv2wt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4860:4864:20::43; envelope-from=suhailsingh247@gmail.com; helo=mail-oa1-x43.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -8.69 X-Migadu-Queue-Id: 88501BB6E X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.69 X-TUID: SdFTgBJtN5Sn Ihor Radchenko writes: > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5b366a731 #+begin_src diff (put fname 'definition-name 'org-babel-shell-initialize)) + (let ((fname (intern (concat "org-babel-prep-session:" name)))) + (defalias fname + (lambda (session params) + (:documentation + (format "Prepare %s SESSION according to the header arguments specified in PARAMS." name)) + (let ((explicit-shell-file-name name) + (shell-file-name name)) + (org-babel-prep-session:shell session params)))) + (put fname 'definition-name 'org-babel-shell-initialize)) + (let ((fname (intern (format "org-babel-%s-initiate-session" name)))) + (defalias fname + (lambda (session _params) + (:documentation + (format "Initiate %s session named SESSION." name)) + (let ((explicit-shell-file-name name) + (shell-file-name name)) + (org-babel-sh-initiate-session session)))) + (put fname 'definition-name 'org-babel-shell-initialize)) #+end_src Am I mistaken, or does something still need to be done about org-babel-shell-initiate-session ? -- Suhail