GithubHelp home page GithubHelp logo

Comments (6)

hvesalai avatar hvesalai commented on August 10, 2024

scala-mode-map:define-keys is a macro defined in the beginning of scala-mode2-map.el and only used in the same file. That's why this sounds very strange.

Have you ever installed any older version scala-mode and could there be files from it remaining in your load-path?

If you are not scared of debugging elisp, then you can start your emacs with the --debug-init switch. This will give you a stack trace of what went wrong. In the stack trace you can which file was being loaded when the problem occured.

BTW. If the function/macro was missing, the error would be

Symbol's function definition is void: scala-mode-map:define-keys

so what you are seeing is actually something different.

p.s. if you get the stacktrace, please include it here as a comment.

from emacs-scala-mode.

adinapoli avatar adinapoli commented on August 10, 2024

Weirdly enough, I was not able to reproduce this issue on my workplace's laptop.
I'll keep you posted this evening, I'll try to update my home's installation, if needed, and back to you aftwerwards.
In the meantime, let's leave this open if you don't mind :)

A.

from emacs-scala-mode.

hvesalai avatar hvesalai commented on August 10, 2024

See also issue #49

from emacs-scala-mode.

adinapoli avatar adinapoli commented on August 10, 2024

Unfortunately this is not my case, because I have two IDENTICAL .emacs, one for the office one for home. Same Emacs installation and version. In the office one everything is fine, on my home's laptop I get the aforementioned error..

Weird..
Do I need some external tool be installed by chance? I've already "brewed" both scala and sbt (I'm on Mac Os X)

A.

from emacs-scala-mode.

hvesalai avatar hvesalai commented on August 10, 2024

Nothing beseides emacs should be needed.

Did you try --debug-init command line parameter to get the stack trace?

And did you change the .emacs file to correspond to the updated instructions in README.md?

from emacs-scala-mode.

hvesalai avatar hvesalai commented on August 10, 2024

I'll close this as it is not reproducible and I've also changed the installation instructions.

from emacs-scala-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.