Re: FVWM: M4 vs. Cpp: pros and cons

From: Neil Zanella <nzanella_at_cs.mun.ca>
Date: Fri, 13 Nov 1998 18:08:31 -0330 (NST)

> > Can I use it define and undefine variables just like within a C program?

>
> Yes. That is what I mostly use it for. For example I do stuff like this:
>
> m4_define(FORE_COLOUR, `Gray')
> m4_define(EDITOR_COLOUR, `GoldenRod')
>
> Style "Emacs" Color FORE_COLOUR/EDITOR_COLOUR
> Style "XJed" Color FORE_COLOUR/EDITOR_COLOUR
> Style "xedit" Color FORE_COLOUR/EDITOR_COLOUR

Nice. This might do many of the things I've always wanted to do in my
.fvwm2rc file...

> > What are the pros and cons of M4 vs. Cpp pre-processing?
>
> Read the FvwmM4 and FvwmCpp man pages to compare M4 and cpp.

Fine, but it would be nice to hear *your* opinion on M4 vs. Cpp as well.

This is precisely what man pages lack: opinion.

Thanks a lot though,

Best Regards,

Neil

(BTW, is 4.0.47 out? Where can I ftp it from? It's not at the official
Fvwm web page)
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Nov 13 1998 - 15:38:54 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST