Giter Site home page Giter Site logo

Comments (4)

atilaneves avatar atilaneves commented on May 29, 2024

Short program (on Arch Linux 64-bit) that reproduces the problem below. The void in main isn't highlighted:

import std.stdio;
import std.algorithm;

string foo(in string str) {
    return "";
}

void main() {
}

from emacs-d-mode.

russel avatar russel commented on May 29, 2024

I just cut and paste your code to Debian Sid with Emacs 24.4.1 and d-mode master/HEAD and I get the void coloured the same as string in the function above, along with main and foo being the same colour. So I guess, at least for the moment, this is a "works for me".

from emacs-d-mode.

atilaneves avatar atilaneves commented on May 29, 2024

I renamed .emacs.d, started off with a clean slate and indeed things seem to work. I then recloned my .emacs.d repository and I noticed that in the old problematic one I had d-mode-20141018.143 whereas the current one seems to be d-mode-20141017.2243. MELPA/Marmalade issue? I don't know.

In any case, it works for me as well now.

from emacs-d-mode.

russel avatar russel commented on May 29, 2024

I guess there must have been an hiccup at MELPA: the problematic d-mode is clearly later than the working one, but the working one is the one listed for me as the MELPA offering. However there have been two commits since this version. I will have to investigate a little more what triggers a MELPA "release".

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.