emacs mode for fvwm config file?

Any emacs mode or vi syntax file available?

HI,

In what way? Can you be more specific by what it is you’re after? How does this relate to FVWM?

– Thomas Adam

It is just inside emacs and has nothing to do with fvwm.

I mean when I open an fvwm configure file in emacs, I can set an fvwm-mode that do the syntax highlighting on the configure file just as it does on a c file.

Thanks
Jingshao

I seem to recall something posted to the fvwm mailing list about emacs and fvwm within the last few months, but can’t quite find it in the archives. In the meantime, the following should help:

http://groups.google.fr/groups?threadm=mailman.2630.1083314129.1061.help-gnu-emacs%40gnu.org

HTH,

– Thomas Adam

Cool. I will start from there.

Thanks

I found it:

http://www.hpc.uh.edu/fvwm/archive/0407/msg00147.html

Whether this is the same one mentioned on the GNU site I posted earlier, I couldn’t say – but I would advise you use the one from the fvwm archives, in any case.

HTH,

– Thomas Adam

Regarding vim, I’ve always had vim hilight my fvwm syntax as long as my file was called .fvwm2rc…

theBlackDragon,

How to do that? Do you have special vimrc file?

Thanks
Jingshao

No, in Vim, the syntax file for hilighting is there by default.

– Thomas Adam

That’s only, of course, if your rc is called .fvwm2rc. I suspect shaozi calls his file config, as is the new convention; in which case, it would be simple enough to get syntax highlighting. Just remember that vim’s syntax highlighting scripts for FVWM are “syntax/fvwm.vim” and “syntax/fvwm2m4.vim”.

Yes. My file is called config. Anyway, I got the idea. I will try out it later.

Thanks
Jingshao