[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Novel use of .char
From: |
Tadziu Hoffmann |
Subject: |
Re: Novel use of .char |
Date: |
Wed, 18 Dec 2024 01:04:58 +0100 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
> 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.
- Re: Novel use of .char, (continued)
- Re: Novel use of .char, G. Branden Robinson, 2024/12/17
- 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 <=
- Re: Novel use of .char, G. Branden Robinson, 2024/12/17
- 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