From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aLBcOhblFmTGogAASxT56A (envelope-from ) for ; Sun, 19 Mar 2023 11:33:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WNBlOhblFmQzcwAA9RJhRA (envelope-from ) for ; Sun, 19 Mar 2023 11:33:58 +0100 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 BE2A2D20B for ; Sun, 19 Mar 2023 11:33:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdqLZ-0006xg-H8; Sun, 19 Mar 2023 06:33:05 -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 1pdqLY-0006xY-0v for emacs-orgmode@gnu.org; Sun, 19 Mar 2023 06:33:04 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdqLT-00073z-82 for emacs-orgmode@gnu.org; Sun, 19 Mar 2023 06:33:03 -0400 Received: by mail-wr1-x42e.google.com with SMTP id l12so7883975wrm.10 for ; Sun, 19 Mar 2023 03:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679221977; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=T9nOkGf4vw/fRo9Xa0W2gtCl404Go0m8IiBF8xcGPyo=; b=ZVWwApdrqDqCUxLODhQnJBuRPN1asSZtFEtA5GX1fmKhX6zhiMSXhrBvR/Nyxqv5Tb Unj45bIOnRqbzi0vlTuf5rQnafeb6dL3+jLIDFkAue08t0hWnOqw1fuaGkI5mhrsumLP 2b9TlKLGNF5D+HvCP8DxC7+v/N1AGSTPzhk/p1/B15mdJnAeWWxDU2LUREtDK0CfUxYy +qnCjHTwJzTR5FYSLcIjL78hYT9IRCuRI+0x2WxiTUlEMsNpZwn/3NHmwYYgmEfCI/fK SkhXApmzfwLuZycu+KJotMkKHnCxDJdBMjan1ZgKb6fwebhg5YmHnN1A24TKHnKS7JfC 6nng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679221977; h=mime-version:date:references:in-reply-to:subject:cc:to:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T9nOkGf4vw/fRo9Xa0W2gtCl404Go0m8IiBF8xcGPyo=; b=1+leUKISBxmMBVkHpvDKP/pLJR0IOcupmAZR3MhCnTXIqGu+AtEny2ZI3oFQm/GQgy V0eywjxbjlNufbI9XiGYfbA8iWZG44Kol2C+P5v0MpiC0FtkDNXi6KY8cgiGFt+I29cG 3+82p0MVgGsUGf3HuAgiN9y0HeI/9b7XClSKAoZk70Xx1AZC4sJ1TOx8q5x5jo6/1nhO Ic0KS28mk1skhFFOTFn5RM+MbGhlNXK6ge5vtJ+ad5uPVEgcs7h7b9+zNrUbVq3tFnp3 SUFPyhoH0/UNgwOcl/Y8m2wAmfJpM8xfpBPPRCnzJYjq6bbnQRtJUiQpQjj3Dd/7PbCj kosQ== X-Gm-Message-State: AO0yUKWXX+9l4qDayP75NtoRfFz6qI9YAuVF3iX7UJSFnl16UPxlGx4N ZxOiE/alQ0ikPqMvbvEr0Zs= X-Google-Smtp-Source: AK7set8YOdTVO4obidtqqE+AtHVjxkgpT3zZu/jHVcQ8nGaC7bu4BEayxS2ZEB/Jq6TwpSJtIBHb9A== X-Received: by 2002:a05:6000:120d:b0:2d2:d65f:9309 with SMTP id e13-20020a056000120d00b002d2d65f9309mr7002765wrx.55.1679221977432; Sun, 19 Mar 2023 03:32:57 -0700 (PDT) Received: from keynux ([2a01:e0a:505:3460:169:7511:f49a:58eb]) by smtp.gmail.com with ESMTPSA id b15-20020adfe30f000000b002c706c754fesm6274679wrj.32.2023.03.19.03.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Mar 2023 03:32:57 -0700 (PDT) Message-ID: <6416e4d9.df0a0220.ce03d.5c4b@mx.google.com> Received: by keynux (sSMTP sendmail emulation); Sun, 19 Mar 2023 11:32:55 +0100 From: Bruno Barbier To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Add tests for ob-haskell (GHCi) In-Reply-To: <875yaxvy93.fsf@localhost> References: <6416d214.5d0a0220.d9c1.54aa@mx.google.com> <875yaxvy93.fsf@localhost> Date: Sun, 19 Mar 2023 11:32:55 +0100 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=brubar.cs@gmail.com; helo=mail-wr1-x42e.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, MSGID_FROM_MTA_HEADER=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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZVWwApdr; 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=1679222038; a=rsa-sha256; cv=none; b=Nfl+f+bAnhEXOGhah53msflLLt5IqiN6N9U0dFxPtaYCFcALQqFYT27Nmppj+ceF1TWWvN 6Q8MpdNKk9B43S2x/oQ70pQrReqCdWEmBNMX/7wx81woEIVX/oTLxcwT7ftzYYRTY64Yuf +/wrEKbaCY/1ZaSBMSIBzS1hgYEME9o3vWZ/p6wtBfccLnVPhnSeQ1RNccrFnIomqnM7kh 4Eza9nk1cdZKLVSzfO+99K8PA85dWpOMWkVQpRG5KAs5VAu2FvrZu2ihAwbXgAAQKnVTBq f/zoc8qUZcw8s5ocDNl9QU/NOLpe+vqLLpSgPSV0lz7pnt2KjTp/SWAJh0S9uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679222038; 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=T9nOkGf4vw/fRo9Xa0W2gtCl404Go0m8IiBF8xcGPyo=; b=amUYkK7gqKpwJ5huHWWyiJblBkEd0hiZspy+n5jvim3drrYOwKuPaWRmi1tsH7fQppJxuW fxH8wrCD6knvDOF/FXEwEUeUWcQi69btUP3sB032ypQkTcFVMg87IpAFMR3PjVnhBktGIS gEiLi0FJMl/QpT3yipYzERIQPY+tTonn/oWys3PqdiZOZj4efKbCu471I5aZVXMeOMre5Y 67cVTE+rRkWp5fmkYco9P/XNw8O4mzzmQyA/Y7PV2OMuEy0FqFMLjYyutsV2q86uY1AfU1 KjqICCML9ZjSLJ7RhEeffwKmGAqlLpRswiH2QSzUdTlSJDJbY1ob5Zfw6jPt7g== X-Migadu-Spam-Score: -4.99 X-Spam-Score: -4.99 X-Migadu-Queue-Id: BE2A2D20B X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZVWwApdr; 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 X-TUID: gPLuJjpGen0B Hi Ihor, Ihor Radchenko writes: > From a first look, random failures appear to be related to session > initialization. My function 'test-ob-haskell-ghci' should protect against that; it ensures the "*haskell*" buffer is always new. From what I understand, this is an input buffering problem: inputs are not full lines. > It appears that ob-haskell is re-using sessions even > if :session is nil (default). And multiple session not allowed?? (I am > looking at `org-babel-haskell-initiate-session', which ignores session > parameter completely). >From what I understood, the buffer "*haskell*" is coming from haskell-mode. And, to make it work might require some changes there too. Thanks for having a look, Let me know, Bruno > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at