GithubHelp home page GithubHelp logo

A pimped emacs erlang shell about edts HOT 12 CLOSED

sebastiw avatar sebastiw commented on July 24, 2024
A pimped emacs erlang shell

from edts.

Comments (12)

tjarvstrand avatar tjarvstrand commented on July 24, 2024

Yes. It's one of the things on my todo-list, but so far no one seems to be using it much. That could of course be because things like these are missing :P

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

I just fixed auto-completion and set the prompt to be read-only, but syntax-highlighting will have to wait a bit.

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

Actually I was able to fix the syntax highlighting quite easily, unfortunately it doesn't seem to work very well for variables atm, at least it's something

from edts.

plux avatar plux commented on July 24, 2024

I just tried it out, the auto completion doesn't seem to work properly, I get this error in Messages:

auto-complete error: (void-variable comint-mode)

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

Hm, ok. I fix

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

I think I forgot to save before committing, haha

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

try now

from edts.

plux avatar plux commented on July 24, 2024

Works like a charm 👍

Interestingly enough it seem like the variable highlight works if I do something like this:

2> fun (A) -> B = A + 1 end.

But when I do this:

3> B = A + 1.

Only A gets highlighted.

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

You mean B right? Yeah, it's weird. I tried tweaking the font-lock keyword regexp for variables but couldn't get it to work

from edts.

plux avatar plux commented on July 24, 2024

Also, it seems to ignore "strings".

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

Ah sorry, misread. Anyway, if the line starts with a variable, that doesn't get highlighted

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

Fixed, including syntax highlighting of strings and the first variable on a line and

from edts.

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.