[Top][All Lists]

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

Re: @c- is not treated as a comment

From: Patrice Dumas
Subject: Re: @c- is not treated as a comment
Date: Sat, 22 Nov 2014 15:18:07 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Thu, Nov 20, 2014 at 10:40:33PM +0000, Karl Berry wrote:
> Running makeinfo on the input file:
> \input texinfo
> @setfilename cdash.info
> @c-
> gets
> /tmp/x.tex:3: Unknown command `c-'.

> C makeinfo does the same.  But it doesn't seem right to me.  I don't see
> anything in the manual that says that @c or @comment have to be followed
> by a space.  (texinfo.tex treats the above as a comment.)  Did we
> discuss this already?  I don't remember.
> Seems like if @c or @comment is followed by anything except another
> letter, that is [a-zA-z], it should be considered the comment command.

The regexp for @-command names is 

The reason is that a user could define a user macro as @c-.  I don't
know clearly what would be best, but I would prefer conservatively
continue with the same regexp to avoid risking breaking user defined 


reply via email to

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