[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Novel use of .char
From: |
G. Branden Robinson |
Subject: |
Re: Novel use of .char |
Date: |
Tue, 17 Dec 2024 18:38:36 -0600 |
At 2024-12-18T01:04:58+0100, Tadziu Hoffmann wrote:
> > Wrapping a diversion inside a character definition is indeed a
> > novel thing to do. At first blush, I admire the creativity.
> > At second blush, the prescriptivist and black-gloved input
> > validator in me recoils. ("Why isn't this banned?" he roars.)
> > My third reaction is as a system designer; we should allow
> > such feature composition unless we have a _good_ reason not to.
>
> Macro processing is all about string expansion, and in troff,
> macros and diversions (and character definitions in groff)
> are also just special forms of strings, so there is no
> a priori reason this should not work.
> However, I suspect there might be difficulties in some
> circumstances (e.g., when used as argument in a macro call)
> if the expanded material contains newlines.
Yes. This may lie at the heart of Savannah #66443, which in turn is an
issue onf raised a couple of months ago.
https://lists.gnu.org/r/groff/2024-10/msg00039.html
Regards,
Branden
signature.asc
Description: PGP signature
- Re: Novel use of .char, (continued)
- Re: Novel use of .char, Peter Schaffter, 2024/12/17
- Re: Novel use of .char, Tadziu Hoffmann, 2024/12/17
- Re: Novel use of .char, Peter Schaffter, 2024/12/17
- Re: Novel use of .char, Deri, 2024/12/18
- Re: Novel use of .char, Tadziu Hoffmann, 2024/12/18
- Re: Novel use of .char, Deri, 2024/12/18
- "pdf: pdfpic" and "pdf: import" (was: Novel use of .char), G. Branden Robinson, 2024/12/18
- Re: "pdf: pdfpic" and "pdf: import" (was: Novel use of .char), Deri, 2024/12/18
- Re: "pdf: pdfpic" and "pdf: import" (was: Novel use of .char), G. Branden Robinson, 2024/12/18
- Re: Novel use of .char, Tadziu Hoffmann, 2024/12/17
- Re: Novel use of .char,
G. Branden Robinson <=
- Re: Novel use of .char, Deri, 2024/12/17
- synchronous and asynchronous grout (was: Novel use of .char), G. Branden Robinson, 2024/12/17
- Re: synchronous and asynchronous grout (was: Novel use of .char), Deri, 2024/12/18
- Re: synchronous and asynchronous grout (was: Novel use of .char), G. Branden Robinson, 2024/12/18
- Re: synchronous and asynchronous grout (was: Novel use of .char), Deri, 2024/12/18
- Re: synchronous and asynchronous grout (was: Novel use of .char), G. Branden Robinson, 2024/12/18
- Re: synchronous and asynchronous grout (was: Novel use of .char), Deri, 2024/12/19
- UTF-8 in grout and a performance regression (was: synchronous and asynchronous grout), G. Branden Robinson, 2024/12/19
- Re: UTF-8 in grout and a performance regression (was: synchronous and asynchronous grout), onf, 2024/12/19
- Re: UTF-8 in grout and a performance regression (was: synchronous and asynchronous grout), G. Branden Robinson, 2024/12/19