bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enhancement suggestions


From: Stepan Kasal
Subject: Re: enhancement suggestions
Date: Fri, 11 Feb 2005 16:24:45 +0100
User-agent: Mutt/1.4.1i

Hi,

On Fri, Feb 11, 2005 at 03:04:50PM +0000, Gary V. Vaughan wrote:
> There is an outstanding issue of how to handle hard quotes, which should
> allow for unbalanced quotes in cases like this.

combination of full expansion and unbalanced quotes?
Ugly and fragile, nono.

Unbalanced quotes in a text which is not expanded?
qindir and defn

Perhaps:
        define(`foo', indir(`include', `a_file'))

to fetch a contents of a file.  (Well, we also have to take care of $'s.)

I will have to try to solve some examples to get a clue what remains now
when we have qindir.

> >       define(b,NONO)dnl
> >       patsubst(qindir(`include', f), b, x)
> >       z'x
> 
> Did you mean to add a quote there:
>         patsubst(qindir(`include', f), `b', x)
> 
> Or are you trying to specify a different use case:
>         qindir(`patsubst', qindir(`include', f), `b', x)

Sure.  Commited the fix.

> I'm not sure I understand what the NONO is trying to illustrate :-(

I meant to illustrate the difference from

        patsubst(include(f), `b', x)

which would yield

        zNONO'

Stepan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]