Hello All,
Thanks to the contribution of Laurent, a "modulefile-mode" for Emacs
is now available with Modules.
See https://github.com/envmodules/modules/tree/main/share/emacs/lisp
I have adapted RPM spec file to include these Emacs addon files when
installation environment-modules RPM.
Best regards,
Xavier
Le jeu. 12 juin 2025 à 20:29, Xavier Delaruelle
<xav...@gm...> a écrit :
>
> Hello Laurent,
>
> I suggest you create a pull request on GitHub (fork+new
> branch+push+create pull request). Add the new file into directory
> "share/emacs".
>
> Best regards,
> Xavier
>
> Le jeu. 12 juin 2025 à 13:51, Laurent BESSON
> <lau...@ea...> a écrit :
> >
> > Hello Xavier, all
> >
> >
> >
> > I wrote a first version for a Modulefiles mode for Emacs. It relies on existing Tcl mode (tcl-mode) and adds highlighting for the Modulefiles commands.
> >
> >
> >
> > How can we proceed to make it available to anyone ? Do I create a new branch/fork from GitHub or do I send the file (only one, for the time being) directly to you for integration ?
> >
> > If anyone on the list wants to give it a try, I'll be happy to share 😊
> >
> >
> >
> >
> >
> > L.
> >
> >
> >
> > -----Message d'origine-----
> > De : Xavier Delaruelle <xav...@gm...>
> > Envoyé : mercredi 11 juin 2025 18:49
> > À : Environment Modules usage and discussion. <mod...@li...>
> > Objet : Re: [Modules] Modulefiles mode for Emacs
> >
> >
> >
> > Hello Laurent and All,
> >
> >
> >
> > That could be great stuff to contribute to the project. I am not an Emacs user, so I cannot help here. LLM may help but it requires someone with good enough Emacs knowledge to steer it.
> >
> >
> >
> > For Vim, we have already done this job. It is available within https://github.com/envmodules/modules/tree/main/share/vim.
> >
> >
> >
> > Best regards,
> >
> > Xavier
> >
> >
> >
> > Le mer. 11 juin 2025 à 11:58, Laurent BESSON <lau...@ea...> a écrit :
> >
> > >
> >
> > > Hello dear Modules list,
> >
> > >
> >
> > >
> >
> > >
> >
> > > I’m an old fashion guy and I’m still using Emacs as my favorite editor 😊. But I’m pretty sure I’m not the only one in this list.
> >
> > >
> >
> > >
> >
> > >
> >
> > > I was wondering if someone had developped a « mode » to colorize Modulefiles files ? or at least some setup to recognize Modulefiles and use tcl-mode automatically ?
> >
> > >
> >
> > >
> >
> > >
> >
> > > Best regards,
> >
> > >
> >
> > > Laurent.
> >
> > >
> >
> > > _______________________________________________
> >
> > > Modules-interest mailing list
> >
> > > Mod...@li...
> >
> > > https://lists.sourceforge.net/lists/listinfo/modules-interest
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > Modules-interest mailing list
> >
> > Mod...@li...
> >
> > https://lists.sourceforge.net/lists/listinfo/modules-interest
> >
> > _______________________________________________
> > Modules-interest mailing list
> > Mod...@li...
> > https://lists.sourceforge.net/lists/listinfo/modules-interest
|