From: David PONCE <david.ponce@wa...> - 2003-11-05 08:33:12
> With semantic 2.0 and its `semantic-adopt-external-members' this
> doesn't work because the code (partcdr (nthcdr 3 <type-tag>))
> returns obviously not what is needed to add additional members to
> I have debugged this function and have found and applied a patch
> which works (i have attached this patch to this email). But i'm not
> sure if my solution is the prefered one in the semantic 2.0. If not
> please explain me why not!
Thanks! Very good find!
> Anyway: I suggest to add an API-function to semantic-tag like
> (defsubst semantic-tag-add-type-members (tag add-member-list)
> "Add the members ADD-MEMBER-LIST as additional members to TAG.
> TAG must be a type-tag."
> (semantic-tag-put-attribute tag :members
> (append (semantic-tag-type-members tag)
I am not sure we need a new specialized function for that. There are already a
bunch of new API entries to learn, and I doubt that
`semantic-tag-add-type-members' will be an function used very often.
However, if Eric want to add it, I will not oppose. For naming
consistency, I would prefer to call that function