From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gIclHnn16WGWJgAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 00:51:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +SzHFnn16WGoewEAG6o9tA (envelope-from ) for ; Fri, 21 Jan 2022 00:51:21 +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 239391329A for ; Fri, 21 Jan 2022 00:51:21 +0100 (CET) Received: from localhost ([::1]:49410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAhD6-0003a9-8r for larch@yhetil.org; Thu, 20 Jan 2022 18:51:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAdZ0-0003kH-LI for emacs-orgmode@gnu.org; Thu, 20 Jan 2022 14:57:44 -0500 Received: from [2607:f8b0:4864:20::d2f] (port=40629 helo=mail-io1-xd2f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAdYy-0002aF-9m for emacs-orgmode@gnu.org; Thu, 20 Jan 2022 14:57:42 -0500 Received: by mail-io1-xd2f.google.com with SMTP id y22so8309185iof.7 for ; Thu, 20 Jan 2022 11:57:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0kibMbuugoOi9NcBZEsQQ/EMvtVndaHJ22ssA3tQ8H0=; b=fusmls3/9L+7xzs8BvtUzh5KBNMcRWxf3MBoZWvnSrvG3u6vUCXD3zrTA2/e6WXWMN la8ep24Lp9koTJUJfyUbae3apcqYNSu+lZOVwgsdeV2x1Mxd8oZofHwQoR84N4U3gciU HGOO+fT1KJUQ5HmtVJDOohgfXry4pTB6LR6PxUT2/R7OqVPC+7Ip+bIlMLE+6Ij0DXIE 2LrsyP4gHbi5siEMQn+m4/pSJDMHyfWi4vMO/61vBG5eAxzjVlBTfHwSFBqWzhTLDLaS qAc7gJs819rJNNRylJGWCVVoi+LY0aKgEMi6WXG+FCHfpn7mpN7bgzhv7kIP/A5MMLFi M4Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0kibMbuugoOi9NcBZEsQQ/EMvtVndaHJ22ssA3tQ8H0=; b=lpKW30imczSQ4yJH+7/+Brjc9BEp5uOwN6u4Iuzcmlqj6z55KhP2gabugEt0sdjnAW MEtejGKwvLTSeySnU7rzuAKu33HaFGmPpBgSVy+wY8Wlf0t8t7glAirtPiVntcSiwnoi gHeHY7+tSJowigTKr69JNIXqe4TZVQYZdP2dGEiBP2WVnIVdf8yetigIzNVHD0S3MwtE V4zHMFNYDSbvjTi/UaYAzNrl++s25nV2iBFpOSlMdqz2ED103IYPvj1vGO5U+PSXNuXI dskI/rBUmycaTnROsU6Sx+gyQLs7l32OzrnAQ89PSqfwtkdB47FWhsPOK9Ph2eH0oOwx R5Hw== X-Gm-Message-State: AOAM533BZRHBl6zPb9Nvf4pM3NtRBj2YwW2SuBs3DZ7KoEFGPFnI5VUc H2GVt2yTffL/drBjNDV+SK0bD1hD5rycZBGCEQ== X-Google-Smtp-Source: ABdhPJwUmAHGI43E+WZ1W8DuId6An/h2PHgrIfihz990V3PuMmdDkgz/rWFOVrkUeDa+bNgJ7fQov2tRnMORM31aAsY= X-Received: by 2002:a02:9147:: with SMTP id b7mr187789jag.266.1642708656900; Thu, 20 Jan 2022 11:57:36 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Immanuel Litzroth Date: Thu, 20 Jan 2022 20:57:01 +0100 Message-ID: Subject: Re: To: Roger Mason Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d2f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::d2f; envelope-from=immanuel.litzroth@gmail.com; helo=mail-io1-xd2f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: Org Mode Mailing List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642722681; 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=0kibMbuugoOi9NcBZEsQQ/EMvtVndaHJ22ssA3tQ8H0=; b=i0oX8e93UhUK1EF9Oz7JBapCVCIAeOPYiX7y8BoC6qLjY/7Zveim7HKi1m2NCQfiZwf4RR ojK4PQ5l/dR+dCeBZOS2qSXfeu+ZXeueeO7c63pkd3DBgftvCbJtowCmOvpmK63ro5Vx+7 5RdtrOrJP1z4azvuDVchxKf+ox6EKmXJG9nDHINhJ8h6N7ORy7GXWYCcge2lg8Niwwuz3f v/2+xwN0aOpJBz+g6Kt23pw0M7M10cHrPClWuVrLKSbOxGP8qjdl3ZHgmFRW9zS1fOLMpg eyECLp06O67HPj12KgHLgNsWsyu0J4AfpW0hj5duxJ0/n7yJtSiIOWmZFuUCQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642722681; a=rsa-sha256; cv=none; b=hyW6qiGCfAnmf6NEGU2n8C382Do4PsMVphIPcskfqo6UBSeo2pBWMRxLhSVxYOv5I4pT3l wNyOTnNx+883r8kh1xRJzxc0xWKnc1DFTyG0yyQ9sAbtKm44oOD7OP0nYNFSihMnI9l4dw s3joboI6ugOqCBNx4RBEVLt8b0waWqftUdInRkAVj2iSebtDTPDD3olWtkEjV8q1Tv6QSQ VdGyRykwWp4z2NnvsivZfM9OGEZAoIrfLOuPewjsogJhTZVPlV87Z2G5tL48dZJ29uMUza 52u630TtnlG/0lBNktHKX6u3ne9hQ3Hi4u6v4gJ5NKYZx2uY9aNOdERtFm6e4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="fusmls3/"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -4.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="fusmls3/"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 239391329A X-Spam-Score: -4.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: KNIPrxuSGFA+ Just going by what I see, not having tried it: (setq haskell-process-args-stack-ghci (list "--ghci-options" "-XFlexibleContexts")) In your version the process gets 1 argument (with a space in it). In my version it gets 2 args. Immanuel On Thu, Jan 20, 2022 at 8:22 PM Roger Mason wrote: > > Hello, > > I want to run stack ghci from haskell blocks in org-mode. For the > task at I need to start ghci with command line option > -XFlexibleContexts. I have this in my org-mode buffer: > > #+begin_src emacs-lisp :results none > (setq haskell-process-type 'stack-ghci) > (setq haskell-process-args-stack-ghci (list "--ghci-options -XFlexibleContexts")) > #+end_src > > but I get > > Process haskell exited abnormally with code 1 > Invalid option `--ghci-options -XFlexibleContexts' > > in the inferior haskell buffer. > > Does anyone know how to do what I want? > > Thanks, > Roger > -- -- A man must either resolve to point out nothing new or to become a slave to defend it. -- Sir Isaac Newton