[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: leading and trailing spaces in brace commands
From: |
Patrice Dumas |
Subject: |
Re: leading and trailing spaces in brace commands |
Date: |
Thu, 29 Sep 2022 17:15:10 +0200 |
On Wed, Sep 28, 2022 at 09:35:21PM +0200, Patrice Dumas wrote:
> > I see you have made some changes to the command types. @value and @verb are
> > now BRACE_other (along with @w). I guess @value is special because it
> > is expanded immediately, and @verb and @w also are handled uniquely.
>
> @value is also special because it should contain flags names only.
>
> > I looked through command_data.txt and your list of commands
> > where spaces around arguments can be kept - @dmn, @key, @indicateurl,
> > @titlefont - appears sensible to me. I don't know how easy it would be
> > to change any of these. Would you be moving them to BRACE_style_other?
>
> I think that @indicateurl should go to BRACE_style_other, @key could
> too, even if it is less clear. I would propose to add another category
> for @titlefont and @dmn for brace commands that are not style commands,
> do not have spaces ignored and are not special enough to be explicitly
> in BRACE_other. Maybe BRACE_misc.
Actually, I had a better idea, I propose to rename BRACE_other as
BRACE_special and use BRACE_other for the other non style non special
brace commands with spaces not ignored, currently @titlefont and @dmn.
--
Pat