Giter Site home page Giter Site logo

Comments (8)

russel avatar russel commented on May 30, 2024

I only have Emacs 24.3.1 on Debian Unstable, d-mode is working just fine for me. What is the E-Lisp code you have that leads to the problem?

from emacs-d-mode.

nordlow avatar nordlow commented on May 30, 2024

I hade forgotten that an older version where loaded by an ELPA installation. That version failed on Emacs Snapshot.

My mistake.

Sorry. I'm closing this.

from emacs-d-mode.

russel avatar russel commented on May 30, 2024

No problem. I'm glad it is a resolved problem.

from emacs-d-mode.

nordlow avatar nordlow commented on May 30, 2024

I'm afraid the problem has returned in Emacs git together with my settings and I don't know what made it work yesterday. I have to be more strict with me version controlling my Emacs settings. Unfortunately it doesn't occur in git snapshot with default (vanilla) settings. Here's the error

c-get-lang-constant: `c-matchers-2' got no (prior) value in d-mode (might be a cyclic reference)

And when sexp-evaluate d-mode.el line-by-line it gets stuck on the expression

(defconst d-font-lock-keywords-2 (c-lang-const c-matchers-2 d)
  "Fast normal highlighting for D mode.")

I get the same error as above.

I've put my d-mode dir as the first element in my load-path.

Ideas anyone?

In the meanwhile I'm gonna setup a Emacs lisp script that loads d-mode in the beginning then evaluates each line in my .emacs together with a reload of d-mode until the problem occurs. Patience...

I'm using lots of other language extensions and they all work fine so this might be a potential problem for other users.

from emacs-d-mode.

nordlow avatar nordlow commented on May 30, 2024

This problem occurrs only when I aquire d-mode through ELPA not when I clone from this github repo.

I'm closing this for now.

from emacs-d-mode.

russel avatar russel commented on May 30, 2024

I wonder if we should keep this open or create a new report: if things works using a Git clone but not as a MELPA package then there is a real problem. I was not aware this mode was in ELPA.

from emacs-d-mode.

KDr2 avatar KDr2 commented on May 30, 2024

I got this error too (installed from ELPA), @nordlow could you tell me how have you resolved this?

from emacs-d-mode.

russel avatar russel commented on May 30, 2024

@KDr2 Are you getting this from MELPA or Marmalade? Would it be possible to post a log describing the problem you are seeing?

from emacs-d-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.