filename extension for erlang terms files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

filename extension for erlang terms files

Fred Youhanaie-2
Hi

Is there a generally agreed filename extension for files that contain erlang terms, which are read in via file:consult/1?

The reason for asking is so that they are recognized and syntax-highlighted correctly by text editors such as vim and emacs.

Thanks,
Fred
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: filename extension for erlang terms files

Roger Lipscombe-2
Stick a modeline at the top/bottom of the file; file:consult/1 appears
to ignore Erlang comments.

On 18 December 2017 at 19:10, Fred Youhanaie <[hidden email]> wrote:

> Hi
>
> Is there a generally agreed filename extension for files that contain erlang
> terms, which are read in via file:consult/1?
>
> The reason for asking is so that they are recognized and syntax-highlighted
> correctly by text editors such as vim and emacs.
>
> Thanks,
> Fred
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: filename extension for erlang terms files

Fred Youhanaie-2
Thanks, Roger.

Now, why didn't I think of that ;-)

Cheers,
f.


On 18/12/17 19:25, Roger Lipscombe wrote:

> Stick a modeline at the top/bottom of the file; file:consult/1 appears
> to ignore Erlang comments.
>
> On 18 December 2017 at 19:10, Fred Youhanaie <[hidden email]> wrote:
>> Hi
>>
>> Is there a generally agreed filename extension for files that contain erlang
>> terms, which are read in via file:consult/1?
>>
>> The reason for asking is so that they are recognized and syntax-highlighted
>> correctly by text editors such as vim and emacs.
>>
>> Thanks,
>> Fred
>> _______________________________________________
>> erlang-questions mailing list
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions