Skip to content

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

Description

@asheshambasta

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions