On Wed, 25 May 2011, Bernd Schmidt wrote: > I'm not sure where you're looking for added documentation for this > patch.
I guess no surprise that'd be md.texi node Defining Attributes, or an updated example in node Attr Example since the documentation for "default" basically just refers to it. Or perhaps better node Expressions where (attr x) is documented, since it says it's mostly useful for numeric attributes and not so for non-numeric attributes. Perhaps add after that sentence "It can also be used to yield the value of another attribute, useful to e.g. set the value of the current attribute if they share a domain". You can probably find a better wording. :) > It just generalizes the define_attr mechanism a little to > allow one more kind of expression. Yes, the documentation is a bit terse, isn't it. But the idea that you can redirect to another attribute instead of referring to it in a conditional like in eq_attr seems to me new enough to warrant a line. brgds, H-P