Re: m4: use AC_SUBST with two arguments when applicable

2020-05-10 Thread Akim Demaille
Hi Bruno, > Le 10 mai 2020 à 14:17, Bruno Haible a écrit : > > Hi Akim, > >> gl_SUBSTS([ >> GNULIB_ISWBLANK=0 >> GNULIB_ISWDIGIT=0 >> GNULIB_ISWXDIGIT=0 >> GNULIB_WCTYPE=0 >> GNULIB_ISWCTYPE=0 >> GNULIB_WCTRANS=0 >> GNULIB_TOWCTRANS=0 >> ]) >> >> which does not, to my eyes, suffer from

Re: m4: use AC_SUBST with two arguments when applicable

2020-05-10 Thread Bruno Haible
Hi Akim, > gl_SUBSTS([ > GNULIB_ISWBLANK=0 > GNULIB_ISWDIGIT=0 > GNULIB_ISWXDIGIT=0 > GNULIB_WCTYPE=0 > GNULIB_ISWCTYPE=0 > GNULIB_WCTRANS=0 > GNULIB_TOWCTRANS=0 > ]) > > which does not, to my eyes, suffer from all the defects you see. Yes, it does not degrade the ability to search

Re: m4: use AC_SUBST with two arguments when applicable

2020-05-10 Thread Akim Demaille
Hi Bruno! > Le 9 mai 2020 à 22:14, Bruno Haible a écrit : > > Hi Akim, > > (A) > I'm looking for means to avoid repetitions, and boilerplate. > > It needs to be balanced against the other characteristics of maintainability. > Two important aspects are: > (B) Making the code easy to understand

Re: m4: use AC_SUBST with two arguments when applicable

2020-05-09 Thread Bruno Haible
Hi Akim, (A) > I'm looking for means to avoid repetitions, and boilerplate. It needs to be balanced against the other characteristics of maintainability. Two important aspects are: (B) Making the code easy to understand. (C) Making it easy to find all definitions and all references of an ide

Re: m4: use AC_SUBST with two arguments when applicable

2020-05-09 Thread Akim Demaille
Hi Bruno, > Le 9 mai 2020 à 17:25, Bruno Haible a écrit : > > Hi Akim, > >> AC_SUBST([GNULIB_ISWBLANK], [0]) >> AC_SUBST([GNULIB_ISWDIGIT], [0]) >> AC_SUBST([GNULIB_ISWXDIGIT], [0]) >> AC_SUBST([GNULIB_WCTYPE], [0]) >> AC_SUBST([GNULIB_ISWCTYPE], [0]) >> AC_SUBST([GNULIB_WCTRANS], [0]) >>

Re: m4: use AC_SUBST with two arguments when applicable

2020-05-09 Thread Bruno Haible
Hi Akim, > AC_SUBST([GNULIB_ISWBLANK], [0]) > AC_SUBST([GNULIB_ISWDIGIT], [0]) > AC_SUBST([GNULIB_ISWXDIGIT], [0]) > AC_SUBST([GNULIB_WCTYPE], [0]) > AC_SUBST([GNULIB_ISWCTYPE], [0]) > AC_SUBST([GNULIB_WCTRANS], [0]) > AC_SUBST([GNULIB_TOWCTRANS], [0]) No, no, noo!! This would m