Does mumamo support erlang-mode ? ?

Asked by alexey

I try edit html files with some peaces of erlang code. for example:

<html>
<h1> Example 1 </h1>
<erl>
  out(A) ->
  Headers = A#arg.headers,
    {html, io_lib:format("You say that you’re running ~p", [Headers#headers.user_agent])}.
</erl>
</html>

And i want to use erlang-mode when i editing text between tags <erl> </erl> . Does it possible?

Question information

Language:
English Edit question
Status:
Answered
For:
nXhtml Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
lborgman (lennart-borgman) said :
#1

Hi alexey, thanks for the question.

No, there is no such support yet. You are welcome to add it if you want to.

Are there many ways to embed erlang in html? If it is just the one you use here then it should hopefully be fairly simple to add support for erlang embedded in html.

Revision history for this message
alexey (lexa-f) said :
#2

Hi lennart.

I know only one way to include erlang in html. Just put erlang code between <erl></erl> tags.

Can you give me a brief explanation how to add support of new language in mumamo ?

Revision history for this message
lborgman (lennart-borgman) said :
#3

Just take a look in mumamo-fun.el and mumamo-chunks.el and I think you will understand how to add support for erlang.

Can you help with this problem?

Provide an answer of your own, or ask alexey for more information if necessary.

To post a message you must log in.