[Top][All Lists]

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

Re: [Gnu-arch-users] Re: [PATCH] my-project-id

From: Stefan Monnier
Subject: Re: [Gnu-arch-users] Re: [PATCH] my-project-id
Date: 22 Apr 2004 16:11:32 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> Why not just set a regexp that will be matched against the fully
>> qualified version name?
> That would be harder to use.

It seems to me the user interface would be almost exactly the same,
except without having to list the various possible things to match.

What case are thinking of where things would be more difficult?

In my mind, users would just say things like

   tla my-project-id*/ ID1
   tla my-project-id /emacs-- ID2
   tla my-project-id /.*--trunk-- ID3

> For that matter, I'm tempted to suggest that the last component in a
> regexp set (version id) not be a regexp at all --- but be a range
> expression of version-ids.   E.g.:

Hmmm... that evokes to me a whole new dimension of overengineering ;-)
Admittedly, you probably want to use such things for more than just my-id,
but still: last I looked people seem to be using the version number in
fairly simple and limited ways, and it took them several years before they
felt enough of a need for project-specific settings, so adding
special-purpose code to deal with the combination of complex version numbers
and fancy per-version-number project settings sounds rather odd.

>       tla--.*--{1.1,1.2.1}
> which matches 
>       tla--devo--1.2
> but not
>       tla--devo--
> What do you think of that?

What's wrong with tla--.*--(1\.1|1\.2\.1)$ ?


reply via email to

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