Ok, I did some testing this morning and found, to my dismay, that aliases do not keep evaluating through each plugin. Here's what I was trying to do:
All plugins written by me display a header when they are installed/connected. I decided that I wanted to make a single alias "Plugins", which would be processed by each plugin, which would then act by displaying it's header.
Surprisingly, only one plugin would process the alias.
I feel this is contrary to what a plugin should do. It seemed as though the mandate of a plugin (when we were all discussing it) would be that it is independant (in most respects) to the main world, and other plugins. Alias collision is contrary to that mandate.
In my opinion, each plugin, as well as the main world, should have a go at the inputted text, running it through their respective alias-processing routines. In my case, ALL of my plugins would match the string as an alias, and they would ALL, in turn, run their respective actions.
(I confirmed my assessment by removing and reinstalling plugins).
I know there is probably a work around for this, by doing that pre-processing thingy, whatever it is. I forget, and I don't remember what to search for. |