On Friday 27 November 2009 15:20:55 Ralf Wildenhues wrote: > * Eric Blake wrote on Tue, Nov 24, 2009 at 10:46:19PM CET: > > Maybe I should document the diversion names of DEFAULTS and > > INIT_PREPARE; I'm a bit undecided on that one. But I don't want to > > document the values associated with named diversions, so that we are > > free to change the underlying value at a later date (maybe > > INIT_PREPARE will move to 350 if we add a new named diversion that > > needs to be at 300); as long as you go through named interfaces rather > > than raw numbers, then we can make such changes under the hood without > > breaking compatibility with your configure.ac. > > Hmm, is it somehow possible for the user to define a new diversion > number between DEFAULTS and INIT_PREPARE by referring to these symbols > only? If yes, is that something you'd want to allow the user to do?
i was thinking that using a named diversion plus a range of positive offsets would be useful, but not sure if that's doable with m4. i.e. create a named diversion USER and then people do divert(USER + 1), divert(USER + 10), etc... the trouble with the current named diversions is that they all look like they're reserved for different 'internal' autotool usage. -mike
signature.asc
Description: This is a digitally signed message part.
