gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] another problem with current `arch-tag:' syntax


From: Andrew Suffield
Subject: Re: [Gnu-arch-users] another problem with current `arch-tag:' syntax
Date: Mon, 1 Sep 2003 10:17:10 +0100
User-agent: Mutt/1.5.4i

On Mon, Sep 01, 2003 at 01:25:59PM +0900, Miles Bader wrote:
> ... that hopefully can be fixed with `arch-id:' --
> 
> Currently it only accepts `arch-tag:' if it's preceded entirely by
> `punctuation' on the line, which runs afoul of many common comment
> syntaxes, e.g. address@hidden' (texinfo), `rem' (basic, dos batch files), 
> `dnl'
> (autoconf/m4), etc.  This is an especially vexing restriction for file
> types that have _only_ line-oriented comments.
> 
> It seems good enough to require that the immediately preceding character
> be non-alphanumeric (in most cases whitespace, but some people might
> like to write things like `#arch-tag: ...' in a shell file).

For the record, here's a suitably grotesque solution to the m4
problem:

define(`_', `dnl')dnl
_(arch-tag: Zero-content m4 snippet)
undefine(`_')dnl

That constitutes a valid tag and generates no output.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: pgpqFrnKmH2hZ.pgp
Description: PGP signature


reply via email to

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