Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complains about no loading method applies, even if all variables are set. #173

Open
asheshambasta opened this issue Feb 8, 2023 · 0 comments

Comments

@asheshambasta
Copy link

asheshambasta commented Feb 8, 2023

Hello,

I'm using a rather complex setup with which I'm locally setting dante variables using emacs directory variables like so:

(
 ;; for each `<mode> . (<variable> . <value>)`, set the given variables
 ;; `eval` is a pseudovariable that evaluates its value
 (nil .
      (
       (eval .
             (progn
               ;; load the cosmos utilities
               (load (concat (locate-dominating-file buffer-file-name "cosmos.el") "cosmos"))
               ;; load cabal package with target
               (load-cosmos-target "terra-lib" "lib:terra-lib")
             )
       )
       )
      )
 )

cosmos.el is an elisp file that sets the desired variables.

And the results remain unchanged across multiple subpackages of the same monorepo.

Dante is telling me the following:

Error during redisplay: (eval (concat dante-modeline-prefix (dante-status))) signaled (error "No GHCi loading method applies.  Customize ‘dante-methods’ or
      (‘dante-repl-command-line’ and ‘dante-project-root’) and perhaps ‘dante-target’")

However, all of these variables are set:

  • dante-repl-command-line
  • dante-project-root
  • dante-target

I'm on Emacs 28.2 with Dante 20221116.840

Am I doing something incorrect here or is this a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant