emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roger Mason <rmason@mun.ca>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Date: Thu, 20 Jan 2022 10:43:18 -0330	[thread overview]
Message-ID: <y65pmomqygy.fsf@mun.ca> (raw)


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"))

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?


             reply	other threads:[~2022-01-20 19:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 14:13 Roger Mason [this message]
2022-01-20 19:57 ` Immanuel Litzroth
2022-01-20 19:58   ` Re: Roger Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y65pmomqygy.fsf@mun.ca \
    --to=rmason@mun.ca \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: ' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).